<?php
require'fun.php';
require'f_admin.php';
if($perm<2)
require'interzis.php';
$titlu='Editeaza întrebare Quizz';
$back[1]='<a href="/quizz">Quizz</a>';
$back[2]='<a href="/admin-quizz">'.img('administrare.png',1).'Administrare Quizz</a>';
require'f_sus.php';
echo$div[4].'Editeaza Quizz'.$div[5];
$row=$conn->query('SELECT`question`,`answer`,`answer1`,`answer2`,`answer3`,`answer4`FROM`quiz_intrebari`WHERE`difficulty`="'.$cid.'"&&`number`="'.$fid.'"')->fetch_row();
echo$div[10].'Editeaza intrebarea '.$fid.'<br />Dificultate: '.$cid.$div[0];
$form[0]='/admin-salveaza-intrebare-quizz/categorie/'.$cid.'/v/'.$fid.'" method="post';
$form[1]=0;
$form[2]=$div[1].'Intrebare:<br /><input name="nquestion" value="'.$row[0].'" maxlength="333" />'.$div[0].$div[1].'Răspunsul corect:<br /><input name="nright" value="'.$row[1].'" maxlength="333" /><br /><img src="'.$domenii_statice[1].'point.gif" alt="!" />ATENȚIE!<br />Una din variantele de răspuns, trebuie să fie identica cu răspunsul corect!'.$div[0].$div[1].'Răspuns 1:<br /><input name="na" value="'.$row[2].'" maxlength="333" />'.$div[0].$div[1].'Răspuns 2:<br /><input name="nb" value="'.$row[3].'" maxlength="333" />'.$div[0].$div[1].'Răspuns 3:<br /><input name="nc" value="'.$row[4].'" maxlength="333" />'.$div[0].$div[1].'Răspuns 4:<br /><input name="nd" value="'.$row[5].'" maxlength="333" />'.$div[0];
$form[3]='nquestion::nright::na::nb::nc::nd';
$form[4]='Editeaza';
require'f_form.php';
require'f_jos.php';