<?php
/*
* @package LabCMS
* @copyright (c) 2006 Alexander Levin aka Loki (loki_angel@mail.ru)
* @support http://labcms.ru
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
	$mod_template="list.tpl";
	//if (LabCMS::i()->is_cached($mod_template, -1, 0)) return;
	
	
	$list=Db::i()->select("SELECT page_id, page_title, path FROM ?_pages p LEFT JOIN ?_tree t ON p.tree_id=t.tree_id ORDER BY path");

	Tpl::i()->assign('list',$list);
