Пример #1
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$u->logout();
Пример #2
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_trial_item($page);
echo $list;
Пример #3
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_classes_item($page);
echo $list;
Пример #4
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_tutor(trim($item));
echo $list;
Пример #5
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$userid = $_POST['userid'];
$groupid = $_POST['groupid'];
$list = $u->get_adjust_dialog($userid, $groupid);
echo $list;
Пример #6
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$username = $_POST['username'];
$groupname = $_POST['groupname'];
$u->add_trial_key($username, $groupname);
Пример #7
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$userid = $_POST['userid'];
$groupid = $_POST['groupid'];
$start = $_POST['start'];
$exp = $_POST['exp'];
$u->adjust_subs($userid, $groupid, $start, $exp);
Пример #8
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$userid = $_POST['userid'];
$list = $u->confirm_tutor($userid);
echo $list;
Пример #9
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_tutors_list(false);
echo $list;
Пример #10
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$user = $_POST['user'];
$u->adjust_personal_trial_key(json_decode($user));
Пример #11
0
<?php

session_start();
require_once './classes/Utils.php';
$u = new Utils2();
if ($_REQUEST) {
    $username = $_REQUEST['username'];
    $password = $_REQUEST['password'];
    if ($username == 'manager' && $password == 'strange12') {
        $_SESSION['logged'] = "1";
    }
}
if ($_SESSION['logged'] == 1) {
    $class_total = $u->get_classes_num();
    $classes = $u->get_classes_list();
    $class_search = $u->get_search_block('class');
    $tutors_total = $u->get_total_tutors_number();
    $tutors = $u->get_tutors_list();
    $tutor_search = $u->get_search_block('tutor');
    $subs_total = $u->get_total_subscription();
    $subs = $u->get_subscription_list();
    $subs_search = $u->get_search_block('subs');
    $trial_total = $u->get_trial_total();
    $trial = $u->get_trial_keys_tab();
    $trial_search = $u->get_search_block('trial');
    ?>

    <!DOCTYPE html>

    <html>
        <head>
Пример #12
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_trial(trim($item));
echo $list;
Пример #13
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_trial_keys_tab(false);
echo $list;
Пример #14
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_classes_list(false);
echo $list;
Пример #15
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$users = $_POST['users'];
$u->adjust_group_trial_keys($users);
Пример #16
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_class($item);
echo $list;
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$user = $_POST['user'];
$list = $u->get_adjust_trial_personal_key_modal_dialog(json_decode($user));
echo $list;
Пример #18
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_subscription_list(false);
echo $list;
Пример #19
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_subs(trim($item));
echo $list;
Пример #20
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_tutor_item($page);
echo $list;
Пример #21
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_add_trial_key_dialog();
echo $list;
Пример #22
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_subscritpion_item($page);
echo $list;