Server IP : 10.254.12.21 / Your IP : 10.254.12.21 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40 System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/arit/ |
Upload File : |
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" href="images/logotab.ico"></head> <link href="structer.css" rel="stylesheet" type="text/css"> <title>ระเบียบการใช้ห้องสมุด</title> </head> <body> <!--start logo --> <div id="logo"> <? include "logo.php";?> </div> <!--end logo --> <!-- start nav --> <nav> <div id="nav"> <div id="content-nav"> <? include "navigator.php";?> </div> </div> </nav> <!-- start article --> <article> <div id="content"> <!-- start content --> <div class="content-title"> รายละเอียดทรัพยากร <img src="images/dot21.jpg" width="12px;"> <div class="content-line"></div> </div> <div class="content-text" style="height:400px;"> <? include "connect.php"; $title_code=$_GET['title_code']; $DirThum='../arc/intro/titlepic/'; echo"<table>"; include "connect.php"; $sql="select * from intro_resource where title_code=$title_code" ; $query=mysql_query($sql); $row=mysql_num_rows($query); $arr=mysql_fetch_array($query); $title_code =$arr[title_code]; $title =$arr[title]; $author =$arr[author]; $publisher =$arr[publisher]; $publish_year =$arr[publish_year]; $callnumber=$arr[callnumber]; $attribute=$arr[attribute]; $links=$arr[links]; $picture =$arr[picture]; $detail =$arr[detail]; //echo "<tr><td colspan='3'>$title</td></tr><tr>"; if (empty($picture)) { echo "<td valign='top' align='left'><a href='IntroDetail.php?title_code=$title_code'><img src='titlepic/noimage.jpg' width='80' height='130'></td>"; } else { echo "<td valign='top' align='left'><a href='IntroDetail.php?title_code=$title_code'><img src='$DirThum$picture' width='80' height='130'></td>"; } echo "<td valign='top' align='left'><b><img src='image/Home/quick_sticky.gif'><a href='IntroDetail.php?title_code=$title_code'>$title</b></a><br/><b>ผู้แต่ง :: </b>$author<br/><br/><b>สำนักพิมพ์ :: </b>$publisher<br/><b>ปีที่พิมพ์ :: </b>$publish_year<br/><b>ครั้งที่พิมพ์ :: </b>$edition<br/><b>ฉบับที่ :: </b>$issue<br/><b>หมายเรียก :: </b>$callnumber<br/><b>บรรณลักษณ์ :: </b>$attribute<br/><b> URL :: </b>$links<br/><b>รายละเอียด :: </b>$detail <br></td>"; //echo "</tr><tr><td colspan='8' height='20'>[ ลบ ] []</td></tr><tr>"; //echo"<td> </td>"; echo"</tr></table>"; ?> </div> </div> <!-- end content --> </article> <footer> <? include "footer.php";?> </footer> </body> </html><!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" href="images/logotab.ico"></head> <link href="structer.css" rel="stylesheet" type="text/css"> <title>ระเบียบการใช้ห้องสมุด</title> </head> <body> <!--start logo --> <div id="logo"> <? include "logo.php";?> </div> <!--end logo --> <!-- start nav --> <nav> <div id="nav"> <div id="content-nav"> <? include "navigator.php";?> </div> </div> </nav> <!-- start article --> <article> <div id="content"> <!-- start content --> <div class="content-title"> รายละเอียดทรัพยากร <img src="images/dot21.jpg" width="12px;"> <div class="content-line"></div> </div> <div class="content-text" style="height:400px;"> <? include "connect.php"; $title_code=$_GET['title_code']; $DirThum='../arc/intro/titlepic/'; echo"<table>"; include "connect.php"; $sql="select * from intro_resource where title_code=$title_code" ; $query=mysql_query($sql); $row=mysql_num_rows($query); $arr=mysql_fetch_array($query); $title_code =$arr[title_code]; $title =$arr[title]; $author =$arr[author]; $publisher =$arr[publisher]; $publish_year =$arr[publish_year]; $callnumber=$arr[callnumber]; $attribute=$arr[attribute]; $links=$arr[links]; $picture =$arr[picture]; $detail =$arr[detail]; //echo "<tr><td colspan='3'>$title</td></tr><tr>"; if (empty($picture)) { echo "<td valign='top' align='left'><a href='IntroDetail.php?title_code=$title_code'><img src='titlepic/noimage.jpg' width='80' height='130'></td>"; } else { echo "<td valign='top' align='left'><a href='IntroDetail.php?title_code=$title_code'><img src='$DirThum$picture' width='80' height='130'></td>"; } echo "<td valign='top' align='left'><b><img src='image/Home/quick_sticky.gif'><a href='IntroDetail.php?title_code=$title_code'>$title</b></a><br/><b>ผู้แต่ง :: </b>$author<br/><br/><b>สำนักพิมพ์ :: </b>$publisher<br/><b>ปีที่พิมพ์ :: </b>$publish_year<br/><b>ครั้งที่พิมพ์ :: </b>$edition<br/><b>ฉบับที่ :: </b>$issue<br/><b>หมายเรียก :: </b>$callnumber<br/><b>บรรณลักษณ์ :: </b>$attribute<br/><b> URL :: </b>$links<br/><b>รายละเอียด :: </b>$detail <br></td>"; //echo "</tr><tr><td colspan='8' height='20'>[ ลบ ] []</td></tr><tr>"; //echo"<td> </td>"; echo"</tr></table>"; ?> </div> </div> <!-- end content --> </article> <footer> <? include "footer.php";?> </footer> </body> </html>