Пример #1
0
 } 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();
                 $social->befriend();
             } else {
                 if (isset($_GET['uf']) && isset($_GET['uid']) && isset($_GET['fid'])) {
                     $social = new Social();
                     $social->unfriend();
                 } else {
                     if (isset($_GET['gc']) && isset($_GET['sid'])) {
                         $social = new Social();
                         $social->getComments();
                     } else {
                         if (isset($_GET['rc']) && isset($_GET['cid']) && isset($_GET['uid'])) {
                             $social = new Social();
                             $social->removeComment();
                         } else {
                             if (isset($_GET['gf']) && isset($_GET['uid'])) {
                                 $social = new Social();
                                 $social->getFriends();
                             } else {
                                 if (isset($_GET['gfc']) && isset($_GET['uid'])) {
                                     $social = new Social();