COMPASS PR BLOGS 部落格

='".date("Y-m-d")."' or data_enddate='0000-00-00' or data_enddate IS NULL) order by data_createdate desc, data_id desc "; $index_news_list=array(); $select_db_action=new select_db();//開啟class $select_db_action->select_sql=$sql; $select_db_action->action_type=0;//選擇一般列表方式 $select_db_action->dbname="blog_list"; $select_db_action->db_select(); $index_news_list=$select_db_action->data_list; $total_rows=$select_db_action->total_rows; if(count($index_news_list)>0){ for($i=0;$i $value){ $$key=$value; } //----圖片1 $data_pic_1_s=""; $data_pic_1_b=""; if(trim($data_pic_1)!=""){ if (file_exists($pic_s_1_path.$data_pic_1)) { $data_pic_1_s=$pic_s_1_path.$data_pic_1; }else{ $data_pic_1_s=""; } if (file_exists($pic_b_1_path.$data_pic_1)) { $data_pic_1_b=$pic_b_1_path.$data_pic_1; }else{ $data_pic_1_b=""; } } ?>

Copyright © 2011 Compass Public Relations. All right reserved.