📄 index.jsp
字号:
<%@ page pageEncoding="GB2312" %>
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ include file="/inc/config.jsp" %>
<%out.clear();%>
<%
String copnewpics = "";
String urlname = new StringBuffer(request.getRequestURL()).toString();
urlname=urlname.substring(0,urlname.lastIndexOf("/"));
%>
<fmt:requestEncoding value="gb2312" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=webname%>-<%=weburl%></title>
<link href="images/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="images/img.js"></script>
</head>
<body>
<table width="1000" border="0" cellspacing="0">
<tr>
<td width="370"><a href="/"><img src="images/logo.gif" alt="<%=webname%>" width="368" height="82" border="0"></a></td>
<td><script src="/ad/ad600.js"></script></td>
</tr>
</table>
<table width="1000" border="0" cellspacing="0" style="margin-bottom:2px">
<tr>
<td width="610" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:5px">
<tr>
<td width="70" height="40"><img src="images/show_r2_c2.jpg" width="70" height="40"></td>
<td background="images/show_r2_c4.jpg"><a href="showlist.jsp"><img src="images/showimg.gif" width="59" height="15" border="0"></a></td>
<td width="59"><img src="images/show_r2_c6.jpg" width="59" height="40"></td>
<td background="images/show_r2_c4.jpg"><a href="background.jsp"><img src="images/bjimg.gif" width="74" height="15" border="0"></a></td>
<td width="59"><img src="images/show_r2_c6.jpg" width="59" height="40"></td>
<td background="images/show_r2_c4.jpg"><a href="up.jsp" target="_blank"><img src="images/diy.gif" width="83" height="15" border="0"></a></td>
<td width="59"><img src="images/show_r2_c6.jpg" width="59" height="40"></td>
<td background="images/show_r2_c4.jpg"><a href="help" target="_blank"><img src="images/help.gif" width="89" height="15" border="0"></a></td>
<td width="61"><img src="images/show_r2_c8.jpg" width="61" height="40"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="p4" style="margin-bottom:5px">
<sql:query var="tabsql" sql="Select top 55 * from tab order by click desc"/>
<tr>
<td><B>快速导航:</B>
<c:forEach var="row" items="${tabsql.rows}"><a href="showlist.jsp?t=${row.tabname}" class="bt1">${row.tabname}</a> </c:forEach></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<form name="form1" method="get" action="showlist.jsp">
<tr>
<td>
闪图搜索:
<label>
<input name="t" type="text" id="t" size="35">
<span class="red">输入你要搜索的图片名称,越简单越好。</span> </label>
<label>
<input type="submit" name="button" id="button" value=" 搜 索 ">
</label>
</td>
</tr>
</form>
</table></td>
<td width="10"> </td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18" rowspan="3"><img src="images/show_r2_c10.jpg" width="18" height="200"></td>
<td height="34" align="center" background="images/show_r2_c12.jpg" class="bs"><B>闪字DIY教程</B></td>
<td width="18" rowspan="3"><img src="images/show_r2_c14.jpg" width="18" height="200"></td>
</tr>
<tr>
<td height="155"><table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td><span class="red">第一步:</span>上传背景图片,当然你也可以选择别人上传的背景。</td>
</tr>
<tr>
<td><span class="red">第二步:</span>设定四帧的闪字效果,如果图片不够四帧,系统会自动播放为四帧,如果图片比四帧要多,按原图的播放,你可以按预览按钮观看效果,只有不断重复的测试才会DIY出好的图片。</td>
</tr>
<tr>
<td><span class="red">第三步:</span>保存模版或保存图片,你所DIY出的图片如果没有保存,我们将会定期删除的,你如果只是要发到QQ上就没有必要保存,如果你要把图片贴图到论坛之类的,那你要先把图片保存,这样我们才不会删除。</td>
</tr>
</table></td>
</tr>
<tr>
<td height="11" background="images/show_r6_c12.jpg"></td>
</tr>
</table></td>
</tr>
</table>
<table width="1000" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:5px">
<tr>
<td align="center"><script src="/ad/ad1000.js"></script></td>
</tr>
</table>
<sql:query var="xgnews" sql="Select top 10 * from template order by id desc"/>
<table width="1000" border="0" cellpadding="5" cellspacing="0" bgcolor="#B1E3DC" class="p4" style="margin-bottom:5px">
<form name="form2" method="post" action="mbdiy.jsp" target="_blank">
<tr><td colspan="2">
<tr>
<td align="right"><span class="zi">输入文字快速生成闪字</span><br> <span class="red">你可以使用空格来控制文字的左右对齐</span></td>
<td align="left">
<input name="zi" type="text" id="zi" style="background:#FBFDFF;border:1px solid #0066B2;padding:2px;height:28px;width:400px;font-weight: bold; font-size: 20px; color: #0066b2" size="40">
<input type="submit" name="button2" id="button2" value="生成QQ闪字" style="font-weight: bold; font-size: 16px"> 请不要输入太多字
</td>
</tr>
</table>
<table width="1000" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:5px">
<tr>
<td width="495" valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0" class="p42">
<tr>
<td bgcolor="#F1FAF9">
<c:set var="ii" value="1"/>
<c:forEach var="row" items="${xgnews.rows}">
<table width="99%" border="0" align="center" cellpadding="5" cellspacing="0" class="p1x" style="margin-bottom:5px">
<tr>
<td width="15" height="100" onClick="SetStyle('${row.id}')"><label>
<input type="radio" name="e" id="e" value="${row.id}">
</label></td>
<td onClick="SetStyle('${row.id}')"><img id="newsxg${ii}" onMouseOver="OverDemo(this)" title="${row.tName}" onMouseOut="OutDemo(this)" alt="" src="${row.imgurl}" onload="if(this.height>100) {this.alt=this.title; this.height=100;}" border="0"></td>
<td width="210"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>模版名称:${row.tName}</td>
</tr>
<tr>
<td>添加时间:${row.addTime}</td>
</tr>
<tr>
<td>模版使用:<B>${row.frequency}</B>次 点击:<B>${row.click}</B>次</td>
</tr>
<tr>
<td><a href="mobi.jsp?imgurl=<%=urlname%>${row.imgurl}" target="_blank"><img src="images/mobi.gif" alt="复制" width="80" height="25" border="0"></a> <a href="showimg.jsp?id=${row.id}" target="_blank"><img src="images/ckxx.gif" alt="查看详细" width="80" height="25" border="0"></a></td>
</tr>
</table></td>
</tr>
</table>
<c:set var="ii" value="${ii+1}"/>
</c:forEach>
</td>
</tr>
</table></td>
<td width="10"> </td>
<td valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0" class="p42">
<tr>
<td bgcolor="#F1FAF9">
<sql:query var="hotxg" sql="Select top 10 * from template order by click desc"/>
<c:set var="ii" value="1"/>
<c:forEach var="row" items="${hotxg.rows}">
<table width="99%" border="0" align="center" cellpadding="5" cellspacing="0" class="p1x" style="margin-bottom:5px">
<tr>
<td width="15" height="100" onClick="SetStyle('hot${row.id}')"><input type="radio" name="e" id="e" value="hot${row.id}"></td>
<td onClick="SetStyle('hot${row.id}')"><img id="hotxg${ii}" onMouseOver="OverDemo(this)" title="${row.tName}" onMouseOut="OutDemo(this)" alt="" src="${row.imgurl}" onload="if(this.height>100) {this.alt=this.title; this.height=100;}" border="0"></td>
<td width="210"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>闪图名称:${row.tName}</td>
</tr>
<tr>
<td>添加时间:${row.addTime}</td>
</tr>
<tr>
<td>模版使用:<span class="red">${row.frequency}</span>次 点击:<span class="red">${row.click}</span>次</td>
</tr>
<tr>
<td><a href="mobi.jsp?imgurl=${row.imgurl}"><img src="images/mobi.gif" alt="复制" width="80" height="25" border="0"></a> <a href="showimg.jsp?id=${row.id}" target="_blank"><img src="images/ckxx.gif" alt="查看详细" width="80" height="25" border="0"></a></td>
</tr>
</table></td>
</tr>
</table>
<c:set var="ii" value="${ii+1}"/>
</c:forEach>
</td>
</tr>
</table></td>
</tr>
</form>
</table>
<sql:query var="mbnews" sql="Select top 18 * from background order by id desc"/>
<table width="1000" border="0" cellpadding="5" cellspacing="0" class="p42">
<tr>
<c:set var="i" value="1"/>
<c:forEach var="row" items="${mbnews.rows}">
<td bgcolor="#FFFEFD"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="100" align="center"><img onMouseOver="OverDemo(this)" title=" " onMouseOut="OutDemo(this)" alt="" src="${row.photoPath}" onload="if(this.width>100) {this.alt=this.title; this.width=100;}" border="0"></td>
</tr>
<tr>
<td height="22" align="center"><a href="diy.jsp?imgurl=${row.photoPath}" target="_blank" class="bt">使用本背景图DIY</a></td>
</tr>
</table></td>
<c:if test="${i%9==0}">
</tr>
<tr>
</c:if>
<c:set var="i" value="${i+1}"/>
</c:forEach>
</tr>
</table>
<table width="1000" border="0">
<tr>
<td><jsp:include page="bottom.jsp" /></td>
</tr>
</table>
<div id="DemoImg" style="background-color:#ffffff;position:absolute;left:30px;top:100px;z-index:99;border:1px solid #B1E3DC;display:none;"><img src=""></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -