0byt3m1n1-V2
Path:
/
home
/
bangtoey
/
domains
/
bangtoey.go.th
/
public_html
/
itas
/
[
Home
]
File: show_cat.php
<?php require_once('../admin/Connections/conndb.php'); ?> <?php mysql_select_db($database_conndb, $conndb); $query_rsCat = "SELECT * FROM ita_category ORDER BY cat_id"; $rsCat = mysql_query($query_rsCat, $conndb) or die(mysql_error()); $row_rsCat = mysql_fetch_assoc($rsCat); $totalRows_rsCat = mysql_num_rows($rsCat); ?> <!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=windows-874" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style> <link href="../styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div align="center"> <table width="99%" border="0" cellspacing="2" cellpadding="2"> <?php do { ?> <tr> <td width="1%"><img src="../images/icon3.gif" ></td> <td width="99%"> <div align="left"><a href="../itas/admin.php?cat_id=<? echo $row_rsCat['cat_id']; ?>" class="styles2"> <?php echo $row_rsCat['cat_name']; ?></a> <hr /> </div></td> </tr> <?php } while ($row_rsCat = mysql_fetch_assoc($rsCat)); ?> </table> </div> </body> </html>
©
2018.