Exemple #1
0
<?php

include_once "../../login/check.php";
include_once "../../class/usuario.php";
$usuario = new usuario();
if ($_SESSION['Nivel'] != "1") {
    $us = $usuario->mostrarUsuarios("Nivel!=1");
} else {
    $us = $usuario->mostrarUsuarios("");
}
$tipo = array("1" => $idioma['Administrador'], "2" => $idioma['Director'], "4" => $idioma['Secretaria'], "5" => $idioma['Regente']);
if (count($us)) {
    ?>
<a href="#" class="btn btn-mini btn-success" id="exportarexcel"><?php 
    echo $idioma['ExportarExcel'];
    ?>
</a>
        <table class="table table-bordered table-striped table-hover table-condensed">
		<thead><tr><th>N</th><th><?php 
    echo $idioma['Paterno'];
    ?>
</th><th><?php 
    echo $idioma['Materno'];
    ?>
</th><th><?php 
    echo $idioma['Nombre'];
    ?>
</th><th><?php 
    echo $idioma['Ci'];
    ?>
</th><th><?php 
Exemple #2
0
<?php

include_once "../../login/check.php";
$folder = "../../";
include_once "../../class/usuario.php";
$usuario = new usuario();
$us2 = $usuario->mostrarUsuarios("Nivel!=1");
//echo "<pre>";
//print_r($us2);
$us2 = todolista($usuario->mostrarUsuarios("Nivel!=1"), "CodUsuario", "Paterno,Materno,Nombres", " ");
$titulo = "NRegistroNuevoTalonario";
include_once $folder . "cabecerahtml.php";
?>
<script language="javascript">
configuracion={todayBtn: "", endDate: "'0d'"};
</script>
<?php 
include_once $folder . "cabecera.php";
?>
<form action="guardar.php" method="post">
<table class="table table-hover">
	<tr>
    	<td class="der"><?php 
echo $idioma['Empleado'];
?>
</td>
        <td><?php 
campo("CodUsuarioAsignado", "select", $us2, "", 1);
?>
</td>
    </tr>