session_start(); $theme=$_GET[theme]; if( !isset($s_User) && !isset($s_Password) ){ header("location:index.php"); exit(); } require("config.inc.php"); $Category="SCS"; include("header.php"); // $Scate=$_GET["Category"]; //echo $Scate; // ตรวจสอบว่ามี username หรือไม่ mysql_connect($host,$user,$passwd); mysql_select_db($dbname); $sql = "select * from $smf_data group by Category "; $result = mysql_query($sql); $NRow = mysql_num_rows($result); $sql2 = "select * from $smf_data where No='$No' and mid='$s_ID'"; $result2= mysql_query($sql2); $NRow2= mysql_num_rows($result2); $row2=mysql_fetch_array($result2); $att_path=$row2[imgpath]; if ($NRow2==0) { header("location:index.php"); exit(); } ?>
กระดานสนทนา
ShortChargeShock.com
if (isset($picover)) {
echo $picover."
"; } if (isset($QNote_msg)) { echo $QNote_msg." "; } else { session_unregister("QNote_msg"); } ?>
|