All pastes #481273 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-10 19:08 UTC
rendered paste body
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
	exit;

// Tell admin_loader.php that this is indeed a plugin and that it is loaded
define('PUN_PLUGIN_LOADED', 1);
generate_admin_menu($plugin);
require_once PUN_ROOT.'include/cache.php';
generate_config_cache();
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" value="1"<?php if ($pun_config['o_shop_donate'] == '1') echo ' checked="checked"' ?> />&nbsp;<strong>Yes</strong>&nbsp;&nbsp;&nbsp;<input type="radio" name="donate" value="0"<?php if ($pun_config['o_shop_donate'] == '0') echo ' checked="checked"' ?> />&nbsp;<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"'; } ?> />&nbsp;<strong>Yes</strong>&nbsp;&nbsp;&nbsp;<input type="radio" name="title" value="0"<?PHP if ($pun_config['o_shop_title'] == '0') { echo ' checked="checked"'; } ?> />&nbsp;<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"'; } ?> />&nbsp;<strong>Yes</strong>&nbsp;&nbsp;&nbsp;<input type="radio" name="other" value="0"<?PHP if ($pun_config['o_shop_othertitle'] == '0') { echo ' checked="checked"'; } ?> />&nbsp;<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"'; } ?> />&nbsp;<strong>Yes</strong>&nbsp;&nbsp;&nbsp;<input type="radio" name="postcount" value="0"<?PHP if ($pun_config['o_shop_postcount15'] == '0') { echo ' checked="check"' ; } ?> />&nbsp;<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"'; } ?> />&nbsp;<strong>Yes</strong>&nbsp;&nbsp;&nbsp;<input type="radio" name="usergroup" value="0"<?PHP if ($pun_config['o_shop_vip'] == '0') { echo ' checked="check"' ; }  ?> />&nbsp;<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>