示例#1
0
 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'));
 }
示例#2
0
 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">&times;</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>
示例#4
0
 public function __construct()
 {
     parent::__construct();
     $this->_personal = $this->loadModel('personal');
 }
示例#5
0
<?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">&times;</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">
示例#6
0
 public function __construct()
 {
     parent::__construct();
     $this->_usuarios = $this->loadModel('estudiantes');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_usuarios = $this->loadModel('index');
 }