Commit 0d61781a authored by irving's avatar irving

Update

parent 38f5839a
...@@ -244,76 +244,7 @@ ...@@ -244,76 +244,7 @@
</a> </a>
</li> </li>
<!-- Comision -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
COMISIÓN DE C Y T
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="<?= base_url('index.php/site/integrantes') ;?>">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<?php foreach ($menu_comites as $comite) {
if ($comite->id_comite != 1){?>
<li >
<a href="<?= base_url('index.php/site/comites?id_comite='.$comite->id_comite) ?>"><?= $comite->nombre_comite ;?></a>
</li>
<?php }
} ?>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">Convocatoria</a>
</li>
<li>
<a href="#">Sesión Ordinaria</a>
</li>
<li>
<a href="#">Sesión Extra Ordinaria</a>
</li>
</ul>
</li>
</ul>
</li>
<!-- Consejo -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
CONSEJO DE RESILIENCIA
</a>
<ul class="dropdown-menu">
<li>En construcción</li>
<!--li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="#">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li-->
</ul>
</li>
</ul> </ul>
</div><!--/end container--> </div><!--/end container-->
</div><!--/navbar-collapse--> </div><!--/navbar-collapse-->
......
...@@ -263,98 +263,7 @@ ...@@ -263,98 +263,7 @@
</a> </a>
</li> </li>
<!-- Comision -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
COMISIÓN DE C Y T
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="<?php echo Yii::app()->request->baseUrl; ?>/CyT/index.php/site/integrantes">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<?php
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM tbl_comite WHERE status = 1";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
if ($row["id_comite"]!= 1){?>
<li>
<a href="<?php echo Yii::app()->request->baseUrl; ?>/CyT/index.php/site/comites?id_comite=<?= $row["id_comite"]; ?>" ><?= utf8_encode ($row["nombre_comite"]); ?></a>
</li>
<?php }
}
}
$conn->close();
?>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">Convocatoria</a>
</li>
<li>
<a href="#">Sesión Ordinaria</a>
</li>
<li>
<a href="#">Sesión Extra Ordinaria</a>
</li>
</ul>
</li>
</ul>
</li>
<!-- Consejo -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
CONSEJO DE RESILIENCIA
</a>
<ul class="dropdown-menu">
<li>En construcción</li>
<!--li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="#">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li-->
</ul>
</li>
<!-- PPD -- > <!-- PPD -- >
<li> <li>
<a href="<?php echo $this->createUrl('/site') ?>"> <a href="<?php echo $this->createUrl('/site') ?>">
......
...@@ -235,98 +235,6 @@ ...@@ -235,98 +235,6 @@
</a> </a>
</li> </li>
<!-- Comision -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
COMISIÓN DE C Y T
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="<?php echo Yii::app()->request->baseUrl; ?>/CyT/index.php/site/integrantes">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<?php
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM tbl_comite WHERE status = 1";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
if ($row["id_comite"]!= 1){?>
<li>
<a href="<?php echo Yii::app()->request->baseUrl; ?>/CyT/index.php/site/comites?id_comite=<?= $row["id_comite"]; ?>" ><?= utf8_encode ($row["nombre_comite"]); ?></a>
</li>
<?php }
}
}
$conn->close();
?>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">Convocatoria</a>
</li>
<li>
<a href="#">Sesión Ordinaria</a>
</li>
<li>
<a href="#">Sesión Extra Ordinaria</a>
</li>
</ul>
</li>
</ul>
</li>
<!-- Consejo -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
CONSEJO DE RESILIENCIA
</a>
<ul class="dropdown-menu">
<li>En construcción</li>
<!--li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="#">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li-->
</ul>
</li>
<!-- Blog -- > <!-- Blog -- >
<li> <li>
......
...@@ -296,98 +296,7 @@ ...@@ -296,98 +296,7 @@
</a> </a>
</li> </li>
<!-- Comision -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
COMISIÓN DE C Y T
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="<?php echo Yii::app()->request->baseUrl; ?>/CyT/index.php/site/integrantes">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<?php
$servername = "localhost";
$username = "root";
$password = "PkJXPQFykKLmS3cWhqmZKNYE";
$dbname = "PPD";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM tbl_comite WHERE status = 1";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
if ($row["id_comite"]!= 1){?>
<li>
<a href="<?php echo Yii::app()->request->baseUrl; ?>/CyT/index.php/site/comites?id_comite=<?= $row["id_comite"]; ?>" ><?= utf8_encode ($row["nombre_comite"]); ?></a>
</li>
<?php }
}
}
$conn->close();
?>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">Convocatoria</a>
</li>
<li>
<a href="#">Sesión Ordinaria</a>
</li>
<li>
<a href="#">Sesión Extra Ordinaria</a>
</li>
</ul>
</li>
</ul>
</li>
<!-- Consejo -->
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
CONSEJO DE RESILIENCIA
</a>
<ul class="dropdown-menu">
<li>En construcción</li>
<!--li>
<a href="#">Bases Legales</a>
</li>
<li>
<a href="#">Integrantes</a>
</li>
<li class="dropdown-submenu"><a>Comités</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li>
<li class="dropdown-submenu"><a>Sesiones</a>
<ul class="dropdown-menu">
<li>
<a href="#">subcategoria</a>
</li>
</ul>
</li-->
</ul>
</li>
<!-- PPD -- > <!-- PPD -- >
<li> <li>
<a href="<?php echo $this->createUrl('/site') ?>"> <a href="<?php echo $this->createUrl('/site') ?>">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment