Blame view

order/index.php 1.44 KB
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  <HTML>
  <HEAD>
  <TITLE>Ñòàòèñòèêà çàêàçîâ</TITLE>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
  <META Name="KEYWORDS" Content="<? echo $keywords; ?>">
  <META Name="DESCRIPTION" Content="<? echo $description;?>">
  <link href="../css/admin.css" rel="stylesheet" type="text/css">
  </head>
  <body>
  <?
   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 {
  
  ?>
  <!--<table cellpadding="5" cellspacing="5" width="100%">
   <tr>
    <td class="td_1">
     <a href="/order/index.php?type_stat=1">Ñòàòèñòèêà ïî çàêàçàì</a>
    </td>
    <td class="td_1">
     <a href="/order/index.php?type_stat=2">Ñòàòèñòèêà ïî ïîëüçîâàòåëÿì</a>
    </td>
    <td class="td_1">
      <a href="/order/index.php?type_stat=3">Ñòàòèñòèêà ïî ðóáðèêàì êàòàëîãà</a>
    </td>
   </tr>
  </table>-->
  <table cellpadding="5" cellspacing="5" width="100%">
   <tr>
    <td class="td_1">
     <center><strong>Ñòàòèñòèêà ïî çàêàçàì</strong></center>
    </td>
   </tr>
  </table>
  <?
  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");
  }
  }
  ?>
  </body>