[ PHPXref.com ] [ Generated: Sun Jul 20 17:21:04 2008 ] [ D++CMS 3.1.2 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> n_left_01.php (source)

   1  <?php

//
//  -------------------------------------------------------------------------------------
//    D++CMS
//  
//  A free open source Content Management Framework
//
//  Copyright D++, David Weber
//
//  This source file is subject to the GNU General Public License,
//  that is bundled with this package in the file LICENSE, and is
//  available through the world-wide-web at the following url:
//  http://www.gnu.org/licenses/gpl.html 
//
//  For more information about D++CMS please visit the following urls:
//  http://www.dplusplus.com
//  http://www.dpp-web.de
//
//

require_once ("dppcms/x_dppcms_config.php");
require_once("templates/x_template.inc.php");


$dpp_nav_query = $dppdb->query("select * from dpp_nav where parent_id = ".$dpp_nav_parent_id." and nav_publish = 'publish' order by nav_pos");
$dpp_nav_parent = $dppdb->getRow("select * from dpp_nav where ID = ".$dpp_nav_parent_id." and nav_publish = 'publish'");
dpp_nav_init($dpp_nav_query, $dpp_nav_parent_id);

?>

<!-- D++CMS Navigation -->
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><b><?php echo $dpp_nav_parent->name ?></b><br>
<br>
</td>
</tr>
<?php $dpp_nav_query->fetchInto($dpp_nav, DB_FETCHMODE_DEFAULT, 0);  do { ?>
<tr>
<td align="right">
<?php 

if($dpp_nav_id == $dpp_nav->ID)
    echo "<b>";
dpp_draw_nav($dpp_nav, $dpp_nav_parent_id, "index"); 
if($dpp_nav_id == $dpp_nav->ID)
    echo "</b>";
?>
</td>
</tr>
    <?php } while ($dpp_nav_query->fetchInto($dpp_nav)); ?>
</table>
<!-- D++CMS Navigation End -->


[ Powered by PHPXref - Served by Debian GNU/Linux ]