%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 122.155.177.87 / Your IP : 122.155.177.87 Web Server : Apache/2 System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64 User : apache ( 994) PHP Version : 5.3.29 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,putenv,eval MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/thungkhana/domains/thungkhanan.go.th/public_html/news/ |
Upload File : |
<?php //require_once('../admin/Connections/conndb.php'); ?>
<?php
//mysql_select_db($database_conndb, $conndb);
$query_rsNews5 = "SELECT * FROM news_detail where cat_id = '2' ORDER BY d_date DESC limit 0,5";
$rsNews5 = mysql_query($query_rsNews5, $conndb) or die(mysql_error());
$row_rsNews5 = mysql_fetch_assoc($rsNews5);
$totalRows_rsNews5 = mysql_num_rows($rsNews5);
?>
<link href="../styles.css" rel="stylesheet" type="text/css" />
<table width="98%" border="0" cellpadding="2" cellspacing="2">
<?php $i=0; ?>
<?php if ($totalRows_rsNews5 != 0) { ?>
<?php do { $i++; ?>
<tr valign="middle">
<td width="5%" align="center" valign="top">
<div align="center" valign="middle" ><img src="../images/icon_7.gif" width="16" height="9" /></div></td>
<td width="95%" align="center" class="detail-s"><div align="left"><a href="detail.php?id=<? echo $row_rsNews5['id'];?>" class="red">
<?php
//echo $row_rsNews5['name'];
$topic= $row_rsNews5['name'];
if(strlen($topic)>200) {
$topic = substr($topic,0,200)."..";
}
echo $topic;
?>
</a>:<? echo "ҹ ".$row_rsNews5['click']." ";?></div></td>
</tr>
<?php } while ($row_rsNews5 = mysql_fetch_assoc($rsNews5));
} // Show if recordset not empty ?>
<?php if ($totalRows_rsNews5 == 0) { // Show if recordset empty ?>
<tr>
<td height="100" colspan="2" class="red"><div align="center">բ</div></td>
</tr>
<?php } // Show if recordset empty ?>
<!-- <tr>
<td colspan="2" class="red"><div align="right" class="title2"><span class="styles1"><a href="news.php?cat_id=2" class="news">ǨѴͨѴҧ</a></span><a href="news.php?cat_id=13" class="news"></a></div></td>
</tr> -->
</table>