flea_class_index.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?php defined('InShopNC') or exit('Access Invalid!');?>
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <h3>首页分类设置</h3>
  6. <ul class="tab-base">
  7. <li><a href="JavaScript:void(0);" class="current"><span>设置信息</span></a></li>
  8. </ul>
  9. </div>
  10. </div>
  11. <div class="fixed-empty"></div>
  12. <form method="post" enctype="multipart/form-data" name="form1">
  13. <input type="hidden" name="form_submit" value="ok" />
  14. <table class="table tb-type2">
  15. <tbody>
  16. <tr class="noborder">
  17. <td colspan="2" class="required"><label for="flea_site_name">数码:</label></td>
  18. </tr>
  19. <tr class="noborder">
  20. <td class="vatop rowform" style="width: 600px">
  21. <select name="shuma_cid1">
  22. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  23. <?php foreach($output['goods_class'] as $val) { ?>
  24. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['shuma']['fc_index_id1']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  25. <?php } ?>
  26. </select>
  27. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="shuma_cname1" value="<?php echo $output['shuma']['fc_index_name1']?>" style="width: 250px" />
  28. </td>
  29. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  30. </tr>
  31. <tr class="noborder">
  32. <td class="vatop rowform" style="width: 600px">
  33. <select name="shuma_cid2">
  34. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  35. <?php foreach($output['goods_class'] as $val) { ?>
  36. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['shuma']['fc_index_id2']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  37. <?php } ?>
  38. </select>
  39. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="shuma_cname2" value="<?php echo $output['shuma']['fc_index_name2']?>" style="width: 250px" />
  40. </td>
  41. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  42. </tr>
  43. <tr class="noborder">
  44. <td class="vatop rowform" style="width: 600px">
  45. <select name="shuma_cid3">
  46. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  47. <?php foreach($output['goods_class'] as $val) { ?>
  48. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['shuma']['fc_index_id3']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  49. <?php } ?>
  50. </select>
  51. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="shuma_cname3" value="<?php echo $output['shuma']['fc_index_name3']?>" style="width: 250px" />
  52. </td>
  53. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  54. </tr>
  55. <tr class="noborder">
  56. <td class="vatop rowform" style="width: 600px">
  57. <select name="shuma_cid4">
  58. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  59. <?php foreach($output['goods_class'] as $val) { ?>
  60. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['shuma']['fc_index_id4']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  61. <?php } ?>
  62. </select>
  63. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="shuma_cname4" value="<?php echo $output['shuma']['fc_index_name4']?>" style="width: 250px" />
  64. </td>
  65. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  66. </tr>
  67. <tr>
  68. <td colspan="2" class="required"><label for="flea_site_title">装扮:</label></td>
  69. </tr>
  70. <tr class="noborder">
  71. <td class="vatop rowform" style="width: 600px">
  72. <select name="zhuangban_cid1">
  73. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  74. <?php foreach($output['goods_class'] as $val) { ?>
  75. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['zhuangban']['fc_index_id1']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  76. <?php } ?>
  77. </select>
  78. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="zhuangban_cname1" value="<?php echo $output['zhuangban']['fc_index_name1']?>" style="width: 250px" />
  79. </td>
  80. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  81. </tr>
  82. <tr class="noborder">
  83. <td class="vatop rowform" style="width: 600px">
  84. <select name="zhuangban_cid2">
  85. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  86. <?php foreach($output['goods_class'] as $val) { ?>
  87. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['zhuangban']['fc_index_id2']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  88. <?php } ?>
  89. </select>
  90. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="zhuangban_cname2" value="<?php echo $output['zhuangban']['fc_index_name2']?>" style="width: 250px" />
  91. </td>
  92. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  93. </tr>
  94. <tr class="noborder">
  95. <td class="vatop rowform" style="width: 600px">
  96. <select name="zhuangban_cid3">
  97. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  98. <?php foreach($output['goods_class'] as $val) { ?>
  99. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['zhuangban']['fc_index_id3']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  100. <?php } ?>
  101. </select>
  102. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="zhuangban_cname3" value="<?php echo $output['zhuangban']['fc_index_name3']?>" style="width: 250px" />
  103. </td>
  104. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  105. </tr>
  106. <tr class="noborder">
  107. <td class="vatop rowform" style="width: 600px">
  108. <select name="zhuangban_cid4">
  109. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  110. <?php foreach($output['goods_class'] as $val) { ?>
  111. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['zhuangban']['fc_index_id4']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  112. <?php } ?>
  113. </select>
  114. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="zhuangban_cname4" value="<?php echo $output['zhuangban']['fc_index_name4']?>" style="width: 250px" />
  115. </td>
  116. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  117. </tr>
  118. <tr>
  119. <td colspan="2" class="required"><label for="flea_site_description">居家:</label></td>
  120. </tr>
  121. <tr class="noborder">
  122. <td class="vatop rowform" style="width: 600px">
  123. <select name="jujia_cid1">
  124. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  125. <?php foreach($output['goods_class'] as $val) { ?>
  126. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['jujia']['fc_index_id1']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  127. <?php } ?>
  128. </select>
  129. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="jujia_cname1" value="<?php echo $output['jujia']['fc_index_name1']?>" style="width: 250px" />
  130. </td>
  131. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  132. </tr>
  133. <tr class="noborder">
  134. <td class="vatop rowform" style="width: 600px">
  135. <select name="jujia_cid2">
  136. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  137. <?php foreach($output['goods_class'] as $val) { ?>
  138. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['jujia']['fc_index_id2']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  139. <?php } ?>
  140. </select>
  141. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="jujia_cname2" value="<?php echo $output['jujia']['fc_index_name2']?>" style="width: 250px" />
  142. </td>
  143. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  144. </tr>
  145. <tr class="noborder">
  146. <td class="vatop rowform" style="width: 600px">
  147. <select name="jujia_cid3">
  148. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  149. <?php foreach($output['goods_class'] as $val) { ?>
  150. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['jujia']['fc_index_id3']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  151. <?php } ?>
  152. </select>
  153. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="jujia_cname3" value="<?php echo $output['jujia']['fc_index_name3']?>" style="width: 250px" />
  154. </td>
  155. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  156. </tr>
  157. <tr class="noborder">
  158. <td class="vatop rowform" style="width: 600px">
  159. <select name="jujia_cid4">
  160. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  161. <?php foreach($output['goods_class'] as $val) { ?>
  162. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['jujia']['fc_index_id4']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  163. <?php } ?>
  164. </select>
  165. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="jujia_cname4" value="<?php echo $output['jujia']['fc_index_name4']?>" style="width: 250px" />
  166. </td>
  167. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  168. </tr>
  169. <tr>
  170. <td colspan="2" class="required">装扮:</td>
  171. </tr>
  172. <tr class="noborder">
  173. <td class="vatop rowform" style="width: 600px">
  174. <select name="xingqu_cid1">
  175. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  176. <?php foreach($output['goods_class'] as $val) { ?>
  177. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['xingqu']['fc_index_id1']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  178. <?php } ?>
  179. </select>
  180. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="xingqu_cname1" value="<?php echo $output['xingqu']['fc_index_name1']?>" style="width: 250px" />
  181. </td>
  182. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  183. </tr>
  184. <tr class="noborder">
  185. <td class="vatop rowform" style="width: 600px">
  186. <select name="xingqu_cid2">
  187. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  188. <?php foreach($output['goods_class'] as $val) { ?>
  189. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['xingqu']['fc_index_id2']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  190. <?php } ?>
  191. </select>
  192. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="xingqu_cname2" value="<?php echo $output['xingqu']['fc_index_name2']?>" style="width: 250px" />
  193. </td>
  194. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  195. </tr>
  196. <tr class="noborder">
  197. <td class="vatop rowform" style="width: 600px">
  198. <select name="xingqu_cid3">
  199. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  200. <?php foreach($output['goods_class'] as $val) { ?>
  201. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['xingqu']['fc_index_id3']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  202. <?php } ?>
  203. </select>
  204. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="xingqu_cname3" value="<?php echo $output['xingqu']['fc_index_name3']?>" style="width: 250px" />
  205. </td>
  206. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  207. </tr>
  208. <tr class="noborder">
  209. <td class="vatop rowform" style="width: 600px">
  210. <select name="xingqu_cid4">
  211. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  212. <?php foreach($output['goods_class'] as $val) { ?>
  213. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['xingqu']['fc_index_id4']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  214. <?php } ?>
  215. </select>
  216. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="xingqu_cname4" value="<?php echo $output['xingqu']['fc_index_name4']?>" style="width: 250px" />
  217. </td>
  218. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  219. </tr>
  220. <tr>
  221. <td colspan="2" class="required"><label for="flea_hot_search">母婴:</label></td>
  222. </tr>
  223. <tr class="noborder">
  224. <td class="vatop rowform" style="width: 600px">
  225. <select name="muying_cid1">
  226. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  227. <?php foreach($output['goods_class'] as $val) { ?>
  228. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['muying']['fc_index_id1']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  229. <?php } ?>
  230. </select>
  231. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="muying_cname1" value="<?php echo $output['muying']['fc_index_name1']?>" style="width: 250px" />
  232. </td>
  233. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  234. </tr>
  235. <tr class="noborder">
  236. <td class="vatop rowform" style="width: 600px">
  237. <select name="muying_cid2">
  238. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  239. <?php foreach($output['goods_class'] as $val) { ?>
  240. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['muying']['fc_index_id2']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  241. <?php } ?>
  242. </select>
  243. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="muying_cname2" value="<?php echo $output['muying']['fc_index_name2']?>" style="width: 250px" />
  244. </td>
  245. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  246. </tr>
  247. <tr class="noborder">
  248. <td class="vatop rowform" style="width: 600px">
  249. <select name="muying_cid3">
  250. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  251. <?php foreach($output['goods_class'] as $val) { ?>
  252. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['muying']['fc_index_id3']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  253. <?php } ?>
  254. </select>
  255. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="muying_cname3" value="<?php echo $output['muying']['fc_index_name3']?>" style="width: 250px" />
  256. </td>
  257. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  258. </tr>
  259. <tr class="noborder">
  260. <td class="vatop rowform" style="width: 600px">
  261. <select name="muying_cid4">
  262. <option value="0"><?php echo $lang['nc_please_choose'];?>...</option>
  263. <?php foreach($output['goods_class'] as $val) { ?>
  264. <option value="<?php echo $val['gc_id']; ?>"<?php if ($output['muying']['fc_index_id4']==$val['gc_id'])echo ' selected="selected"';?>><?php echo $val['gc_name']; ?></option>
  265. <?php } ?>
  266. </select>
  267. <span style="padding:0 3px;"><?php echo $lang['flea_index_class_setting_as'];?>:</span><input type="text" name="muying_cname4" value="<?php echo $output['muying']['fc_index_name4']?>" style="width: 250px" />
  268. </td>
  269. <td class="vatop tips"><span class="vatop rowform">页首分类名称可修改为"显示为XXX",若不填则显示原分类名称</span></td>
  270. </tr>
  271. </tbody>
  272. <tfoot>
  273. <tr class="tfoot">
  274. <td colspan="2" ><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()"><span><?php echo $lang['nc_submit'];?></span></a></td>
  275. </tr>
  276. </tfoot>
  277. </table>
  278. </form>
  279. </div>