📄 myinfoqamatchmate.jsp.svn-base
字号:
<!--------------------------------------------------------------------------------------------------------------
*@目敲霸烙 娄茫扁
*@Author : 弥眠岿 (2008-6-10)
*@Images : 其捞瘤 救俊 甸绢啊绰 捞固瘤
1) bg_01.png - 抛捞喉 弥惑窜 硅版捞固瘤(仟弗祸)
--------------------------------------------------------------------------------------------------------------->
<%@ page import='java.io.*,java.text.*,java.util.Date,java.util.Vector, javax.servlet.http.HttpSession,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="../makeKOR.jsp"%>
<%
/***********************************************************************
@ Page Description
霸烙 皋牢 其捞瘤
@ Parameter
***********************************************************************/
/*------------------------------------------------------------------------------------------------------
+ 扁夯 颇扼固磐
-------------------------------------------------------------------------------------------------------*/
String mphone= request.getParameter("mphone");
String gphone= request.getParameter("gphone");
String name= java.net.URLDecoder.decode(makeKOR(request.getParameter("name")));
String titleqa = "";
/*------------------------------------------------------------------------------------------------------
+ 傈开 函荐
-------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------
+ DB 包访 函荐
-------------------------------------------------------------------------------------------------------*/
PreparedStatement pstmt = null;
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
String szCount = null;
try
{
/*------------------------------------------------------------------------------------------------
* DB 目池记
-------------------------------------------------------------------------------------------------*/
%><%@ include file="../getConnection.jsp"%><%
/*------------------------------------------------------------------------------------------------
* 龙巩 眠啊
-------------------------------------------------------------------------------------------------*/
if(request.getParameter("title")!=null)
{
if(request.getParameter("title")=="")
{
// QVGA HTML
//
if( isQVGA )
{
%><%@ include file="/html/MyinfoQAmatchmateF.jsp"%><%
}
// QCIF HTML
//
else
{
%><%@ include file="/html/qcif/MyinfoQAmatchmateF.jsp"%><%
}
}
else
{
titleqa = request.getParameter("title");
szCount = "insert into GT_LUCKY_QUIZ (phonenum,title,flag) values (?,?,0)";
pstmt = con.prepareStatement(szCount);
pstmt.setLong(1,Long.parseLong(mphone));
pstmt.setString(2,titleqa);
pstmt.executeUpdate();
pstmt.close();
// QVGA HTML
//
if( isQVGA )
{
%><%@ include file="/html/MyinfoQAmatchmateS.jsp"%><%
}
// QCIF HTML
//
else
{
%><%@ include file="/html/qcif/MyinfoQAmatchmateS.jsp"%><%
}
}
}
%>
<%
}catch(Exception e)
{
out.println(e);
}
finally
{
if(rs != null) try{ rs.close(); }catch(Exception se){}
if(pstmt != null) try{ pstmt.close(); }catch(Exception se){}
if(stmt != null) try{ stmt.close(); }catch(Exception se){}
if(con != null) try{ con.close(); }catch(Exception se){}
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -