<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net
[BEGIN_SED]
File=admin.pfs.inc.php
Version=101
Updated=2006-mar-15
Type=Core.admin
Author=Neocrome
Description=Administration panel
[END_SED]
==================== */

if ( !defined('SED_CODE') || !defined('SED_ADMIN') ) { die('Wrong URL.'); }

list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('pfs', 'a');
sed_block($usr['isadmin']);

$adminpath[] = array ("admin.php?m=other", $L['Other']);
$adminpath[] = array ("admin.php?m=pfs", $L['PFS']);
$adminhelp = $L['adm_help_pfs'];

$adminmain .= "<ul>";
$adminmain .= "<li><a href=\"pfs.php?userid=0\">".$L['SFS']."</a></li>";
$adminmain .= "<li><a href=\"admin.php?m=pfs&amp;s=allpfs\">".$L['adm_allpfs']."</a></li>";
$adminmain .= "</ul>";

$adminmain .= "<h4>".$L['adm_gd']." :</h4>";

if (!function_exists('gd_info'))
	{
	$adminmain .= "<p>".$L['adm_nogd']."</p>";
	}
   else
	{
	$gd_datas = gd_info();
	$adminmain .= "<p>";
	foreach ($gd_datas as $k => $i)
		{
		$adminmain .= $k." : ";
		if (strlen($i)<2) { $i = $sed_yesno[$i]; }
		$adminmain .= $i."<br />";
		}
	$adminmain .= "</p>";
	}

?>
