Viewing file: travelservice.php (5.38 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html> <head> <title><?php include 'title.php'; ?></title>
<script language="javascript" > function search() {
if (document.FrontPage_Form1.searchApp.value=="") {
alert("Please Enter the Application Number!!"); document.FrontPage_Form1.searchApp.focus(); return false; }
if (document.FrontPage_Form1.searchApp.value.length < 14) { alert("Invalid Application Number!!"); document.FrontPage_Form1.searchApp.focus(); return false; }
document.FrontPage_Form1.action="http://164.100.181.28/edistrict/showStatushome.aspx?application_no="+document.FrontPage_Form1.searchApp.value; document.FrontPage_Form1.submit(); return true; } </script> <base target="_blank"/>
<style> <!-- DIV.chat DIV.msg { PADDING-LEFT: 11px; MARGIN: 4px 0px 0px } DIV.chat DIV.1st { TEXT-INDENT: -11px } .style1 { color:#ffffff; } .style2 { font-size: x-small; } .style3 { width: 100%; } .style4 { width: 180px; height: 32px; } .style5 { font-family: "Palatino Linotype"; font-size: x-small; } .style6 { font-size: small; font-weight: bold; } .style7 { font-size: small; } .style8 { height: 93px; } .style9 { width: 15%; } .blink { -webkit-animation: blink .75s linear infinite; -moz-animation: blink .75s linear infinite; -ms-animation: blink .75s linear infinite; -o-animation: blink .75s linear infinite; animation: blink .75s linear infinite; } .style10 { color: #FFFF66; } --> </style> <script language="javascript" type ="text/javascript"> function openPopUp() { strUrl = "message.html"; x = window.showModalDialog(strUrl, "newwin", "dialogHeight:10;dialogWidth:45; status:No; edge:Raised; center:yes; help:No; resizable:No; ") } </script> </head>
<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" > <center> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr><td align="left" valign="top">
<table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="CENTER" bgcolor="#79849E" width="100%"> <font color="#000000"> <img border="0" src="images/logo.jpg" width="100%" height="158"> </font> </td> </tr> <tr> <td valign="middle" bgcolor="#0066CC" style="width: 31%; height: 25px"><?php include 'menubar.php'; ?></td> </tr> <tr> <td valign="middle" bgcolor="#0066CC" style="width: 31%; height: 25px"><?php include 'news.php'; ?></td> </tr> </table> <table width="100%" border="2" cellspacing="2" cellpadding="2"> <tr> <td> <?php
// Get the search variable from URL
$var = @$_GET['q'] ; $trimmed = trim($var); //trim whitespace from the stored variable
// rows to return $limit=10;
// Build SQL Query $query = "select * from sevicedeatails where servicename='TRAVELSERVICE' "; // EDIT HERE and specify your table and field names for the SQL query
$numresults=mysql_query($query); $numrows=mysql_num_rows($numresults);
// If we have no results, offer google search as an alternative
if ($numrows == 0) { echo " Sorry, Record not found";
}
// next determine if s has been passed to script, if not use 0 if (empty($s)) { $s=0; }
// get results $query .= " limit $s,$limit"; $result = mysql_query($query) or die("Couldn't execute query");
$count = 1 + $s ;
// now you can display the results returned while ($row= mysql_fetch_array($result)) {
$details=$row['details']; echo $details; $count++ ; }
$currPage = (($s/$limit) + 1);
//break before paging echo "";
// next we need to do the links to other results if ($s>=1) { // bypass PREV link if s is 0 $prevs=($s-$limit); print "<a href=\"$PHP_SELF?s=$prevs&q=$var\"><< Prev 10</a> "; }
// calculate number of pages needing links $pages=intval($numrows/$limit);
// $pages now contains int of pages needed unless there is a remainder from division
?> </td> </tr> </table> <p> </p> <p> </p></td> </tr> <tr> <td align="CENTER" colspan="3" bgcolor="#79849E" width="100%"> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td bgcolor="#0066CC" style="height: 33px" width="1%"></td> <td nowrap bgcolor="#0066CC" style="height: 33px; width: 49%;"> <a href="HowTo/Disclamair.html" target ="_parent" > <span style="font-size: 10pt; color: white;text-decoration: none"></span></a></td> <td nowrap bgcolor="#0066CC" style="height: 33px; width: 51%;" align="right"> <span style="text-decoration: none;font-family: Arial Unicode MS"><font color="#FFFFFF" size="2"> <a href="http://rcgsoftech.com/"> <span class="style1">Developed by RCGSOFTECH.COM </span> </a>
</td> </tr> <tr><td align="center" bgcolor="#000000" background="images/bg05.html" colspan="3" class="style2" style="color: #FFFFFF;font-family: Arial Unicode MS"> </td></tr>
<tr> <td colspan="3" align="center" class="style1" ><font size="1"></font></td> </tr> </table> </td> </tr> </table> <!-- /rightCol-->
</center> </body>
<!-- Mirrored from edistrict.up.nic.in/ by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 28 Nov 2016 23:40:52 GMT --> </html>
|