|
|
|
@ -169,7 +169,10 @@ exit;
|
|
|
|
|
|
|
|
|
|
////ITEMS in der navi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$filter = '1';
|
|
|
|
|
if(isset($charm)) {
|
|
|
|
|
$filter = '(type=\''.$charm.'\' OR type=\'ALL\')';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($pagenum == "" or $pagenum == 1)
|
|
|
|
|
{
|
|
|
|
@ -182,7 +185,7 @@ exit;
|
|
|
|
|
|
|
|
|
|
if(!$oder) { $oder = 'level,preis'; }
|
|
|
|
|
if(!$ords) { $ords = "Trank"; }
|
|
|
|
|
$item_name = mysql_query("SELECT * FROM item WHERE (type='$charm' OR type='ALL') AND s_type='$ords' order by $oder ASC LIMIT $pagenum, 10");
|
|
|
|
|
$item_name = mysql_query("SELECT * FROM item WHERE $filter AND s_type='$ords' order by $oder ASC LIMIT $pagenum, 10");
|
|
|
|
|
$user = mysql_Fetch_array(mysql_query("SELECT id, geld, item_res FROM user WHERE id='$user_ida[id]' LIMIT 1"));
|
|
|
|
|
$user_item = mysql_query("SELECT name, id FROM item ");
|
|
|
|
|
|
|
|
|
@ -239,7 +242,7 @@ exit;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$Total = mysql_num_rows(mysql_query("SELECT id FROM item WHERE (type='$charm' OR type='ALL') AND s_type='$ords'"));
|
|
|
|
|
$Total = mysql_num_rows(mysql_query("SELECT id FROM item WHERE $filter AND s_type='$ords'"));
|
|
|
|
|
$pages = ceil($Total/10);
|
|
|
|
|
|
|
|
|
|
$z = 1;
|
|
|
|
|