예제 #1
0
//error_reporting(E_ALL);
include_once '../config/symbini.php';
include_once $serverRoot . '/classes/GamesManager.php';
header("Content-Type: text/html; charset=" . $charset);
$clName = array_key_exists('listname', $_REQUEST) ? $_REQUEST['listname'] : "";
$clid = array_key_exists('clid', $_REQUEST) ? $_REQUEST['clid'] : "";
$dynClid = array_key_exists('dynclid', $_REQUEST) ? $_REQUEST['dynclid'] : "";
if (!$clName) {
    $gameManager = new GamesManager();
    if ($clid) {
        $gameManager->setChecklist($clid);
    } elseif ($dynClid) {
        $gameManager->setDynChecklist($dynClid);
    }
    $clName = $gameManager->getClName();
}
$imgloc = "../images/games/namegame/";
?>
<html>
<head>
	<title><?php 
echo $defaultTitle;
?>
 Name Game</title>
	<link href="../css/base.css?<?php 
echo $CSS_VERSION;
?>
" type="text/css" rel="stylesheet" />
	<link href="../css/main.css?<?php 
echo $CSS_VERSION;