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

Dir : /home/trave494/thefreetrips.com/adminbackend/
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/adminbackend/allarticles.php

<?php //include("password_protect.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_rsArticles = "SELECT * FROM tblGuides ORDER BY GID DESC";
$rsArticles = mysql_query($query_rsArticles, $connTravel) or die(mysql_error());
$row_rsArticles = mysql_fetch_assoc($rsArticles);
$totalRows_rsArticles = mysql_num_rows($rsArticles);
?>
<!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'); ?> - Admin</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>
<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="/destinations" title="Destination">DESTINATION</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><a href="./">Admin Area</a> &gt; All Articles</h1>
  <div class="larger">
    <?php do { ?>
      <table width="700" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="550" height="30"><strong><a href="../guides/guide.php?ID=<?php echo $row_rsArticles['GID']; ?>"><?php echo $row_rsArticles['txtTitle']; ?></a></strong></td>
          <td><a href="editarticle.php?ID=<?php echo $row_rsArticles['GID']; ?>">EDIT</a></td>
          <td><a href="deletearticle.php?ID=<?php echo $row_rsArticles['GID']; ?>">DELETE</a></td>
        </tr>
      </table>
      <?php } while ($row_rsArticles = mysql_fetch_assoc($rsArticles)); ?>
  </div>
  <div class="clear"></div>
</div>
<div id="Bottom">
  
  Copyright © 
  <?php require('../website_name.php'); ?> 2014</div>
</body>
</html>
<?php
mysql_free_result($rsArticles);
?>