Esempio n. 1
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$u->logout();
Esempio n. 2
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_trial_item($page);
echo $list;
Esempio n. 3
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_classes_item($page);
echo $list;
Esempio n. 4
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_tutor(trim($item));
echo $list;
Esempio n. 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;
Esempio n. 6
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$username = $_POST['username'];
$groupname = $_POST['groupname'];
$u->add_trial_key($username, $groupname);
Esempio n. 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);
Esempio n. 8
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$userid = $_POST['userid'];
$list = $u->confirm_tutor($userid);
echo $list;
Esempio n. 9
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_tutors_list(false);
echo $list;
Esempio n. 10
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$user = $_POST['user'];
$u->adjust_personal_trial_key(json_decode($user));
Esempio n. 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>
Esempio n. 12
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_trial(trim($item));
echo $list;
Esempio n. 13
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_trial_keys_tab(false);
echo $list;
Esempio n. 14
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_classes_list(false);
echo $list;
Esempio n. 15
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$users = $_POST['users'];
$u->adjust_group_trial_keys($users);
Esempio n. 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;
Esempio n. 18
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_subscription_list(false);
echo $list;
Esempio n. 19
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$item = $_POST['item'];
$list = $u->search_subs(trim($item));
echo $list;
Esempio n. 20
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$page = $_POST['id'];
$list = $u->get_tutor_item($page);
echo $list;
Esempio n. 21
0
<?php

require_once './classes/Utils.php';
$u = new Utils2();
$list = $u->get_add_trial_key_dialog();
echo $list;
Esempio n. 22
0
<?php

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