温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:webzcn虚拟主机网站最初源码
当前文件:
webzcn/Admin/Default.aspx[6K,2009-6-12 11:58:27],打开代码结构图
webzcn/Admin/Default.aspx[6K,2009-6-12 11:58:27],打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_Default" Title="Untitled Page" EnableViewStateMac="false" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED"> 4
<tr> 5
<td><img src="images/r_1.gif" alt="" /></td> 6
<td width="100%" background="images/r_0.gif"></td> 7
<td><img src="images/r_2.gif" alt="" /></td> 8
</tr> 9
<tr><td></td><td> 10
<table align="center" cellpadding="4" cellspacing="1" border="1" width=100% class="toptable grid fixed"> 11
<tr height="18"> 12
<td height="18" colspan="2" class="category"> [.NET服务器常用参数]</td> 13
</tr> 14
<tr height="18"> 15
<td height="20" align="left" class="t2"> 服务器名称:</td> 16
<td height="18"> <asp:label id="MachineName" runat="server" /></td> 17
</tr> 18
<tr height="18"> 19
<td height="20" align="left" class="t2"> 服务器IP地址:</td> 20
<td height="18" > <asp:label id="LOCAL_ADDR" runat="server" /></td> 21
</tr> 22
<tr height="18"> 23
<td height="20" align="left" class="t2"> 服务器域名:</td> 24
<td height="18" > <asp:label id="SERVER_NAME" runat="server" /> 25
</td> 26
</tr> 27
<tr height="18"> 28
<td height="20" align="left" class="t2"> HTTP访问端口:</td> 29
<td height="18" > <asp:label id="SERVER_PORT" runat="server" /> 30
</td> 31
</tr> 32
<tr height="18"> 33
<td height="20" align="left" class="t2"> 服务器本机时间:</td> 34
<td height="18" > <asp:label id="ServerDateTime" runat="server" /></td> 35
</tr> 36
<tr height="18"> 37
<td height="20" align="left" class="t2"> 服务器IIS版本:</td> 38
<td height="18" > <asp:label id="SERVER_SOFTWARE" runat="server" /></td> 39
</tr> 40
<tr height="18"> 41
<td height="20" align="left" class="t2"> 服务端脚本执行超时:</td> 42
<td height="18" > <asp:label id="ScriptTimeout" runat="server" /> 43
秒</td> 44
</tr> 45
<tr height="18"> 46
<td height="20" align="left" class="t2"> 虚拟目录绝对路径:</td> 47
<td height="18" > <asp:label id="APPL_PHYSICAL_PATH" runat="server" /></td> 48
</tr> 49
<tr height="18"> 50
<td height="20" align="left" class="t2"> 执行文件绝对路径:</td> 51
<td height="18" > <asp:label id="PATH_TRANSLATED" runat="server" /></td> 52
</tr> 53
<tr height="18"> 54
<td align="left" class="t2" style="height: 20px"> 服务器浏览器版本:</td> 55
<td style="height: 20px" > <asp:label id="ServerView" runat="server" /></td> 56
</tr> 57
<tr height="18"> 58
<td height="20" align="left" class="t2"> .NET解释引擎版本:</td> 59
<td height="18" > <asp:label id="runtime" runat="server" /></td> 60
</tr> 61
<tr height="18"> 62
<td height="20" align="left" class="t2"> 服务器操作系统:</td> 63
<td height="18" > <asp:label ID="OS" runat="server" /></td> 64
</tr> 65
</table> 66
<br> 67
<table id="" align="center" cellpadding="4" cellspacing="1" border="1" class="toptable grid fixed"> 68
69
<TBODY> 70
<tr height="18"> 71
<td height="18" colspan="2" class="category"> [.NET服务器常用组件]</td> 72
</tr> 73
<tr height="18"> 74
<td width="170" height="20" align="left" > Access数据库组件:</td> 75
<td height="18" > <asp:label id="access" runat="server" /></td> 76
</tr> 77
<tr height="18"> 78
<td height="20" align="left" > FSO文件操作组件:</td> 79
<td height="18" > <asp:label id="fso" runat="server" /> </td> 80
</tr> 81
<tr height="18"> 82
<td height="20" align="left" > CDONTS邮件发送组件:</td> 83
<td height="18" > <asp:label id="sendmail" runat="server" /></td> 84
</tr> 85
<tr height="18"> 86
<td height="20" align="left" > JMAIL邮件发送组件:</td> 87
<td height="18" > <asp:label id="jmail" runat="server" /></td> 88
</tr> 89
<tr height="18"> 90
<td height="20" align="left" > ASPEmail邮件发送组件:</td> 91
<td height="18" > <asp:label id="aspemail" runat="server" /></td> 92
</tr> 93
<tr height="18"> 94
<td height="20" align="left" > LyfUpload上传组件:</td> 95
<td height="18" > <asp:label id="lyupload" runat="server" /></td> 96
</tr> 97
<tr height="18"> 98
<td align="left" style="height: 20px" > ASPUpload上传组件:</td> 99
<td style="height: 20px" > <asp:label id="aspupload" runat="server" /></td> 100
</tr> 101
<tr height="18"> 102
<td height="20" align="left" > ASPCN上传组件:</td> 103
<td height="18" > <asp:label id="aspcn" runat="server" /></td> 104
</tr> 105
<tr height="18"> 106
<td height="20" align="left" > 其他组件安装检测:</td> 107
<td height="18" > <asp:TextBox id="other" OnTextChanged="checkinput" cssclass="csstext" runat="server" /> <asp:button onmousemove=showBtnOver(this) onmouseout=showBtnOut(this) CssClass="submitMiniGreen" id="submit" text="检 测" runat="server" /></td> 108
</tr> 109
<tr height="18"> 110
<td height="20" colspan="2" align="center"> <font color="#ff0000"> 111
<asp:label ID="checkok" runat="server" /> 112
</font></td> 113
</tr> 114
115
</table> 116
<div align="center"><font color="#ff0000"> </font><br> 117
<table id="Table1" align="center" cellpadding="4" cellspacing="1" border="1" class="toptable grid fixed"> 118
<tr height="18"> 119
<td height="20" colspan="2" class="category">[当前虚拟目录资源状况]</td> 120
</tr> 121
<tr height="18"> 122
<td width="170" height="20" align="left" class="t2"> 虚拟目录Session总数:</td> 123
<td height="18" align="left" > <asp:label id="sessioncount" runat="server" /> 124
个</td> 125
</tr> 126
<tr height="18"> 127
<td height="20" align="left" class="t2"> 虚拟目录Application总数:</td> 128
<td height="18" align="left"> <asp:label id="appcount" runat="server" /> 129
个</td> 130
</tr> 131
</table> 132
<br> 133
<table id="Table2" align="center" cellpadding="4" cellspacing="1" border="1" class="toptable grid fixed"> 134
<tr height="18"> 135
<td colspan="2" class="category">[.NET虚拟主机速度测试] </td> 136
</tr> 137
<tr height="18"> 138
<td width="170" height="20" > 执行本页.NET代码时间:</td> 139
<td align="left"> <font color="#ff0000"> 140
<asp:label id="fast" runat="server" /> 141
</font>毫秒</td> 142
</tr> 143
</table> 144
145
146
</td><td></td> 147
</tr> 148
<tr> 149
<td><img src="images/r_4.gif" alt="" /></td> 150
<td></td> 151
<td><img src="images/r_3.gif" alt="" /></td> 152
</tr> 153
</table> 154
</asp:Content> 155
156





