?
Path : /home/admin/domains/happytokorea.com/public_html_bk/backoffice/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/backoffice/index.php |
<?php session_start(); $root_path="./"; include($root_path."header.php"); $db_tm = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false); $template = new Template($tpl_path); if(isset($_SESSION["s_user"])){$temp_file="index.tpl";}else{$temp_file="login.tpl";} $template->set_filenames(array('body'=>$temp_file)); $template->assign_vars(array( "CUR_HOST_BACKEND"=>$cur_host_backend, "TITLE"=>$title, "STYLE"=>STYLE, "TOP"=>$php_path.'/top.php?title='.$title, "MENU_LEFT"=>$php_path.'/menu_left.php', "MENU_BAR"=>$php_path.'/menu_bar.php', "BLANK"=>"templates/blank.html", "USERS_PATH"=>$user_path, "BOTTOMFRM"=>$php_path.'/bottomfrm.php?auth='.$auth, "IMAGES_PATH"=>$images_path, )); $template->pparse('body'); ?>