<nav id="primary"> <ul class="clearfix"> <li><?php echo g_anchor("../conferencerooms", "My Account"); ?> </li> <li><?php echo g_anchor("../conferencerooms", "Conference Rooms"); ?> </li> <li><?php echo g_anchor("../conferencerooms", "Help"); ?> </li> <li><?php echo g_anchor("../conferencerooms", "Agora"); ?> </li> </ul> </nav> <table> <thead> <tr><td><h1>Book a tank</h1></td></tr> <tr> <?php foreach ($spaces as $space) { ?> <td> <a onclick="$('.resources').hide(); $('.bookings').hide(); $('#resource-<?php echo $space->id; ?>
<?php foreach ($users as $user) { ?> <?php if ($user->last_sign_in == "") { $lastcheckin = "Never"; } else { $lastcheckin = format_date($user->last_sign_in, true); } ?> <tr id="item"> <td class="name"> <?php echo g_anchor("admin/usermanagement/viewprofile/" . $user->user_id, $user->name); ?> <?php if ($user->is_admin == 1) { echo "<sup>*</sup>"; } ?> <?php if ($user->company != "") { echo "<br><span class=\"company\">" . $user->company . "</span>"; } ?> </td> <td class="contactinfo"><?php echo $user->email_address;
<label for="capacity">Capacity</label> <?php echo form_input(array("id" => "capacity", "name" => "capacity", "value" => isset($location) ? $location->capacity : "")); ?> </li> <li> <?php echo form_hidden("is_closed", "0") . form_checkbox(array("id" => "is_closed", "name" => "is_closed", "value" => "1", "checked" => isset($location) ? $location->is_closed : 0)); ?> <?php echo form_label("Is closed?", "is_closed"); ?> </li> </ul> <div class="map"><?php echo g_anchor("http://maps.google.com/maps?q=" . urlencode(isset($location) ? $location->full_address : ""), "<img id=\"locationImage\" src=\"http://maps.google.com/maps/api/staticmap?center=" . urlencode(isset($location) ? $location->full_address : "") . "&zoom=15&size=340x200&sensor=false&markers=|" . urlencode(isset($location) ? $location->full_address : "") . "\" />"); ?> </div> </fieldset> <fieldset> <h3>Contact Information</h3> <ul> <li> <label for="addr_1">Address 1</label> <?php echo form_input(array("id" => "addr_1", "name" => "addr_1", "value" => isset($location) ? $location->addr_1 : "")); ?> </li> <li> <label for="addr_2">Address 2</label>
?> <?php if ($applicant->status_id == MembershipStatus::APPLICANT_AWAITING_APPROVAL || $applicant->status_id == MembershipStatus::APPLICANT_APPROVED) { ?> <?php echo g_anchor("/admin/applicantmanagement/denyApplicant/" . $applicant->id, "Deny", array('class' => 'applicantConfirm')); ?> <?php } ?> <?php $deleteaction = $status_chosen == MembershipStatus::APPLICANT_APPROVED ? "/members/profile/delete/" : "/admin/applicantmanagement/delete/"; echo g_anchor($deleteaction . $applicant->id, "Delete", array('class' => 'applicantConfirm')); ?> </td> </tr> <?php if ($applicant->why_me) { // they have why_me details ?> <tr id="<?php echo "detail" . $applicant->id; ?> " style="display:none"> <td colspan="7" class="expandedrow" id="details"><div id="why_me"><?php echo stripslashes($applicant->why_me); ?>
echo g_anchor("http://maps.google.com/maps?q=" . urlencode($location->full_address), "<img src=\"http://maps.google.com/maps/api/staticmap?center=" . urlencode($location->full_address) . "&zoom=15&size=200x150&sensor=false&markers=|" . urlencode($location->full_address) . "\" />"); ?> </div> </td> <td class="address"><?php echo $location->full_address_w_linebreaks; ?> </td> <td class="phone"><?php echo $location->phone; ?> </td> <td class="manager"><?php echo $location->manager; ?> </td> <td class="spaces"><?php echo g_anchor("/admin/locationmanagement/locationspaces/" . $location->id, "Manage spaces for " . $location->name); ?> </td> <td class="whoshere"><?php echo g_anchor("/admin/locationmanagement/whoshere/" . $location->id, "Check sign-ins"); ?> </td> </tr> <?php } ?> </tbody> </table>
echo $member_subnav_current == "Member Invite" ? "selected" : ""; ?> "><?php echo g_anchor("admin/usermanagement/invite", "Member Invite"); ?> </li> <li class="<?php echo $member_subnav_current == "Waitlist" ? "selected" : ""; ?> "><?php echo g_anchor("admin/usermanagement/waitlist", "Waitlist"); ?> </li> <li class="<?php echo $member_subnav_current == "Remove Member" ? "selected" : ""; ?> "><?php echo g_anchor("members/profile/delete", "Remove Member"); ?> </li> </ul> </nav> <?php } ?> <?php } ?> <div id="main" class="clearfix">
<tfoot> <tr> <td colspan="3">Total signed-in: <?php echo count($signedInMembers); ?> </td> </tr> </tfoot> <tbody> <?php foreach ($signedInMembers as $user) { ?> <tr> <td class="name"> <?php echo g_anchor("/admin/usermanagement/user/" . $user->id, $user->last_name . ", " . $user->first_name); ?> <?php if ($user->company != "") { echo "<div class=\"company\">" . $user->company . "</div>"; } ?> </td> <td class="date"><?php echo format_date($user->sign_in, true); ?> </td> <td class=""><?php echo $user->sign_in_method; ?>
?> <?php echo $subspace2->is_bookable ? anchor_popup($subspace2->calendar_link, img("/images/calendaricon.jpg")) : ""; ?> <?php if ($subspace2->spaces) { ?> <ul> <?php foreach ($subspace2->spaces as $subspace3) { ?> <li class="space"> <?php echo g_anchor("/admin/locationmanagement/locationspace/" . $location->id . "/" . $subspace3->id, $subspace3->name); ?> <?php echo $subspace3->is_bookable ? anchor_popup($subspace3->calendar_link, img("/images/calendaricon.jpg")) : ""; ?> <?php if ($subspace3->spaces) { ?> <?php // could hardcode another level in here... ?> <?php } ?> </li> <?php
<?php foreach ($users as $user) { ?> <?php if ($user->last_sign_in == "") { $lastcheckin = "Never"; } else { $lastcheckin = format_date($user->last_sign_in, true); } ?> <tr id="item"> <td class="name"> <?php echo g_anchor("admin/usermanagement/viewprofile/" . $user->id, $user->first_name . ' ' . $user->last_name); ?> <?php if ($user->is_admin == 1) { echo "<sup>*</sup>"; } ?> <?php if ($user->company != "") { echo "<br><span class=\"company\">" . $user->company . "</span>"; } ?> </td> <td class="contactinfo"><?php echo $user->email_address;
<?php if (isset($user)) { ?> <ul id="tabs" class="clearfix"> <li><?php echo g_anchor("/admin/usermanagement/user/" . $user->id, "Edit"); ?> </li> <li><?php echo g_anchor("/admin/usermanagement/usercheckins/" . $user->id, "Check-Ins"); ?> </li> <li class="current"><?php echo g_anchor("/admin/usermanagement/usercharges/" . $user->id, "Charges and Credits"); ?> </li> </ul> <?php } ?> <section id="checked-in"> <h2>Charges and Credits for <?php echo $user->first_name . " " . $user->last_name; ?> </span></h2> <table width="100%"> <tr> <th class="date">Date</th> <th class="description">Description</th>
<table width="100%"> <?php foreach ($issues as $issue) { ?> <tr> <td class="issue_type"><?php echo $issue->type; ?> </td> <td class="user_name"><?php echo $issue->user_name; ?> </td> <td class="message"><?php echo $issue->message; ?> </td> <td class="date"><?php echo Date_Difference::getString(new DateTime($issue->date)); ?> </td> </tr> <?php } ?> </table> <p class="see-all"><b><?php echo g_anchor("/admin/issuesmanagement/index", "See All"); ?> </b></p>
<header class="clearfix"> <aside> <ul> <li id="greeting"> <?php if (!isset($_SESSION)) { @session_start(); } if (!isset($_SESSION['wpuser'])) { ?> <a href="<?php echo ROOTMEMBERPATH; ?> wp-login.php">Log in now</a>. <?php } else { echo "Hello, " . $_SESSION['wpuser']["user_login"]; echo " <a href=\"/wp-login.php?action=logout\">Logout</a>"; } ?> </li> </ul> </aside> <div id="masthead"><?php echo g_anchor("admin/index", '<img src="' . site_url("ci/img/grind-frontdesk.png") . '" alt="grind FrontDesk" width="355" height="59">'); ?> </div> </header> <div id="main" class="clearfix">