<?php
include_once('captcha/captchac_lib.php');
session_write_close ();
?>
<?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('/server_path_to/my_site.com/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
list($common_informationRecords, $common_informationMetaData) = getRecords(array(
'tableName' => 'common_information',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$common_informationRecord = @$common_informationRecords[0]; // get first record
list($horizontal_menu_entriesRecords, $horizontal_menu_entriesMetaData) = getRecords(array(
'tableName' => 'horizontal_menu_entries',
));
list($vertical_menu_entriesRecords, $vertical_menu_entriesMetaData) = getRecords(array(
'tableName' => 'vertical_menu_entries',
));
list($footer_menu_entriesRecords, $footer_menu_entriesMetaData) = getRecords(array(
'tableName' => 'footer_menu_entries',
));
?>
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php if (!@$GLOBALS['WEBSITE_MEMBERSHIP_PLUGIN']) { die("You must activate the Website Membership plugin before you can access this page."); } ?>