root/branches/licq/website/news.php

Revision 4124, 1.3 kB (checked in by emostar, 4 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?
2  include "header.php";
3  include "archive.php";
4 
5  if (file_exists("/home/groups/l/li/licq/htdocs/zorbstats/zorblogs.php"))
6    include("/home/groups/l/li/licq/htdocs/zorbstats/zorblogs.php");
7  if (file_exists("/home/groups/l/li/licq/htdocs/zorbstats/zorblogspages.php"))
8  {
9    include ("/home/groups/l/li/licq/htdocs/zorbstats/zorblogspages.php");
10    $pagename = substr($PHP_SELF, 1);
11    $dispname = substr($PHP_SELF, 1, -4);
12    countpage($pagename, $dispname);
13  }
14   
15    if ( empty( $news_action ) ) $news_action = "show_archive";
16?>
17     
18      <div id="content" >
19
20                <div id="main"><img src="images/main_title_news.gif" alt="News" /></div>
21        <div id="maincontent">
22          <div id="subcontent">
23           
24            <p>Check out the <a href="CHANGELOG">CHANGELOG</a> for a more detailed list of what has changed.</p>
25
26
27<?
28  echo "<P>";
29  switch ($news_action)
30  {
31    case "show_latest": 
32        news_show_latest(); 
33        break;
34    case "show_archive": news_show_archive(); break;
35    case "show_item": news_show_single_item(); break;
36  }
37  echo "</P>";
38?>
39
40          </div>
41        </div>
42
43        <div id="mainfooter"><p id="mainfooter_left"></p><!-- <img src="images/main_bg_bottomleft.gif" border="0" alt="Main" /> --></div>
44
45            </div>
46
47<? include "footer.php" ?>
Note: See TracBrowser for help on using the browser.