Example #1
0
<h1>Page Not Found</h1>
<p>The page '<?php 
echo htmlspecialchars($_SERVER["REQUEST_URI"]);
?>
' doesn’t seem to exist. </p>

<?php 
if ($jab['missingSourceFile']) {
    ?>
<p>Would you like to <?php 
    jabEditLink("Create This Page", $jab['missingSourceFile']);
    ?>
?</p>
<?php 
} else {
    ?>
<p>We’ve been improving this site and the page might have been moved to another place.</p>
<?php 
}
?>

<p><a href="/">Back To Home</a></p>

Example #2
0
	<link rel="icon" type="image/x-icon" href="http://<?php 
echo $_SERVER['HTTP_HOST'];
?>
/theme/favicon.ico"/>
<?php 
echo $view['additional_head_tags'];
?>
</head>
<body>
<div class="jab_menubar">
<div class="jab_menubarcontent">
<p>
<a href="/">Home</a>&nbsp;&nbsp;&nbsp;
<?php 
if (is_array($model) && $model['sourceFile']) {
    jabEditLink("Edit Page", $model['sourceFile']);
    echo "&nbsp;&nbsp;&nbsp";
}
if (jabUserName() != null) {
    ?>
<span style="float:right"><a href="/account/logout?referrer=<?php 
    echo htmlspecialchars($_SERVER["REQUEST_URI_CLEAN"]);
    ?>
">Logout <?php 
    echo htmlspecialchars(jabUserName());
    ?>
</a></span>
<?php 
}
?>
</p>