<!--#include file="conn.asp"-->
<%
	strSQL="Select * From v_templet Where m_id=" & trim(Session("UserID"))
	set rs=Server.CreateObject("ADODB.RecordSet")
	rs.open strSQL,conn,1,1
	if rs.recordcount<=0 then
		ShowMsg "找不到模板，或许是模板已经被删除！"
	end if
	strTempletCode=trim(rs("t_code"))
	strTempletType=trim(rs("t_type"))
	strTempletName=trim(rs("t_name"))
	strTempletIntro=trim(rs("t_intro"))
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>电子商务自助建站--您理想的助手</title>
<link href="common/styleMain.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="0" align="center">
		  <!--#include file="common/top.asp"-->
          </td>
        </tr>
        <tr> 
          <td height="100%" align="center" valign="top">
<TABLE class=table002 cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
                <TR> 
                  <!--左边开始-->
                  <TD vAlign=top align=right width="20%">
					  <!--#include file="common/left.asp"-->
				  </TD>
                  <!--左边结束-->
                  <TD width="2%" background="images/rowline.gif">&nbsp;</TD>
                  <!--右边开始-->
                  <TD vAlign=top align=middle width="78%">
				  
				  <form name="form1" method="post" action="">
                      <TABLE width="100%" height="100%" border=0 cellPadding=6 cellSpacing=0>
                        <TBODY>
                          <TR> 
                            <TD vAlign=top align=left bgColor=#ffffff><B>选择模板</B><BR> 
                              <HR SIZE=1>
                              <table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="88%">＞您当前选择的模板是：</td>
                                  <td width="12%">&nbsp;</td>
                                </tr>
                              </table> 
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td height="156" align="center"><a href="Templet/pic/<%=strTempletCode%>.gif" target="_blank"><img src="Templet/pic/small/<%=strTempletCode%>.gif" vspace="2" border="1"></a></td>
                                </tr>
                                <tr> 
                                  <td height="43" align="center">商业通用：<%=strTempletName%></td>
                                </tr>
                                <tr> 
                                  <td height="13" align="center"> 
                                    <input type="button" onclick="location='Admin_TempletSel.asp'" value="我不要这个，我要换"></input>
                                  </td>
                                </tr>
                                <tr>
                                  <td height="40" align="center"><input type=button value=" 应用模板 " name=Submit3 onClick="window.open('AppSetting.asp?c=1&js=1')"> 
                                    <input type=button value=" 上一步 " name=Submit2 onClick="location='Admin_Attrib.asp'">
                                    <input type=button value=" 下一步 " name=Submit22 onClick="location='Admin_SetMenu.asp'"> 
                                  </td>
                                </tr>
                              </table> 
                            </TD>
                          </TR>
                        </TBODY>
                      </TABLE>
                    </form></TD>
                </TR>
              </TBODY>
            </TABLE></td>
        </tr>
        <tr> 
          <td height="0" align="center">
		  <!--#include file="common/bottom.asp"-->
		  </td>
        </tr>
      </table></td>
  </tr>
</table>

<%
'如果是选择了新模板，则重新生成网站
if GetQueryString("action")="update" then
	response.Write("<iframe src='update.asp?c=1&js=1' width='0' height='0' frameborder='0'></iframe>")
end if
%>
</body>
</html>
