usercpshopconfig.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:6k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Mall.Pages.usercpshopconfig" %>
  2. <%@ Import namespace="System.Data" %>
  3. <%@ Import namespace="Discuz.Common" %>
  4. <%@ Import namespace="Discuz.Forum" %>
  5. <%@ Import namespace="Discuz.Entity" %>
  6. <script runat="server">
  7. override protected void OnInit(EventArgs e)
  8. {
  9. /* 
  10. This page was created by Discuz!NT Template Engine at 2009-9-22 17:24:59.
  11. 本页面代码由Discuz!NT模板引擎生成于 2009-9-22 17:24:59. 
  12. */
  13. base.OnInit(e);
  14. templateBuilder.Capacity = 220000;
  15. templateBuilder.Append("<!--header end-->rn");
  16. templateBuilder.Append("<div id="foruminfo">rn");
  17. templateBuilder.Append(" <div id="nav">rn");
  18. templateBuilder.Append(" <a href="");
  19. templateBuilder.Append(config.Forumurl.ToString().Trim());
  20. templateBuilder.Append("" class="home">");
  21. templateBuilder.Append(config.Forumtitle.ToString().Trim());
  22. templateBuilder.Append("</a>  &raquo; <a href="usercp.aspx">用户中心</a>  &raquo; <strong>管理店铺</strong>rn");
  23. templateBuilder.Append(" </div>rn");
  24. templateBuilder.Append(" <div id="headsearch">rn");
  25. templateBuilder.Append(" <div id="search">rn");
  26. templateBuilder.Append(" </div>rn");
  27. templateBuilder.Append(" </div>rn");
  28. templateBuilder.Append("</div>rn");
  29. templateBuilder.Append("<!--主体-->rn");
  30. templateBuilder.Append("<div class="controlpannel">rn");
  31. templateBuilder.Append(" <div class="pannelcontent">rn");
  32. templateBuilder.Append(" <div class="pcontent">rn");
  33. templateBuilder.Append(" <!--panneldetail start-->rn");
  34. templateBuilder.Append(" <div class="panneldetail">rn");
  35. templateBuilder.Append(" <!--pannelbody start-->rn");
  36. templateBuilder.Append("                <div class="pannelbody">rn");
  37. templateBuilder.Append(" <div class="pannellist">rn");
  38. if (page_err==0)
  39. {
  40. if (ispost)
  41. {
  42. }
  43. else
  44. {
  45. templateBuilder.Append(" <form id="shopconfig" name="shopconfig" method="post" enctype="multipart/form-data" action="">rn");
  46. templateBuilder.Append("     <label for="user">店 铺 名:</label>rn");
  47. templateBuilder.Append(" <input name="shopname" type="text" id="shopname" value="");
  48. templateBuilder.Append(shopinfo.Shopname.ToString().Trim());
  49. templateBuilder.Append("" size="40" maxlength="50"/>(50个汉字以内)<br />rn");
  50. templateBuilder.Append("                        <label for="user">店铺类别:</label>rn");
  51. templateBuilder.Append(" <select id="categoryid" name="categoryid">");
  52. templateBuilder.Append(categoryoptions.ToString());
  53. templateBuilder.Append("</select><br />rn");
  54. templateBuilder.Append(" <label for="email">店铺风格:</label>rn");
  55. templateBuilder.Append(" <select id="themeid" name="themeid">");
  56. templateBuilder.Append(themeoptions.ToString());
  57. templateBuilder.Append("</select><br />rn");
  58. templateBuilder.Append(" <label for="comment">店   标:</label>rn");
  59. templateBuilder.Append(" <input type="file" onchange="PhotoView(this.value,document.getElementById('previewImage'))" id="upfileshoppic" name="postfile" size="40" /> rn");
  60. templateBuilder.Append(" <div class="shoplogo" id="previewImage">rn");
  61. if (shopinfo.Logo!="")
  62. {
  63. templateBuilder.Append("<img width="75" height="75" src="/upload/");
  64. templateBuilder.Append(shopinfo.Logo.ToString().Trim());
  65. templateBuilder.Append("" border="0" alt="" />rn");
  66. }
  67. else
  68. {
  69. templateBuilder.Append("暂无图片rn");
  70. } //end if
  71. templateBuilder.Append("</div><br />rn");
  72. templateBuilder.Append(" <label for="email">所 在 地:</label>rn");
  73. templateBuilder.Append("                        ");
  74. templateBuilder.Append(shopinfo.Locus.ToString().Trim());
  75. templateBuilder.Append(" &nbsp;<a href="#" onclick="javascript:$('span_locus').style.display='block';">选择</a> rn");
  76. templateBuilder.Append("                        <span id="span_locus" style="display:none;"><select class="input_gray" style="width: 130px;"  id="locus_1" name="locus_1"></select>城市:<select class="input_gray" style="width: 90px;" id="locus_2" name="locus_2"></select></span><br /> rn");
  77. templateBuilder.Append(" <label for="email">公   告:</label>rn");
  78. templateBuilder.Append(" <textarea name="bulletin" cols="30" rows="4" id="bulletin" maxlength="500" onkeyup="return ismaxlen(this);" style="width:60%; font-size:12px;" maxlength="200">");
  79. templateBuilder.Append(shopinfo.Bulletin.ToString().Trim());
  80. templateBuilder.Append("</textarea>(500个汉字以内)<br />rn");
  81. templateBuilder.Append(" <label for="email">店铺介绍:</label>rn");
  82. templateBuilder.Append(" <textarea name="introduce" cols="30" rows="4" id="introduce" maxlength="500" onkeyup="return ismaxlen(this);"  style="width:60%; font-size:12px;" maxlength="200">");
  83. templateBuilder.Append(shopinfo.Introduce.ToString().Trim());
  84. templateBuilder.Append("</textarea>(500个汉字以内)<br />rn");
  85. templateBuilder.Append(" <input id="submitshopconfig" name="submitshopconfig" type="submit" value="确定" />rn");
  86. templateBuilder.Append(" </form>rn");
  87. } //end if
  88. }
  89. else
  90. {
  91. } //end if
  92. templateBuilder.Append("         </div>rn");
  93. templateBuilder.Append("     </div>   rn");
  94. templateBuilder.Append("     <!--pannelbody end-->rn");
  95. templateBuilder.Append("        </div>rn");
  96. templateBuilder.Append("        <!--panneldetail end-->rn");
  97. templateBuilder.Append("    </div>rn");
  98. templateBuilder.Append("   </div>rn");
  99. templateBuilder.Append("</div>rn");
  100. templateBuilder.Append("<script type="text/javascript" src="javascript/locations.js"></");
  101. templateBuilder.Append("script>rn");
  102. templateBuilder.Append("<script type="text/javascript" src="javascript/template_usercpshopconfig.js"></");
  103. templateBuilder.Append("script>rn");
  104. templateBuilder.Append("<!--主体-->rn");
  105. Response.Write(templateBuilder.ToString());
  106. }
  107. </script>