<!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" />

<link href="../css/main.css" rel="stylesheet" type="text/css" />
<?php
include ("../navigation/header.php");
$page_name = "AD-tracking";
include ("../navigation/access.php");

if ($permission_num==1) {
	include ("../navigation/admin_sidebar.php");
?>
<?php

$report_text_id = $_GET['report_text_id'];
	
$table_name2 = $_SESSION['db_prefix']."_reports_text";
$report_query = "SELECT report_text FROM $table_name2 WHERE report_text_id = '".$report_text_id."' ";
$report_result = mySQL_query($report_query);
$report_text = mysql_result($report_result, 0, "report_text");


?>
<!--style sheets-->


<!--jscript-->

</head>

<body>
<div class="main_frame" style="height:auto;">
<div class="page_middle_frame" > <label class="label_page_head">Reports</label></div>
        <br />
<br />
<br />
<br />
<div  class="page_middle_frame">
  <div style="font-weight:normal;"><?php echo $report_text ?></div>
</div>

</div>
</body>
<?php } else {
$_SESSION['denied_return'] = "admin_module/user_list.php";	
    include ("../navigation/admin_sidebar.php");?>
	<body onLoad="accessdenied(); return false">
<?php }
?>
<?php include ('../navigation/side_bar.php'); ?>
</html>