[Openfirst-cvscommit] base index.php,1.10,1.11
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-05-26 21:00:44
|
Update of /cvsroot/openfirst/base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25684 Modified Files: index.php Log Message: radical changes, with more to come Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/index.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.php 25 May 2005 20:21:52 -0000 1.10 --- index.php 26 May 2005 21:00:03 -0000 1.11 *************** *** 29,34 **** // Purpose: provide a basic starting point for the OpenFIRST web portal. ! include("config/globals.php"); ! include($header); $count = 0; --- 29,34 ---- // Purpose: provide a basic starting point for the OpenFIRST web portal. ! include("includes/globals.php"); ! include($Header); $count = 0; *************** *** 44,48 **** echo("<tr valign=top>"); ! echo("<th>Welcome to $title Web Site!</th>"); echo("<td rowspan=3 valign=top>"); --- 44,48 ---- echo("<tr valign=top>"); ! echo("<th>Welcome to $Title Web Site!</th>"); echo("<td rowspan=3 valign=top>"); *************** *** 60,64 **** $qu = ofirst_dbquery("SELECT guest, date FROM ofirst_guestbook ORDER BY guest LIMIT 5;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Guestbook</th></tr><tr><td><div>Last records in our <a href=\"$basepath/guestbook\">guestbook</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { echo("<sub><strong><a href='/guestbook/' target='_content'>$q->guest</a></strong><br />$q->date</sub><br />"); --- 60,64 ---- $qu = ofirst_dbquery("SELECT guest, date FROM ofirst_guestbook ORDER BY guest LIMIT 5;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Guestbook</th></tr><tr><td><div>Last records in our <a href=\"$BasePath/guestbook\">guestbook</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { echo("<sub><strong><a href='/guestbook/' target='_content'>$q->guest</a></strong><br />$q->date</sub><br />"); *************** *** 70,76 **** $qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Awards</th></tr><tr><td><div>Our team has received the following <a href=\"$basepath/awards\">awards</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$basepath/awards' target='_content'>$q->AwardName</a></sub><br />"); } echo("</td></tr></table><br />"); --- 70,76 ---- $qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Awards</th></tr><tr><td><div>Our team has received the following <a href=\"$BasePath/awards\">awards</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$BasePath/awards' target='_content'>$q->AwardName</a></sub><br />"); } echo("</td></tr></table><br />"); *************** *** 90,94 **** #&& $info['show'] ) { ! echo '<li><a href="'.htmlentities("$basepath/$code").'">'.htmlentities($info['name']).'</a></li> '; } --- 90,94 ---- #&& $info['show'] ) { ! echo '<li><a href="'.htmlentities("$BasePath/$code").'">'.htmlentities($info['name']).'</a></li> '; } *************** *** 98,102 **** echo '</td></tr></table><br />'; if(function_exists("get_visitors")) { ! echo("<table width=200><tr><th>Stats</th></tr><tr><td><div>Website <a href=\"$basepath/logger/stats.php\">usage statistics</a>: </div>"); echo("<sub><strong>".get_totalpages()." pages served to ".get_visitors()." visitors</strong></sub>"); echo("</td></tr></table><br />"); --- 98,102 ---- echo '</td></tr></table><br />'; if(function_exists("get_visitors")) { ! echo("<table width=200><tr><th>Stats</th></tr><tr><td><div>Website <a href=\"$BasePath/logger/stats.php\">usage statistics</a>: </div>"); echo("<sub><strong>".get_totalpages()." pages served to ".get_visitors()." visitors</strong></sub>"); echo("</td></tr></table><br />"); *************** *** 114,122 **** //are there more news? if(ofirst_dbnum_rows(ofirst_dbquery("SELECT * FROM ofirst_news"))>5){ ! echo("<div align=right>[ <b><a href=\"$basepath/news/index.php?show=all\">More News</a></b> ]</div>"); } } echo(" </td></tr></table>"); ! include($footer); ?> --- 114,122 ---- //are there more news? if(ofirst_dbnum_rows(ofirst_dbquery("SELECT * FROM ofirst_news"))>5){ ! echo("<div class=\"right\">[ <b><a href=\"$BasePath/news/index.php?show=all\">More News</a></b> ]</div>"); } } echo(" </td></tr></table>"); ! include($Footer); ?> |