<%@ Page Language="C#" Inherits="SiteServer.BackgroundPages.License.LicenseUpload" %>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<%@ Register TagPrefix="user" Namespace="UserCenter.Controls" Assembly="UserCenter.Pages" %>
<%@ Register TagPrefix="site" Namespace="SiteServer.Controls" Assembly="SiteServer.Controls" %>

<HTML>
	<HEAD>
		<title>SiteServer系列产品许可证向导</title>
		<style>
DIV { FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
TD { FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
A { FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
A:visited { FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
H2 { FONT-SIZE: 20px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
.buttons { FONT-SIZE: 11px; WIDTH: 90px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
.mainTitle { FONT-WEIGHT: 900; FONT-SIZE: 14px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
.thisframe { FONT-SIZE: 11px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
.bold { FONT-WEIGHT: 900 }
.dataentry { WIDTH: 150px }
TABLE.err { BORDER-RIGHT: #6798c7 1px solid; BORDER-TOP: #6798c7 1px solid; BORDER-LEFT: #6798c7 1px solid; BORDER-BOTTOM: #6798c7 1px solid }
TH.err { FONT-SIZE: 14px; COLOR: white; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #6798c7 }
TD.err { FONT-SIZE: 10px; COLOR: black; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif }
</style>

<meta http-equiv="content-type" content="text/html;charset=gb2312">
	</HEAD>
	<body>
		<form runat="server">
			<table height="100%" width="100%" align="center">
				<TBODY>
					<tr>
						<td align="center" valign="middle">
							<table height="440" cellSpacing="0" cellPadding="0" width="600" border="0" style="BORDER-RIGHT: #6798c7 1px solid; BORDER-TOP: #6798c7 1px solid; BORDER-LEFT: #6798c7 1px solid; BORDER-BOTTOM: #6798c7 1px solid">
								<tbody>
									<tr>
										<td valign="top" height="98" width="594" background="../Pic/Installer/headerbg.gif"><img src="../Pic/Installer/licenseHeader.gif" width="496" height="98"></td>
									</tr>
									<tr>
										<td valign="top">
											<div style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 30px">
								<SPAN class="mainTitle"></SPAN>
								<STRONG>载入许可证</STRONG><BR>
								<BR>
								<DIV>请载入有效的<strong><asp:Literal ID="ProductName" runat="server"></asp:Literal></strong>许可证。&nbsp;</DIV>
								<DIV style="PADDING-LEFT: 20px; PADDING-TOP: 20px">
								  请输入您的许可证文件的完整路径。 如果没有，请您通过以下网址(<A href="http://www.siteserver.cn/license" target="_blank">http://www.siteserver.cn/license</A>)填写好您的有关信息后便可获得一个试用版本许可证。<BR>
								  <BR>
								  完成此表格后，我们将通过电子邮件提供给您一个试用版本许可证。在下面输入框中载入您收到的许可证文件，以后此提示信息将不会再出现。<BR>
								  <BR>
								  您可以将您的机器标识或者网站域名提供给我们的销售渠道以便获取正式版的许可证。<BR>
								  <BR>
								  <TABLE width="588" border=0 cellSpacing=1>
									<TBODY>
									  <TR>
										<TD >您的机器标识</TD>
										<TD ><B><%=GetHostID()%></B></TD>
									  </TR>
									  <TR>
										<TD >您的网站域名</TD>
										<TD ><B><%=GetDomain()%></B></TD>
									  </TR>
									  <TR>
										<TD >许可证文件</TD>
										<TD ><INPUT type=file size=40 id=LicenseFile runat="server">
										<asp:RequiredFieldValidator ControlToValidate="LicenseFile" ErrorMessage="*" Display="Dynamic"
										runat="server" /></TD>
									  </TR>
									</TBODY>
								  </TABLE>
									<P></P>
								</DIV>
			<DIV></DIV>
			</TD></TR>
			<tr>
				<td valign="bottom">
					<table cellpadding="0" cellspacing="0" border="0" width="100%">
						<tr>
							<td><img src="../Pic/Installer/blcorner.gif"></td>
							<td align="right"><img src="../Pic/Installer/brCorner.gif"></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td align="right" bgcolor="#6798c7" height="45"><div style="PADDING-RIGHT: 30px"><asp:Button class="button" id="Return" onclick="ReturnClick" runat="server" CausesValidation="false" Text="返回许可证向导"></asp:button>&nbsp;&nbsp;<asp:Button class="button" id="Button1" onclick="ButtonClick" runat="server" Text="载入许可证文件"></asp:button></div>
				</td>
			</tr>
			</TBODY></TABLE></TD></TR></TBODY></TABLE>
		</form>
	</body>
</HTML>
