PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/thefreetrips.com/guides/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/thefreetrips.com/guides/guide.php |
<?php require_once('../Connections/connTravel.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } mysql_select_db($database_connTravel, $connTravel); $query_rsAnalytics = "SELECT * FROM tblContent WHERE CID = 'Analytics'"; $rsAnalytics = mysql_query($query_rsAnalytics, $connTravel) or die(mysql_error()); $row_rsAnalytics = mysql_fetch_assoc($rsAnalytics); $totalRows_rsAnalytics = mysql_num_rows($rsAnalytics); mysql_select_db($database_connTravel, $connTravel); $query_rsFacebook = "SELECT * FROM tblContent WHERE CID = 'Facebook'"; $rsFacebook = mysql_query($query_rsFacebook, $connTravel) or die(mysql_error()); $row_rsFacebook = mysql_fetch_assoc($rsFacebook); $totalRows_rsFacebook = mysql_num_rows($rsFacebook); mysql_select_db($database_connTravel, $connTravel); $query_rsTwitter = "SELECT * FROM tblContent WHERE CID = 'Twitter'"; $rsTwitter = mysql_query($query_rsTwitter, $connTravel) or die(mysql_error()); $row_rsTwitter = mysql_fetch_assoc($rsTwitter); $totalRows_rsTwitter = mysql_num_rows($rsTwitter); mysql_select_db($database_connTravel, $connTravel); $query_rsGoogle = "SELECT * FROM tblContent WHERE CID = 'Google'"; $rsGoogle = mysql_query($query_rsGoogle, $connTravel) or die(mysql_error()); $row_rsGoogle = mysql_fetch_assoc($rsGoogle); $totalRows_rsGoogle = mysql_num_rows($rsGoogle); mysql_select_db($database_connTravel, $connTravel); $query_rsAdsense = "SELECT * FROM tblContent WHERE CID = 'Adsense'"; $rsAdsense = mysql_query($query_rsAdsense, $connTravel) or die(mysql_error()); $row_rsAdsense = mysql_fetch_assoc($rsAdsense); $totalRows_rsAdsense = mysql_num_rows($rsAdsense); $colname_rsGuides = "-1"; if (isset($_GET['ID'])) { $colname_rsGuides = $_GET['ID']; } mysql_select_db($database_connTravel, $connTravel); $query_rsGuides = sprintf("SELECT * FROM tblGuides WHERE GID = %s", GetSQLValueString($colname_rsGuides, "int")); $rsGuides = mysql_query($query_rsGuides, $connTravel) or die(mysql_error()); $row_rsGuides = mysql_fetch_assoc($rsGuides); $totalRows_rsGuides = mysql_num_rows($rsGuides); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $row_rsGuides['txtTitle']; ?> - <?php require('../website_name.php'); ?></title> <style type="text/css"> body { padding: 0px; margin-top: 80px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; } </style> <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,700' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> <link href="../styles.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" href="../images/favicon.ico" /> </head> <body> <?php echo $row_rsAnalytics['txtContent']; ?> <div id="Top"> <div id="InTop"> <div class="topnavi"><a href="/guides" title="Guides">GUIDES</a></div> <div class="topnavi"><a href="/videos" title="Videos">VIDEOS</a></div> <div class="topnavi"><a href="/contact" title="Contact Us">CONTACT US</a></div> <div class="topnavi"><a href="/cars" title="Cars">CARS</a></div> <div class="topnavi"><a href="/hotels" title="Hotels">HOTELS</a></div> <div class="topnaviC"><a href="../" title="Hotels">HOME</a></div> <a href="../"><img src="../images/logo.png" alt="<?php require('../website_name.php'); ?>" width="300" height="75" border="0" /></a></div> </div> <div id="Main"> <h1><?php echo $row_rsGuides['txtTitle']; ?></h1> <div class="larger"><?php echo nl2br ($row_rsGuides['txtContent']); ?></div> <div class="clear"></div> </div> <div id="Banners"> <div class="inbanner"><a href="/hotels/browse.php?link=Place/London.htm"><img src="../images/home-hotels.png" alt="Hotels" width="228" height="100" border="0" /></a></div> <div class="bannerspace"></div> <div class="inbanner"><a href="/hotels/browse.php?link=Place/Dubai.htm"><img src="../images/home-flights.png" alt="Flights" width="228" height="100" border="0" /></a></div> <div class="bannerspace"></div> <div class="inbanner"><a href="/hotels/browse.php?link=Place/New_York_City.htm"><img src="../images/home-cruises.png" alt="Cruises" width="228" height="100" border="0" /></a></div> <div class="bannerspace"></div> <div class="inbanner"><a href="/hotels/browse.php?link=Place/Paris.htm"><img src="../images/home-cars.png" alt="Car Rentals" width="228" height="100" border="0" /></a></div> <div class="logospace" id="Logos"><img src="../images/logos.png" alt="Travel Brands" width="972" height="45" /></div> <div id="Ads"><?php echo $row_rsAdsense['txtContent']; ?></div> <div id="Bottom"> <ul> <li><a href="../" title="Hotels">HOME</a></li> <li><a href="/hotels" title="Hotels">HOTELS</a></li> <li><a href="/destinations" title="destinations">DESTINATION</a></li> <li><a href="/videos" title="Videos">VIDEOS</a></li> <li><a href="/guides" title="Guides">GUIDES</a></li> <li><a href="/about" title="About">ABOUT</a></li> <li><a href="/privacy" title="Privacy">PRIVACY</a></li> <li><a href="/contact" title="Contact">CONTACT</a></li> </ul> <div id="Social"><a href="<?php echo $row_rsFacebook['../txtContent']; ?>"><img src="../images/fb.png" alt="Facebook" width="35" height="35" border="0" /></a><a href="<?php echo $row_rsTwitter['../txtContent']; ?>"><img src="../images/tw.png" alt="Twitter" width="35" height="35" border="0" /></a><a href="<?php echo $row_rsGoogle['../txtContent']; ?>"><img src="../images/g.png" alt="Google Plus" width="35" height="35" border="0" /></a></div> Copyright © <?php require('../website_name.php'); ?> 2024</div> </body> </html> <?php mysql_free_result($rsAnalytics); mysql_free_result($rsFacebook); mysql_free_result($rsTwitter); mysql_free_result($rsGoogle); mysql_free_result($rsAdsense); mysql_free_result($rsGuides); ?>