<!--#include file="../head.asp"-->
<!--#include file="../checkrole.asp"-->
<%
if issession=0 then
	gsid=Replace_Text(request.Cookies("Yxmemberid"))
	username=Replace_Text(request.Cookies("Yxmember"))
else
	gsid=session("id")
	username=session("user")
end if

set rs=server.CreateObject("adodb.recordset")
sql="select * from yixiang_corporation where id="&gsid
rs.open sql,conn,1,1
if rs.eof then
  Response.write "<script>alert('你还没有模板，请到指定位置先选择模板。');history.back();</script>"
  Response.end
end if
%>
<table width="100%" border="0">
  <tr>
    <td><form name="form1" method="post" action="mod_save.asp">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #A3B2CC;">
        <tr style="border:1px solid #A3B2CC;">
          <td width="17%" style="border-bottom:1px solid #A3B2CC;">&nbsp;</td>
          <td width="66%" height="55" align="center" valign="middle" style="margin:200px 0px 20px 0px; border-bottom:1px solid #A3B2CC;"><span style="font-size: 24px; color: #2B6FBD;; font-weight: bold">更新我的网站</span></td>
          <td width="17%" style="border-bottom:1px solid #A3B2CC;">
		  <input type="hidden" name="weburl_2" id="weburl_2" value="<%=rs("weburl_2")%>">
		  <input type="hidden" name="url" id="url" value="<%=rs("yx_userskin")%>">
		  </td>
        </tr>
        <tr>
		  <td colspan="3"><table width="73%" border="0" align="center">
            <tr>
              <td style="padding:10px 0px 10px 140px; font-size:14px; color:#336699;"><span style="color: #FF0000">使用本功能的原则</span><br>
			  
               <p> ①发布了任何信息之后，想要在首页显示。</p>
               <p> ②修改模板之后，想更新。</p>
               <p> ③使用本功能将耗费服务器资源，请勿在短时间内重复使用。</p></td>
            </tr>
          </table></td>
		</tr>
        <tr>
          <td style="border-top:1px solid #A3B2CC;">&nbsp;</td>
          <td align="center" style="border-top:1px solid #A3B2CC;"><label>
            <input type="submit" name="Submit" value="确认更新">
            </label>
              <label>
              <input onClick="javascript:history.go(-1);" name="btnclear" type="button" id="btnclear" value="放弃更新">
            </label></td>
          <td style="border-top:1px solid #A3B2CC;">&nbsp;</td>
        </tr>
      </table>
    </form>    </td>
  </tr>
</table>
<%
rs.close
set rs=nothing
%>