include("../config/conn.php"); include("../config/function.php"); while0("*","yjcode_help where id=".$_GET[id]);if(!$row=mysql_fetch_array($res)){php_toheader("./");} while1("*","yjcode_help where sj>='".$row[sj]."' and id<>".$row[id]." order by sj asc"); if($row1=mysql_fetch_array($res1)){$pre="".$row1[tit]."";}else{$pre="已是该分组下第一篇";} while1("*","yjcode_help where sj<='".$row[sj]."' and id<>".$row[id]." order by sj desc"); if($row1=mysql_fetch_array($res1)){$nex="".$row1[tit]."";}else{$nex="已是该分组下最后一篇";} ?>