物品getfirst($ttsql); echo "---".$xbc['thc']; }?>

getcount("select * from 50_th".$where1); $max_page = ceil($count / $perpage); if($count>0&&($start > $max_page)){ $start = $max_page; } //取表的数据order by thid desc $plussql=' order by thid desc LIMIT '.$start.','.$perpage; $listarr = selecttable('50_th', array(), $where, $plussql); $para_str ="?"; $paras = array(); if($m){ $paras[] ="m={$m}"; } if($z){ $paras[]="z={$z}"; } if($c){ $paras[]="c={$c}"; } if($b){ $paras[]="b={$b}"; } if($x){ $paras[]="x={$x}"; } if($i_){ $paras[]="i={$i_}"; } if($i2_){ $paras[] = "i2={$i2_}"; } if($n_){ $paras[] = "name={$n_}"; } if($lc){ $paras[] = "lc={$lc}"; } if($page){ $paras[] = "page={$page}"; } $para_str .= implode("&",$paras);; $mpurl="http://".$_SERVER ['HTTP_HOST']. $_SERVER['SCRIPT_NAME'].$para_str; ?>
本类共有条记录。
"; } ?>
小图 物品名字 物品分类 物品说明
".$listvalue['thname']." ".$listvalue['thc']." ".$listvalue['thsm']."