index.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  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.ds_seo_set}</h3>
  7. <h5></h5>
  8. </div>
  9. <ul class="tab-base ds-row">
  10. <li><a href="JavaScript:void(0);" dstype="index" class="current"><span>{$Think.lang.seo_set_index}</span></a></li>
  11. <li><a href="JavaScript:void(0);" dstype="group"><span>{$Think.lang.seo_set_group}</span></a></li>
  12. <li><a href="JavaScript:void(0);" dstype="brand"><span>{$Think.lang.seo_set_brand}</span></a></li>
  13. <li><a href="JavaScript:void(0);" dstype="point"><span>{$Think.lang.seo_set_point}</span></a></li>
  14. <li><a href="JavaScript:void(0);" dstype="article"><span>{$Think.lang.seo_set_article}</span></a></li>
  15. <li><a href="JavaScript:void(0);" dstype="shop"><span>{$Think.lang.seo_set_shop}</span></a></li>
  16. <li><a href="JavaScript:void(0);" dstype="product"><span>{$Think.lang.seo_set_product}</span></a></li>
  17. </ul>
  18. </div>
  19. </div>
  20. <div class="explanation" id="explanation">
  21. <div class="title" id="checkZoom">
  22. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  23. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  24. </div>
  25. <ul>
  26. <li>{$Think.lang.seo_set_prompt}</li>
  27. <li>{$Think.lang.seo_set_tips1}</li>
  28. <li>{$Think.lang.seo_set_tips2}</li>
  29. <li>{$Think.lang.seo_set_tips3}</li>
  30. <li>{$Think.lang.seo_set_tips4}</li>
  31. <li>{$Think.lang.seo_set_tips5}</li>
  32. <li>{$Think.lang.seo_set_tips6}</li>
  33. </ul>
  34. </div>
  35. <form method="post" name="form_index" id="form_index">
  36. <div class="ncap-form-default">
  37. <dl>
  38. <dt>{$Think.lang.seo_set_index}</dt>
  39. <dd>
  40. <span><a>{sitename}</a></span>
  41. </dd>
  42. </dl>
  43. <dl>
  44. <dt>{$Think.lang.title}</dt>
  45. <dd>
  46. <input id="SEO[index][seo_title]" name="SEO[index][seo_title]" value="{$seo['index']['seo_title']}" class="w830" type="text"/>
  47. </dd>
  48. </dl>
  49. <dl>
  50. <dt>{$Think.lang.keywords}</dt>
  51. <dd>
  52. <input id="SEO[index][seo_keywords]" name="SEO[index][seo_keywords]" value="{$seo['index']['seo_keywords']}" class="w830" type="text" maxlength="200" />
  53. </dd>
  54. </dl>
  55. <dl>
  56. <dt>{$Think.lang.description}</dt>
  57. <dd>
  58. <input id="SEO[index][seo_description]" name="SEO[index][seo_description]" value="{$seo['index']['seo_description']}" class="w830" type="text" maxlength="200"/>
  59. </dd>
  60. </dl>
  61. <dl>
  62. <dt></dt>
  63. <dd>
  64. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  65. </dd>
  66. </dl>
  67. </div>
  68. </form>
  69. <form method="post" name="form_group" id="form_group">
  70. <div class="ncap-form-default">
  71. <dl>
  72. <dt>{$Think.lang.seo_set_group}</dt>
  73. <dd>
  74. <span><a>{sitename}</a><a>{name}</a></span>
  75. </dd>
  76. </dl>
  77. <dl>
  78. <dt>{$Think.lang.title}</dt>
  79. <dd>
  80. <input id="SEO[group][seo_title]" name="SEO[group][seo_title]" value="{$seo['group']['seo_title']}" class="w830" type="text"/>
  81. </dd>
  82. </dl>
  83. <dl>
  84. <dt>{$Think.lang.keywords}</dt>
  85. <dd>
  86. <input id="SEO[group][seo_keywords]" name="SEO[group][seo_keywords]" value="{$seo['group']['seo_keywords']}" class="w830" type="text" />
  87. </dd>
  88. </dl>
  89. <dl>
  90. <dt>{$Think.lang.description}</dt>
  91. <dd>
  92. <input id="SEO[group][seo_description]" name="SEO[group][seo_description]" value="{$seo['group']['seo_description']}" class="w830" type="text" />
  93. </dd>
  94. </dl>
  95. <dl>
  96. <dt>{$Think.lang.seo_set_group_content}</dt>
  97. <dd>
  98. </dd>
  99. </dl>
  100. <dl>
  101. <dt>{$Think.lang.title}</dt>
  102. <dd>
  103. <input id="SEO[group_content][seo_title]" name="SEO[group_content][seo_title]" value="{$seo['group_content']['seo_title']}" class="w830" type="text" />
  104. </dd>
  105. </dl>
  106. <dl>
  107. <dt>{$Think.lang.keywords}</dt>
  108. <dd>
  109. <input id="SEO[group_content][seo_keywords]" name="SEO[group_content][seo_keywords]" value="{$seo['group_content']['seo_keywords']}" class="w830" type="text" />
  110. </dd>
  111. </dl>
  112. <dl>
  113. <dt>{$Think.lang.description}</dt>
  114. <dd>
  115. <input id="SEO[group_content][seo_description]" name="SEO[group_content][seo_description]" value="{$seo['group_content']['seo_description']}" class="w830" type="text" />
  116. </dd>
  117. </dl>
  118. <dl>
  119. <dt></dt>
  120. <dd>
  121. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  122. </dd>
  123. </dl>
  124. </div>
  125. </form>
  126. <form method="post" name="form_brand" id="form_brand">
  127. <div class="ncap-form-default">
  128. <dl>
  129. <dt>{$Think.lang.seo_set_brand}</dt>
  130. <dd>
  131. <span><a>{sitename}</a><a>{name}</a></span>
  132. </dd>
  133. </dl>
  134. <dl>
  135. <dt>{$Think.lang.title}</dt>
  136. <dd>
  137. <input id="SEO[brand][seo_title]" name="SEO[brand][seo_title]" value="{$seo['brand']['seo_title']}" class="w830" type="text"/>
  138. </dd>
  139. </dl>
  140. <dl>
  141. <dt>{$Think.lang.keywords}</dt>
  142. <dd>
  143. <input id="SEO[brand][seo_keywords]" name="SEO[brand][seo_keywords]" value="{$seo['brand']['seo_keywords']}" class="w830" type="text" />
  144. </dd>
  145. </dl>
  146. <dl>
  147. <dt>{$Think.lang.description}</dt>
  148. <dd>
  149. <input id="SEO[brand][seo_description]" name="SEO[brand][seo_description]" value="{$seo['brand']['seo_description']}" class="w830" type="text" />
  150. </dd>
  151. </dl>
  152. <dl>
  153. <dt>{$Think.lang.seo_set_brand_list}</dt>
  154. <dd>
  155. </dd>
  156. </dl>
  157. <dl>
  158. <dt>{$Think.lang.title}</dt>
  159. <dd>
  160. <input id="SEO[brand_list][seo_title]" name="SEO[brand_list][seo_title]" value="{$seo['brand_list']['seo_title']}" class="w830" type="text" />
  161. </dd>
  162. </dl>
  163. <dl>
  164. <dt>{$Think.lang.keywords}</dt>
  165. <dd>
  166. <input id="SEO[brand_list][seo_keywords]" name="SEO[brand_list][seo_keywords]" value="{$seo['brand_list']['seo_keywords']}" class="w830" type="text" />
  167. </dd>
  168. </dl>
  169. <dl>
  170. <dt>{$Think.lang.description}</dt>
  171. <dd>
  172. <input id="SEO[brand_list][seo_description]" name="SEO[brand_list][seo_description]" value="{$seo['brand_list']['seo_description']}" class="w830" type="text" />
  173. </dd>
  174. </dl>
  175. <dl>
  176. <dt></dt>
  177. <dd>
  178. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  179. </dd>
  180. </dl>
  181. </div>
  182. </form>
  183. <form method="post" name="form_point" id="form_point">
  184. <div class="ncap-form-default">
  185. <dl>
  186. <dt>{$Think.lang.seo_set_point}</dt>
  187. <dd>
  188. <span><a>{sitename}</a><a>{name}</a><a>{key}</a><a>{description}</a></span>
  189. </dd>
  190. </dl>
  191. <dl>
  192. <dt>{$Think.lang.title}</dt>
  193. <dd>
  194. <input id="SEO[point][seo_title]" name="SEO[point][seo_title]" value="{$seo['point']['seo_title']}" class="w830" type="text"/>
  195. </dd>
  196. </dl>
  197. <dl>
  198. <dt>{$Think.lang.keywords}</dt>
  199. <dd>
  200. <input id="SEO[point][seo_keywords]" name="SEO[point][seo_keywords]" value="{$seo['point']['seo_keywords']}" class="w830" type="text" />
  201. </dd>
  202. </dl>
  203. <dl>
  204. <dt>{$Think.lang.description}</dt>
  205. <dd>
  206. <input id="SEO[point][seo_description]" name="SEO[point][seo_description]" value="{$seo['point']['seo_description']}" class="w830" type="text" />
  207. </dd>
  208. </dl>
  209. <dl>
  210. <dt>{$Think.lang.seo_set_point_content}</dt>
  211. <dd>
  212. </dd>
  213. </dl>
  214. <dl>
  215. <dt>{$Think.lang.title}</dt>
  216. <dd>
  217. <input id="SEO[point_content][seo_title]" name="SEO[point_content][seo_title]" value="{$seo['point_content']['seo_title']}" class="w830" type="text" />
  218. </dd>
  219. </dl>
  220. <dl>
  221. <dt>{$Think.lang.keywords}</dt>
  222. <dd>
  223. <input id="SEO[point_content][seo_keywords]" name="SEO[point_content][seo_keywords]" value="{$seo['point_content']['seo_keywords']}" class="w830" type="text" />
  224. </dd>
  225. </dl>
  226. <dl>
  227. <dt>{$Think.lang.description}</dt>
  228. <dd>
  229. <input id="SEO[point_content][seo_description]" name="SEO[point_content][seo_description]" value="{$seo['point_content']['seo_description']}" class="w830" type="text" />
  230. </dd>
  231. </dl>
  232. <dl>
  233. <dt></dt>
  234. <dd>
  235. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  236. </dd>
  237. </dl>
  238. </div>
  239. </form>
  240. <form method="post" name="form_article" id="form_article">
  241. <div class="ncap-form-default">
  242. <dl>
  243. <dt>{$Think.lang.seo_set_article}</dt>
  244. <dd>
  245. <span><a>{sitename}</a><a>{article_class}</a><a>{name}</a><a>{description}</a></span>
  246. </dd>
  247. </dl>
  248. <dl>
  249. <dt>{$Think.lang.title}</dt>
  250. <dd>
  251. <input id="SEO[article][seo_title]" name="SEO[article][seo_title]" value="{$seo['article']['seo_title']}" class="w830" type="text"/>
  252. </dd>
  253. </dl>
  254. <dl>
  255. <dt>{$Think.lang.keywords}</dt>
  256. <dd>
  257. <input id="SEO[article][seo_keywords]" name="SEO[article][seo_keywords]" value="{$seo['article']['seo_keywords']}" class="w830" type="text" />
  258. </dd>
  259. </dl>
  260. <dl>
  261. <dt>{$Think.lang.description}</dt>
  262. <dd>
  263. <input id="SEO[article][seo_description]" name="SEO[article][seo_description]" value="{$seo['article']['seo_description']}" class="w830" type="text" />
  264. </dd>
  265. </dl>
  266. <dl>
  267. <dt>{$Think.lang.seo_set_article_content}</dt>
  268. <dd>
  269. </dd>
  270. </dl>
  271. <dl>
  272. <dt>{$Think.lang.title}</dt>
  273. <dd>
  274. <input id="SEO[article_content][seo_title]" name="SEO[article_content][seo_title]" value="{$seo['article_content']['seo_title']}" class="w830" type="text" />
  275. </dd>
  276. </dl>
  277. <dl>
  278. <dt>{$Think.lang.keywords}</dt>
  279. <dd>
  280. <input id="SEO[article_content][seo_keywords]" name="SEO[article_content][seo_keywords]" value="{$seo['article_content']['seo_keywords']}" class="w830" type="text" />
  281. </dd>
  282. </dl>
  283. <dl>
  284. <dt>{$Think.lang.description}</dt>
  285. <dd>
  286. <input id="SEO[article_content][seo_description]" name="SEO[article_content][seo_description]" value="{$seo['article_content']['seo_description']}" class="w830" type="text" />
  287. </dd>
  288. </dl>
  289. <dl>
  290. <dt></dt>
  291. <dd>
  292. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  293. </dd>
  294. </dl>
  295. </div>
  296. </form>
  297. <form method="post" name="form_shop" id="form_shop">
  298. <div class="ncap-form-default">
  299. <dl>
  300. <dt>{$Think.lang.seo_set_shop}</dt>
  301. <dd>
  302. <span><a>{sitename}</a><a>{shopname}</a><a>{key}</a><a>{description}</a></span>
  303. </dd>
  304. </dl>
  305. <dl>
  306. <dt>{$Think.lang.title}</dt>
  307. <dd>
  308. <input id="SEO[shop][seo_title]" name="SEO[shop][seo_title]" value="{$seo['shop']['seo_title']}" class="w830" type="text"/>
  309. </dd>
  310. </dl>
  311. <dl>
  312. <dt>{$Think.lang.keywords}</dt>
  313. <dd>
  314. <input id="SEO[shop][seo_keywords]" name="SEO[shop][seo_keywords]" value="{$seo['shop']['seo_keywords']}" class="w830" type="text" maxlength="200" />
  315. </dd>
  316. </dl>
  317. <dl>
  318. <dt>{$Think.lang.description}</dt>
  319. <dd>
  320. <input id="SEO[shop][seo_description]" name="SEO[shop][seo_description]" value="{$seo['shop']['seo_description']}" class="w830" type="text" maxlength="200"/>
  321. </dd>
  322. </dl>
  323. <dl>
  324. <dt></dt>
  325. <dd>
  326. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  327. </dd>
  328. </dl>
  329. </div>
  330. </form>
  331. <form method="post" name="form_product" id="form_product">
  332. <div class="ncap-form-default">
  333. <dl>
  334. <dt>{$Think.lang.seo_set_product}</dt>
  335. <dd>
  336. <span><a>{sitename}</a><a>{name}</a><a>{description}</a></span>
  337. </dd>
  338. </dl>
  339. <dl>
  340. <dt>{$Think.lang.title}</dt>
  341. <dd>
  342. <input id="SEO[product][seo_title]" name="SEO[product][seo_title]" value="{$seo['product']['seo_title']}" class="w830" type="text"/>
  343. </dd>
  344. </dl>
  345. <dl>
  346. <dt>{$Think.lang.keywords}</dt>
  347. <dd>
  348. <input id="SEO[product][seo_keywords]" name="SEO[product][seo_keywords]" value="{$seo['product']['seo_keywords']}" class="w830" type="text" maxlength="200" />
  349. </dd>
  350. </dl>
  351. <dl>
  352. <dt>{$Think.lang.description}</dt>
  353. <dd>
  354. <input id="SEO[product][seo_description]" name="SEO[product][seo_description]" value="{$seo['product']['seo_description']}" class="w830" type="text" maxlength="200"/>
  355. </dd>
  356. </dl>
  357. <dl>
  358. <dt></dt>
  359. <dd>
  360. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  361. </dd>
  362. </dl>
  363. </div>
  364. </form>
  365. </div>
  366. <script>
  367. $(document).ready(function(){
  368. $('#form_index').validate({
  369. submitHandler:function(form){
  370. ds_ajaxpost('form_index');
  371. },
  372. });
  373. $('#form_group').validate({
  374. submitHandler:function(form){
  375. ds_ajaxpost('form_group');
  376. },
  377. });
  378. $('#form_brand').validate({
  379. submitHandler:function(form){
  380. ds_ajaxpost('form_brand');
  381. },
  382. });
  383. $('#form_point').validate({
  384. submitHandler:function(form){
  385. ds_ajaxpost('form_point');
  386. },
  387. });
  388. $('#form_article').validate({
  389. submitHandler:function(form){
  390. ds_ajaxpost('form_article');
  391. },
  392. });
  393. $('#form_shop').validate({
  394. submitHandler:function(form){
  395. ds_ajaxpost('form_shop');
  396. },
  397. });
  398. $('#form_product').validate({
  399. submitHandler:function(form){
  400. ds_ajaxpost('form_product');
  401. },
  402. });
  403. });
  404. </script>
  405. <script type="text/javascript">
  406. $(function() {
  407. $('.tab-base').find('a').bind('click', function() {
  408. $('.tab-base').find('a').removeClass('current');
  409. $(this).addClass('current');
  410. $('form').css('display', 'none');
  411. $('form[name="form_' + $(this).attr('dstype') + '"]').css('display', '');
  412. $('span[dstype="hide_tag"]').find('a').css('padding-left', '5px');
  413. });
  414. $('form').css('display', 'none');
  415. $('form[name="form_index"]').css('display', '');
  416. $('#toggmore').bind('click', function() {
  417. $('li[dstype="vmore"]').toggle();
  418. });
  419. $('li[dstype="vmore"]').hide();
  420. });
  421. </script>