Edit file File name : calendar_activitati.php Content :<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- DW6 --> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Calendar Activitati</title> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body> <div id="masthead"> <a name="#a" ></a> <table width="100%" id ="volmainmenu"> <tr> <a name="a"></a> <td width = "25%" align="center" valign="top"><span id="voluntariatSelected">Voluntariat.RO</span></td> <td width = "25%" align="center" valign="top"><a href="#">Reteaua Nationala a Centrelor de Voluntariat</a></td> <td width = "25%" align="center" valign="top"><a href="snv.htm">Saptamana <br> Nationala a Voluntariatului</a></td> <td width = "25%" align="center" valign="top"><a href="campanie.htm">Campania Nationala <br/> ''E timpul sa fim altfel!''</a></td> </tr> </table> <table width="100%" border="0" cellspacing="2" bgcolor="#dddddd"> <tr> <td><a href="index.php"><img src="doc/img/poze site/voluntariat.ro.jpg" alt="Index" width="194" border="0" /></a></td> <td><img src="doc/img/poze site/retea.jpg" width="194" alt="Reteaua Nationala a Centrelor de Voluntariat"/></td> <td><img src="doc/img/poze site/snv2.jpg" width="194" alt="Saptamana Nationala a Voluntariatului"/></td> <td valign="middle"><a href="campanie.htm" > <img src="doc/img/poze site/campanie.jpg" alt="Campania Nationala ''E timpul sa fim altfel''" border="0" width="194" /> </a></td> </tr> </table> <div id="volglobalNav"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> <td width = "25%" align="center"><a href="ce_este_voluntariatul.htm">Ce este voluntariatul?</a></td><td>|</td> <td width = "25%" align="center"><a href="legislatie_voluntariat.htm">Legislatie voluntariat</a></td><td>|</td> <td width = "25%" align="center"><a href="resurse_voluntariat.htm">Resurse voluntariat</a></td><td>|</td> <td width = "25%" align="center"><a href="voluntariatul_in_lume.htm">Voluntariatul in lume</a></td> </tr> </table> </div> </div> <table width="800px" height="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width ="20%" class="left" > <div id="navBar"> <div id="volsectionLinks"> <h3>Informatii pentru:</h3> <ul> <li><a href="voluntari.htm">Voluntari</a></li> <li><a href="manageri_de_voluntari.htm">Manageri de voluntari</a></li> <li><a href="organizatii_non_profit.htm">Organizatii nonprofit </a></li> <li><a href="institutii_publice.htm">Institutii publice </a></li> <li><a href="companii.htm">Companii</a></li> <li><a href="donatori_sponsori.htm">Donatori/Sponsori</a></li> <li><a href="campanie.htm">Mass media</a></li> <li><a href="calendar_activitati.php"><span id="voluntariat">Calendar activitati</span></a></li> </ul> </div> <a href="campanie.htm" > <p align="center" class="left"><img src="images/banner2.gif" alt="" width="120" height="240" border ="0" align="absmiddle" usemap="#Map" /></p> </div> </td> <td width ="60%" valign="top"> <br/> <div id="content"> <div class="feature"> <a href="#1"><h3>Noiembrie 2007</h3> </a> <a href="#2"><h3 >Decembrie 2007</h3> </a> <a href="#3"><h3 >Ianuarie 2008</h3> </a> <a href="#4"><h3 >Februarie 2008</h3> </a> <a href="#5"><h3>Martie 2008</h3></a> <a href="#6"><h3>Aprilie 2008</h3></a> <br/> <?php include 'config.php'; include 'opendb.php'; // ... do something like insert or select, etc $query = "SELECT titlu, cand, cine, ce, unde, contact FROM activitati where activ = 1 order by data"; $result = mysql_query($query); $index = 0; while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { ?> <?php if ($current_title <> $row['titlu']) { $index = $index + 1; ?> <a name='<?php echo $index ?>'><h3><?php echo $row['titlu'] ?></h3></a> <?php } ?> <br/> <?php $current_title = $row['titlu'] ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th width="18%" align="left" scope="row">Cand:</th> <td width="82%" ><?php echo $row['cand'] ?></td> </tr> <tr> <th align="left" scope="row">Cine:</th> <td ><?php echo $row['cine'] ?></td> </tr> <tr> <th align="left" valign="top" scope="row">Ce:</th> <td ><?php echo $row['ce'] ?></td> </tr> <tr> <th align="left" scope="row">Unde:</th> <td ><?php echo $row['unde'] ?> </td> </tr> <tr> <th align="left" scope="row">Contact:</th> <td ><?php echo $row['contact'] ?> </tr> </table> <br/> <?php } include 'closedb.php'; ?> <span ><br/> </span> <a href="arhiva_2007_activitati.php" target="_blank"><h3>Arhiva Activitati 2007 </h3></a> <div class="inapoi" > <a href="#a" ><span class="inapoiVoluntariat" >>>Inapoi</span> </a> </div> </div> </div> <!--end content --> </td> <td valign="top" width ="20%" class="right"> <img src="doc/img/poze site/lateral1.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze site/lateral2.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze site/lateral3.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze site/lateral4.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral5.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral6.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral7.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral8.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral9.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral10.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral11.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral12.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral13.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral14.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral15.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral16.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/lateral17.jpg" alt="Voluntariat" height="107"> <br/> <img src="doc/img/poze suplimentare/vertical1.jpg" alt="Voluntariat" width="145" height="180" > <br/> <img src="doc/img/poze suplimentare/vertical2.jpg" alt="Voluntariat" width="145" height="185" > <br/> </div> </div> </td> </tr> </table> <div id="siteInfo"; align="center"> Copyright © 2008 <a href="http://www.provobis.ro" target="_blank">Pro Vobis</a> - Toate drepturile rezervate<br/> <table width="132" border="0" cellspacing="0" cellpadding="3"> <tr><td align="center"><a href="http://www.website-hit-counters.com" target="_blank"><img src="http://www.website-hit-counters.com/cgi-bin/image.pl?URL=24954-1911" alt="link to free website hit counter web page" border="0" ></a></td></tr><tr> </tr></table> </div> <br> </body> </html> Save