コード例 #1
0
?>
<body>
	<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="dist/jquery-clockpicker.min.js"></script>
	<script src="js/validator.js"></script>
	<script src="js/jspdf.debug.js"></script>


	<div id="header">
		<br>
		<br>
	</div>
<div class="container">
<?php 
$result = listadoNotas();
$entra = contarActivas();
$notasvigentes = mysql_num_rows($result);
$entradasvigentes = mysql_fetch_array($entra);
$entradasvigentes = $entradasvigentes['contar'];
//session_start();
if (!empty($_SESSION['usuario'])) {
    $usuario = $_SESSION['nombre'];
    include 'navbar.php';
    ?>

	<div id="myTabContent" class="tab-content">
		<div class="tab-pane fade" id="panel">
			<p>
				<?php 
    include 'sections/panel.php';
コード例 #2
0
	<table class="table table-striped table-hover">

		<thead>
			<tr>
				<th class="col-xs-1"> Fecha </th>
				<th class="col-xs-1"> Estatus </th>
				<th class="col-xs-8"> Contenido Nota </th>
				<th class="col-xs-1"> Ticket</th>
				<th class="col-xs-1"> </th>
			</tr>
		</thead>

		<tbody>
<?php 
$res = listadoNotas();
while ($lista = mysql_fetch_array($res)) {
    if ($lista['importancia'] == 1) {
        echo '<tr class="warning">
								<td class="col-xs-1">' . convertir_fecha($lista['fecha_crea'], 1) . '</td>
								<td class="col-xs-1">' . iconosNotas($lista['id']) . '</td>
								<td class="col-xs-8">' . utf8_decode($lista['descripcion']) . '</td>
								<td class="col-xs-1"><input type="checkbox" name="nota[]" value="' . $lista['id'] . '"></td>
								<td class="col-xs-1"><a href="#modal-edit"  data-toggle="modal"
                                                                data-id="' . $lista['id'] . '"
                                                                data-descripcion="' . utf8_decode($lista['descripcion']) . '"
                                                                data-estatus="' . $lista['estado'] . '"
                                                                data-importancia="' . $lista['importancia'] . '">Editar</a></td>
							</tr>';
    } else {
        if ($lista['importancia'] == 2) {