📄 picmb.aspx
字号:
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>
<%@ Import Namespace="System" %>
<script runat="server">
string key;
string WebUserName;
int WebsiteId;
int AdvDetailedId=65;
string fromurl;
string CountFilePath;
protected void Page_Load(Object Src, EventArgs E)
{
WebUserName=Codeschar(Request.Params["WebUserName"]); //取得用户名
fromurl=Server.UrlEncode(Request.Params["host"]);
WebsiteId=Convert.ToInt32(Codeschar(Request.Params["WebsiteId"]));
Random ro = new Random();
key=ro.Next(10000,999999).ToString()+WebUserName+WebsiteId+AdvDetailedId;
key=FormsAuthentication.HashPasswordForStoringInConfigFile(key ,"SHA1");
Session[WebUserName+"_key"]=key;
//Response.Write(fromurl);
CountFilePath="http://192.168.1.200/count/count.aspx?AdvDetailedId="+AdvDetailedId+"&WebsiteId="+WebsiteId+"&WebUserName="+WebUserName+"&key="+key+"&fromurl="+fromurl;
//Response.Write(CountFilePath);
}
//字符过滤
public string Codeschar(string ch)
{
if(ch==null || ch=="")
{
return "";
}
else
{
ch=ch.Replace("\"","");
ch=ch.Replace("\'","");
ch=ch.Replace(")","");
ch=ch.Replace("(","");
ch=ch.Replace(" ","");
ch=ch.Replace("[","");
ch=ch.Replace("]","");
ch=ch.Replace("20%","");
ch=ch.Replace(",","");
return ch;
}
}
</script>
<!--
-->
<style type="text/css">
<!--
#Layer1 {
position:absolute;
width:468;
height:60;
z-index:1;
}
-->
</style>
<div id="Layer1">
<a href="<%=CountFilePath%>" target="_blank">
<img src="../1.gif" width="468" height="60" border="0"/>
</a>
</div>
<img style="position:absolute;" src="../../web/images/head.gif" width="468" height="60" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -