Location: PHPKode > projects > phpGrabComics > www/admin/sidebar.php
<?php
/*

Copyright © 2001, 2002, 2003, 2004, 2005 Andres Baravalle

This file is part of phpGrabComics.

phpGrabComics is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

phpGrabComics is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with phpGrabComics; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/

include_once("dir.php");
include_once($dir . "inc/prepend.php");
// include all the comics classes
include_once($dir . "inc/load_comics_classes.php");
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>\n";
?>
<!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">
<head>
<title>phpGrabComics</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<base target="_content" />
<meta http-equiv="Refresh" content="1200; URL=http://<?php echo $_SERVER["SERVER_NAME"] . $_SERVER["SCRIPT_NAME"]; ?>" />
<style type="text/css">
img {border:0}
table {border:0}
</style>
</head>

<body>
<?php
admin::checkPerm();
if ($authenticated == True and !isset($_GET["logout"]))
{
?> 

	<table style="text-align: left">
		<tr>
			<td style="text-align: center">

	<?php

	reset($comic_list);
	while(list($key,$val) = each($comic_list))
	{
		$icons[] = $val->rIcon("show");
	}
	
	admin::pTable($icons,3);

	?>
			</td>
		</tr>
		<tr>
				<td style="text-align: center"><a href="<?php echo $full_web_dir;?>/../index.php" title="phpGrabComics"><img src="<?php echo $full_web_dir;?>/../banners/phpgrabcomics_2.png" alt="phpGrabComics!" width="85" height="85" /></a></td>
		</tr>
		
</table>
<?php
}
else
{
echo _NO_AUTH;
}
?>
</body>
</html>
Return current item: phpGrabComics