game/adminion/lib/loadItemInfo.php

19 lines
730 B
PHP
Raw Normal View History

2022-12-19 20:22:19 +00:00
<?
/*if($_POST['item_id']){
include_once('../../_incl_data/__config.php');
define('GAME',true);
include_once('../../_incl_data/class/__db_connect.php');
$item = mysql_fetch_array(mysql_query("SELECT name FROM items_main WHERE id = '".$_POST['item_id']."' LIMIT 1"));
echo $item['name']." [".$_POST['item_id']."]";
}
if($_POST['getListItems'] == true){
include_once('../../_incl_data/__config.php');
define('GAME',true);
include_once('../../_incl_data/class/__db_connect.php');
$items = mysql_query("SELECT id, info FROM items_main WHERE `info` LIKE '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>%'");
while($item = mysql_fetch_array($items)){
$item['info'] = explode(':',$item['info']);
echo $item['info'][1]." [".$item['id']."]";
}
}*/
?>