function get_file_uploader() { $field_name=$_POST['field_name']; $label=$_POST['label']; $section=$_POST['section_id']; $xref_id=$_POST['xref_id']; $call_back=$_POST['call_back']; create_uploader_section($field_name,$label,$section,$xref_id,$call_back); }
if($_SESSION['selected_merchant_id'] > 0 && trim($namer) != "Compliance Officer") { echo "<td valign='top' class='pos_rel co_photo mrr_cust_info'>CO CERTIFICATE<br>"; $xref_id=0; $sql=" select co_user_id from merchants where id='".sql_friendly($_SESSION['selected_merchant_id'])."' "; $data=simple_query($sql); if($row=mysqli_fetch_array($data)) $xref_id=$row['co_user_id']; if($xref_id > 0 && $_SESSION['access_level']>=60) { $co_tab=create_uploader_section('cert_image_holder',"",SECTION_CERTIFICATES,$xref_id,'show_user_cert2', 'Upload Certificate'); echo $co_tab; } echo "</td>"; } elseif(trim($namer) == "Compliance Officer") { echo "<td valign='top' class='pos_rel co_photo mrr_cust_info'> </td>"; } ?> </tr> </table> <div id='cm_slots' class='cust_info'> <? if(trim($namer) == "Training Center")