コード例 #1
0
"/></td>
      </tr>
    </table>
    <?php 
    submit_button();
    ?>
  </form>

<?php 
}
?>

<!-- This file should primarily consist of HTML with a little bit of PHP. -->
<section id="main">
	<?php 
extra_post_info_page();
?>
	<header>
		<h1>wpblock</h1>
		<p>WPBlock is a Wordpress plugin that protects you against known threats, attackers and automated bots by blacklisting IPs in real-time.</p>
		<?php 
echo "Server type: " . Wpblock::get_server_type();
?>
	</header>
	<section id="settings">
		<div id="form">
			<p>Enter the IP you want to blacklist</p><br>
			<input type="text" placeholder="e.g 127.0.0.1" id="ip">
			<button onclick="say();">Save</button>	
		</div>
		<p id="stat">Currently over <span>123,000</span> IPs and <span>1,000,000</span> malicous requests blocked</p>
コード例 #2
0
function grunt_init()
{
    echo '<h1>Grunt Interface <img src="//i.imgur.com/DfqTMfQ.png"></h1>';
    echo '<button id="syncdb" type="button">DB Sync!</button><p id="response"></p>';
    extra_post_info_page();
}