page_footer(); break; /************************************************************************************** /* /* 物品制作 /* /***************************************************************************************/ /************************************************************************************** /* /* 物品制作 /* /***************************************************************************************/ case 'do': require_once $phpbb_root_path . 'includes/xajax/xajax.inc.php'; $xajax = new xajax($phpbb_root_path . 'includes/xajax/city/confraternity.server.php'); $xajax->debugOn(); $xajax->registerFunction('objectscount'); $xajax->registerFunction('objectsstart'); $sql = 'SELECT formula.*,sys_formula.* FROM ' . CONFRATERNITY_FORMULA . ' formula LEFT JOIN ' . SYSTEM_FORMULA . ' sys_formula ON(formula.formulaid=sys_formula.formulaid) WHERE formula.buildid=' . $confid . ' AND formula.cityid=' . $user->data['last_place']; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { if ($row['skill1'] != '') { $skill1 = unserialize($row['skill1']); } else { $skill1 = ''; } if ($row['skill2'] != '') { $skill2 = unserialize($row['skill2']); } else {