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

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <%@ page language="java" import ="java.io.*,java.text.*,java.lang.*,java.util.Date,java.util.*,java.sql.*" %>
  2. <%@ include file="DBCon.jsp"%>
  3. <link href="../css/main.css" rel="stylesheet" type="text/css">
  4. <%
  5. if ( session.getAttribute("COCMISUserCode") == null || ((String)session.getAttribute("COCMISUserCode")).equals("") )
  6. {
  7. response.sendRedirect("../login.jsp");
  8. return;
  9. }
  10. Statement stm=Con.createStatement();
  11. ResultSet rs1,rs2;
  12. String opt=request.getParameter("opt");
  13. String pet_dt=request.getParameter("pet_dt");
  14. String pet_id=request.getParameter("pet_id");
  15. if (opt==null)
  16. {
  17. opt=" ";
  18. }
  19. if (pet_dt==null)
  20. {
  21. pet_dt=" ";
  22. }
  23. if (pet_id==null)
  24. {
  25. pet_id=" -1";
  26. }
  27. %>
  28. <html>
  29. <head>
  30. <meta http-equiv="Content-Language" content="en-us">
  31. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  32. <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  33. <meta name="ProgId" content="FrontPage.Editor.Document">
  34. <title>Mayor Grievance Acknowledgement - Reprint</title>
  35. </head>
  36. <body >
  37. <P>&nbsp; </P>
  38. <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><b><font face="divya" size="4">&#2986;&#3014;&#2992;&#3009;&#2984;&#2965;&#2992; &#2970;&#3014;&#2985;&#3021;&#2985;&#3016; &#2990;&#3006;&#2984;&#2965;&#2992;&#3006;&#2975;&#3021;&#2970;&#3007;</font></b></p><br>
  39. <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font size="2"></font>&#2990;&#3006;&#2979;&#3021;&#2986;&#3009;&#2990;&#3007;&#2965;&#3009; &#2990;&#3015;&#2991;&#2992;&#3021; &#2949;&#2997;&#2992;&#3021;&#2965;&#2995;&#3007;&#2975;&#2990;&#3021; &#2949;&#2995;&#3007;&#2965;&#3021;&#2965;&#2986;&#3021;&#2986;&#2975;&#3021;&#2975; &#2990;&#2965;&#3021;&#2965;&#2995;&#3021; &#2965;&#3009;&#2993;&#3016; &#2980;&#3008;&#2992;&#3021;&#2965;&#3021;&#2965;&#3009;&#2990;&#3021; &#2990;&#2985;&#3009;&#2997;&#3007;&#2985;&#3021; &#2997;&#3007;&#2997;&#2992;&#2990;&#3021;</p>
  40. <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">&nbsp;</p>
  41. <hr size="3" color="#660033" style="background-color: #EEDAB5">
  42. &nbsp;
  43. <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">&nbsp;</p>
  44. <div align="left" style="width: 867; height: 122">
  45. <table border="1" cellpadding="10" cellspacing="0" width="634" height="59">
  46. <tr>
  47. <td width="61"><b><font ><font face="divya" size="3">&#2997;.&#2958;&#2979;&#3021;.</font></font></b></td>
  48. <td width="161" height="26"><b><font ><font face="divya" size="3">&#2990;&#2985;&#3009; &#2958;&#2979;&#3021;</font></font></b></td>
  49. <td width="344" height="26" ><b><font face="divya" size="3">&#2990;&#2985;&#3009;&#2980;&#3006;&#2992;&#2992;&#3007;&#2985;&#3021; &#2986;&#3014;&#2991;&#2992;&#3021;</font></b></td>
  50. </tr>
  51. <%
  52. if (opt.equals("D"))
  53. {
  54. //out.println ("select pet_id,pet_nm from mayor_petition_mail where to_char(pet_dt,'dd/mm/yyyy')='"+pet_dt.replace("-","/")+"'");
  55. rs1=stm.executeQuery( "select pet_id,pet_nm from mayor_petition_mail where to_char(pet_dt,'dd/mm/yyyy')='"+pet_dt.replace("-","/")+"'") ;
  56. while (rs1.next())
  57. {
  58. %>
  59. <tr>
  60. <td width="61">&nbsp;</td>
  61. <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>
  62. <td width="344" height="21"><font face="VANAVIL-DB-Avvaiyar"><b><%=rs1.getString("pet_nm")%></b></font> </td>
  63. </tr>
  64. <%
  65. }
  66. }
  67. if (opt.equals("I"))
  68. {
  69. rs2=stm.executeQuery(" select pet_id,pet_nm from mayor_petition where pet_id='"+pet_id+"'");
  70. int row=0;
  71. while (rs2.next())
  72. {
  73. %>
  74. <tr>
  75. <td width="61">&nbsp;</td>
  76. <td width="161" height="21"><%=(++row)%> </td>
  77. <td width="161" height="21"><a href=mayor_grev_ack.jsp?uc=01&pet_id=<%=rs2.getString("pet_id")%>>
  78. <font face="VANAVIL-DB-Avvaiyar"><b><%=rs2.getString("pet_id")%></b></font> </a></td>
  79. <td width="344" height="21"><font face="VANAVIL-DB-Avvaiyar"><b><%=rs2.getString("pet_nm")%></b></font> </td>
  80. </tr>
  81. <%
  82. }
  83. }
  84. %>
  85. </table>
  86. <div align="left">
  87. <table border="0" width="100" height="28">
  88. <tr>
  89. <td width="100" height="28"><font color="#996633" face="divya"><input type="button" value="&#2997;&#3014;&#2995;&#3007;&#2991;&#3015;" name="bck" onClick="history.back()"
  90. style="font-family: divya; font-size: 12pt; font-style: italic; font-weight: bold"></font></td>
  91. </tr>
  92. </table>
  93. </div>
  94. </div>
  95. </body>
  96. </html>