Вы находитесь на странице: 1из 22

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript> <!

-function member_onsubmit() { if(document.member.LoginID.value=="") { alert("Enter LoginId"); document.member.LoginID.focus(); return false } if(document.member.password.value=="") { alert("Enter Password"); document.member.password.focus(); return false } return true } //--> </SCRIPT> <BODY> <P> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue></TD></TR> <TR> <TD height=400> <form action="admin.asp" language=javascript method=post name=member onsubmit="return member_onsubmit()" > <table border=0 width="50%" align=center> <tr><td bgcolor=blue><FONT color=wheat face=Verdana><STRONG>&nbsp;&nbsp;&nbsp; Login </STRONG></FONT> </td></tr> <tr ><td bgColor=orrange height="125" > <DIV align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Login ID:&nbsp; <input maxLength=10 name="LoginID" size="20" > </b></font></DIV><DIV align=center>&nbsp;</DIV> <div align="center" ><font face="Verdana, Arial, Helvetica, sans-serif" size="2" ><b>Password: <input maxLength=10 name=password type="password" size="20"> </b></font></div> <div align="center" >&nbsp;</div></td></tr> <tr><td bgColor=orrange align=right> <input name=memsubmit type=submit value="Login" WIDTH: 106px"> </td></tr> </table> </form>

style="HEIGHT: 24px;

</TD></TR> <TR> <TD></TD></TR> <TR> <TD height=20 bgcolor=blue></TD></TR></TABLE></P> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Reg No"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Name"); document.AppE.text2.focus(); return false; } return true } </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=custEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 60%" width="60%" bgcolor=lavender> <tr><td colspan=2> <strong><font face="Comic Sans MS" size="4" color="#FF00FF">USER REGISTRATION </font></strong> </td></tr>

<TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">User Name</FONT></STRONG></TD> <TD><INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Password </FONT></STRONG></TD> <TD> <!--webbot bot="Validation" S-Data-Type="String" S-Allow-OtherChars="*" --><INPUT id=textPW name=textPW style="FONT-FAMILY: fantasy" size="20" type="password"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Name</FONT></STRONG></TD> <TD><INPUT id=text2 name=text2 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Date of Birth </FONT></STRONG></TD> <TD><INPUT id=text3 name=text3 style="FONT-FAMILY: fantasy" size="20">&nbsp;</TD></TR> <TR> <TD>&nbsp;</TD> <TD>Ex: 10-Apr-1970</TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Address</FONT></STRONG></TD> <TD><INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD></TD> <TD><INPUT id=text6 name=text6 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">PIN Code</FONT></STRONG></TD> <TD> <!--webbot bot="Validation" B-Value-Required="TRUE" I-MaximumLength="6" --><INPUT id=text7 name=text7 style="FONT-FAMILY: fantasy" size="20" maxlength="6"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Phone No</FONT></STRONG></TD> <TD> <!--webbot bot="Validation" B-Value-Required="TRUE" I-MaximumLength="12" --><INPUT id=text8 name=text8 style="FONT-FAMILY: fantasy" size="20" maxlength="12"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">eMail </FONT></STRONG></TD> <TD><INPUT id=text9 name=text9 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Passport No

</FONT></STRONG></TD> <TD><INPUT id=text10 name=text10 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD></TD> <TD><INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px"></TD></TR> </TABLE> </FORM></tr> </TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Flight Id"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Name"); document.AppE.text2.focus(); return false; } return true } </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400>

<TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=FlightEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender height="403"> <tr><td colspan=2 height="45"> <strong><font face="Courier New" size="6" color="#FF00FF">FLIGHT INFORMATION</font></strong></td></tr> <TR> <TD height="25"><strong><font face="Courier New" color="#0000FF">FLIGHT ID</font></strong></TD> <TD height="25"><INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"><strong><font face="Courier New" color="#0000FF">NAME</font></strong></TD> <TD height="25"><INPUT id=text2 name=text2 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"><strong><font face="Courier New" color="#0000FF">DATE OF PURCHASE</font></strong></TD> <TD height="25"><INPUT id=text3 name=text3 style="FONT-FAMILY: fantasy" size="20">&nbsp;</TD></TR> <TR> <TD height="19">&nbsp;</TD> <TD height="19">Ex: 10-Apr-1970</TD></TR> <TR> <TD height="25"><strong><font face="Courier New">SEATING CAPACITY</font></strong></TD> <TD height="25"></TD></TR> <TR> <TD height="24"><strong><font face="Courier New" color="#0000FF">ECONOMY CLASS</font></strong></TD> <TD height="24"><INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"><strong><font face="Courier New" color="#0000FF">BUSINESS CLASS</font></strong></TD> <TD height="25"><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"><strong><font face="Courier New" color="#0000FF">LUXURY CLASS</font></strong></TD> <TD height="25"><INPUT id=text6 name=text6 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"></TD> <TD height="25"><INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px"></TD></TR> </TABLE> </FORM></tr>

</TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML> <Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Place Name"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Des"); document.AppE.text2.focus(); return false; } return true } </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=PlaceEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender> <tr><td colspan=2><FONT color=darkgreen face=Verdana><STRONG>Flight Timings </STRONG></FONT> </td></tr> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Flight Name</FONT></STRONG></TD> <TD><INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy"></TD></TR>

<TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>From Place</FONT></STRONG></TD> <TD><INPUT id=text2 name=text2 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>To Place</FONT></STRONG></TD> <TD><INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Date</FONT></STRONG></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Time</FONT></STRONG></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD></TD> <TD><INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px"></TD> </TR> </TABLE> </FORM></tr> </TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Place Name"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Des"); document.AppE.text2.focus(); return false; } return true } </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE>Online Ticket Booking</TITLE>

</HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=PlaceEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender> <tr><td colspan=2><FONT color=darkgreen face=Verdana><STRONG>Flight Timings </STRONG></FONT> </td></tr> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Flight Name</FONT></STRONG></TD> <TD><INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>From Place</FONT></STRONG></TD> <TD><INPUT id=text2 name=text2 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>To Place</FONT></STRONG></TD> <TD><INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Date</FONT></STRONG></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Time</FONT></STRONG></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy"></TD></TR> <TR> <TD></TD> <TD><INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px"></TD> </TR> </TABLE> </FORM></tr> </TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE>

</BODY> </HTML>

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana style="BACKGROUND-COLOR: #add8e6"><STRONG><A href="Index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=1 cellPadding=5 cellSpacing=5 width="80%"> <% set conn = server.CreateObject("adodb.connection") With Conn .ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security Info=True" .Open End With Set RS=server.CreateObject("adodb.recordset") T1=Replace(Request.Form("Text1"),"'","''") TPW=Replace(Request.Form("TextPW"),"'","''") T2=Replace(Request.Form("Text2"),"'","''") T3=Replace(Request.Form("Text3"),"'","''") T4=Replace(Request.Form("Text4"),"'","''") T5=Replace(Request.Form("Text5"),"'","''") T6=Replace(Request.Form("Text6"),"'","''") T7=Replace(Request.Form("Text7"),"'","''") T8=Replace(Request.Form("Text8"),"'","''") T9=Replace(Request.Form("Text9"),"'","''") if rs.State=1 then rs.Close rs.Open "select * from employee where uName='" & t1 & "'",conn if rs.EOF=false then Response.Write "<TR> <td><font face=verdana size=3> This Record is allready Entered </Font> </TD></TR>" Response.Write "<TR> <td> <font face=verdana size=3><A href=empEntry.htm > Click Here to go Back </A> </Font> </TD></TR>" Response.Write "<TR> <td> <font face=verdana size=3><A href=Index.htm > Click Here to go Home </A> </Font> </TD></TR>" else strsql= "Insert into employee values('" & t1 & "','" & tPW & "','" & t2 & "','" & t3 & "','" & t4 & "','" & t5 & "','" & t6 & "','" & t7 & "','" & t8 & "','" & t9 & "')" 'Response.Write strsql conn.Execute "Insert into employee values('" & t1 & "','" & tPW & "','" & t2 & "','" & t3 & "','" & t4 & "','" & t5 & "','" & t6 & "','" & t7 & "','" & t8 & "','" & t9 & "')"

Response.Write "<TR> <td><font face=verdana size=3> This Registered Succesfully </Font></TD></TR>" Response.Write "<TR> <td><font face=verdana size=3> <A href=empEntry.htm > Click Here to Enter Another Record </A> </TD></TR>" Response.Write "<TR> <td> <font face=verdana size=3><A href=Index.htm > Click Here to go Home </A> </Font> </TD></TR>" end if 'conn.Execute "insert into subject values(11,'PHYSICS')" %> </TABLE> </TD></TR> <TR> <TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana style="BACKGROUND-COLOR: #add8e6"><STRONG><A href="Index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=1 cellPadding=5 cellSpacing=5 width="80%"> <FORM name=AppE method=post action=BookTicketConfirm.asp onsubmit="return signup_onsubmit()"> </TABLE> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender> <tr><td colspan=2><FONT color=darkgreen face=Verdana><STRONG>Seat Confirmation </STRONG></FONT> </td></tr> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Confirmed</FONT></STRONG></TD> <TD> <SELECT id=Text1 name=Text1 style="HEIGHT: 22px; WIDTH: 120px"> <OPTION>Yese</OPTION> <OPTION>No</OPTION> </SELECT> </TD></TR>

<TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Message</FONT></STRONG></TD> <TD><INPUT id=text2 name=text2 value="Your seat is confirmed" style="FONT-FAMILY: fantasy; HEIGHT: 53px; WIDTH: 349px" ></TD></TR> <TR> <TD></TD> <TD><INPUT id=submit1 name=submit1 type=submit value="Confirm" style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px"></TD> </TR> </TABLE></FORM></TR></TABLE></TD></TR> <TR> <TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Place Name"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Des"); document.AppE.text2.focus(); return false; } return true } </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400>

<TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=PlaceEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender> <tr><td colspan=2> <FONT color=darkgreen face="Comic Sans MS" size="6"><STRONG>Flight Information </STRONG></FONT> </td></tr> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Place Name</FONT></STRONG></TD> <TD><INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> ></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Distance from Bangalore</FONT></STRONG></TD> <TD><INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face="Comic Sans MS" size="4">Country</FONT></STRONG></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD></TD> <TD><INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px"></TD></TR> </TABLE> </FORM></tr> </TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Place Name"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") {

} return true } </Script>

alert("Please enter the Des"); document.AppE.text2.focus(); return false;

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=PlaceEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender> <tr><td colspan=2><FONT color=darkgreen face=Verdana><STRONG>Flight Information </STRONG></FONT> </td></tr> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Place Name</FONT></STRONG></TD> <TD><INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> </TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Distance from Bangalore</FONT></STRONG></TD> <TD><INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD><STRONG><FONT color=saddlebrown face=Verdana>Country</FONT></STRONG></TD> <TD><INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD></TD> <TD><INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px"></TD></TR> </TABLE> </FORM></tr>

</TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the Place Name"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Des"); document.AppE.text2.focus(); return false; } return true } </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=PlaceEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 75%" width="75%" bgcolor=lavender height="219"> <tr><td colspan=2 height="18"><strong> <font face="Courier New" color="#FF00FF" size="5">PLACE DETAIL ENTRY FORM</font></strong></td></tr> <TR> <TD height="29"><strong><font face="Courier New" color="#0000FF">PLACE

NAME</font></strong></TD> <TD height="29"> <INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">DISTANCE FROM BANGALORE</font></strong></TD> <TD height="22"> <INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">COUNTRY</font></strong></TD> <TD height="22"> <INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"></TD> <TD height="25"><INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px"></TD></TR> </TABLE> </FORM></tr> </TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

Create table AdminTab (uName varchar2(20), pWord varchar2(20)); insert into AdminTab values('admin','admin'); create table Employee (uName varchar2(50) primary key, pWord varchar2(50), eName varchar2(50), DOB Date, add1 varchar2(50), add2 varchar2(50), add3 varchar2(50), PIN varchar2(10), PhNo varchar2(20), EdQ varchar2(50));

Create table FlightDet (fName varchar2(20), fDes varchar2(50), DOP Date, eclass Number(3), bclass Number(3), lclass Number(3)); Create table Places (pName varchar2(50), pdec varchar2(50), pDis Number(4), country varchar2(50)); Create table FlightTimes (fName varchar2(50), fPlace varchar2(50), tPlace varchar2(50), fdate Date, fTime varchar2(50)); Create table TicketBook (RNo Number(5), fName varchar2(50), fPlace varchar2(50), tPlace varchar2(50), fdate Date, uName varchar2(50), tType varchar2(1), AmtType varchar2(50), Amt number(9,2), status varchar2(1), tPrice number(9,2), balAmt number(9,2), msg varchar2(200)); ); create table Customer (uName varchar2(50) primary key, pWord varchar2(50), cName varchar2(50), DOB Date, add1 varchar2(50), add2 varchar2(50), add3 varchar2(50), PIN varchar2(10), PhNo varchar2(20), eMail varchar2(50), passPort varchar2(50));

insert into customer(uName,pWord,passport) values('a','a');

Create table TicketPrice (fName varchar2(50), fPlace varchar2(50), tPlace varchar2(50), Lclass Number(8,2), bclass Number(8,2), eclass Number(8,2));

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript> <!-function member_onsubmit() { if(document.member.LoginID.value=="") { alert("Enter LoginId"); document.member.LoginID.focus(); return false } if(document.member.password.value=="") { alert("Enter Password"); document.member.password.focus(); return false } return true } //--> </SCRIPT> <BODY> <P> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=orrange></TD></TR> <TR> <TD height=400> <form action="UserLogin.asp" language=javascript method=post name=member onsubmit="return member_onsubmit()" >

<table border=0 width="50%" align=center > <tr><td bgcolor=red><FONT color=wheat face=Verdana><STRONG>&nbsp;&nbsp;&nbsp;Customer Login </STRONG></FONT> </td></tr> <tr ><td bgColor=black height="125" > <DIV align=center><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b> <font color="#FF0000">Login ID</font>:&nbsp; <input maxLength=10 name="LoginID" size="20" > </b></font></DIV><DIV align=center>&nbsp;</DIV> <div align="center" ><font face="Verdana, Arial, Helvetica, sans-serif" size="2" ><b> <font color="#FF0000">Password:</font> <input maxLength=10 name=password type="password" size="20"> </b></font></div> <div align="center" >&nbsp;</div></td></tr> <tr><td bgColor=black align=right><FONT style="BACKGROUND-COLOR:black" > <FONT face=Verdana color="red"><STRONG><A href="custEntry.htm">New Customer </A></STRONG></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp; <input name=memsubmit type=submit value="Login" style="HEIGHT: 24px; WIDTH: 106px"> </FONT> </td></tr> </table> </form>

</TD></TR> <TR> <TD></TD></TR> <TR> <TD height=20 bgcolor=blue></TD></TR></TABLE></P> </BODY> </HTML>

<Script Language="JavaScript"> function signup_onsubmit() { if(document.AppE.text1.value=="") { alert("Please enter the USER NAME"); document.AppE.text1.focus(); return false; } if(document.AppE.text2.value=="") { alert("Please enter the Name"); document.AppE.text2.focus(); return false; } return true

} </Script> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE>Online Ticket Booking</TITLE> </HEAD> <BODY> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=lightblue><FONT face=Verdana><STRONG><A href="index.htm">Home</A></STRONG></FONT></TD></TR> <TR> <TD height=400> <TABLE align=center border=0 cellPadding=5 cellSpacing=5 width="80%"> <tr><td height=40></td></tr> <tr> <td> <FORM name=AppE method=post action=empEntry.asp onsubmit="return signup_onsubmit()"> <TABLE align=center background="" border=1 cellPadding=4 cellSpacing=4 style="WIDTH: 60%" width="60%" bgcolor=lavender height="491"> <tr><td colspan=2 height="44"><strong> <font face="Courier New" color="#FF00FF" size="5">EMPLOYEE REGISTRATION FORM</font></strong></td></tr> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">USER NAME</font></strong></TD> <TD height="22"> <INPUT id=text1 name=text1 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">PASSWORD</font></strong></TD> <TD height="22"> <INPUT id=textPW name=textPW style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">NAME</font></strong></TD> <TD height="22"> <INPUT id=text2 name=text2 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="23"><strong><font face="Courier New" color="#0000FF">DATE OF BIRTH</font></strong></TD> <TD height="23"> <INPUT id=text3 name=text3 style="FONT-FAMILY: fantasy" size="20">&nbsp;</TD></TR> <TR> <TD height="19">&nbsp;</TD> <TD height="19">Ex: 10-Apr-1970</TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">ADDRESS</font></strong></TD>

<TD height="22"> <INPUT id=text4 name=text4 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"></TD> <TD height="22"> <INPUT id=text5 name=text5 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"></TD> <TD height="22"> <INPUT id=text6 name=text6 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">PIN CODE</font></strong></TD> <TD height="22"> <INPUT id=text7 name=text7 style="FONT-FAMILY: fantasy" size="20" MAXLENGTH="6"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">PHONE NO</font></strong></TD> <TD height="22"> <INPUT id=text8 name=text8 style="FONT-FAMILY: fantasy" size="20" MAXLENGTH="12"></TD></TR> <TR> <TD height="22"><strong><font face="Courier New" color="#0000FF">ED QUALIFICATION</font></strong></TD> <TD height="22"> <INPUT id=text9 name=text9 style="FONT-FAMILY: fantasy" size="20"></TD></TR> <TR> <TD height="25"></TD> <TD height="25"><INPUT id=reset1 name=reset1 type=reset value=Clear style="HEIGHT: 24px; WIDTH: 65px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT id=submit1 name=submit1 type=submit value=Save style="HEIGHT: 24px; WIDTH: 65px"></TD></TR> </TABLE> </FORM></tr> </TABLE> </TD></TR> <TR><TD></TD></TR> <TR> <TD height="20" bgcolor="blue"></TD></TR></TABLE> </BODY> </HTML>

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE></TITLE> </HEAD> <BODY> <P> <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%"> <TR>

<TD><IMG alt="" src="Logo1.bmp" width="100%" ></TD></TR> <TR> <TD height=20 bgcolor=blue></TD></TR> <TR> <TD height=400> <TABLE align=center border=1 cellPadding=5 cellSpacing=5 width="40%"> <TR> <TD><FONT face=Verdana size=2><STRONG><A href="admn.htm">Admin Login</A> </STRONG></FONT></TD></TR> <TR> <TD><FONT face=Verdana size=2><STRONG><A href="UserLogin.htm">Customer Login</A> </STRONG></FONT></TD></TR></TABLE> </TD></TR> <TR> <TD></TD></TR> <TR> <TD height=20 bgcolor=blue></TD></TR></TABLE></P> </BODY> </HTML>

<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft FrontPage 5.0"> <TITLE></TITLE> </HEAD> <BODY BGCOLOR="BLACK"> <P> <TABLE <TR> <TD width="126"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash. cab#version=6,0,0,0" WIDTH="212" HEIGHT="205" id="online" ALIGN=""> <PARAM NAME=movie VALUE="online.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#00000> <EMBED src="online.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="60" NAME="online" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> </TD> <TD height="120" width="773" ><FONT COLOR="RED"><H1> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </H1><H1> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ONLINE AIRTICKET BOOKING </H1></TD> </TR> <TABLE border=0 cellPadding=2 cellSpacing=2 width="690" height="203"> border=0 cellPadding=0 cellSpacing=0 width="899" height="120">

<BR><BR><BR><BR> <TR> <TD width="209" height="166"><marquee direction="left"></TD> <TD height="166" width="115"></TD> <TD height="166" width="35"></TD>

<TD height="166" width="305"> <a href="Admin.htm" > <strong> <font color="#0000FF" face="Comic Sans MS" size="4">ADMIN LOGIN</font></strong><p>&nbsp;</p> <p></a>&nbsp;<a href="UserLogin.htm"><font face="Comic Sans MS" size="4" color="#0000FF">CUSTOMER LOGIN</font></strong</a></TD></TR> <TR> <TD height="1" width="209"></TD></TR></TABLE> </TD></TR> <TR> <TD></TD></TR> <TR> <TD height=20 bgcolor=blue></TD></TR></TABLE></P> </BODY> </HTML>

<HTML> <HEAD> <meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> <TITLE>online</TITLE> </HEAD> <BODY bgcolor="#FFFFFF"> <!-- URL's used in the movie--> <!-- text used in the movie--> <!--ONLINEAIRTICKET BOOKING--><OBJECT classid="clsid:D27CDB6E-AE6D-11cf96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash. cab#version=6,0,0,0" WIDTH="198" HEIGHT="200" id="online" ALIGN=""> <PARAM NAME=movie VALUE="online.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="online.swf" quality=high bgcolor=#FFFFFF WIDTH="198" HEIGHT="200" NAME="online" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </BODY> </HTML>

Вам также может понравиться