include ("../config/config.php");
include ("./func.php");
$db = mysql_connect($DB_HOST, $DB_USER, $DB_PSW);
mysql_select_db($DB_BASE);
if (!isset($_SESSION['admin']['login'])) {
echo "Íóæíà àâòîðèçàöèÿ";
} else {
?>
if (!empty($_GET['pro']))
{
include ("./link.php");
echo "11111111111111111111111111111111";
}
if (!isset($_GET['type_stat']))
{
$_GET['type_stat'] = 1;
}
if ($_GET['type_stat'] == 1)
{
include ("./order_stat.php");
}
if ($_GET['type_stat'] == 2)
{
include ("./user_stat.php");
}
if ($_GET['type_stat'] == 3)
{
include ("./catalog_stat.php");
}
}
?>