include_once ("dbClass.php");
require_once ("function.php");
require ("header.php");
require ("menu.php");
//$where=array();
$c = (int)(postget ( 'c' ));
$z = (int)postget ( 'z' );
$n = postget ( 'n' );
$i = intval(postget ( 'i' ));
$i2 = intval(postget ( 'i2' ));
function findtz($tzid) {
global $db;
$res = $db->query ( "select itemid from tz where tzid=" . $tzid );
while ( $row = $db->getarray ( $res ) ) {
$itemid [] = $row ['itemid'];
}
$tzhtml = '';
foreach ( $itemid as $itid ) {
$itrow = $db->getfirst ( "select icon_name from item where id=" . $itid );
$icon_name = $itrow ['icon_name'];
$tzhtml .= '
if ($z)
$mu = ' »
' . $z_arr [$z] . '';
?>
一共有条记录
echo multi ( $count, $perpage, $page, $mpurl );
?>
名称 |
级别 |
部件 |
类型 |
foreach ( $listarr as $listvalue ) {
echo '
' . $listvalue ['tzname'] . ' |
' . $listvalue ['level'] . ' |
' . findtz ( $listvalue ['tzid'] ) . ' |
' . $c_2 [$listvalue ['type_id']] . ' |
';
}
?>
一共有条记录
echo multi ( $count, $perpage, $page, $mpurl );
?>
require ("footer.php");
?>