--- /dev/null
+# Don't save smarty cache directories or files
+misc/smarty/**
+.project
+
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2016-09-15 19:14:37
- compiled from "/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStats.html" */ ?>
-<?php /*%%SmartyHeaderCode:110119019657d98b9ab16155-83023790%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '424fa8075e980e0b540d7353dc3dee8a6603e49a' =>
- array (
- 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStats.html',
- 1 => 1473963237,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '110119019657d98b9ab16155-83023790',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_57d98b9ab21d84_89078373',
- 'variables' =>
- array (
- 'serverStats' => 0,
- 'glmSiteTitle' => 0,
- 'thisDate' => 0,
- 'ajaxUrl' => 0,
- 'jsUrl' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_57d98b9ab21d84_89078373')) {function content_57d98b9ab21d84_89078373($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-<h2>
- Server Bandwidth
-</h2>
-<div style="width: 800px;">
- <p>
- <b>Server Bandwidth</b> is the amount of data sent and received by this Web site.
- </p><p>
- <b>Incoming</b> data (red) is related to requests to display a page on the site and any
- images or files uploaded, including in your administration area.
- </p><p>
- <b>Outgoing</b> data (green) is related to the pages sent to users of your site, including
- all images, and files requested by the site user and all information displayed while using
- your administration area.
- </p><p>
- <b>Total</b> data (blue) is the total of Incoming and Outgoing data and is the value used
- to set the <b>Target</b> bandwidth for billing purposes. The target bandwidth is per-month
- and is indicated as a dotted line on the "2 Years" graph included below.
- </p><p>
- Server Bandwidth is displayed below in <b>Megabytes</b> (Millions of bytes) and <b>Gigabytes</b>
- (Billions of bytes). A byte is roughly equivalent to one character.
- </p>
-
-</div>
-<p> </p>
-<table class="glm-admin-table" style="font-size: 1.5em;">
- <tr>
- <th>Today: </th>
- <td>
- <?php echo round($_smarty_tpl->tpl_vars['serverStats']->value['today']['data_total'],3);?>
- Megabytes<br>
- </td>
- </tr><tr>
- <th>This Month: </th>
- <td>
- <?php echo round($_smarty_tpl->tpl_vars['serverStats']->value['thisMonth']['data_total'],3);?>
- Gigabytes<br>
- </td>
- </tr><tr>
- <th>Last Month: </th>
- <td>
- <?php echo round($_smarty_tpl->tpl_vars['serverStats']->value['lastMonth']['data_total'],3);?>
- Gigabytes
- </td>
- </tr>
-</table>
-
-<div class="button button-secondary graph-print glm-right" data-areaToPrint="StatsPrintArea">Print</div>
-
-<!-- Server Bandwidth Stats -->
-<div style="width: 1100px;">
- <div id="StatsPrintArea" class="PrintArea" style="padding: 10px;">
- <center><h3><?php echo $_smarty_tpl->tpl_vars['glmSiteTitle']->value;?>
-</h3></center>
- <p>
- <span class="glm-right"><?php echo $_smarty_tpl->tpl_vars['thisDate']->value;?>
-</span>
- <span class="glm-left">Server Bandwidth Stats for Today by 10 Min Intervals - Megabytes</span>
- </p>
- <img src="<?php echo $_smarty_tpl->tpl_vars['ajaxUrl']->value;?>
-?action=glm_server_stats&glm_action=ajaxServerBandwidthGraphs&graphType=twoDay">
- <p>
- <span class="glm-right"><?php echo $_smarty_tpl->tpl_vars['thisDate']->value;?>
-</span>
- <span class="glm-left">Server Bandwidth Stats for last 2 Months by Day - Gigabytes</span>
- </p>
- <img src="<?php echo $_smarty_tpl->tpl_vars['ajaxUrl']->value;?>
-?action=glm_server_stats&glm_action=ajaxServerBandwidthGraphs&graphType=twoMonth">
- <p>
- <span class="glm-right"><?php echo $_smarty_tpl->tpl_vars['thisDate']->value;?>
-</span>
- <span class="glm-left">Server Bandwidth Stats for last 2 Years by Month - Gigabytes</span>
- </p>
- <img src="<?php echo $_smarty_tpl->tpl_vars['ajaxUrl']->value;?>
-?action=glm_server_stats&glm_action=ajaxServerBandwidthGraphs&graphType=twoYear">
- <center>Color Key: <span style="color: red;">Incoming</span>, <span style="color: green;">Outgoing</span>, <span style="color: blue;">Total</span></center>
- </div>
-</div>
-
-<?php echo '<script'; ?>
- src="<?php echo $_smarty_tpl->tpl_vars['jsUrl']->value;?>
-/PrintArea/jquery.PrintArea.js" type="text/JavaScript" language="javascript"><?php echo '</script'; ?>
->
-
-<?php echo '<script'; ?>
- type="text/javascript">
- jQuery(document).ready(function($) {
-
- $(".graph-print").click(function(){
- var areaToPrint = $(this).attr('data-areaToPrint');
- var position = $(this).offset();
- $('#' + areaToPrint).printArea({
- mode: 'popup', //printable window is either iframe or browser popup
- popHt: 1200, // popup window height
- popWd: 1200, // popup window width
- popX: 200, // popup window screen X position
- popY: 200, //popup window screen Y position
- popTitle: 'Graph Print Window', // popup window title element
- popClose: true, // popup window close after printing
- extraCss: '', // Comma separated list of extra css to include
- extraHead: '', // Comma separated list of extra elements to be appended to head tag
- strict: false // strict or looseTransitional html 4.01 document standard or undefined to not include at all only for popup option
- });
- });
-
- // Display selected graph dialog box
- $('.dialog-button').click( function() {
- $(".graph-dialog").dialog("close");
- var graph = $(this).attr('data-type');
- $('#' + graph).dialog("open");
- return false;
- });
-
- });
-<?php echo '</script'; ?>
->
-
-
-<?php echo $_smarty_tpl->getSubTemplate ('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 2016-09-15 19:35:46
- compiled from "/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsConfig.html" */ ?>
-<?php /*%%SmartyHeaderCode:8830363857d98e67f03272-04963035%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf' =>
- array (
- 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsConfig.html',
- 1 => 1473968140,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '8830363857d98e67f03272-04963035',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_57d98e67f0d528_24407775',
- 'variables' =>
- array (
- 'settingsUpdated' => 0,
- 'settingsUpdateError' => 0,
- 'dbError' => 0,
- 'thisUrl' => 0,
- 'thisPage' => 0,
- 'db_name' => 0,
- 'db_host' => 0,
- 'db_user' => 0,
- 'db_pass' => 0,
- 'website' => 0,
- 'target' => 0,
- ),
- 'has_nocache_code' => false,
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_57d98e67f0d528_24407775')) {function content_57d98e67f0d528_24407775($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
- <!-- Server Settings -->
- <div id="glm-table-serverstats-server" class="glm-settings-table">
-
- <?php if ($_smarty_tpl->tpl_vars['settingsUpdated']->value) {?><h2 class="glm-notice glm-flash-updated glm-right">Settings Updated</h2><?php }?>
- <?php if ($_smarty_tpl->tpl_vars['settingsUpdateError']->value) {?><span class="glm-error glm-flash-updated glm-right">Settings Update Error</span><?php }?>
-
- <?php if ($_smarty_tpl->tpl_vars['dbError']->value!='') {?>
- <h2 class="glm-error">Unable to test database connection!</h2>
- <p><b>Error reported:</b> <?php echo $_smarty_tpl->tpl_vars['dbError']->value;?>
-</p>
- <?php }?>
- <h2>Server Bandwidth Statistics Configuration</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="option" value="submit">
-
- <table class="glm-admin-table">
-
- <!-- Settings for talking with the Bandwidth Database -->
- <tr>
- <th class="glm-required">Database Name:</th>
- <td <?php if (!$_smarty_tpl->tpl_vars['db_name']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"<?php }?>>
- <input type="text" name="db_name" value="<?php echo $_smarty_tpl->tpl_vars['db_name']->value;?>
-" class="glm-form-text-input-medium">
- <?php if (!$_smarty_tpl->tpl_vars['db_name']->value) {?><p>Database Name not provided or invalid!</p><?php }?>
- </td>
- </tr>
- <tr>
- <th class="glm-required">Database Server Hostname:</th>
- <td <?php if (!$_smarty_tpl->tpl_vars['db_host']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"<?php }?>>
- <input type="text" name="db_host" value="<?php echo $_smarty_tpl->tpl_vars['db_host']->value;?>
-" class="glm-form-text-input-medium">
- </td>
- </tr>
- <tr>
- <th class="glm-required">Database Username:</th>
- <td <?php if (!$_smarty_tpl->tpl_vars['db_user']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"<?php }?>>
- <input type="text" name="db_user" value="<?php echo $_smarty_tpl->tpl_vars['db_user']->value;?>
-" class="glm-form-text-input-medium">
- </td>
- </tr>
- <tr>
- <th class="glm-required">Database Password:</th>
- <td <?php if (!$_smarty_tpl->tpl_vars['db_pass']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"<?php }?>>
- <input type="text" name="db_pass" value="<?php echo $_smarty_tpl->tpl_vars['db_pass']->value;?>
-" class="glm-form-text-input-medium">
- </td>
- </tr>
- <tr>
- <th class="glm-required">Website Name:</th>
- <td <?php if (!$_smarty_tpl->tpl_vars['website']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"<?php }?>>
- <input type="text" name="website" value="<?php echo $_smarty_tpl->tpl_vars['website']->value;?>
-" class="glm-form-text-input-medium">
- <br>This is the name of the Website as it's listed in the server stats database. Normally does not include 'www'.
- </td>
- </tr>
- <tr>
- <th class="glm-required">Monthly Target Bandwidth:</th>
- <td <?php if (!$_smarty_tpl->tpl_vars['target']->value) {?>class="glm-form-bad-input glm-form-bad-input-misc"<?php }?>>
- <input type="text" name="target" value="<?php echo $_smarty_tpl->tpl_vars['target']->value;?>
-" class="glm-form-text-input-medium">
- <br>Monthly target bandwidth is entered in Megabytes without any fractions.
- </td>
- </tr>
- </table>
- <input type="submit" value="Update Settings" class="button-primary">
- </form>
- </div>
- <?php echo '<script'; ?>
- type="text/javascript">
-
- jQuery(document).ready(function($) {
-
- // Flash certain elements for a short time after display
- $(".glm-flash-updated").fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500);
-
- });
- <?php echo '</script'; ?>
->
-
-
-<?php echo $_smarty_tpl->getSubTemplate ('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 2016-09-14 17:43:07
- compiled from "/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/footer.html" */ ?>
-<?php /*%%SmartyHeaderCode:148222961257d98c2b09f4c9-79658548%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '6520e3a746eb38303d33a7a0811e948cca0c2472' =>
- array (
- 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/footer.html',
- 1 => 1466006315,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '148222961257d98c2b09f4c9-79658548',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'glmPluginName' => 0,
- 'thisYear' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_57d98c2b0a3e49_68578719',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_57d98c2b0a3e49_68578719')) {function content_57d98c2b0a3e49_68578719($_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>
-
-
-</div> <!-- / wrap --><?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2016-09-14 17:42:33
- compiled from "/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/header.html" */ ?>
-<?php /*%%SmartyHeaderCode:36071800257d98c09f01770-19190258%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '9a9cab5b5e177e644dc570b445d05711f940888b' =>
- array (
- 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/header.html',
- 1 => 1473874943,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '36071800257d98c09f01770-19190258',
- 'function' =>
- array (
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_57d98c09f09e39_08069607',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_57d98c09f09e39_08069607')) {function content_57d98c09f09e39_08069607($_smarty_tpl) {?><div class="wrap">
-
- <div id="glm-admin-content-container">
-
-<?php }} ?>
+++ /dev/null
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2016-09-14 17:52:43
- compiled from "/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsAllSites.html" */ ?>
-<?php /*%%SmartyHeaderCode:75570888657d98e6b167525-09358684%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
-$_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'd5ca03ee0040131e1874111dbe0e154353afefb8' =>
- array (
- 0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsAllSites.html',
- 1 => 1473874977,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '75570888657d98e6b167525-09358684',
- 'function' =>
- array (
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.21-dev',
- 'unifunc' => 'content_57d98e6b16ea78_13002219',
-),false); /*/%%SmartyHeaderCode%%*/?>
-<?php if ($_valid && !is_callable('content_57d98e6b16ea78_13002219')) {function content_57d98e6b16ea78_13002219($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-
-All Stats
-
-<?php echo $_smarty_tpl->getSubTemplate ('footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
-
-<?php }} ?>