<!--
<div class="content">
<div class="hd_crop"></div>
<p><a href="index.php?load=content&do=insert">Create new link in menu</a></p>
<p><? //print siteMapDropDown(0)?></p>
<h3> </h3>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
-->
<?
// ######################################################################
// list for contents table
// Built with ListBuilder by Mauricio Giraldo Mutis
// http://www.bymurdock.com
// This class was built on: 05/19/2009 10:05:13
// ClassBuilder classes requires ConDB v.1.1 or later
// Class builder is Open Source, but for copyright issues, please keep
// this copy on any class that uses it.
// (R) 2005
// ######################################################################
$db_contents = new contents;
if($_GET["order"]) $db_contents->move($_GET["id"],$_GET["order"]);
$db_contents->get_one_contents($_GET["parent"]);
$db_contents->load();
$parent = $db_contents->get_con_name();
$db_contents->get_full_parents($_GET["parent"]);
?>
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr>
<td colspan="8"><a href="index.php?load=sitemap">Back to menu items</a></td>
</tr>
<tr id="listInsert">
<td colspan="8"><a href="index.php?load=content.sub&do=insert&parent=<?=$_GET["parent"]?>">Create new link in menu</a></td>
</tr>
<tr id="listHeader">
<td colspan="8">Contents for <?=$parent?>:</td>
</tr>
<tr id="listPager">
<td colspan="8"><?$db_contents->pages()?></td>
</tr>
<tr id="listHeader">
<td width="17%">Language</td>
<!--
<td colspan="2">Order</td>
-->
<td width="13%">Folder</td>
<td colspan="4">Image</td>
</tr>
<? while($db_contents->load()){?>
<tr id="listRow">
<td><?=$db_contents->field->lang_name?></td>
<!--
<td width="10%"><?=$db_contents->get_con_order()?></td>
<td width="2%" align="center"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td align="center"><a href="index.php?load=sub.sitemap&order=down&parent=<?=$_GET["parent"]?>&id=<?=$db_contents->get_con_id()?>"><img src="images/up.png" alt="up" width="12" height="11" border="0" /></a></td>
</tr>
<tr>
<td align="center"><a href="index.php?load=sub.sitemap&order=up&parent=<?=$_GET["parent"]?>&id=<?=$db_contents->get_con_id()?>"><img src="images/down.png" alt="down" width="12" height="11" border="0" /></a></td>
</tr>
</table></td>
-->
<td><?=$db_contents->get_con_folder()?></td>
<td width="25%">
<?=$db_contents->get_con_image();?>
</td>
<td width="8%"><a href="index.php?load=content.sub&do=clone&id=<?=$db_contents->get_con_id()?>">Duplicate</a></td>
<td width="8%"><a href="index.php?load=content.sub&do=edit&id=<?=$db_contents->get_con_id()?>">Edit</a></td>
<td width="13%"><a href="index.php?load=content.sub&do=delete&id=<?=$db_contents->get_con_id()?>">Delete</a></td>
</tr>
<? }?>
</table>
<?
$db_contents->close()?>