rendered paste body<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
exit;
if (!function_exists('generate_config_cache')) // If the file include/cache.php wasn't already included, include it now
require PUN_ROOT.'include/cache.php';
// Tell admin_loader.php that this is indeed a plugin and that it is loaded
define('PUN_PLUGIN_LOADED', 1);
generate_admin_menu($plugin);
$now = time();
print_r($pun_config)
?>
<div class="blockform">
<h2><span>Cash Mod</span></h2>
<div class="box">
<form method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">
<p class="submittop"><input type="submit" name="submit" value="Save changes" /></p>
<div class="inform">
<fieldset>
<legend>Donate</legend>
<div class="infldset">
<table class="aligntop" cellspacing="0">
<tr>
<th scope="row">Donate Enabled</th>
<td>
<input type="radio" name="donate_enabled" value="1"<?PHP if ($pun_config['o_shop_donate'] == 1) { echo ' checked="checked"'; } ?> /> <strong>Yes</strong> <input type="radio" name="donate_enabled" value="0"<?PHP if ($pun_config['o_shop_donate'] == 0) { echo ' checked="checked"'; } ?> /> <strong>No</strong>
<span>If selected Yes, users will have the option of donating.</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="inform">
<fieldset>
<legend>Title Change</legend>
<div class="infldset">
<table class="aligntop" cellspacing="0">
<tr>
<th scope="row">Title Change Enabled</th>
<td>
<input type="radio" name="title" value="1"<?PHP if ($pun_config['o_shop_title'] == 1) { echo ' checked="checked"'; } ?> /> <strong>Yes</strong> <input type="radio" name="title" value="0"<?PHP if ($pun_config['o_shop_title'] == 0) { echo ' checked="checked"'; } ?> /> <strong>No</strong>
<span>When set to Yes, users will have the option of changing there title.</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="inform">
<fieldset>
<legend>Other Persons Title</legend>
<div class="infldset">
<table class="aligntop" cellspacing="0">
<tr>
<th scope="row">Other Persons Title Enabled</th>
<td>
<input type="radio" name="other" value="1"<?PHP if ($pun_config['o_shop_othertitle'] == 1) { echo ' checked="checked"'; } ?> /> <strong>Yes</strong> <input type="radio" name="other" value="0"<?PHP if ($pun_config['o_shop_othertitle'] == 0) { echo ' checked="checked"'; } ?> /> <strong>No</strong>
<span>When set to Yes, users will have the option of changing someone elses title.</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="inform">
<fieldset>
<legend>Post Count</legend>
<div class="infldset">
<table class="aligntop" cellspacing="0">
<tr>
<th scope="row">Change Post Count</th>
<td>
<input type="radio" name="postcount" value="1"<?PHP if ($pun_config['o_shop_postcount15'] == 1) { echo ' checked="checked"'; } ?> /> <strong>Yes</strong> <input type="radio" name="postcount" value="0"<?PHP if ($pun_config['o_shop_postcount15'] == 0) { echo ' checked="check"' ; } ?> /> <strong>No</strong>
<span>When set to Yes, users will have the option of changing there post count.</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="inform">
<fieldset>
<legend>User Group</legend>
<div class="infldset">
<table class="aligntop" cellspacing="0">
<tr>
<th scope="row">Change User Group</th>
<td>
<input type="radio" name="usergroup" value="1"<?PHP if ($pun_config['o_shop_vip'] == 1) { echo ' checked="checked"'; } ?> /> <strong>Yes</strong> <input type="radio" name="usergroup" value="0"<?PHP if ($pun_config['o_shop_vip'] == 0) { echo ' checked="check"' ; } ?> /> <strong>No</strong>
<span>When set to Yes, users will have the option of changing there user group.</span>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<p class="submitend"><input type="submit" name="submit" value="Save changes" /></p>
</form>
</div>
</div>