sise search

About Us
Reseach Activties
Publications
Participating Universities
Information
NO DATA
"; }else{ //一覧取得SQL $sql="select * from $table_news where show_flg=1 and hiduke<='$hiduke_now' order by hiduke desc, news_id desc offset $offset limit $limit"; $result = pg_query($connection,$sql); $numRow = pg_num_rows($result); $cnt=0; echo" "; while ($value = pg_fetch_assoc($result)) { //日付 $hiduke2 = ""; $year = substr($value['hiduke'],0,4); $mon = substr($value['hiduke'],4,2); $day = substr($value['hiduke'],6,2); $mon2 = date("M", mktime( 0, 0, 0, $mon, $day, $year )); $hiduke2 = $mon2.". ".$day.", ".$year; //表示先アイコン $icon_tx=""; if($value['news_flg']==1){ $icon_tx="\"NEWS\""; }elseif($value['news_flg']==2){ $icon_tx="\"EVENT\""; }else{ $icon_tx=" "; } $url_tx=""; if($value['url']!="" && $value['comment']==""){ $url_tx="".$value['title'].""; }elseif($value['url']!="" && $value['comment']!=""){ $url_tx="".$value['title'].""; }else{ $url_tx="".$value['title'].""; } echo" "; } echo"
".$icon_tx." ".$hiduke2."
".$url_tx."
"; //次へと前へ if($offset!="0"||$count>$limit){ if($offset!="0"){ $offset_b=$offset-$limit; if($offset_b<0){ $offset_b=0; } $before="<< Back"; }else{ $before="<< Back"; } if($count>$limit){ $offset_n=$offset+$limit; $next="Next >>"; }else{ $next="Next >>"; } echo"

".$before." || ".$next."
"; } } /*
EVENT Nov. 04, 2009
Group B KickOff
NEWS Nov. 04, 2009
A-A Dialogue Activities - Highly Evaluated at the UNESCO World Conference on Higher Education in Paris
*/ ?>