- <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Mall.Pages.usercpshopconfig" %>
- <%@ Import namespace="System.Data" %>
- <%@ Import namespace="Discuz.Common" %>
- <%@ Import namespace="Discuz.Forum" %>
- <%@ Import namespace="Discuz.Entity" %>
- <script runat="server">
- override protected void OnInit(EventArgs e)
- {
- /*
- This page was created by Discuz!NT Template Engine at 2009-9-22 17:24:59.
- 本页面代码由Discuz!NT模板引擎生成于 2009-9-22 17:24:59.
- */
- base.OnInit(e);
- templateBuilder.Capacity = 220000;
- templateBuilder.Append("<!--header end-->rn");
- templateBuilder.Append("<div id="foruminfo">rn");
- templateBuilder.Append(" <div id="nav">rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(config.Forumurl.ToString().Trim());
- templateBuilder.Append("" class="home">");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append("</a> » <a href="usercp.aspx">用户中心</a> » <strong>管理店铺</strong>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div id="headsearch">rn");
- templateBuilder.Append(" <div id="search">rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<!--主体-->rn");
- templateBuilder.Append("<div class="controlpannel">rn");
- templateBuilder.Append(" <div class="pannelcontent">rn");
- templateBuilder.Append(" <div class="pcontent">rn");
- templateBuilder.Append(" <!--panneldetail start-->rn");
- templateBuilder.Append(" <div class="panneldetail">rn");
- templateBuilder.Append(" <!--pannelbody start-->rn");
- templateBuilder.Append(" <div class="pannelbody">rn");
- templateBuilder.Append(" <div class="pannellist">rn");
- if (page_err==0)
- {
- if (ispost)
- {
- }
- else
- {
- templateBuilder.Append(" <form id="shopconfig" name="shopconfig" method="post" enctype="multipart/form-data" action="">rn");
- templateBuilder.Append(" <label for="user">店 铺 名:</label>rn");
- templateBuilder.Append(" <input name="shopname" type="text" id="shopname" value="");
- templateBuilder.Append(shopinfo.Shopname.ToString().Trim());
- templateBuilder.Append("" size="40" maxlength="50"/>(50个汉字以内)<br />rn");
- templateBuilder.Append(" <label for="user">店铺类别:</label>rn");
- templateBuilder.Append(" <select id="categoryid" name="categoryid">");
- templateBuilder.Append(categoryoptions.ToString());
- templateBuilder.Append("</select><br />rn");
- templateBuilder.Append(" <label for="email">店铺风格:</label>rn");
- templateBuilder.Append(" <select id="themeid" name="themeid">");
- templateBuilder.Append(themeoptions.ToString());
- templateBuilder.Append("</select><br />rn");
- templateBuilder.Append(" <label for="comment">店 标:</label>rn");
- templateBuilder.Append(" <input type="file" onchange="PhotoView(this.value,document.getElementById('previewImage'))" id="upfileshoppic" name="postfile" size="40" /> rn");
- templateBuilder.Append(" <div class="shoplogo" id="previewImage">rn");
- if (shopinfo.Logo!="")
- {
- templateBuilder.Append("<img width="75" height="75" src="/upload/");
- templateBuilder.Append(shopinfo.Logo.ToString().Trim());
- templateBuilder.Append("" border="0" alt="" />rn");
- }
- else
- {
- templateBuilder.Append("暂无图片rn");
- } //end if
- templateBuilder.Append("</div><br />rn");
- templateBuilder.Append(" <label for="email">所 在 地:</label>rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(shopinfo.Locus.ToString().Trim());
- templateBuilder.Append(" <a href="#" onclick="javascript:$('span_locus').style.display='block';">选择</a> rn");
- 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");
- templateBuilder.Append(" <label for="email">公 告:</label>rn");
- 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">");
- templateBuilder.Append(shopinfo.Bulletin.ToString().Trim());
- templateBuilder.Append("</textarea>(500个汉字以内)<br />rn");
- templateBuilder.Append(" <label for="email">店铺介绍:</label>rn");
- 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">");
- templateBuilder.Append(shopinfo.Introduce.ToString().Trim());
- templateBuilder.Append("</textarea>(500个汉字以内)<br />rn");
- templateBuilder.Append(" <input id="submitshopconfig" name="submitshopconfig" type="submit" value="确定" />rn");
- templateBuilder.Append(" </form>rn");
- } //end if
- }
- else
- {
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div> rn");
- templateBuilder.Append(" <!--pannelbody end-->rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <!--panneldetail end-->rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/locations.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_usercpshopconfig.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<!--主体-->rn");
- Response.Write(templateBuilder.ToString());
- }
- </script>