เนื้อหาอื่นๆ
$top22=0; while($rs_more = mysql_fetch_array($re_more)){ $pic = json_decode($rs_more['news_logo']); $h_data[$top22]['news_logo'] = $rs_more['news_id'].'/'.$pic->file_name.'_thumb'.$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_news WHERE news_id != $id AND status = 1 ORDER BY create_date desc limit 4"; $re_more = mysql_query($sql_more); $sql_news = "SELECT * FROM tbl_news WHERE news_id = '$id'"; $re_news = mysql_query($sql_news); $news=0; while($rs_news = mysql_fetch_array($re_news)){ $title = $rs_news['news_title']; $des = $rs_news['news_detail']; $date_top = $rs_news['create_date']; $view = $rs_news['view']; $refer = $rs_news['refer']; $youtube = $rs_news['youtube_id']; $pic = json_decode($rs_news['news_logo']); $h_data[$news]['news_logo'] = $rs_news['news_id'].'/'.$pic->file_name.$pic->file_ext; $news++; } ?>
แสดงความคิดเห็น