<?php

require_once 'admin.php';
$title = "CCM Bảng điều khiển - Thêm sinh viên mới";
$usertype = 'student';
$new_student = array();
setup_userdata($new_student);
set_admin_content('user-edit');
require_once 'template-loader.php';
<?php

require_once 'admin.php';
cm_reset_vars(array('action', 'delete_courses', 'course', 'page'));
if (isset($_POST['multidelete'])) {
    foreach ((array) $delete_courses as $course) {
        delete_course($course);
    }
    cm_redirect(admin_url("course-edit.php"));
}
switch ($action) {
    case 'delete':
        delete_course($course);
        cm_redirect(admin_url("course-edit.php"));
    case 'view-students':
        set_admin_content('course-members');
        $page = absint($page);
        if (!$page) {
            $page = 1;
        }
        $limit = get_option('student_per_page') ? get_option('student_per_page') : 15;
        $offset = ($page - 1) * $limit;
        setup_coursedata($course);
        $all_students = _get_course_students($course, $offset, $limit);
        $all_teachers = _get_course_teachers($course);
        break;
    case 'edit':
        $editing = true;
        $course_teachers = _get_course_teachers($course);
        $course_teacher = $course_teachers[0];
        $course = get_course_to_edit($course);
<?php

require_once "admin.php";
$title = __("CCM Bảng điều khiển - Thêm khoa mới");
//$redirect_to=$_GET['redirect'];
set_admin_content('faculty');
require_once "template-loader.php";
<?php

require_once "admin.php";
$title = "CCM -  Bảng diều khiển >&gt; Thêm môn học";
set_admin_content('course');
require_once "template-loader.php";
<?php

require_once "admin.php";
$title = "CM - Bảng điều khiển - Thêm giảng đường";
set_admin_content("lecture-hall");
setup_lhdata(0);
require_once "template-loader.php";