$dsql->ExecuteNoneQuery("INSERT INTO `zuimoban_stepselect`(`itemname`,`egroup`,`issign`,`issystem`) VALUES('$itemname','$egroup','0','0'); ");
WriteEnumsCache($egroup);
ShowMsg("成功添加一个分类!","stepselect_main.php?egroup=$egroup");
exit();
}
/*---------
把旧版全国省市表替换当前地区数据
function __exarea() { }
----------*/
else if($action=='exarea')
{
$bigtypes = array();
$dsql->ExecuteNoneQuery("DELETE FROM `zuimoban_sys_enum` WHERE egroup='nativeplace'; ");
$query = "SELECT * FROM `zuimoban_area` WHERE reid =0 order by id asc";
$dsql->Execute('me', $query);
$n = 1;
while($row = $dsql->GetArray())
{
$bigtypes[$row['id']] = $evalue = $disorder = $n * 500;
$dsql->ExecuteNoneQuery("INSERT INTO `zuimoban_sys_enum`(`ename`,`evalue`,`egroup`,`disorder`,`issign`)