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

<?php if ($page == "" && JAK_NV_ALERT && $JAK_SPECIALACCESS && JAK_VC_STATUS && JAK_VC_JAKDDVERSION != JAK_VERSION) { ?>

<div class="status-ok">
  <h4><?php echo JAK_VC_JAKDDNEWS;?></h4>
  <?php echo str_replace("%s", JAK_VC_JAKDDVERSION, $tl["general"]['g150']);?><a href="<?php echo JAK_VC_JAKDDURL;?>"><?php echo JAK_VC_JAKDDURL;?></a>.
</div>

<div class="clear"></div>

<?php } ?>

<div class="ustatus">
<?php if (isset($JAK_CAT) && is_array($JAK_CAT)) foreach($JAK_CAT as $v) { ?>

<a class="categories" href="index.php?p=shop&amp;sp=sort&amp;ssp=<?php echo $v['id'];?>"><?php echo $v['name'];?></a>

<?php } ?>

<a class="submenu" href="index.php?p=shop&amp;sp=newitem"><?php echo $tl["shop"]["m4"];?></a>
</div>
<div class="clear"></div>

<section>

<div class="content-border">
<form class="jak_form_cat" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<div class="jak_dont_move_out">
<?php if (isset($JAK_ECOMMERCE_ALL) && is_array($JAK_ECOMMERCE_ALL)) foreach($JAK_ECOMMERCE_ALL as $v) { ?>
<table class="jak_move_cat table">
<tr class="content-title">
<td class="content-go">#</td>
<td><?php echo $tl["shop"]["m52"];?></td>
<td><?php echo $tl["general"]["g65"];?></td>
<td><?php echo $tl["general"]["g56"];?></td>
<td class="content-go"></td>
<td><img src="img/move.png" width="20" height="10" alt="move" class="jak_fire_move" /></td>
<td class="right"><?php echo $tl["cat"]["c1"];?><input type="text" name="corder[]" class="corder" value="<?php echo $v["ecorder"];?>" /></td>
</tr>
<tr>
<td class="content-go"><?php echo $v["id"];?><input type="hidden" name="real_ms_id[]" value="<?php echo $v["id"];?>" /></td>
<td><a href="index.php?p=shop&amp;sp=edit&amp;ssp=<?php echo $v["id"];?>"><?php echo $v["title"];?></a></td>
<td style="width:300px"><?php echo $v["time"]; ?></td>
<td class="content-go"><?php echo $v["hits"];?></td>
<td class="content-go"><a href="index.php?p=shop&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') { ?>locked<?php } else { ?>lockedno<?php } ?>.png" width="14" height="16" alt="locked" /></a></td>
<td class="content-go"><a href="index.php?p=shop&amp;sp=edit&amp;ssp=<?php echo $v["id"];?>"><img src="img/edit.png" width="14" height="16" alt="edit" /></a></td>
<td class="content-go"><a href="index.php?p=shop&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["shop"]["al"];?>'))return false;" /></a></td>
</tr>
</table>
<?php } ?>
</div>
<?php if ($JAK_ECOMMERCE_ALL) { ?>
<div class="ustatus">
<button type="submit" name="save" class="button"><?php echo $tl["general"]["g38"];?></button>
</div>

<div class="clear"></div>
<?php } ?>
</form>
</div>

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