当前位置: 首页>>代码示例>>PHP>>正文


PHP members函数代码示例

本文整理汇总了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"])) {
开发者ID:articatech,项目名称:artica,代码行数:31,代码来源:squid.rdpproxy.php

示例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"/>
开发者ID:ZarinTasnim,项目名称:eventize,代码行数:31,代码来源:get_event.php

示例3: memberDropdown

function memberDropdown($member = '')
{
    return dropdown(members(), "member", $member);
}
开发者ID:showermat,项目名称:gree-c-web,代码行数:4,代码来源:utility.php

示例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;}
	
	
开发者ID:rsd,项目名称:artica-1.5,代码行数:29,代码来源:postfix.viptrack.php

示例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. :(";
}
开发者ID:showermat,项目名称:gree-c-web,代码行数:17,代码来源:requestAbsencePage.php

示例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&amp;d=mm" width="200" height="200" />
                            </div>
                            <div class="member__content">
                                <div class="byline">
                                    <h3>
                                    <?php 
    if (isset($member['business']) && $member['business'] == 1) {
        ?>
开发者ID:amillionmonkeys,项目名称:perchd,代码行数:31,代码来源:perchers.php


注:本文中的members函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。