Location: PHPKode > projects > Ads Exchange Server > estigi_0.1.1_RC2/reports.php
<?php

/***************************************************************************
 *                             reports.php
 *                            -------------------
 *   begin                : mier, set 19, 2007
 *   copyright            : (C)
 *   email                : hide@address.com
 *   Desc                 : General reports generation
 *
 *
 ***************************************************************************/

define('IN_ADSERVER', true);

include_once("./inc/common.inc.php");

checkLogin($web_address);

$s_Warning = "";

//Check appropiate permissions
get_User_Settings($session['id_USer'], "reports", $web_address);

$reports_Tpl = new tpl($s_path_Tpl . "/reports.tpl");

/* Resume rports */
$global_Reports = 1;
include_once("./reports_resume.inc.php");

$a_Reports = array(
	"{REPORTS_HELP_TITLE}" => $_lang['reports_Help_Title'],
	"{REPORTS_HELP_TEXT}" => $_lang['reports_Help_Text'],
	"{REPORTS_RESUME}" => $reports_Resume_Tpl,
	"{REPORTS_TITLE}" => $_lang['reports_Title'],
	"{REPORTS_GENERAL}" => $_lang['reports_General'],
	"{REPORTS_USER_BREAK}" => $_lang['reports_User_Break'],
	"{REPORTS_FULL_DUMP}" => $_lang['reports_Full_Dump']
);

/* Replace main TPL */
$reports_Tpl->rBlock($a_Reports, "");

include_once("./header.inc.php");
/* Finally print the tpl */
$reports_Tpl->print_Tpl();
include_once("./footer.inc.php");

?>
Return current item: Ads Exchange Server