File: /www/exchange0old/exchange/cache/%%E0^E0B^E0B8BE7A%%intermed_edit_profile.html.php
<?php /* Smarty version 2.6.19, created on 2024-07-23 06:30:26
compiled from intermediary/intermed_edit_profile.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);
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"> </td>
</tr><tr>
<td class="login_bg" align="left" valign="middle">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="52%" align="left" valign="middle" class="login_bg_t">Exchange Trade Centre | Edit Profile
</td>
<td width="48%" align="right" valign="middle" class="txt_11"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'investor_top_dashboard_links.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top" class="about_c">
<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td width="18%" align="left" valign="top"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'left_sidebar.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?></td>
<td width="82%" align="right" valign="top">
<form action="index.php?do=updateintermedprofile" method="post">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" align="left" class="hdr_center">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td valign="top" align="left" class="inves_top1">Edit Profile</td>
<td valign="top" align="right" class="inves_top1"> </td>
</tr>
<tr><td colspan="2">
<?php if (! empty ( $this->_tpl_vars['result'] )): ?>
<div class="success-msgbox"><?php echo $this->_tpl_vars['result']; ?>
</div>
<?php endif; ?>
</td></tr>
<tr class="row1">
<td width="29%" valign="top" align="left">User Name :</td>
<td width="71%" valign="top" align="left"><?php echo $this->_tpl_vars['profile']['username']; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Work Email :</td>
<td width="71%" valign="top" align="left"> <input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['address_email']; ?>
" name="email"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['email']; ?>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left">First Name :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['first_name']; ?>
" name="f_name"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['f_name']; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Last Name :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['last_name']; ?>
" name="l_name"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['l_name']; ?>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left">Job Title :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['job_title']; ?>
" name="job"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['job']; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Organisation Name :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['organization_name']; ?>
" name="org_name"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_name']; ?>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left">Organisation Address Line 1 :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['address_line_one']; ?>
" name="org_addr"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_addr']; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Organisation Address Line 2 :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['address_line_two']; ?>
" name="org_addr1"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_addr1']; ?>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left">City :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['address_city']; ?>
" name="org_city"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_city']; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Post Code :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="6" size="6" class="text_6_code" value="<?php echo $this->_tpl_vars['profile']['address_zipcode']; ?>
" name="org_code"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_code']; ?>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left">State :</td>
<td width="71%" valign="top" align="left" id="dropState"><input type="text" maxlength="30" size="30" class="text_b" value="<?php echo $this->_tpl_vars['profile']['address_state']; ?>
" name="org_state"><br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_state']; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Country :</td>
<td width="71%" valign="top" align="left">
<?php $this->assign('country_name', 'org_country'); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../admin/templates/common/countries.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']['org_country']; ?>
</span>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left">Direct Dial Phone Number :</td>
<td width="71%" valign="top" align="left">
<input type="text" maxlength="5" size="5" class="text_c_code" value="<?php echo $this->_tpl_vars['profile']['address_phone_country']; ?>
" name="org_ph_country"> <input type="text" maxlength="3" size="3" class="text_area_code" value="<?php echo $this->_tpl_vars['profile']['address_phone_code']; ?>
" name="org_ph_area">
<input type="text" maxlength="8" size="8" class="text_ph_code" value="<?php echo $this->_tpl_vars['profile']['address_phone']; ?>
" name="org_ph_phone">
<?php if ($this->_tpl_vars['errmsg']['org_ph_country'] != '' || $this->_tpl_vars['errmsg']['org_ph_area'] != '' || $this->_tpl_vars['errmsg']['org_ph_phone'] != ''): ?>
<br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_ph_country']; ?>
<br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_ph_area']; ?>
<br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_ph_phone']; ?>
<?php endif; ?>
</td>
</tr>
<tr class="row2">
<td width="29%" valign="top" align="left">Work Switchboard Phone Number :</td>
<td width="71%" valign="top" align="left"><input type="text" maxlength="5" size="5" class="text_c_code" value="<?php echo $this->_tpl_vars['profile']['address_mobile_country']; ?>
" name="org_m_country"> <input type="text" maxlength="3" size="3" class="text_area_code" value="<?php echo $this->_tpl_vars['profile']['address_mobile_code']; ?>
" name="org_m_area"> <input type="text" maxlength="8" size="8" class="text_ph_code" value="<?php echo $this->_tpl_vars['profile']['address_mobile']; ?>
" name="org_m_phone">
<?php if ($this->_tpl_vars['errmsg']['org_m_country'] != '' || $this->_tpl_vars['errmsg']['org_m_area'] != '' || $this->_tpl_vars['errmsg']['org_m_phone'] != ''): ?>
<br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_m_country']; ?>
<br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_m_area']; ?>
<br/><span style="color:#FF0000"><?php echo $this->_tpl_vars['errmsg']['org_m_phone']; ?>
<?php endif; ?>
</td>
</tr>
<tr class="row1">
<td width="29%" valign="top" align="left"> </td>
<td width="71%" valign="top" align="left"><input type="submit" nae="submit" value="Submit" class="login_bttn"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top"> </td>
</tr>
</table>
<script type="text/javascript">
$(function() {
//Change State by Country
$("#org_country").change(function(){
$.post(
'<?php echo $_SESSION['base_url']; ?>
/exchange/index.php?do=getstatebycountry',
{id: $("#org_country").val(),label: 'org_state'},
function(responseText){
$("#dropState").html(responseText);
},
"html"
);
});
});
<?php
$values=$this->get_template_vars('values');
$profile=$this->get_template_vars('profile');
if($values['org_country']=='')
{
echo ' $.post("'.$_SESSION['base_url'].'exchange/index.php?do=getstatebycountry",
{id: '.$profile['country_id'].',label: "org_state",
num: "'.$profile['state_id'].'"},
function(responseText){
$("#dropState").html(responseText);
},
"html"
);';
}else{
echo ' $.post("'.$_SESSION['base_url'].'exchange/index.php?do=getstatebycountry",
{id: '.$values['org_country'].',label: "org_state",
num: "'.$values['org_state'].'"},
function(responseText){
$("#dropState").html(responseText);
},
"html"
); ';
}
?>
</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);
?>