예제 #1
0
 * Copyright 2014
 *
 * Author: Bluethrust Web Development
 * E-mail: support@bluethrust.com
 * Website: http://www.bluethrust.com
 *
 * License: http://www.bluethrust.com/license.php
 *
 */
if (!isset($member) || substr($_SERVER['PHP_SELF'], -11) != "console.php") {
    exit;
} else {
    $memberInfo = $member->get_info_filtered();
    $consoleObj->select($_GET['cID']);
    if (!$member->hasAccess($consoleObj)) {
        exit;
    }
}
$cID = $_GET['cID'];
$socialObj = new Social($mysqli);
$objManageList = new btOrderManageList($socialObj);
$objManageList->strMainListLink = BASE_DIRECTORY . "members/include/social/include/main.php";
if ($_GET['sID'] != "" && $socialObj->select($_GET['sID']) && $_GET['action'] == "edit") {
    include "include/edit.php";
} elseif ($_GET['action'] == "delete" && $socialObj->select($_POST['itemID'])) {
    $socialInfo = $socialObj->get_info_filtered();
    $objManageList->strDeleteName = $socialInfo['name'];
    $objManageList->strDeletePostVarID = "sID";
} elseif ($_GET['action'] != "move") {
    include $objManageList->strMainListLink;
}