| Server IP : 104.21.73.108 / Your IP : 216.73.216.59 Web Server : Apache/2 System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 User : paphayomho ( 1042) 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/paphayomho/domains/paphayomhospital.go.th/private_html/newsjob/ |
Upload File : |
<?php
session_start();
require("opener_db.php");
?>
<!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>---ระบบจัดการข้อมูลจัดซื้อจัดจ้าง โรงพยาบาลป่าพะยอม ---</title>
<script type="text/javascript" src="jquery-1.8.2.js"></script>
<script type="text/javascript" src="bootstrap.js"></script>
<script type="text/javascript" src="bootstrap-button.js"></script>
</head>
<body>
<?php
if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >0 ) {
echo "<ul class='error'> ";
foreach($_SESSION['ERRMSG_ARR'] as $msg) {
echo '<li> <strong><font color="red">',$msg ,'</font></strong></li>';
}echo "</ul>";
unset($_SESSION['ERRMSG_ARR']);
}
?>
<div>
<table width="600" border="2" cellpadding="2" cellspacing="2" >
<thead>
<tr>
<th>ลำดับ</th>
<th><strong>หัวข้อ</strong></th>
<th><strong>ประกาศเมื่อ:</strong></th>
<th><strong>ไฟล์แนบ</strong></th>
</tr>
</thead>
<tbody >
<?php
$i = 1;
$list4 = "SELECT * FROM up_files ORDER BY id DESC ";
$result4 = $connector->query($list4);
if(mysql_num_rows($result4) > 0)
{
while($data4 = mysql_fetch_assoc($result4))
{
echo "
<tr>
<td> $i</td>
<td>{$data4['fname']}</td>
<td>
{$data4['fdatein']}
</td>
<td>
<a href='{$data4['floc']}' title='download file' target='_blank' >Download</a><br />
</td>
</tr>
";
$i++;
// replace the A href link with
}
}
?>
</tbody>
<tfoot></tfoot>
</table>
</div>
<div></div>
</div>
</body>
</html>