心理咨询网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

site.html 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {include file='common/head.html'}
  2. <div class="layui-body">
  3. <div class="layui-tab layui-tab-brief" lay-filter="tab">
  4. <ul class="layui-tab-title">
  5. <li class="layui-this">站点信息</li>
  6. </ul>
  7. <div class="layui-tab-content">
  8. <div class="layui-tab-item layui-show">
  9. <form action="{url./admin/Site/mod}" method="post" class="layui-form">
  10. <input type="hidden" name="formcheck" value="{$formcheck}" >
  11. <div class="layui-form-item">
  12. <label class="layui-form-label">站点标题</label>
  13. <div class="layui-input-block">
  14. <input type="text" name="title" value="{$sites->title}" placeholder="请输入站点标题,格式小写的{xx}:{xx}关键词A_{xx}关键词B" class="layui-input">
  15. </div>
  16. </div>
  17. <div class="layui-form-item">
  18. <label class="layui-form-label">站点副标题</label>
  19. <div class="layui-input-block">
  20. <input type="text" name="subtitle" value="{$sites->subtitle}" placeholder="请输入站点副标题" class="layui-input">
  21. </div>
  22. </div>
  23. <div class="layui-form-item">
  24. <label class="layui-form-label">站点域名</label>
  25. <div class="layui-input-block">
  26. <input type="text" name="domain" value="{$sites->domain}" placeholder="请输入站点域名" class="layui-input">
  27. </div>
  28. </div>
  29. <div class="layui-form-item">
  30. <label class="layui-form-label">站点LOGO</label>
  31. <div class="layui-input-inline">
  32. <input type="text" name="logo" id="logo" value="{$sites->logo}" placeholder="请上传站点LOGO图" class="layui-input">
  33. </div>
  34. <button type="button" class="layui-btn upload" data-des="logo">
  35. <i class="layui-icon">&#xe67c;</i>上传图片
  36. </button>
  37. <div id="logo_box" class="pic"><dl><dt>{if(@[$sites->logo])}<img src="{SITE_DIR}{$sites->logo}" data-url="{$sites->logo}"></dt><dd>删除</dd></dl>{/if}</div>
  38. </div>
  39. <div class="layui-form-item">
  40. <label class="layui-form-label">站点关键字</label>
  41. <div class="layui-input-block">
  42. <input type="text" name="keywords" value="{$sites->keywords}" placeholder="请输入站点关键字,格式小写的{xx}:{xx}关键词A_{xx}关键词B" class="layui-input">
  43. </div>
  44. </div>
  45. <div class="layui-form-item">
  46. <label class="layui-form-label">站点描述</label>
  47. <div class="layui-input-block">
  48. <textarea name="description" placeholder="请输入站点描述,格式小写的{xx}:{xx}关键词A_{xx}关键词B,某某某描述" class="layui-textarea">{$sites->description}</textarea>
  49. </div>
  50. </div>
  51. <div class="layui-form-item">
  52. <label class="layui-form-label">站点备案</label>
  53. <div class="layui-input-block">
  54. <input type="text" name="icp" value="{$sites->icp}" placeholder="请输入站点备案" class="layui-input">
  55. </div>
  56. </div>
  57. <div class="layui-form-item">
  58. <label class="layui-form-label">站点模板</label>
  59. <div class="layui-input-block">
  60. <select name="theme">
  61. {foreach $themes(key,value)}
  62. {if($value == [$sites->theme])}
  63. <option value="[value]" selected='selected'>[value]</option>
  64. {else}
  65. <option value="[value]">[value]</option>
  66. {/if}
  67. {/foreach}
  68. </select>
  69. </div>
  70. </div>
  71. <div class="layui-form-item">
  72. <label class="layui-form-label">统计代码</label>
  73. <div class="layui-input-block">
  74. <textarea name="statistical" placeholder="请输入统计代码" class="layui-textarea">{$sites->statistical}</textarea>
  75. </div>
  76. </div>
  77. <div class="layui-form-item">
  78. <label class="layui-form-label">尾部信息</label>
  79. <div class="layui-input-block">
  80. <textarea name="copyright" placeholder="请输入尾部信息" class="layui-textarea">{$sites->copyright}</textarea>
  81. </div>
  82. </div>
  83. <div class="layui-form-item">
  84. <div class="layui-input-block">
  85. <button class="layui-btn" lay-submit>立即提交</button>
  86. <button type="reset" class="layui-btn layui-btn-primary">重置</button>
  87. </div>
  88. </div>
  89. </form>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. {include file='common/foot.html'}