Example #1
0
             $result = logout();
             break;
         case 'dang-ky-thanh-vien.html':
             $result = register_form();
             break;
         case 'dang-ky.html':
             $result = register();
             break;
         case 'thong-tin-thanh-vien.html':
             $result = member_info();
             break;
         case 'trang-chu.html':
             $result = page_news(true);
             break;
         case 'tim-kiem.html':
             $result = page_news(true, true);
             break;
         case 'thong-tin-a.html':
             $result = Ajax();
             break;
         default:
             echo 'Không tìm thấy trang này';
             break;
     }
 } else {
     if ($cla_nid > 0) {
         echo 'aaa';
     } else {
         echo 'test';
     }
 }
Example #2
0
counter_set("a:{$extern_page}");
if ($extern_page == 'admincontrol') {
    $title = $admin_lang['admincontrol'];
    $text = page_admincontrol();
} elseif ($extern_page == 'sitepreview') {
    $title = $admin_lang['sitepreview'];
    $text = page_sitepreview();
} elseif ($extern_page == 'menueeditor') {
    $title = $admin_lang['menueeditor'];
    $text = page_menueeditor();
} elseif ($extern_page == 'sitestyle') {
    $title = $admin_lang['sitestyle'];
    $text = page_sitestyle();
} elseif ($extern_page == 'news') {
    $title = $admin_lang['news'];
    $text = page_news();
} elseif ($extern_page == 'dates') {
    $title = $admin_lang['dates'];
    $text = page_dates();
} elseif ($extern_page == 'articles') {
    $title = $admin_lang['articles'];
    $text = page_articles();
} elseif ($extern_page == 'pageeditor') {
    $title = $admin_lang['pageeditor'];
    include './system/user_pages.php';
    $text = page_pageeditor();
} elseif ($extern_page == 'users') {
    $title = $admin_lang['users'];
    $text = page_users();
} elseif ($extern_page == 'logout') {
    include './system/user_pages.php';