本文整理汇总了PHP中members函数的典型用法代码示例。如果您正苦于以下问题:PHP members函数的具体用法?PHP members怎么用?PHP members使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了members函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tabs
exit;
}
if (isset($_GET["tabs"])) {
tabs();
exit;
}
if (isset($_GET["parameters"])) {
parameters();
exit;
}
if (isset($_POST["EnableRDPProxy"])) {
EnableRDPProxy();
exit;
}
if (isset($_GET["members"])) {
members();
exit;
}
if (isset($_GET["members-search"])) {
members_search();
exit;
}
if (isset($_GET["members-js"])) {
members_js();
exit;
}
if (isset($_GET["members-tabs"])) {
members_tabs();
exit;
}
if (isset($_GET["members-popup"])) {
示例2: session_start
<?php
require 'connection.php';
session_start();
$eid = $_GET['id'];
$event = get_event($eid);
$img = get_img($eid);
$mem = members($eid);
if (isset($_SESSION['username'])) {
$user = $_SESSION['username'];
} else {
$user = NULL;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<title>Eventize</title>
<link rel="stylesheet" type="text/css" href="assets/css/keyframes.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/pageTransitions.css">
<script src="assets/js/jquery.smoothState.js"></script>
<script src="asset/js/functions.js"></script>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="assets/js/materialize.js"></script>
<script src="assets/js/init.js"></script>
<style type="text/css">
</style>
<link href="assets/css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
示例3: memberDropdown
function memberDropdown($member = '')
{
return dropdown(members(), "member", $member);
}
示例4: usersMenus
include_once('ressources/class.templates.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.templates.inc');
include_once('ressources/class.ldap.inc');
$user=new usersMenus();
if($user->AsPostfixAdministrator==false){
$tpl=new templates();
echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
die();exit();
}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["status"])){status();exit;}
if(isset($_GET["members"])){members();exit;}
if(isset($_GET["members-add-popup"])){members_add_popup();exit;}
if(isset($_POST["members-save"])){members_add_save();exit;}
if(isset($_GET["members-list"])){members_list();exit;}
if(isset($_GET["members-delete"])){members_delete();exit;}
if(isset($_GET["members-enable"])){members_enable();exit;}
if(isset($_GET["EnableVIPTrack"])){EnableVIPTrackSave();exit;}
if(isset($_GET["VIPTrackLastHour"])){ScheduleVIPTrackSave();exit;}
if(isset($_GET["GenerateReportsNow"])){GenerateReportsNow();exit;}
if(isset($_GET["db-status"])){dbstatus();exit;}
示例5: mysql_fetch_array
<?php
require_once './functions.php';
if (isset($_POST['eventNo'])) {
$eventNo = $_POST["eventNo"];
//get the event name
$sql = "SELECT * FROM `event` WHERE eventNo={$eventNo};";
$event = mysql_fetch_array(mysql_query($sql));
$eventName = $event["name"];
//make a drop down of possible replacements
$sql = "SELECT * FROM `member`";
$result = mysql_query($sql);
$dropdown = dropdown(members("active"), "replacement");
echo "<div id='absenceRequestTable'>\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<td align='center' colspan='2'><b>Request Absence for " . $eventName . "</b></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>Replacement:</td>\n\t\t\t\t\t<td>" . $dropdown . "</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>Reason:</td>\n\t\t\t\t\t<td><input type='text' size='50' id='reason' /></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td><button type='button' onClick='loadDetails({$eventNo});'>Never Mind</button></td>\n\t\t\t\t\t<td><button type='button' id='submitAbsenceRequest'>Beg for Mercy</button></td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t</div>";
} else {
echo "It didn't work. :(";
}
示例6: perch_pages_title
}
$title = perch_pages_title(true);
perch_layout('header', ['title' => $title . ' | perch.io', 'description' => 'A list of fine and friendly folk who build stuff with Perch day-in-day-out']);
// perch_layout('homepage-header');
?>
<div class="outer-container">
<main class="main-body">
<h2 class="page-title"><?php
perch_content('Title');
?>
</h2>
<p>Below you can find a list of fine and friendly folk who build stuff with Perch day-in-day-out. If you're an agency looking for a front-ender to work on well structured client site, or a business looking for a partner on the web: there is a Percher waiting to hear from you!</p>
<ul class="members">
<?php
$members = members();
foreach ($members as $member) {
?>
<li class="member">
<div class="member__avatar ">
<img src="//www.gravatar.com/avatar/<?php
echo md5($member['memberEmail']);
?>
?s=200&d=mm" width="200" height="200" />
</div>
<div class="member__content">
<div class="byline">
<h3>
<?php
if (isset($member['business']) && $member['business'] == 1) {
?>