Sun","Mon","Tue","Wed","Thu","Fri","Sun"); $y=date("Y"); $m=date("m"); $d=date("d"); $y1=date("w"); $today=$y."-".$m."-".$d." ".$yoil[$y1]; #------- ½Å¹® ¾È³» if($paper_info[intro_state]==1){ $intro_link="  |  Introduce"; } #------- ½Å¹®Á¤º¸¿¡ µû¸¥ Ãâ·Â°ª ±¸Çϱâ $pd_y=substr($paper_info[public_date],0,4); $pd_m=substr($paper_info[public_date],4,2); $pd_d=substr($paper_info[public_date],6,2); $time_pub=mktime(0,0,0,$pd_m,$pd_d,$pd_y); switch($paper_info[type]){ case(0): $time_x=1; break; case(1): $time_x=7; break; case(2): $time_x=14; break; case(3): $time_x=30; break; } $back_time=(60*60*24*$time_x)+(60*60*24); $public_time=$time_pub-$back_time; $pub_min=date("Ymd",$public_time); $pub_max=$pd_y.$pd_m.$pd_d; #print "$pub_min/$pub_max"; $pub_where="and (date_num<'$pub_max' and date_num>'$pub_min')"; switch($ln_mode){ default: $inc_file=$base_dir."/main_".$dgn[main].".html"; break; case("news_select"): $inc_file=$base_dir."/news_".$dgn[news].".html"; break; case("news_view"): $inc_file=$base_dir."/news_view_".$dgn[news].".html"; break; case("ct_select"): $inc_file=$base_dir."/news_ct_".$dgn[news].".html"; break; case("ct_select_b"): $inc_file=$base_dir."/board_ct_".$dgn[board].".html"; break; case("board_select"): $board="zboard".$board; $mode="list"; $inc_file=$board_base."zboard.html"; break; case("insert"): $mode="list"; $inc_file=$board_base."zboard.html"; break; case("search"): $inc_file=$base_dir."/news_search_".$dgn[news].".html"; break; case("2_1"): #print $board_base; $inc_file=$board_base."/zboard.html"; break; case("intro"): $inc_file=$base_dir."/intro_".$dgn[intro].".html"; break; case("res"): $body_inc=$base_dir."/res_".$dg["res"].".html"; include $body_inc; exit; break; } ?> ::: ¾È³çÇϼ¼¿ä <?php print $paper_info[paper_name]; ?> ¿¡ ¿À½Å°ÍÀ» ȯ¿µÇÕ´Ï´Ù. :-) :::
0){ ?>
List Top 5
"; } ?>
- $mr_news[subject]
0){ echo"
¼³¹®Á¶»ç
"; print ""; while($resb=mysql_fetch_array($resb_db)){ $res_form_name="res_form_".$resb[id]; echo"
$resb[subject]
"; echo" "; $query="select * from res where base_id='$resb[id]' order by id DESC"; $res_db=mysql_query($query); query_chk($res_db,"res_db error"); $res_wy=75; while($res=mysql_fetch_array($res_db)){ if($res[text]){ $res_wy=$res_wy+25; echo" "; } } echo" "; print "
$res[text]
"; } print"
"; } # ¼³¹®Á¶»ç Ãâ·Â ³¡ ?>
$ct_info[category] $board_info[board_name]
"; } include $inc_file;?>