📄 researchstart.jsp
字号:
<!--------------------------------------------------------------------------------------------------------------
*@霸烙皋牢
*@Author : zhou peng(2008-06-23)
--------------------------------------------------------------------------------------------------------------->
<%@ page import='java.io.*,java.text.*,java.util.Date,java.util.Vector, java.sql.*, com.entaz.lib.db.*, com.entaz.relay.net.*' contentType='text/html;charset=euc-kr'%>
<%@ include file="../imgpath.jsp"%>
<%@ include file="../common_func.jsp"%>
<%@ include file="formatUtil.jsp"%>
<style type="text/css">
A:hover {
COLOR: #000000; TEXT-DECORATION: underline
}
A:link {
COLOR: #000000; TEXT-DECORATION: underline
}
A:visited {
COLOR: #000000; TEXT-DECORATION: underline
}
</style>
<%!
public static String isNull(String str)
{
if (str == null)
return "";
else
return str;
}
%>
<%
/**
* @ version : 1.0.0
* @ author : zhou peng ( pengzhou@isoftstone.com )
* @ last modified : 2008-06-23
*/
/*------------------------------------------------------------------------------------------------------
+ 扁夯 颇扼固磐
-------------------------------------------------------------------------------------------------------*/
String mphone= request.getParameter("mphone");
String gphone= request.getParameter("gphone");
if(mphone == null){
mphone= "09900100081";
}
if(gphone == null){
gphone = mphone;
}
mphone = getStrPhone(getLong(mphone));
gphone = getStrPhone(getLong(gphone));
/*------------------------------------------------------------------------------------------------------
+ 傈开 函荐
-------------------------------------------------------------------------------------------------------*/
String sql = null;
String strNickname = null;
String guestPhone = null;
String strTitle = null;
int reCount = 0;
String regdate = null;
String strProvision1 = null;
String strProvision2 = null;
String strProvision3 = null;
String strProvision4 = null;
String strProvision5 = null;
String pageurl = null;
int titleIdx = 0;
if(request.getParameter("titleIdx")!=null) titleIdx=Integer.parseInt(request.getParameter("titleIdx")); else titleIdx=0;
/*------------------------------------------------------------------------------------------------------
+ DB 包访 函荐
-------------------------------------------------------------------------------------------------------*/
Connection con = null;
PreparedStatement pstmt = null;
Statement stmt = null;
ResultSet rs = null;
ResultSet pageset = null;
ResultSet rsDate = null;
try
{
/*------------------------------------------------------------------------------------------------
* DB 目池记
-------------------------------------------------------------------------------------------------*/
%>
<%@ include file="../getConnection.jsp"%>
<%@ include file="bgColor.jsp"%>
<%
/*------------------------------------------------------------------------------------------------
* Host nickName
-------------------------------------------------------------------------------------------------*/
sql = " SELECT nickname FROM GT_User_Info WITH (READUNCOMMITTED) WHERE phonenum='"+gphone+"'" ;
pstmt = con.prepareStatement(sql);
rs = pstmt.executeQuery();
if( rs.next() )
{
strNickname = rs.getString("nickname");
}else{
strNickname = "绝澜";
}
rs.close();
pstmt.close();
/*------------------------------------------------------------------------------------------------
* Provision List
-------------------------------------------------------------------------------------------------*/
sql = "SELECT title,Provision1,Provision2,Provision3,Provision4,Provision5 ,(Provision1Cnt+Provision2Cnt+Provision3Cnt+Provision4Cnt+Provision5Cnt) reCount ";
sql = sql + " FROM gt_NsResearch WITH (READUNCOMMITTED) WHERE idx="+titleIdx+" AND phonenum="+Long.parseLong(gphone);
pstmt = con.prepareStatement(sql);
rs = pstmt.executeQuery();
if( rs.next() )
{
strTitle = rs.getString("title");
reCount = rs.getInt("reCount");
strProvision1 = rs.getString("Provision1");
strProvision2 = rs.getString("Provision2");
strProvision3 = rs.getString("Provision3");
strProvision4 = rs.getString("Provision4");
strProvision5 = rs.getString("Provision5");
}
rs.close();
pstmt.close();
%>
<html>
<head>
<title></title>
<link href="http://entaz.mugeta.com/client/mugeta_v2_test/web/user/mobile.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" action="VoteConfirm.jsp" method="post" >
<table width="176" border="0" cellspacing="0" cellpadding="0">
<!-- 鸥捞撇 矫累 -->
<tr>
<td>
<input type="hidden" name="mphone" value="<%=mphone%>"/>
<input type="hidden" name="gphone" value="<%=gphone%>"/>
<input type="hidden" name="titleIdx" value="<%=titleIdx%>">
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr height="19">
<td width="8" bgcolor="<%=mainBgColor%>"></td>
<td bgcolor="<%=mainBgColor%>"><font color="#ffffff">汲巩炼荤曼咯</font></td>
</tr>
</table>
</td>
</tr>
<!-- 鸥捞撇 场 -->
<!-- 咯归 矫累 -->
<tr height="4">
<td></td>
</tr>
<!-- 咯归 场 -->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6"></td>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<font color="#928279"><%=strTitle%></font>
<font color="<%=btnFontColor%>">[<%=reCount%>]</font>
</td>
<td ></td>
</tr>
<!--痢急 矫累-->
<tr>
<td align="center" colspan="2">
<font color="#ffcbb9" size="3" align="center"><b>·····························</b></font>
</td>
</tr>
<!--痢急 场-->
<!-- 冠胶 矫累 -->
<!-- 馆汗 1 矫累 -->
<tr>
<td colspan="2" bgcolor="<%=contentBgColor%>">
<table border="0" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="8"></td>
<td>1. <%=strProvision1%></td>
<td width="20" align="center">
<input type="radio" name="provisionNum" value="1" checked/>
</td>
<td width="8"></td>
</tr>
</table>
</td>
</tr>
<!-- 馆汗 1 场 -->
<!-- 馆汗 2 矫累 -->
<tr height="2">
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2" bgcolor="<%=contentBgColor%>">
<table border="0" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="8"></td>
<td>2. <%=strProvision2%></td>
<td width="20" align="center">
<input type="radio" name="provisionNum" value="2"/>
</td>
<td width="8"></td>
</tr>
</table>
</td>
</tr>
<!-- 馆汗 2 场 -->
<!-- 馆汗 3 矫累 -->
<tr height="2">
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2" bgcolor="<%=contentBgColor%>">
<table border="0" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="8"></td>
<td>3. <%=strProvision3%></td>
<td width="20" align="center">
<input type="radio" name="provisionNum" value="3"/>
</td>
<td width="8"></td>
</tr>
</table>
</td>
</tr>
<!-- 馆汗 3 场 -->
<!-- 馆汗 4 矫累 -->
<tr height="2">
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2" bgcolor="<%=contentBgColor%>">
<table border="0" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="8"></td>
<td>4. <%=strProvision4%></td>
<td width="20" align="center">
<input type="radio" name="provisionNum" value="4"/>
</td>
<td width="8"></td>
</tr>
</table>
</td>
</tr>
<!-- 馆汗 4 场 -->
<!-- 馆汗 5 矫累 -->
<tr height="2">
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2" bgcolor="<%=contentBgColor%>">
<table border="0" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="8"></td>
<td>5. <%=strProvision5%></td>
<td width="20" align="center">
<input type="radio" name="provisionNum" value="5"/>
</td>
<td width="8"></td>
</tr>
</table>
</td>
</tr>
<!-- 馆汗 5 场 -->
<!-- 冠胶 场 -->
<!--痢急 矫累-->
<tr>
<td align="center" colspan="2">
<font color="#ffcbb9" size="3" align="center"><b>·····························</b></font>
</td>
</tr>
<!--痢急 场-->
<tr>
<td colspan="2">
<font color="#ff4d72"><b> 捧钎捞蜡</b> </font>
<input type="text" name="researchText" width="160" defaultimemode="1" imemode="0" maxlength="100"/>
</td>
</tr>
</table>
</td>
<td width="6"></td>
</tr>
</table>
</td>
</tr>
<!-- 冠胶 场 -->
<!--咯归 矫累-->
<tr>
<td height="5"></td>
</tr>
<!--咯归 场-->
<!-- 滚瓢 矫累 -->
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr height="16">
<td></td>
<td width="35" bgcolor="<%=mainBgColor%>" align="center" ><a href="javascript:form1.submit();"><font color="#ffffff">殿废</font></a></td>
<td width="2"></td>
<td width="35" bgcolor="<%=mainBgColor%>" align="center" ><a href="<%=url_path%>/news/ResearchList.jsp?mphone=<%=mphone%>&gphone=<%=gphone%>"><font color="#ffffff">秒家</font></a></td>
<td></td>
</tr>
</table>
</td>
</tr>
<!-- 滚瓢 场 -->
<!-- 咯归 矫累 -->
<tr height="11">
<td></td>
</tr>
<!-- 咯归 场 -->
<!--版肺钎矫 矫累-->
<%
String step1=url_path+"/main.jsp?mphone="+mphone+"&gphone="+gphone;//权
String step2=url_path+"/mypage/my_confirm.jsp?mphone="+mphone+"&gphone="+gphone;
String step3=url_path+"/news/NewsMain.jsp?mphone="+mphone+"&gphone="+gphone;
%>
<tr>
<td>
<table width="176" border="0" cellspacing="0" cellpadding="0">
<tr height="15">
<td width="8" bgcolor="#BBC7C8"></td>
<td bgcolor="#DAE6E8">
<a href="<%=step1%>">权</a>><a href="<%=step2%>"><%=strNickname%>丛狼迄乔</a>><a href="<%=step3%>">春胶</a>>汲巩曼咯
</td>
<td width="8" bgcolor="#BBC7C8"></td>
</tr>
</table>
</td>
</tr>
<!--版肺钎矫 场-->
</table>
</form>
<!--窍窜 版肺钎矫 矫累-->
<%@ include file="../newbottom.jsp"%>
<!--窍窜 版肺钎矫 场-->
</body>
</html>
<%
}
catch(Exception e)
{
throw e;
}
finally
{
if ( rs != null ) { try { rs.close(); } catch ( Exception e ) { } }
if ( stmt != null ) { try { stmt.close(); } catch ( Exception e ) { } }
if ( con != null ) { try { con.close(); } catch ( Exception e ) { } }
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -