index.php
11.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Resolución - 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">
<!-- themify-icons line icon -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/icon/themify-icons/themify-icons.css">
<!-- ico font -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/icon/icofont/css/icofont.css">
<!-- feather Awesome -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/icon/feather/css/feather.css">
<!-- Data Table Css -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-bs4/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets/pages/data-table/css/buttons.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.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">
<link rel="stylesheet" href="<?php echo constant ('URL');?>src/menu/assets/scss/partials/menu/_pcmenu.htm">
<!-- animation nifty modal window effects css -->
<link rel="stylesheet" type="text/css" href="<?php echo constant ('URL');?>src/menu/assets\css\component.css">
</head>
<body >
<?php include_once 'views/header.php';?>
<!-- Page-header start -->
<div class="page-header">
<div class="row align-items-end">
<div class="col-lg-8" >
<div class="page-header-title">
<div class="d-inline">
<h4>Listado de Resoluciones Registradas </h4>
<span style="text-align:center;margin-left:1%;width:100%;">En esta sección podrá visualizar y registras las Resoluciones. </span>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="page-header-breadcrumb">
<ul class="breadcrumb-title">
<ul class="breadcrumb-title">
<li class="breadcrumb-item">
<a href="<?php echo constant('URL');?>home"> <i class="feather icon-home"></i> Inicio</a>
</li>
<li class="breadcrumb-item"><a href="<?php echo constant('URL');?>resolucion"><i class="icofont icofont-triangle"></i> Resolución</a> </li>
</ul>
</div>
</div>
</div>
</div>
<!-- Page-header end -->
<div class="page-body">
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-header" >
<h5>Resolución</h5>
<span>En esta sección podrá visualizar las resoluciones que han sido registradas.</span>
<div class="card-header-right">
<ul class="list-unstyled card-option">
<?php if($_SESSION['Agregar']==true){ ?>
<li><a href="<?php echo constant ('URL');?>resolucion/registrar"><button class="btn btn-primary btn-out-dotted"><i class="icofont icofont-plus" style="color: white;"></i> Registrar Resolución</button></a></li>
<?php }?>
</ul>
</div>
</div>
<div class="card-block">
<?php echo $this->mensaje;?>
<div class="dt-responsive table-responsive">
<table id="simpletable" class="table table-striped table-bordered nowrap">
<thead>
<tr>
<th><i class="icofont icofont-ui-note"></i>Nro. de Resolución </th>
<th><i class="icofont icofont-ui-calendar"></i>Acta</th>
<th><i class="icofont icofont-ui-calendar"></i>Autoridad</th>
<th><i class="icofont icofont-navigation-menu"></i> Acción</th>
</tr>
</thead>
<tbody>
<?php
foreach($this->resoluciones as $row){
$resolucion=new Arcu();
$resolucion=$row;?>
<tr>
<td><?php echo $resolucion->numero;?></td>
<td><?php echo $resolucion->acta;?></td>
<td><?php echo $resolucion->nombre . " " . $resolucion->apellido; ?></td>
<td>
<?php if($_SESSION['Editar']==true){ ?>
<a href="<?php echo constant ('URL') . "resolucion/ViewEdit/" . $resolucion->id_resolucion;?>" class="btn btn-inverse btn-out-dashed"><i class="icofont icofont-ui-edit"></i> Editar</a>
<?php }
if($_SESSION['Eliminar']==true){?>
<a href="<?php echo constant ('URL') . "resolucion/eliminar/" . $resolucion->id_resolucion;?>" class="btn btn-outline btn-danger" onclick="return confirm('¿Desea Eliminar la Resolución Nro.: <?php echo $resolucion->numero; ?> ?');">Eliminar</a>
<?php }
if($_SESSION['Consultar']==true){?>
<a href="<?php echo constant ('URL') . "resolucion/viewDetalle/" . $resolucion->id_resolucion;?>" class="btn btn-default btn-outline-default waves-effect md-trigger md-setperspective"><i class="icofont icofont-eye"></i>Ver</a>
<?php } ?>
</td>
</tr>
<?php }?>
<tfoot>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include_once 'views/footer.php';?>
<!-- data-table js -->
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/assets/pages/data-table/js/jszip.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/assets/pages/data-table/js/pdfmake.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/assets/pages/data-table/js/vfs_fonts.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-buttons/js/buttons.print.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-buttons/js/buttons.html5.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-bs4/js/dataTables.bootstrap4.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
<script src="<?php echo constant ('URL');?>src/menu/bower_components/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js"></script>
<!-- Custom js -->
<script src="<?php echo constant ('URL');?>src/menu/assets/pages/data-table/js/data-table-custom.js"></script>
<!-- modalEffects js nifty modal window effects -->
<script type="text/javascript" src="<?php echo constant ('URL');?>src/menu/assets\js\modalEffects.js"></script>
<script type="text/javascript" src="<?php echo constant ('URL');?>src/menu/assets\js\classie.js"></script>
</body>
</html>