public function __construct() { parent::__construct(); $this->_view->setTemplate('default'); // Cambiamos el template $this->_rasgos = $this->loadModel('index'); $this->_view->setWidgetOptions('menu-top', array('top', 'top', 'true')); }
public function __construct() { parent::__construct(); $this->_view->setTemplate('default'); // Cambiamos el template $this->_tiempos = $this->loadModel('tiempos'); $this->_view->setWidgetOptions('menu-top', array('top', 'top', 'true')); // $this->_view->setWidgetOptions('menu-topUsuarios', array( 'top' , 'topUsuarios' , 'false')); }
<?php include "../controller/UsuariosController.php"; $usuariosInst = new usuariosController(); ?> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <!-- Form usuarios --> <div class="modal fade bs-example-modal-lg" id="frm_modal_usuario" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="lbl_form_usuario">-</h4> </div> <div class="modal-body"> <!-- form modal contenido --> <form id="form_usuario" class="form-horizontal" method="POST"> <br> <div class="form-group" hidden> <div class="col-sm-10"> <input type="text" class="form-control" id="pkID" name="pkID"> </div> </div> <div class="form-group"> <label for="alias" class="col-sm-2 control-label">Alias</label> <div class="col-sm-10"> <input type="text" class="form-control" id="alias" name="alias" placeholder="Nombre de usuario en el sistema" required = "true"> </div> </div>
public function __construct() { parent::__construct(); $this->_personal = $this->loadModel('personal'); }
<?php include "../controller/UsuariosController.php"; include '../conexion/datos.php'; $usuariosInst = new usuariosController(); //$permisosInst = new permisosController(); $arrPermisos = $usuariosInst->getPermisosModulo_Tipo($id_modulo, $_COOKIE[$NomCookiesApp . "_IDtipo"]); $crea = $arrPermisos[0]["crear"]; //echo "Nombre de la aplicacion_".$NomCookiesApp; ?> <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <!-- Form usuarios --> <div class="modal fade bs-example-modal-lg" id="frm_modal_usuario" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="lbl_form_usuario">-</h4> </div> <div class="modal-body"> <!-- form modal contenido --> <form id="form_usuario" class="form-horizontal" method="POST"> <br> <div class="form-group " hidden> <div class="col-sm-10"> <input type="text" class="form-control" id="pkID" name="pkID"> </div> </div> <div class="form-group">
public function __construct() { parent::__construct(); $this->_usuarios = $this->loadModel('estudiantes'); }
public function __construct() { parent::__construct(); $this->_usuarios = $this->loadModel('index'); }