| <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' |
| |
| #***************************************************************************** |
| # |
| # template.php |
| # |
| # Author: Denis Roy |
| # Date: 2005-06-16 |
| # |
| # Description: Type your page comments here - these are not sent to the browser |
| # |
| # |
| #**************************************************************************** |
| |
| # |
| # Begin: page-specific settings. Change these. |
| $pageTitle = "Eclipse Community"; |
| $pageKeywords = "eclipse resources, courses, books, events, plug-ins"; |
| $pageAuthor = "susan iwai"; |
| |
| # Add page-specific Nav bars here |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) |
| # $Nav->addNavSeparator("My Page Links", "downloads.php"); |
| # $Nav->addCustomNav("My Link", "mypage.php", "_self", 1); |
| # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1); |
| |
| # End: page-specific settings |
| # |
| // This file is linked to from lots of different places. |
| // Use absolute paths to make sure that we can actually test |
| // that the file renders properly (i.e. testing using) "/index.php", |
| // and "/home/index.php" both work. |
| $root = $_SERVER['DOCUMENT_ROOT']; |
| |
| # Paste your HTML content between the EOHTML markers! |
| $html = <<<EOHTML |
| <link rel="stylesheet" type="text/css" href="template.css" media="screen" /> |
| <div class="communityRealEstate"> |
| <h2>Welcome to the Eclipse Community Page</h2> |
| <div class="news"> |
| <div class="box"> |
| <ol> |
| <li> |
| <div class="boxHeader">What's New</div> |
| <div class="boxBody"> |
| <ul class="newsItems"> |
| <li><div class="newsItem"><span class="newsTitle">The Eclipse Foundations Coordinated Kickoff </span></div> |
| <div class="newsDate">posted by ngervais 23 minutes ago.</div> |
| <div class="newsBody"> |
| Announcing the Eclipse Foundation's Coordinated Kickoff, the excitement surrounding the biggest Eclipse release has only gotten bigger. Lets hear it for Callisto!. |
| </div> |
| </li> |
| <li><div class="newsItem"><span class="newsTitle">Check out Nulogy Packman</span></div> |
| <div class="newsDate">posted by ngervais 1 day ago.</div> |
| <div class="newsBody"> |
| I've added a new RCP application to the RCP Commercial Plugin Repository. Here's a brief description.<br /> |
| <div class="newsQuote">"PackMan is the most comprehensive production management system available for contract packaging. It provides operational intelligence to contract packagers and logistics service providers performing co-packing operations (also known as kitting or secondary packaging), allowing them to run their businesses more competitively and profitably.</div> |
| </div> |
| </li> |
| <li><div class="newsItem"><span class="newsTitle">The Eclipse Foundations Coordinated Kickoff </span></div> |
| <div class="newsDate">posted by ngervais X time ago.</div> |
| <div class="newsBody"> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. |
| </div> |
| </li> |
| <li><div class="newsItem"><span class="newsTitle">The Eclipse Foundations Coordinated Kickoff </span></div> |
| <div class="newsDate">posted by ngervais X time ago.</div> |
| <div class="newsBody"> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. |
| </div> |
| </li> |
| <li><div class="newsItem"><span class="newsTitle">The Eclipse Foundations Coordinated Kickoff </span></div> |
| <div class="newsDate">posted by ngervais X time ago.</div> |
| <div class="newsBody"> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. |
| </div> |
| </li> |
| </ul> |
| <div class="newsMore"><a href="submitnews.php">Submit News</a> - <a href="whatsnew.php">Read More</a></div> |
| </div> |
| </li> |
| </ol> |
| </div> |
| </div> |
| <div class="spotlight"> |
| <div class="box"> |
| <ol> |
| <li> |
| <a href="events/"> |
| <div class="boxHeader">SpotLight</div> |
| <div class="boxBody">Feature New and Exciting Plugins / RCP apps, basically anything here that will change weekly.</div> |
| </a> |
| </li> |
| </ol> |
| </div> |
| </div> |
| <div class="categoryLeft"> |
| <div class="box"> |
| <ol> |
| <li> |
| <a href="events/"> |
| <div class="boxHeader">Events</div> |
| <div class="boxBody">Stay up to date with upcoming conferences and meetings.</div> |
| </a> |
| </li> |
| <li> |
| <a href="training/"> |
| <div class="boxHeader">Training</div> |
| <div class="boxBody">Books, Online Courses, Webinars, Tutorials </div> |
| </a> |
| </li> |
| <li> |
| <a href="events/"> |
| <div class="boxHeader">Evangelism</div> |
| <div class="boxBody">See what our Eclipse Evangelist Wayne Beaton is talking about.</div> |
| </a> |
| </li> |
| <li> |
| <a href="training/"> |
| <div class="boxHeader">Project Resources</div> |
| <div class="boxBody">Mailing Lists, Newsgroups</div> |
| </a> |
| </li> |
| </ol> |
| </div> |
| </div> |
| <div class="categoryRight"> |
| <div class="box"> |
| <ol> |
| <li> |
| <a href="events/"> |
| <div class="boxHeader">Eclipse Portals</div> |
| <div class="boxBody">Check out the many community sites and blogs around the web.</div> |
| </a> |
| </li> |
| <li> |
| <a href="training/"> |
| <div class="boxHeader">Consulting & Services</div> |
| <div class="boxBody">Consulting, development, and training services</div> |
| </a> |
| </li> |
| <li> |
| <a href="events/"> |
| <div class="boxHeader">Plugins</div> |
| <div class="boxBody">Check out the new EPIC site that is now hosted at eclipse.org</div> |
| </a> |
| </li> |
| <li> |
| <a href="training/"> |
| <div class="boxHeader">RCP Catalog</div> |
| <div class="boxBody">Open Source, and Commercial Rich Client Platform applications</div> |
| </a> |
| </li> |
| </ol> |
| </div> |
| </div> |
| </div> |
| |
| EOHTML; |
| |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |
| |