The Soda Pop
$time || isset($_SESSION['captcha']) && isset($_POST['chislo']) && $_SESSION['captcha']==$_POST['chislo']) { $_SESSION['adm_auth']=$time+600; if (isset($_GET['return']) && $_GET['return']){header('Location: '.urldecode($_GET['return']));exit;} $set['title']='Panel admin'; include_once '../sys/inc/thead.php'; title(); err(); aut(); $smarty = new Smarty_conf(); $menu=array(); if (user_access('adm_info'))$menu[]=array('info.php','Informasi umum'); if (user_access('lic_info'))$menu[]=array('lic_info.php','Lisensi'); if (user_access('adm_statistic'))$menu[]=array('statistic.php','Statistik'); if (user_access('adm_show_adm'))$menu[]=array('administration.php','Administrasi'); if (user_access('adm_log_read'))$menu[]=array('adm_log.php','Log admin'); if (user_access('adm_menu'))$menu[]=array('menu.php','Menu Utama'); if (user_access('adm_rekl'))$menu[]=array('rekl.php','Iklan dan spanduk'); if (user_access('adm_news'))$menu[]=array('news.php','Berita situs'); if (user_access('adm_set_sys'))$menu[]=array('settings_sys.php','Pengaturan sistem'); if (user_access('adm_set_sys'))$menu[]=array('settings_bbcode.php','BBcode'); if (user_access('adm_set_forum'))$menu[]=array('settings_forum.php','Pengaturan forum'); if (user_access('adm_set_user'))$menu[]=array('settings_user.php','Kelola pengunjung'); if (user_access('adm_accesses'))$menu[]=array('accesses.php','Pengaturan Hak istimewa'); if (user_access('adm_banlist'))$menu[]=array('banlist.php','Daftar larangan'); if (user_access('adm_set_loads'))$menu[]=array('settings_loads.php','Preferensi download'); if (user_access('adm_set_loads'))$menu[]=array('loads_recount.php','Konversi download'); if (user_access('adm_set_chat'))$menu[]=array('settings_chat.php','Pengaturan chat'); if (user_access('adm_set_foto'))$menu[]=array('settings_foto.php','Pengaturan album foto'); if (user_access('adm_forum_sinc'))$menu[]=array('forum_sinc.php','Sinkronisasi tabel forum'); if (user_access('adm_lib_repair'))$menu[]=array('lib_repair.php','Pemulihan perpustakaan'); if (user_access('adm_ref'))$menu[]=array('referals.php','Arahan'); if (user_access('adm_ip_edit'))$menu[]=array('opsos.php','Mengedit IP penyedia'); if (user_access('adm_ban_ip'))$menu[]=array('ban_ip.php','Larangan untuk IP'); if (user_access('adm_mysql'))$menu[]=array('mysql.php','MySQL query'); if (user_access('adm_themes'))$menu[]=array('themes.php','Tema tersedia'); if (user_access('adm_themes'))$menu[]=array('them_installer.php','Install tema'); if (user_access('user_mass_delete'))$menu[]=array('delete_users.php','Hapus user'); if ($license) { if (user_access('lic_themes'))$menu[]=array('lic_themes.php','Threads DCMS.su'); if (user_access('lic_update'))$menu[]=array('lic_update.php','Update mesin'); if (user_access('adm_license_support'))$menu[]=array('lic_support.php','Kontak pencipta'); } $smarty->assign('menu',$menu); $smarty->display('body.menu.tpl'); } else { $set['title']='Perlindungan dari perubahan otomatis'; include_once '../sys/inc/thead.php'; title(); err(); aut(); $smarty = new Smarty_conf(); $smarty->assign('form_title','Admin Panel area'); $smarty->assign('method','POST'); $smarty->assign('action',"?gen=$passgen".(isset($_GET['return'])?'&return='.$_GET['return']:null)); $elements=array(); $elements[]=array('br'=>1, 'type'=>'captcha'); $elements[]=array('type'=>'submit', 'br'=>0, 'info'=>array('name'=>'post', 'value'=>'Masuk')); // кнопка $smarty->assign('el',$elements); $smarty->display('input.form.tpl'); } include_once '../sys/inc/tfoot.php'; ?>