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/%%EA^EA8^EA873902%%commissionEdit.html.php
<?php /* Smarty version 2.6.19, created on 2024-09-05 12:35:50
         compiled from commission/commissionEdit.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'siteUrl', 'commission/commissionEdit.html', 7, 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 rel="stylesheet" href="css/stylesheet.css" 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="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/aj_admin_home.js"></script>
<script type="text/javascript" src="js/tooltip.js"></script>
<script type="text/javascript" src="js/pngfix.js"></script>
<script type="text/javascript" src="js/row_color.js"></script>
<script type="text/javascript">
	 $(document).ready(function(){ 
        $(document).pngFix();  
    }); 
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td align="left" width="2%" valign="top" class="inves_top_bg">&nbsp;</td>
    <td align="left" width="96%" valign="top" class="inves_top_bg"><table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <td><span>Edit Commission & CDP Management</span></td>
            <td valign="middle" align="right"></td>
          </tr>
        </tbody>
      </table></td>
    <td class="inves_top_bg" align="left" width="2%" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="left" valign="top"  colspan="3"><form action="?do=updatecommission&id=<?php echo $_GET['id']; ?>
" method="post" name="saveOrg">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="left" valign="top" class="about_c_1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr class="very_lite_gray">
                        <td align="left" valign="top">&nbsp;</td>
                      </tr>
                      <tr class="very_lite_gray">
                        <td align="left" valign="top" class="txt_12_red">&nbsp;&nbsp;<b>Please Note:</b> All fields marked with * require an input </td>
                      </tr>
                      <tr class="very_lite_gray">
                        <td align="left" valign="top">&nbsp;</td>
                      </tr>
                    </table></td>
                </tr>
                <tr class="very_lite_gray">
                  <td align="center" valign="top" class="about_c_1"><table cellspacing="0" cellpadding="0" border="0" width="100%">
                      <tbody>
                        <tr>
                          <td align="center" width="50%" valign="top"><table cellspacing="3" cellpadding="3" border="0" width="100%">
                              <tbody>
                                <tr>
                                  <td align="center" width="4%" valign="top" class="txt_11_red"></td>
                                  <td align="left" width="39%" valign="middle">Name:</td>
                                  <td align="left" width="60%" valign="middle" colspan="2"><?php echo $this->_tpl_vars['values']['organisation']; ?>
</td>
                                </tr>

                                <?php if ($_GET['flag'] == '1' || $_GET['flag'] == '3'): ?>
                                <tr>
                                  <td align="center" valign="top" class="txt_11_red"> * </td>
                                  <td align="left" width="" valign="middle"><?php if ($_GET['flag'] == '1'): ?>Agent <?php else: ?>Intermediary<?php endif; ?> Commission :</td>
                                  <td align="left" width="" valign="middle" colspan="2"><input type="text" class="text_b_small" value="<?php echo $this->_tpl_vars['values']['b_commission']; ?>
" name="b_commission" id="b_commission"> %.p.a.
                                    <br>
                                    <span style="color: rgb(255, 0, 0);">
                                    <?php echo $this->_tpl_vars['errmsg']['b_commission']; ?>

                                    </span></td>
                                </tr>
                                <?php endif; ?>

                                <?php if ($_GET['flag'] == '2' && $_GET['id'] == '2'): ?>
                                <tr>
                                  <td align="center" valign="top" class="txt_11_red"> * </td>
                                  <td align="left" width="" valign="middle">Intermediary Commission :</td>
                                  <td align="left" width="" valign="middle" colspan="2"><input type="text" class="text_b_small" value="<?php echo $this->_tpl_vars['values']['b_commission']; ?>
" name="b_commission" id="b_commission"> %.p.a.
                                    <br>
                                    <span style="color: rgb(255, 0, 0);">
                                    <?php echo $this->_tpl_vars['errmsg']['b_commission']; ?>

                                    </span></td>
                                </tr>
                                <?php endif; ?>


                                <tr>
                                  <td align="center" valign="top" class="txt_11_red"> * </td>
                                  <td align="left" width="" valign="middle"><?php if ($_GET['flag'] != '1'): ?>Exchange Commission<?php else: ?>Exchange Commission<?php endif; ?> :</td>
                                  <td align="left" width="" valign="middle" colspan="2"><input type="text" class="text_b_small" value="<?php echo $this->_tpl_vars['values']['commission']; ?>
" name="commission" id="commission"> %.p.m.
                                    <br>
                                    <span style="color: rgb(255, 0, 0);">
                                    <?php echo $this->_tpl_vars['errmsg']['commission']; ?>

                                    </span></td>
                                </tr>
                                <?php if ($_GET['flag'] != '1'): ?>
                                <tr>
                                  <td align="center" valign="top" class="txt_11_red"> * </td>
                                  <td align="left" width="" valign="middle">CDP :</td>
                                  <td align="left" width="" valign="middle" colspan="2"><input type="checkbox" class="text_b_small" name="insurance" id="insurance" value="1" <?php if ($this->_tpl_vars['values']['insurance'] == '1'): ?>checked="true"<?php endif; ?>>
                                    <br>
                                    <span style="color: rgb(255, 0, 0);">
                                    <?php echo $this->_tpl_vars['errmsg']['insurance']; ?>

                                    </span></td>
                                </tr>
                                <?php endif; ?>

                                <?php if ($_GET['flag'] == '1'): ?>
                                <tr>
                                  <td align="center" valign="top" class="txt_11_red"> * </td>
                                  <td align="left" width="" valign="middle" colspan="3">
                                    <select name="broker" class="cmb_bx1" id="org_id">
                                        <option value="">Please choose Agent</option>
                                        <?php $_from = $this->_tpl_vars['brokers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
                                        <option value="<?php echo $this->_tpl_vars['item']['user_id']; ?>
" <?php if ($this->_tpl_vars['item']['user_id'] == $this->_tpl_vars['values']['broker'] || $this->_tpl_vars['userDetails']['parent']): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['item']['organisation_name']; ?>
</option>
                                        <?php endforeach; endif; unset($_from); ?>
                                    </select>
                                    <br>
                                    <span style="color: rgb(255, 0, 0);">
                                    <?php echo $this->_tpl_vars['errmsg']['broker']; ?>

                                    </span></td>
                                </tr>
                                <?php endif; ?>

                                <?php if ($_GET['flag'] == '3'): ?>
                                <tr>
                                  <td align="center" valign="top" class="txt_11_red"> * </td>
                                  <td align="left" width="" valign="middle" colspan="3">
                                    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "commission/intermediary.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                                    <br>
                                    <span style="color: rgb(255, 0, 0);">
                                    <?php echo $this->_tpl_vars['errmsg']['intermediary']; ?>

                                    </span></td>
                                </tr>
                                <?php endif; ?>

                              </tbody>
                            </table></td>
                          
                        </tr>
                      </tbody>
                    </table></td>
                </tr>
                <tr>
                  <td align="center" valign="top" class="about_c_1"></td>
                </tr>
                <tr>
                  <td align="center" valign="top" class="dark_gray_bg"><input type="hidden" value="<?php echo $this->_tpl_vars['values']['ticker_name']; ?>
" name="ticker_name" size="10" maxlength="10" class="text_10_code"/>
                    <input type="hidden" value="<?php echo $_GET['flag']; ?>
" name="flag">
                    <input name="submit" value="Save &amp; Continue " class="mem_bttn" type="submit">
                    </a></td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table></td>
  </tr>
</table>

<style>
.text_seven{
	width:55px !important;
}
.very_lite_gray {
    background: none repeat scroll 0 0 #EDEDED;
    border-bottom: 2px solid #FFFFFF;
    border-top: 2px solid #FFFFFF;
}
.about_c_1 {
    border-bottom: 1px solid #FFFFFF;
}
.dark_gray_bg {
    background: none repeat scroll 0 0 #808080;
    padding: 5px 0;
}
.inves_top_bg {
    background: none repeat scroll 0 0 #555555;
    padding: 5px 0;
}
.inves_top_bg span {
    color: #FFFFFF;
    font-weight: bold;
    line-height: 28px;
    padding-left: 10px;
}
</style>
</body>
</html>