<!--
<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_full_parents($_GET["parent"]);
?>
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr id="listInsert">
<td colspan="9"><a href="index.php?load=content.main&do=insert">Create new link in menu</a></td>
</tr>
<tr id="listPager">
<td colspan="9"><?$db_contents->pages()?></td>
</tr>
<tr id="listHeader">
<td width="17%">Language</td>
<td width="12%">Name</td>
<td colspan="2">Order</td>
<td width="13%">Images folder</td>
<td colspan="4"> </td>
</tr>
<? while($db_contents->load()){?>
<tr id="listRow">
<td><?=$db_contents->field->lang_name?></td>
<td><?=$db_contents->get_con_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=sitemap&order=down&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=sitemap&order=up&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%">
<?
if(!$_GET["parent"])
{
?>
<a href="index.php?load=sub.sitemap&parent=<?=$db_contents->get_con_id()?>">View contents</a>
<?
}
else print $db_contents->get_con_image();
?>
</td>
<td width="8%"><a href="index.php?load=content.main&do=clone&id=<?=$db_contents->get_con_id()?>">Duplicate</a></td>
<td width="8%"><a href="index.php?load=content.main&do=edit&id=<?=$db_contents->get_con_id()?>">Edit</a></td>
<td width="13%"><a href="index.php?load=content.main&do=delete&id=<?=$db_contents->get_con_id()?>">Delete</a></td>
</tr>
<? }?>
</table>
<?
$db_contents->close()?>