<?php /* Smarty version 2.6.28, created on 2017-01-24 15:51:43
         compiled from /home/solusito/public_html/templates/eco-net-v3-5/clientareahome.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf2', '/home/solusito/public_html/templates/eco-net-v3-5/clientareahome.tpl', 12, false),)), $this); ?>
<?php if ($this->_tpl_vars['clientsstats']['numdueinvoices'] > 0): ?>
<div class="notice notice-error">
	<div class="inside">
		<p><?php echo $this->_tpl_vars['LANG']['clientareahome_overdue']; ?>
 <strong><?php echo $this->_tpl_vars['clientsstats']['dueinvoicesbalance']; ?>
</strong></p>
	</div>
</div>
<?php endif; ?>

<p class="center">
<?php if ($this->_tpl_vars['clientsstats']['incredit']): ?>
<div class="bigheader">
    <h2><strong><?php echo $this->_tpl_vars['LANG']['availcreditbal']; ?>
:</strong></h2><p class="center"> <?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['availcreditbaldesc'])) ? $this->_run_mod_handler('sprintf2', true, $_tmp, $this->_tpl_vars['clientsstats']['creditbalance']) : smarty_modifier_sprintf2($_tmp, $this->_tpl_vars['clientsstats']['creditbalance'])); ?>
</p>
</div>
<?php endif; ?>
<p class="center">
<?php if ($this->_tpl_vars['addfundsenabled']): ?><a href="clientarea.php?action=addfunds" class="button1 color1"><?php echo $this->_tpl_vars['LANG']['addfunds']; ?>
</a><?php endif; ?>
<?php if ($this->_tpl_vars['masspay'] && $this->_tpl_vars['clientsstats']['numdueinvoices'] > 0): ?><a href="clientarea.php?action=masspay&all=true" class="button1 color2"><?php echo $this->_tpl_vars['LANG']['masspayall']; ?>
</a><?php endif; ?>
</p>
<div class="bigheader">
    <h2><strong><?php echo $this->_tpl_vars['LANG']['ourlatestnews']; ?>
:</strong></h2><p class="center"> We accepted crypto-currency <strong><b>Bitcoin, Litecoin, Dogecoin</strong></b> - <a href="announcements.php?id=93" class="btn btn-mini"><?php echo $this->_tpl_vars['LANG']['more']; ?>
...</a></p>
</div>
<div class="col2">
	<div class="featureboxes1 accountboxes">
		<div class="featurebox">
		
			<div class="title">
				<h2><?php echo $this->_tpl_vars['LANG']['clientareahome_details']; ?>
</h2>
			</div>
			
			<div class="main">
				<p>
			    <strong><?php echo $this->_tpl_vars['clientsdetails']['firstname']; ?>
 <?php echo $this->_tpl_vars['clientsdetails']['lastname']; ?>
 <?php if ($this->_tpl_vars['clientsdetails']['companyname']): ?>(<?php echo $this->_tpl_vars['clientsdetails']['companyname']; ?>
)<?php endif; ?></strong><br />
			    <?php echo $this->_tpl_vars['clientsdetails']['address1']; ?>
<?php if ($this->_tpl_vars['clientsdetails']['address2']): ?>, <?php echo $this->_tpl_vars['clientsdetails']['address2']; ?>
<?php endif; ?><br />
			    <?php if ($this->_tpl_vars['clientsdetails']['city']): ?><?php echo $this->_tpl_vars['clientsdetails']['city']; ?>
, <?php endif; ?><?php if ($this->_tpl_vars['clientsdetails']['state']): ?><?php echo $this->_tpl_vars['clientsdetails']['state']; ?>
, <?php endif; ?><?php echo $this->_tpl_vars['clientsdetails']['postcode']; ?>
<br />
			    <?php echo $this->_tpl_vars['clientsdetails']['countryname']; ?>
<br />
			    <strong><?php echo $this->_tpl_vars['clientsdetails']['email']; ?>
</strong></p>
			    <p class="alignright nomarginbottom"><a href="clientarea.php?action=details"><img src="images/details.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['clientareaupdateyourdetails']; ?>
</a></p>
			</div>
		</div>
	</div>
</div><!-- .col2 -->

<div class="col2 nomarginright">
	<div class="featureboxes1 accountboxes">
		<div class="featurebox">
		
			<div class="title">
				<h2><?php echo $this->_tpl_vars['LANG']['clientareahome_stats']; ?>
</h2>
			</div>
			
			<div class="main">
			
				<div class="side2">
					<ul>
						<li><a href="cart.php"><img src="images/order.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['menu_order']; ?>
</a></li>
			            <li><a href="clientarea.php?action=products"><img src="images/products.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['clientareanavservices']; ?>
 (<?php echo $this->_tpl_vars['clientsstats']['productsnumactive']; ?>
)</a></li>
			            <li><a href="clientarea.php?action=domains"><img src="images/domains.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['clientareanavdomains']; ?>
 (<?php echo $this->_tpl_vars['clientsstats']['numactivedomains']; ?>
)</a></li>
			            <li><a href="clientarea.php?action=quotes"><img src="images/pdf.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['quotestitle']; ?>
 (<?php echo $this->_tpl_vars['clientsstats']['numquotes']; ?>
)</a></li>
					</ul>
				</div><!--- .side2 -->
				
				<div class="side2 nomarginright">
					<ul>
			            <li><a href="clientarea.php?action=invoices"><img src="images/invoices.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['invoices']; ?>
 (<?php echo $this->_tpl_vars['clientsstats']['numdueinvoices']; ?>
)</a></li>
			            <li><a href="supporttickets.php"><img src="images/supporttickets.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['toolbar_menu_tickets']; ?>
 (<?php echo $this->_tpl_vars['clientsstats']['numtickets']; ?>
)</a></li>
			            <?php if ($this->_tpl_vars['feature_affiliates'] == 'on'): ?> <!-- Please Remove  For Enable -->
			            <li><a href="affiliates.php"><img src="images/affiliates.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['affiliatestitle']; ?>
 (<?php echo $this->_tpl_vars['clientsstats']['numaffiliatesignups']; ?>
)</a></li>
			            <?php endif; ?> <!-- Please Remove  For Enable -->
			            <li><a href="clientarea.php?action=emails"><img src="images/emails.gif" align="absmiddle" alt="" /><?php echo $this->_tpl_vars['LANG']['clientareaemails']; ?>
</a></li>
			            <li><a href="submittickeet.php"><img src="images/supporttickets.gif" align="absmiddle" alt="" />Open Ticket</a></li>
					</ul>
				</div><!--- .side2 -->	
				
				<div class="clear">&nbsp;</div>			
				
			</div>
			
		</div>
	</div>
</div><!-- .col2 -->

<div class="clear">&nbsp;</div>

<?php $_from = $this->_tpl_vars['addons_html']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['addon_html']):
?>
<div style="margin:15px 0 15px 0;"><?php echo $this->_tpl_vars['addon_html']; ?>
</div>
<?php endforeach; endif; unset($_from); ?>


<?php if (in_array ( 'invoices' , $this->_tpl_vars['contactpermissions'] )): ?>

		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['clientsstats']['numdueinvoices']; ?>
 <?php echo $this->_tpl_vars['LANG']['invoicesdue']; ?>
</h2>
		</div><!-- .bigheader -->

<form method="post" action="clientarea.php?action=masspay">

<div class="table-responsive table-grey">
<table>
  <tr>
    <?php if ($this->_tpl_vars['masspay']): ?><th width="15"></th><?php endif; ?>
    <th><?php echo $this->_tpl_vars['LANG']['invoicenumber']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesdatecreated']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesdatedue']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicestotal']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesbalance']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesstatus']; ?>
</th>
    <th>&nbsp;</th>
  </tr>
  <?php $_from = $this->_tpl_vars['invoices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['invoice']):
?>
  <tr>
    <?php if ($this->_tpl_vars['masspay']): ?><td><input type="checkbox" name="invoiceids[]" value="<?php echo $this->_tpl_vars['invoice']['id']; ?>
" /></td><?php endif; ?>
    <td><a href="viewinvoice.php?id=<?php echo $this->_tpl_vars['invoice']['id']; ?>
" target="_blank"><strong><?php echo $this->_tpl_vars['invoice']['invoicenum']; ?>
</strong></a></td>
    <td><?php echo $this->_tpl_vars['invoice']['datecreated']; ?>
</td>
    <td><?php echo $this->_tpl_vars['invoice']['datedue']; ?>
</td>
    <td><?php echo $this->_tpl_vars['invoice']['total']; ?>
</td>
    <td><?php echo $this->_tpl_vars['invoice']['balance']; ?>
</td>
    <td><strong><?php echo $this->_tpl_vars['invoice']['status']; ?>
</strong></td>
    <td align="center"><a href="viewinvoice.php?id=<?php echo $this->_tpl_vars['invoice']['id']; ?>
" target="_blank" class="button1 color1"><?php echo $this->_tpl_vars['LANG']['invoicesview']; ?>
</a></td>
  </tr>
  <?php endforeach; else: ?>
  <tr>
    <td colspan="<?php if ($this->_tpl_vars['masspay']): ?>8<?php else: ?>7<?php endif; ?>" align="center"><?php echo $this->_tpl_vars['LANG']['norecordsfound']; ?>
</td>
  </tr>
  <?php endif; unset($_from); ?>
  <?php if ($this->_tpl_vars['invoices']): ?>
  <tr style="font-weight:bold;">
    <td colspan="<?php if ($this->_tpl_vars['masspay']): ?>4<?php else: ?>3<?php endif; ?>"><?php if ($this->_tpl_vars['masspay']): ?><input type="submit" value="<?php echo $this->_tpl_vars['LANG']['masspayselected']; ?>
" class="button1 color2" /><?php endif; ?></td>
    <td style="text-align:right;"><?php echo $this->_tpl_vars['LANG']['invoicestotaldue']; ?>
</td>
    <td><?php echo $this->_tpl_vars['totalbalance']; ?>
</td>
    <td colspan="2"><?php if ($this->_tpl_vars['masspay']): ?><a href="clientarea.php?action=masspay&all=true" class="button1 color2"><?php echo $this->_tpl_vars['LANG']['masspayall']; ?>
</a><?php endif; ?></td>
  </tr>
  <?php endif; ?>
</table>
</div>

</form>
<?php endif; ?>


<?php if (in_array ( 'tickets' , $this->_tpl_vars['contactpermissions'] )): ?>

		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['clientsstats']['numactivetickets']; ?>
 <?php echo $this->_tpl_vars['LANG']['supportticketsopentickets']; ?>
</h2>
		</div><!-- .bigheader -->

<p class="floatright"><a href="submitticket.php" class="button1 color1"><?php echo $this->_tpl_vars['LANG']['supportticketssubmitticket']; ?>
</a></p>

<div class="table-responsive table-grey">
<table>
  <tr>
    <th><?php echo $this->_tpl_vars['LANG']['supportticketsdate']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['supportticketssubject']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['supportticketsstatus']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['supportticketsticketurgency']; ?>
</th>
  </tr>
  <?php $_from = $this->_tpl_vars['tickets']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['ticket']):
?>
  <tr>
    <td><?php echo $this->_tpl_vars['ticket']['date']; ?>
</td>
    <td><a href="viewticket.php?tid=<?php echo $this->_tpl_vars['ticket']['tid']; ?>
&amp;c=<?php echo $this->_tpl_vars['ticket']['c']; ?>
"><?php echo $this->_tpl_vars['ticket']['subject']; ?>
</a><?php if ($this->_tpl_vars['ticket']['unread']): ?> - <strong class="red">Unread</strong><?php endif; ?></td>
    <td width="120"><?php echo $this->_tpl_vars['ticket']['status']; ?>
</td>
    <td width="80"><?php echo $this->_tpl_vars['ticket']['urgency']; ?>
</td>
  </tr>
  <?php endforeach; else: ?>
  <tr>
    <td colspan="4" align="center"><?php echo $this->_tpl_vars['LANG']['norecordsfound']; ?>
</td>
  </tr>
  <?php endif; unset($_from); ?>
</table>
</div>
<?php endif; ?>




<?php if ($this->_tpl_vars['files']): ?>

		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['LANG']['clientareafiles']; ?>
</h2>
		</div><!-- .bigheader -->

<div class="table-responsive table-grey">
<table>
  <tr>
    <th><?php echo $this->_tpl_vars['LANG']['clientareafilesdate']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['clientareafilesfilename']; ?>
</th>
  </tr>
  <?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['file']):
?>
  <tr>
    <td><?php echo $this->_tpl_vars['file']['date']; ?>
</td>
    <td><a href="dl.php?type=f&id=<?php echo $this->_tpl_vars['file']['id']; ?>
"><?php echo $this->_tpl_vars['file']['title']; ?>
</a></td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
</table>
</div>
<?php endif; ?>