|
|
@ -169,7 +169,10 @@ exit;
|
|
|
|
|
|
|
|
|
|
|
|
////ITEMS in der navi
|
|
|
|
////ITEMS in der navi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$filter = '1';
|
|
|
|
|
|
|
|
if(isset($charm)) {
|
|
|
|
|
|
|
|
$filter = '(type=\''.$charm.'\' OR type=\'ALL\')';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($pagenum == "" or $pagenum == 1)
|
|
|
|
if($pagenum == "" or $pagenum == 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -182,7 +185,7 @@ exit;
|
|
|
|
|
|
|
|
|
|
|
|
if(!$oder) { $oder = 'level,preis'; }
|
|
|
|
if(!$oder) { $oder = 'level,preis'; }
|
|
|
|
if(!$ords) { $ords = "Trank"; }
|
|
|
|
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 = 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 ");
|
|
|
|
$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);
|
|
|
|
$pages = ceil($Total/10);
|
|
|
|
|
|
|
|
|
|
|
|
$z = 1;
|
|
|
|
$z = 1;
|
|
|
|