+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-01-22 01:23:45
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/badAction.html" */ ?>
-<?php /*%%SmartyHeaderCode:105358588254c05121d677a6-75784395%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '06926788f51c1a5a54be2a368556f9c37e2780da' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/badAction.html',
- 1 => 1421691086,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '105358588254c05121d677a6-75784395',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'errorMsg' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05121d71ab3_37928404',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05121d71ab3_37928404')) {function content_54c05121d71ab3_37928404($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/error/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <h2>Sorry, we've had an error.</h2>
-
- <p><b>Error: </b>: An invalid action has been specified.</p>
-
- <?php if ($_smarty_tpl->tpl_vars['errorMsg']->value) {?><p><?php echo $_smarty_tpl->tpl_vars['errorMsg']->value;?>
-</p><?php }?>
-
- <p>Please try again. If you still get the same error, contact Gaslight Media at 231-487-0692 for assistance.</p>
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-07-13 15:52:12
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/index.html" */ ?>
-<?php /*%%SmartyHeaderCode:43313958054c05ab60b0587-71987387%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '081a36d97cdf30d438a1e104c26a275acc180da0' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/index.html',
- 1 => 1435675689,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '43313958054c05ab60b0587-71987387',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05ab60bb1c1_03470573',
- 'variables' =>
- array (
- 'haveMemberTypes' => 0,
- 'thisURL' => 0,
- 'haveCategories' => 0,
- 'haveAccommodationTypes' => 0,
- 'haveAmenities' => 0,
- 'haveCities' => 0,
- 'haveRegions' => 0,
- 'numbMembers' => 0,
- 'membersPending' => 0,
- 'pendingList' => 0,
- 'i' => 0,
- 'p' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05ab60bb1c1_03470573')) {function content_54c05ab60bb1c1_03470573($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/members/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <h2>Main Dashboard</h2>
-
- <table class="glm-admin-table">
-<?php if (!$_smarty_tpl->tpl_vars['haveMemberTypes']->value) {?>
- <tr>
- <th class="glm-error">You do not have any Member Types setup.</th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=index">Click here to add Member Types.</a></td>
- </tr>
-<?php }?>
-<?php if (!$_smarty_tpl->tpl_vars['haveCategories']->value) {?>
- <tr>
- <th><span class="glm-error">You do not have any Member Categories setup.</span></th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=categories">Click here to add Member Categories.</a></td>
- </tr>
-<?php }?>
-<?php if (!$_smarty_tpl->tpl_vars['haveAccommodationTypes']->value) {?>
- <tr>
- <th><span class="glm-error">You do not have any Accommodation Types setup.</span></th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=accommodationTypes">Click here to add Accommodation Types.</a></td>
- </tr>
-<?php }?>
-<?php if (!$_smarty_tpl->tpl_vars['haveAmenities']->value) {?>
- <tr>
- <th><span class="glm-error">You do not have any Amenities setup.</span></th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=amenities">Click here to add Amenities.</a></td>
- </tr>
-<?php }?>
-<?php if (!$_smarty_tpl->tpl_vars['haveCities']->value) {?>
- <tr>
- <th><span class="glm-error">You do not have any Cities setup.</span></th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=cities">Click here to add Cities.</a></td>
- </tr>
-<?php }?>
-<?php if (!$_smarty_tpl->tpl_vars['haveRegions']->value) {?>
- <tr>
- <th><span class="glm-error">You do not have any Regions setup.</span></th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=regions">Click here to add Regions.</a></td>
- </tr>
-<?php }?>
-<?php if ($_smarty_tpl->tpl_vars['numbMembers']->value==0) {?>
- <tr><td colspan="2"> </td></tr>
- <tr>
- <th> <span class="glm-error">You do not have any members listed.</span></th>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-member&glm_action=index&member_id=">Click here to create your first member.</a></td>
- </tr>
-<?php }?>
- </table>
-
- <table class="glm-admin-table">
- <tr><th>Number of Members Listed: </th><td><?php echo $_smarty_tpl->tpl_vars['numbMembers']->value;?>
-</td></tr>
- <tr>
- <th<?php if ($_smarty_tpl->tpl_vars['membersPending']->value) {?> class="glm-notice"<?php }?>>Pending Member Information: </th><td><?php echo $_smarty_tpl->tpl_vars['membersPending']->value;?>
-</td>
- </tr>
- </table>
-
-<?php if ($_smarty_tpl->tpl_vars['membersPending']->value) {?>
- <h2>Pending Member Information</h2>
-
- <table class="wp-list-table widefat fixed posts glm-admin-table"">
- <thead>
- <tr>
- <th>Member Name</th>
- <th>Last Updated</th>
- <th>Reference Name</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
- <?php if (isset($_smarty_tpl->tpl_vars["i"])) {$_smarty_tpl->tpl_vars["i"] = clone $_smarty_tpl->tpl_vars["i"];
-$_smarty_tpl->tpl_vars["i"]->value = "0"; $_smarty_tpl->tpl_vars["i"]->nocache = null; $_smarty_tpl->tpl_vars["i"]->scope = 0;
-} else $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("0", null, 0);?>
- <?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['p']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['pendingList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['p']->key => $_smarty_tpl->tpl_vars['p']->value) {
-$_smarty_tpl->tpl_vars['p']->_loop = true;
-?>
- <?php if ((1 & $_smarty_tpl->tpl_vars['i']->value++ / 1)) {?>
- <tr>
- <?php } else { ?>
- <tr class="alternate">
- <?php }?>
- <td>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-member&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['p']->value['member_pointer'];?>
-&id=<?php echo $_smarty_tpl->tpl_vars['p']->value['id'];?>
-}"><?php echo $_smarty_tpl->tpl_vars['p']->value['member'];?>
-</a>
- </td>
- <td>
- <?php echo $_smarty_tpl->tpl_vars['p']->value['modify_time']['datetime'];?>
-
- </td>
- <td>
- <?php echo $_smarty_tpl->tpl_vars['p']->value['reference_name'];?>
-
- </td>
- <td>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-member&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['p']->value['member_pointer'];?>
-&id=<?php echo $_smarty_tpl->tpl_vars['p']->value['id'];?>
-}" class="button-primary glm-right">Manage</a>
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
-<?php }?>
-
-
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-03-10 11:24:16
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/header.html" */ ?>
-<?php /*%%SmartyHeaderCode:41614071154c05ab60be091-67045844%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '15f83071407dddb0b3c23ae1a70b66cefbd681db' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/header.html',
- 1 => 1426001053,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '41614071154c05ab60be091-67045844',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05ab60d1510_45219092',
- 'variables' =>
- array (
- 'thisURL' => 0,
- 'thisPage' => 0,
- 'thisAction' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05ab60d1510_45219092')) {function content_54c05ab60d1510_45219092($_smarty_tpl) {?><div class="wrap">
- <h2>Your Members</h2>
- <h2 class="nav-tab-wrapper">
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='index') {?>-active<?php }?>">Main Dashboard</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=list" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='list') {?>-active<?php }?>">List of Members</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='add') {?>-active<?php }?> disabled">Reports</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='edit') {?>-active<?php } else { ?> disabled<?php }?>">Or Something - perahps mailing stuff?</a>
- </h2>
- <div id="glm-admin-content-container">
- <?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-03-25 18:21:40
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/index.html" */ ?>
-<?php /*%%SmartyHeaderCode:94073808254c05abfc4adf1-45287000%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '1be35689c5d30d774f40ebc45e387f5f95c45e90' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/index.html',
- 1 => 1427321829,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '94073808254c05abfc4adf1-45287000',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05abfc64731_62067320',
- 'variables' =>
- array (
- 'haveMemberTypes' => 0,
- 'updated' => 0,
- 'haveMember' => 0,
- 'member' => 0,
- 'thisURL' => 0,
- 'thisPage' => 0,
- 'v' => 0,
- 'haveInfoRecords' => 0,
- 'memberID' => 0,
- 'showArchived' => 0,
- 'noActive' => 0,
- 'memberInfoRecords' => 0,
- 'i' => 0,
- 'm' => 0,
- 'statusPending' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05abfc64731_62067320')) {function content_54c05abfc64731_62067320($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/member/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-<?php if ($_smarty_tpl->tpl_vars['haveMemberTypes']->value) {?>
-
- <?php if ($_smarty_tpl->tpl_vars['updated']->value) {?>
- <h3 class="glm-notice glm-right">Record Updated</h3>
- <?php }?>
-
- <h2>
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['name'];?>
-
- <?php } else { ?>
- Add New Member
- <?php }?>
- </h2>
-
- <form action="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-" method="post" enctype="multipart/form-data">
- <input type="hidden" name="glm_action" value="index">
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <input type="hidden" name="option" value="submit">
- <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['id'];?>
-">
- <input type="hidden" name="created" value="<?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['created']['date'];?>
-">
- <?php } else { ?>
- <input type="hidden" name="option" value="addNew">
- <input type="hidden" name="created" value="today">
- <?php }?>
-
- <table class="glm-admin-table">
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?><tr><th>ID</th><td><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['id'];?>
-</td></tr><?php }?>
- <tr>
- <th <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldRequired']['name']) {?>class="glm-required"<?php }?>>Member Name:</th>
- <td <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['name']) {?>class="glm-form-bad-input"<?php }?>>
- <input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['name'];?>
-" class="glm-form-text-input">
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['name']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['name'];?>
-</p><?php }?>
- </td>
- </tr>
- <tr>
- <th <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldRequired']['access']) {?>class="glm-required"<?php }?>>Access:</th>
- <td <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['access']) {?>class="glm-form-bad-input"<?php }?>>
- <select name="access">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['member']->value['fieldData']['access']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['value'];?>
-"<?php if ($_smarty_tpl->tpl_vars['v']->value['default']) {?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['access']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['access'];?>
-</p><?php }?>
- </td>
- </tr>
- <tr>
- <th <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldRequired']['member_type']) {?>class="glm-required"<?php }?>>Member Type:</th>
- <td <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['member_type']) {?>class="glm-form-bad-input"<?php }?>>
- <select name="member_type">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['member']->value['fieldData']['member_type']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['value'];?>
-"<?php if ($_smarty_tpl->tpl_vars['v']->value['default']) {?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['member_type']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['member_type'];?>
-</p><?php }?>
- </td>
- </tr>
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <tr><th>Date created:</th><td><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['created']['date'];?>
-</td></tr>
- <?php }?>
-
- </table>
- <p><span class="glm-required">*</span> Required</p>
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <input type="submit" value="Update member">
- <?php } else { ?>
- <input type="submit" value="Add new member">
- <?php }?>
- </form>
-
- <p> </p>
-
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <?php if ($_smarty_tpl->tpl_vars['haveInfoRecords']->value) {?>
-
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-" class="button-primary glm-button glm-right">Add New Member Information Version</a>
-
- <h3>Member Information Versions</h3>
-
- <span class="glm-right">
- <p>
- <input type="checkbox" id="showArchived"<?php if ($_smarty_tpl->tpl_vars['showArchived']->value) {?> checked="checked"<?php }?>> Show archived information
- </p>
- </span>
-
- <?php if ($_smarty_tpl->tpl_vars['noActive']->value) {?>
- <h3 class="glm-error">There is no active information for this member.</h3>
- <?php }?>
-
- <table class="wp-list-table widefat fixed posts glm-admin-table"">
- <thead>
- <tr>
- <th>Access</th>
- <th>Reference Name</th>
- <th>Created</th>
- <th>Last Update</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
- <?php if (isset($_smarty_tpl->tpl_vars["i"])) {$_smarty_tpl->tpl_vars["i"] = clone $_smarty_tpl->tpl_vars["i"];
-$_smarty_tpl->tpl_vars["i"]->value = "0"; $_smarty_tpl->tpl_vars["i"]->nocache = null; $_smarty_tpl->tpl_vars["i"]->scope = 0;
-} else $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("0", null, 0);?>
- <?php $_smarty_tpl->tpl_vars['m'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['m']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['memberInfoRecords']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['m']->key => $_smarty_tpl->tpl_vars['m']->value) {
-$_smarty_tpl->tpl_vars['m']->_loop = true;
-?>
- <?php if ((1 & $_smarty_tpl->tpl_vars['i']->value++ / 1)) {?>
- <tr>
- <?php } else { ?>
- <tr class="alternate<?php if ($_smarty_tpl->tpl_vars['m']->value['status']['name']=='Active') {?> glm-admin-table-active<?php }?>">
- <?php }?>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-&id=<?php echo $_smarty_tpl->tpl_vars['m']->value['id'];?>
-"<?php if ($_smarty_tpl->tpl_vars['m']->value['status']['value']==$_smarty_tpl->tpl_vars['statusPending']->value) {?> class="glm-notice"<?php }?>><?php echo $_smarty_tpl->tpl_vars['m']->value['status']['name'];?>
-</a></td>
- <td><?php echo $_smarty_tpl->tpl_vars['m']->value['reference_name'];?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['m']->value['create_time']['datetime'];?>
-</td>
- <td><?php echo $_smarty_tpl->tpl_vars['m']->value['modify_time']['datetime'];?>
-</td>
- <td>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-&id=<?php echo $_smarty_tpl->tpl_vars['m']->value['id'];?>
-&option=clone" class="button-primary glm-right">Clone</a>
- <?php if ($_smarty_tpl->tpl_vars['m']->value['status']['name']!='Active') {?><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-&activateID=<?php echo $_smarty_tpl->tpl_vars['m']->value['id'];?>
-" class="button-primary glm-button glm-right">Activate</a><?php }?>
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- <?php } else { ?>
- <h3 class="glm-notice">You do not yet have any member information entered.</h3>
- <p><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-">Click here too start entering information for this member.</a></p>
- <?php }?>
- <?php }?>
-
-<?php } else { ?>
- <h3 class="glm-error">You do not have any Member Types setup.</h3>
- <p>You must have at least one Member Type to add a new member.</p>
- <td><a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-configure&glm_action=memberTypes">Click here to add Member Types.</a></td>
-<?php }?>
-
- <?php echo '<script'; ?>
- type="text/javascript">
- jQuery(document).ready(function($) {
-
- $('#showArchived').click( function() {
- checked = 'false';
- if ($(this).attr('checked') == 'checked') {
- checked = 'true';
- }
- window.location.replace("<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-&showArchived=" + checked);
- });
-
- });
- <?php echo '</script'; ?>
->
-
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-01-27 09:22:21
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/member.html" */ ?>
-<?php /*%%SmartyHeaderCode:101324643954c05ab3f0e228-27454872%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '25c8610e0e0bacafec3046a296066e9f8eceedae' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/member.html',
- 1 => 1422350538,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '101324643954c05ab3f0e228-27454872',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05ab4009233_84144294',
- 'variables' =>
- array (
- 'haveMember' => 0,
- 'thisURL' => 0,
- 'thisPage' => 0,
- 'member' => 0,
- 'v' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05ab4009233_84144294')) {function content_54c05ab4009233_84144294($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/member/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <p>Note: Members will not have access to this tab.</p>
-
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <h2>Edit Member</h2>
- <?php } else { ?>
- <h2>Add New Member</h2>
- <?php }?>
-
- <form action="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-" method="post" enctype="multipart/form-data">
- <input type="hidden" name="glm_action" value="member">
- <?php if ($_smarty_tpl->tpl_vars['haveMember']->value) {?>
- <input type="hidden" name="option" value="submit">
- <input type="hidden" name="member_id" value="<?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['id'];?>
-">
- <?php } else { ?>
- <input type="hidden" name="option" value="addNew">
- <?php }?>
-
- <table class="glm-admin-table">
- <tr>
- <th <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldRequired']['name']) {?>class="glm-required"<?php }?>>Member Name:</th>
- <td <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['name']) {?>class="glm-form-bad-input"<?php }?>>
- <input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['name'];?>
-" class="glm-form-text-input">
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['name']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['name'];?>
-</p><?php }?>
- </td>
- </tr>
- <tr>
- <th>Status:</th>
- <td>
- <select name="status">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['member']->value['fieldData']['status']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['value'];?>
-"<?php if ($_smarty_tpl->tpl_vars['v']->value['default']) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['status']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['status'];?>
-</p><?php }?>
- </td>
- </tr>
- <tr>
- <th>Member Type:</th>
- <td>
- <select name="member_type">
- <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['member']->value['fieldData']['member_type']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
-$_smarty_tpl->tpl_vars['v']->_loop = true;
-?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['value'];?>
-"<?php if ($_smarty_tpl->tpl_vars['v']->value['default']) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
-</option>
- <?php } ?>
- </select>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['member_type']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['member_type'];?>
-</p><?php }?>
- </td>
- </tr>
- <tr>
- <th <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldRequired']['descr']) {?>class="glm-required"<?php }?>>Description:</th>
- <td <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['descr']) {?>class="glm-form-bad-input"<?php }?>>
- <textarea name="descr" class="glm-form-textarea"><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['descr'];?>
-</textarea>
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['descr']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['descr'];?>
-</p><?php }?>
- </td>
- </tr>
- <tr>
- <th <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldRequired']['short_descr']) {?>class="glm-required"<?php }?>>Short Description:</th>
- <td <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['short_descr']) {?>class="glm-form-bad-input"<?php }?>>
- <input type="text" name="short_descr" value="<?php echo $_smarty_tpl->tpl_vars['member']->value['fieldData']['short_descr'];?>
-" class="glm-form-text-input">
- <?php if ($_smarty_tpl->tpl_vars['member']->value['fieldFail']['short_descr']) {?><p><?php echo $_smarty_tpl->tpl_vars['member']->value['fieldFail']['short_descr'];?>
-</p><?php }?>
- </td>
- </tr>
-
-
- </table>
- <p><span class="glm-required">*</span> Required</p>
- <input type="submit" name="Add new member">
- </form>
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-06-03 13:48:24
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/configure/header.html" */ ?>
-<?php /*%%SmartyHeaderCode:124095827254c0496da79607-59867625%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '3ec5bcbe581d6335e06bc6c9474f73121a83d59b' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/configure/header.html',
- 1 => 1433353557,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '124095827254c0496da79607-59867625',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c0496da89482_99477612',
- 'variables' =>
- array (
- 'glmPluginName' => 0,
- 'thisURL' => 0,
- 'thisPage' => 0,
- 'thisAction' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c0496da89482_99477612')) {function content_54c0496da89482_99477612($_smarty_tpl) {?><div class="wrap">
-
- <h2><?php echo $_smarty_tpl->tpl_vars['glmPluginName']->value;?>
- Configuration</h2>
-
- <h2 class="nav-tab-wrapper">
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='index') {?>-active<?php }?>">Member Types</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=categories" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='categories') {?>-active<?php }?>">Member Categories</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=accommodationTypes" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='accommodationTypes') {?>-active<?php }?>">Accommodation Types</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=amenities" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='amenities') {?>-active<?php }?>">Amenities</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=cities" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='cities') {?>-active<?php }?>">Cities</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=regions" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='regions') {?>-active<?php }?>">Regions</a>
- </h2>
- <div id="glm-admin-content-container">
- <?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-07-14 09:45:25
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/configure/index.html" */ ?>
-<?php /*%%SmartyHeaderCode:135960089454c0496da6c5c6-30692976%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '47fb9b803e7138d215645f3c977b0b1dc2a9e718' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/configure/index.html',
- 1 => 1435675689,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '135960089454c0496da6c5c6-30692976',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c0496da75c57_83289225',
- 'variables' =>
- array (
- 'thisURL' => 0,
- 'thisPage' => 0,
- 'haveMemberTypes' => 0,
- 'memberTypes' => 0,
- 'i' => 0,
- 't' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c0496da75c57_83289225')) {function content_54c0496da75c57_83289225($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/configure/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <!-- Add Member Type Button and Dialog Box -->
- <div id="newMemberTypeButton" class="button-primary glm-right">Add a Member Type</div>
- <div id="newMemberTypeDialog" class="glm-dialog-box" title="Enter New Member Type">
- <form action="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-" method="post" enctype="multipart/form-data">
- <input type="hidden" name="glm_action" value="index">
- <input type="hidden" name="option" value="addNew">
-
- <table class="glm-admin-table">
- <tr>
- <th class="glm-required">Member Type Name:</th>
- <td>
- <input type="text" name="name" class="glm-form-text-input">
- </td>
- </tr>
- <tr>
- <th>Description:</th>
- <td>
- <textarea name="descr" class="glm-form-textarea"></textarea>
- </td>
- </tr>
- </table>
- <p><span class="glm-required">*</span> Required</p>
- <a id="newMemberTypeCancel" class="button-primary glm-right">Cancel</a>
- <input type="submit" value="Add new member type" class="button-primary">
- </form>
- </div>
-
- <!-- Delete Member Dialog Box -->
- <div id="deleteMemberTypeDialog" class="glm-dialog-box" title="Delete Member Type">
- <center>
- <p>Are you sure you want to delete this member type?</p>
- <p><div id="deleteMemberTypeConfirm" class="button-primary">Yes, delete this member type</div></p>
- <p><div id="deleteMemberTypeCancel" class="button-primary">Cancel</div></p>
- </center>
- </div>
-
- <!-- Edit Member Type Dialog Box -->
- <div id="editMemberTypeDialog" class="glm-dialog-box" title="Edit Member Type">
- <form action="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-" method="post" enctype="multipart/form-data">
- <input type="hidden" name="glm_action" value="index">
- <input type="hidden" name="option" value="update">
- <input id="editMemberTypeID" type="hidden" name="id" value="">
- <table class="glm-admin-table">
- <tr>
- <th class="glm-required">Member Type Name:</th>
- <td>
- <input id="editMemberTypeName" type="text" name="name" class="glm-form-text-input">
- </td>
- </tr>
- <tr>
- <th>Description:</th>
- <td>
- <textarea id="editMemberTypeDescr" name="descr" class="glm-form-textarea"></textarea>
- </td>
- </tr>
- </table>
- <p><span class="glm-required">*</span> Required</p>
- <a id="editMemberTypeCancel" class="button-primary glm-right">Cancel</a>
- <input type="submit" value="Update this member type">
- </form>
- </div>
-
- <h2>Member Types</h2>
-
- <table class="wp-list-table widefat fixed posts glm-admin-table">
- <thead>
- <tr>
- <th>Member Type</th>
- <th>Description</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
-<?php if ($_smarty_tpl->tpl_vars['haveMemberTypes']->value) {?>
- <?php if (isset($_smarty_tpl->tpl_vars["i"])) {$_smarty_tpl->tpl_vars["i"] = clone $_smarty_tpl->tpl_vars["i"];
-$_smarty_tpl->tpl_vars["i"]->value = "0"; $_smarty_tpl->tpl_vars["i"]->nocache = null; $_smarty_tpl->tpl_vars["i"]->scope = 0;
-} else $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("0", null, 0);?>
- <?php $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['t']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['memberTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value) {
-$_smarty_tpl->tpl_vars['t']->_loop = true;
-?>
- <?php if ((1 & $_smarty_tpl->tpl_vars['i']->value++ / 1)) {?>
- <tr>
- <?php } else { ?>
- <tr class="alternate">
- <?php }?>
- <td>
- <a class="editMemberType" data-memberTypeID="<?php echo $_smarty_tpl->tpl_vars['t']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['t']->value['name'];?>
-</a>
- </td>
- <td id="editMemberTypeDescr_<?php echo $_smarty_tpl->tpl_vars['t']->value['id'];?>
-">
- <?php echo $_smarty_tpl->tpl_vars['t']->value['descr'];?>
-
- </td>
- <td>
- <div class="deleteMemberTypeButton button-primary glm-right" data-memberTypeID="<?php echo $_smarty_tpl->tpl_vars['t']->value['id'];?>
-">Delete</div>
- </td>
- </tr>
- <?php } ?>
-<?php } else { ?>
- <tr class="alternate"><td colspan="2">(no member types listed)</td></tr>
-<?php }?>
- </tbody>
- </table>
-
- <?php echo '<script'; ?>
- type="text/javascript">
- jQuery(document).ready(function($) {
-
- $("#newMemberTypeDialog").dialog({
- autoOpen: false,
- minWidth: 400,
- dialogClass: "glm-dialog-no-close"
- });
- $("#editMemberTypeDialog").dialog({
- autoOpen: false,
- minWidth: 400,
- dialogClass: "glm-dialog-no-close"
- });
- $("#deleteMemberTypeDialog").dialog({
- autoOpen: false,
- minWidth: 400,
- dialogClass: "glm-dialog-no-close"
- });
-
- $('#newMemberTypeButton').click( function() {
- $("#newMemberTypeDialog").dialog("open");
- });
- $('.editMemberType').click( function() {
- var typeID = $(this).attr('data-memberTypeID');
- var typeName = $(this).text();
- var typeDescr = $('#editMemberTypeDescr_' + typeID).html();
- $('#editMemberTypeID').val(typeID);
- $('#editMemberTypeName').val(typeName.trim());
- $('#editMemberTypeDescr').val(typeDescr.trim());
- $("#editMemberTypeDialog").dialog("open");
- });
- $('#editMemberTypeCancel').click( function() {
- $("#editMemberTypeDialog").dialog("close");
- });
- $('#newMemberTypeCancel').click( function() {
- $("#newMemberTypeDialog").dialog("close");
- });
-
- var id = false;
- $('.deleteMemberTypeButton').click( function() {
- id = $(this).attr('data-memberTypeID');
- $("#deleteMemberTypeDialog").dialog("open");
- });
- $('#deleteMemberTypeConfirm').click( function() {
- $("#deleteMemberTypeDialog").dialog("close");
- window.location.href = "<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index&option=delete&id=" + id;
- });
- $('#deleteMemberTypeCancel').click( function() {
- $("#deleteMemberTypeDialog").dialog("close");
- });
-
- });
- <?php echo '</script'; ?>
->
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-05-06 17:03:14
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/list.html" */ ?>
-<?php /*%%SmartyHeaderCode:33593880254c05ab8e362a8-88978550%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '4c287ca0e4946b3d644e61950c851e98e8906d49' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/members/list.html',
- 1 => 1430858868,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '33593880254c05ab8e362a8-88978550',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05ab8e47dd3_05464531',
- 'variables' =>
- array (
- 'haveFilter' => 0,
- 'filterArchived' => 0,
- 'filterPending' => 0,
- 'filterName' => 0,
- 'haveMembers' => 0,
- 'members' => 0,
- 'i' => 0,
- 'm' => 0,
- 'thisURL' => 0,
- 'thisPage' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05ab8e47dd3_05464531')) {function content_54c05ab8e47dd3_05464531($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/members/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <form class="glm-right" onSubmit="return false;">
- <span<?php if ($_smarty_tpl->tpl_vars['haveFilter']->value) {?> class="glm-notice"<?php }?>><b>List Filters:</b> </span>
- <span class="glm-item-container"><input type="checkbox" id="filterArchived" class="listFilter"<?php if ($_smarty_tpl->tpl_vars['filterArchived']->value) {?> checked<?php }?>>Show Archived</span>
- <span class="glm-item-container"><input type="checkbox" id="filterPending" class="listFilter"<?php if ($_smarty_tpl->tpl_vars['filterPending']->value) {?> checked<?php }?>>Only show Pending Information</span>
- <span class="glm-item-container"><input type="text" id="filterName" class="listFilter" value="<?php echo $_smarty_tpl->tpl_vars['filterName']->value;?>
-"> Search</span>
- </form>
-
- <h2>List of Members</h2>
-
- <table class="wp-list-table widefat fixed posts glm-admin-table">
- <thead>
- <tr>
- <th>ID</th>
- <th>Member Name</th>
- <th>Access</th>
- <th>Member Type</th>
- <th>Date Created</th>
- <th>Pending</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
-<?php if ($_smarty_tpl->tpl_vars['haveMembers']->value) {?>
- <?php if (isset($_smarty_tpl->tpl_vars["i"])) {$_smarty_tpl->tpl_vars["i"] = clone $_smarty_tpl->tpl_vars["i"];
-$_smarty_tpl->tpl_vars["i"]->value = "0"; $_smarty_tpl->tpl_vars["i"]->nocache = null; $_smarty_tpl->tpl_vars["i"]->scope = 0;
-} else $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("0", null, 0);?>
- <?php $_smarty_tpl->tpl_vars['m'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['m']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['members']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
-foreach ($_from as $_smarty_tpl->tpl_vars['m']->key => $_smarty_tpl->tpl_vars['m']->value) {
-$_smarty_tpl->tpl_vars['m']->_loop = true;
-?>
- <?php if ((1 & $_smarty_tpl->tpl_vars['i']->value++ / 1)) {?>
- <tr>
- <?php } else { ?>
- <tr class="alternate">
- <?php }?>
- <td>
- <?php echo $_smarty_tpl->tpl_vars['m']->value['id'];?>
-
- </td>
- <td>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-member&glm_action=index&member=<?php echo $_smarty_tpl->tpl_vars['m']->value['id'];?>
-"><?php echo $_smarty_tpl->tpl_vars['m']->value['name'];?>
-</a>
- </td>
- <td>
- <?php echo $_smarty_tpl->tpl_vars['m']->value['access']['name'];?>
-
- </td>
- <td>
- <?php echo $_smarty_tpl->tpl_vars['m']->value['member_type']['name'];?>
-
- </td>
- <td>
- <?php echo $_smarty_tpl->tpl_vars['m']->value['created']['date'];?>
-
- </td>
- <td>
- <?php if ($_smarty_tpl->tpl_vars['m']->value['pending']>0) {?><span class="glm-notice">Pending</span><?php }?>
- </td>
- <td>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=glm-members-admin-menu-member&glm_action=index&member=<?php echo $_smarty_tpl->tpl_vars['m']->value['id'];?>
-" class="button-primary glm-right">Manage</a>
- </td>
- </tr>
- <?php } ?>
-<?php } else { ?>
- <tr class="alternate"><td colspan="2">(no members listed)</td></tr>
-<?php }?>
- </tbody>
- </table>
-
- <?php echo '<script'; ?>
- type="text/javascript">
- jQuery(document).ready(function($) {
-
- // Filter triggers
- $(".listFilter" ).change( function() {
-
- var filter = '';
-
- // Check for archived filter
- if ($("#filterArchived").attr('checked')) {
- filter += '&filterArchived=true';
- }
-
- // Check for pending data filter
- if ($("#filterPending").attr('checked')) {
- filter += '&filterPending=true';
- }
-
- // Check for member name filter
- var filterName = $("#filterName").val();
- if (filterName != '') {
- filter += '&filterName=' + encodeURIComponent(filterName).replace(/%20/g,'+');
- }
-
- window.location.href = "<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=list" + filter;
-
- return false;
- });
- });
- <?php echo '</script'; ?>
->
-
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-01-22 00:50:53
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/footer.html" */ ?>
-<?php /*%%SmartyHeaderCode:186248802254c0496da8b546-87847278%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '50e78f1400d6db96c588c737669426ab57397d1d' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/footer.html',
- 1 => 1421691086,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '186248802254c0496da8b546-87847278',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'glmPluginName' => 0,
- 'thisYear' => 0,
- 'adminDebug' => 0,
- 'thisURL' => 0,
- 'thisPage' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c0496da905b3_89352768',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c0496da905b3_89352768')) {function content_54c0496da905b3_89352768($_smarty_tpl) {?>
- </div> <!-- / admin content area -->
- <div class="glm-copyright">
- <?php echo $_smarty_tpl->tpl_vars['glmPluginName']->value;?>
-<br>
- Copyright © 2014-<?php echo $_smarty_tpl->tpl_vars['thisYear']->value;?>
- Gaslight Media - All Rights Reserved<br>
- Phone: 231-487-0692 - E-Mail: info@gaslightmedia.com<br>
- <a href="http://www.gaslightmedia.com">http://www.gaslightmedia.com</a>
- </div>
-
- <?php if ($_smarty_tpl->tpl_vars['adminDebug']->value) {?>
- <?php echo '<script'; ?>
->
- window.open('<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glmDebugWindow=true','GLM_Plugin_Debug','width=800,height=800,left=50,top=50,resizable=yes,scrollbars=yes');
- <?php echo '</script'; ?>
->
- <?php }?>
-
-</div> <!-- / wrap --><?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-06-13 11:33:11
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/index.html" */ ?>
-<?php /*%%SmartyHeaderCode:74342921254c086b3b0af86-22635380%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '60cbe99d19bbec013cbca4d9344f2fd4a4152f52' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/index.html',
- 1 => 1434209562,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '74342921254c086b3b0af86-22635380',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c086b3b1dd65_92948708',
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c086b3b1dd65_92948708')) {function content_54c086b3b1dd65_92948708($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('admin/error/header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <center>
-
- <h3>Sorry, we've had some type of fatal error.</h3>
-
- <p>Please try again. If you still get the same error, contact Gaslight Media at 231-487-0692 for assistance.</p>
-
- </center>
-
-<?php echo $_smarty_tpl->getSubTemplate ('admin/footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-01-22 01:23:45
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/header.html" */ ?>
-<?php /*%%SmartyHeaderCode:66908105654c05121d74c63-58046810%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '6b21e44674b437b1c7d4844f49a7ab41316a5694' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/error/header.html',
- 1 => 1421691086,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '66908105654c05121d74c63-58046810',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'glmPluginName' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05121d76603_49097204',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05121d76603_49097204')) {function content_54c05121d76603_49097204($_smarty_tpl) {?><div class="wrap">
-
- <h2><?php echo $_smarty_tpl->tpl_vars['glmPluginName']->value;?>
-</h2>
-
- <?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-03-10 11:23:47
- compiled from "/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/header.html" */ ?>
-<?php /*%%SmartyHeaderCode:145413007654c05ab400d0a2-83797817%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'c74bd17240f8892f8955e8bedbedd434341aeca9' =>
- array (
- 0 => '/var/www/server/wordpress/wp-content/plugins/glm-member-db/views/admin/member/header.html',
- 1 => 1426001022,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '145413007654c05ab400d0a2-83797817',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_54c05ab4030650_34922061',
- 'variables' =>
- array (
- 'thisURL' => 0,
- 'thisPage' => 0,
- 'memberID' => 0,
- 'thisAction' => 0,
- 'memberInfoID' => 0,
- 'haveMember' => 0,
- 'haveMemberInfo' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_54c05ab4030650_34922061')) {function content_54c05ab4030650_34922061($_smarty_tpl) {?><div class="wrap">
-
- <h2>Member Data</h2>
-
- <h2 class="nav-tab-wrapper">
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=index&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='index') {?>-active<?php }?>">Member Dashboard</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=memberInfo&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-&id=<?php echo $_smarty_tpl->tpl_vars['memberInfoID']->value;?>
-" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='memberInfo') {?>-active<?php }?> <?php if (!$_smarty_tpl->tpl_vars['haveMember']->value||!$_smarty_tpl->tpl_vars['haveMemberInfo']->value) {?>disabled<?php }?>">Member Info</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=locations&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='locations') {?>-active<?php }?> <?php if (!$_smarty_tpl->tpl_vars['haveMember']->value||!$_smarty_tpl->tpl_vars['haveMemberInfo']->value) {?>disabled<?php }?>">Locations</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=facilities&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='facilities') {?>-active<?php }?> <?php if (!$_smarty_tpl->tpl_vars['haveMember']->value||!$_smarty_tpl->tpl_vars['haveMemberInfo']->value) {?>disabled<?php }?>">Facilities</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=attractions&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='attractions') {?>-active<?php }?> <?php if (!$_smarty_tpl->tpl_vars['haveMember']->value||!$_smarty_tpl->tpl_vars['haveMemberInfo']->value) {?>disabled<?php }?>">Attractions</a>
- <a href="<?php echo $_smarty_tpl->tpl_vars['thisURL']->value;?>
-?page=<?php echo $_smarty_tpl->tpl_vars['thisPage']->value;?>
-&glm_action=contacts&member=<?php echo $_smarty_tpl->tpl_vars['memberID']->value;?>
-" class="nav-tab<?php if ($_smarty_tpl->tpl_vars['thisAction']->value=='contacts') {?>-active<?php }?> <?php if (!$_smarty_tpl->tpl_vars['haveMember']->value||!$_smarty_tpl->tpl_vars['haveMemberInfo']->value) {?>disabled<?php }?>">Contacts</a>
- </h2>
- <div id="glm-admin-content-container">
-
- <?php }} ?>