nonce_for() public static method

public static nonce_for ( $for )
<?php

$data = $data['Msg'];
?>
<div class="wrap">
	<h2 class="header"><img src="<?php 
echo plugins_url('/images/logo-icon.png', dirname(__FILE__));
?>
" class="mp-icon" /><span>Manage account information</span></h2>
	<p class="subtitle" style="padding-left:0">Update your MediaPass Publisher Account information here.  Accurate account and address information ensures proper payment of your Premium subscription revenue to WordPress site administrators, processed and issued by MediaPass.</p>
	<br/>
	<form action="" method="post" accept-charset="utf-8">
		<?php 
MediaPass_Plugin::nonce_for(MediaPass_Plugin::NONCE_ACCOUNT);
?>
		<table border="0" cellspacing="0" cellpadding="0" class="form-table">
			<tbody>
				<tr>
					<th><label for="Title">Web Site Subject/Title</label></th>
					<td><input type="text" name="Title" value="<?php 
echo !empty($data['Title']) ? esc_attr($data['Title']) : null;
?>
" id="title" class="regular-text"></td>
				</tr>
				<tr>
					<th><label for="CompanyName">Company Name</label></th>
					<td><input type="text" name="CompanyName" value="<?php 
echo !empty($data['CompanyName']) ? esc_attr($data['CompanyName']) : null;
?>
" id="company-name" class="regular-text"></td>
				</tr>
<div class="wrap">
	<h2 class="header"><img src="<?php 
echo plugins_url('/images/logo-icon.png', dirname(__FILE__));
?>
" class="mp-icon" /><span>Pricing Configuration</span></h2>

	<p class="subtitle" style="padding-left:0">Set up Premium Subscription Prices.</p>
	<br/>
	<p class="subtitle" style="padding-left:0">First, choose your Premium Subscription model. Most websites will use Membership Access, to allow multiple pages or sections of content to be included in your premium subscription membership. The Single Article Access is for websites that wish to only charge for specific pieces of content. This option is similar to a pay-per-view model, and does not support ongoing premium subscriptions.</p>
	<br/>
	<form action="#" method="post" accept-charset="utf-8" id="membership-form">
	<?php 
MediaPass_Plugin::nonce_for(MediaPass_Plugin::NONCE_PRICING);
?>
	<div id="subscription-model">
		<label for="subscription-model">My Premium Subscription Model:</label>
		<select name="subscription_model" id="subscription-model" style="width:165px;">
			<option value="membership"<?php 
echo $data['subscription_model'] == 'membership' ? ' selected="selected"' : null;
?>
>Membership Access</option>
			<option value="single"<?php 
echo $data['subscription_model'] == 'single' ? ' selected="selected"' : null;
?>
>Single Article Access</option>
		</select>
	</div>
	<br/>
	<div id="membership-wrapper"<?php 
echo $data['subscription_model'] == 'single' ? ' style="display:none"' : null;
?>
<div class="wrap">
	<h2 class="header"><img src="<?php 
echo plugins_url('/images/logo-icon.png', dirname(__FILE__));
?>
" class="mp-icon" /><span>Customize Logo and Benefits</span></h2>
	
	<h3>Logo</h3>
	
	<p>Upload a logo to customize the look and feel of your Page Overlay and Video Overlay subscription options. Your logo must be a jpg. See examples below.</p>
	
	<form name="benefits" action="" method="post" accept-charset="utf-8" id="benefits-form" enctype="multipart/form-data">
		<?php 
MediaPass_Plugin::nonce_for(MediaPass_Plugin::NONCE_BENEFITS);
?>
		<br/><br/>
		 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="logo_benefits_options">
          	<colgroup>
               	<col class="first_column" />
               </colgroup>
               <tr valign="top">
          	     <th valign="top" scope="row">Upload Image</th>
          	     <td valign="top"><label for="upload_image">
          	          <input id="upload_image" type="text" size="36" name="upload_image" value="" />
          	          <input id="upload_image_button" type="button" value="Upload Image" />
					  <!--<input id="upload_image" type="file" name="upload_image" value="" />-->
          	          <p>Enter URL or upload an image for the logo.</p>
                         </label><input type="submit" value="Update">  </td>
     	     </tr>
          	<tr>
          	     <th valign="top">Current Logo</th>
          	     <td valign="top">
<div class="wrap">
	<h2 class="header"><img src="<?php 
echo plugins_url('/images/logo-icon.png', dirname(__FILE__));
?>
" class="mp-icon" /><span>Manage eCPM Floor</span></h2>

	<form action="" method="post" accept-charset="utf-8">
		<?php 
MediaPass_Plugin::nonce_for(MediaPass_Plugin::NONCE_ECPM_FLOOR);
?>
		<table border="0" class="form-table">
			<tr>
				<th><label for="ecpm_floor">eCPM Floor</label></th>
				<td>
					<input type="text" name="ecpm_floor" value="<?php 
echo esc_attr($data['Msg']);
?>
" id="ecpm_floor">
				</td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="Update"></td>
			</tr>
		</table>
	</form>
</div>
			</tr>
		</table>
	</form>
<br/>
</div>

	<h3 id="a-pricing">Set Pricing</h3>
	<div id="membership-wrapper">
		<p class="subtitle" style="padding-left:0">Setting up a "Network Pass" allows site visitors to pay to access Premium content on multiple website, all managed by one WordPress administrator.  Pricing specified here will be made available to people who wish to subscribe to all sites in your Network.</p>
		<br/>
		<p class="subtitle" style="padding-left:0">Your site visitors will see three options when asked to sign-up for a Premium subscription. Select the 3 subscription membership periods to choose from, and the corresponding unit price for each period. For example, if you want to charge $60 for a 6 month subscription, enter $10 for the unit price.</p>
		<br/>
		<form method="POST">
			
		<?php 
MediaPass_Plugin::nonce_for(MediaPass_Plugin::NONCE_NETWORK);
?>
		<input type="hidden" name="mp-network-update-active-network-pricing" value="1" />
		
		<table border="0" cellspacing="0" cellpadding="0" id="price-points">
			<tr>
				<th>Period Length</th>
				<th>Unit Price</th>
			</tr>
				
			<?php 
$i = 0;
while ($i <= 2) {
    ?>
				<tr>
					<td>
<div class="wrap">
	<h2 class="header"><img src="<?php 
echo plugins_url('/images/logo-icon.png', dirname(__FILE__));
?>
" class="mp-icon" /><span>Plugin Settings</span></h2>
	
	<form action="" method="post" accept-charset="utf-8">
		<?php 
MediaPass_Plugin::nonce_for(MediaPass_Plugin::NONCE_METERED);
?>
		<h3>Paywall Settings</h3>
		<table border="0" class="form-table">
			<tr>
				<th><label for="DefaultPlacementMode">Paywall Style</label></th>
				<td>
					<select name="DefaultPlacementMode" id="DefaultPlacementMode" onchange="if (this.value == 'inpage'){ document.getElementById('numparagraphs').style.display='table-row'; } else { document.getElementById('numparagraphs').style.display='none'; }">
						<option value="overlay"<?php 
echo get_option(MediaPass_Plugin::OPT_DEFAULT_PLACEMENT_MODE) == 'overlay' ? ' selected="selected"' : null;
?>
>Page Overlay</option>
						<option value="inpage"<?php 
echo get_option(MediaPass_Plugin::OPT_DEFAULT_PLACEMENT_MODE) == 'inpage' ? ' selected="selected"' : null;
?>
>In-Page</option>
					</select>
				</td>
			</tr>
			<tr id="numparagraphs" style="display:<?php 
echo get_option(MediaPass_Plugin::OPT_DEFAULT_PLACEMENT_MODE) == 'inpage' ? 'table-row' : 'none';
?>
;">