cda21af9b5b5159f0336880c1ffab5bf.php 22 KB

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