This template displays the content pages of the site. To load a page through this template, simply include the following two lines at the top of the content file: require('template.inc.php'); if (defined('PAGE')) return; require 'version.inc.php'; require "navigation.inc.php"; define('PAGE', $_SERVER['SCRIPT_NAME']); $page->title = (isset($page->title)?$page->title.' - ':'').'Gaim'; $page->file = substr($_SERVER['SCRIPT_NAME'], strrpos($_SERVER['SCRIPT_NAME'], '/') + 1); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <title><?=$page->title?></title> <link rel="Stylesheet" href="/gaim.css" type="text/css" media="screen" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="alternate" type="application/rss+xml" title="RSS" href="http://gaim.sourceforge.net/rss.php/news" /> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> <script type="text/javascript"> <a href="/" title="Gaim home page"><img src="/images/gaim-logo.png" height="46" width="35" alt="Gaim logo" class="logo" />Gaim
</a> <span class="version"><?=$current_version?></span> <div class="subtitle">A multi-protocol instant messaging (IM) client
</div> Source:
<a href="http://prdownloads.sourceforge.net/gaim/gaim-<?=$current_version?>.tar.gz?download">tarball
</a>,
<a href="http://prdownloads.sourceforge.net/gaim/gaim-<?=$current_version?>.tar.bz2?download">bz2ball
</a><br /> <a href="/downloads.php">Other Packages
</a><br /> <a href="/ChangeLog">ChangeLog
</a> (
<a href="/win32/ChangeLog.win32">Win32
</a>)
<div id="nav" style="background: <?php print $style->sidebar_bg ?>;"> foreach ($navigation as $name => $data) { $srct = $style->img_dir . '/navbar/' . $data["PREFIX"] . '_t.png'; $srcb = $style->img_dir . '/navbar/' . $data["PREFIX"]; if (!$navfound && $data["URL"] == PAGE) { <a href="<?=$data["URL"]?>"> <img src="<?=$srct?>" width="140" height="35" border="0" alt="" /> <img src="<?=$srcb?>" width="140" height="20" border="0" alt="<?=$name?>" /> <iframe src="http://rcm.amazon.com/e/cm?t=gaim-20&o=1&p=8&l=as1&asins=1590594673&fc1=000000&lc1=0000ff&bc1=000000<1=_top&nou=1&IS2=1&f=ifr&bg1=cdd7ea&f=ifr" width="120" height="240" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"> <p><strong>Gaim is NOT endorsed by or affiliated with AOL
</strong></p> <a href="http://www.linspire.com/lindows_products_details.php?id=1832"><img src="http://linspire.com/sponsorbadge" width="155" height="50" border="0" alt="Lindows" /></a> <a href="http://sourceforge.net/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=235&type=5" width="210" height="62" border="0" alt="SourceForge" /></a> // we've already included the content, so exit() to avoid displaying it again