-
Notifications
You must be signed in to change notification settings - Fork 0
/
visitregis.jsp
154 lines (152 loc) · 6.79 KB
/
visitregis.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><MMString:LoadString id="insertbar/formsCheckbox" /></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved. -->
<!-- Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved. -->
<script language="javascript">
</script>
</head>
<body link="#FF9933">
<%if(request.getParameter("vid")!=null){%>
<jsp:useBean id="t1" class="pack.vregis"/>
<jsp:setProperty name="t1" property="*"/>
<%
int age=Integer.parseInt(request.getParameter("age"));
t1.setAge(age);
int vid=Integer.parseInt(request.getParameter("vid"));
t1.setVid(vid);
int nofv=Integer.parseInt(request.getParameter("nofv"));
t1.setNofv(nofv);
int k=t1.insert();
out.println(k);
}%>
<table width="100%"><tr><td align="center"><TABLE cellSpacing=1 cellPadding=0 width=776 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff colSpan=3 height=24 ALT="">
<TABLE class=tableborder4 height=28 cellSpacing=2 cellPadding=0
width="100%" border=0>
<TBODY>
<TR>
<TD height=19> </TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width=169 bgColor=#ffffff height=24 ALT=""> </TD>
</TR>
<TR>
<TD bgColor=#ffffff colSpan=3 height=24 ALT=""> <table>
<tbody>
<tr>
<td align="center" width="257"><img src="../images/logo.gif" width="232" height="262"></td>
<td width="371"><img src="../images/tiharm.gif"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></TD>
<TD width=169 bgColor=#ffffff height=24 ALT="">
<TABLE class=tableborder4 height=105 cellSpacing=2 cellPadding=0
width="100%" border=0>
<TBODY>
<TR>
<TD
height=21 background=file1_files/bg.gif class=TDhead><strong>News</strong></TD>
</TR>
<TR>
<TD height=125>
<DIV align=justify>
<MARQUEE onmouseover=this.stop() onmouseout=this.start()
scrollAmount=1 scrollDelay=60 direction=up width="100%"
height=120>
<A
href="http://www.freshlogics.com/news.php?news_id=9"><B>FreshLogics launches new website.</B></A><BR>
A whole new look isn't all that's different with this new site - FreshLogics incorporates new features such as various webdevelopment plan offerings, a project quote area, and a section with News. Along with these, tighter security measures have been incorporated into the order process as well as a more user-friendly style to the process itself. Customers can easily find answers to their questions via the FAQs page and the Knowledgebase and will see a major improvement in ease of site usability overall. Stay tuned to the News section for upcoming news and articles on Freshlogics.<BR>
<BR>
<A
href="http://www.freshlogics.com/news.php?news_id=7"><B>Freshlogics extended its work forced.</B></A><BR>
freshlogics extended its work forced by 30% after getting a continuous outsourcing /offshore projects from USA and Europe. New USA calling number. FreshLogics installed its new USA Calling number, now US client can call us on new number for all there queries and support. We also provide support from online chat and messenger. Please see our support pages for further details.<BR>
<BR>
<A
href="http://www.freshlogics.com/news.php?news_id=3"><B>New version of EcomLogics It's our proud pleasure to announce the release of new version of EcomLogic.</B></A><BR>
This release contains a number of new features , updates according new search engine trends. Details on all the changes in this release can be found in the ecommerce pages of our web site.<BR>
<BR>
<A
href="http://www.freshlogics.com/news.php?news_id=8"><B>Web development package Prices Slashed.</B></A><BR>
FreshLogics slashed its prices for all web development packages from 5 to 10%.<BR>
</MARQUEE>
</DIV></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD width=2><IMG height=1 alt="" src="file1_files/spacer.gif"
width=2></TD>
<TD width=605><IMG height=1 alt="" src="file1_files/spacer.gif"
width=255></TD>
<TD><IMG height=1 alt="" src="file1_files/spacer.gif" width=350></TD>
<TD><IMG height=1 alt="" src="file1_files/spacer.gif"
width=169></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
<form >
<tr><td></td></tr><tr><td>
<table align="center" width="63%" bgcolor="#CCCCCC">
<tr><td colspan="2">
<tr><td colspan="2"><font color="#003366" size="+2"><br>
Registration of Visitor </font></td>
</tr><tr>
<td align="right"><strong>Visitor Id </strong></td>
<td><input name="vid" type="text" size="22"></td></tr>
<tr>
<td align="right"><b>Visitor Name<br>
</b></td>
<td><input name="vname" type="text" size="22"></td></tr>
<tr>
<td align="right"><b>Relation to Prisoner <br>
</b></td>
<td><input name="rtop" type="text" size="22"></td></tr>
<tr>
<td width="44%" align="right"><b>Visitor Age</b></td>
<td><select name="age">
<%
for(int vl=18;vl<100;vl++){%>
<option value="<%=vl%>"><%=vl%></option>
<%}%>
</select></td>
</tr>
<tr>
<td width="44%" align="right"><strong>Visitor Sex </strong></td>
<td><input name="sex" type="text" size="22" ></td>
</tr>
<tr>
<td align="right"><strong>Number of visit </strong></td>
<td><input name="nofv" type="text"size="15"></td>
</tr>
<tr>
<td align="right"><strong>Visitor Address </strong></td>
<td><input name="adr" type="text" size="40"></td>
</tr>
<tr>
<td align="right"> </td>
<td> </td>
</tr></table>
</td></tr><tr> <td height="73" align="center">
<input name="submit" type="submit" value="submit">
<input type="reset" name="Reset" value="Reset"> </td>
</tr>
</form>
</table>
<table border="1" bordercolor="#FFFFFF" width="100%"><tr><td bordercolor="#FF9933"><li></li></td>
<td bordercolor="#FF9933"><li></li></td>
</table>
</body>
</html>