<?php
require'fun.php';
require'f_admin.php';
if($perm<2)
require'interzis.php';
$titlu='Administrare Quizz';
$back[1]='<a href="/quizz">Quizz</a>';
require'f_sus.php';
echo$div[4].'Administrare Quizz'.$div[5].$div[10].'Alege nivelul pe care vrei sa-l editezi!'.$div[0].$div[1].'<a href="/admin-editeaza-intrebare-quizz/categorie/easy/v/1" style="color:blue">Usor</a>'.$div[0].$div[1].'<a href="/admin-editeaza-intrebare-quizz/categorie/med/v/1" style="color:green">Mediu</a>'.$div[0].$div[1].'<a href="/admin-editeaza-intrebare-quizz/categorie/hard/v/1" style="color:red">Greu</a>'.$div[0].$div[1].'<a href="/admin-reseteaza-quizz">Reseteaza Quizz!</a>'.$div[0].$div[1];
echo($conn->query('SELECT`valoare`FROM`setari`WHERE`nume`="estatus_quizz"')->fetch_row()[0]?'Quizz deschis!<br /><a href="/admin-inchide-quizz/pagina/0">Inchide Quizz-ul</a>':'Quizz inchis!<br /><a href="/admin-inchide-quizz/pagina/1">Deschide Quizz-ul</a>').$div[0];
require'f_jos.php';