About 4 results: "php printf repo:Elieser/choosing-guides"
Page 1 of 1
Filter Results
Sources
Languages
Filter Results
Try Search On
Tours.php in choosing-guides https://github.com/Elieser/choosing-guides.git | 359 lines | PHP
  1. mysql_select_db($database_ChoosingGuidesConnection, $ChoosingGuidesConnection);
  2. $query_Tours = sprintf("SELECT tblTours.TourId, tblToursdet.WebLanguageId, tblTours.CountryId, tblTours.StateId, tblTours.LocationId, tblTours.TourPrice, tblTours.TourPicture, tblTours.TourPictureName, tblToursdet.TourName, CONVERT(tblToursdet.TourDesc, char(290)) AS TourDesc FROM tblTours LEFT OUTER JOIN tblToursdet ON tblTours.TourId = tblToursdet.TourId WHERE WebLanguageId = %s %s %s %s AND (tblToursdet.TourName like %s or tblToursdet.TourDesc like %s) GROUP BY tblTours.TourId ORDER BY %s", GetSQLValueString($WebLanguage_Tours, "int"),$country_Tours,$state_Tours,$location_Tours,GetSQLValueString("%" . $word_Tours . "%", "text"),GetSQLValueString("%" . $word_Tours . "%", "text"),$sorted_Tours);
  3. 
                        
  4. $query_limit_Tours = sprintf("%s LIMIT %d, %d", $query_Tours, $startRow_Tours, $maxRows_Tours);
  5. }
  6. $queryString_Tours = sprintf("&totalRows_Tours=%d%s", $totalRows_Tours, $queryString_Tours);
  7.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  8.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, 0, $queryString_Tours); ?>"><img src="images/First.gif" /></a>
  9.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  10.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, max(0, $pageNum_Tours - 1), $queryString_Tours); ?>"><img src="images/Previous.gif" /></a>
  11.         <td><?php if ($pageNum_Tours < $totalPages_Tours) { // Show if not last page ?>
  12.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, min($totalPages_Tours, $pageNum_Tours + 1), $queryString_Tours); ?>"><img src="images/Next.gif" /></a>
  13.         <td><?php if ($pageNum_Tours < $totalPages_Tours) { // Show if not last page ?>
  14.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, $totalPages_Tours, $queryString_Tours); ?>"><img src="images/Last.gif" /></a>
  15.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  16.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, 0, $queryString_Tours); ?>"><img src="images/First.gif" /></a>

Places.php in choosing-guides https://github.com/Elieser/choosing-guides.git | 311 lines | PHP
  1. mysql_select_db($database_ChoosingGuidesConnection, $ChoosingGuidesConnection);
  2. $query_Places = sprintf("SELECT tblplaces.PlaceId, tblplacesdet.WebLanguageId, tblplaces.CountryId, tblplaces.StateId, tblplaces.LocationId, tblplacesdet.PlaceName, CONVERT(tblplacesdet.PlaceDesc, char(290)) AS PlaceDesc, tblplacespictures.PictureName, tblplacespictures.PicturePath,
  3. 
                        
  4. $query_limit_Places = sprintf("%s LIMIT %d, %d", $query_Places, $startRow_Places, $maxRows_Places);
  5. }
  6. $queryString_Places = sprintf("&totalRows_Places=%d%s", $totalRows_Places, $queryString_Places);
  7.  
  8.   header(sprintf("Location: %s", $PrimeraPag));
  9.         <td><?php if ($pageNum_Places > 0) { // Show if not first page ?>
  10.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, 0, $queryString_Places); ?>"><img src="images/First.gif" /></a>
  11.         <td><?php if ($pageNum_Places > 0) { // Show if not first page ?>
  12.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, max(0, $pageNum_Places - 1), $queryString_Places); ?>"><img src="images/Previous.gif" /></a>
  13.         <td><?php if ($pageNum_Places < $totalPages_Places) { // Show if not last page ?>
  14.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, min($totalPages_Places, $pageNum_Places + 1), $queryString_Places); ?>"><img src="images/Next.gif" /></a>
  15.         <td><?php if ($pageNum_Places < $totalPages_Places) { // Show if not last page ?>
  16.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, $totalPages_Places, $queryString_Places); ?>"><img src="images/Last.gif" /></a>

ToursAdmin.php in choosing-guides https://github.com/Elieser/choosing-guides.git | 335 lines | PHP
  1. }
  2. $queryString_Tours = sprintf("&totalRows_Tours=%d%s", $totalRows_Tours, $queryString_Tours);
  3.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  4.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, 0, $queryString_Tours); ?>"><img src="../images/First.gif" /></a>
  5.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  6.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, max(0, $pageNum_Tours - 1), $queryString_Tours); ?>"><img src="../images/Previous.gif" /></a>
  7.         <td><?php if ($pageNum_Tours < $totalPages_Tours) { // Show if not last page ?>
  8.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, min($totalPages_Tours, $pageNum_Tours + 1), $queryString_Tours); ?>"><img src="../images/Next.gif" /></a>
  9.         <td><?php if ($pageNum_Tours < $totalPages_Tours) { // Show if not last page ?>
  10.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, $totalPages_Tours, $queryString_Tours); ?>"><img src="../images/Last.gif" /></a>
  11.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  12.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, 0, $queryString_Tours); ?>"><img src="../images/First.gif" /></a>
  13.         <td><?php if ($pageNum_Tours > 0) { // Show if not first page ?>
  14.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, max(0, $pageNum_Tours - 1), $queryString_Tours); ?>"><img src="../images/Previous.gif" /></a>
  15.         <td><?php if ($pageNum_Tours < $totalPages_Tours) { // Show if not last page ?>
  16.             <a href="<?php printf("%s?pageNum_Tours=%d%s", $currentPage, min($totalPages_Tours, $pageNum_Tours + 1), $queryString_Tours); ?>"><img src="../images/Next.gif" /></a>

PlacesAdmin.php in choosing-guides https://github.com/Elieser/choosing-guides.git | 334 lines | PHP
  1. }
  2. $queryString_Places = sprintf("&totalRows_Places=%d%s", $totalRows_Places, $queryString_Places);
  3.         <td><?php if ($pageNum_Places > 0) { // Show if not first page ?>
  4.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, 0, $queryString_Places); ?>"><img src="../images/First.gif" /></a>
  5.         <td><?php if ($pageNum_Places > 0) { // Show if not first page ?>
  6.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, max(0, $pageNum_Places - 1), $queryString_Places); ?>"><img src="../images/Previous.gif" /></a>
  7.         <td><?php if ($pageNum_Places < $totalPages_Places) { // Show if not last page ?>
  8.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, min($totalPages_Places, $pageNum_Places + 1), $queryString_Places); ?>"><img src="../images/Next.gif" /></a>
  9.         <td><?php if ($pageNum_Places > 0) { // Show if not first page ?>
  10.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, 0, $queryString_Places); ?>"><img src="../images/First.gif" /></a>
  11.         <td><?php if ($pageNum_Places > 0) { // Show if not first page ?>
  12.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, max(0, $pageNum_Places - 1), $queryString_Places); ?>"><img src="../images/Previous.gif" /></a>
  13.         <td><?php if ($pageNum_Places < $totalPages_Places) { // Show if not last page ?>
  14.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, min($totalPages_Places, $pageNum_Places + 1), $queryString_Places); ?>"><img src="../images/Next.gif" /></a>
  15.         <td><?php if ($pageNum_Places < $totalPages_Places) { // Show if not last page ?>
  16.             <a href="<?php printf("%s?pageNum_Places=%d%s", $currentPage, $totalPages_Places, $queryString_Places); ?>"><img src="../images/Last.gif" /></a>

Back to Top