コード例 #1
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">

          <h2><?php 
echo i18n::__('edit', NULL, 'animal');
?>
 :</h2>
              <h3><?php 
echo $objAnimal[0]->id = ucwords($objAnimal[0]->id);
?>
</h3>
        </div>
      </div>
    </div>
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formAnimal', array('objAnimal' => $objAnimal, 'objGenero' => $objGenero, 'objRaza' => $objRaza, 'objLote' => $objLote));
?>

<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">

          <h2><?php 
echo i18n::__('e', NULL, 'dpVenta');
?>
 :</h2>
              <h3><?php 
echo $objRegistroPeso[0]->fecha_registro = ucwords($objRegistroPeso[0]->fecha_registro);
?>
</h3>
        </div>
      </div>
    </div>
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formRegistroPeso', array('objAnimal' => $objAnimal, 'objEmpleado' => $objEmpleado));
?>
  </div>
</main>
コード例 #3
0
" class="btn btn-primary btn-xs"><i class="fa fa-edit"></i> Editar</a>
                    <a href="" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#myModal<?php 
    echo $empleado->id;
    ?>
"><i class="fa fa-times"></i> Eliminar</a>
                    <?php 
    view::includePartial('componente/modalDelete', array('id' => $empleado->id, 'url' => routing::getInstance()->getUrlWeb('@empleado_delete', array('id' => $empleado->id)), 'mensaje' => '¿Desea eliminar el empleado seleccionado?'));
    ?>
                  </td>
                </tr>
              <?php 
}
?>
            </tbody>
          </table>
          <!-- TABLA -->
        </div>
      </div>
    </div>
  </div>
</div>
<?php 
view::includePartial('componente/footer');
?>






コード例 #4
0
ファイル: formBarrio.php プロジェクト: jordanMarin/prestamo
use mvc\session\sessionClass as session;
use mvc\routing\routingClass as routing;
use mvc\request\requestClass as request;
use mvc\view\viewClass as view;
?>
<form class="form-horizontal ibody" role="form" method="POST" action="<?php 
echo routing::getInstance()->getUrlWeb('barrio', 'createBarrio');
?>
">
  <fieldset>
    <legend><i class="glyphicon glyphicon-map-marker"></i> Nuevo barrio</legend>
    <?php 
if (session::getInstance()->hasError('inputBarrio')) {
    ?>
      <?php 
    view::getMessageError('inputBarrio');
    ?>
    <?php 
}
?>
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputBarrio') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputBarrio" class="col-sm-2 control-label">BARRIO</label>
      <div class="col-sm-10">
        <input value="<?php 
echo request::getInstance()->hasPost('inputBarrio') ? request::getInstance()->getPost('inputBarrio') : '';
?>
" type="text" class="form-control" id="inputBarrio" name="<?php 
echo barrioTableClass::getNameField(barrioTableClass::NOMBRE_BARRIO, TRUE);
コード例 #5
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
    <div class="mdl-grid demo-content">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center">
            <h2><?php 
echo i18n::__('edit', NULL, 'insumo');
?>
 :</h2>
  
            <h3><?php 
echo $objInsumo[0]->nombre_insumo = ucwords($objInsumo[0]->nombre_insumo);
?>
</h3>
        </div>
    </div>
</div>
<?php 
view::includeHandlerMessage();
view::includePartial('insumo/formInsumo', array('objInsumo' => $objInsumo, 'objTipoInsumo' => $objTipoInsumo));
?>

コード例 #6
0
 public function renderComponent()
 {
     view::renderComponent($this->module . '/' . $this->view, $this->arg);
 }
コード例 #7
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<h1>NUEVO CARGO <?php 
echo $mensaje;
?>
</h1>
<?php 
view::includePartial('default/formUser', array('mensaje' => $mensaje));
コード例 #8
0
ファイル: formCodeudor.php プロジェクト: jordanMarin/prestamo
    
    
    
    
    
    
    
    
    
    
    
     <?php 
if (session::getInstance()->hasError('inputLocalidad')) {
    ?>
      <?php 
    view::getMessageError('inputLocalidad');
    ?>
    <?php 
}
?>
    
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputLocalidad') ? 'has-error has-feedback' : '';
?>
">
    
     <label for="inputLocalidad" class="col-sm-2 control-label">LOCALIDAD</label>
      <div class="col-sm-10">
        <select class="form-control" name="inputLocalidad">

          <option value="">Seleccione LOCALIDAD</option>
コード例 #9
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
$usuario = usuarioTableClass::USER;
?>
<h1>EDITAR USUARIO <?php 
echo $objUsuario[0]->{$usuario};
?>
</h1>
<?php 
view::includePartial('default/formUser', array('objUsuario' => $objUsuario, 'usuario' => $usuario));
コード例 #10
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center ">
            <h2><?php 
echo i18n::__('edit', NULL, 'raza');
?>
 :</h2>
  
            <h3><?php 
echo $objRaza[0]->nombre_raza = ucwords($objRaza[0]->nombre_raza);
?>
</h3>
        </div>
    </div>
</div>
<?php 
view::includePartial('raza/formRaza', array('objRaza' => $objRaza));
?>

コード例 #11
0
" type="text" class="form-control" id="inputUsuario" name="inputUsuario" placeholder="Digite usuario">
      </div>
    
    <label for="inputPassword" class="col-sm-2 control-label">Contraseña</label>
      <div class="col-sm-10">
        <input value="" type="password" class="form-control" id="inputPassword" name="inputPassword" placeholder="Digite contraseña">
      </div>
    
  </fieldset>
  <fieldset>
    <legend><i class="glyphicon glyphicon-phone"></i>Datos del empleado</legend>
    <?php 
if (session::getInstance()->hasError('inputEmpleado')) {
    ?>
    <?php 
    view::getMessageError('inputEmpleado');
    ?>
    <?php 
}
?>
    
    
    
   
     <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputnombre') ? 'has-error has-feedback' : '';
?>
">
      <label for="inputnombre" class="col-sm-2 control-label">NOMBRE</label>
      <div class="col-sm-10">
        <input value="<?php 
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<main class="mdl-layout__content mdl-color--blue-300">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">
         
          <h2>  <?php 
echo i18n::__('detailVaccination', NULL, 'detalleVacunacion');
?>
          </h2>
        </div>
      </div>
    </div>
    
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formVacunacion', array('idAnimalHojaVida' => $idAnimalHojaVida, 'objVeterinario' => $objVeterinario, 'objAnimal' => $objAnimal, 'objVacuna' => $objVacuna));
?>

  </div>
</main>

</form>
コード例 #13
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-300">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center">
          
            <h2>  <?php 
echo i18n::__('new', NULL, 'parto');
?>
            </h2>
        </div>
    </div>
</div>

<?php 
view::includePartial('registroParto/formParto', array("idAnimalSeleccionado" => $idAnimalSeleccionado));
?>

コード例 #14
0
<?phpuse mvc\routing\routingClass as routing ?>
<?php 
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<br>
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 titulo">
            <br>
            <h2>  <?php 
echo i18n::__('new', null, 'cargo');
?>
            </h2>
        </div>
    </div>
</div>
<br>
<?php 
view::includeHandlerMessage();
view::includePartial('cargo/formCargo', array());
?>


コード例 #15
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 titulo">
            <h2><?php 
echo i18n::__('edit', NULL, 'city');
?>
 :</h2>

            <br>   
            <h3><?php 
echo $objCiudad[0]->nombre = ucwords($objCiudad[0]->ciudad);
?>
</h3>
        </div>
    </div>
</div>
<?php 
view::includePartial('ciudad/formCiudad', array('objCiudad' => $objCiudad, 'objDepto' => $objDepto));
?>

コード例 #16
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">

          <h2><?php 
echo i18n::__('edit', NULL, 'vacunacion');
?>
 :</h2>
              <h3><?php 
echo $objCarne[0]->fecha_vacunacion = ucwords($objCarne[0]->fecha_vacunacion);
?>
</h3>
        </div>
      </div>
    </div>
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formVacunacion', array('objAnimal' => $objAnimal, 'objVacuna' => $objVacuna, 'objVeterinario' => $objVeterinario, 'objCarne' => $objCarne));
?>

</main>

コード例 #17
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center">
            <h2><?php 
echo i18n::__('ed', NULL, 'userCredencial');
?>
 
            <br>   
            <?php 
// print_r($objCredencial)
?>
        </div>
    </div>
</div>
<?php 
//view::includeHandlerMessage()
view::includePartial('usuarioCredencial/formUcrede', array('objUsuario' => $objUsuario, 'objCredencial' => $objCredencial));
?>

コード例 #18
0
<?php

use mvc\view\viewClass as view;
?>
<div class="container container-fluid">
  <?php 
view::includePartial('prestamo/formCargo');
?>
</div>

コード例 #19
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
    <div class="mdl-grid demo-content">
<div class="container">
    <div class="row">
        <div class="col-xs-4offset-3 text-center">
            <h2>
                <?php 
echo i18n::__('edit', null, 'vacunacion');
?>
 
            </h2>
        </div>
    </div>
</div>
<?php 
view::includePartial('vacunacion/formVacunacion', array('objVacunacion' => $objVacunacion, 'objVeterinario' => $objVeterinario, 'objAnimal' => $objAnimal));
?>

コード例 #20
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<main class="mdl-layout__content mdl-color--blue-300">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">
        
          <h2>  <?php 
echo i18n::__('new', null, 'cliente');
?>
          </h2>

        </div>
      </div>
    </div>
  
<?php 
view::includeHandlerMessage();
view::includePartial('cliente/formCliente', array('objCiudad' => $objCiudad, 'objTipo_doc' => $objTipo_doc));
?>

コード例 #21
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 text-center">
            <h2><?php 
echo i18n::__('edit', NULL, 'parto');
?>
 :</h2>

          
        </div>
    </div>
</div>
<?php 
view::includePartial('registroParto/formParto', array('objRaza' => $objRaza, 'objAnimal' => $objAnimal, 'objParto' => $objParto));
?>

コード例 #22
0
">
    <head>
        <?php 
echo \mvc\view\viewClass::genTitle();
?>
        <?php 
echo \mvc\view\viewClass::genMetas();
?>
        <?php 
echo \mvc\view\viewClass::genFavicon();
?>
        <?php 
echo \mvc\view\viewClass::genStylesheet();
?>
        <?php 
echo \mvc\view\viewClass::genJavascript();
?>
    </head>
    <body>
        <div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
            <!--        <div class="saltos">
                    <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
                    </div>-->
            <?php 
if (session::getInstance()->hasUserId() == false) {
    ?>
   
                <div class="saltosLogin">
                    <br/><br/><br/>
                </div>   
            <?php 
コード例 #23
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
    <div class="mdl-grid demo-content">
<div class="container">
    <div class="row">
        <div class="col-xs-4offset-3 text-center">
            <h2>
            <?php 
echo i18n::__('modic1', null, 'bodega');
?>
            </h2>
        </div>
    </div>
</div>
        <?php 
view::includeHandlerMessage();
view::includePartial('entradaBodega/form', array('objEmpleado' => $objEmpleado, 'objEntradaBodega' => $objEntradaBodega));
?>

コード例 #24
0
use mvc\routing\routingClass as routing;
use mvc\view\viewClass as view;
?>

<div class="navbar-wrapper">
  <div class="container container-fluid">
  <?php 
view::includePartial('parcial/menu');
?>
  </div>
</div>

<div data-ride="carousel" class="carousel slide" id="myCarousel">
<?php 
view::includePartial('parcial/carusel');
?>
</div>

<div class="container marketing">

  <!-- Three columns of text below the carousel -->
  <div class="row">
    <div class="col-lg-4">
      <img width="140" height="140" alt="Generic placeholder image" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" class="img-circle">
      <h2>Heading</h2>
      <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p>
      <p><a role="button" href="#" class="btn btn-default">View details »</a></p>
    </div><!-- /.col-lg-4 -->
    <div class="col-lg-4">
      <img width="140" height="140" alt="Generic placeholder image" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" class="img-circle">
コード例 #25
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>
<main class="mdl-layout__content mdl-color--blue-grey-200">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">
          <h2><?php 
echo i18n::__('editUser', $culture = NULL, $dictionary = 'user');
?>
: </h2>
          <h2> <?php 
echo $objUsuario[0]->user_name = ucwords($objUsuario[0]->user_name);
?>
</h2>

        </div>
      </div>
    </div>
    <?php 
// view::includeHandlerMessage()
?>
    <?php 
view::includePartial('usuario/formUser', array('objUsuario' => $objUsuario, 'objCiudad' => $objCiudad, 'objTipoDoc' => $objTipoDoc, 'objRecuperar' => $objRecuperar));
?>

コード例 #26
0
" type="text" class="form-control" id="inputUsuario" name="inputUsuario" placeholder="Digite usuario">
      </div>
    
    <label for="inputPassword" class="col-sm-2 control-label">Contraseña</label>
      <div class="col-sm-10">
        <input value="" type="password" class="form-control" id="inputPassword" name="inputPassword" placeholder="Digite contraseña">
      </div>
    
  </fieldset>
  <fieldset>
    <legend><i class="glyphicon glyphicon-phone"></i>Datos del cliente</legend>
    <?php 
if (session::getInstance()->hasError('inputCliente')) {
    ?>
    <?php 
    view::getMessageError('inputCliente');
    ?>
    <?php 
}
?>
    <div class="form-group <?php 
echo session::getInstance()->hasFlash('inputCliente') ? 'has-error has-feedback' : '';
?>
">

      <label for="inputCliente" class="col-sm-2 control-label">TIPO DE DOCUMENTO</label>
      <div class="col-sm-10">
        <select class="form-control" name="<?php 
echo clienteTableClass::getNameField(clienteTableClass::TIPO_DOCUMENTO_ID, true);
?>
">
コード例 #27
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 titulo">
            <h2><?php 
echo i18n::__('edit', NULL, 'depto');
?>
 :</h2>

            <br>   
            <h3><?php 
echo $objDepto[0]->nombre = ucwords($objDepto[0]->nombre);
?>
</h3>
        </div>
    </div>
</div>
<?php 
view::includePartial('departamento/formDepto', array('objDepto' => $objDepto));
?>

コード例 #28
0
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<div class="container">
    <div class="row">
        <div class="col-xs-4-offset-4 titulo">
            <h2><?php 
echo i18n::__('edit', NULL, 'cargo');
?>
 :</h2>

            <br>   
            <h3><?php 
echo $objCargo[0]->descripcion = ucwords($objCargo[0]->descripcion);
?>
</h3>
        </div>
    </div>
</div>
<?php 
view::includePartial('cargo/formCargo', array('objCargo' => $objCargo));
?>

コード例 #29
0
                                <div class="mdl-tooltip mdl-tooltip--large" for="deleteMasa">
                    <?php 
echo i18n::__('eliminarMasa', null, 'ayuda');
?>
                                </div>-->
                                 <a href="#myModalReport" data-toggle="modal" id="informe" class="btn btn-primary active btn-sm fa fa-paw"></a>
                    <div class="mdl-tooltip mdl-tooltip--large" for="informe">
                        <?php 
echo i18n::__('buscarReporteDetGes', null, 'ayuda');
?>
                    </div>

                </div>
            </div>
            <?php 
view::includeHandlerMessage();
?>
            <div class="table-responsive">
                <table class="table table-bordered">
                    <thead>
                        <tr class="success">
<!--                                <td><input type="checkbox" id="chkAll"></td> -->
                            <th><?php 
echo i18n::__('numero de documento');
?>
</th>  
                            <th><?php 
echo i18n::__('fechaRegistro', null, 'vacunacion');
?>
</th>             
                            <th><?php 
<?php

use mvc\routing\routingClass as routing;
use mvc\i18n\i18nClass as i18n;
use mvc\view\viewClass as view;
?>

<main class="mdl-layout__content mdl-color--blue-300">
  <div class="mdl-grid demo-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-4-offset-4 text-center">
         
          <h2>  <?php 
echo i18n::__('n', NULL, 'dpVenta');
?>
          </h2>
        </div>
      </div>
    </div>
    
<?php 
view::includeHandlerMessage();
view::includePartial('animal/formRegistroPeso', array('idAnimalSeleccionado' => $idAnimalSeleccionado, 'objEmpleado' => $objEmpleado, 'objAnimal' => $objAnimal));
?>

  </div>
</main>

</form>