base.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.web_set}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="post" enctype="multipart/form-data" name="form1" action="">
  13. <div class="ncap-form-default">
  14. <dl>
  15. <dt>{$Think.lang.site_name}</dt>
  16. <dd>
  17. <input id="site_name" name="site_name" value="{$list_config.site_name}" class="input-txt" type="text">
  18. <span class="err"></span>
  19. <p class="notic">{$Think.lang.web_name_notice}</p>
  20. </dd>
  21. </dl>
  22. <dl>
  23. <dt>{$Think.lang.site_logo}</dt>
  24. <dd>
  25. {notempty name="$list_config.site_logo"}
  26. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  27. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.site_logo)}?{$Think.TIMESTAMP}"></div>
  28. </span>
  29. {/notempty}
  30. <span class="type-file-box"><input type='text' name='textfield' id='textfield1' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  31. <input name="site_logo" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true" ds_type="change_site_logo">
  32. </span>
  33. <p class="notic">{$Think.lang.site_logo_notice}</p>
  34. </dd>
  35. </dl>
  36. <dl>
  37. <dt>{$Think.lang.member_logo}</dt>
  38. <dd>
  39. {notempty name="$list_config.member_logo"}
  40. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  41. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.member_logo)}?{$Think.TIMESTAMP}"></div>
  42. </span>
  43. {/notempty}
  44. <span class="type-file-box"><input type='text' name='textfield' id='textfield2' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  45. <input name="member_logo" type="file" class="type-file-file" id="member_logo" size="30" hidefocus="true" ds_type="change_member_logo">
  46. </span>
  47. <p class="notic">{$Think.lang.member_logo_notice}</p>
  48. </dd>
  49. </dl>
  50. <dl>
  51. <dt>{$Think.lang.seller_center_logo}</dt>
  52. <dd>
  53. {notempty name="$list_config.seller_center_logo"}
  54. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  55. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.seller_center_logo)}?{$Think.TIMESTAMP}"></div>
  56. </span>
  57. {/notempty}
  58. <span class="type-file-box"><input type='text' name='textfield' id='textfield3' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  59. <input name="seller_center_logo" type="file" class="type-file-file" id="seller_center_logo" size="30" hidefocus="true" ds_type="change_seller_center_logo">
  60. </span>
  61. <p class="notic">{$Think.lang.seller_center_logo_notice}</p>
  62. </dd>
  63. </dl>
  64. <dl>
  65. <dt>{$Think.lang.site_mobile_logo}</dt>
  66. <dd>
  67. {notempty name="$list_config.site_mobile_logo"}
  68. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  69. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.site_mobile_logo)}?{$Think.TIMESTAMP}"></div>
  70. </span>
  71. {/notempty}
  72. <span class="type-file-box"><input type='text' name='textfield' id='textfield4' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  73. <input name="site_mobile_logo" type="file" class="type-file-file" id="site_mobile_logo" size="30" hidefocus="true" ds_type="change_site_mobile_logo">
  74. </span>
  75. <p class="notic">{$Think.lang.site_mobile_logo_notice}</p>
  76. </dd>
  77. </dl>
  78. <dl>
  79. <dt>{$Think.lang.admin_logo}</dt>
  80. <dd>
  81. {notempty name="$list_config.admin_logo"}
  82. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  83. <div class="type-file-preview"><img src="{:ds_get_pic('admin/common',config('ds_config.admin_logo'))}?{$Think.TIMESTAMP}"></div>
  84. </span>
  85. {/notempty}
  86. <span class="type-file-box"><input type='text' name='textfield' id='textfield7' class='type-file-text' /><input type='button' name='button' value='上传' class='type-file-button' />
  87. <input name="admin_logo" type="file" class="type-file-file" id="admin_logo" size="30" hidefocus="true" ds_type="change_admin_logo">
  88. </span>
  89. <p class="notic">{$Think.lang.admin_logo_notice}</p>
  90. </dd>
  91. </dl>
  92. <dl>
  93. <dt>{$Think.lang.admin_backlogo}</dt>
  94. <dd>
  95. {notempty name="$list_config.admin_backlogo"}
  96. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  97. <div class="type-file-preview"><img src="{:ds_get_pic('admin/common',config('ds_config.admin_backlogo'))}?{$Think.TIMESTAMP}"></div>
  98. </span>
  99. {/notempty}
  100. <span class="type-file-box"><input type='text' name='textfield' id='textfield8' class='type-file-text' /><input type='button' name='button' value='上传' class='type-file-button' />
  101. <input name="admin_backlogo" type="file" class="type-file-file" id="admin_backlogo" size="30" hidefocus="true" ds_type="change_admin_backlogo">
  102. </span>
  103. <p class="notic">{$Think.lang.admin_backlogo_notice}</p>
  104. </dd>
  105. </dl>
  106. <dl>
  107. <dt>{$Think.lang.site_logowx}</dt>
  108. <dd>
  109. {notempty name="$list_config.site_logowx"}
  110. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  111. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.site_logowx)}?{$Think.TIMESTAMP}"></div>
  112. </span>
  113. {/notempty}
  114. <span class="type-file-box"><input type='text' name='textfield' id='textfield5' class='type-file-text' /><input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  115. <input name="site_logowx" type="file" class="type-file-file" id="site_logowx" size="30" hidefocus="true" ds_type="change_site_logowx">
  116. </span>
  117. <p class="notic">{$Think.lang.site_logowx_notice}</p>
  118. </dd>
  119. </dl>
  120. <dl id="business_licence" class="noborder">
  121. <dt class="required"><label for="file_business_licence">{$Think.lang.config_business_licence}:</label></dt>
  122. <dd class="vatop rowform">
  123. {notempty name="$list_config.business_licence"}
  124. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  125. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.business_licence)}?{$Think.TIMESTAMP}"></div>
  126. </span>
  127. {/notempty}
  128. <span class="type-file-box">
  129. <input type='text' name='textfield' id='textfield6' class='type-file-text' />
  130. <input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  131. <input name="business_licence" id="file_business_licence" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
  132. </span>
  133. <p class="notic"></p>
  134. </dd>
  135. </dl>
  136. <dl>
  137. <dt>{$Think.lang.fixed_suspension_state}</dt>
  138. <dd>
  139. <div class="onoff">
  140. <label for="fixed_suspension_state1" class="cb-enable {if condition="$list_config.fixed_suspension_state eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  141. <label for="fixed_suspension_state0" class="cb-disable {if condition="$list_config.fixed_suspension_state eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  142. <input id="fixed_suspension_state1" name="fixed_suspension_state" value="1" type="radio" {if condition="$list_config.fixed_suspension_state eq 1"} checked="checked"{/if}>
  143. <input id="fixed_suspension_state0" name="fixed_suspension_state" value="0" type="radio" {if condition="$list_config.fixed_suspension_state eq 0"} checked="checked"{/if}>
  144. </div>
  145. </dd>
  146. </dl>
  147. <dl id="fixed_suspension_img" class="noborder">
  148. <dt class="required"><label for="file_fixed_suspension_img">{$Think.lang.fixed_suspension_img}</label></dt>
  149. <dd class="vatop rowform">
  150. {notempty name="$list_config.fixed_suspension_img"}
  151. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  152. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.fixed_suspension_img)}?{$Think.TIMESTAMP}"></div>
  153. </span>
  154. {/notempty}
  155. <span class="type-file-box">
  156. <input type='text' name='textfield' id='textfield6' class='type-file-text' />
  157. <input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  158. <input name="fixed_suspension_img" id="file_fixed_suspension_img" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
  159. </span>
  160. <p class="notic">{$Think.lang.fixed_suspension_img_notice}</p>
  161. </dd>
  162. </dl>
  163. <dl>
  164. <dt>{$Think.lang.fixed_suspension_url}</dt>
  165. <dd>
  166. <input id="fixed_suspension_url" name="fixed_suspension_url" value="{$list_config.fixed_suspension_url}" class="input-txt" type="text">
  167. <span class="err"></span>
  168. <p class="notic">{$Think.lang.fixed_suspension_url_notice}</p>
  169. </dd>
  170. </dl>
  171. <dl>
  172. <dt>{$Think.lang.hot_search}</dt>
  173. <dd>
  174. <textarea id="hot_search" name="hot_search">{$list_config.hot_search}</textarea>
  175. <span class="err"></span>
  176. <p class="notic">{$Think.lang.field_notice}</p>
  177. </dd>
  178. </dl>
  179. <dl>
  180. <dt>{$Think.lang.h5_site_url}</dt>
  181. <dd>
  182. <input id="h5_site_url" name="h5_site_url" value="{$list_config.h5_site_url}" class="input-txt" type="text">
  183. <span class="err"></span>
  184. <p class="notic"></p>
  185. </dd>
  186. </dl>
  187. <dl>
  188. <dt>{$Think.lang.h5_force_redirect}</dt>
  189. <dd>
  190. <div class="onoff">
  191. <label for="h5_force_redirect1" class="cb-enable {if condition="$list_config.h5_force_redirect eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  192. <label for="h5_force_redirect0" class="cb-disable {if condition="$list_config.h5_force_redirect eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  193. <input id="h5_force_redirect1" name="h5_force_redirect" value="1" type="radio" {if condition="$list_config.h5_force_redirect eq 1"} checked="checked"{/if}>
  194. <input id="h5_force_redirect0" name="h5_force_redirect" value="0" type="radio" {if condition="$list_config.h5_force_redirect eq 0"} checked="checked"{/if}>
  195. </div>
  196. <p class="notic">{$Think.lang.h5_force_redirect_tips}</p>
  197. </dd>
  198. </dl>
  199. <dl>
  200. <dt>{$Think.lang.baidu_map_ak_key}</dt>
  201. <dd>
  202. <input id="baidu_ak" name="baidu_ak" value="{$list_config.baidu_ak}" class="input-txt" type="text">
  203. <span class="err"></span>
  204. <p class="notic"></p>
  205. </dd>
  206. </dl>
  207. <dl>
  208. <dt>{$Think.lang.icp_number}</dt>
  209. <dd>
  210. <input id="icp_number" name="icp_number" value="{$list_config.icp_number}" class="input-txt" type="text">
  211. <span class="err"></span>
  212. <p class="notic"></p>
  213. </dd>
  214. </dl>
  215. <dl>
  216. <dt>{$Think.lang.wab_number}</dt>
  217. <dd>
  218. <input id="wab_number" name="wab_number" value="{$list_config.wab_number}" class="input-txt" type="text">
  219. <span class="err"></span>
  220. <p class="notic"></p>
  221. </dd>
  222. </dl>
  223. <dl>
  224. <dt>{$Think.lang.site_phone}</dt>
  225. <dd>
  226. <input id="site_phone" name="site_phone" value="{$list_config.site_phone}" class="input-txt" type="text">
  227. <span class="err"></span>
  228. <p class="notic"></p>
  229. </dd>
  230. </dl>
  231. <dl>
  232. <dt>{$Think.lang.site_tel400}</dt>
  233. <dd>
  234. <input id="site_tel400" name="site_tel400" value="{$list_config.site_tel400}" class="input-txt" type="text">
  235. <span class="err"></span>
  236. <p class="notic"></p>
  237. </dd>
  238. </dl>
  239. <dl>
  240. <dt>{$Think.lang.site_email}</dt>
  241. <dd>
  242. <input id="site_email" name="site_email" value="{$list_config.site_email}" class="input-txt" type="text">
  243. <span class="err"></span>
  244. <p class="notic"></p>
  245. </dd>
  246. </dl>
  247. <dl>
  248. <dt>{$Think.lang.flow_static_code}</dt>
  249. <dd>
  250. <textarea id="flow_static_code" name="flow_static_code">{$list_config.flow_static_code}</textarea>
  251. <span class="err"></span>
  252. <p class="notic">{$Think.lang.flow_static_code_notice}</p>
  253. </dd>
  254. </dl>
  255. <dl>
  256. <dt>{$Think.lang.cache_open}</dt>
  257. <dd>
  258. <div class="onoff">
  259. <label for="cache_open1" class="cb-enable {if condition="$list_config.cache_open eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  260. <label for="cache_open0" class="cb-disable {if condition="$list_config.cache_open eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  261. <input id="cache_open1" name="cache_open" value="1" type="radio" {if condition="$list_config.cache_open eq 1"} checked="checked"{/if}>
  262. <input id="cache_open0" name="cache_open" value="0" type="radio" {if condition="$list_config.cache_open eq 0"} checked="checked"{/if}>
  263. </div>
  264. </dd>
  265. </dl>
  266. <dl>
  267. <dt>{$Think.lang.site_state}</dt>
  268. <dd>
  269. <div class="onoff">
  270. <label for="site_state1" class="cb-enable {if condition="$list_config.site_state eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  271. <label for="site_state0" class="cb-disable {if condition="$list_config.site_state eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  272. <input id="site_state1" name="site_state" value="1" type="radio" {if condition="$list_config.site_state eq 1"} checked="checked"{/if}>
  273. <input id="site_state0" name="site_state" value="0" type="radio" {if condition="$list_config.site_state eq 0"} checked="checked"{/if}>
  274. </div>
  275. </dd>
  276. </dl>
  277. <dl>
  278. <dt>{$Think.lang.closed_reason}</dt>
  279. <dd>
  280. <textarea id="closed_reason" name="closed_reason">{$list_config.closed_reason}</textarea>
  281. <span class="err"></span>
  282. <p class="notic"></p>
  283. </dd>
  284. </dl>
  285. <dl>
  286. <dt></dt>
  287. <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">{$Think.lang.ds_confirm_submit}</a></dd>
  288. </dl>
  289. </div>
  290. </form>
  291. </div>
  292. <script>
  293. $(function(){
  294. $("#site_logo").change(function () {
  295. $("#textfield1").val($("#site_logo").val());
  296. });
  297. $("#member_logo").change(function () {
  298. $("#textfield2").val($("#member_logo").val());
  299. });
  300. $("#seller_center_logo").change(function () {
  301. $("#textfield3").val($("#seller_center_logo").val());
  302. });
  303. $("#site_mobile_logo").change(function () {
  304. $("#textfield4").val($("#site_mobile_logo").val());
  305. });
  306. $("#site_logowx").change(function () {
  307. $("#textfield5").val($("#site_logowx").val());
  308. });
  309. $("#file_business_licence").change(function () {
  310. $("#textfield6").val($("#file_business_licence").val());
  311. });
  312. $("#admin_logo").change(function () {
  313. $("#textfield7").val($("#admin_logo").val());
  314. });
  315. $("#admin_backlogo").change(function () {
  316. $("#textfield8").val($("#admin_backlogo").val());
  317. });
  318. })
  319. </script>