📄 zsx.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.util.Date" errorPage="" %>
<html>
<style type="text/css">
<!--
.style1 {font-size: 14px}
.style2 {font-size: 14}
.style3 {font-size: 16px}
.style4 {font-weight: bold}
.style5 {
color: #FF0000;
font-size: 16px;
}
-->
</style>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<jsp:useBean id="ConBean" scope="session"
class="com.bitc.ch13.DBCon"/>
<%
String id = request.getParameter("id");
Date Now = new Date();
String year = String.valueOf(Now.getYear() + 1900);
String month = String.valueOf(Now.getMonth() + 1);
String day = String.valueOf(Now.getDate());
String hour = String.valueOf(Now.getHours());
String minute = String.valueOf(Now.getMinutes());
String second = String.valueOf(Now.getSeconds());
String date = year + "-" + month + "-" + day;
String shijian = date + " " + hour + ":" + minute + ":" + second;
Connection con = ConBean.getConnection();
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM jsp8_zshost where id ='"+id+"'");
while(rs.next()){
String checkmail = rs.getString("checkmail");
String checkcn = rs.getString("checkcn");
%>
<table height="389">
<form action="sendHTMLMail.jsp" method="post">
<tr>
<td height="294" colspan="2">
<textarea name="content" cols="100" rows="20">
<table width="750" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="FF8400">
<tr>
<td align="center">
<table width="749" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" align="center" bgcolor="FF8400"> <table width="480" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="112"><a href="http://www.8isp.cn" target="_blank"><img src="http://www.8isp.cn/2.gif" width="187" height="57" border="0"></a></td>
<td width="468" align="right"><img src="http://www.8isp.cn/xx.gif" width="355" height="45"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="400" align="center" valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="97%" height="30" align="right" bgcolor="FFF1E1" style=font-size:12px><strong>主机开始时间:<%=rs.getString("riqi")%></strong>
是否备案:<%=rs.getString("beian")%> 发信时间:<%=shijian%></td>
<td width="3%" align="right" bgcolor="FFF1E1"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style=font-size:12px><strong>尊敬的深圳万网用户:<span class="style5">aaa</span></strong><br>
<span class="style1"><br>
<span class="style2">您好!感谢您订购深圳万网JSP虚拟主机!<br>
请仔细查阅以下注册信息,如有任何疑问请与我公司联系,联系方式如下:<br>
电 话:0755 - 27257807 QQ:441992599 <br>
Email:<a href="mailto:zcdnsz@10000net.cn">zcdnsz@10000net.cn</a> </span></span> </td>
</tr>
</table>
<table width="600" border="0" cellpadding="6" cellspacing="0">
<tr bgcolor="FFF1E1">
<td colspan="4" style=font-size:12px><strong>虚拟主机信息:</strong></td>
</tr>
<tr>
<td width="143" height="5" align="right"></td>
<td height="5" colspan="3"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="37" align="right" style=font-size:12px>主机名称:</td>
<td width="195" style=font-size:12px> </td>
<td height="37" align="right" style=font-size:12px>容 器 :</td>
<td width="122" style=font-size:12px>元</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="32" align="right" bgcolor="#FFFFFF" style=font-size:12px>数 据 库:</td>
<td bgcolor="#FFFFFF" style=font-size:12px> </td>
<td align="right" bgcolor="#FFFFFF" style=font-size:12px>WEB空间:</td>
<td align="left" bgcolor="#FFFFFF" style=font-size:12px>M</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="36" align="right" bgcolor="#FFFFFF" style=font-size:12px>企业邮局:</td>
<td bgcolor="#FFFFFF" style=font-size:12px> </td>
<td align="right" bgcolor="#FFFFFF" style=font-size:12px>绑定的域名:</td>
<td align="left" bgcolor="#FFFFFF" style=font-size:12px> </td>
</tr>
<tr align="left" bgcolor="#FFFFFF">
<td colspan="4" bgcolor="#FFFFFF" style=font-size:12px> <span class="style4">为了服务器运行更加稳定,所有新上的站点,前一个星期不能绑定域名,证明没有错误后放可为您绑定域名:
</span> <p class="style4">你的临时URL: <a href="http://61.152.239.26:9080" target="_blank">http://61.152.239.26:9080</a></p>
<p class="style4"> 您现在可以发布您的网站,绑定与名后,您不需要重新发布你的网站和数据库, 这段时间我们会观察你的站有没有错误,如果有错误,我们会协助你修改错误,如果没有错误,我们将在二天或者一个星期后为你绑订国际域名! 为了大家都有个稳定的环境,还请谅解! </td>
</tr>
<tr bgcolor="FFF1E1">
<td colspan="4" style=font-size:12px><strong>FTP信息:</strong></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="34" align="right" style=font-size:12px>F T P:</td>
<td colspan="3" style=font-size:12px><font color="#0000FF"> 61.152.239.26</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="35" align="right" style=font-size:12px>用户名:</td>
<td colspan="3" style=font-size:12px> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="34" align="right" style=font-size:12px>密 码:</td>
<td colspan="3" style=font-size:12px><font color="#0000FF"> </font></td>
</tr>
<tr bgcolor='FFF1E1'> <td colspan='4' style=font-size:12px><strong>域名信息:</strong></td>
</tr> <tr bgcolor='#FFFFFF'> <td height="31" align='right' bgcolor="#FFFFFF" style=font-size:12px>你的域名:</td>
<td colspan="3" bgcolor="#FFFFFF" style=font-size:12px><font color="#0000FF">www.</font></td>
</tr>
<tr bgcolor='#FFFFFF'>
<td height="32" align='right' bgcolor="#FFFFFF" style=font-size:12px>管理地址:</td>
<td colspan="3" bgcolor="#FFFFFF" style=font-size:12px><a href="http://diy.hichina.com/cgi-bin/login" target="_blank">http://diy.hichina.com/cgi-bin/login</a></td>
</tr>
<tr bgcolor='#FFFFFF'>
<td height="30" align='right' bgcolor="#FFFFFF" style=font-size:12px>管理密码:</td>
<td colspan="3" bgcolor="#FFFFFF" style=font-size:12px>123456 (<span class="style3">请尽快更改你的密码,否则由此造成的损失自行承担</span>)</td>
</tr> <tr bgcolor='#FFFFFF'>
<td height="30" align='right' bgcolor="#FFFFFF" style=font-size:12px>有效期限:</td>
<td colspan="3" bgcolor="#FFFFFF" style=font-size:12px>12个月</td>
</tr>
<%}else{};%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -