Esempio n. 1
0
    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"])) {
Esempio n. 2
0
<?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"/>
Esempio n. 3
0
function memberDropdown($member = '')
{
    return dropdown(members(), "member", $member);
}
Esempio n. 4
0
	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;}
	
	
<?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. :(";
}
Esempio n. 6
0
}
$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) {
        ?>