<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */

  // load viewer library
  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';
  $dirsToCheck = array('\\\\10.0.3.32/home/getsignedupusa.com/public_html/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

  // load records
  list($gsu_draftRecords, $gsu_draftMetaData) = getRecords(array(
    'tableName'   => 'gsu_draft',
    'where'       => whereRecordNumberInUrl(1),
    'limit'       => '1',
  ));

  $gsu_draftRecord = @$gsu_draftRecords[0]; // get first record

  // show error message if no matching record is found
  if (!$gsu_draftRecord) {
    header("HTTP/1.0 404 Not Found");
    print "Record not found!";
    exit;
  }


?>
<!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" />

<meta name="keywords" content="<?php echo $gsu_draftRecord['keywords'] ?>" />
<meta name="description" content="<?php echo $gsu_draftRecord['description'] ?>" />
<meta name="author" content="Ryan Canham - GT Design & Print" />

<title><?php echo $gsu_draftRecord['window_title'] ?></title>

<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssfonts/fonts-min.css">
<link href="../styles/default.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" src="/js/swfobject.js"></script>

<script type="text/javascript" src="http://gsu.gttest.co.uk/js/rsspausescroller.js"></script>
<?
$path = $_SERVER['PHP_SELF'];
$page = basename($path);
$page = basename($path, '.php');
?>
</head>

<body>
<?php include("incs/header.php"); ?>
<?php include("incs/navigation.php"); ?>
<div id="contentHolder">
<div class="leftCol">
<?php include("incs/gsu-trial.php"); ?>
<?php include("incs/top-players.php"); ?>
<?php include("incs/latest-news.php"); ?>
</div>
<div class="rightCol">
  <h2><?php echo $gsu_draftRecord['title'] ?></h2>
    <?php echo $gsu_draftRecord['content'] ?>
    <?php if (!$gsu_draftRecord): ?>
    No record found!<br/><br/>
    <?php endif ?>
  <br />
 

<?php if (!$gsu_draftRecord['gsuusa_video'] != 'Yes'): ?>
  <object width="672" height="403"><param name="movie" value="http://www.youtube.com/v/PI01PC4sDXk?fs=1&amp;hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PI01PC4sDXk?fs=1&amp;hl=en_GB" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="672" height="403"></embed></object>
<br /><br />
<?php endif ?>
<!--  <object width="672" height="403"><param name="movie" value="http://www.youtube-nocookie.com/v/RxjAukRKFQ8?fs=1&amp;hl=en_GB&amp;rel=0&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/RxjAukRKFQ8?fs=1&amp;hl=en_GB&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="672" height="403"></embed></object>-->
</div>
<div class="clear"></div>
</div>
<?php include("incs/footer.php"); ?>
</body>
</html>