| <?php |
| |
| /* |
| * File : update.php |
| * Author : Hugo Raniere (hbrasilin) |
| * Date : 2008-10-03 |
| * Description : Update Sites. |
| */ |
| |
| /* Required eclipse basic classes */ |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| /* Functions and modules related to Navbar objects */ |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
| /* Functions and modules related to the page top eclipse menu */ |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
| |
| $App = new App(); |
| /* Left Navbar */ |
| $Nav = new Nav(); |
| /* Page top eclipse menu */ |
| $Menu = new Menu(); |
| |
| /* Find the _projectCommon.php file and include it */ |
| include($App->getProjectCommon()); |
| # |
| # Begin: page-specific settings. Change these. |
| $pageTitle = "DSDP - Mobile Tools for Java (MTJ) Download Statistics"; |
| $pageKeywords = "mtj, Download statistics"; |
| $pageAuthor = "Hugo Raniere"; |
| |
| /* Paste your HTML content between the EOHTML markers! */ |
| $html = <<<EOHTML |
| <div id="maincontent"> |
| <div id="midcolumn" style="width:90%"> |
| <h1>$pageTitle</h1> |
| <div class="homeitem3col"> |
| <h3>Total Downloads per Week</h3> |
| <center> |
| <img src="stats_files/downloadStats.png" alt="MTJ Total Downloads per Week"> |
| </center> |
| </div> |
| </div> |
| </div> |
| |
| <script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">try {var pageTracker = _gat._getTracker("UA-9293663-1");pageTracker._trackPageview();} catch(err) {}</script> |
| |
| EOHTML; |
| |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |