Quote:
Originally Posted by Reycer
Post your PHP file and Template code here and I'll take a look at it. Just got back from your site and it is looping back to the activity stream for some reason.
|
leaguesofchampions.com/pickem <<<folder
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'pickempicks');
define('CSRF_PROTECTION', true);
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array('pickempicks',
);
$actiontemplates = array();
// chdir ('http://www.leaguesofchampions.com/pickem/pickempicks.php');
require_once('./global.php');
$navbits = construct_navbits(array('' => 'Pick Em Picks'));
$navbar = render_navbar_template($navbits);
$pagetitle = 'Pick Em Picks NFL Weekly Picks';
$templater = vB_Template::create('pickempicks');
$templater->register_page_templates();
$templater->register('navbar', $navbar);
$templater->register('pagetitle', $pagetitle);
print_output($templater->render());
?>
Quote:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
{vb:raw headinclude}
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:raw pagetitle}</h1>
</div>
<h2 class="blockhead">Pick Em Picks NFL Weekly Picks</h2>
<div class="blockbody">
<div class="blockrow">
<p align="center"><iframe width="840" scrolling="yes" height="686" frameborder="0" style="border: 0px none transparent;" src="..//pickem/index.php"></iframe></p></div></div>
</div>
</div>
{vb:raw footer}
</body>
</html>
|