| <?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 = "Friends of Callisto"; |
| $pageKeywords = "callisto marketing, friends of callisto"; |
| $pageAuthor = "Nathan Gervais"; |
| |
| # 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. |
| |
| |
| # Paste your HTML content between the EOHTML markers! |
| $html = <<<EOHTML |
| <link rel="stylesheet" type="text/css" href="callisto.css" media="screen" /> |
| <div class="callistoRealEstate"> |
| <div> |
| <h1>$pageTitle</h1> |
| <p>Want to join the Friends of Callisto? Put one of these images up on your website.</p> |
| <div> |
| <h2>Small Button (110 x 32 px)</h2> |
| <img border=0 alt="The Next Total Eclipse" title="Eclipse Callisto" src="images/callistosmall.gif"><br /> |
| <textarea class="smallType" cols=60 rows=4 readonly><a href="http://www.eclipse.org/callisto/"><img src="http://www.eclipse.org/callisto/images/callistosmall.gif" border=0 alt="The Next Total Eclipse" title="Callisto"></a></textarea> |
| </div> |
| <div> |
| <h2>Large Button (220 x 64 px)</h2> |
| <img border=0 alt="The Next Total Eclipse" title="Eclipse Callisto" src="images/callisto.gif"><br /> |
| <textarea class="smallType" cols=60 rows=4 readonly><a href="http://www.eclipse.org/callisto/"><img src="http://www.eclipse.org/callisto/images/callisto.gif" border=0 alt="The Next Total Eclipse" title="Callisto" ></a></textarea> |
| </div> |
| <div> |
| <h2>Square Button (160 x 139 px)</h2> |
| <img border=0 alt="The Next Total Eclipse" title="Eclipse Callisto" src="images/largecallisto.gif"><br /> |
| <textarea class="smallType" cols=60 rows=4 readonly><a href="http://www.eclipse.org/callisto/"><img src="http://www.eclipse.org/callisto/images/largecallisto.gif" border=0 alt="The Next Total Eclipse" title="Callisto" ></a></textarea> |
| </div> |
| </div> |
| </div> |
| |
| |
| EOHTML; |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |
| |