[Openfirst-cvscommit] awards index.php,1.1,1.2
Brought to you by:
xtimg
From: <xt...@us...> - 2003-06-21 18:46:27
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1:/tmp/cvs-serv14292 Modified Files: index.php Log Message: Begin conversion to proper standards. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 8 Jun 2003 01:49:34 -0000 1.1 --- index.php 21 Jun 2003 18:46:24 -0000 1.2 *************** *** 26,32 **** * */ ! include("../config/globals.php"); include($header); ! mysql_select_db("openFIRST",$sqlconnection); // Query database for award information --- 26,32 ---- * */ ! include("../config/globals.php"); include($header); ! mysql_select_db($sqldatabase,$sqlconnection); // Query database for award information *************** *** 35,47 **** ?> <h1>Team Awards</h1> ! <p align="center">This team has won <strong><?php echo $amount; ?></strong> award(s).</p> ! ! <table width="600" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999"> ! <tr bgcolor="#999999"> ! <td width="32"> </td> ! <td width="209"><center><font color="#FFFFFF">Award Name</font><center></td> ! <td width="95"><center><font color="#FFFFFF">Event</font><center></td> ! <td width="84"><center><font color="#FFFFFF">Date</font><center></td> ! <td width="118"><center><font color="#FFFFFF">Recipient</font><center></td> </tr> <?php --- 35,49 ---- ?> <h1>Team Awards</h1> ! <p>This team has won <strong><?php echo $amount; ?></strong> award(s).</p> ! <?php ! if($amount > 0) { ! ?> ! <table> ! <tr> ! <th> </th> ! <th>Award Name</th> ! <th>Event</th> ! <th>Date</th> ! <th>Recipient</th> </tr> <?php *************** *** 49,53 **** while($awards = mysql_fetch_object($query)){ ?> ! <tr> <td><img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>"></td> <td><?php echo $awards->AwardName; ?></td> --- 51,55 ---- while($awards = mysql_fetch_object($query)){ ?> ! <tr> <td><img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>"></td> <td><?php echo $awards->AwardName; ?></td> *************** *** 58,60 **** <? } ?> </table> ! <?php include($footer); ?> --- 60,64 ---- <? } ?> </table> ! <?php ! } ! include($footer); ?> \ No newline at end of file |