You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
4.4 KiB
114 lines
4.4 KiB
<%@ page language="java" import ="java.io.*,java.text.*,java.lang.*,java.util.Date,java.util.*,java.sql.*" %>
|
|
<%@ include file="DBCon.jsp"%>
|
|
<link href="../css/main.css" rel="stylesheet" type="text/css">
|
|
|
|
<%
|
|
if ( session.getAttribute("COCMISUserCode") == null || ((String)session.getAttribute("COCMISUserCode")).equals("") )
|
|
{
|
|
response.sendRedirect("../login.jsp");
|
|
return;
|
|
}
|
|
|
|
|
|
Statement stm=Con.createStatement();
|
|
ResultSet rs1,rs2;
|
|
String opt=request.getParameter("opt");
|
|
String pet_dt=request.getParameter("pet_dt");
|
|
String pet_id=request.getParameter("pet_id");
|
|
|
|
if (opt==null)
|
|
{
|
|
opt=" ";
|
|
}
|
|
|
|
|
|
if (pet_dt==null)
|
|
{
|
|
pet_dt=" ";
|
|
}
|
|
|
|
|
|
if (pet_id==null)
|
|
{
|
|
pet_id=" -1";
|
|
}
|
|
|
|
%>
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
<title>Mayor Grievance Acknowledgement - Reprint</title>
|
|
</head>
|
|
|
|
<body >
|
|
<P> </P>
|
|
<p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><b><font face="divya" size="4">பெருநகர சென்னை மாநகராட்சி</font></b></p><br>
|
|
<p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font size="2"></font>மாண்புமிகு மேயர் அவர்களிடம் அளிக்கப்பட்ட மக்கள் குறை தீர்க்கும் மனுவின் விவரம்</p>
|
|
<p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"> </p>
|
|
<hr size="3" color="#660033" style="background-color: #EEDAB5">
|
|
|
|
<p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"> </p>
|
|
<div align="left" style="width: 867; height: 122">
|
|
<table border="1" cellpadding="10" cellspacing="0" width="634" height="59">
|
|
<tr>
|
|
<td width="61"><b><font ><font face="divya" size="3">வ.எண்.</font></font></b></td>
|
|
<td width="161" height="26"><b><font ><font face="divya" size="3">மனு எண்</font></font></b></td>
|
|
<td width="344" height="26" ><b><font face="divya" size="3">மனுதாரரின் பெயர்</font></b></td>
|
|
</tr>
|
|
|
|
<%
|
|
if (opt.equals("D"))
|
|
{
|
|
//out.println ("select pet_id,pet_nm from mayor_petition_mail where to_char(pet_dt,'dd/mm/yyyy')='"+pet_dt.replace("-","/")+"'");
|
|
rs1=stm.executeQuery( "select pet_id,pet_nm from mayor_petition_mail where to_char(pet_dt,'dd/mm/yyyy')='"+pet_dt.replace("-","/")+"'") ;
|
|
while (rs1.next())
|
|
{
|
|
%>
|
|
<tr>
|
|
<td width="61"> </td>
|
|
<td width="161" height="21"><a href="mayor_mail_grev_ack.jsp?uc=01&pet_id=<%=rs1.getString("pet_id")%>"><b><%=rs1.getString("pet_id")%> </b></font></td>
|
|
<td width="344" height="21"><font face="VANAVIL-DB-Avvaiyar"><b><%=rs1.getString("pet_nm")%></b></font> </td>
|
|
</tr>
|
|
<%
|
|
}
|
|
}
|
|
if (opt.equals("I"))
|
|
{
|
|
|
|
rs2=stm.executeQuery(" select pet_id,pet_nm from mayor_petition where pet_id='"+pet_id+"'");
|
|
int row=0;
|
|
while (rs2.next())
|
|
{
|
|
%>
|
|
<tr>
|
|
<td width="61"> </td>
|
|
<td width="161" height="21"><%=(++row)%> </td>
|
|
<td width="161" height="21"><a href=mayor_grev_ack.jsp?uc=01&pet_id=<%=rs2.getString("pet_id")%>>
|
|
<font face="VANAVIL-DB-Avvaiyar"><b><%=rs2.getString("pet_id")%></b></font> </a></td>
|
|
<td width="344" height="21"><font face="VANAVIL-DB-Avvaiyar"><b><%=rs2.getString("pet_nm")%></b></font> </td>
|
|
</tr>
|
|
<%
|
|
}
|
|
}
|
|
|
|
%>
|
|
</table>
|
|
<div align="left">
|
|
<table border="0" width="100" height="28">
|
|
<tr>
|
|
<td width="100" height="28"><font color="#996633" face="divya"><input type="button" value="வெளியே" name="bck" onClick="history.back()"
|
|
style="font-family: divya; font-size: 12pt; font-style: italic; font-weight: bold"></font></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|