<!--#include file="../conn/conn2.asp" -->
<!--#include file="../conn/function.asp" -->
<!--#include file="admin_check.asp" -->
<%
T_id=request.QueryString("T_id")
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站演示</title>
<style>
body{
font-family:"微软雅黑";
	margin:0;
	padding:0;
overflow-x:hidden;
overflow-y:hidden;
 }
a{ font-size:12px; color:#999999; text-decoration:none;}
a:hover {color:#FFFFFF;}

.box{width:450px; height:600px;background:#FFFFFF;box-shadow:0px 0px 20px #999999; padding:20px; text-align:center;position:absolute;left:50%; top:50%; margin-left:-230px; margin-top:-300px;}
.box img{ border:#CCCCCC solid 2px; padding:10px; margin:10px; box-shadow:0px 0px 10px #999999;}
</style>
<script>
function alertWin(){ 
float=document.getElementById("float");
float2=document.getElementById("float2");
float.style.position="absolute";
float.style.height=(document.documentElement.clientHeight-50)+"px";
float.style.width=(document.documentElement.clientWidth)+"px";
float.style.zIndex="50";
float.style.top="50px";
window.onresize = function(){
float.style.position="absolute";
float.style.height=(document.documentElement.clientHeight-50)+"px";
float.style.width=(document.documentElement.clientWidth)+"px";
float.style.zIndex="50";
float.style.top="50px";
}
float.innerHTML="<iframe src='http://<%=T_id%>.demo.s-cms.cn/' frameBorder='0' width='100%' height='100%'></iframe>"
}
</script>
</head>
<body <%if left(T_id,1)="s" then%>onLoad="alertWin()"<%end if%>>
<div style="height:20px; background:#000000; color:#CCCCCC; font-size:12px; padding:15px;"><img src="img/go.png" style="margin:0 0 -5px 20px;"> <%if left(T_id,1)="s" then%>PC<%else%>WAP<%end if%>模板<%=T_id%>在线演示 <img src="img/info.png" style="margin:0 0 -5px 20px;"> 本页仅作模块展示，效果以实际运用到网站为准  <span style="float:right; margin-right:20px;"><img src="img/close.png" style="margin:0 0 -5px 20px;"> <a href="page.asp?page=<%if left(T_id,1)="s" then%>template_list.asp<%else%>wap_template.asp<%end if%>">返回列表</a></span></div>
<div id="float"><%if left(T_id,1)="w" then%>
<div class="box">手机模板编号<%=T_id%><br><img src="http://www.s-cms.cn/media/<%=T_id%>.jpg" height="280"><br>请扫描二维码查看演示<br><img src="http://paysdk.weixin.qq.com/example/qrcode.php?data=http://<%=T_id%>.demo.s-cms.cn" width="200" height="200"></div>
<%end if%></div>
</body>
</html>
