query("select classid,classname from {$dbtbpre}enewsclass where bclassid=2"); $data=array(); while($citys=$empire->fetch($city)){ $arr=array(); $arr['item']=array(); $class=$empire->query("select classid,classname from {$dbtbpre}enewsclass where bclassid={$citys['classid']}"); while($cla=$empire->fetch($class)){ $arrr=array(); $arrr['item']=array(); $term=$empire->query("select classid,classname from {$dbtbpre}enewsclass where bclassid={$cla['classid']}"); while($terms=$empire->fetch($term)){ $arrrr=array(); $arrrr['classname']=iconv('GBK','UTF-8',$terms['classname']); $arrr['item'][$terms['classid']]=$arrrr; } $arrr['classname']=iconv('GBK','UTF-8',$cla['classname']); $arr['item'][$cla['classid']]=$arrr; } $arr['classname']=iconv('GBK','UTF-8',$citys['classname']); $data[$citys['classid']]=$arr; } $data=json_encode($data); //自动载入地区 $citSQL=$empire->query("select classid,classname from {$dbtbpre}enewsclass where bclassid=2"); //第一个地区 $firstcity=$empire->fetch1("select classid,classname from {$dbtbpre}enewsclass where bclassid=2"); //自动载入班次 $class=$empire->query("select classid,classname from {$dbtbpre}enewsclass where bclassid={$firstcity['classid']}"); //第一个班次 $firstclass=$empire->fetch1("select classid,classname from {$dbtbpre}enewsclass where bclassid={$firstcity['classid']}"); //自动载入营期 $term=$empire->query("select classid,classname from {$dbtbpre}enewsclass where bclassid={$firstclass['classid']}"); ?> 2021长沙自强军事夏令营在线报名-军事夏令营网上报名

在线报名

Online Registration

* 参营地区:
* 参营班次:
* 参营营期:
* 参营人数:
* 孩子姓名:
* 家长电话:
你还可以填写完整报名信息马上填写>>
夏令营微信
自强军事夏令营
打开微信
复制微信