fetch1("select isurl,titleurl,classid,id from {$dbtbpre}ecms_".$class_r[$classid][tbname]." where id='$id' limit 1"); if(empty($r[id])) { printerror("ErrorUrl","",1); } $titleurl=sys_ReturnBqTitleLink($r); db_close(); $empire=null; Header("Location:$titleurl"); } ?>