/var/www/html/includes/body_header_variable.php
<?
require_once('/var/www/html/includes/lib_common.php');
require_once('/var/www/html/includes/lib_mysql.php');
include('/var/www/html/includes/menu_variable.php');
if (strpos(PHP_SELF, '/hdstore') === false) {
if ($user->data['is_registered'] || strpos(PHP_SELF, '/hdstore') === true) {}
else {
$subscription_box .= '<div align="right" style="float:right; width:455px"><div class="important"><span class="corners-top"><span></span></span>'.
'<div style="color:#800000; float:left; font-weight:bold; padding-top:4px">Free <a href="/daily.php" target="_blank">HDTV Magazine Daily</a>: </div>'.
'<form name="frmSub" method="post" action="/profile-create.php"'.
' onsubmit="if (!isValidEmail(this.email_address)) {return false;} else {return true;}">'.
'<input type="hidden" name="action" value="create" />'.
'<input type="hidden" name="type" value="email_only" />'.
'<input type="text" name="email_address" class="inputText" style="width:15em;color:#777777" maxlength="255" value="email address"'.
' onfocus="if (this.value == \'email address\') {this.value=\'\'; this.style.color = \'\';}" />'.
' <input type="submit" class="inputButton" value="Subscribe" />'.
'</form>'.
'<span class="corners-bottom"><span></span></span></div></div>'."\n";
}
if ($user->data['is_registered']) {
$login_string = 'Welcome, '. $user->data['username'] .' • '.
'<a href="'. BASE_URL .'/profile.php">Edit Profile</a> • '.
'<a href="'. BASE_URL .'/logout.php?r='. rawurlencode($_SERVER['REQUEST_URI']) .'">Sign Out</a>';
if (!access(ACCESS_PREMIUM)) $login_string .= ' • <a href="'. BASE_URL .'/subscribe.php">Subscribe</a>';
} elseif ($_SERVER['PHP_SELF'] == '/forum/login.php') {
$login_string = '(Not logged in) • <a href="'. BASE_URL .'/profile-create.php">Register</a>';
} else {
$redirect = '../'. substr($_SERVER['REQUEST_URI'], 1);
$login_string = '(Not logged in) <a href="'. FULL_URL_LOGIN .'?redirect='. $redirect .'">Sign In</a> • '.
'<a href="'. FULL_URL_PROFILE_CREATE .'">Register</a>';
}
$login_string .= ' • <a href="'. BASE_URL .'/help/index.php">Help</a>';
}
$body_header_output = ''.
'<div id="container">'."\n".
'<div style="float:left;"><a href="'. BASE_URL .'/"><img src="'. BASE_IMG_URL .'/images/hdtvmagazine.gif" alt="HDTV Magazine" height="57" width="338"/></a></div>'.
/var/www/html/includes/body_header_variable.php
<?
require_once('/var/www/html/includes/lib_common.php');
require_once('/var/www/html/includes/lib_mysql.php');
include('/var/www/html/includes/menu_variable.php');
if (strpos(PHP_SELF, '/hdstore') === false) {
if ($user->data['is_registered'] || strpos(PHP_SELF, '/hdstore') === true) {}
else {
$subscription_box .= '<div align="right" style="float:right; width:455px"><div class="important"><span class="corners-top"><span></span></span>'.
'<div style="color:#800000; float:left; font-weight:bold; padding-top:4px">Free <a href="/daily.php" target="_blank">HDTV Magazine Daily</a>: </div>'.
'<form name="frmSub" method="post" action="/profile-create.php"'.
' onsubmit="if (!isValidEmail(this.email_address)) {return false;} else {return true;}">'.
'<input type="hidden" name="action" value="create" />'.
'<input type="hidden" name="type" value="email_only" />'.
'<input type="text" name="email_address" class="inputText" style="width:15em;color:#777777" maxlength="255" value="email address"'.
' onfocus="if (this.value == \'email address\') {this.value=\'\'; this.style.color = \'\';}" />'.
' <input type="submit" class="inputButton" value="Subscribe" />'.
'</form>'.
'<span class="corners-bottom"><span></span></span></div></div>'."\n";
}
if ($user->data['is_registered']) {
$login_string = 'Welcome, '. $user->data['username'] .' • '.
'<a href="'. BASE_URL .'/profile.php">Edit Profile</a> • '.
'<a href="'. BASE_URL .'/logout.php?r='. rawurlencode($_SERVER['REQUEST_URI']) .'">Sign Out</a>';
if (!access(ACCESS_PREMIUM)) $login_string .= ' • <a href="'. BASE_URL .'/subscribe.php">Subscribe</a>';
} elseif ($_SERVER['PHP_SELF'] == '/forum/login.php') {
$login_string = '(Not logged in) • <a href="'. BASE_URL .'/profile-create.php">Register</a>';
} else {
$redirect = '../'. substr($_SERVER['REQUEST_URI'], 1);
$login_string = '(Not logged in) <a href="'. FULL_URL_LOGIN .'?redirect='. $redirect .'">Sign In</a> • '.
'<a href="'. FULL_URL_PROFILE_CREATE .'">Register</a>';
}
$login_string .= ' • <a href="'. BASE_URL .'/help/index.php">Help</a>';
}
$body_header_output = ''.
'<div id="container">'."\n".
'<div style="float:left;"><a href="'. BASE_URL .'/"><img src="'. BASE_IMG_URL .'/images/hdtvmagazine.gif" alt="HDTV Magazine" height="57" width="338"/></a></div>'.
/var/www/html/includes/body_header.php
<?
include('body_header_variable.php');
echo $body_header_output;
?>
/var/www/html/resources/tvshow_how-it-works.php
<?
require('../global.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>HDTV Magazine - HDTV: How it Works, What to Buy</title>
<?require(BASE_DIR .'/includes/common_header.php');?>
</head>
<body>
<?
include(BASE_DIR .'/includes/tracker.php');
include(BASE_DIR .'/includes/body_header.php');
include(BASE_DIR .'/ads/leaderboard.php');
?>
<h1>HDTV: How it Works, What to Buy</h1>
<p>
The following 25 minute TV program about HDTV features our very own <a href="<?=URL_ABOUT_CONTACT?>?name=lamaestra">Rodolfo La Maestra</a> and was recorded in May, 2004 at the studios of Montgomery Television in Rockville, MD.
This show already aired on MD Cable Television during 2004. It will rerun with other technology programs throughout this year and will be continued with further episodes.
The program was produced by <a target="_blank" href="/cgi-bin/ntlinktrack.cgi?http://www.cpcug.org/">The Capital PC User Group, Inc.</a> (CPCUG).
The CPCUG is the third largest PC-based user group organization in the United States, and is located in the Washington DC area.
</p><p>
Although the content is over one year old, the majority of the information mentioned in the program is still very applicable to today's HDTV environment/marketplace.
The content was targeted to a technically-oriented audience, but it would also be beneficial to general consumers, and future HDTV owners
... so that everyone can enjoy HDTV without spending a fortune.
</p><p>
So enjoy the program, and if you have any questions we are <a href="<?=URL_HELP_FEEDBACK?>">glad to help</a>. You will find below both a "streaming" version and downloadable versions, for those
of you who may not be able to get the streaming version to work properly..
</p>
<table class="bare" cellpadding="0" cellspacing="0" align="center"><tr>
<td style="padding-right:15px;vertical-align:top;">
<table class="type1b" cellpadding="2" cellspacing="0" align="center">
<tr>
<td class="type1b_header">Format/Type *</td>
<td class="type1b_header">Duration</td>
<td class="type1b_header">File size</td>
<td class="type1b_header">Bit rate</td>
</tr><tr>