Пример #1
0
    exit;
} else {
    if (isset($_POST['RK_Login'])) {
        echo LoginAuth::loginUser($_POST['username'], $_POST['password'], $_POST['remember']);
        exit;
    } else {
        if (isset($_POST['RK_Logout'])) {
            echo LoginAuth::logoutUser();
            exit;
        } else {
            if (isset($_POST['RK_Forgot'])) {
                echo LoginAuth::Forgot($_POST['email'], $_POST['captcha']);
                exit;
            } else {
                if (isset($_POST['RK_Votes'])) {
                    echo Film_Model::Votes($_POST['filmid']);
                    exit;
                } else {
                    if (isset($_GET['RK_Film'])) {
                        echo Film_Model::Tooltip($_GET['RK_Film']);
                        exit;
                    } else {
                        if (isset($_POST['RK_Fav_Feature'])) {
                            echo Film_Model::Fav_Feature($_POST['filmid']);
                            exit;
                        } else {
                            if (isset($_POST['RK_Fav_Playlist'])) {
                                echo Film_Model::Fav_Playlist($_POST['filmid']);
                                exit;
                            } else {
                                if (isset($_POST['RK_Remove'])) {