存档

文章标签 ‘数组’

全国省份、城市、区号二级sql、php数组、JavaScript数组【20150909更新】

2015年7月14日 没有评论

先看下sql文件:

CREATE TABLE `id_city` (
  `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `pid` smallint(5) unsigned NOT NULL DEFAULT ‘0’,
  `title` varchar(100) NOT NULL,
  `quhao` smallint(5) unsigned NOT NULL DEFAULT ‘0’ COMMENT ‘区号(前面都会加1)’,
  PRIMARY KEY (`id`),
  KEY `key1` (`pid`) USING BTREE,
  KEY `key2` (`quhao`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=533 DEFAULT CHARSET=utf8;

— —————————-
— Records of id_city
— —————————-
INSERT INTO `id_city` VALUES (‘1’, ‘0’, ‘北京’, ‘1010’);
INSERT INTO `id_city` VALUES (‘2’, ‘0’, ‘上海’, ‘1021’);
INSERT INTO `id_city` VALUES (‘3’, ‘0’, ‘天津’, ‘1022’);
INSERT INTO `id_city` VALUES (‘4’, ‘0’, ‘重庆’, ‘1023’);
INSERT INTO `id_city` VALUES (‘5’, ‘0’, ‘安徽’, ‘0’);
INSERT INTO `id_city` VALUES (‘6’, ‘0’, ‘浙江’, ‘0’);
INSERT INTO `id_city` VALUES (‘7’, ‘0’, ‘江苏’, ‘0’);
INSERT INTO `id_city` VALUES (‘8’, ‘0’, ‘福建’, ‘0’);
INSERT INTO `id_city` VALUES (‘9’, ‘0’, ‘广东’, ‘0’);
INSERT INTO `id_city` VALUES (’10’, ‘0’, ‘广西’, ‘0’);
INSERT INTO `id_city` VALUES (’11’, ‘0’, ‘河北’, ‘0’);
INSERT INTO `id_city` VALUES (’12’, ‘0’, ‘河南’, ‘0’);
INSERT INTO `id_city` VALUES (’13’, ‘0’, ‘湖北’, ‘0’);
INSERT INTO `id_city` VALUES (’14’, ‘0’, ‘湖南’, ‘0’);
INSERT INTO `id_city` VALUES (’15’, ‘0’, ‘吉林’, ‘0’);
INSERT INTO `id_city` VALUES (’16’, ‘0’, ‘江西’, ‘0’);
INSERT INTO `id_city` VALUES (’17’, ‘0’, ‘山东’, ‘0’);
INSERT INTO `id_city` VALUES (’18’, ‘0’, ‘山西’, ‘0’);
INSERT INTO `id_city` VALUES (’19’, ‘0’, ‘陕西’, ‘0’);
INSERT INTO `id_city` VALUES (’20’, ‘0’, ‘甘肃’, ‘0’);
INSERT INTO `id_city` VALUES (’21’, ‘0’, ‘辽宁’, ‘0’);
INSERT INTO `id_city` VALUES (’22’, ‘0’, ‘贵州’, ‘0’);
INSERT INTO `id_city` VALUES (’23’, ‘0’, ‘宁夏’, ‘0’);
INSERT INTO `id_city` VALUES (’24’, ‘0’, ‘四川’, ‘0’);
INSERT INTO `id_city` VALUES (’25’, ‘0’, ‘海南’, ‘0’);
INSERT INTO `id_city` VALUES (’26’, ‘0’, ‘青海’, ‘0’);
INSERT INTO `id_city` VALUES (’27’, ‘0’, ‘黑龙江’, ‘0’);
INSERT INTO `id_city` VALUES (’28’, ‘0’, ‘云南’, ‘0’);
INSERT INTO `id_city` VALUES (’29’, ‘0’, ‘内蒙古’, ‘0’);
INSERT INTO `id_city` VALUES (’30’, ‘0’, ‘新疆’, ‘0’);
INSERT INTO `id_city` VALUES (’31’, ‘0’, ‘西藏’, ‘0’);
INSERT INTO `id_city` VALUES (’32’, ‘0’, ‘香港’, ‘1852’);
INSERT INTO `id_city` VALUES (’33’, ‘0’, ‘澳门’, ‘1853’);
INSERT INTO `id_city` VALUES (’34’, ‘0’, ‘台湾’, ‘1886’);
INSERT INTO `id_city` VALUES (’35’, ‘1’, ‘东城’, ‘0’);
INSERT INTO `id_city` VALUES (’36’, ‘1’, ‘西城’, ‘0’);
INSERT INTO `id_city` VALUES (’37’, ‘1’, ‘朝阳’, ‘0’);
INSERT INTO `id_city` VALUES (’38’, ‘1’, ‘丰台’, ‘0’);
INSERT INTO `id_city` VALUES (’39’, ‘1’, ‘石景山’, ‘0’);
INSERT INTO `id_city` VALUES (’40’, ‘1’, ‘海淀’, ‘0’);
INSERT INTO `id_city` VALUES (’41’, ‘1’, ‘门头沟’, ‘0’);
INSERT INTO `id_city` VALUES (’42’, ‘1’, ‘房山’, ‘0’);
INSERT INTO `id_city` VALUES (’43’, ‘1’, ‘通州’, ‘0’);
INSERT INTO `id_city` VALUES (’44’, ‘1’, ‘顺义’, ‘0’);
INSERT INTO `id_city` VALUES (’45’, ‘1’, ‘昌平’, ‘0’);
INSERT INTO `id_city` VALUES (’46’, ‘1’, ‘大兴’, ‘0’);
INSERT INTO `id_city` VALUES (’47’, ‘1’, ‘平谷’, ‘0’);
INSERT INTO `id_city` VALUES (’48’, ‘1’, ‘怀柔’, ‘0’);
INSERT INTO `id_city` VALUES (’49’, ‘1’, ‘密云’, ‘0’);
INSERT INTO `id_city` VALUES (’50’, ‘1’, ‘延庆’, ‘0’);
INSERT INTO `id_city` VALUES (’51’, ‘2’, ‘黄浦’, ‘0’);
INSERT INTO `id_city` VALUES (’52’, ‘2’, ‘卢湾’, ‘0’);
INSERT INTO `id_city` VALUES (’53’, ‘2’, ‘徐汇’, ‘0’);
INSERT INTO `id_city` VALUES (’54’, ‘2’, ‘长宁’, ‘0’);
INSERT INTO `id_city` VALUES (’55’, ‘2’, ‘静安’, ‘0’);
INSERT INTO `id_city` VALUES (’56’, ‘2’, ‘普陀’, ‘0’);
INSERT INTO `id_city` VALUES (’57’, ‘2’, ‘闸北’, ‘0’);
INSERT INTO `id_city` VALUES (’58’, ‘2’, ‘虹口’, ‘0’);
INSERT INTO `id_city` VALUES (’59’, ‘2’, ‘杨浦’, ‘0’);
INSERT INTO `id_city` VALUES (’60’, ‘2’, ‘闵行’, ‘0’);
INSERT INTO `id_city` VALUES (’61’, ‘2’, ‘宝山’, ‘0’);
INSERT INTO `id_city` VALUES (’62’, ‘2’, ‘嘉定’, ‘0’);
INSERT INTO `id_city` VALUES (’63’, ‘2’, ‘浦东新’, ‘0’);
INSERT INTO `id_city` VALUES (’64’, ‘2’, ‘金山’, ‘0’);
INSERT INTO `id_city` VALUES (’65’, ‘2’, ‘松江’, ‘0’);
INSERT INTO `id_city` VALUES (’66’, ‘2’, ‘奉贤’, ‘0’);
INSERT INTO `id_city` VALUES (’67’, ‘2’, ‘青浦’, ‘0’);
INSERT INTO `id_city` VALUES (’68’, ‘2’, ‘崇明’, ‘0’);
INSERT INTO `id_city` VALUES (’69’, ‘3’, ‘和平’, ‘0’);
INSERT INTO `id_city` VALUES (’70’, ‘3’, ‘河东’, ‘0’);
INSERT INTO `id_city` VALUES (’71’, ‘3’, ‘河西’, ‘0’);
INSERT INTO `id_city` VALUES (’72’, ‘3’, ‘南开’, ‘0’);
INSERT INTO `id_city` VALUES (’73’, ‘3’, ‘河北’, ‘0’);
INSERT INTO `id_city` VALUES (’74’, ‘3’, ‘红桥’, ‘0’);
INSERT INTO `id_city` VALUES (’75’, ‘3’, ‘东丽’, ‘0’);
INSERT INTO `id_city` VALUES (’76’, ‘3’, ‘西青’, ‘0’);
INSERT INTO `id_city` VALUES (’77’, ‘3’, ‘津南’, ‘0’);
INSERT INTO `id_city` VALUES (’78’, ‘3’, ‘北辰’, ‘0’);
INSERT INTO `id_city` VALUES (’79’, ‘3’, ‘宁河’, ‘0’);
INSERT INTO `id_city` VALUES (’80’, ‘3’, ‘武清’, ‘0’);
INSERT INTO `id_city` VALUES (’81’, ‘3’, ‘静海’, ‘0’);
INSERT INTO `id_city` VALUES (’82’, ‘3’, ‘宝坻’, ‘0’);
INSERT INTO `id_city` VALUES (’83’, ‘3’, ‘蓟县’, ‘0’);
INSERT INTO `id_city` VALUES (’84’, ‘3’, ‘滨海新区’, ‘0’);
INSERT INTO `id_city` VALUES (’85’, ‘4’, ‘万州’, ‘0’);
INSERT INTO `id_city` VALUES (’86’, ‘4’, ‘涪陵’, ‘0’);
INSERT INTO `id_city` VALUES (’87’, ‘4’, ‘渝中’, ‘0’);
INSERT INTO `id_city` VALUES (’88’, ‘4’, ‘大渡口’, ‘0’);
INSERT INTO `id_city` VALUES (’89’, ‘4’, ‘江北’, ‘0’);
INSERT INTO `id_city` VALUES (’90’, ‘4’, ‘沙坪坝’, ‘0’);
INSERT INTO `id_city` VALUES (’91’, ‘4’, ‘九龙坡’, ‘0’);
INSERT INTO `id_city` VALUES (’92’, ‘4’, ‘南岸’, ‘0’);
INSERT INTO `id_city` VALUES (’93’, ‘4’, ‘北碚’, ‘0’);
INSERT INTO `id_city` VALUES (’94’, ‘4’, ‘万盛’, ‘0’);
INSERT INTO `id_city` VALUES (’95’, ‘4’, ‘双桥’, ‘0’);
INSERT INTO `id_city` VALUES (’96’, ‘4’, ‘渝北’, ‘0’);
INSERT INTO `id_city` VALUES (’97’, ‘4’, ‘巴南’, ‘0’);
INSERT INTO `id_city` VALUES (’98’, ‘4’, ‘长寿’, ‘0’);
INSERT INTO `id_city` VALUES (’99’, ‘4’, ‘綦江’, ‘0’);
INSERT INTO `id_city` VALUES (‘100’, ‘4’, ‘潼南’, ‘0’);
INSERT INTO `id_city` VALUES (‘101’, ‘4’, ‘铜梁’, ‘0’);
INSERT INTO `id_city` VALUES (‘102’, ‘4’, ‘大足’, ‘0’);
INSERT INTO `id_city` VALUES (‘103’, ‘4’, ‘荣昌’, ‘0’);
INSERT INTO `id_city` VALUES (‘104’, ‘4’, ‘璧山’, ‘0’);
INSERT INTO `id_city` VALUES (‘105’, ‘4’, ‘梁平’, ‘0’);
INSERT INTO `id_city` VALUES (‘106’, ‘4’, ‘城口’, ‘0’);
INSERT INTO `id_city` VALUES (‘107’, ‘4’, ‘丰都’, ‘0’);
INSERT INTO `id_city` VALUES (‘108’, ‘4’, ‘垫江’, ‘0’);
INSERT INTO `id_city` VALUES (‘109’, ‘4’, ‘武隆’, ‘0’);
INSERT INTO `id_city` VALUES (‘110’, ‘4’, ‘忠县’, ‘0’);
INSERT INTO `id_city` VALUES (‘111’, ‘4’, ‘开县’, ‘0’);
INSERT INTO `id_city` VALUES (‘112’, ‘4’, ‘云阳’, ‘0’);
INSERT INTO `id_city` VALUES (‘113’, ‘4’, ‘奉节’, ‘0’);
INSERT INTO `id_city` VALUES (‘114’, ‘4’, ‘巫山’, ‘0’);
INSERT INTO `id_city` VALUES (‘115’, ‘4’, ‘巫溪’, ‘0’);
INSERT INTO `id_city` VALUES (‘116’, ‘4’, ‘黔江’, ‘0’);
INSERT INTO `id_city` VALUES (‘117’, ‘4’, ‘石柱’, ‘0’);
INSERT INTO `id_city` VALUES (‘118’, ‘4’, ‘秀山’, ‘0’);
INSERT INTO `id_city` VALUES (‘119’, ‘4’, ‘酉阳’, ‘0’);
INSERT INTO `id_city` VALUES (‘120’, ‘4’, ‘彭水’, ‘0’);
INSERT INTO `id_city` VALUES (‘121’, ‘4’, ‘江津’, ‘0’);
INSERT INTO `id_city` VALUES (‘122’, ‘4’, ‘合川’, ‘0’);
INSERT INTO `id_city` VALUES (‘123’, ‘4’, ‘永川’, ‘0’);
INSERT INTO `id_city` VALUES (‘124’, ‘4’, ‘南川’, ‘0’);
INSERT INTO `id_city` VALUES (‘125’, ‘4’, ‘两江新区’, ‘0’);
INSERT INTO `id_city` VALUES (‘126’, ‘5’, ‘合肥’, ‘10551’);
INSERT INTO `id_city` VALUES (‘127’, ‘5’, ‘芜湖’, ‘10553’);
INSERT INTO `id_city` VALUES (‘128’, ‘5’, ‘蚌埠’, ‘10552’);
INSERT INTO `id_city` VALUES (‘129’, ‘5’, ‘淮南’, ‘10554’);
INSERT INTO `id_city` VALUES (‘130’, ‘5’, ‘马鞍山’, ‘10555’);
INSERT INTO `id_city` VALUES (‘131’, ‘5’, ‘淮北’, ‘10561’);
INSERT INTO `id_city` VALUES (‘132’, ‘5’, ‘铜陵’, ‘10562’);
INSERT INTO `id_city` VALUES (‘133’, ‘5’, ‘安庆’, ‘10556’);
INSERT INTO `id_city` VALUES (‘134’, ‘5’, ‘黄山’, ‘10559’);
INSERT INTO `id_city` VALUES (‘135’, ‘5’, ‘滁州’, ‘10550’);
INSERT INTO `id_city` VALUES (‘136’, ‘5’, ‘阜阳’, ‘10558’);
INSERT INTO `id_city` VALUES (‘137’, ‘5’, ‘宿州’, ‘10557’);
INSERT INTO `id_city` VALUES (‘138’, ‘5’, ‘六安’, ‘10564’);
INSERT INTO `id_city` VALUES (‘139’, ‘5’, ‘亳州’, ‘10558’);
INSERT INTO `id_city` VALUES (‘140’, ‘5’, ‘池州’, ‘10566’);
INSERT INTO `id_city` VALUES (‘141’, ‘5’, ‘宣城’, ‘10563’);
INSERT INTO `id_city` VALUES (‘142’, ‘6’, ‘杭州’, ‘10571’);
INSERT INTO `id_city` VALUES (‘143’, ‘6’, ‘宁波’, ‘10574’);
INSERT INTO `id_city` VALUES (‘144’, ‘6’, ‘温州’, ‘10577’);
INSERT INTO `id_city` VALUES (‘145’, ‘6’, ‘嘉兴’, ‘10573’);
INSERT INTO `id_city` VALUES (‘146’, ‘6’, ‘湖州’, ‘10572’);
INSERT INTO `id_city` VALUES (‘147’, ‘6’, ‘绍兴’, ‘10575’);
INSERT INTO `id_city` VALUES (‘148’, ‘6’, ‘金华’, ‘10579’);
INSERT INTO `id_city` VALUES (‘149’, ‘6’, ‘衢州’, ‘10570’);
INSERT INTO `id_city` VALUES (‘150’, ‘6’, ‘舟山’, ‘10580’);
INSERT INTO `id_city` VALUES (‘151’, ‘6’, ‘台州’, ‘10576’);
INSERT INTO `id_city` VALUES (‘152’, ‘6’, ‘丽水’, ‘10578’);
INSERT INTO `id_city` VALUES (‘153’, ‘7’, ‘南京’, ‘1025’);
INSERT INTO `id_city` VALUES (‘154’, ‘7’, ‘无锡’, ‘10510’);
INSERT INTO `id_city` VALUES (‘155’, ‘7’, ‘徐州’, ‘10516’);
INSERT INTO `id_city` VALUES (‘156’, ‘7’, ‘常州’, ‘10519’);
INSERT INTO `id_city` VALUES (‘157’, ‘7’, ‘苏州’, ‘10512’);
INSERT INTO `id_city` VALUES (‘158’, ‘7’, ‘南通’, ‘10513’);
INSERT INTO `id_city` VALUES (‘159’, ‘7’, ‘连云港’, ‘10518’);
INSERT INTO `id_city` VALUES (‘160’, ‘7’, ‘淮安’, ‘10517’);
INSERT INTO `id_city` VALUES (‘161’, ‘7’, ‘盐城’, ‘10515’);
INSERT INTO `id_city` VALUES (‘162’, ‘7’, ‘扬州’, ‘10514’);
INSERT INTO `id_city` VALUES (‘163’, ‘7’, ‘镇江’, ‘10511’);
INSERT INTO `id_city` VALUES (‘164’, ‘7’, ‘泰州’, ‘10523’);
INSERT INTO `id_city` VALUES (‘165’, ‘7’, ‘宿迁’, ‘10527’);
INSERT INTO `id_city` VALUES (‘166’, ‘8’, ‘福州’, ‘10591’);
INSERT INTO `id_city` VALUES (‘167’, ‘8’, ‘厦门’, ‘10592’);
INSERT INTO `id_city` VALUES (‘168’, ‘8’, ‘莆田’, ‘10594’);
INSERT INTO `id_city` VALUES (‘169’, ‘8’, ‘三明’, ‘10598’);
INSERT INTO `id_city` VALUES (‘170’, ‘8’, ‘泉州’, ‘10595’);
INSERT INTO `id_city` VALUES (‘171’, ‘8’, ‘漳州’, ‘10596’);
INSERT INTO `id_city` VALUES (‘172’, ‘8’, ‘南平’, ‘10599’);
INSERT INTO `id_city` VALUES (‘173’, ‘8’, ‘龙岩’, ‘10597’);
INSERT INTO `id_city` VALUES (‘174’, ‘8’, ‘宁德’, ‘10593’);
INSERT INTO `id_city` VALUES (‘175’, ‘9’, ‘广州’, ‘1020’);
INSERT INTO `id_city` VALUES (‘176’, ‘9’, ‘韶关’, ‘10751’);
INSERT INTO `id_city` VALUES (‘177’, ‘9’, ‘深圳’, ‘10755’);
INSERT INTO `id_city` VALUES (‘178’, ‘9’, ‘珠海’, ‘10756’);
INSERT INTO `id_city` VALUES (‘179’, ‘9’, ‘汕头’, ‘10754’);
INSERT INTO `id_city` VALUES (‘180’, ‘9’, ‘佛山’, ‘10757’);
INSERT INTO `id_city` VALUES (‘181’, ‘9’, ‘江门’, ‘10750’);
INSERT INTO `id_city` VALUES (‘182’, ‘9’, ‘湛江’, ‘10759’);
INSERT INTO `id_city` VALUES (‘183’, ‘9’, ‘茂名’, ‘10668’);
INSERT INTO `id_city` VALUES (‘184’, ‘9’, ‘肇庆’, ‘10758’);
INSERT INTO `id_city` VALUES (‘185’, ‘9’, ‘惠州’, ‘10752’);
INSERT INTO `id_city` VALUES (‘186’, ‘9’, ‘梅州’, ‘10753’);
INSERT INTO `id_city` VALUES (‘187’, ‘9’, ‘汕尾’, ‘10660’);
INSERT INTO `id_city` VALUES (‘188’, ‘9’, ‘河源’, ‘10762’);
INSERT INTO `id_city` VALUES (‘189’, ‘9’, ‘阳江’, ‘10662’);
INSERT INTO `id_city` VALUES (‘190’, ‘9’, ‘清远’, ‘10763’);
INSERT INTO `id_city` VALUES (‘191’, ‘9’, ‘东莞’, ‘10769’);
INSERT INTO `id_city` VALUES (‘192’, ‘9’, ‘中山’, ‘10760’);
INSERT INTO `id_city` VALUES (‘193’, ‘9’, ‘潮州’, ‘10768’);
INSERT INTO `id_city` VALUES (‘194’, ‘9’, ‘揭阳’, ‘10663’);
INSERT INTO `id_city` VALUES (‘195’, ‘9’, ‘云浮’, ‘10766’);
INSERT INTO `id_city` VALUES (‘196′, ’10’, ‘南宁’, ‘10771’);
INSERT INTO `id_city` VALUES (‘197′, ’10’, ‘柳州’, ‘10772’);
INSERT INTO `id_city` VALUES (‘198′, ’10’, ‘桂林’, ‘10773’);
INSERT INTO `id_city` VALUES (‘199′, ’10’, ‘梧州’, ‘10774’);
INSERT INTO `id_city` VALUES (‘200′, ’10’, ‘北海’, ‘10779’);
INSERT INTO `id_city` VALUES (‘201′, ’10’, ‘防城港’, ‘10770’);
INSERT INTO `id_city` VALUES (‘202′, ’10’, ‘钦州’, ‘10777’);
INSERT INTO `id_city` VALUES (‘203′, ’10’, ‘贵港’, ‘10775’);
INSERT INTO `id_city` VALUES (‘204′, ’10’, ‘玉林’, ‘10775’);
INSERT INTO `id_city` VALUES (‘205′, ’10’, ‘百色’, ‘10776’);
INSERT INTO `id_city` VALUES (‘206′, ’10’, ‘贺州’, ‘10774’);
INSERT INTO `id_city` VALUES (‘207′, ’10’, ‘河池’, ‘10778’);
INSERT INTO `id_city` VALUES (‘208′, ’10’, ‘来宾’, ‘10772’);
INSERT INTO `id_city` VALUES (‘209′, ’10’, ‘崇左’, ‘10771’);
INSERT INTO `id_city` VALUES (‘210′, ’11’, ‘石家庄’, ‘10311’);
INSERT INTO `id_city` VALUES (‘211′, ’11’, ‘唐山’, ‘10315’);
INSERT INTO `id_city` VALUES (‘212′, ’11’, ‘秦皇岛’, ‘10335’);
INSERT INTO `id_city` VALUES (‘213′, ’11’, ‘邯郸’, ‘10310’);
INSERT INTO `id_city` VALUES (‘214′, ’11’, ‘邢台’, ‘10319’);
INSERT INTO `id_city` VALUES (‘215′, ’11’, ‘保定’, ‘10312’);
INSERT INTO `id_city` VALUES (‘216′, ’11’, ‘张家口’, ‘10313’);
INSERT INTO `id_city` VALUES (‘217′, ’11’, ‘承德’, ‘10314’);
INSERT INTO `id_city` VALUES (‘218′, ’11’, ‘沧州’, ‘10317’);
INSERT INTO `id_city` VALUES (‘219′, ’11’, ‘廊坊’, ‘10316’);
INSERT INTO `id_city` VALUES (‘220′, ’11’, ‘衡水’, ‘10318’);
INSERT INTO `id_city` VALUES (‘221′, ’12’, ‘郑州’, ‘10371’);
INSERT INTO `id_city` VALUES (‘222′, ’12’, ‘开封’, ‘10371’);
INSERT INTO `id_city` VALUES (‘223′, ’12’, ‘洛阳’, ‘10379’);
INSERT INTO `id_city` VALUES (‘224′, ’12’, ‘平顶山’, ‘10375’);
INSERT INTO `id_city` VALUES (‘225′, ’12’, ‘安阳’, ‘10372’);
INSERT INTO `id_city` VALUES (‘226′, ’12’, ‘鹤壁’, ‘10392’);
INSERT INTO `id_city` VALUES (‘227′, ’12’, ‘新乡’, ‘10373’);
INSERT INTO `id_city` VALUES (‘228′, ’12’, ‘焦作’, ‘10391’);
INSERT INTO `id_city` VALUES (‘229′, ’12’, ‘濮阳’, ‘10393’);
INSERT INTO `id_city` VALUES (‘230′, ’12’, ‘许昌’, ‘10374’);
INSERT INTO `id_city` VALUES (‘231′, ’12’, ‘漯河’, ‘10395’);
INSERT INTO `id_city` VALUES (‘232′, ’12’, ‘三门峡’, ‘10398’);
INSERT INTO `id_city` VALUES (‘233′, ’12’, ‘南阳’, ‘10377’);
INSERT INTO `id_city` VALUES (‘234′, ’12’, ‘商丘’, ‘10370’);
INSERT INTO `id_city` VALUES (‘235′, ’12’, ‘信阳’, ‘10376’);
INSERT INTO `id_city` VALUES (‘236′, ’12’, ‘周口’, ‘10394’);
INSERT INTO `id_city` VALUES (‘237′, ’12’, ‘驻马店’, ‘10396’);
INSERT INTO `id_city` VALUES (‘238′, ’12’, ‘济源’, ‘10391’);
INSERT INTO `id_city` VALUES (‘239′, ’13’, ‘武汉’, ‘1027’);
INSERT INTO `id_city` VALUES (‘240′, ’13’, ‘黄石’, ‘10714’);
INSERT INTO `id_city` VALUES (‘241′, ’13’, ‘十堰’, ‘10719’);
INSERT INTO `id_city` VALUES (‘242′, ’13’, ‘宜昌’, ‘10717’);
INSERT INTO `id_city` VALUES (‘243′, ’13’, ‘襄阳’, ‘10710’);
INSERT INTO `id_city` VALUES (‘244′, ’13’, ‘鄂州’, ‘10711’);
INSERT INTO `id_city` VALUES (‘245′, ’13’, ‘荆门’, ‘10727’);
INSERT INTO `id_city` VALUES (‘246′, ’13’, ‘孝感’, ‘10712’);
INSERT INTO `id_city` VALUES (‘247′, ’13’, ‘荆州’, ‘10716’);
INSERT INTO `id_city` VALUES (‘248′, ’13’, ‘黄冈’, ‘10713’);
INSERT INTO `id_city` VALUES (‘249′, ’13’, ‘咸宁’, ‘10715’);
INSERT INTO `id_city` VALUES (‘250′, ’13’, ‘随州’, ‘10722’);
INSERT INTO `id_city` VALUES (‘251′, ’13’, ‘恩施’, ‘10718’);
INSERT INTO `id_city` VALUES (‘252′, ’13’, ‘仙桃’, ‘10728’);
INSERT INTO `id_city` VALUES (‘253′, ’13’, ‘潜江’, ‘10728’);
INSERT INTO `id_city` VALUES (‘254′, ’13’, ‘天门’, ‘10728’);
INSERT INTO `id_city` VALUES (‘255′, ’13’, ‘神农架’, ‘10719’);
INSERT INTO `id_city` VALUES (‘256′, ’14’, ‘长沙’, ‘10731’);
INSERT INTO `id_city` VALUES (‘257′, ’14’, ‘株洲’, ‘10731’);
INSERT INTO `id_city` VALUES (‘258′, ’14’, ‘湘潭’, ‘10731’);
INSERT INTO `id_city` VALUES (‘259′, ’14’, ‘衡阳’, ‘10734’);
INSERT INTO `id_city` VALUES (‘260′, ’14’, ‘邵阳’, ‘10739’);
INSERT INTO `id_city` VALUES (‘261′, ’14’, ‘岳阳’, ‘10730’);
INSERT INTO `id_city` VALUES (‘262′, ’14’, ‘常德’, ‘10736’);
INSERT INTO `id_city` VALUES (‘263′, ’14’, ‘张家界’, ‘10744’);
INSERT INTO `id_city` VALUES (‘264′, ’14’, ‘益阳’, ‘10737’);
INSERT INTO `id_city` VALUES (‘265′, ’14’, ‘郴州’, ‘10735’);
INSERT INTO `id_city` VALUES (‘266′, ’14’, ‘永州’, ‘10746’);
INSERT INTO `id_city` VALUES (‘267′, ’14’, ‘怀化’, ‘10745’);
INSERT INTO `id_city` VALUES (‘268′, ’14’, ‘娄底’, ‘10738’);
INSERT INTO `id_city` VALUES (‘269′, ’14’, ‘湘西’, ‘10743’);
INSERT INTO `id_city` VALUES (‘270′, ’15’, ‘长春’, ‘10431’);
INSERT INTO `id_city` VALUES (‘271′, ’15’, ‘吉林’, ‘10432’);
INSERT INTO `id_city` VALUES (‘272′, ’15’, ‘四平’, ‘10434’);
INSERT INTO `id_city` VALUES (‘273′, ’15’, ‘辽源’, ‘10437’);
INSERT INTO `id_city` VALUES (‘274′, ’15’, ‘通化’, ‘10435’);
INSERT INTO `id_city` VALUES (‘275′, ’15’, ‘白山’, ‘10439’);
INSERT INTO `id_city` VALUES (‘276′, ’15’, ‘松原’, ‘10438’);
INSERT INTO `id_city` VALUES (‘277′, ’15’, ‘白城’, ‘10436’);
INSERT INTO `id_city` VALUES (‘278′, ’15’, ‘延边’, ‘10433’);
INSERT INTO `id_city` VALUES (‘279′, ’16’, ‘南昌’, ‘10791’);
INSERT INTO `id_city` VALUES (‘280′, ’16’, ‘景德镇’, ‘10798’);
INSERT INTO `id_city` VALUES (‘281′, ’16’, ‘萍乡’, ‘10799’);
INSERT INTO `id_city` VALUES (‘282′, ’16’, ‘九江’, ‘10792’);
INSERT INTO `id_city` VALUES (‘283′, ’16’, ‘新余’, ‘10790’);
INSERT INTO `id_city` VALUES (‘284′, ’16’, ‘鹰潭’, ‘10701’);
INSERT INTO `id_city` VALUES (‘285′, ’16’, ‘赣州’, ‘10797’);
INSERT INTO `id_city` VALUES (‘286′, ’16’, ‘吉安’, ‘10796’);
INSERT INTO `id_city` VALUES (‘287′, ’16’, ‘宜春’, ‘10795’);
INSERT INTO `id_city` VALUES (‘288′, ’16’, ‘抚州’, ‘10794’);
INSERT INTO `id_city` VALUES (‘289′, ’16’, ‘上饶’, ‘10793’);
INSERT INTO `id_city` VALUES (‘290′, ’17’, ‘济南’, ‘10531’);
INSERT INTO `id_city` VALUES (‘291′, ’17’, ‘青岛’, ‘10532’);
INSERT INTO `id_city` VALUES (‘292′, ’17’, ‘淄博’, ‘10533’);
INSERT INTO `id_city` VALUES (‘293′, ’17’, ‘枣庄’, ‘10632’);
INSERT INTO `id_city` VALUES (‘294′, ’17’, ‘东营’, ‘10546’);
INSERT INTO `id_city` VALUES (‘295′, ’17’, ‘烟台’, ‘10535’);
INSERT INTO `id_city` VALUES (‘296′, ’17’, ‘潍坊’, ‘10536’);
INSERT INTO `id_city` VALUES (‘297′, ’17’, ‘济宁’, ‘10537’);
INSERT INTO `id_city` VALUES (‘298′, ’17’, ‘泰安’, ‘10538’);
INSERT INTO `id_city` VALUES (‘299′, ’17’, ‘威海’, ‘10631’);
INSERT INTO `id_city` VALUES (‘300′, ’17’, ‘日照’, ‘10633’);
INSERT INTO `id_city` VALUES (‘301′, ’17’, ‘莱芜’, ‘10634’);
INSERT INTO `id_city` VALUES (‘302′, ’17’, ‘临沂’, ‘10539’);
INSERT INTO `id_city` VALUES (‘303′, ’17’, ‘德州’, ‘10534’);
INSERT INTO `id_city` VALUES (‘304′, ’17’, ‘聊城’, ‘10635’);
INSERT INTO `id_city` VALUES (‘305′, ’17’, ‘滨州’, ‘10543’);
INSERT INTO `id_city` VALUES (‘306′, ’17’, ‘菏泽’, ‘10530’);
INSERT INTO `id_city` VALUES (‘307′, ’18’, ‘太原’, ‘10351’);
INSERT INTO `id_city` VALUES (‘308′, ’18’, ‘大同’, ‘10352’);
INSERT INTO `id_city` VALUES (‘309′, ’18’, ‘阳泉’, ‘10353’);
INSERT INTO `id_city` VALUES (‘310′, ’18’, ‘长治’, ‘10355’);
INSERT INTO `id_city` VALUES (‘311′, ’18’, ‘晋城’, ‘10356’);
INSERT INTO `id_city` VALUES (‘312′, ’18’, ‘朔州’, ‘10349’);
INSERT INTO `id_city` VALUES (‘313′, ’18’, ‘晋中’, ‘10354’);
INSERT INTO `id_city` VALUES (‘314′, ’18’, ‘运城’, ‘10359’);
INSERT INTO `id_city` VALUES (‘315′, ’18’, ‘忻州’, ‘10350’);
INSERT INTO `id_city` VALUES (‘316′, ’18’, ‘临汾’, ‘10357’);
INSERT INTO `id_city` VALUES (‘317′, ’18’, ‘吕梁’, ‘10358’);
INSERT INTO `id_city` VALUES (‘318′, ’19’, ‘西安’, ‘1029’);
INSERT INTO `id_city` VALUES (‘319′, ’19’, ‘铜川’, ‘10919’);
INSERT INTO `id_city` VALUES (‘320′, ’19’, ‘宝鸡’, ‘10917’);
INSERT INTO `id_city` VALUES (‘321′, ’19’, ‘咸阳’, ‘1029’);
INSERT INTO `id_city` VALUES (‘322′, ’19’, ‘渭南’, ‘10913’);
INSERT INTO `id_city` VALUES (‘323′, ’19’, ‘延安’, ‘10911’);
INSERT INTO `id_city` VALUES (‘324′, ’19’, ‘汉中’, ‘10916’);
INSERT INTO `id_city` VALUES (‘325′, ’19’, ‘榆林’, ‘10912’);
INSERT INTO `id_city` VALUES (‘326′, ’19’, ‘安康’, ‘10915’);
INSERT INTO `id_city` VALUES (‘327′, ’19’, ‘商洛’, ‘10914’);
INSERT INTO `id_city` VALUES (‘328′, ’20’, ‘兰州市’, ‘10931’);
INSERT INTO `id_city` VALUES (‘329′, ’20’, ‘嘉峪关’, ‘10937’);
INSERT INTO `id_city` VALUES (‘330′, ’20’, ‘金昌’, ‘10935’);
INSERT INTO `id_city` VALUES (‘331′, ’20’, ‘白银’, ‘10943’);
INSERT INTO `id_city` VALUES (‘332′, ’20’, ‘天水’, ‘10938’);
INSERT INTO `id_city` VALUES (‘333′, ’20’, ‘武威’, ‘10935’);
INSERT INTO `id_city` VALUES (‘334′, ’20’, ‘张掖’, ‘10936’);
INSERT INTO `id_city` VALUES (‘335′, ’20’, ‘平凉’, ‘10933’);
INSERT INTO `id_city` VALUES (‘336′, ’20’, ‘酒泉’, ‘10937’);
INSERT INTO `id_city` VALUES (‘337′, ’20’, ‘庆阳’, ‘10934’);
INSERT INTO `id_city` VALUES (‘338′, ’20’, ‘定西’, ‘10932’);
INSERT INTO `id_city` VALUES (‘339′, ’20’, ‘陇南’, ‘10939’);
INSERT INTO `id_city` VALUES (‘340′, ’20’, ‘临夏’, ‘10930’);
INSERT INTO `id_city` VALUES (‘341′, ’20’, ‘甘南’, ‘10941’);
INSERT INTO `id_city` VALUES (‘342′, ’21’, ‘沈阳’, ‘1024’);
INSERT INTO `id_city` VALUES (‘343′, ’21’, ‘大连’, ‘10411’);
INSERT INTO `id_city` VALUES (‘344′, ’21’, ‘鞍山’, ‘10555’);
INSERT INTO `id_city` VALUES (‘345′, ’21’, ‘抚顺’, ‘1024’);
INSERT INTO `id_city` VALUES (‘346′, ’21’, ‘本溪’, ‘10414’);
INSERT INTO `id_city` VALUES (‘347′, ’21’, ‘丹东’, ‘10415’);
INSERT INTO `id_city` VALUES (‘348′, ’21’, ‘锦州’, ‘10416’);
INSERT INTO `id_city` VALUES (‘349′, ’21’, ‘营口’, ‘10417’);
INSERT INTO `id_city` VALUES (‘350′, ’21’, ‘阜新’, ‘10418’);
INSERT INTO `id_city` VALUES (‘351′, ’21’, ‘辽阳’, ‘10419’);
INSERT INTO `id_city` VALUES (‘352′, ’21’, ‘盘锦’, ‘10427’);
INSERT INTO `id_city` VALUES (‘353′, ’21’, ‘铁岭’, ‘1024’);
INSERT INTO `id_city` VALUES (‘354′, ’21’, ‘朝阳’, ‘10421’);
INSERT INTO `id_city` VALUES (‘355′, ’21’, ‘葫芦岛’, ‘10429’);
INSERT INTO `id_city` VALUES (‘356′, ’22’, ‘贵阳’, ‘10851’);
INSERT INTO `id_city` VALUES (‘357′, ’22’, ‘六盘水’, ‘10858’);
INSERT INTO `id_city` VALUES (‘358′, ’22’, ‘遵义’, ‘10852’);
INSERT INTO `id_city` VALUES (‘359′, ’22’, ‘安顺’, ‘10853’);
INSERT INTO `id_city` VALUES (‘360′, ’22’, ‘铜仁’, ‘10856’);
INSERT INTO `id_city` VALUES (‘361′, ’22’, ‘黔西南’, ‘10859’);
INSERT INTO `id_city` VALUES (‘362′, ’22’, ‘毕节’, ‘10857’);
INSERT INTO `id_city` VALUES (‘363′, ’22’, ‘黔东南’, ‘10855’);
INSERT INTO `id_city` VALUES (‘364′, ’22’, ‘黔南’, ‘10854’);
INSERT INTO `id_city` VALUES (‘365′, ’23’, ‘银川’, ‘10951’);
INSERT INTO `id_city` VALUES (‘366′, ’23’, ‘石嘴山’, ‘10952’);
INSERT INTO `id_city` VALUES (‘367′, ’23’, ‘吴忠’, ‘10953’);
INSERT INTO `id_city` VALUES (‘368′, ’23’, ‘固原’, ‘10954’);
INSERT INTO `id_city` VALUES (‘369′, ’23’, ‘中卫’, ‘10955’);
INSERT INTO `id_city` VALUES (‘370′, ’24’, ‘成都’, ‘1028’);
INSERT INTO `id_city` VALUES (‘371′, ’24’, ‘自贡’, ‘10813’);
INSERT INTO `id_city` VALUES (‘372′, ’24’, ‘攀枝花’, ‘10812’);
INSERT INTO `id_city` VALUES (‘373′, ’24’, ‘泸州’, ‘10830’);
INSERT INTO `id_city` VALUES (‘374′, ’24’, ‘德阳’, ‘10838’);
INSERT INTO `id_city` VALUES (‘375′, ’24’, ‘绵阳’, ‘10816’);
INSERT INTO `id_city` VALUES (‘376′, ’24’, ‘广元’, ‘10839’);
INSERT INTO `id_city` VALUES (‘377′, ’24’, ‘遂宁’, ‘10825’);
INSERT INTO `id_city` VALUES (‘378′, ’24’, ‘内江’, ‘10832’);
INSERT INTO `id_city` VALUES (‘379′, ’24’, ‘乐山’, ‘10833’);
INSERT INTO `id_city` VALUES (‘380′, ’24’, ‘南充’, ‘10817’);
INSERT INTO `id_city` VALUES (‘381′, ’24’, ‘眉山’, ‘1028’);
INSERT INTO `id_city` VALUES (‘382′, ’24’, ‘宜宾’, ‘10831’);
INSERT INTO `id_city` VALUES (‘383′, ’24’, ‘广安’, ‘10826’);
INSERT INTO `id_city` VALUES (‘384′, ’24’, ‘达州’, ‘10818’);
INSERT INTO `id_city` VALUES (‘385′, ’24’, ‘雅安’, ‘10835’);
INSERT INTO `id_city` VALUES (‘386′, ’24’, ‘巴中’, ‘10827’);
INSERT INTO `id_city` VALUES (‘387′, ’24’, ‘资阳’, ‘1028’);
INSERT INTO `id_city` VALUES (‘388′, ’24’, ‘阿坝’, ‘10837’);
INSERT INTO `id_city` VALUES (‘389′, ’24’, ‘甘孜’, ‘10836’);
INSERT INTO `id_city` VALUES (‘390′, ’24’, ‘凉山’, ‘10834’);
INSERT INTO `id_city` VALUES (‘391′, ’25’, ‘海口’, ‘10898’);
INSERT INTO `id_city` VALUES (‘392′, ’25’, ‘三亚’, ‘10898’);
INSERT INTO `id_city` VALUES (‘393′, ’25’, ‘三沙’, ‘10898’);
INSERT INTO `id_city` VALUES (‘394′, ’25’, ‘五指山’, ‘10898’);
INSERT INTO `id_city` VALUES (‘395′, ’25’, ‘琼海’, ‘10898’);
INSERT INTO `id_city` VALUES (‘396′, ’25’, ‘儋州’, ‘10898’);
INSERT INTO `id_city` VALUES (‘397′, ’25’, ‘文昌’, ‘10898’);
INSERT INTO `id_city` VALUES (‘398′, ’25’, ‘万宁’, ‘10898’);
INSERT INTO `id_city` VALUES (‘399′, ’25’, ‘东方’, ‘10898’);
INSERT INTO `id_city` VALUES (‘400′, ’25’, ‘定安’, ‘10898’);
INSERT INTO `id_city` VALUES (‘401′, ’25’, ‘屯昌’, ‘10898’);
INSERT INTO `id_city` VALUES (‘402′, ’25’, ‘澄迈’, ‘10898’);
INSERT INTO `id_city` VALUES (‘403′, ’25’, ‘临高’, ‘10898’);
INSERT INTO `id_city` VALUES (‘404′, ’25’, ‘白沙’, ‘10898’);
INSERT INTO `id_city` VALUES (‘405′, ’25’, ‘昌江’, ‘10898’);
INSERT INTO `id_city` VALUES (‘406′, ’25’, ‘乐东’, ‘10898’);
INSERT INTO `id_city` VALUES (‘407′, ’25’, ‘陵水’, ‘10898’);
INSERT INTO `id_city` VALUES (‘408′, ’25’, ‘保亭’, ‘10898’);
INSERT INTO `id_city` VALUES (‘409′, ’25’, ‘琼中’, ‘10898’);
INSERT INTO `id_city` VALUES (‘410′, ’26’, ‘西宁’, ‘10971’);
INSERT INTO `id_city` VALUES (‘411′, ’26’, ‘海东’, ‘10972’);
INSERT INTO `id_city` VALUES (‘412′, ’26’, ‘海北’, ‘10970’);
INSERT INTO `id_city` VALUES (‘413′, ’26’, ‘黄南’, ‘10973’);
INSERT INTO `id_city` VALUES (‘414′, ’26’, ‘海南’, ‘10974’);
INSERT INTO `id_city` VALUES (‘415′, ’26’, ‘果洛’, ‘10975’);
INSERT INTO `id_city` VALUES (‘416′, ’26’, ‘玉树’, ‘10976’);
INSERT INTO `id_city` VALUES (‘417′, ’26’, ‘海西’, ‘10979’);
INSERT INTO `id_city` VALUES (‘418′, ’27’, ‘哈尔滨’, ‘10451’);
INSERT INTO `id_city` VALUES (‘419′, ’27’, ‘齐齐哈尔’, ‘10452’);
INSERT INTO `id_city` VALUES (‘420′, ’27’, ‘鸡西’, ‘10467’);
INSERT INTO `id_city` VALUES (‘421′, ’27’, ‘鹤岗’, ‘10468’);
INSERT INTO `id_city` VALUES (‘422′, ’27’, ‘双鸭山’, ‘10469’);
INSERT INTO `id_city` VALUES (‘423′, ’27’, ‘大庆’, ‘10459’);
INSERT INTO `id_city` VALUES (‘424′, ’27’, ‘伊春’, ‘10458’);
INSERT INTO `id_city` VALUES (‘425′, ’27’, ‘佳木斯’, ‘10454’);
INSERT INTO `id_city` VALUES (‘426′, ’27’, ‘七台河’, ‘10464’);
INSERT INTO `id_city` VALUES (‘427′, ’27’, ‘牡丹江’, ‘10453’);
INSERT INTO `id_city` VALUES (‘428′, ’27’, ‘黑河’, ‘10456’);
INSERT INTO `id_city` VALUES (‘429′, ’27’, ‘绥化’, ‘10455’);
INSERT INTO `id_city` VALUES (‘430′, ’27’, ‘大兴安岭’, ‘10457’);
INSERT INTO `id_city` VALUES (‘431′, ’28’, ‘昆明’, ‘10871’);
INSERT INTO `id_city` VALUES (‘432′, ’28’, ‘曲靖’, ‘10874’);
INSERT INTO `id_city` VALUES (‘433′, ’28’, ‘玉溪’, ‘10877’);
INSERT INTO `id_city` VALUES (‘434′, ’28’, ‘保山’, ‘10875’);
INSERT INTO `id_city` VALUES (‘435′, ’28’, ‘昭通’, ‘10870’);
INSERT INTO `id_city` VALUES (‘436′, ’28’, ‘丽江’, ‘10888’);
INSERT INTO `id_city` VALUES (‘437′, ’28’, ‘普洱’, ‘10879’);
INSERT INTO `id_city` VALUES (‘438′, ’28’, ‘临沧’, ‘10883’);
INSERT INTO `id_city` VALUES (‘439′, ’28’, ‘楚雄’, ‘10878’);
INSERT INTO `id_city` VALUES (‘440′, ’28’, ‘红河’, ‘10873’);
INSERT INTO `id_city` VALUES (‘441′, ’28’, ‘文山’, ‘10876’);
INSERT INTO `id_city` VALUES (‘442′, ’28’, ‘西双版纳’, ‘10691’);
INSERT INTO `id_city` VALUES (‘443′, ’28’, ‘大理’, ‘10872’);
INSERT INTO `id_city` VALUES (‘444′, ’28’, ‘德宏’, ‘10692’);
INSERT INTO `id_city` VALUES (‘445′, ’28’, ‘怒江’, ‘10886’);
INSERT INTO `id_city` VALUES (‘446′, ’28’, ‘迪庆’, ‘10887’);
INSERT INTO `id_city` VALUES (‘447′, ’29’, ‘呼和浩特’, ‘10471’);
INSERT INTO `id_city` VALUES (‘448′, ’29’, ‘包头’, ‘10472’);
INSERT INTO `id_city` VALUES (‘449′, ’29’, ‘乌海’, ‘10473’);
INSERT INTO `id_city` VALUES (‘450′, ’29’, ‘赤峰’, ‘10476’);
INSERT INTO `id_city` VALUES (‘451′, ’29’, ‘通辽’, ‘10475’);
INSERT INTO `id_city` VALUES (‘452′, ’29’, ‘鄂尔多斯’, ‘10477’);
INSERT INTO `id_city` VALUES (‘453′, ’29’, ‘呼伦贝尔’, ‘10470’);
INSERT INTO `id_city` VALUES (‘454′, ’29’, ‘巴彦淖尔’, ‘10478’);
INSERT INTO `id_city` VALUES (‘455′, ’29’, ‘乌兰察布’, ‘10474’);
INSERT INTO `id_city` VALUES (‘456′, ’29’, ‘兴安’, ‘10482’);
INSERT INTO `id_city` VALUES (‘457′, ’29’, ‘锡林郭勒’, ‘10479’);
INSERT INTO `id_city` VALUES (‘458′, ’29’, ‘阿拉善’, ‘10483’);
INSERT INTO `id_city` VALUES (‘459′, ’30’, ‘乌鲁木齐’, ‘10991’);
INSERT INTO `id_city` VALUES (‘460′, ’30’, ‘克拉玛依’, ‘10990’);
INSERT INTO `id_city` VALUES (‘461′, ’30’, ‘吐鲁番’, ‘10995’);
INSERT INTO `id_city` VALUES (‘462′, ’30’, ‘哈密’, ‘10902’);
INSERT INTO `id_city` VALUES (‘463′, ’30’, ‘昌吉’, ‘10994’);
INSERT INTO `id_city` VALUES (‘464′, ’30’, ‘博尔塔拉’, ‘10909’);
INSERT INTO `id_city` VALUES (‘465′, ’30’, ‘巴音郭楞’, ‘10996’);
INSERT INTO `id_city` VALUES (‘466′, ’30’, ‘阿克苏’, ‘10997’);
INSERT INTO `id_city` VALUES (‘467′, ’30’, ‘克孜勒苏’, ‘10908’);
INSERT INTO `id_city` VALUES (‘468′, ’30’, ‘喀什’, ‘10998’);
INSERT INTO `id_city` VALUES (‘469′, ’30’, ‘和田’, ‘10903’);
INSERT INTO `id_city` VALUES (‘470′, ’30’, ‘伊犁’, ‘10999’);
INSERT INTO `id_city` VALUES (‘471′, ’30’, ‘塔城’, ‘10901’);
INSERT INTO `id_city` VALUES (‘472′, ’30’, ‘阿勒泰’, ‘10906’);
INSERT INTO `id_city` VALUES (‘473′, ’30’, ‘石河子’, ‘10993’);
INSERT INTO `id_city` VALUES (‘474′, ’30’, ‘阿拉尔’, ‘10997’);
INSERT INTO `id_city` VALUES (‘475′, ’30’, ‘图木舒克’, ‘10998’);
INSERT INTO `id_city` VALUES (‘476′, ’30’, ‘五家渠’, ‘10994’);
INSERT INTO `id_city` VALUES (‘477′, ’30’, ‘北屯’, ‘10906’);
INSERT INTO `id_city` VALUES (‘478′, ’31’, ‘拉萨’, ‘10891’);
INSERT INTO `id_city` VALUES (‘479′, ’31’, ‘昌都’, ‘10895’);
INSERT INTO `id_city` VALUES (‘480′, ’31’, ‘山南’, ‘10893’);
INSERT INTO `id_city` VALUES (‘481′, ’31’, ‘日喀则’, ‘10892’);
INSERT INTO `id_city` VALUES (‘482′, ’31’, ‘那曲’, ‘10896’);
INSERT INTO `id_city` VALUES (‘483′, ’31’, ‘阿里’, ‘10897’);
INSERT INTO `id_city` VALUES (‘484′, ’31’, ‘林芝’, ‘10894’);
INSERT INTO `id_city` VALUES (‘485′, ’32’, ‘中西区’, ‘0’);
INSERT INTO `id_city` VALUES (‘486′, ’32’, ‘东区’, ‘0’);
INSERT INTO `id_city` VALUES (‘487′, ’32’, ‘九龙城区’, ‘0’);
INSERT INTO `id_city` VALUES (‘488′, ’32’, ‘观塘区’, ‘0’);
INSERT INTO `id_city` VALUES (‘489′, ’32’, ‘南区’, ‘0’);
INSERT INTO `id_city` VALUES (‘490′, ’32’, ‘深水埗区’, ‘0’);
INSERT INTO `id_city` VALUES (‘491′, ’32’, ‘黄大仙区’, ‘0’);
INSERT INTO `id_city` VALUES (‘492′, ’32’, ‘湾仔区’, ‘0’);
INSERT INTO `id_city` VALUES (‘493′, ’32’, ‘油尖旺区’, ‘0’);
INSERT INTO `id_city` VALUES (‘494′, ’32’, ‘离岛区’, ‘0’);
INSERT INTO `id_city` VALUES (‘495′, ’32’, ‘葵青区’, ‘0’);
INSERT INTO `id_city` VALUES (‘496′, ’32’, ‘北区’, ‘0’);
INSERT INTO `id_city` VALUES (‘497′, ’32’, ‘西贡区’, ‘0’);
INSERT INTO `id_city` VALUES (‘498′, ’32’, ‘沙田区’, ‘0’);
INSERT INTO `id_city` VALUES (‘499′, ’32’, ‘屯门区’, ‘0’);
INSERT INTO `id_city` VALUES (‘500′, ’32’, ‘大埔区’, ‘0’);
INSERT INTO `id_city` VALUES (‘501′, ’32’, ‘荃湾区’, ‘0’);
INSERT INTO `id_city` VALUES (‘502′, ’32’, ‘元朗区’, ‘0’);
INSERT INTO `id_city` VALUES (‘503′, ’33’, ‘花地玛堂区’, ‘0’);
INSERT INTO `id_city` VALUES (‘504′, ’33’, ‘圣安多尼堂区’, ‘0’);
INSERT INTO `id_city` VALUES (‘505′, ’33’, ‘大堂区’, ‘0’);
INSERT INTO `id_city` VALUES (‘506′, ’33’, ‘望德堂区’, ‘0’);
INSERT INTO `id_city` VALUES (‘507′, ’33’, ‘风顺堂区’, ‘0’);
INSERT INTO `id_city` VALUES (‘508′, ’33’, ‘氹仔’, ‘0’);
INSERT INTO `id_city` VALUES (‘509′, ’33’, ‘路环’, ‘0’);
INSERT INTO `id_city` VALUES (‘510′, ’34’, ‘台北市’, ‘0’);
INSERT INTO `id_city` VALUES (‘511′, ’34’, ‘高雄市’, ‘0’);
INSERT INTO `id_city` VALUES (‘512′, ’34’, ‘基隆市’, ‘0’);
INSERT INTO `id_city` VALUES (‘513′, ’34’, ‘台中市’, ‘0’);
INSERT INTO `id_city` VALUES (‘514′, ’34’, ‘台南市’, ‘0’);
INSERT INTO `id_city` VALUES (‘515′, ’34’, ‘新竹市’, ‘0’);
INSERT INTO `id_city` VALUES (‘516′, ’34’, ‘嘉义市’, ‘0’);
INSERT INTO `id_city` VALUES (‘517′, ’34’, ‘台北县’, ‘0’);
INSERT INTO `id_city` VALUES (‘518′, ’34’, ‘宜兰县’, ‘0’);
INSERT INTO `id_city` VALUES (‘519′, ’34’, ‘桃园县’, ‘0’);
INSERT INTO `id_city` VALUES (‘520′, ’34’, ‘新竹县’, ‘0’);
INSERT INTO `id_city` VALUES (‘521′, ’34’, ‘苗栗县’, ‘0’);
INSERT INTO `id_city` VALUES (‘522′, ’34’, ‘台中县’, ‘0’);
INSERT INTO `id_city` VALUES (‘523′, ’34’, ‘彰化县’, ‘0’);
INSERT INTO `id_city` VALUES (‘524′, ’34’, ‘南投县’, ‘0’);
INSERT INTO `id_city` VALUES (‘525′, ’34’, ‘云林县’, ‘0’);
INSERT INTO `id_city` VALUES (‘526′, ’34’, ‘嘉义县’, ‘0’);
INSERT INTO `id_city` VALUES (‘527′, ’34’, ‘台南县’, ‘0’);
INSERT INTO `id_city` VALUES (‘528′, ’34’, ‘高雄县’, ‘0’);
INSERT INTO `id_city` VALUES (‘529′, ’34’, ‘屏东县’, ‘0’);
INSERT INTO `id_city` VALUES (‘530′, ’34’, ‘澎湖县’, ‘0’);
INSERT INTO `id_city` VALUES (‘531′, ’34’, ‘台东县’, ‘0’);
INSERT INTO `id_city` VALUES (‘532′, ’34’, ‘花莲县’, ‘0’);

 

再看看生成php数组、JavaScript数组的php代码:

<?php
require(‘mysql.php’);
$db=new db(’15_app’);
$db2=new db(’15_app’);

$db->query(‘select * from id_city where pid=0’);
$str_php_province=’$provinceArr=array(‘;
$str_php_city=’$cityArr=array(<br />’;
$str_php_quhao=’$quhaoArr=array(‘;

$str_js_province=’var provinceArr=new Array();<br />’;
$str_js_city='<br /><br />var cityArr=new Array();’;
$str_js_quhao='<br /><br />var quhaoArr=new Array();<br />’;

while($db->next_record()){
    $str_php_province.=$db->f(‘id’).”=>'”.$db->f(‘title’).”‘,”;
    
    if($db->f(‘quhao’)){
        $str_php_quhao.=$db->f(‘quhao’).”=>array(‘pid’=>0,’id’=>”.$db->f(‘id’).”),”;
        $str_js_quhao.=”quhaoArr[“.$db->f(‘quhao’).”]=’pid=0@id=”.$db->f(‘id’).”‘;”;
    }
    
    $str_js_province.=”provinceArr[“.$db->f(‘id’).”]='”.$db->f(‘title’).”‘;”;
    
    $db2->query(‘select * from id_city where pid=’.$db->f(‘id’));
    
    $str_php_city.=$db->f(‘id’).”=>array(“;
    $str_js_city.=”<br /><br />cityArr[“.$db->f(‘id’).”]=new Array();<br />”;
    
    while($db2->next_record()){
        $str_php_city.=$db2->f(‘id’).”=>'”.$db2->f(‘title’).”‘,”;
        
        if($db2->f(‘quhao’)){
            $str_php_quhao.=$db2->f(‘quhao’).”=>array(‘pid’=>”.$db->f(‘id’).”,’id’=>”.$db2->f(‘id’).”),”;
            $str_js_quhao.=”quhaoArr[“.$db2->f(‘quhao’).”]=’pid=”.$db->f(‘id’).”@id=”.$db2->f(‘id’).”‘;”;
        }
        
        $str_js_city.=”cityArr[“.$db->f(‘id’).”][“.$db2->f(‘id’).”]='”.$db2->f(‘title’).”‘;”;
    }
    $str_php_city.=’),<br />’;
}

echo $str_php_province.’);<br /><br />’;
echo $str_php_city.’);<br />’;

echo ‘<br />—————-<br />’;

echo $str_php_quhao.’);<br /><br />’;

echo ‘<br />—————-<br />’;

echo $str_js_province.'<br />’;

echo ‘<br />—————-<br />’;

echo $str_js_city;

echo ‘<br />—————-<br />’;

echo $str_js_quhao;
?>

 

 

再看看已经生成成功的php数组和JavaScript数组:

<?php
$provinceArr=array(1=>’北京’,2=>’上海’,3=>’天津’,4=>’重庆’,5=>’安徽’,6=>’浙江’,7=>’江苏’,8=>’福建’,9=>’广东’,10=>’广西’,11=>’河北’,12=>’河南’,13=>’湖北’,14=>’湖南’,15=>’吉林’,16=>’江西’,17=>’山东’,18=>’山西’,19=>’陕西’,20=>’甘肃’,21=>’辽宁’,22=>’贵州’,23=>’宁夏’,24=>’四川’,25=>’海南’,26=>’青海’,27=>’黑龙江’,28=>’云南’,29=>’内蒙古’,30=>’新疆’,31=>’西藏’,32=>’香港’,33=>’澳门’,34=>’台湾’);
$cityArr=array(
    1=>array(35=>’东城’,36=>’西城’,37=>’朝阳’,38=>’丰台’,39=>’石景山’,40=>’海淀’,41=>’门头沟’,42=>’房山’,43=>’通州’,44=>’顺义’,45=>’昌平’,46=>’大兴’,47=>’平谷’,48=>’怀柔’,49=>’密云’,50=>’延庆’),
    2=>array(51=>’黄浦’,52=>’卢湾’,53=>’徐汇’,54=>’长宁’,55=>’静安’,56=>’普陀’,57=>’闸北’,58=>’虹口’,59=>’杨浦’,60=>’闵行’,61=>’宝山’,62=>’嘉定’,63=>’浦东新’,64=>’金山’,65=>’松江’,66=>’奉贤’,67=>’青浦’,68=>’崇明’),
    3=>array(69=>’和平’,70=>’河东’,71=>’河西’,72=>’南开’,73=>’河北’,74=>’红桥’,75=>’东丽’,76=>’西青’,77=>’津南’,78=>’北辰’,79=>’宁河’,80=>’武清’,81=>’静海’,82=>’宝坻’,83=>’蓟县’,84=>’滨海新区’),
    4=>array(85=>’万州’,86=>’涪陵’,87=>’渝中’,88=>’大渡口’,89=>’江北’,90=>’沙坪坝’,91=>’九龙坡’,92=>’南岸’,93=>’北碚’,94=>’万盛’,95=>’双桥’,96=>’渝北’,97=>’巴南’,98=>’长寿’,99=>’綦江’,100=>’潼南’,101=>’铜梁’,102=>’大足’,103=>’荣昌’,104=>’璧山’,105=>’梁平’,106=>’城口’,107=>’丰都’,108=>’垫江’,109=>’武隆’,110=>’忠县’,111=>’开县’,112=>’云阳’,113=>’奉节’,114=>’巫山’,115=>’巫溪’,116=>’黔江’,117=>’石柱’,118=>’秀山’,119=>’酉阳’,120=>’彭水’,121=>’江津’,122=>’合川’,123=>’永川’,124=>’南川’,125=>’两江新区’),
    5=>array(126=>’合肥’,127=>’芜湖’,128=>’蚌埠’,129=>’淮南’,130=>’马鞍山’,131=>’淮北’,132=>’铜陵’,133=>’安庆’,134=>’黄山’,135=>’滁州’,136=>’阜阳’,137=>’宿州’,138=>’六安’,139=>’亳州’,140=>’池州’,141=>’宣城’),
    6=>array(142=>’杭州’,143=>’宁波’,144=>’温州’,145=>’嘉兴’,146=>’湖州’,147=>’绍兴’,148=>’金华’,149=>’衢州’,150=>’舟山’,151=>’台州’,152=>’丽水’),
    7=>array(153=>’南京’,154=>’无锡’,155=>’徐州’,156=>’常州’,157=>’苏州’,158=>’南通’,159=>’连云港’,160=>’淮安’,161=>’盐城’,162=>’扬州’,163=>’镇江’,164=>’泰州’,165=>’宿迁’),
    8=>array(166=>’福州’,167=>’厦门’,168=>’莆田’,169=>’三明’,170=>’泉州’,171=>’漳州’,172=>’南平’,173=>’龙岩’,174=>’宁德’),
    9=>array(175=>’广州’,176=>’韶关’,177=>’深圳’,178=>’珠海’,179=>’汕头’,180=>’佛山’,181=>’江门’,182=>’湛江’,183=>’茂名’,184=>’肇庆’,185=>’惠州’,186=>’梅州’,187=>’汕尾’,188=>’河源’,189=>’阳江’,190=>’清远’,191=>’东莞’,192=>’中山’,193=>’潮州’,194=>’揭阳’,195=>’云浮’),
    10=>array(196=>’南宁’,197=>’柳州’,198=>’桂林’,199=>’梧州’,200=>’北海’,201=>’防城港’,202=>’钦州’,203=>’贵港’,204=>’玉林’,205=>’百色’,206=>’贺州’,207=>’河池’,208=>’来宾’,209=>’崇左’),
    11=>array(210=>’石家庄’,211=>’唐山’,212=>’秦皇岛’,213=>’邯郸’,214=>’邢台’,215=>’保定’,216=>’张家口’,217=>’承德’,218=>’沧州’,219=>’廊坊’,220=>’衡水’),
    12=>array(221=>’郑州’,222=>’开封’,223=>’洛阳’,224=>’平顶山’,225=>’安阳’,226=>’鹤壁’,227=>’新乡’,228=>’焦作’,229=>’濮阳’,230=>’许昌’,231=>’漯河’,232=>’三门峡’,233=>’南阳’,234=>’商丘’,235=>’信阳’,236=>’周口’,237=>’驻马店’,238=>’济源’),
    13=>array(239=>’武汉’,240=>’黄石’,241=>’十堰’,242=>’宜昌’,243=>’襄阳’,244=>’鄂州’,245=>’荆门’,246=>’孝感’,247=>’荆州’,248=>’黄冈’,249=>’咸宁’,250=>’随州’,251=>’恩施’,252=>’仙桃’,253=>’潜江’,254=>’天门’,255=>’神农架’),
    14=>array(256=>’长沙’,257=>’株洲’,258=>’湘潭’,259=>’衡阳’,260=>’邵阳’,261=>’岳阳’,262=>’常德’,263=>’张家界’,264=>’益阳’,265=>’郴州’,266=>’永州’,267=>’怀化’,268=>’娄底’,269=>’湘西’),
    15=>array(270=>’长春’,271=>’吉林’,272=>’四平’,273=>’辽源’,274=>’通化’,275=>’白山’,276=>’松原’,277=>’白城’,278=>’延边’),
    16=>array(279=>’南昌’,280=>’景德镇’,281=>’萍乡’,282=>’九江’,283=>’新余’,284=>’鹰潭’,285=>’赣州’,286=>’吉安’,287=>’宜春’,288=>’抚州’,289=>’上饶’),
    17=>array(290=>’济南’,291=>’青岛’,292=>’淄博’,293=>’枣庄’,294=>’东营’,295=>’烟台’,296=>’潍坊’,297=>’济宁’,298=>’泰安’,299=>’威海’,300=>’日照’,301=>’莱芜’,302=>’临沂’,303=>’德州’,304=>’聊城’,305=>’滨州’,306=>’菏泽’),
    18=>array(307=>’太原’,308=>’大同’,309=>’阳泉’,310=>’长治’,311=>’晋城’,312=>’朔州’,313=>’晋中’,314=>’运城’,315=>’忻州’,316=>’临汾’,317=>’吕梁’),
    19=>array(318=>’西安’,319=>’铜川’,320=>’宝鸡’,321=>’咸阳’,322=>’渭南’,323=>’延安’,324=>’汉中’,325=>’榆林’,326=>’安康’,327=>’商洛’),
    20=>array(328=>’兰州市’,329=>’嘉峪关’,330=>’金昌’,331=>’白银’,332=>’天水’,333=>’武威’,334=>’张掖’,335=>’平凉’,336=>’酒泉’,337=>’庆阳’,338=>’定西’,339=>’陇南’,340=>’临夏’,341=>’甘南’),
    21=>array(342=>’沈阳’,343=>’大连’,344=>’鞍山’,345=>’抚顺’,346=>’本溪’,347=>’丹东’,348=>’锦州’,349=>’营口’,350=>’阜新’,351=>’辽阳’,352=>’盘锦’,353=>’铁岭’,354=>’朝阳’,355=>’葫芦岛’),
    22=>array(356=>’贵阳’,357=>’六盘水’,358=>’遵义’,359=>’安顺’,360=>’铜仁’,361=>’黔西南’,362=>’毕节’,363=>’黔东南’,364=>’黔南’),
    23=>array(365=>’银川’,366=>’石嘴山’,367=>’吴忠’,368=>’固原’,369=>’中卫’),
    24=>array(370=>’成都’,371=>’自贡’,372=>’攀枝花’,373=>’泸州’,374=>’德阳’,375=>’绵阳’,376=>’广元’,377=>’遂宁’,378=>’内江’,379=>’乐山’,380=>’南充’,381=>’眉山’,382=>’宜宾’,383=>’广安’,384=>’达州’,385=>’雅安’,386=>’巴中’,387=>’资阳’,388=>’阿坝’,389=>’甘孜’,390=>’凉山’),
    25=>array(391=>’海口’,392=>’三亚’,393=>’三沙’,394=>’五指山’,395=>’琼海’,396=>’儋州’,397=>’文昌’,398=>’万宁’,399=>’东方’,400=>’定安’,401=>’屯昌’,402=>’澄迈’,403=>’临高’,404=>’白沙’,405=>’昌江’,406=>’乐东’,407=>’陵水’,408=>’保亭’,409=>’琼中’),
    26=>array(410=>’西宁’,411=>’海东’,412=>’海北’,413=>’黄南’,414=>’海南’,415=>’果洛’,416=>’玉树’,417=>’海西’),
    27=>array(418=>’哈尔滨’,419=>’齐齐哈尔’,420=>’鸡西’,421=>’鹤岗’,422=>’双鸭山’,423=>’大庆’,424=>’伊春’,425=>’佳木斯’,426=>’七台河’,427=>’牡丹江’,428=>’黑河’,429=>’绥化’,430=>’大兴安岭’),
    28=>array(431=>’昆明’,432=>’曲靖’,433=>’玉溪’,434=>’保山’,435=>’昭通’,436=>’丽江’,437=>’普洱’,438=>’临沧’,439=>’楚雄’,440=>’红河’,441=>’文山’,442=>’西双版纳’,443=>’大理’,444=>’德宏’,445=>’怒江’,446=>’迪庆’),
    29=>array(447=>’呼和浩特’,448=>’包头’,449=>’乌海’,450=>’赤峰’,451=>’通辽’,452=>’鄂尔多斯’,453=>’呼伦贝尔’,454=>’巴彦淖尔’,455=>’乌兰察布’,456=>’兴安’,457=>’锡林郭勒’,458=>’阿拉善’),
    30=>array(459=>’乌鲁木齐’,460=>’克拉玛依’,461=>’吐鲁番’,462=>’哈密’,463=>’昌吉’,464=>’博尔塔拉’,465=>’巴音郭楞’,466=>’阿克苏’,467=>’克孜勒苏’,468=>’喀什’,469=>’和田’,470=>’伊犁’,471=>’塔城’,472=>’阿勒泰’,473=>’石河子’,474=>’阿拉尔’,475=>’图木舒克’,476=>’五家渠’,477=>’北屯’),
    31=>array(478=>’拉萨’,479=>’昌都’,480=>’山南’,481=>’日喀则’,482=>’那曲’,483=>’阿里’,484=>’林芝’),
    32=>array(485=>’中西区’,486=>’东区’,487=>’九龙城区’,488=>’观塘区’,489=>’南区’,490=>’深水埗区’,491=>’黄大仙区’,492=>’湾仔区’,493=>’油尖旺区’,494=>’离岛区’,495=>’葵青区’,496=>’北区’,497=>’西贡区’,498=>’沙田区’,499=>’屯门区’,500=>’大埔区’,501=>’荃湾区’,502=>’元朗区’),
    33=>array(503=>’花地玛堂区’,504=>’圣安多尼堂区’,505=>’大堂区’,506=>’望德堂区’,507=>’风顺堂区’,508=>’氹仔’,509=>’路环’),
    34=>array(510=>’台北市’,511=>’高雄市’,512=>’基隆市’,513=>’台中市’,514=>’台南市’,515=>’新竹市’,516=>’嘉义市’,517=>’台北县’,518=>’宜兰县’,519=>’桃园县’,520=>’新竹县’,521=>’苗栗县’,522=>’台中县’,523=>’彰化县’,524=>’南投县’,525=>’云林县’,526=>’嘉义县’,527=>’台南县’,528=>’高雄县’,529=>’屏东县’,530=>’澎湖县’,531=>’台东县’,532=>’花莲县’)
);
?>

 

<?php
$quhaoArr=array(1010=>array(‘pid’=>0,’id’=>1),1021=>array(‘pid’=>0,’id’=>2),1022=>array(‘pid’=>0,’id’=>3),1023=>array(‘pid’=>0,’id’=>4),10551=>array(‘pid’=>5,’id’=>126),10553=>array(‘pid’=>5,’id’=>127),10552=>array(‘pid’=>5,’id’=>128),10554=>array(‘pid’=>5,’id’=>129),10555=>array(‘pid’=>5,’id’=>130),10561=>array(‘pid’=>5,’id’=>131),10562=>array(‘pid’=>5,’id’=>132),10556=>array(‘pid’=>5,’id’=>133),10559=>array(‘pid’=>5,’id’=>134),10550=>array(‘pid’=>5,’id’=>135),10558=>array(‘pid’=>5,’id’=>136),10557=>array(‘pid’=>5,’id’=>137),10564=>array(‘pid’=>5,’id’=>138),10558=>array(‘pid’=>5,’id’=>139),10566=>array(‘pid’=>5,’id’=>140),10563=>array(‘pid’=>5,’id’=>141),10571=>array(‘pid’=>6,’id’=>142),10574=>array(‘pid’=>6,’id’=>143),10577=>array(‘pid’=>6,’id’=>144),10573=>array(‘pid’=>6,’id’=>145),10572=>array(‘pid’=>6,’id’=>146),10575=>array(‘pid’=>6,’id’=>147),10579=>array(‘pid’=>6,’id’=>148),10570=>array(‘pid’=>6,’id’=>149),10580=>array(‘pid’=>6,’id’=>150),10576=>array(‘pid’=>6,’id’=>151),10578=>array(‘pid’=>6,’id’=>152),1025=>array(‘pid’=>7,’id’=>153),10510=>array(‘pid’=>7,’id’=>154),10516=>array(‘pid’=>7,’id’=>155),10519=>array(‘pid’=>7,’id’=>156),10512=>array(‘pid’=>7,’id’=>157),10513=>array(‘pid’=>7,’id’=>158),10518=>array(‘pid’=>7,’id’=>159),10517=>array(‘pid’=>7,’id’=>160),10515=>array(‘pid’=>7,’id’=>161),10514=>array(‘pid’=>7,’id’=>162),10511=>array(‘pid’=>7,’id’=>163),10523=>array(‘pid’=>7,’id’=>164),10527=>array(‘pid’=>7,’id’=>165),10591=>array(‘pid’=>8,’id’=>166),10592=>array(‘pid’=>8,’id’=>167),10594=>array(‘pid’=>8,’id’=>168),10598=>array(‘pid’=>8,’id’=>169),10595=>array(‘pid’=>8,’id’=>170),10596=>array(‘pid’=>8,’id’=>171),10599=>array(‘pid’=>8,’id’=>172),10597=>array(‘pid’=>8,’id’=>173),10593=>array(‘pid’=>8,’id’=>174),1020=>array(‘pid’=>9,’id’=>175),10751=>array(‘pid’=>9,’id’=>176),10755=>array(‘pid’=>9,’id’=>177),10756=>array(‘pid’=>9,’id’=>178),10754=>array(‘pid’=>9,’id’=>179),10757=>array(‘pid’=>9,’id’=>180),10750=>array(‘pid’=>9,’id’=>181),10759=>array(‘pid’=>9,’id’=>182),10668=>array(‘pid’=>9,’id’=>183),10758=>array(‘pid’=>9,’id’=>184),10752=>array(‘pid’=>9,’id’=>185),10753=>array(‘pid’=>9,’id’=>186),10660=>array(‘pid’=>9,’id’=>187),10762=>array(‘pid’=>9,’id’=>188),10662=>array(‘pid’=>9,’id’=>189),10763=>array(‘pid’=>9,’id’=>190),10769=>array(‘pid’=>9,’id’=>191),10760=>array(‘pid’=>9,’id’=>192),10768=>array(‘pid’=>9,’id’=>193),10663=>array(‘pid’=>9,’id’=>194),10766=>array(‘pid’=>9,’id’=>195),10771=>array(‘pid’=>10,’id’=>196),10772=>array(‘pid’=>10,’id’=>197),10773=>array(‘pid’=>10,’id’=>198),10774=>array(‘pid’=>10,’id’=>199),10779=>array(‘pid’=>10,’id’=>200),10770=>array(‘pid’=>10,’id’=>201),10777=>array(‘pid’=>10,’id’=>202),10775=>array(‘pid’=>10,’id’=>203),10775=>array(‘pid’=>10,’id’=>204),10776=>array(‘pid’=>10,’id’=>205),10774=>array(‘pid’=>10,’id’=>206),10778=>array(‘pid’=>10,’id’=>207),10772=>array(‘pid’=>10,’id’=>208),10771=>array(‘pid’=>10,’id’=>209),10311=>array(‘pid’=>11,’id’=>210),10315=>array(‘pid’=>11,’id’=>211),10335=>array(‘pid’=>11,’id’=>212),10310=>array(‘pid’=>11,’id’=>213),10319=>array(‘pid’=>11,’id’=>214),10312=>array(‘pid’=>11,’id’=>215),10313=>array(‘pid’=>11,’id’=>216),10314=>array(‘pid’=>11,’id’=>217),10317=>array(‘pid’=>11,’id’=>218),10316=>array(‘pid’=>11,’id’=>219),10318=>array(‘pid’=>11,’id’=>220),10371=>array(‘pid’=>12,’id’=>221),10371=>array(‘pid’=>12,’id’=>222),10379=>array(‘pid’=>12,’id’=>223),10375=>array(‘pid’=>12,’id’=>224),10372=>array(‘pid’=>12,’id’=>225),10392=>array(‘pid’=>12,’id’=>226),10373=>array(‘pid’=>12,’id’=>227),10391=>array(‘pid’=>12,’id’=>228),10393=>array(‘pid’=>12,’id’=>229),10374=>array(‘pid’=>12,’id’=>230),10395=>array(‘pid’=>12,’id’=>231),10398=>array(‘pid’=>12,’id’=>232),10377=>array(‘pid’=>12,’id’=>233),10370=>array(‘pid’=>12,’id’=>234),10376=>array(‘pid’=>12,’id’=>235),10394=>array(‘pid’=>12,’id’=>236),10396=>array(‘pid’=>12,’id’=>237),10391=>array(‘pid’=>12,’id’=>238),1027=>array(‘pid’=>13,’id’=>239),10714=>array(‘pid’=>13,’id’=>240),10719=>array(‘pid’=>13,’id’=>241),10717=>array(‘pid’=>13,’id’=>242),10710=>array(‘pid’=>13,’id’=>243),10711=>array(‘pid’=>13,’id’=>244),10727=>array(‘pid’=>13,’id’=>245),10712=>array(‘pid’=>13,’id’=>246),10716=>array(‘pid’=>13,’id’=>247),10713=>array(‘pid’=>13,’id’=>248),10715=>array(‘pid’=>13,’id’=>249),10722=>array(‘pid’=>13,’id’=>250),10718=>array(‘pid’=>13,’id’=>251),10728=>array(‘pid’=>13,’id’=>252),10728=>array(‘pid’=>13,’id’=>253),10728=>array(‘pid’=>13,’id’=>254),10719=>array(‘pid’=>13,’id’=>255),10731=>array(‘pid’=>14,’id’=>256),10731=>array(‘pid’=>14,’id’=>257),10731=>array(‘pid’=>14,’id’=>258),10734=>array(‘pid’=>14,’id’=>259),10739=>array(‘pid’=>14,’id’=>260),10730=>array(‘pid’=>14,’id’=>261),10736=>array(‘pid’=>14,’id’=>262),10744=>array(‘pid’=>14,’id’=>263),10737=>array(‘pid’=>14,’id’=>264),10735=>array(‘pid’=>14,’id’=>265),10746=>array(‘pid’=>14,’id’=>266),10745=>array(‘pid’=>14,’id’=>267),10738=>array(‘pid’=>14,’id’=>268),10743=>array(‘pid’=>14,’id’=>269),10431=>array(‘pid’=>15,’id’=>270),10432=>array(‘pid’=>15,’id’=>271),10434=>array(‘pid’=>15,’id’=>272),10437=>array(‘pid’=>15,’id’=>273),10435=>array(‘pid’=>15,’id’=>274),10439=>array(‘pid’=>15,’id’=>275),10438=>array(‘pid’=>15,’id’=>276),10436=>array(‘pid’=>15,’id’=>277),10433=>array(‘pid’=>15,’id’=>278),10791=>array(‘pid’=>16,’id’=>279),10798=>array(‘pid’=>16,’id’=>280),10799=>array(‘pid’=>16,’id’=>281),10792=>array(‘pid’=>16,’id’=>282),10790=>array(‘pid’=>16,’id’=>283),10701=>array(‘pid’=>16,’id’=>284),10797=>array(‘pid’=>16,’id’=>285),10796=>array(‘pid’=>16,’id’=>286),10795=>array(‘pid’=>16,’id’=>287),10794=>array(‘pid’=>16,’id’=>288),10793=>array(‘pid’=>16,’id’=>289),10531=>array(‘pid’=>17,’id’=>290),10532=>array(‘pid’=>17,’id’=>291),10533=>array(‘pid’=>17,’id’=>292),10632=>array(‘pid’=>17,’id’=>293),10546=>array(‘pid’=>17,’id’=>294),10535=>array(‘pid’=>17,’id’=>295),10536=>array(‘pid’=>17,’id’=>296),10537=>array(‘pid’=>17,’id’=>297),10538=>array(‘pid’=>17,’id’=>298),10631=>array(‘pid’=>17,’id’=>299),10633=>array(‘pid’=>17,’id’=>300),10634=>array(‘pid’=>17,’id’=>301),10539=>array(‘pid’=>17,’id’=>302),10534=>array(‘pid’=>17,’id’=>303),10635=>array(‘pid’=>17,’id’=>304),10543=>array(‘pid’=>17,’id’=>305),10530=>array(‘pid’=>17,’id’=>306),10351=>array(‘pid’=>18,’id’=>307),10352=>array(‘pid’=>18,’id’=>308),10353=>array(‘pid’=>18,’id’=>309),10355=>array(‘pid’=>18,’id’=>310),10356=>array(‘pid’=>18,’id’=>311),10349=>array(‘pid’=>18,’id’=>312),10354=>array(‘pid’=>18,’id’=>313),10359=>array(‘pid’=>18,’id’=>314),10350=>array(‘pid’=>18,’id’=>315),10357=>array(‘pid’=>18,’id’=>316),10358=>array(‘pid’=>18,’id’=>317),1029=>array(‘pid’=>19,’id’=>318),10919=>array(‘pid’=>19,’id’=>319),10917=>array(‘pid’=>19,’id’=>320),1029=>array(‘pid’=>19,’id’=>321),10913=>array(‘pid’=>19,’id’=>322),10911=>array(‘pid’=>19,’id’=>323),10916=>array(‘pid’=>19,’id’=>324),10912=>array(‘pid’=>19,’id’=>325),10915=>array(‘pid’=>19,’id’=>326),10914=>array(‘pid’=>19,’id’=>327),10931=>array(‘pid’=>20,’id’=>328),10937=>array(‘pid’=>20,’id’=>329),10935=>array(‘pid’=>20,’id’=>330),10943=>array(‘pid’=>20,’id’=>331),10938=>array(‘pid’=>20,’id’=>332),10935=>array(‘pid’=>20,’id’=>333),10936=>array(‘pid’=>20,’id’=>334),10933=>array(‘pid’=>20,’id’=>335),10937=>array(‘pid’=>20,’id’=>336),10934=>array(‘pid’=>20,’id’=>337),10932=>array(‘pid’=>20,’id’=>338),10939=>array(‘pid’=>20,’id’=>339),10930=>array(‘pid’=>20,’id’=>340),10941=>array(‘pid’=>20,’id’=>341),1024=>array(‘pid’=>21,’id’=>342),10411=>array(‘pid’=>21,’id’=>343),10555=>array(‘pid’=>21,’id’=>344),1024=>array(‘pid’=>21,’id’=>345),10414=>array(‘pid’=>21,’id’=>346),10415=>array(‘pid’=>21,’id’=>347),10416=>array(‘pid’=>21,’id’=>348),10417=>array(‘pid’=>21,’id’=>349),10418=>array(‘pid’=>21,’id’=>350),10419=>array(‘pid’=>21,’id’=>351),10427=>array(‘pid’=>21,’id’=>352),1024=>array(‘pid’=>21,’id’=>353),10421=>array(‘pid’=>21,’id’=>354),10429=>array(‘pid’=>21,’id’=>355),10851=>array(‘pid’=>22,’id’=>356),10858=>array(‘pid’=>22,’id’=>357),10852=>array(‘pid’=>22,’id’=>358),10853=>array(‘pid’=>22,’id’=>359),10856=>array(‘pid’=>22,’id’=>360),10859=>array(‘pid’=>22,’id’=>361),10857=>array(‘pid’=>22,’id’=>362),10855=>array(‘pid’=>22,’id’=>363),10854=>array(‘pid’=>22,’id’=>364),10951=>array(‘pid’=>23,’id’=>365),10952=>array(‘pid’=>23,’id’=>366),10953=>array(‘pid’=>23,’id’=>367),10954=>array(‘pid’=>23,’id’=>368),10955=>array(‘pid’=>23,’id’=>369),1028=>array(‘pid’=>24,’id’=>370),10813=>array(‘pid’=>24,’id’=>371),10812=>array(‘pid’=>24,’id’=>372),10830=>array(‘pid’=>24,’id’=>373),10838=>array(‘pid’=>24,’id’=>374),10816=>array(‘pid’=>24,’id’=>375),10839=>array(‘pid’=>24,’id’=>376),10825=>array(‘pid’=>24,’id’=>377),10832=>array(‘pid’=>24,’id’=>378),10833=>array(‘pid’=>24,’id’=>379),10817=>array(‘pid’=>24,’id’=>380),1028=>array(‘pid’=>24,’id’=>381),10831=>array(‘pid’=>24,’id’=>382),10826=>array(‘pid’=>24,’id’=>383),10818=>array(‘pid’=>24,’id’=>384),10835=>array(‘pid’=>24,’id’=>385),10827=>array(‘pid’=>24,’id’=>386),1028=>array(‘pid’=>24,’id’=>387),10837=>array(‘pid’=>24,’id’=>388),10836=>array(‘pid’=>24,’id’=>389),10834=>array(‘pid’=>24,’id’=>390),10898=>array(‘pid’=>25,’id’=>391),10898=>array(‘pid’=>25,’id’=>392),10898=>array(‘pid’=>25,’id’=>393),10898=>array(‘pid’=>25,’id’=>394),10898=>array(‘pid’=>25,’id’=>395),10898=>array(‘pid’=>25,’id’=>396),10898=>array(‘pid’=>25,’id’=>397),10898=>array(‘pid’=>25,’id’=>398),10898=>array(‘pid’=>25,’id’=>399),10898=>array(‘pid’=>25,’id’=>400),10898=>array(‘pid’=>25,’id’=>401),10898=>array(‘pid’=>25,’id’=>402),10898=>array(‘pid’=>25,’id’=>403),10898=>array(‘pid’=>25,’id’=>404),10898=>array(‘pid’=>25,’id’=>405),10898=>array(‘pid’=>25,’id’=>406),10898=>array(‘pid’=>25,’id’=>407),10898=>array(‘pid’=>25,’id’=>408),10898=>array(‘pid’=>25,’id’=>409),10971=>array(‘pid’=>26,’id’=>410),10972=>array(‘pid’=>26,’id’=>411),10970=>array(‘pid’=>26,’id’=>412),10973=>array(‘pid’=>26,’id’=>413),10974=>array(‘pid’=>26,’id’=>414),10975=>array(‘pid’=>26,’id’=>415),10976=>array(‘pid’=>26,’id’=>416),10979=>array(‘pid’=>26,’id’=>417),10451=>array(‘pid’=>27,’id’=>418),10452=>array(‘pid’=>27,’id’=>419),10467=>array(‘pid’=>27,’id’=>420),10468=>array(‘pid’=>27,’id’=>421),10469=>array(‘pid’=>27,’id’=>422),10459=>array(‘pid’=>27,’id’=>423),10458=>array(‘pid’=>27,’id’=>424),10454=>array(‘pid’=>27,’id’=>425),10464=>array(‘pid’=>27,’id’=>426),10453=>array(‘pid’=>27,’id’=>427),10456=>array(‘pid’=>27,’id’=>428),10455=>array(‘pid’=>27,’id’=>429),10457=>array(‘pid’=>27,’id’=>430),10871=>array(‘pid’=>28,’id’=>431),10874=>array(‘pid’=>28,’id’=>432),10877=>array(‘pid’=>28,’id’=>433),10875=>array(‘pid’=>28,’id’=>434),10870=>array(‘pid’=>28,’id’=>435),10888=>array(‘pid’=>28,’id’=>436),10879=>array(‘pid’=>28,’id’=>437),10883=>array(‘pid’=>28,’id’=>438),10878=>array(‘pid’=>28,’id’=>439),10873=>array(‘pid’=>28,’id’=>440),10876=>array(‘pid’=>28,’id’=>441),10691=>array(‘pid’=>28,’id’=>442),10872=>array(‘pid’=>28,’id’=>443),10692=>array(‘pid’=>28,’id’=>444),10886=>array(‘pid’=>28,’id’=>445),10887=>array(‘pid’=>28,’id’=>446),10471=>array(‘pid’=>29,’id’=>447),10472=>array(‘pid’=>29,’id’=>448),10473=>array(‘pid’=>29,’id’=>449),10476=>array(‘pid’=>29,’id’=>450),10475=>array(‘pid’=>29,’id’=>451),10477=>array(‘pid’=>29,’id’=>452),10470=>array(‘pid’=>29,’id’=>453),10478=>array(‘pid’=>29,’id’=>454),10474=>array(‘pid’=>29,’id’=>455),10482=>array(‘pid’=>29,’id’=>456),10479=>array(‘pid’=>29,’id’=>457),10483=>array(‘pid’=>29,’id’=>458),10991=>array(‘pid’=>30,’id’=>459),10990=>array(‘pid’=>30,’id’=>460),10995=>array(‘pid’=>30,’id’=>461),10902=>array(‘pid’=>30,’id’=>462),10994=>array(‘pid’=>30,’id’=>463),10909=>array(‘pid’=>30,’id’=>464),10996=>array(‘pid’=>30,’id’=>465),10997=>array(‘pid’=>30,’id’=>466),10908=>array(‘pid’=>30,’id’=>467),10998=>array(‘pid’=>30,’id’=>468),10903=>array(‘pid’=>30,’id’=>469),10999=>array(‘pid’=>30,’id’=>470),10901=>array(‘pid’=>30,’id’=>471),10906=>array(‘pid’=>30,’id’=>472),10993=>array(‘pid’=>30,’id’=>473),10997=>array(‘pid’=>30,’id’=>474),10998=>array(‘pid’=>30,’id’=>475),10994=>array(‘pid’=>30,’id’=>476),10906=>array(‘pid’=>30,’id’=>477),10891=>array(‘pid’=>31,’id’=>478),10895=>array(‘pid’=>31,’id’=>479),10893=>array(‘pid’=>31,’id’=>480),10892=>array(‘pid’=>31,’id’=>481),10896=>array(‘pid’=>31,’id’=>482),10897=>array(‘pid’=>31,’id’=>483),10894=>array(‘pid’=>31,’id’=>484),1852=>array(‘pid’=>0,’id’=>32),1853=>array(‘pid’=>0,’id’=>33),1886=>array(‘pid’=>0,’id’=>34));
?>

 

// JavaScript Document
var provinceArr=new Array();
provinceArr[1]=’北京’;provinceArr[2]=’上海’;provinceArr[3]=’天津’;provinceArr[4]=’重庆’;provinceArr[5]=’安徽’;provinceArr[6]=’浙江’;provinceArr[7]=’江苏’;provinceArr[8]=’福建’;provinceArr[9]=’广东’;provinceArr[10]=’广西’;provinceArr[11]=’河北’;provinceArr[12]=’河南’;provinceArr[13]=’湖北’;provinceArr[14]=’湖南’;provinceArr[15]=’吉林’;provinceArr[16]=’江西’;provinceArr[17]=’山东’;provinceArr[18]=’山西’;provinceArr[19]=’陕西’;provinceArr[20]=’甘肃’;provinceArr[21]=’辽宁’;provinceArr[22]=’贵州’;provinceArr[23]=’宁夏’;provinceArr[24]=’四川’;provinceArr[25]=’海南’;provinceArr[26]=’青海’;provinceArr[27]=’黑龙江’;provinceArr[28]=’云南’;provinceArr[29]=’内蒙古’;provinceArr[30]=’新疆’;provinceArr[31]=’西藏’;provinceArr[32]=’香港’;provinceArr[33]=’澳门’;provinceArr[34]=’台湾’;

var cityArr=new Array();

cityArr[1]=new Array();
cityArr[1][35]=’东城’;cityArr[1][36]=’西城’;cityArr[1][37]=’朝阳’;cityArr[1][38]=’丰台’;cityArr[1][39]=’石景山’;cityArr[1][40]=’海淀’;cityArr[1][41]=’门头沟’;cityArr[1][42]=’房山’;cityArr[1][43]=’通州’;cityArr[1][44]=’顺义’;cityArr[1][45]=’昌平’;cityArr[1][46]=’大兴’;cityArr[1][47]=’平谷’;cityArr[1][48]=’怀柔’;cityArr[1][49]=’密云’;cityArr[1][50]=’延庆’;

cityArr[2]=new Array();
cityArr[2][51]=’黄浦’;cityArr[2][52]=’卢湾’;cityArr[2][53]=’徐汇’;cityArr[2][54]=’长宁’;cityArr[2][55]=’静安’;cityArr[2][56]=’普陀’;cityArr[2][57]=’闸北’;cityArr[2][58]=’虹口’;cityArr[2][59]=’杨浦’;cityArr[2][60]=’闵行’;cityArr[2][61]=’宝山’;cityArr[2][62]=’嘉定’;cityArr[2][63]=’浦东新’;cityArr[2][64]=’金山’;cityArr[2][65]=’松江’;cityArr[2][66]=’奉贤’;cityArr[2][67]=’青浦’;cityArr[2][68]=’崇明’;

cityArr[3]=new Array();
cityArr[3][69]=’和平’;cityArr[3][70]=’河东’;cityArr[3][71]=’河西’;cityArr[3][72]=’南开’;cityArr[3][73]=’河北’;cityArr[3][74]=’红桥’;cityArr[3][75]=’东丽’;cityArr[3][76]=’西青’;cityArr[3][77]=’津南’;cityArr[3][78]=’北辰’;cityArr[3][79]=’宁河’;cityArr[3][80]=’武清’;cityArr[3][81]=’静海’;cityArr[3][82]=’宝坻’;cityArr[3][83]=’蓟县’;cityArr[3][84]=’滨海新区’;

cityArr[4]=new Array();
cityArr[4][85]=’万州’;cityArr[4][86]=’涪陵’;cityArr[4][87]=’渝中’;cityArr[4][88]=’大渡口’;cityArr[4][89]=’江北’;cityArr[4][90]=’沙坪坝’;cityArr[4][91]=’九龙坡’;cityArr[4][92]=’南岸’;cityArr[4][93]=’北碚’;cityArr[4][94]=’万盛’;cityArr[4][95]=’双桥’;cityArr[4][96]=’渝北’;cityArr[4][97]=’巴南’;cityArr[4][98]=’长寿’;cityArr[4][99]=’綦江’;cityArr[4][100]=’潼南’;cityArr[4][101]=’铜梁’;cityArr[4][102]=’大足’;cityArr[4][103]=’荣昌’;cityArr[4][104]=’璧山’;cityArr[4][105]=’梁平’;cityArr[4][106]=’城口’;cityArr[4][107]=’丰都’;cityArr[4][108]=’垫江’;cityArr[4][109]=’武隆’;cityArr[4][110]=’忠县’;cityArr[4][111]=’开县’;cityArr[4][112]=’云阳’;cityArr[4][113]=’奉节’;cityArr[4][114]=’巫山’;cityArr[4][115]=’巫溪’;cityArr[4][116]=’黔江’;cityArr[4][117]=’石柱’;cityArr[4][118]=’秀山’;cityArr[4][119]=’酉阳’;cityArr[4][120]=’彭水’;cityArr[4][121]=’江津’;cityArr[4][122]=’合川’;cityArr[4][123]=’永川’;cityArr[4][124]=’南川’;cityArr[4][125]=’两江新区’;

cityArr[5]=new Array();
cityArr[5][126]=’合肥’;cityArr[5][127]=’芜湖’;cityArr[5][128]=’蚌埠’;cityArr[5][129]=’淮南’;cityArr[5][130]=’马鞍山’;cityArr[5][131]=’淮北’;cityArr[5][132]=’铜陵’;cityArr[5][133]=’安庆’;cityArr[5][134]=’黄山’;cityArr[5][135]=’滁州’;cityArr[5][136]=’阜阳’;cityArr[5][137]=’宿州’;cityArr[5][138]=’六安’;cityArr[5][139]=’亳州’;cityArr[5][140]=’池州’;cityArr[5][141]=’宣城’;

cityArr[6]=new Array();
cityArr[6][142]=’杭州’;cityArr[6][143]=’宁波’;cityArr[6][144]=’温州’;cityArr[6][145]=’嘉兴’;cityArr[6][146]=’湖州’;cityArr[6][147]=’绍兴’;cityArr[6][148]=’金华’;cityArr[6][149]=’衢州’;cityArr[6][150]=’舟山’;cityArr[6][151]=’台州’;cityArr[6][152]=’丽水’;

cityArr[7]=new Array();
cityArr[7][153]=’南京’;cityArr[7][154]=’无锡’;cityArr[7][155]=’徐州’;cityArr[7][156]=’常州’;cityArr[7][157]=’苏州’;cityArr[7][158]=’南通’;cityArr[7][159]=’连云港’;cityArr[7][160]=’淮安’;cityArr[7][161]=’盐城’;cityArr[7][162]=’扬州’;cityArr[7][163]=’镇江’;cityArr[7][164]=’泰州’;cityArr[7][165]=’宿迁’;

cityArr[8]=new Array();
cityArr[8][166]=’福州’;cityArr[8][167]=’厦门’;cityArr[8][168]=’莆田’;cityArr[8][169]=’三明’;cityArr[8][170]=’泉州’;cityArr[8][171]=’漳州’;cityArr[8][172]=’南平’;cityArr[8][173]=’龙岩’;cityArr[8][174]=’宁德’;

cityArr[9]=new Array();
cityArr[9][175]=’广州’;cityArr[9][176]=’韶关’;cityArr[9][177]=’深圳’;cityArr[9][178]=’珠海’;cityArr[9][179]=’汕头’;cityArr[9][180]=’佛山’;cityArr[9][181]=’江门’;cityArr[9][182]=’湛江’;cityArr[9][183]=’茂名’;cityArr[9][184]=’肇庆’;cityArr[9][185]=’惠州’;cityArr[9][186]=’梅州’;cityArr[9][187]=’汕尾’;cityArr[9][188]=’河源’;cityArr[9][189]=’阳江’;cityArr[9][190]=’清远’;cityArr[9][191]=’东莞’;cityArr[9][192]=’中山’;cityArr[9][193]=’潮州’;cityArr[9][194]=’揭阳’;cityArr[9][195]=’云浮’;

cityArr[10]=new Array();
cityArr[10][196]=’南宁’;cityArr[10][197]=’柳州’;cityArr[10][198]=’桂林’;cityArr[10][199]=’梧州’;cityArr[10][200]=’北海’;cityArr[10][201]=’防城港’;cityArr[10][202]=’钦州’;cityArr[10][203]=’贵港’;cityArr[10][204]=’玉林’;cityArr[10][205]=’百色’;cityArr[10][206]=’贺州’;cityArr[10][207]=’河池’;cityArr[10][208]=’来宾’;cityArr[10][209]=’崇左’;

cityArr[11]=new Array();
cityArr[11][210]=’石家庄’;cityArr[11][211]=’唐山’;cityArr[11][212]=’秦皇岛’;cityArr[11][213]=’邯郸’;cityArr[11][214]=’邢台’;cityArr[11][215]=’保定’;cityArr[11][216]=’张家口’;cityArr[11][217]=’承德’;cityArr[11][218]=’沧州’;cityArr[11][219]=’廊坊’;cityArr[11][220]=’衡水’;

cityArr[12]=new Array();
cityArr[12][221]=’郑州’;cityArr[12][222]=’开封’;cityArr[12][223]=’洛阳’;cityArr[12][224]=’平顶山’;cityArr[12][225]=’安阳’;cityArr[12][226]=’鹤壁’;cityArr[12][227]=’新乡’;cityArr[12][228]=’焦作’;cityArr[12][229]=’濮阳’;cityArr[12][230]=’许昌’;cityArr[12][231]=’漯河’;cityArr[12][232]=’三门峡’;cityArr[12][233]=’南阳’;cityArr[12][234]=’商丘’;cityArr[12][235]=’信阳’;cityArr[12][236]=’周口’;cityArr[12][237]=’驻马店’;cityArr[12][238]=’济源’;

cityArr[13]=new Array();
cityArr[13][239]=’武汉’;cityArr[13][240]=’黄石’;cityArr[13][241]=’十堰’;cityArr[13][242]=’宜昌’;cityArr[13][243]=’襄阳’;cityArr[13][244]=’鄂州’;cityArr[13][245]=’荆门’;cityArr[13][246]=’孝感’;cityArr[13][247]=’荆州’;cityArr[13][248]=’黄冈’;cityArr[13][249]=’咸宁’;cityArr[13][250]=’随州’;cityArr[13][251]=’恩施’;cityArr[13][252]=’仙桃’;cityArr[13][253]=’潜江’;cityArr[13][254]=’天门’;cityArr[13][255]=’神农架’;

cityArr[14]=new Array();
cityArr[14][256]=’长沙’;cityArr[14][257]=’株洲’;cityArr[14][258]=’湘潭’;cityArr[14][259]=’衡阳’;cityArr[14][260]=’邵阳’;cityArr[14][261]=’岳阳’;cityArr[14][262]=’常德’;cityArr[14][263]=’张家界’;cityArr[14][264]=’益阳’;cityArr[14][265]=’郴州’;cityArr[14][266]=’永州’;cityArr[14][267]=’怀化’;cityArr[14][268]=’娄底’;cityArr[14][269]=’湘西’;

cityArr[15]=new Array();
cityArr[15][270]=’长春’;cityArr[15][271]=’吉林’;cityArr[15][272]=’四平’;cityArr[15][273]=’辽源’;cityArr[15][274]=’通化’;cityArr[15][275]=’白山’;cityArr[15][276]=’松原’;cityArr[15][277]=’白城’;cityArr[15][278]=’延边’;

cityArr[16]=new Array();
cityArr[16][279]=’南昌’;cityArr[16][280]=’景德镇’;cityArr[16][281]=’萍乡’;cityArr[16][282]=’九江’;cityArr[16][283]=’新余’;cityArr[16][284]=’鹰潭’;cityArr[16][285]=’赣州’;cityArr[16][286]=’吉安’;cityArr[16][287]=’宜春’;cityArr[16][288]=’抚州’;cityArr[16][289]=’上饶’;

cityArr[17]=new Array();
cityArr[17][290]=’济南’;cityArr[17][291]=’青岛’;cityArr[17][292]=’淄博’;cityArr[17][293]=’枣庄’;cityArr[17][294]=’东营’;cityArr[17][295]=’烟台’;cityArr[17][296]=’潍坊’;cityArr[17][297]=’济宁’;cityArr[17][298]=’泰安’;cityArr[17][299]=’威海’;cityArr[17][300]=’日照’;cityArr[17][301]=’莱芜’;cityArr[17][302]=’临沂’;cityArr[17][303]=’德州’;cityArr[17][304]=’聊城’;cityArr[17][305]=’滨州’;cityArr[17][306]=’菏泽’;

cityArr[18]=new Array();
cityArr[18][307]=’太原’;cityArr[18][308]=’大同’;cityArr[18][309]=’阳泉’;cityArr[18][310]=’长治’;cityArr[18][311]=’晋城’;cityArr[18][312]=’朔州’;cityArr[18][313]=’晋中’;cityArr[18][314]=’运城’;cityArr[18][315]=’忻州’;cityArr[18][316]=’临汾’;cityArr[18][317]=’吕梁’;

cityArr[19]=new Array();
cityArr[19][318]=’西安’;cityArr[19][319]=’铜川’;cityArr[19][320]=’宝鸡’;cityArr[19][321]=’咸阳’;cityArr[19][322]=’渭南’;cityArr[19][323]=’延安’;cityArr[19][324]=’汉中’;cityArr[19][325]=’榆林’;cityArr[19][326]=’安康’;cityArr[19][327]=’商洛’;

cityArr[20]=new Array();
cityArr[20][328]=’兰州市’;cityArr[20][329]=’嘉峪关’;cityArr[20][330]=’金昌’;cityArr[20][331]=’白银’;cityArr[20][332]=’天水’;cityArr[20][333]=’武威’;cityArr[20][334]=’张掖’;cityArr[20][335]=’平凉’;cityArr[20][336]=’酒泉’;cityArr[20][337]=’庆阳’;cityArr[20][338]=’定西’;cityArr[20][339]=’陇南’;cityArr[20][340]=’临夏’;cityArr[20][341]=’甘南’;

cityArr[21]=new Array();
cityArr[21][342]=’沈阳’;cityArr[21][343]=’大连’;cityArr[21][344]=’鞍山’;cityArr[21][345]=’抚顺’;cityArr[21][346]=’本溪’;cityArr[21][347]=’丹东’;cityArr[21][348]=’锦州’;cityArr[21][349]=’营口’;cityArr[21][350]=’阜新’;cityArr[21][351]=’辽阳’;cityArr[21][352]=’盘锦’;cityArr[21][353]=’铁岭’;cityArr[21][354]=’朝阳’;cityArr[21][355]=’葫芦岛’;

cityArr[22]=new Array();
cityArr[22][356]=’贵阳’;cityArr[22][357]=’六盘水’;cityArr[22][358]=’遵义’;cityArr[22][359]=’安顺’;cityArr[22][360]=’铜仁’;cityArr[22][361]=’黔西南’;cityArr[22][362]=’毕节’;cityArr[22][363]=’黔东南’;cityArr[22][364]=’黔南’;

cityArr[23]=new Array();
cityArr[23][365]=’银川’;cityArr[23][366]=’石嘴山’;cityArr[23][367]=’吴忠’;cityArr[23][368]=’固原’;cityArr[23][369]=’中卫’;

cityArr[24]=new Array();
cityArr[24][370]=’成都’;cityArr[24][371]=’自贡’;cityArr[24][372]=’攀枝花’;cityArr[24][373]=’泸州’;cityArr[24][374]=’德阳’;cityArr[24][375]=’绵阳’;cityArr[24][376]=’广元’;cityArr[24][377]=’遂宁’;cityArr[24][378]=’内江’;cityArr[24][379]=’乐山’;cityArr[24][380]=’南充’;cityArr[24][381]=’眉山’;cityArr[24][382]=’宜宾’;cityArr[24][383]=’广安’;cityArr[24][384]=’达州’;cityArr[24][385]=’雅安’;cityArr[24][386]=’巴中’;cityArr[24][387]=’资阳’;cityArr[24][388]=’阿坝’;cityArr[24][389]=’甘孜’;cityArr[24][390]=’凉山’;

cityArr[25]=new Array();
cityArr[25][391]=’海口’;cityArr[25][392]=’三亚’;cityArr[25][393]=’三沙’;cityArr[25][394]=’五指山’;cityArr[25][395]=’琼海’;cityArr[25][396]=’儋州’;cityArr[25][397]=’文昌’;cityArr[25][398]=’万宁’;cityArr[25][399]=’东方’;cityArr[25][400]=’定安’;cityArr[25][401]=’屯昌’;cityArr[25][402]=’澄迈’;cityArr[25][403]=’临高’;cityArr[25][404]=’白沙’;cityArr[25][405]=’昌江’;cityArr[25][406]=’乐东’;cityArr[25][407]=’陵水’;cityArr[25][408]=’保亭’;cityArr[25][409]=’琼中’;

cityArr[26]=new Array();
cityArr[26][410]=’西宁’;cityArr[26][411]=’海东’;cityArr[26][412]=’海北’;cityArr[26][413]=’黄南’;cityArr[26][414]=’海南’;cityArr[26][415]=’果洛’;cityArr[26][416]=’玉树’;cityArr[26][417]=’海西’;

cityArr[27]=new Array();
cityArr[27][418]=’哈尔滨’;cityArr[27][419]=’齐齐哈尔’;cityArr[27][420]=’鸡西’;cityArr[27][421]=’鹤岗’;cityArr[27][422]=’双鸭山’;cityArr[27][423]=’大庆’;cityArr[27][424]=’伊春’;cityArr[27][425]=’佳木斯’;cityArr[27][426]=’七台河’;cityArr[27][427]=’牡丹江’;cityArr[27][428]=’黑河’;cityArr[27][429]=’绥化’;cityArr[27][430]=’大兴安岭’;

cityArr[28]=new Array();
cityArr[28][431]=’昆明’;cityArr[28][432]=’曲靖’;cityArr[28][433]=’玉溪’;cityArr[28][434]=’保山’;cityArr[28][435]=’昭通’;cityArr[28][436]=’丽江’;cityArr[28][437]=’普洱’;cityArr[28][438]=’临沧’;cityArr[28][439]=’楚雄’;cityArr[28][440]=’红河’;cityArr[28][441]=’文山’;cityArr[28][442]=’西双版纳’;cityArr[28][443]=’大理’;cityArr[28][444]=’德宏’;cityArr[28][445]=’怒江’;cityArr[28][446]=’迪庆’;

cityArr[29]=new Array();
cityArr[29][447]=’呼和浩特’;cityArr[29][448]=’包头’;cityArr[29][449]=’乌海’;cityArr[29][450]=’赤峰’;cityArr[29][451]=’通辽’;cityArr[29][452]=’鄂尔多斯’;cityArr[29][453]=’呼伦贝尔’;cityArr[29][454]=’巴彦淖尔’;cityArr[29][455]=’乌兰察布’;cityArr[29][456]=’兴安’;cityArr[29][457]=’锡林郭勒’;cityArr[29][458]=’阿拉善’;

cityArr[30]=new Array();
cityArr[30][459]=’乌鲁木齐’;cityArr[30][460]=’克拉玛依’;cityArr[30][461]=’吐鲁番’;cityArr[30][462]=’哈密’;cityArr[30][463]=’昌吉’;cityArr[30][464]=’博尔塔拉’;cityArr[30][465]=’巴音郭楞’;cityArr[30][466]=’阿克苏’;cityArr[30][467]=’克孜勒苏’;cityArr[30][468]=’喀什’;cityArr[30][469]=’和田’;cityArr[30][470]=’伊犁’;cityArr[30][471]=’塔城’;cityArr[30][472]=’阿勒泰’;cityArr[30][473]=’石河子’;cityArr[30][474]=’阿拉尔’;cityArr[30][475]=’图木舒克’;cityArr[30][476]=’五家渠’;cityArr[30][477]=’北屯’;

cityArr[31]=new Array();
cityArr[31][478]=’拉萨’;cityArr[31][479]=’昌都’;cityArr[31][480]=’山南’;cityArr[31][481]=’日喀则’;cityArr[31][482]=’那曲’;cityArr[31][483]=’阿里’;cityArr[31][484]=’林芝’;

cityArr[32]=new Array();
cityArr[32][485]=’中西区’;cityArr[32][486]=’东区’;cityArr[32][487]=’九龙城区’;cityArr[32][488]=’观塘区’;cityArr[32][489]=’南区’;cityArr[32][490]=’深水埗区’;cityArr[32][491]=’黄大仙区’;cityArr[32][492]=’湾仔区’;cityArr[32][493]=’油尖旺区’;cityArr[32][494]=’离岛区’;cityArr[32][495]=’葵青区’;cityArr[32][496]=’北区’;cityArr[32][497]=’西贡区’;cityArr[32][498]=’沙田区’;cityArr[32][499]=’屯门区’;cityArr[32][500]=’大埔区’;cityArr[32][501]=’荃湾区’;cityArr[32][502]=’元朗区’;

cityArr[33]=new Array();
cityArr[33][503]=’花地玛堂区’;cityArr[33][504]=’圣安多尼堂区’;cityArr[33][505]=’大堂区’;cityArr[33][506]=’望德堂区’;cityArr[33][507]=’风顺堂区’;cityArr[33][508]=’氹仔’;cityArr[33][509]=’路环’;

cityArr[34]=new Array();
cityArr[34][510]=’台北市’;cityArr[34][511]=’高雄市’;cityArr[34][512]=’基隆市’;cityArr[34][513]=’台中市’;cityArr[34][514]=’台南市’;cityArr[34][515]=’新竹市’;cityArr[34][516]=’嘉义市’;cityArr[34][517]=’台北县’;cityArr[34][518]=’宜兰县’;cityArr[34][519]=’桃园县’;cityArr[34][520]=’新竹县’;cityArr[34][521]=’苗栗县’;cityArr[34][522]=’台中县’;cityArr[34][523]=’彰化县’;cityArr[34][524]=’南投县’;cityArr[34][525]=’云林县’;cityArr[34][526]=’嘉义县’;cityArr[34][527]=’台南县’;cityArr[34][528]=’高雄县’;cityArr[34][529]=’屏东县’;cityArr[34][530]=’澎湖县’;cityArr[34][531]=’台东县’;cityArr[34][532]=’花莲县’;

var quhaoArr=new Array();
quhaoArr[1010]=’pid=0@id=1′;quhaoArr[1021]=’pid=0@id=2′;quhaoArr[1022]=’pid=0@id=3′;quhaoArr[1023]=’pid=0@id=4′;quhaoArr[10551]=’pid=5@id=126′;quhaoArr[10553]=’pid=5@id=127′;quhaoArr[10552]=’pid=5@id=128′;quhaoArr[10554]=’pid=5@id=129′;quhaoArr[10555]=’pid=5@id=130′;quhaoArr[10561]=’pid=5@id=131′;quhaoArr[10562]=’pid=5@id=132′;quhaoArr[10556]=’pid=5@id=133′;quhaoArr[10559]=’pid=5@id=134′;quhaoArr[10550]=’pid=5@id=135′;quhaoArr[10558]=’pid=5@id=136′;quhaoArr[10557]=’pid=5@id=137′;quhaoArr[10564]=’pid=5@id=138′;quhaoArr[10558]=’pid=5@id=139′;quhaoArr[10566]=’pid=5@id=140′;quhaoArr[10563]=’pid=5@id=141′;quhaoArr[10571]=’pid=6@id=142′;quhaoArr[10574]=’pid=6@id=143′;quhaoArr[10577]=’pid=6@id=144′;quhaoArr[10573]=’pid=6@id=145′;quhaoArr[10572]=’pid=6@id=146′;quhaoArr[10575]=’pid=6@id=147′;quhaoArr[10579]=’pid=6@id=148′;quhaoArr[10570]=’pid=6@id=149′;quhaoArr[10580]=’pid=6@id=150′;quhaoArr[10576]=’pid=6@id=151′;quhaoArr[10578]=’pid=6@id=152′;quhaoArr[1025]=’pid=7@id=153′;quhaoArr[10510]=’pid=7@id=154′;quhaoArr[10516]=’pid=7@id=155′;quhaoArr[10519]=’pid=7@id=156′;quhaoArr[10512]=’pid=7@id=157′;quhaoArr[10513]=’pid=7@id=158′;quhaoArr[10518]=’pid=7@id=159′;quhaoArr[10517]=’pid=7@id=160′;quhaoArr[10515]=’pid=7@id=161′;quhaoArr[10514]=’pid=7@id=162′;quhaoArr[10511]=’pid=7@id=163′;quhaoArr[10523]=’pid=7@id=164′;quhaoArr[10527]=’pid=7@id=165′;quhaoArr[10591]=’pid=8@id=166′;quhaoArr[10592]=’pid=8@id=167′;quhaoArr[10594]=’pid=8@id=168′;quhaoArr[10598]=’pid=8@id=169′;quhaoArr[10595]=’pid=8@id=170′;quhaoArr[10596]=’pid=8@id=171′;quhaoArr[10599]=’pid=8@id=172′;quhaoArr[10597]=’pid=8@id=173′;quhaoArr[10593]=’pid=8@id=174′;quhaoArr[1020]=’pid=9@id=175′;quhaoArr[10751]=’pid=9@id=176′;quhaoArr[10755]=’pid=9@id=177′;quhaoArr[10756]=’pid=9@id=178′;quhaoArr[10754]=’pid=9@id=179′;quhaoArr[10757]=’pid=9@id=180′;quhaoArr[10750]=’pid=9@id=181′;quhaoArr[10759]=’pid=9@id=182′;quhaoArr[10668]=’pid=9@id=183′;quhaoArr[10758]=’pid=9@id=184′;quhaoArr[10752]=’pid=9@id=185′;quhaoArr[10753]=’pid=9@id=186′;quhaoArr[10660]=’pid=9@id=187′;quhaoArr[10762]=’pid=9@id=188′;quhaoArr[10662]=’pid=9@id=189′;quhaoArr[10763]=’pid=9@id=190′;quhaoArr[10769]=’pid=9@id=191′;quhaoArr[10760]=’pid=9@id=192′;quhaoArr[10768]=’pid=9@id=193′;quhaoArr[10663]=’pid=9@id=194′;quhaoArr[10766]=’pid=9@id=195′;quhaoArr[10771]=’pid=10@id=196′;quhaoArr[10772]=’pid=10@id=197′;quhaoArr[10773]=’pid=10@id=198′;quhaoArr[10774]=’pid=10@id=199′;quhaoArr[10779]=’pid=10@id=200′;quhaoArr[10770]=’pid=10@id=201′;quhaoArr[10777]=’pid=10@id=202′;quhaoArr[10775]=’pid=10@id=203′;quhaoArr[10775]=’pid=10@id=204′;quhaoArr[10776]=’pid=10@id=205′;quhaoArr[10774]=’pid=10@id=206′;quhaoArr[10778]=’pid=10@id=207′;quhaoArr[10772]=’pid=10@id=208′;quhaoArr[10771]=’pid=10@id=209′;quhaoArr[10311]=’pid=11@id=210′;quhaoArr[10315]=’pid=11@id=211′;quhaoArr[10335]=’pid=11@id=212′;quhaoArr[10310]=’pid=11@id=213′;quhaoArr[10319]=’pid=11@id=214′;quhaoArr[10312]=’pid=11@id=215′;quhaoArr[10313]=’pid=11@id=216′;quhaoArr[10314]=’pid=11@id=217′;quhaoArr[10317]=’pid=11@id=218′;quhaoArr[10316]=’pid=11@id=219′;quhaoArr[10318]=’pid=11@id=220′;quhaoArr[10371]=’pid=12@id=221′;quhaoArr[10371]=’pid=12@id=222′;quhaoArr[10379]=’pid=12@id=223′;quhaoArr[10375]=’pid=12@id=224′;quhaoArr[10372]=’pid=12@id=225′;quhaoArr[10392]=’pid=12@id=226′;quhaoArr[10373]=’pid=12@id=227′;quhaoArr[10391]=’pid=12@id=228′;quhaoArr[10393]=’pid=12@id=229′;quhaoArr[10374]=’pid=12@id=230′;quhaoArr[10395]=’pid=12@id=231′;quhaoArr[10398]=’pid=12@id=232′;quhaoArr[10377]=’pid=12@id=233′;quhaoArr[10370]=’pid=12@id=234′;quhaoArr[10376]=’pid=12@id=235′;quhaoArr[10394]=’pid=12@id=236′;quhaoArr[10396]=’pid=12@id=237′;quhaoArr[10391]=’pid=12@id=238′;quhaoArr[1027]=’pid=13@id=239′;quhaoArr[10714]=’pid=13@id=240′;quhaoArr[10719]=’pid=13@id=241′;quhaoArr[10717]=’pid=13@id=242′;quhaoArr[10710]=’pid=13@id=243′;quhaoArr[10711]=’pid=13@id=244′;quhaoArr[10727]=’pid=13@id=245′;quhaoArr[10712]=’pid=13@id=246′;quhaoArr[10716]=’pid=13@id=247′;quhaoArr[10713]=’pid=13@id=248′;quhaoArr[10715]=’pid=13@id=249′;quhaoArr[10722]=’pid=13@id=250′;quhaoArr[10718]=’pid=13@id=251′;quhaoArr[10728]=’pid=13@id=252′;quhaoArr[10728]=’pid=13@id=253′;quhaoArr[10728]=’pid=13@id=254′;quhaoArr[10719]=’pid=13@id=255′;quhaoArr[10731]=’pid=14@id=256′;quhaoArr[10731]=’pid=14@id=257′;quhaoArr[10731]=’pid=14@id=258′;quhaoArr[10734]=’pid=14@id=259′;quhaoArr[10739]=’pid=14@id=260′;quhaoArr[10730]=’pid=14@id=261′;quhaoArr[10736]=’pid=14@id=262′;quhaoArr[10744]=’pid=14@id=263′;quhaoArr[10737]=’pid=14@id=264′;quhaoArr[10735]=’pid=14@id=265′;quhaoArr[10746]=’pid=14@id=266′;quhaoArr[10745]=’pid=14@id=267′;quhaoArr[10738]=’pid=14@id=268′;quhaoArr[10743]=’pid=14@id=269′;quhaoArr[10431]=’pid=15@id=270′;quhaoArr[10432]=’pid=15@id=271′;quhaoArr[10434]=’pid=15@id=272′;quhaoArr[10437]=’pid=15@id=273′;quhaoArr[10435]=’pid=15@id=274′;quhaoArr[10439]=’pid=15@id=275′;quhaoArr[10438]=’pid=15@id=276′;quhaoArr[10436]=’pid=15@id=277′;quhaoArr[10433]=’pid=15@id=278′;quhaoArr[10791]=’pid=16@id=279′;quhaoArr[10798]=’pid=16@id=280′;quhaoArr[10799]=’pid=16@id=281′;quhaoArr[10792]=’pid=16@id=282′;quhaoArr[10790]=’pid=16@id=283′;quhaoArr[10701]=’pid=16@id=284′;quhaoArr[10797]=’pid=16@id=285′;quhaoArr[10796]=’pid=16@id=286′;quhaoArr[10795]=’pid=16@id=287′;quhaoArr[10794]=’pid=16@id=288′;quhaoArr[10793]=’pid=16@id=289′;quhaoArr[10531]=’pid=17@id=290′;quhaoArr[10532]=’pid=17@id=291′;quhaoArr[10533]=’pid=17@id=292′;quhaoArr[10632]=’pid=17@id=293′;quhaoArr[10546]=’pid=17@id=294′;quhaoArr[10535]=’pid=17@id=295′;quhaoArr[10536]=’pid=17@id=296′;quhaoArr[10537]=’pid=17@id=297′;quhaoArr[10538]=’pid=17@id=298′;quhaoArr[10631]=’pid=17@id=299′;quhaoArr[10633]=’pid=17@id=300′;quhaoArr[10634]=’pid=17@id=301′;quhaoArr[10539]=’pid=17@id=302′;quhaoArr[10534]=’pid=17@id=303′;quhaoArr[10635]=’pid=17@id=304′;quhaoArr[10543]=’pid=17@id=305′;quhaoArr[10530]=’pid=17@id=306′;quhaoArr[10351]=’pid=18@id=307′;quhaoArr[10352]=’pid=18@id=308′;quhaoArr[10353]=’pid=18@id=309′;quhaoArr[10355]=’pid=18@id=310′;quhaoArr[10356]=’pid=18@id=311′;quhaoArr[10349]=’pid=18@id=312′;quhaoArr[10354]=’pid=18@id=313′;quhaoArr[10359]=’pid=18@id=314′;quhaoArr[10350]=’pid=18@id=315′;quhaoArr[10357]=’pid=18@id=316′;quhaoArr[10358]=’pid=18@id=317′;quhaoArr[1029]=’pid=19@id=318′;quhaoArr[10919]=’pid=19@id=319′;quhaoArr[10917]=’pid=19@id=320′;quhaoArr[1029]=’pid=19@id=321′;quhaoArr[10913]=’pid=19@id=322′;quhaoArr[10911]=’pid=19@id=323′;quhaoArr[10916]=’pid=19@id=324′;quhaoArr[10912]=’pid=19@id=325′;quhaoArr[10915]=’pid=19@id=326′;quhaoArr[10914]=’pid=19@id=327′;quhaoArr[10931]=’pid=20@id=328′;quhaoArr[10937]=’pid=20@id=329′;quhaoArr[10935]=’pid=20@id=330′;quhaoArr[10943]=’pid=20@id=331′;quhaoArr[10938]=’pid=20@id=332′;quhaoArr[10935]=’pid=20@id=333′;quhaoArr[10936]=’pid=20@id=334′;quhaoArr[10933]=’pid=20@id=335′;quhaoArr[10937]=’pid=20@id=336′;quhaoArr[10934]=’pid=20@id=337′;quhaoArr[10932]=’pid=20@id=338′;quhaoArr[10939]=’pid=20@id=339′;quhaoArr[10930]=’pid=20@id=340′;quhaoArr[10941]=’pid=20@id=341′;quhaoArr[1024]=’pid=21@id=342′;quhaoArr[10411]=’pid=21@id=343′;quhaoArr[10555]=’pid=21@id=344′;quhaoArr[1024]=’pid=21@id=345′;quhaoArr[10414]=’pid=21@id=346′;quhaoArr[10415]=’pid=21@id=347′;quhaoArr[10416]=’pid=21@id=348′;quhaoArr[10417]=’pid=21@id=349′;quhaoArr[10418]=’pid=21@id=350′;quhaoArr[10419]=’pid=21@id=351′;quhaoArr[10427]=’pid=21@id=352′;quhaoArr[1024]=’pid=21@id=353′;quhaoArr[10421]=’pid=21@id=354′;quhaoArr[10429]=’pid=21@id=355′;quhaoArr[10851]=’pid=22@id=356′;quhaoArr[10858]=’pid=22@id=357′;quhaoArr[10852]=’pid=22@id=358′;quhaoArr[10853]=’pid=22@id=359′;quhaoArr[10856]=’pid=22@id=360′;quhaoArr[10859]=’pid=22@id=361′;quhaoArr[10857]=’pid=22@id=362′;quhaoArr[10855]=’pid=22@id=363′;quhaoArr[10854]=’pid=22@id=364′;quhaoArr[10951]=’pid=23@id=365′;quhaoArr[10952]=’pid=23@id=366′;quhaoArr[10953]=’pid=23@id=367′;quhaoArr[10954]=’pid=23@id=368′;quhaoArr[10955]=’pid=23@id=369′;quhaoArr[1028]=’pid=24@id=370′;quhaoArr[10813]=’pid=24@id=371′;quhaoArr[10812]=’pid=24@id=372′;quhaoArr[10830]=’pid=24@id=373′;quhaoArr[10838]=’pid=24@id=374′;quhaoArr[10816]=’pid=24@id=375′;quhaoArr[10839]=’pid=24@id=376′;quhaoArr[10825]=’pid=24@id=377′;quhaoArr[10832]=’pid=24@id=378′;quhaoArr[10833]=’pid=24@id=379′;quhaoArr[10817]=’pid=24@id=380′;quhaoArr[1028]=’pid=24@id=381′;quhaoArr[10831]=’pid=24@id=382′;quhaoArr[10826]=’pid=24@id=383′;quhaoArr[10818]=’pid=24@id=384′;quhaoArr[10835]=’pid=24@id=385′;quhaoArr[10827]=’pid=24@id=386′;quhaoArr[1028]=’pid=24@id=387′;quhaoArr[10837]=’pid=24@id=388′;quhaoArr[10836]=’pid=24@id=389′;quhaoArr[10834]=’pid=24@id=390′;quhaoArr[10898]=’pid=25@id=391′;quhaoArr[10898]=’pid=25@id=392′;quhaoArr[10898]=’pid=25@id=393′;quhaoArr[10898]=’pid=25@id=394′;quhaoArr[10898]=’pid=25@id=395′;quhaoArr[10898]=’pid=25@id=396′;quhaoArr[10898]=’pid=25@id=397′;quhaoArr[10898]=’pid=25@id=398′;quhaoArr[10898]=’pid=25@id=399′;quhaoArr[10898]=’pid=25@id=400′;quhaoArr[10898]=’pid=25@id=401′;quhaoArr[10898]=’pid=25@id=402′;quhaoArr[10898]=’pid=25@id=403′;quhaoArr[10898]=’pid=25@id=404′;quhaoArr[10898]=’pid=25@id=405′;quhaoArr[10898]=’pid=25@id=406′;quhaoArr[10898]=’pid=25@id=407′;quhaoArr[10898]=’pid=25@id=408′;quhaoArr[10898]=’pid=25@id=409′;quhaoArr[10971]=’pid=26@id=410′;quhaoArr[10972]=’pid=26@id=411′;quhaoArr[10970]=’pid=26@id=412′;quhaoArr[10973]=’pid=26@id=413′;quhaoArr[10974]=’pid=26@id=414′;quhaoArr[10975]=’pid=26@id=415′;quhaoArr[10976]=’pid=26@id=416′;quhaoArr[10979]=’pid=26@id=417′;quhaoArr[10451]=’pid=27@id=418′;quhaoArr[10452]=’pid=27@id=419′;quhaoArr[10467]=’pid=27@id=420′;quhaoArr[10468]=’pid=27@id=421′;quhaoArr[10469]=’pid=27@id=422′;quhaoArr[10459]=’pid=27@id=423′;quhaoArr[10458]=’pid=27@id=424′;quhaoArr[10454]=’pid=27@id=425′;quhaoArr[10464]=’pid=27@id=426′;quhaoArr[10453]=’pid=27@id=427′;quhaoArr[10456]=’pid=27@id=428′;quhaoArr[10455]=’pid=27@id=429′;quhaoArr[10457]=’pid=27@id=430′;quhaoArr[10871]=’pid=28@id=431′;quhaoArr[10874]=’pid=28@id=432′;quhaoArr[10877]=’pid=28@id=433′;quhaoArr[10875]=’pid=28@id=434′;quhaoArr[10870]=’pid=28@id=435′;quhaoArr[10888]=’pid=28@id=436′;quhaoArr[10879]=’pid=28@id=437′;quhaoArr[10883]=’pid=28@id=438′;quhaoArr[10878]=’pid=28@id=439′;quhaoArr[10873]=’pid=28@id=440′;quhaoArr[10876]=’pid=28@id=441′;quhaoArr[10691]=’pid=28@id=442′;quhaoArr[10872]=’pid=28@id=443′;quhaoArr[10692]=’pid=28@id=444′;quhaoArr[10886]=’pid=28@id=445′;quhaoArr[10887]=’pid=28@id=446′;quhaoArr[10471]=’pid=29@id=447′;quhaoArr[10472]=’pid=29@id=448′;quhaoArr[10473]=’pid=29@id=449′;quhaoArr[10476]=’pid=29@id=450′;quhaoArr[10475]=’pid=29@id=451′;quhaoArr[10477]=’pid=29@id=452′;quhaoArr[10470]=’pid=29@id=453′;quhaoArr[10478]=’pid=29@id=454′;quhaoArr[10474]=’pid=29@id=455′;quhaoArr[10482]=’pid=29@id=456′;quhaoArr[10479]=’pid=29@id=457′;quhaoArr[10483]=’pid=29@id=458′;quhaoArr[10991]=’pid=30@id=459′;quhaoArr[10990]=’pid=30@id=460′;quhaoArr[10995]=’pid=30@id=461′;quhaoArr[10902]=’pid=30@id=462′;quhaoArr[10994]=’pid=30@id=463′;quhaoArr[10909]=’pid=30@id=464′;quhaoArr[10996]=’pid=30@id=465′;quhaoArr[10997]=’pid=30@id=466′;quhaoArr[10908]=’pid=30@id=467′;quhaoArr[10998]=’pid=30@id=468′;quhaoArr[10903]=’pid=30@id=469′;quhaoArr[10999]=’pid=30@id=470′;quhaoArr[10901]=’pid=30@id=471′;quhaoArr[10906]=’pid=30@id=472′;quhaoArr[10993]=’pid=30@id=473′;quhaoArr[10997]=’pid=30@id=474′;quhaoArr[10998]=’pid=30@id=475′;quhaoArr[10994]=’pid=30@id=476′;quhaoArr[10906]=’pid=30@id=477′;quhaoArr[10891]=’pid=31@id=478′;quhaoArr[10895]=’pid=31@id=479′;quhaoArr[10893]=’pid=31@id=480′;quhaoArr[10892]=’pid=31@id=481′;quhaoArr[10896]=’pid=31@id=482′;quhaoArr[10897]=’pid=31@id=483′;quhaoArr[10894]=’pid=31@id=484′;quhaoArr[1852]=’pid=0@id=32′;quhaoArr[1853]=’pid=0@id=33′;quhaoArr[1886]=’pid=0@id=34′;

php数组高级操作【取前几个、多维排序、随机位置插入新值】

2014年11月17日 没有评论

本文记录php的一些对数组的高级操作方法

1,取前几个

array_slice($array,0,3);//数组+起始位置+长度

———————————————————-

2,多维数组排序

比如现在有一个多维数组如下:

$array[]=array(‘paixu’=>1,’value’=>array(‘id’=>1,’title’=>’百度’));

$array[]=array(‘paixu’=>9,’value’=>array(‘id’=>2,’title’=>’腾讯’));

$array[]=array(‘paixu’=>8,’value’=>array(‘id’=>3,’title’=>’新浪’));

实际上我最终需要的数组格式是:

$resultArray=array(

array(‘id’=>1,’title’=>’百度’),

array(‘id’=>3,’title’=>’新浪’),

array(‘id’=>2,’title’=>’腾讯’)

)

即按照$array中的key为paixu来排序,代码如下:

foreach($arrayas $key=>$row) {
$paixu[$key]=$row[‘paixu’];
}
array_multisort($paixu,SORT_ASC,$array);
foreach($toplist as $key=>$row) {
$resultArray[]=$row[‘value’];
}
$resultArray为最终所得数组

———————————————————-

3,随机位置插入新数组

现在有2个数组,我希望实现的功能为:

取第一个数组的前3位聚合一个临时数组为最终数组

这个临时数组为第2个数组中随机位置插入第一个数字的后3位(循环)

实现代码如下:

$randtoplist=array(
array(‘id’=>1,’title’=>’百度’),
array(‘id’=>2,’title’=>’谷歌’),
array(‘id’=>3,’title’=>’新浪’),
array(‘id’=>4,’title’=>’网易’),
array(‘id’=>5,’title’=>’36kr’),
array(‘id’=>6,’title’=>’腾讯’),
array(‘id’=>7,’title’=>’360’)
);
$count_randtoplist=count($randtoplist);

$randtoplist_pre_three=array_slice($randtoplist,0,3);
$randtoplist_after_three=array_slice($randtoplist,3,$count_randtoplist);

//将除了$randtoplist以外的先聚合
$result=array(
array(‘id’=>11,’title’=>’google’),
array(‘id’=>12,’title’=>’apple’),
array(‘id’=>13,’title’=>’godaddy’),
array(‘id’=>14,’title’=>’新网’),
array(‘id’=>15,’title’=>’万网’),
array(‘id’=>16,’title’=>’柒帮’),
array(‘id’=>17,’title’=>’新网互联’)
);
$count_result=count($result);

//将3条以后的记录插入到$result
foreach($randtoplist_after_three as $k=>$v) {
array_splice($result,mt_rand(0,$count_result),0,array($v));
$count_result++;
}

//最后将前3条聚合,形成最终的$result
$result=array_merge($randtoplist_pre_three,$result);

分类: php学习 标签: , , ,
css.php