Example #1
0
<?php

include_once 'backend/user.php';
//echo FacebookUrl($_GET['q']);
header('Location: ' . FacebookUrl($_GET['q']));
Example #2
0
     echo DBSavePost(-1, $_GET['pinned'], $_GET['bName'], $_GET['title'], $_GET['content'], $_GET['UserID'], $_GET['addedTags'], $_GET['deletedTags']);
 } else {
     if ($_GET['t'] == 7) {
         echo EnableUser(fnDecrypt($_GET['c']));
     } else {
         if ($_GET['t'] == 8) {
             if ($_GET['c'] == "signup") {
                 FacebookSignUp($_GET['url']);
             } else {
                 if ($_GET['c'] == "login") {
                     FacebookLogin($_GET['url']);
                 }
             }
         } else {
             if ($_GET['t'] == 9) {
                 echo FacebookUrl($_GET['c'], $_GET['url']);
                 // c = "login" or "signup"
             } else {
                 if ($_GET['t'] == 'special') {
                     /*DBNewComment(138, -1, 'main comment 1'); //1
                     	DBNewComment(138, -1, 'main comment 2'); //2
                     	DBNewComment(138, -1, 'main comment 3'); //3
                     	DBNewComment(138, -1, 'main comment 4'); //4
                     	DBNewComment(138, -1, 'main comment 5'); //5
                     
                     	DBNewComment(138, 1, '1-1 sub comment'); //6
                     	DBNewComment(138, 1, '1-2 sub comment'); //7
                     	DBNewComment(138, 1, '1-3 sub comment'); //8
                     
                     	DBNewComment(138, 2, '2-1 sub comment'); //9
                     	DBNewComment(138, 9, '2-1-1 sub sub comment'); //10