eNet地下城与勇士>>>
Notice: Undefined variable: keyword in /data/www/egames/zhuanti/d-fighter/article/list.php on line 34
$intPageCount) $intPage = $intPageCount; if($intPageCount>0){ $start = ($intPage-1) * $intPageSize ; $end = $start + $intPageSize ; $sql = "select * from (select rownum r,v.* from (select Articleid,ArticleTitle,articletypeid,TO_CHAR(Recordtime,'MM-DD'),author,digest,reserved,content12 from article $where and paragraphid=0 order by RecordTime desc) v) where r <= ".$end." and r > ".$start; //echo $sql; $stmt = OCIParse($conn,$sql); OCIExecute($stmt) or die("sql wrong"); while(OCIFetchInto($stmt,$result)){ list($rownum,$articleid,$title,$typeid,$rtime,$author,$digest,$reserved,$content12)=$result; $subtitle = substr($title,0,50); $subauthor = substr($author,0,10); echo "
  • $rtime
    $subauthor
  • "; } } OCILogoff($conn); ?>