コード例 #1
0
<?php

@session_start();
include '../controller/cAlertasManuales.php';
include_once '../controller/cCatalogos.php';
$cata = new cCatalogos();
$aler = new cAlertasManuales();
$naler = $aler->getNombAlerta($_POST['idAlerta']);
global $prioridades;
$prioridades = $aler->listaPrioridades();
include_once "../model/mBitacora.php";
$bit = new mBitacora();
$bit->entradaBitacora($_SESSION["usuario"]["idUsuario"], "Alertas manuales", "Se ingresó a sección generar alertas manuales " . $naler);
?>

<div class="modal-dialog">
    <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="myModalLabel">Generar Alerta Manual <span style="text-transform: uppercase"> <?php 
echo $naler;
?>
 </span> </h4>
      </div>
      <div class="modal-body">
        <form id="formAlertaM">
		<input type="hidden" value="<?php 
echo $_SESSION["usuario"]["idUsuario"];
?>
" name="usuarioSesion" />
        	<input id="idAlertaInput" type="hidden" name="idTipoAlerta" value="<?php 
コード例 #2
0
<?php

include '../controller/cAlertasManuales.php';
$aler = new cAlertasManuales();
$naler = $aler->getNombAlerta($_POST['tipoA']);
?>

														<div class="grid-title">
															<div class="row">
																<div class="col-md-6">
																	<h4>generar alertas <span class="semi-bold" style="text-transform: uppercase"><?php 
echo $naler;
?>
</span></h4>
																</div>
																<div class="col-md-4"></div>
															</div>
														</div>
<div style="display: block;" class="grid-body ">
															<div  class="dataTables_wrapper form-inline">
																<table id="example" class="table table-hover dataTable" data-page-length='25'>
																	<thead>
																		<tr>
																			<th>Nombre/Razon</th>
																			<th>Telefono</th>
																			<th>Correo</th>
																			<th>Contrato</th>
																			<th>Fecha de Contrato</th>
																			<th>Monto de Cr&eacute;dito</th>
																			<th>Acciones</th>
																		</tr>