-<?php /* Smarty version Smarty-3.1.21-dev, created on 2016-09-15 17:00:27
+<?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 (
'424fa8075e980e0b540d7353dc3dee8a6603e49a' =>
array (
0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStats.html',
- 1 => 1473958725,
+ 1 => 1473963237,
2 => 'file',
),
),
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>
+ 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>
-<?php /* Smarty version Smarty-3.1.21-dev, created on 2016-09-15 14:39:55
+<?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 (
'5cc7f37bdbecb309b4681cb8d3e4e23f95a0d4cf' =>
array (
0 => '/var/www/server/discoverkalamazoo.com/wp-content/plugins/glm-serverstats/views/adminServerStatsConfig.html',
- 1 => 1473950391,
+ 1 => 1473968140,
2 => 'file',
),
),
'dbError' => 0,
'thisUrl' => 0,
'thisPage' => 0,
- 'active' => 0,
'db_name' => 0,
'db_host' => 0,
'db_user' => 0,
<!-- Settings for talking with the Bandwidth Database -->
<tr>
- <th>Enabled:</th>
- <td>
- <input type="checkbox" name="active"<?php if ($_smarty_tpl->tpl_vars['active']->value) {?> checked="checked"<?php }?>>
- </td>
- </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;?>
</tr>
<tr>
<th class="glm-required">Database Server Hostname:</th>
- <td>
+ <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>
+ <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>
+ <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>
+ <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'.
</tr>
<tr>
<th class="glm-required">Monthly Target Bandwidth:</th>
- <td>
+ <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.
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>
+ 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>
<!-- Settings for talking with the Bandwidth Database -->
<tr>
- <th>Enabled:</th>
- <td>
- <input type="checkbox" name="active"{if $active} checked="checked"{/if}>
- </td>
- </tr>
<th class="glm-required">Database Name:</th>
<td {if !$db_name}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
<input type="text" name="db_name" value="{$db_name}" class="glm-form-text-input-medium">
</tr>
<tr>
<th class="glm-required">Database Server Hostname:</th>
- <td>
+ <td {if !$db_host}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
<input type="text" name="db_host" value="{$db_host}" class="glm-form-text-input-medium">
</td>
</tr>
<tr>
<th class="glm-required">Database Username:</th>
- <td>
+ <td {if !$db_user}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
<input type="text" name="db_user" value="{$db_user}" class="glm-form-text-input-medium">
</td>
</tr>
<tr>
<th class="glm-required">Database Password:</th>
- <td>
+ <td {if !$db_pass}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
<input type="text" name="db_pass" value="{$db_pass}" class="glm-form-text-input-medium">
</td>
</tr>
<tr>
<th class="glm-required">Website Name:</th>
- <td>
+ <td {if !$website}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
<input type="text" name="website" value="{$website}" 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>
+ <td {if !$target}class="glm-form-bad-input glm-form-bad-input-misc"{/if}>
<input type="text" name="target" value="{$target}" class="glm-form-text-input-medium">
<br>Monthly target bandwidth is entered in Megabytes without any fractions.
</td>