顯示全部   最新消息   教師專區   學生專區  
=0;$a--){ $line[]=$lines[$a]; } ?>
=0;$a--){ $line[]=$lines[$a]; } $Ntype = $HTTP_GET_VARS['Ntype']; echo ""; $itemnum = 0; for($i=0;$i<$count;$i++){ list($kind,$date,$title,$url,$name,$mail,$updname,$hidden,$note)=explode("∥",$line[$i]); //echo "$id "; $name=stripslashes($name); if($name==$listname[$Ntype]) { $paging++; if($paging==$page) $i=$count; } if($i!=$count){ $id=$count-$i; } $url=stripslashes($url); $mail=stripslashes($mail); $title=stripslashes($title); $kind=stripslashes($kind); $note=stripslashes($note); if($mail!=""){$person="$name";} else{$person="$name";} $kind_pic="$kind"; if($note): if($person == $listname[$Ntype]): $itemnum++; //echo "$id + $count"; ?> =0;$a--){ $line[]=$lines[$a]; } } for ($ii=0;$ii<3;$ii++){ echo ""; $itemnum = 0; for($i=0;$i<$count;$i++){ list($kind,$date,$title,$url,$name,$mail,$updname,$hidden,$note)=explode("∥",$line[$i]); //echo "test=$test"; $name=stripslashes($name); if($name==$listname[$ii]) { $paging++; if($paging==$page){ $i=$count; $test=1; $paging="0"; } if($ii==3) $i=$count; } if($i!=$count) { $id=$count-$i; } if($test==1) { $id=$id-1; $test=0; } $url=stripslashes($url); $mail=stripslashes($mail); $title=stripslashes($title); $kind=stripslashes($kind); $note=stripslashes($note); if($mail!=""){$person="$name";} else{$person="$name";} $kind_pic="$kind"; if($note): if($person == $listname[$ii]): $itemnum++; //echo "id==$id"; ?> "; } if($HTTP_GET_VARS['more']=="all") { } else { echo ""; echo ""; echo ""; } ?>
"; echo ""; echo "
"; echo ""; echo "
無最新相關訊息!
"; echo "顯示全部所有公告