<?php
$message = $this->GetRedirectMessage();
$user = $this->GetUser();
$site_base = $this->GetConfigValue("base_url");
if ( substr_count($site_base, 'wikka.php?wakka=') > 0 ) $site_base = substr($site_base,0,-16);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo $this->GetWakkaName().": ".$this->PageTitle(); ?></title>
<base href="<?php echo $site_base ?>" />
<?php if ($this->GetMethod() != 'show' || $this->page["latest"] == 'N' || $this->page["tag"] == 'SandBox') echo "<meta name=\"robots\" content=\"noindex, nofollow, noarchive\" />\n"; ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php echo $this->GetConfigValue("meta_keywords") ?>" />
<meta name="description" content="<?php echo $this->GetConfigValue("meta_description") ?>" />
<link rel="stylesheet" type="text/css" href="css/<?php echo $this->GetConfigValue("stylesheet") ?>" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<?php
if ($this->GetMethod() != 'edit') {
$rsslink = ' <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': revisions for '.$this->tag.' (RSS)" href="'.$this->Href('revisions.xml', $this->tag).'" />'."\n";
$rsslink .= ' <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': recently edited pages (RSS)" href="'.$this->Href('recentchanges.xml', $this->tag).'" />'."\n";
echo $rsslink;
}
?>
</head>
<body <?php echo $message ? "onLoad=\"alert('".$message."');\" " : "" ?> >
<?php
include_once '../configbase.php';
if ($_SESSION["lang"] == 'zh-cn')
{
?>
<div class="header">
<div id="menu-top">
<ul>
<li><a href="../" title="é¦é¡µ"><span>é¦é¡µ</span></a></li>
<li><a href="../blog/index.php" title="å客"><span>å客</span></a></li>
<li><a href="../forum/index.php" title="论å" target="_blank"><span>论å</span></a></li>
<li><a href="./" title="ææ¡£"><span>ææ¡£</span></a></li>
<li><a href="../lang.php" title="éæ©è¯è¨"><span>éæ©è¯è¨</span></a></li>
</ul>
<div align="right" style="margin-right:3%"><img height="40" alt="" width="250" src="../images/logo.png" />
</div>
</div><!--menu-top-->
<!-- mejobloggs: sorry about all these wrappers. It is a lot of structural markup .
If you know how to do this with less structural markup, contact my throught my
OWD user page: http://www.openwebdesign.org/userinfo.phtml?user=mejobloggs -->
<div id="wrapper-header">
<div id="header">
<div id="wrapper-header2">
<div id="wrapper-header3">
<h1></h1>
</div><!--wrapper-header3-->
</div><!--wrapper-header2-->
</div><!--header-->
</div><!--wrapper-header-->
<div id="wrapper-content">
<?php
}
else
{
?>
<div class="header">
<div id="menu-top">
<ul>
<li><a href="../" title="Home Page"><span>Home Page</span></a></li>
<li><a href="../blog/index.php" title="Blog"><span>Blog</span></a></li>
<li><a href="../forum/index.php" title="Forum" target="_blank"><span>Forum</span></a></li>
<li><a href="./" title="Docs"><span>Docs</span></a></li>
<li><a href="../lang.php" title="Select Languages"><span>Select Languages</span></a></li>
</ul>
<div align="right" style="margin-right:3%"><img height="40" alt="" width="250" src="../images/logo.png" />
</div>
</div><!--menu-top-->
<!-- mejobloggs: sorry about all these wrappers. It is a lot of structural markup .
If you know how to do this with less structural markup, contact my throught my
OWD user page: http://www.openwebdesign.org/userinfo.phtml?user=mejobloggs -->
<div id="wrapper-header">
<div id="header">
<div id="wrapper-header2">
<div id="wrapper-header3">
<h1></h1>
</div><!--wrapper-header3-->
</div><!--wrapper-header2-->
</div><!--header-->
</div><!--wrapper-header-->
<div id="wrapper-content">
<?php
}
?>
<div id="content">
<h4><?php echo $this->config["wakka_name"] ?> : <a href="<?php echo $this->href('backlinks', '', ''); ?>" title="Display a list of pages linking to <? echo $this->tag ?>"><?php echo $this->GetPageTag(); ?></a></h4>
<?php echo $this->Link($this->config["root_page"]); ?> ::
<?php
if ($this->GetUser()) {
echo $this->config["logged_in_navigation_links"] ? $this->Format($this->config["logged_in_navigation_links"])." :: " : "";
echo "You are ".$this->Format($this->GetUserName());
} else {
echo $this->config["navigation_links"] ? $this->Format($this->config["navigation_links"]) : "";
}
?> </div>
</div>
</div>