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/%%C2^C23^C23DDEC6%%traviewapplications.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-17 09:06:58
         compiled from originators/traviewapplications.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<style>
  .s-img img {
    height:13px;
  }
  .row1 td,.row2 td {
    padding: 3px !important;
  }
</style>
<div id="body_portion">
  <div id="admin_menu">
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "left.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <div id="left_menu1" class="folded" style="display:none;"><a href="javascript:void(0)" class="panel_open" onclick="showLeftPanel('left_menu','left_menu1','body_portion');"></a>
      <div class="top_menu"><a href="#" class="dashboard"></a></div>
      <div class="center_menu"><a href="#" class="user"></a></div>
      <div class="center_menu"><a href="#" class="location"></a></div>
      <div class="center_menu"><a href="#" class="cms"></a></div>
      <div class="center_menu"><a href="#" class="prayer"></a></div>
      <div class="center_menu"><a href="#" class="group"></a></div>
      <div class="center_menu"><a href="#" class="event"></a></div>
      <div class="center_menu"><a href="#" class="message"></a></div>
      <div class="center_menu"><a href="#" class="news"></a></div>
      <div class="center_menu"><a href="javascript:void(0)" class="settings" onmouseover="showLeft_DD_Mnu('left_dd_Mnu','aele_id1');" id="aele_id1" onmouseout="HideLeft_DD_Mnu('left_dd_Mnu');"></a></div>
      <div class="bottom_menu"><a href="#" class="logs"></a></div>
    </div>
    <div id="right_content">
      <?php if (count ( $this->_tpl_vars['success'] ) > 0): ?>
      <div class="success-msgbox">
        <span><?php $_from = $this->_tpl_vars['success']; 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['success']; ?>

          <br/><?php endforeach; endif; unset($_from); ?></span>
      </div>
      <?php endif; ?>
      <?php if (count ( $this->_tpl_vars['success_organisation'] ) > 0): ?>
      <div class="success-msgbox">
        <span><?php $_from = $this->_tpl_vars['success_organisation']; 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['success_organisation']; ?>

        <br/><?php endforeach; endif; unset($_from); ?></span>
      </div>
      <?php endif; ?>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="left" valign="top" id="tool">
            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="margin_table">
              <tr>
                <td valign="top" align="left" width="1%" class="hdr_tl"></td>
                <td valign="top" align="left" width="80%" class="hdr_tc">
                  Originator Details (<?php echo $this->_tpl_vars['originatorUser']['username']; ?>
)
                  <span style="padding-left:10px;"><a class="under_blue" href="adminindex.php?do=trausersview&uid=<?php echo $this->_tpl_vars['originatorUser']['temp_reg_id']; ?>
">User Page</a></span>
                  <span style="padding-left:10px;"><a class="under_blue" href="adminindex.php?do=originatorstatements&user_id=<?php echo $this->_tpl_vars['originatorUser']['user_id']; ?>
&type=debtor">Statement Summary</a></span>
                  <span style="padding-left:10px;"><a class="under_blue" href="adminindex.php?do=all_transactions&user_id=<?php echo $this->_tpl_vars['originatorUser']['user_id']; ?>
">All Transactions</a></span>
                  <span style="padding-left:10px;"><a class="under_blue" href="adminindex.php?do=reconciliation-statement&user_id=<?php echo $this->_tpl_vars['originatorUser']['user_id']; ?>
">Reconciliation Statement</a></span>
                </td>
                <td valign="center" align="right" width="18%" class="hdr_tc">
                  <table width="80%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="right" valign="middle">
                        <?php if ($_GET['view1'] == 'invusers'): ?>
                        <a class="under_blue" href="adminindex.php?do=invoiceapplications&inv_id=<?php echo $_GET['invuser']; ?>
&view=invusers&pg=<?php echo $_GET['pg']; ?>
&page=<?php echo $_GET['page']; ?>
">Back</a>
                        <?php elseif ($_GET['view1'] == 'trausers'): ?>
                        <a class="under_blue" href="adminindex.php?do=invoiceapplications&tra_id=<?php echo $_GET['trader']; ?>
&view=trausers&pg=<?php echo $_GET['pg']; ?>
&page=<?php echo $_GET['page']; ?>
">Back</a>
                        <?php elseif ($_GET['view1'] == 'debmasteruser'): ?>
                        <a class="under_blue" href="adminindex.php?do=invoiceapplications&id=<?php echo $_GET['debid']; ?>
&master=<?php echo $_GET['master']; ?>
&pg=<?php echo $_GET['pg']; ?>
&pg1=<?php echo $_GET['pg1']; ?>
&view=debmasteruser&page=<?php echo $_GET['page']; ?>
">Back</a>
                        <?php elseif ($_GET['view1'] == 'org'): ?>
                        <a class="under_blue" href="adminindex.php?do=invoiceapplications&org_id=<?php echo $_GET['org_id']; ?>
&pg=<?php echo $_GET['pg']; ?>
&page=<?php echo $_GET['page']; ?>
&view=org">Back</a>
                        <?php elseif ($_GET['view'] == 'riskoriginatorlist'): ?>
                        <a class="under_blue" href="adminindex.php?do=riskoriginatorlist&page=<?php echo $_GET['pg']; ?>
">Back</a>
                        <?php elseif ($_GET['view'] == 'invoiceapplications'): ?>
                        <a class="under_blue" href="adminindex.php?do=invoiceapplications&master_id=<?php echo $_GET['master_id']; ?>
&page=<?php echo $_GET['pg1']; ?>
&pg=<?php echo $_GET['pg']; ?>
">Back</a>
                        <?php elseif ($_GET['view'] == 'debmasteruser'): ?>
                        <a class="under_blue" href="adminindex.php?do=debmasteruser&master_id=<?php echo $_GET['master']; ?>
&page=<?php echo $_GET['pg1']; ?>
&pg=<?php echo $_GET['pg']; ?>
">Back</a>
                        <?php elseif ($_GET['view'] == 'orgmgnt' && $_GET['type'] != ''): ?>
                        <a class="under_blue" href="adminindex.php?do=organisationmgnt&type=<?php echo $_GET['type']; ?>
&page=<?php echo $_GET['pg']; ?>
">Back</a>
                        <?php elseif ($_GET['view'] == 'orgmgnt'): ?>
                        <a class="under_blue" href="adminindex.php?do=organisationmgnt&page=<?php echo $_GET['pg']; ?>
">Back</a>
                        <?php else: ?>
                        <a class="under_blue" href="adminindex.php?do=traapplications&page=<?php echo $_GET['pg']; ?>
">Back</a>
                        <?php endif; ?>
                        <a class="under_blue" href="adminindex.php?do=traeditapplications&aid=<?php echo $_GET['aid']; ?>
&pg=<?php echo $_GET['pg']; ?>
">Edit</a> <a class="under_blue" href="adminindex.php?do=<?php echo $this->_tpl_vars['risk_url']['uri']; ?>
&id=<?php echo $this->_tpl_vars['risk_url']['id']; ?>
">Edit Risk </a> &nbsp;<a class="under_blue" onclick="return forceLogin('<?php echo $this->_tpl_vars['originatorUser']['username']; ?>
');" href="javascript:void(0);">Login</a>
                      </td>
                      <td align="right" valign="middle"></td>
                    </tr>
                  </table>
                </td>
                <td valign="top" align="left" width="1%" class="hdr_tr"></td>
              </tr>
              <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "originators/originator_data.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
              <tr>
                <td valign="top" align="left" width="1%" class="hdr_bl"></td>
                <td valign="top" align="left" width="80%" class="hdr_bc"></td>
                <td valign="top" align="left" width="18%" class="hdr_bc"></td>
                <td valign="top" align="left" width="1%" class="hdr_br"></td>
              </tr>
              <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "originators/originator_details.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
            </table>
          </td>
        </tr>
      </table>
    </div>
    <div class="clear"></div>
  </div>
</div>
<script type="text/javascript">
function stat1(aid)
{
	if(confirm("Are you sure want to Approve the application?"))
	{
		window.location ="?do=traapprove&aid="+aid;
	}
}
function stat2(aid)
{
	if(confirm("Are you sure want to Reject the application?"))
	{
		window.location ="?do=rejectapp&aid="+aid+"&st=reject&user=tra";
	}
}

function changeStatus(id,aid){

    if(confirm("Are you sure want to "+id+"?"))
    {

       var JSONObject={

            "confirm1" : document.getElementById("confirm").checked ? '1' : '0'
            
        };


        var jsonstr=JSON.stringify(JSONObject);

        var jobjson=JSON.parse(jsonstr);


        if(jobjson.confirm1 == '1'){
            var confirm1 = jobjson.confirm1;
        }

      if(id == 'confirm'){
        document.getElementById('confirm').value = confirm1;
      }
       
      window.location = "adminindex.php?do=traapplactivate&id="+aid+"&type="+id+"&org="+1;

      }
  }
</script>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>