if ($ii > 0)
$tipche = 2;
$fquery = $core_db->Execute("select ancient_id,i_type,i_id,name,i_stick_level,i_option,i_exc_option,i_socket_option,i_harmony_option,size_x,size_y from MUCore_Shop_Items where i_id=" . $aa . " and i_type=" . $itemtype . " and i_stick_level=" . $itemlevel);
if ($fquery->EOF) {
$fquery = $core_db->Execute("select ancient_id,i_type,i_id,name,i_stick_level,i_option,i_exc_option,i_socket_option,i_harmony_option,size_x,size_y from MUCore_Shop_Items where i_id=" . $aa . " and i_type=" . $itemtype);
$nolevel = 0;
}