?? host-zs-xin.jsp
字號(hào):
<%@ 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;
}
.style7 {font-weight: bold; color: #FF0000; }
-->
</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>主機(jī)開(kāi)始時(shí)間:<%=rs.getString("riqi")%></strong>
是否備案:<%=rs.getString("beian")%> 發(fā)信時(shí)間:<%=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>尊敬的深圳萬(wàn)網(wǎng)用戶(hù):<span class="style5"><%=rs.getString("yh")%></span></strong><br>
<span class="style1"><br>
<span class="style2">您好!感謝您訂購(gòu)深圳萬(wàn)網(wǎng)JSP虛擬主機(jī)!<br>
請(qǐng)仔細(xì)查閱以下注冊(cè)信息,如有任何疑問(wèn)請(qǐng)與我公司聯(lián)系,聯(lián)系方式如下:<br>
電 話(huà):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>虛擬主機(jī)信息:</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>主機(jī)名稱(chēng):</td>
<td width="195" style=font-size:12px><%String lx=rs.getString("lx");out.println(lx);%> </td>
<td height="37" align="right" style=font-size:12px>容 器 :</td>
<td width="122" style=font-size:12px><%=rs.getString("rq")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="32" align="right" bgcolor="#FFFFFF" style=font-size:12px>數(shù) 據(jù) 庫(kù):</td>
<td bgcolor="#FFFFFF" style=font-size:12px><%=rs.getString("sjkdx")%></td>
<td align="right" bgcolor="#FFFFFF" style=font-size:12px>WEB空間:</td>
<td align="left" bgcolor="#FFFFFF" style=font-size:12px><%=rs.getString("webdx")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="36" align="right" bgcolor="#FFFFFF" style=font-size:12px>企業(yè)郵局:</td>
<td bgcolor="#FFFFFF" style=font-size:12px><%=rs.getString("maildx")%></td>
<td align="right" bgcolor="#FFFFFF" style=font-size:12px>綁定的域名:</td>
<td align="left" bgcolor="#FFFFFF" style=font-size:12px><%String cn = rs.getString("cn");out.println(cn);%></td>
</tr>
<tr align="left" bgcolor="#FFFFFF">
<td colspan="4" bgcolor="#FFFFFF" style=font-size:12px> <span class="style4">為了服務(wù)器運(yùn)行更加穩(wěn)定,所有新上的站點(diǎn),前一個(gè)星期不能綁定域名,證明沒(méi)有錯(cuò)誤后放可為您綁定域名:
</span> <p class="style4">你的臨時(shí)URL: <a href="http://<%String ip = rs.getString("ftp");out.println(ip);%>:9080/<%String ftpname = rs.getString("ftpname");out.println(ftpname);%>" target="_blank">http://<%=ip%>:9080/<%=ftpname%></a></p>
<p class="style4"> 您現(xiàn)在可以發(fā)布您的網(wǎng)站,綁定與名后,您不需要重新發(fā)布你的網(wǎng)站和數(shù)據(jù)庫(kù), 這段時(shí)間我們會(huì)觀(guān)察你的站有沒(méi)有錯(cuò)誤,如果有錯(cuò)誤,我們會(huì)協(xié)助你修改錯(cuò)誤,如果沒(méi)有錯(cuò)誤,我們將在二天或者一個(gè)星期后為你綁訂國(guó)際域名! 為了大家都有個(gè)穩(wěn)定的環(huán)境,還請(qǐng)諒解! </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"> <%=ip%></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="35" align="right" style=font-size:12px>用戶(hù)名:</td>
<td colspan="3" style=font-size:12px> <%=ftpname%></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"><%=rs.getString("ftppwd")%></font></td>
</tr>
<%if(checkcn.equals("yes")){%>
<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"><%=cn%></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">請(qǐng)盡快更改你的密碼,否則由此造成的損失自行承擔(dān)</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個(gè)月 登陸時(shí)請(qǐng)不要帶www的形式,默認(rèn)我們會(huì)全部為您設(shè)置好,無(wú)須在更改</td>
</tr>
<%}%>
<tr bgcolor='FFF1E1'> <td colspan='4' style=font-size:12px><strong>數(shù)據(jù)庫(kù)信息:</strong></td>
</tr> <tr bgcolor='#FFFFFF'> <td height="31" align='right' bgcolor="#FFFFFF" style=font-size:12px>數(shù)據(jù)庫(kù):</td>
<td colspan="3" bgcolor="#FFFFFF" style=font-size:12px><font color="#0000FF"><%=rs.getString("sjk")%></font></td>
</tr>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -