<?php
require("header.inc.php");
ChkAdminLogin();

		$sql = "SELECT stpID,stpName FROM ".DBPREFIX."defaultsitetype ORDER BY stpSort ASC";
    $rs = $objC->GetAll($sql);
		$objS->assign ( "tree", $rs );
		$objS->display ( "admin/tree_self.tpl" );
?>