One Hat Cyber Team
Your IP :
216.73.216.155
Server IP :
122.155.17.190
Server :
Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
Server Software :
Apache/2
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
neunkho
/
public_html
/
news
/
View File Name :
show_news2.php
<?php //require_once('../admin/Connections/conndb.php'); ?> <?php //mysql_select_db($database_conndb, $conndb); $query_rsNews5 = "SELECT * FROM news_detail where cat_id = '34' 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); ?> <table width="98%" border="0" cellpadding="2" cellspacing="2"> <?php $i=0; ?> <?php if ($totalRows_rsNews5 != 0) { ?> <?php do { $i++; ?> <tr> <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" valign="top" class="detail-s"><div align="left"><a href="detail.php?id=<? echo $row_rsNews5['id'];?>" class="more"> <?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"><a href="news.php?cat_id=1" class="news">���ǻ�Ъ�����ѹ�������</a></div></td> </tr> --> </table>