Exemplo n.º 1
0
<?php

#require the check
require_once 'login_check.php';
$oFile = new FileModel();
# get all the extensions and assign them
$aExtensions = $oFile->selectAllAvailableExtensions();
$oSmarty->assign('aExtensions', $aExtensions);
# give active class
$oSmarty->assign('activeClass', 'settings');
# ok
$oSmarty->display('admin/settings.tpl');