เนื้อหาอื่นๆ
$top22=0; while($rs_more = mysql_fetch_array($re_more)){ $pic = json_decode($rs_more['column_logo']); $h_data[$top22]['column_logo'] = $rs_more['column_id'].'/'.$pic->file_name.$pic->file_ext; ?>view : =$rs_more['view'];?>
session_start(); include "sql.php"; $id=$_GET['id']; $sql_now = "SELECT * FROM tbl_journal WHERE cat_id = '20150708123431114' AND status = 1 ORDER BY publish_date desc limit 1"; $re_now = mysql_query($sql_now); $sql_dusita = "SELECT * FROM tbl_journal WHERE cat_id = '20150624133051833' AND status = 1 ORDER BY publish_date desc limit 1"; $re_dusita = mysql_query($sql_dusita); $sql_movie = "SELECT * FROM tbl_news WHERE newscat_id = 20140506140923687 AND status = 1 ORDER BY publish_date desc limit 1"; $re_movie = mysql_query($sql_movie); $sql_more = "SELECT * FROM tbl_column WHERE status = 1 ORDER BY RAND() limit 4"; $re_more = mysql_query($sql_more); $sql_cul = "SELECT * FROM tbl_column WHERE column_id = '$id' AND status = 1 ORDER BY publish_date desc limit 1"; $re_cul = mysql_query($sql_cul); $cul=0; while($rs_cul = mysql_fetch_array($re_cul)){ $title = $rs_cul['column_title']; $des = $rs_cul['column_detail']; $date_top = $rs_cul['create_date']; $view = $rs_cul['view']; $refer = $rs_cul['refer']; $pic = json_decode($rs_cul['column_logo']); $h_data[$cul]['column_logo'] = $rs_cul['column_id'].'/'.$pic->file_name.$pic->file_ext; $cul++; } $sql_pic = "SELECT * FROM tbl_picture WHERE ref_id = '$id' ORDER BY create_date ASC"; $re_pic = mysql_query($sql_pic); ?>
แสดงความคิดเห็น