<?php
require 'cur.php';
$ini=lista_ini();
?>

<html>
<head>
  <title>Lista de Iniciativas</title>
  <style type="text/css">
<!--
.Estilo1 {
	font-size: 16px;
	color: #0000FF;
	font-weight: bold;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.Estilo4 {color: #660033; font-weight: bold; }
.Estilo5 {color: #FF0000}
body {
	margin-top: 0px;
	margin-bottom: 0px;
}
-->
.bg1 {
	color:#000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	background-color: #FFCCFF;
}
.bg2 {
	color:#FFF;
	border-top-style: outset;
	border-right-style: outset;
	border-bottom-style: outset;
	border-left-style: outset;
	font-family: "Century Gothic";
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	text-transform: capitalize;
	background-color: #0B1328;
}


  .Estilo6 {	color: #416A9E;
	font-family: "Century Gothic";
	font-size: 16px;
}
  </style>
</head>
<link href="style.css" rel="stylesheet" type="text/css" />
<body>
<h1>
<p align="center" class="Estilo2 Estilo3"><a href="graf/Gallery/gra_ini.html"><img src="images/gra_ini.JPG" width="78" height="45" border="0"></a></p>
<table border=1 align="center" cellpadding=4 cellspacing=0>
	<caption class="Estilo6"> LISTADO DE INICIATIVAS 
  </caption>
  <tr class="bg2">
    <td width="82"><div align="center">Iniciativa</div></td>
    <td width="131"><div align="center">Seguidores</div></td>
    <td width="136"><div align="center">Fecha Creacion</div></td>
  </tr>
<?php foreach($ini as $in) { ?>
  <tr>
    <td class="bg1">
      
      <div align="left">
        <?=$in['INICIATIVA_NOMBRE']?>
    </div></td>
    <td class="bg1">
      <div align="right">
        <?=$in['INICIATIVA_SEG']?>
    </div></td>
    <td class="bg1">
      <div align="right">
        <?=$in['INICIATIVA_FECHA']?>
    </div></td>
  </tr>
<?php }?>
</table>
<p><a href="lista_admin.php"></a></p>
</body>
</html>
