Файл: Kagao-v3.0/upload/browse.php
Строк: 37
<?php
require('classes/config.php');
include "inc/rain.tpl.class.php";
include "inc/db.php";
include "inc/kategorie.php";
$db = new db();
raintpl::configure("base_url", null );
raintpl::configure("tpl_dir", "tpl/" );
raintpl::configure("cache_dir", "tmp/" );
$tpl = new RainTPL;
include "load.php";
$info = array( 'title' => $title4,
'copyright' => $copyright,
'page' => 'browse',
'isLogin' => $_SESSION['login'] ? true : false
);
$tpl->assign( $info );
function undercats1($assets){ global $e; return $e->browseUnderCategory($assets); }
#->Kategorien
$tpl->assign("cats", $e->browse());
$html = $tpl->draw( 'page', $return_string = true );
echo $html;
class str{
function cut($t){
return substr($t, 1, 2 );
}
}
?>