<?php include_once APP_PATH.'admin/template/header.php';?>

<div class="ustatus">
<a class="submenu" href="index.php?p=categories&amp;sp=newcat"><?php echo $tl["menu"]["m3"];?></a>
</div>
<div class="clear"></div>

<section>

<div class="content-border">
<div class="heading_solid">
<h3><?php echo $tl["general"]["g98"];?></h3>
</div>
<form class="jak_form_cat" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<div class="jak_dont_move_out">
<?php if (isset($JAK_CAT) && is_array($JAK_CAT)) foreach($JAK_CAT as $v) { if ($v["catparent"] == $page2) {  ?>
<table class="table jak_move_cat">
<tr class="content-title">
<td class="content-go">#</td>
<td><?php echo $tl["general"]["g16"];?></td>
<td><?php echo $tl["general"]["g101"];?></td>
<td><?php echo $tl["general"]["g47"];?></td>
<td><?php echo $tl["general"]["g48"];?></td>
<td><img src="img/move.png" width="20" height="10" alt="move" class="jak_fire_move" title="<?php echo $tl["general"]["g102"];?>" /></td>
</tr>
<tr>
<td class="content-go"><?php echo $v["id"];?><input type="hidden" name="real_cat_id[]" value="<?php echo $v["id"];?>" /></td>
<td class="subcat"><a href="index.php?p=categories&amp;sp=edit&amp;ssp=<?php echo $v["id"];?>" title="<?php echo $tl["menu"]["m7"];?>"><?php echo $v["name"];?></a></td>
<td class="content-go"><a href="index.php?p=categories&amp;sp=lock&amp;ssp=<?php echo $v["id"];?>" title="<?php if ($v["active"] == 1) { echo $tl["cmdesc"]["d35"]; } else { echo $tl["cmdesc"]["d36"];}?>"><img src="img/<?php if ($v["active"] == 0) { ?>not_available_s<?php } else { ?>success<?php } ?>.png" width="14" height="16" alt="locked" /></a></td>
<td class="content-go"><a href="index.php?p=categories&amp;sp=edit&amp;ssp=<?php echo $v["id"];?>" title="<?php echo $tl["cmenu"]["c6"];?>"><img src="img/edit.png" width="14" height="16" alt="edit" /></a></td>
<td class="content-go"><?php if ($v["pluginid"] == 0 && $v["id"] != 1) { ?><a href="index.php?p=categories&amp;sp=delete&amp;ssp=<?php echo $v["id"];?>"><img src="img/delete.png" width="14" height="16" alt="delete" onclick="if(!confirm('<?php echo $tl["cat"]["al"];?>'))return false;" /></a><?php } ?></td>
<td class="content-go"><input type="text" name="corder[]" class="corder" value="<?php echo $v["catorder"];?>" size="2" maxlength="2" /></td>
</tr>
</table>
<?php } } ?>
</div>
<?php if ($JAK_CAT) { ?>

<div class="ustatus">
<a href="index.php?p=categories" class="button"><?php echo $tl["general"]["g103"];?></a>
<button type="submit" name="save" class="button"><?php echo $tl["general"]["g38"];?></button>
</div>

<?php } ?>

</form>
</div>	
</section>

<div class="clear"></div>
		
<?php include_once APP_PATH.'admin/template/footer.php';?>