Пример #1
0
}
if (isset($_GET['Like']) && isset($_GET['sid']) && isset($_GET['uid'])) {
    $social = new Social();
    $social->like();
} else {
    if (isset($_GET['Dislike']) && isset($_GET['sid']) && isset($_GET['uid'])) {
        $social = new Social();
        $social->dislike();
    } else {
        if (isset($_GET['c']) && isset($_POST['comm']) && isset($_GET['sid']) && isset($_GET['uid'])) {
            $social = new Social();
            $social->comment();
        } else {
            if (isset($_GET['cp']) && isset($_FILES['file']) && isset($_GET['sid']) && isset($_GET['uid'])) {
                $social = new Social();
                $social->commentPhoto();
            } else {
                if (isset($_GET['gl']) && isset($_GET['sid'])) {
                    $social = new Social();
                    $social->getLikes();
                } else {
                    if (isset($_GET['gdl']) && isset($_GET['sid'])) {
                        $social = new Social();
                        $social->getDislikes();
                    } else {
                        if (isset($_GET['rmc']) && isset($_GET['cid']) && isset($_GET['sid']) && isset($_GET['uid'])) {
                            $social = new Social();
                            $social->removeComment();
                        } else {
                            if (isset($_GET['bf']) && isset($_GET['uid']) && isset($_GET['fid'])) {
                                $social = new Social();