Exemple #1
0
<?php

include_once '../../config/symbini.php';
include_once $serverRoot . '/classes/KeyCharAdmin.php';
header("Content-Type: text/html; charset=" . $charset);
if (!$SYMB_UID) {
    header('Location: ../../profile/index.php?refurl=../ident/admin/index.php?' . $_SERVER['QUERY_STRING']);
}
$langId = array_key_exists('langid', $_REQUEST) ? $_REQUEST['langid'] : '';
$charManager = new KeyCharAdmin();
$charManager->setLangId($langId);
$charArr = $charManager->getCharacterArr();
$headingArr = array();
if (isset($charArr['head'])) {
    $headingArr = $charArr['head'];
    unset($charArr['head']);
}
$isEditor = false;
if ($isAdmin || array_key_exists("KeyAdmin", $userRights)) {
    $isEditor = true;
}
?>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $charset;
?>
">
	<title>Character Admin</title>
    <link href="../../css/base.css?<?php 
echo $CSS_VERSION;