HEX
Server: Apache/2.2.15 (CentOS)
System: Linux ip-10-0-2-146.eu-west-1.compute.internal 2.6.32-754.35.1.el6.centos.plus.x86_64 #1 SMP Sat Nov 7 11:33:42 UTC 2020 x86_64
User: root (0)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /www/exchange0old/exchange/admin/cache/%%D3^D36^D364F4BF%%view_investment.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-17 14:37:25
         compiled from investors/view_investment.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'siteUrl', 'investors/view_investment.html', 6, false),array('modifier', 'boguiUrl', 'investors/view_investment.html', 7, false),array('modifier', 'number_format', 'investors/view_investment.html', 96, false),array('modifier', 'nl2br', 'investors/view_investment.html', 154, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: Credebt Exchange - Admin Panel ::</title>
<link type="text/css" href="<?php echo ((is_array($_tmp='/css/bootstrap.min.css')) ? $this->_run_mod_handler('siteUrl', true, $_tmp) : smarty_modifier_siteUrl($_tmp)); ?>
" rel="stylesheet" />
<link rel="stylesheet" href="<?php echo ((is_array($_tmp='/css/stylesheet.css')) ? $this->_run_mod_handler('boguiUrl', true, $_tmp) : smarty_modifier_boguiUrl($_tmp)); ?>
" type="text/css" />
<link rel="shortcut icon" href="<?php echo ((is_array($_tmp='images/logo_favicon.ico')) ? $this->_run_mod_handler('siteUrl', true, $_tmp) : smarty_modifier_siteUrl($_tmp)); ?>
"  />
<script type="text/javascript" src="<?php echo ((is_array($_tmp='/js/jquery-1.9.1.min.js')) ? $this->_run_mod_handler('siteUrl', true, $_tmp) : smarty_modifier_siteUrl($_tmp)); ?>
"></script>
<script type="text/javascript" src="<?php echo ((is_array($_tmp='/js/aj_admin_home.js')) ? $this->_run_mod_handler('boguiUrl', true, $_tmp) : smarty_modifier_boguiUrl($_tmp)); ?>
"></script>
</head>
<body>

      <?php if (count ( $this->_tpl_vars['result'] ) > 0): ?>
      <div class="success-msgbox"><span>
        <?php $_from = $this->_tpl_vars['result']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['err'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['err']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['err']):
        $this->_foreach['err']['iteration']++;
?>
         <?php echo $this->_tpl_vars['result']; ?>

        <br>
        <?php endforeach; endif; unset($_from); ?>
        </span></div>
      <?php endif; ?>
      
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <form action="adminindex.php?do=auth_investor_transaction&investment_id=<?php echo $_GET['id']; ?>
" name="viewForm" method="POST">
        <input type="hidden" name="modal" value="true" />
        <tr>
          <td align="left" width="2%" valign="top" class="hdr_tl">&nbsp;</td>
          <td align="center"  valign="top" class="hdr_tc"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left" valign="top">Transaction Detailed View</td>
                <td align="right" valign="top">
                    <a href="javascript:void(0);" onclick="javascript:window.close();javascript:mytra=window.open('adminindex.php?do=add_investor_transaction','mytra','scrollbars=yes,width=800,height=1286');mytra.focus();" class="under_blue">Add New Transaction</a>
                    <?php if ($this->_tpl_vars['history'] && $this->_tpl_vars['investment']['investment_type'] == 1): ?>
                        <a href="javascript:void(0);" onclick="javascript:mytra=window.open('adminindex.php?do=investment_history&investment_id=<?php echo $_GET['id']; ?>
','investment_history','scrollbars=yes,width=800,height=1286');investment_history.focus();" class="under_blue">Investment History</a>
                    <?php endif; ?>
                </td>
              </tr>
            </table></td>
          <td valign="top" align="left" width="2%" class="hdr_tr">&nbsp;</td>
        </tr>
        <tr>
          <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left" valign="top" class="hdr_center" colspan="3"><table cellspacing="0" cellpadding="0" border="0" width="100%">

                    <tr class="row1" >
                          <td align="left" valign="top" >Date :</td>
                          <td align="left" valign="top"> <?php echo $this->_tpl_vars['investment']['investment_date']; ?>

                          </td>
                      </tr>
                      <tr class="row2" >
                          <td align="left" valign="top" >Expected Date :</td>
                          <td align="left" valign="top">
                            <?php if ($this->_tpl_vars['investment']['expected_date']): ?>
                            <?php echo $this->_tpl_vars['investment']['expected_date']; ?>

                            <?php else: ?>
                            -
                            <?php endif; ?>
                          </td>
                      </tr>
                      <tr class="row1">
                        <td width="23%"  align="left" valign="top">Transaction Status :</td>
                        <td width="53%" align="left" valign="top">
                            <b>
                                <?php if ($this->_tpl_vars['investment']['status'] == '1'): ?>
                                Authorized
                                <?php else: ?>
                                Not Authorized
                                <?php endif; ?>
                            </b>
                        </td>
                     </tr> 
                     <tr class="row1" >
                          <td width="23%" align="left" valign="top">Credebt Machine Sync Status :</td>
                          <td width="53%" align="left" valign="top">
                          	<?php if ($this->_tpl_vars['investment']['cm_sync_date']): ?>Synced: <?php echo $this->_tpl_vars['investment']['cm_sync_date']; ?>

                          	<?php else: ?>Not Synced<?php endif; ?>
                          </td>
                      </tr>
                     <tr class="row2" >
                          <td width="23%"  align="left" valign="top">Transaction Type :</td>
                          <td width="53%" align="left" valign="top"><?php echo $this->_tpl_vars['investment']['transaction_name']; ?>
</td>
                      </tr>
                      <tr class="row1" >
                          <td align="left" valign="top" >Transaction Name :</td>
                          <td align="left" valign="top"><?php echo $this->_tpl_vars['investment']['realname']; ?>
</td>
                      </tr>
                      
                      <tr class="row2" >
                          <td align="left" valign="top" >Investor ID :</td>
                          <td align="left" valign="top"><?php echo $this->_tpl_vars['investment']['ref_id']; ?>
</td>
                      </tr>
                      <tr class="row1" >
                          <td align="left" valign="top" >Amount :</td>
                          <td align="left" valign="top">
                            <?php echo ((is_array($_tmp=$this->_tpl_vars['investment']['amount'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
                      </tr>
                      
                      <tr class="row1" >
                          <td align="left" valign="top" >Investment Type :</td>
                          <td align="left" valign="top">
	                        <?php if ($this->_tpl_vars['investment']['investment_source'] == 'IB'): ?>Investabill<?php else: ?>Leasabill<?php endif; ?>
                      </tr>
                      
                      
                      
                      <tr class="row2" >
                          <td align="left" valign="top" >Currency :</td>
                          <td align="left" valign="top">
                            <?php echo $this->_tpl_vars['investment']['currency_code']; ?>
</td>
                      </tr>
                      <tr class="row1" >
                          <td align="left" valign="top" >Buy rate :</td>
                          <td align="left" valign="top">
                            <?php if ($this->_tpl_vars['investment']['buy_rate']): ?>
                            <?php echo ((is_array($_tmp=$this->_tpl_vars['investment']['buy_rate'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 3) : smarty_modifier_number_format($_tmp, 3)); ?>
%
                            <?php else: ?>
                            -
                            <?php endif; ?>
                          </td>
                      </tr>
                      <tr class="row2" >
                          <td align="left" valign="top" >Commision :</td>
                          <td align="left" valign="top">
                           <?php if ($this->_tpl_vars['investment']['commission']): ?> 
                            <?php echo ((is_array($_tmp=$this->_tpl_vars['investment']['commission'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 3) : smarty_modifier_number_format($_tmp, 3)); ?>
%
                            <?php else: ?>
                            -
                            <?php endif; ?>
                          </td>
                      </tr>
                      <tr class="row1" >
                          <td align="left" valign="top" >Months :</td>
                          <td align="left" valign="top">
                            <?php if ($this->_tpl_vars['investment']['months']): ?>
                            <?php echo ((is_array($_tmp=$this->_tpl_vars['investment']['months'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 0) : smarty_modifier_number_format($_tmp, 0)); ?>

                            <?php else: ?>
                            -
                            <?php endif; ?>
                          </td>
                      </tr>
                      <tr class="row2" >
                          <td align="left" valign="top" >Early Exit :</td>
                          <td align="left" valign="top">
                            <?php if ($this->_tpl_vars['investment']['early_exit']): ?>
                            <?php echo $this->_tpl_vars['investment']['early_exit']; ?>

                            <?php else: ?>
                            -
                            <?php endif; ?></td>
                      </tr>
                      
                      <tr class="row1" >
                          <td align="left" valign="top" >Notes/Comments :</td>
                          <td align="left" valign="top"><?php echo ((is_array($_tmp=$this->_tpl_vars['investment']['comment'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : nl2br($_tmp)); ?>
</td>
                      </tr>
                      </table>

                  <table cellspacing="0" cellpadding="0" border="0" width="100%">

                   <tr>
                    <td align="center" valign="top" colspan="9">
                      <?php if ($this->_tpl_vars['investment']['status'] == '0'): ?>
                      <input type="submit" value="Authorise" class="login_bttn" name="authorise"> 
                      <?php else: ?>
                      <input type="button" value="Cancel" class="login_bttn" name="cancel" onclick="javascript:window.close();">
                      <?php endif; ?>
                      </td>
                  </tr>

                 </td>
              </tr>
            </table>
           </td>
         </tr>

              <tr>
                <td align="left" width="2%" valign="top" class="hdr_bl">&nbsp;</td>
                <td align="left" width="96%" valign="top" class="hdr_bc">&nbsp;</td>
                <td align="left" width="2%" valign="top" class="hdr_br">&nbsp;</td>
              </tr>
          </form>
      </table>
</body>
</html>