<?php
//<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
//sigurnost:
if (!defined('SIGURICA')) die('Nedozvoljen pristup!');
if ($prava_pristup_sadrzaj!=1) die('Nedozvoljen pristup!');
if ($prava_rubrika_uredi!=1) die('Nedozvoljen pristup!');

?>
<div id="main_content">
<h1>Unos nove rubrike</h1>

<form method="post" action="glavna.php?modul=<?php echo $modul;?>&amp;akcija=insert_new_rubrika" enctype="multipart/form-data" onSubmit="return checkrequired(this)">
<p>
<label><span style="color:#ff0000">*</span><a href="#" class="help" onMouseover="ddrivetip('Naziv nove rubrike (skup kategorija linkova) - npr. Glavni linkovi, Hrvatski, Engleski...', 200)"; onMouseout="hideddrivetip()">Naziv rubrike</a>:</label>
<input tabindex="1" type="text" size="40" maxlength="250" name="q_naslov" id="requiredNaziv rubrike" /><br />
</p>

<p>
<label><a href="#" class="help" onMouseover="ddrivetip('Opis nove rubrike (nije obavezan)', 200)"; onMouseout="hideddrivetip()">Opis rubrike</a>:</label>
<input tabindex="3" type="text" size="50" maxlength="250" name="q_opis" /><br />
</p>

<p>
<input tabindex="14" name="posalji" class="submit" type="submit" value="Pošalji" />
</p>
</form>
<br />
<br />
<?php
if ($rubrika!='0') {
	?>    
	<a class="gray_normal" href="glavna.php?modul=<?php echo $modul; ?>&amp;akcija=display_rubrike"><img src="slike/action_back.gif" width="16" height="16" alt="" border="0" /> <b>Odustani!</b></a>
	<?php
	}
?>
<br />
<br />
</div>