[#] hm X_Shell Backd00r [#]
<?php
include('../modelo/busqueda.class.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1 , width=device-width, user-scalable=no">
<title>.:: Autódromo Intl. Miguel E. Abed ::.</title>
<link rel="stylesheet" href="../css/style-buen-fin.css">
<link rel="stylesheet" href="../css/media.css">
<script src="../js/modernizr.min.js"></script>
<script src="../js/jquery-1.7.1.min.js"></script>
<style>
table{
border-collapse: collapse;
border-spacing: 0;
width:100%;
height:100%;
margin:0px;padding:0px;
margin-bottom: 10px;
}
table td{
vertical-align:middle;
background-color:#D0E8FF;
border:1px solid #ffffff;
border-width:0px 1px 1px 0px;
padding:7px;
font-size:10px;
font-family:Arial;
font-weight:normal;
color:#000000;
}
table tr:first-child td{
background-color:#93C9FF;
border:0px solid #ffffff;
text-align:center;
border-width:0px 0px 1px 1px;
font-size:14px;
font-family:Arial;
font-weight:bold;
color:#ffffff;
}
</style>
</head>
<body>
<div id="contenido_gral">
<div id="page">
<?php
$_data= new Busqueda();
$TrackDay = $_data->allInteres('Track Day');
//var_dump($TrackDay);
$html = '';
$html .= '<table width="100%">';
$html .= '<tr><td width="50%">Nombre</td><td>Id relacion</td><td width="5%">Evento</td><td width="15%">Status Pago</td><td width="15%">Asistencia</td></tr>';
foreach ($TrackDay as $row) {
if($row['status_pago'] == 1){
$stsP = '<img src="../img/success.png" alt="success">';
}else{
$stsP = '<img src="../img/warning.png" alt="success">';
}
if($row['asistencia'] == 1){
$asis = '<img src="../img/success.png" alt="success">';
}else{
$asis = '<img src="../img/warning.png" alt="success">';
}
$html .='<tr><td width="50%">'.$row['nombre'].'</td><td width="5%">'.$row['id_invitacion'].'</td><td width="15%" align="center">'.$row['interes'].'</td><td width="15%" align="center">'.$stsP.'</td><td width="15%" align="center">'.$asis.'</td></tr>';
}
$html .= '</table>';
$TrackDayMoto = $_data->allInteres('Track Day Moto');
$html .= '<table width="100%">';
$html .= '<tr><td width="50%">Nombre</td><td>Id relacion</td><td width="5%">Evento</td><td width="15%">Status Pago</td><td width="15%">Asistencia</td></tr>';
foreach ($TrackDayMoto as $row) {
if($row['status_pago'] == 1){
$stsP = '<img src="../img/success.png" alt="success">';
}else{
$stsP = '<img src="../img/warning.png" alt="success">';
}
if($row['asistencia'] == 1){
$asis = '<img src="../img/success.png" alt="success">';
}else{
$asis = '<img src="../img/warning.png" alt="success">';
}
$html .='<tr><td width="50%">'.$row['nombre'].'</td><td width="5%">'.$row['id_invitacion'].'</td><td width="15%" align="center">'.$row['interes'].'</td><td width="15%" align="center">'.$stsP.'</td><td width="15%" align="center">'.$asis.'</td></tr>';
}
$html .= '</table>';
$TrackDayMoto = $_data->allInteres('Arrancones');
$html .= '<table width="100%">';
$html .= '<tr><td width="50%">Nombre</td><td>Id relacion</td><td width="5%">Evento</td><td width="15%">Status Pago</td><td width="15%">Asistencia</td></tr>';
foreach ($TrackDayMoto as $row) {
if($row['status_pago'] == 1){
$stsP = '<img src="../img/success.png" alt="success">';
}else{
$stsP = '<img src="../img/warning.png" alt="success">';
}
if($row['asistencia'] == 1){
$asis = '<img src="../img/success.png" alt="success">';
}else{
$asis = '<img src="../img/warning.png" alt="success">';
}
$html .='<tr><td width="50%">'.$row['nombre'].'</td><td width="5%">'.$row['id_invitacion'].'</td><td width="15%" align="center">'.$row['interes'].'</td><td width="15%" align="center">'.$stsP.'</td><td width="15%" align="center">'.$asis.'</td></tr>';
}
$html .= '</table>';
echo $html;
?>
</div>
</div>
</body>
</html>
Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r