<!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" />
<title>Control de directorio telefonico</title>
<style type="text/css">
<!--
.Estilo1 {font-size: 9px}
.Estilo2 {color: #FFFFFF}
.Estilo5 {font-weight: bold; font-size: 18px;}
.Estilo6 {font-size: 12px}
.Estilo7 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style>
</head>
<body>
<center>
<table width="943" border="1" cellspacing="0">
<tbody>
<tr>
<th colspan="19" bgcolor="#FF0000"><span class="Estilo2"><span class="Estilo5">SISTEMA DE ESCRUTIÑO DE VOTOS ELECCIONES</span></span></th>
</tr>
<tr>
<th width="81" bgcolor="#FFFF00">GRUPO</th>
<th width="81" bgcolor="#FFFF00">SECTOR</th>
<th width="81" bgcolor="#FFFF00"><strong>LISTA</strong></th>
<th width="52" bgcolor="#FFFF00"><strong>50 .Esc.17 </strong></th>
<th width="61" bgcolor="#FFFF00"><strong>51 Club Uruguay </strong></th>
<th width="67" bgcolor="#FFFF00"><strong>52 Biblioteca</strong></th>
<th width="76" bgcolor="#FFFF00"><strong>53 Costurero</strong></th>
<th width="58" bgcolor="#FFFF00"><strong>54 Esc.50</strong></th>
<th width="44" bgcolor="#FFFF00"><strong>55 Esc.17</strong></th>
<th width="63" bgcolor="#FFFF00"><strong>56 Cultural</strong></th>
<th width="60" bgcolor="#FFFF00"><strong>57 Agraria</strong></th>
<th width="60" bgcolor="#FFFF00"><strong>58 Agraria</strong></th>
<th width="46" bgcolor="#FFFF00"><strong>59 Liceo</strong></th>
<th width="46" bgcolor="#FFFF00"><strong>60 Liceo</strong></th>
<th width="37" bgcolor="#FFFF00"><strong>61 Caif</strong></th>
<th bgcolor="#FFFF00">TOTAL VOTOS </th>
<th bgcolor="#FFFF00">PORC. PARTIDO </th>
<th bgcolor="#FFFF00">PORC TOTAL </th>
<th bgcolor="#FFFF00"><strong>ACCIONES</strong></th>
</tr>
<?php
include('conexion1.php');
$query="SELECT * FROM frases";
$resultado= $conexion->query($query);
while($row=$resultado->fetch_assoc()){
?>
<tr>
<td bgcolor="#00FFFF"><?php echo $row['partido'] ?></td>
<td bgcolor="#00FFFF"><?php echo $row['sector'] ?></td>
<td bgcolor="#00FFFF"><?php echo $row['Region'] ?></td>
<td><?php echo $row['Enero'] ?></td>
<td><?php echo $row['Febrero'] ?></td>
<td><?php echo $row['Marzo'] ?></td>
<td><?php echo $row['Abril'] ?></td>
<td><?php echo $row['Mayo'] ?></td>
<td><?php echo $row['Junio'] ?></td>
<td><?php echo $row['Julio'] ?></td>
<td><?php echo $row['Agosto'] ?></td>
<td><?php echo $row['Septiembre'] ?></td>
<td><?php echo $row['Octubre'] ?></td>
<td><?php echo $row['Noviembre'] ?></td>
<td><?php echo $row['Diciembre'] ?></td>
<td>aqui que sume el total </td>
<td>aqui el porcentaje por sector </td>
<td>aqui el porcentaje del total </td>
<td><a href="modificar.php?id=<?php echo $row['id'];?>">Modificar </a></td>
</tr>
<?php
}
?>
</tbody>
</table>
<table width="506" border="1">
<tr>
<td colspan="3" bgcolor="#FF0000"><div align="center"><span class="Estilo7">TOTAL DE VOTOS </span></div></td>
</tr>
<tr>
<td width="166" bgcolor="#FFFF00">GRUPO 1 </td>
<td width="140" bgcolor="#FFFF00">GRUPO 2 </td>
<td width="157" bgcolor="#FFFF00">GRUPO 3 </td>
</tr>
<tr>
<td>aqui el total por sector </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>aqui el porcentaje del sector </td>
<td> </td>
<td> </td>
</tr>
</table>
<table width="506" border="1">
<tr>
<td colspan="3" bgcolor="#FF0000"><div align="center"><span class="Estilo7">GRUPO 1 </span></div></td>
</tr>
<tr>
<td width="166" bgcolor="#FFFF00">LISTA</td>
<td width="140" bgcolor="#FFFF00">VOTOS</td>
<td width="140" bgcolor="#FFFF00">PORCENTAJE</td>
</tr>
<tr>
<td>aqui que muestre las listas del sector 1 </td>
<td>aqui que muestre los votos de esa lista </td>
<td>aqui el porcentaje por sector </td>
</tr>
<tr>
<td>aqui que muestre las listas del sector 1 </td>
<td>aqui que muestre los votos de esa lista </td>
<td>aqui el porcentaje por sector </td>
</tr>
<tr>
<td>aqui que muestre las listas del sector 1 </td>
<td>aqui que muestre los votos de esa lista </td>
<td>aqui el porcentaje por sector </td>
</tr>
<tr>
<td>aqui que muestre las listas del sector 1 </td>
<td>aqui que muestre los votos de esa lista </td>
<td>aqui el porcentaje por sector </td>
</tr>
<tr>
<td> </td>
<td>AQUI QUE SUME EL TOTAL </td>
<td> </td>
</tr>
<tr>
<td>aqui el porcentaje del sector </td>
<td>AQUI EL % DEL GRUPO </td>
<td> </td>
</tr>
</table>
<p>La idea es que me ayude con un grupo y yo hago los otros </p>
<p> </p>
<p></p>
<p> </p>
<p> </p>
<p class="Estilo1"> </p>
<p class="Estilo1"><a href="guardar.php" class="Estilo6">Ingresar datos</a></p>
</center>
</body>
</html>