-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadminpanel.php
106 lines (100 loc) · 3.78 KB
/
adminpanel.php
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
/**********************************************************************
* Author : Sergio Ceron Figueroa ([email protected])
* Alias : sxceron
* Web : http://www.dotrow.info
* Name : jShop v1.0
* Desc : Panel de control para el administrador
*
***********************************************************************/
include_once "./includes/settings.php";
include_once "./includes/db.php";
include_once "./includes/security.php";
//if( $isadmin != 1 ) header( "Location: ./login.php" );
$sselected = 3; $subtitle = "Panel de administracion";$selected = 0;
$items = array( $_i18n["menu1"], "Ponencias", "Usuarios", "Nueva ponencia", "Nuevo usuario" );
$links = array( "./adminpanel.php", "./adminpanel_sales.php", "./adminpanel_users.php","./adminpanel_categories.php", "./adminpanel_users.php" );
include("includes/header.php");
?>
<div id="content"><?php if( isset( $_GET[ "id" ] ) ){ ?>
<div align="center" class="msg">
<div class="bl3">
<div class="br">
<div class="tl">
<div class="tr2">
<?=$_i18n[ "admine".base64_decode( $_GET[ "id" ] ) ]?>
</div>
</div>
</div>
</div>
</div>
<?php }
$users = $db->get_var("select count(*) from usuarios");
$articles = $db->get_var("select count(*) from articulos");
$categories = $db->get_var("select count(*) from categorias");
$processed = $db->get_var("select count(*) from compras where compra_estado=2");
?>
<div id="dash1">
<h1>CFIE - Panel de Control de Ponencias</h1>
<div id="dom_user">
<div id="domain">
<p>Estado de las ponencias</p>
<ul class="inlinelist">
<li><b> <a href="adminpanel_process.php?all">Ver ponencias pendientes</a> </b>
</li>
<li><a href="adminpanel_sales.php">Nuevas ponencias</a>
</li>
</ul>
<div class="clear"></div>
</div>
<div id="users">
<h2><?=$_i18n["admin.usersaccount"]?></h2>
<ul class="inlinelist">
<li><?=$users?> <?=$_i18n["admin.users"]?> </li>
<li><a href="adminpanel_users.php#create">Nuevo usuario</a>
</li>
</ul>
<p><?=$_i18n["admin.index.2"]?></p>
</div>
</div>
<div class="spacer"></div>
</div>
<div id="dash2">
<div class="spacer"></div>
<h2 class="inlinetext"><?=$_i18n["admin.configuration"]?></h2>
<ul class="inlinelist2">
<li><a href="adminpanel_newproduct.php">Agregar nueva ponencia</a></li>
</ul>
<ul id="services">
<li class="clrflt"><a href="EmailSettings" class="docs"><span><?=$_i18n["products"]?></span></a>
<h3><a href="adminpanel_products.php">Ponencias pendientes</a>
</h3>
<span class="beta"><?=$articles?> </span> <span> - <?=$_i18n["admin.active"]?></span>
<p><a href="#" class="greenlink"> Lista de ponencias pendientes de revisi�n </a>
</p>
</li>
<li class=""><a href="ChatSettings" class="calendar"><span><?=$_i18n["categories.submenu"]?></span></a>
<h3><a href="adminpanel_categories.php">Asistentes</a></h3>
<span class="beta"><?=$categories?> </span> <span> - <?=$_i18n["admin.active"]?></span>
<p><a href="#" class="greenlink"> Personas que asistiran a la ponencia</a></p>
</li>
<li class="clrflt"><a href="CalendarSettings" class="calendar"> <span>Usuarios</span></a>
<h3><a href="adminpanel_users.php">Evaluadores</a></h3>
<span class="beta"><?=$users?> </span> <span> - <?=$_i18n["admin.active"]?>
</span>
<p><a href="#" class="greenlink"> Usuarios que pueden evaluar ponencias </a></p>
</li>
<li class=""><a href="WebPages" class="calendar"><span><?=$_i18n["admin.salesp"]?></span></a>
<h3><a href="adminpanel_sales.php?p=2">Ponentes</a></h3>
<span class="beta"><?=$processed?> </span> <span> - <?=$_i18n["admin.active"]?>
</span>
<p><a href="adminpanel_sales.php?p=3" class="greenlink"> Personas que presentaran alguna ponencia</a>
</p>
</li>
</ul>
<div class="clear"></div>
</div>
</div>
<?php include("./includes/foot.php");?>
</body>
</html>