index.php
8.44 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="en">
<head>
<title>Inicio - Arcu </title>
<!-- Meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="#">
<meta name="keywords" content="Admin , Responsive, Landing, Bootstrap, App, Template, Mobile, iOS, Android, apple, creative app">
<meta name="author" content="#">
<!-- Favicon icon -->
<link rel="icon" href="<?php echo constant ('URL');?>src/menu/assets/images/favicon.ico" type="image/x-icon">
<!-- Google font-->
<link href="<?php echo constant ('URL');?>src/menu/assets/fonts/fonts-opensans.css" rel="stylesheet">
<!-- Required Fremwork -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/bower_components/bootstrap/css/bootstrap.min.css">
<!-- feather Awesome -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/icon/feather/css/feather.css">
<!-- Style.css -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/css/style.css">
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/css/jquery.mCustomScrollbar.css">
</head>
<body>
<style type="text/css">
#global {
height: 400px;
width: 450px;
border: 3px solid #ddd;
background: #f1f1f1;
overflow-y: scroll;
}
#mensajes {
height: auto;
}
#globali {
height: 400px;
width: 450px;
border: 3px solid #ddd;
background: #f1f1f1;
overflow-y: scroll;
margin-left: 50px;
}
</style>
<?php include_once 'views/header.php';?>
<div class="page-body">
<div class="row">
<div class=" col-md-12">
<h3><small> Ha Ingresado al Sistema de Actas y Resoluciones Consejo Universitario: <?php echo $_SESSION['primer_nombre'] . " " . $_SESSION['primer_apellido'];?></small></h3>
<hr>
</div>
<?php if($_SESSION['id_perfil']==1 || $_SESSION['id_perfil']==2){?>
<!-- task, page, download counter start -->
<div id="global">
<div id="mensajes">
<br>
<div class=" col-md-12">
<center><h4>Actas</h4></center>
</div>
<br>
<?php
$cont=0;
foreach($this->actas as $row){
$cont++;
}?>
<?php if($cont==0){?>
<center><p>No hay actas registradas.</p></center>
<?php }?>
<?php
foreach($this->actas as $row){
$acta=new Arcu();
$acta=$row;?>
<!-- user card start -->
<table id="simpletable" class="table table-striped nowrap">
<tr>
<td width="50%"><div class="col-md-7 col-xl-12">
<div class="card user-widget-card bg-c-blue">
<div class="card-block">
<i class="feather icon-file bg-simple-c-blue card1-icon"></i>
<h5>Acta</h5>
<p style="font-size: 14px;">Nro. <?php echo $acta->numero;?></p>
<a href="<?php echo constant ('URL').'src/acta/'. $acta->file1;?>" class="more-info" download="Acta Nro.<?php echo $acta->numero;?>">Descargar</a>
</div>
</div>
</div>
</td>
<td width="40%"><br><br><br><span>Fecha:<br><?php echo date("d/m/Y", strtotime($acta->fecha));?></span></td>
</tr>
</table>
<?php } ?>
</div>
</div>
<div id="globali">
<div id="mensajes">
<br>
<div class=" col-md-12">
<center><h4>Resoluciones</h4></center>
</div>
<br>
<?php
$cont=0;
foreach($this->resoluciones as $row){
$cont++;
}?>
<?php if($cont==0){?>
<center><p>No hay Resoluciones registradas.</p></center>
<?php }?>
<?php
foreach($this->resoluciones as $row){
$resolucion=new Arcu();
$resolucion=$row;?>
<table id="simpletable" class="table table-striped nowrap">
<tr>
<td width="50%"><div class="col-md-7 col-xl-12">
<div class="card user-widget-card bg-c-yellow">
<div class="card-block">
<i class="feather icon-file-text bg-simple-c-yellow card1-icon"></i>
<h5>Resolucion</h5>
<p style="font-size: 14px;">Nro. <?php echo $resolucion->numero;?></p>
<a href="<?php echo constant ('URL').'src/resolucion/'. $resolucion->file2;?>" class="more-info" download="Resolución Nro.<?php echo $resolucion->numero;?>">Descargar</a>
</div>
</div>
</div><!-- user card end -->
</td>
<td width="40%"><br><br><br><span>Fecha:<br><?php echo date("d/m/Y", strtotime($resolucion->fecha));?></span></td>
</tr>
</table>
<br>
<?php } ?>
</div>
</div>
<?php } ?>
</div>
</div>
<?php include_once 'views/footer.php';?>
<!-- NOTA: revisen el footer, ahi integre todos los js que necesita el header para que funcione,
si necesitan, agregar un plugin lo hacen a partir de este comentario -->
</body>
</html>