Update of /cvsroot/openfirst/base
In directory sc8-pr-cvs1:/tmp/cvs-serv21530
Modified Files:
index.php
Log Message:
Add some functionality to the main page.
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/base/index.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** index.php 7 Jun 2003 16:11:31 -0000 1.1.1.1
--- index.php 28 Jun 2003 16:59:15 -0000 1.2
***************
*** 32,40 ****
include($header);
?>
! <h1>OpenFIRST Web Portal</h1>
! <p>Congratulations, your OpenFIRST Web Portal has been successfully set up. You may wish to <a
! href="<?php echo("$basepath/config/"); ?>">Login and configure options</a></p>
<?php
include($footer);
--- 32,55 ----
include($header);
+ $count = 0;
?>
! <h1>OpenFIRST Web Portal</h1>
! <table>
! <tr>
! <?php
! if(isset($headers) == false) {
! echo("You may: <a href='config/'>login to configure openFIRST options</a>.");
! }
+ echo("<th>Features</th><td>$headers</td></tr>");
+
+ if(function_exists("shownews")) {
+ echo("<tr><th>News</th>
+ <td>" . shownews(5) . "</td>");
+ }
+
+ ?>
+ </tr>
+ </table>
<?php
include($footer);
|