<?php /* Smarty version 2.6.28, created on 2017-04-02 15:57:54
         compiled from /home/solusito/public_html/modules/servers/gogetssl/templates/clientarea.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'explode', '/home/solusito/public_html/modules/servers/gogetssl/templates/clientarea.tpl', 78, false),)), $this); ?>
<div class="bigheader">
<?php if ($this->_tpl_vars['goget_order']['domain'] != ''): ?>
<h2>
	<?php echo $this->_tpl_vars['LANG']['gogetssl_certificate_details_for']; ?>
 <?php echo $this->_tpl_vars['goget_order']['domain']; ?>

</h2>
<?php else: ?>
<h2>
	<?php echo $this->_tpl_vars['LANG']['gogetssl_certificate_details']; ?>

</h2>
<?php endif; ?>
</div>
<?php echo ' 
<style>
.fieldarea{
	font-weight: bold;
}
</style>
'; ?>
 
<div class="table-responsive table-grey">
<table align="center">
	<tbody>
		<tr>
			<td class="fieldarea">
				<?php echo $this->_tpl_vars['LANG']['gogetssl_status']; ?>

			</td>
			<td style="padding: 5px;">
				<?php echo $this->_tpl_vars['goget_status']; ?>

			</td>
		</tr>
		<?php if ($this->_tpl_vars['goget_order']['status_description'] != '' && $this->_tpl_vars['goget_status'] != $this->_tpl_vars['goget_order']['status_description']): ?>
		<tr>
			<td class="fieldarea">
				<?php echo $this->_tpl_vars['LANG']['gogetssl_status_description']; ?>

			</td>
			<td style="padding: 5px;">
				<?php echo $this->_tpl_vars['goget_order']['status_description']; ?>

			</td>
		</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['goget_order']['status'] == 'active'): ?>
		<tr>
			<td class="fieldarea">
				<?php echo $this->_tpl_vars['LANG']['gogetssl_valid_from']; ?>

			</td>
			<td style="padding: 5px;">
				<b>
					<?php echo $this->_tpl_vars['goget_order']['valid_from']; ?>

				</b>
			</td>
		</tr>
		<tr>
			<td class="fieldarea">
				<?php echo $this->_tpl_vars['LANG']['gogetssl_valid_till']; ?>

			</td>
			<td style="padding: 5px;">
				<b>
					<?php echo $this->_tpl_vars['goget_order']['valid_till']; ?>

				</b>
			</td>
		</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['goget_order']['domain'] != ''): ?>
			<tr>
				<td class="fieldarea">
					<?php echo $this->_tpl_vars['LANG']['gogetssl_domain']; ?>

				</td>
				<td style="padding: 5px;">
					<?php echo $this->_tpl_vars['goget_order']['domain']; ?>

				</td>
			</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['goget_order']['domains'] != ''): ?>
		<tr>
			<td class="fieldarea">
				<?php echo $this->_tpl_vars['LANG']['gogetssl_san_domains']; ?>

			</td>
			<td style="padding: 5px;">
				<?php $this->assign('domains', ((is_array($_tmp=',')) ? $this->_run_mod_handler('explode', true, $_tmp, $this->_tpl_vars['goget_order']['domains']) : explode($_tmp, $this->_tpl_vars['goget_order']['domains']))); ?>
				
				<?php $_from = $this->_tpl_vars['domains']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['domain']):
?>
					<?php echo $this->_tpl_vars['domain']; ?>
<br/>
				<?php endforeach; endif; unset($_from); ?>
			</td>
		</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['goget_order']['approver_emails'] != '' || $this->_tpl_vars['goget_order']['approver_email'] != ''): ?>
			<tr>
				<td class="fieldarea">
					<?php echo $this->_tpl_vars['LANG']['gogetssl_approver_email']; ?>

				</td>
				<td style="padding: 5px;">
                    <?php if ($this->_tpl_vars['goget_order']['approver_emails'] != ''): ?>
                        <?php $this->assign('approver_emails', ((is_array($_tmp=',')) ? $this->_run_mod_handler('explode', true, $_tmp, $this->_tpl_vars['goget_order']['approver_emails']) : explode($_tmp, $this->_tpl_vars['goget_order']['approver_emails']))); ?>

                        <?php $_from = $this->_tpl_vars['approver_emails']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['approver_email']):
?>
                            <?php echo $this->_tpl_vars['approver_email']; ?>
<br/>
                        <?php endforeach; endif; unset($_from); ?>
                    <?php else: ?>
                        <?php echo $this->_tpl_vars['goget_order']['approver_email']; ?>

                    <?php endif; ?>
				</td>
			</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['goget_order']['partner_order_id'] != ''): ?>
			<tr>
				<td class="fieldarea">
					<?php echo $this->_tpl_vars['LANG']['gogetssl_partner_order_id']; ?>

				</td>
				<td style="padding: 5px;">
					<?php echo $this->_tpl_vars['goget_order']['partner_order_id']; ?>

				</td>
			</tr>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['goget_order']['status'] == 'active'): ?>
            <tr>
                <td>
                    <?php echo $this->_tpl_vars['LANG']['gogetssl_csr_code']; ?>

                </td>
                <td style="padding: 5px;">
                    <textarea rows="10" cols="100" style="margin: 0px 0px 9px; width: 380px; height: 200px;"><?php echo $this->_tpl_vars['goget_order']['csr_code']; ?>
</textarea>
                </td>
            </tr>
            <tr>
                <td class="fieldarea">
                    <?php echo $this->_tpl_vars['LANG']['gogetssl_crt_code']; ?>

                </td>
                <td style="padding: 5px;">
                    <textarea rows="10" cols="100" style="margin: 0px 0px 9px; width: 380px; height: 200px;"><?php echo $this->_tpl_vars['goget_order']['crt_code']; ?>
</textarea>
                </td>
            </tr>
            <tr>
                <td class="fieldarea">
                    <?php echo $this->_tpl_vars['LANG']['gogetssl_ca_code']; ?>

                </td>
                <td style="padding: 5px;">
                    <textarea rows="10" cols="100" style="margin: 0px 0px 9px; width: 380px; height: 200px;"><?php echo $this->_tpl_vars['goget_order']['ca_code']; ?>
</textarea>
                </td>
            </tr>
		<?php endif; ?>
        <?php if ($this->_tpl_vars['goget_raw_status'] == 'awaiting_configuration'): ?>
            <tr>
                <td colspan="2">
                    <a class="button1 color2" href="<?php echo $this->_tpl_vars['configuration_url']; ?>
"> <i class="icon icon-cog"></i> <?php echo $this->_tpl_vars['LANG']['gogetssl_goto_conf']; ?>
</a>
                </td>
            </tr>
        <?php endif; ?>
	</tbody>
</table>
</div>