git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@60 e2b1556b-49f8-d141-9351-52d6861a72d9
77 lines
2.5 KiB
PHP
77 lines
2.5 KiB
PHP
<div class="encabezado"> LISTA DE ÚLTIMOS CAMBIOS DE CANDIDATOS</div>
|
|
<br/>
|
|
|
|
<table cellpadding="0" cellspacing="1" width="800" class="agenda">
|
|
<tr class="encabezado">
|
|
<th width="120">Fecha cambio</th>
|
|
<th>Autor</th>
|
|
<th>Candidato</th>
|
|
<th>Acciones</th>
|
|
</tr>
|
|
|
|
|
|
|
|
<?php
|
|
$resultado_usuarios;
|
|
//Se sacaran los usuarios que han sido modificados o añadidos en los últimos 30 días
|
|
$sql_usuarios = 'select h1.oid_h, h1.fecha_h, h1.persona_h, h1.texto_h, usuarios.tipo, usuarios.nombre, usuarios.apellidos
|
|
from historial_usuario as h1
|
|
left join usuarios on (usuarios.oid = h1.oid_h)
|
|
order by 2 desc
|
|
limit 0,50';
|
|
|
|
$bd=new BD();
|
|
$resultado_usuarios = $bd->execQuery($sql_usuarios);
|
|
while($row = mysql_fetch_array($resultado_usuarios)) {
|
|
?>
|
|
<tr>
|
|
<td class="tablerohistusuarios" align="center"> <?php echo $row["fecha_h"] ?> </td>
|
|
<td class="tablerohistusuarios" align="center"> <?php echo $row["persona_h"]?></a></td>
|
|
<td class="tablerohistusuarios" align="center"> <a href="detalle_candidato.php?oid=<?php echo $row["oid_h"]; ?>#historial"><?php echo $row["nombre"] . ' ' . $row["apellidos"]?></a></td>
|
|
<td class="tablerohistusuarios" align="left"> <?php echo $row["texto_h"]?></a></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
</table>
|
|
<br/><br/>
|
|
<div class="encabezado"> LISTA DE ÚLTIMOS CAMBIOS DE SOLICITUDES DE OFERTA</div>
|
|
<br/>
|
|
<table cellpadding="0" cellspacing="1" width="800" class="agenda">
|
|
<tr class="encabezado">
|
|
<th width="120">Fecha cambio</th>
|
|
<th>Autor</th>
|
|
<th>Solicitud de oferta</th>
|
|
<th>Acciones</th>
|
|
</tr>
|
|
|
|
|
|
|
|
<?php
|
|
$resultado_ofertas;
|
|
//Se sacaran los usuarios que han sido modificados o añadidos en los últimos 30 días
|
|
|
|
$sql_ofertas = 'select h1.oid_h, h1.fecha_h, h1.persona_h, h1.texto_h, pedidos.nombre
|
|
from historial_pedido as h1
|
|
left join pedidos on (pedidos.oid = h1.oid_h)
|
|
order by 2 desc
|
|
limit 0,50';
|
|
|
|
$bd=new BD();
|
|
$resultado_ofertas = $bd->execQuery($sql_ofertas);
|
|
while($row = mysql_fetch_array($resultado_ofertas)) {
|
|
?>
|
|
<tr>
|
|
<td class="tablerohistpeticiones" align="center"> <?php echo $row["fecha_h"] ?> </td>
|
|
<td class="tablerohistpeticiones" align="center"> <?php echo $row["persona_h"] ?> </td>
|
|
<td class="tablerohistpeticiones" align="center"> <a href="pedido.php?idPedido=<?php echo $row["oid_h"]; ?>#historial"><?php echo $row["nombre"] ?></a></td>
|
|
<td class="tablerohistpeticiones" align="left"> <?php echo $row["texto_h"] ?> </td>
|
|
</tr>
|
|
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
</table>
|