<?php
require_once "user_class.php";
session_start();
require_once "ellenor.php";
require_once "user_Json.php";
if($_SESSION["user"]->get_rang())
{
?>
<!DOCTYPE HTML >
<html lang="hu">
<head>
<meta charset="utf-8">
<title>Játék public</title>
<link href="../css/ablak/css2profil.css" rel="stylesheet" type="text/css" media="all">
<link href="../css/center.css" rel="stylesheet" type="text/css">
<link href="../css/op/print.css" rel="stylesheet" type="text/css" media="print">
<link href="../css/ablak/cssjatek.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" sizes="256x256" href="kep.php?id=0" >
<style>
fieldset{
margin: 5%;
}
body
{
overflow-y: auto;
}
</style>
</head>
<body class="center">
<fieldset >
<form action="uj_pkep.php" method="post" enctype="multipart/form-data">
<table>
<tr>
<td>indexkép feltöltés:</td>
<td><input type="file" name="fileToUpload" id="fileToUpload"></td>
</tr>
</table>
<input type="text" name="pkepIH" value="<?php echo false;?>" style="display:none;">
<input type="submit" value="Kép feltöltés!" name="submit" class="neon_button">
</form>
</fieldset>
<fieldset >
<form action="jatek_reg.php" method="post" class="center">
<table>
<tr>
<td>Játék url:</td>
<td><input type='text' name='jatek_url' > </td>
</tr>
<tr>
<td>indexkép id:</td>
<td><input type='number' name='jatek_kep_id' min=0 value=0></td>
</tr>
<tr>
<td>Megjelenés dátuma:</td>
<td><input type="date" name='jatek_date_pubick' ></td>
</tr>
<tr>
<td>Cím:</td>
<td><input type="text" name='jatek_cim' ></td>
</tr>
<tr>
<th>Játék leirás:</th>
<td></td>
</tr>
<tr>
<td>Hány Dimenzios:</td>
<td><input type="text" name='jatekl_xD' value="2" ></td>
</tr>
<tr>
<td>tipus:</td>
<td><input type="text" name='jatekl_tipus' ></td>
</tr>
<tr>
<td>Hány player-es:</td>
<td><input type="text" name='jatekl_xplayer' value="1"></td>
</tr>
<tr>
<td>Játék motor:</td>
<td><input type="text" name='jatekl_ge' ></td>
</tr>
<tr>
<td>Készitök id:</td>
<td><input type="text" name='jatekl_keszitok' value="0" ></td>
</tr>
</table>
<input type="submit" value="Játék rgisztrálás" name="submit_Json_jatek" class="neon_button">
</form>
</fieldset>
</body>
</html>
<?php
}
else{
echo "<style>body{color:red;}</style>Nincs hozzá jogusoltságod!!!";
}
?>