Server IP : 119.59.102.212 / Your IP : 3.141.244.88 Web Server : Apache/2 System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64 User : yangkam ( 1022) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/link/ |
Upload File : |
<?php $navig['link']=$data_name_menu_sub[name]; $navig['addlink_form']="รายละเอียด"; navigator($navig); echo "<br>"; bar_header("รายละเอียด"); // Bar_Header fieldset_top("ลิงค์"); if($p_id_link!="") { $id_link=trim($p_id_link); } $sql = "SELECT * FROM cms_link where id_link='$id_link'"; $result = mysql_query($sql); $data = mysql_fetch_array($result); echo"<table width='100%' border='0' align='center' cellpadding='1' cellspacing='1'>"; if ($data['url'] != "") { echo" <tr height='30' valign=top>"; echo" <td><img src='coremain/images/marker.gif'> หัวข้อ</td>"; echo" <td><a href='$data[url]' target='_blank'>$data[msg]</a></td>"; echo" </tr>"; }else{ echo" <tr height='30' valign=top>"; echo" <td><img src='coremain/images/marker.gif'> หัวข้อ</td>"; echo" <td>$data[msg]</td>"; echo" </tr>"; } echo" <tr height='30' valign=top>"; echo" <td><img src='coremain/images/marker.gif'> รายละเอียด</td>"; echo" <td>$data[text_full]</td>"; echo" </tr>"; if ($data['picture'] != "") { echo" <tr height='30' valign=top>"; echo" <td></td>"; echo" <td>"; echo" <a href='$_SESSION[web_name]/mainfile/$data[picture]' target='_blank'>Download เอกสารที่ 1</a></td>"; echo" </tr>"; } if ($data['picture1'] != "") { echo" <tr height='30' valign=top>"; echo" <td></td>"; echo" <td>"; echo" <a href='$_SESSION[web_name]/mainfile/$data[picture1]' target='_blank'>Download เอกสารที่ 2</a></td>"; echo" </tr>"; } if ($data['picture2'] != "") { echo" <tr height='30' valign=top>"; echo" <td></td>"; echo" <td>"; echo" <a href='$_SESSION[web_name]/mainfile/$data[picture2]' target='_blank'>Download เอกสารที่ 3</a></td>"; echo" </tr>"; } echo"</table>"; fieldset_down(); ?> <script language="JavaScript"> <!-- function goURL() { var blnLink blnLink = confirm("Click OK เพื่อยืนยันการลบข้อมูล?") if (!blnLink) { return false; } return true; } //--> </script>