logo.html 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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_logo}</dt>
  16. <dd>
  17. {notempty name="$list_config.site_logo"}
  18. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  19. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.site_logo)}?{$Think.TIMESTAMP}"></div>
  20. </span>
  21. {/notempty}
  22. <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' />
  23. <input name="site_logo" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true" ds_type="change_site_logo">
  24. </span>
  25. <p class="notic">{$Think.lang.site_logo_notice}</p>
  26. </dd>
  27. </dl>
  28. <dl>
  29. <dt>{$Think.lang.member_logo}</dt>
  30. <dd>
  31. {notempty name="$list_config.member_logo"}
  32. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  33. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.member_logo)}?{$Think.TIMESTAMP}"></div>
  34. </span>
  35. {/notempty}
  36. <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' />
  37. <input name="member_logo" type="file" class="type-file-file" id="member_logo" size="30" hidefocus="true" ds_type="change_member_logo">
  38. </span>
  39. <p class="notic">{$Think.lang.member_logo_notice}</p>
  40. </dd>
  41. </dl>
  42. <dl>
  43. <dt>{$Think.lang.seller_center_logo}</dt>
  44. <dd>
  45. {notempty name="$list_config.seller_center_logo"}
  46. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  47. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.seller_center_logo)}?{$Think.TIMESTAMP}"></div>
  48. </span>
  49. {/notempty}
  50. <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' />
  51. <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">
  52. </span>
  53. <p class="notic">{$Think.lang.seller_center_logo_notice}</p>
  54. </dd>
  55. </dl>
  56. <dl>
  57. <dt>{$Think.lang.site_mobile_logo}</dt>
  58. <dd>
  59. {notempty name="$list_config.site_mobile_logo"}
  60. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  61. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.site_mobile_logo)}?{$Think.TIMESTAMP}"></div>
  62. </span>
  63. {/notempty}
  64. <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' />
  65. <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">
  66. </span>
  67. <p class="notic">{$Think.lang.site_mobile_logo_notice}</p>
  68. </dd>
  69. </dl>
  70. <dl>
  71. <dt>{$Think.lang.admin_logo}</dt>
  72. <dd>
  73. {notempty name="$list_config.admin_logo"}
  74. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  75. <div class="type-file-preview"><img src="{:ds_get_pic('admin/common',config('ds_config.admin_logo'))}?{$Think.TIMESTAMP}"></div>
  76. </span>
  77. {/notempty}
  78. <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' />
  79. <input name="admin_logo" type="file" class="type-file-file" id="admin_logo" size="30" hidefocus="true" ds_type="change_admin_logo">
  80. </span>
  81. <p class="notic">{$Think.lang.admin_logo_notice}</p>
  82. </dd>
  83. </dl>
  84. <dl>
  85. <dt>{$Think.lang.admin_backlogo}</dt>
  86. <dd>
  87. {notempty name="$list_config.admin_backlogo"}
  88. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  89. <div class="type-file-preview"><img src="{:ds_get_pic('admin/common',config('ds_config.admin_backlogo'))}?{$Think.TIMESTAMP}"></div>
  90. </span>
  91. {/notempty}
  92. <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' />
  93. <input name="admin_backlogo" type="file" class="type-file-file" id="admin_backlogo" size="30" hidefocus="true" ds_type="change_admin_backlogo">
  94. </span>
  95. <p class="notic">{$Think.lang.admin_backlogo_notice}</p>
  96. </dd>
  97. </dl>
  98. <dl>
  99. <dt>{$Think.lang.site_logowx}</dt>
  100. <dd>
  101. {notempty name="$list_config.site_logowx"}
  102. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  103. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.site_logowx)}?{$Think.TIMESTAMP}"></div>
  104. </span>
  105. {/notempty}
  106. <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' />
  107. <input name="site_logowx" type="file" class="type-file-file" id="site_logowx" size="30" hidefocus="true" ds_type="change_site_logowx">
  108. </span>
  109. <p class="notic">{$Think.lang.site_logowx_notice}</p>
  110. </dd>
  111. </dl>
  112. <dl id="business_licence" class="noborder">
  113. <dt class="required"><label for="file_business_licence">{$Think.lang.config_business_licence}:</label></dt>
  114. <dd class="vatop rowform">
  115. {notempty name="$list_config.business_licence"}
  116. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  117. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.business_licence)}?{$Think.TIMESTAMP}"></div>
  118. </span>
  119. {/notempty}
  120. <span class="type-file-box">
  121. <input type='text' name='textfield' id='textfield6' class='type-file-text' />
  122. <input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  123. <input name="business_licence" id="file_business_licence" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
  124. </span>
  125. <p class="notic"></p>
  126. </dd>
  127. </dl>
  128. <dl>
  129. <dt></dt>
  130. <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">{$Think.lang.ds_confirm_submit}</a></dd>
  131. </dl>
  132. </div>
  133. </form>
  134. </div>
  135. <script>
  136. $(function(){
  137. $("#site_logo").change(function () {
  138. $("#textfield1").val($("#site_logo").val());
  139. });
  140. $("#member_logo").change(function () {
  141. $("#textfield2").val($("#member_logo").val());
  142. });
  143. $("#seller_center_logo").change(function () {
  144. $("#textfield3").val($("#seller_center_logo").val());
  145. });
  146. $("#site_mobile_logo").change(function () {
  147. $("#textfield4").val($("#site_mobile_logo").val());
  148. });
  149. $("#site_logowx").change(function () {
  150. $("#textfield5").val($("#site_logowx").val());
  151. });
  152. $("#file_business_licence").change(function () {
  153. $("#textfield6").val($("#file_business_licence").val());
  154. });
  155. $("#admin_logo").change(function () {
  156. $("#textfield7").val($("#admin_logo").val());
  157. });
  158. $("#admin_backlogo").change(function () {
  159. $("#textfield8").val($("#admin_backlogo").val());
  160. });
  161. })
  162. </script>