PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/thefreetrips.com/videos/
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
Choose File :

Url:
Dir : /home/trave494/thefreetrips.com/videos/index.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);

mysql_select_db($database_connTravel, $connTravel);
$query_rsVideos = "SELECT * FROM tblVideos ORDER BY RAND()";
$rsVideos = mysql_query($query_rsVideos, $connTravel) or die(mysql_error());
$row_rsVideos = mysql_fetch_assoc($rsVideos);
$totalRows_rsVideos = mysql_num_rows($rsVideos);
?>
<!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 require('../website_name.php'); ?> - Travel Videos</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="Stores">STORES</a></div>
    <div class="topnaviC"><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="/flights" title="flights">FLIGHTS</a></div>
<div class="topnavi"><a href="/hotels" title="Hotels">HOTELS</a></div>
<div class="topnavi"><a href="../" title="Hotels">HOME</a></div>
<a href="../"><img src="../images/logo.png" alt="<?php require('../website_name.php'); ?>" width="250" height="75" border="0" /></a></div>
</div>
<div id="Main">
  <h1>Travel Videos</h1>
  <div class="larger">Get more information about your vacation destination by watching our awesome travel videos below.</div>
  <div id="Videos">
    <?php do { ?>
      <div class="videocon">
        <div class="videohead"><a href="video.php?ID=<?php echo $row_rsVideos['VID']; ?>"><?php echo $row_rsVideos['txtTitle']; ?></a></div>
      <a href="video.php?ID=<?php echo $row_rsVideos['VID']; ?>"><img src="http://img.youtube.com/vi/<?php $url = $row_rsVideos['txtVideo']; 
	parse_str( parse_url( $url, PHP_URL_QUERY ), $my_array_of_vars );
echo $my_array_of_vars['v']; ?>/1.jpg" alt="<?php echo $row_rsVideos['txtTitle']; ?>" border="0" /></a></div>
      <?php } while ($row_rsVideos = mysql_fetch_assoc($rsVideos)); ?>
<div class="clear"></div>
  </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="/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="/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="/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="clear"></div>
</div>
<div class="logospace" id="Logos"><img src="../images/logos.png" alt="Travel Brands" width="972" height="45" /></div>
<div id="Bottom">
  <ul>
    <ul>
    <li><a href="../" title="Hotels">HOME</a></li>
    <li><a href="/hotels" title="Hotels">HOTELS</a></li>
    <li><a href="/cars" title="Cars">CARS</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 © 2024<?php echo thefreetrips.com ?></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($rsVideos);
?>