本文整理汇总了PHP中Social::select方法的典型用法代码示例。如果您正苦于以下问题:PHP Social::select方法的具体用法?PHP Social::select怎么用?PHP Social::select使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Social
的用法示例。
在下文中一共展示了Social::select方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Social
* 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;
}