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/templates/create_debtor_redirect.html
<AJDF:output>include file="header.html"</AJDF:output>
<script type="text/javascript" src="<AJDF:output>$smarty.session.http_base_url</AJDF:output>js/jquery.ui.core.js"></script>
<script type="text/javascript" src="<AJDF:output>$smarty.session.http_base_url</AJDF:output>js/ui.datepicker.js"></script>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
  <tbody>
    <tr>
      <td align="left" valign="top"><table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tbody>
            <tr>
              <td align="center" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td align="left" valign="middle" class="login_bg"><table cellspacing="0" cellpadding="0" border="0" width="100%">
                  <tbody>
                    <tr>
                      <td align="left" width="" valign="middle" class="login_bg_t">Exchange Trade Centre | Open A Trade</td>
                      <td width="" align="left" valign="middle" class="txt_11">Originator Organisation ID: <AJDF:output>$smarty.session.user.org_ref_id</AJDF:output>  </td>
                      <td align="right" width="" valign="middle"></td>
                    </tr>
                  </tbody>
                </table>
            </tr>
            <tr>
              <td align="center" valign="top" class="about_c"><table cellspacing="5" cellpadding="5" border="0" width="100%">
                  <tbody>
                    <tr>
                      <td align="left" width="18%" valign="top"><AJDF:output>include file='left_sidebar.html'</AJDF:output></td>
                      <td align="right" width="82%" valign="top" id="tool"><AJDF:output>if !empty($result)</AJDF:output>
                                        <div class="success-msgbox">
                                          <AJDF:output>$result</AJDF:output>
                                        </div>
                                        <AJDF:output>/if</AJDF:output><table cellspacing="0" cellpadding="0" border="0" width="100%">
                          <tbody>
                            <tr>
                              <td align="left" valign="top" class="hdr_center"><table cellspacing="0" cellpadding="0" border="0" width="100%">
                                  <tbody>
                                    <tr>
                                      <td align="left" valign="top" class="inves_top1">
                                        <AJDF:output>if $smarty.get.do  eq 'opentrade'</AJDF:output>
                                        Open A Trade
                                        <AJDF:output>else</AJDF:output>
                                        Revolving ETR Invoice Upload
                                        <AJDF:output>/if</AJDF:output>

                                      </td>
                                    </tr>
                                    <tr>
                                      <td><br /></td>
                                    </tr>
                                    <tr>
                                      <td align="center" width="100%">&nbsp;</td>
                                    </tr>
                                    <tr>
                                      <td align="center" valign="top" style="height:590px;"><table cellspacing="0" cellpadding="0" border="0" width="100%">
                                        <tr class="">
                                          <td align="center" valign="top" style="font-size: 13px; padding: 10px 0 5px 12px;  font-weight:bold; text-decoration:none;" class="txt_red">IMPORTANT NOTE :-</td>
                                          <td align="left"  valign="top" style="font-size: 12px; padding: 10px 0px 10px 0;"><p align="justify">It can take 1 - 2 business days before a New Debtor Application is approved. Once<br />
approved you will be notified. Please do not contact Credebt Exchange during
this <br />time, it will interrupt the process and will not result in the Debtor being added any <br />
quicker.</p>
                                          <br />
                                          <p align="justify">Use the link below to proceed:</p>
                                          <br /><br />
											<table width="100%" border="0" cellspacing="0" cellpadding="0">
                                              <tr>
                                                <td>
                                                <AJDF:output>if $smarty.get.do  eq 'opentrade'</AJDF:output>
                                                <a href="index.php?do=createdebtor&trade=1" class="txt_blue" style="text-decoration:underline;">Add another New Debtor</a>
                                                <AJDF:output>else</AJDF:output>
                                                <a href="index.php?do=createdebtor&trade=2" class="txt_blue" style="text-decoration:underline;">Add another New Debtor</a>
                                                <AJDF:output>/if</AJDF:output>
                                                </td>
                                                <td width="8%">or</td>
                                                <td width="60%">
                                                  <AJDF:output>if $smarty.get.do  eq 'opentrade'</AJDF:output>
                                                	<a href="index.php?do=opentrade" class="txt_blue" style="text-decoration:underline;">Go to Open A Trade</a>
                                                  <AJDF:output>else</AJDF:output>
                                                  <a href="index.php?do=revolvingtrade" class="txt_blue" style="text-decoration:underline;">Go to Revolving ETR Invoice Upload</a>
                                                  <AJDF:output>/if</AJDF:output>

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

                                          
                                          </td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                  </tbody>
                                </table></td>
                            </tr>
                          </tbody>
                        </table></td>
                    </tr>
                  </tbody>
                </table></td>
            </tr>
          </tbody>
        </table></td>
    </tr>
  </tbody>
</table>
<script language="javscript" type="text/javascript">

	//Change Nace by Nace Group Id
	$("#nace_group_id").change(function(){  
		//$("#result").html(ajax_load); <AJDF:output>$smarty.session.base_url</AJDF:output>/development/ 
		$.post(  
		'?do=getnace',  
		{id: $("#nace_group_id").val(), label: 'nace_id'},  
		function(responseText){  
			$("#nace_id").html(responseText);  
		},  
		"html"  
		);  
	}); 
	
	
	<AJDF:output>if ($values.nace_group_id !='')</AJDF:output>
	
	//Durin validation: Change Nace by Nace Group Id 
	$(document).ready(function(){
		$.post(  
		'?do=getnace',  
		{id: $("#nace_group_id").val(), label: '<AJDF:output>$values.nace_id</AJDF:output>'},  
		function(responseText){  
			$("#nace_id").html(responseText);  
		},  
		"html"  
		);  
	}); 
	
	<AJDF:output>/if</AJDF:output>
	
	$("#chk").click(function () {
		if ($('#chk').is(':checked')) {
			$("#billing_address_section").css('visibility', 'hidden');
		} else {
			$("#billing_address_section").css('visibility', 'visible');
		}
	});
	<AJDF:output>if $values.same_billing_address neq ''</AJDF:output>
	$("#billing_address_section").css('visibility', 'hidden');
	<AJDF:output>/if</AJDF:output>

</script>
<style>
.row1 td , .row2 td , .row6 td, .row4 td{
	/*padding:0;*/
}
.clsrm td{
	line-height:normal;
}
.text_b_10{
	width:90px;
	 border: 1px solid #999999;
    font-size: 11px;
    height: 15px;
}
.row4 td{
	padding:5px 0px 5px 10px !important;	
}

.hdr_center {padding: 1px}

</style>
<AJDF:output>include file="footer.html"</AJDF:output>