示例#1
0
?>
</p>
	<?php 
if (bnc_wptouch_can_show_powered_by()) {
    ?>
		<p><?php 
    _e('Powered by', 'wptouch');
    ?>
 <a href="http://www.wordpress.org/"><?php 
    _e('WordPress', 'wptouch');
    ?>
</a> <?php 
    _e('+', 'wptouch');
    ?>
 <a href="http://www.bravenewcode.com/products/wptouch-pro"><?php 
    WPtouch();
    ?>
</a></p>
	<?php 
}
?>
	<?php 
if (!bnc_wptouch_is_exclusive()) {
    wp_footer();
}
?>
</div>

<?php 
wptouch_get_stats();
// WPtouch theme designed and developed by Dale Mugford and Duane Storey @ BraveNewCode.com
示例#2
0
function bnc_wp_touch_page()
{
    if (isset($_POST['submit'])) {
        echo '<div class="wrap"><div id="bnc-global"><div id="wptouchupdated" style="display:none"><p class="saved"><span>';
        echo __("Settings saved", "wptouch");
        echo '</span></p></div>';
    } elseif (isset($_POST['reset'])) {
        echo '<div class="wrap"><div id="bnc-global"><div id="wptouchupdated" style="display:none"><p class="reset"><span>';
        echo __("Defaults restored", "wptouch");
        echo '</span></p></div>';
    } else {
        echo '<div class="wrap"><div id="bnc-global">';
    }
    ?>

<?php 
    $icons = bnc_get_icon_list();
    ?>

	<?php 
    require_once 'include/submit.php';
    ?>
	<form method="post" action="<?php 
    echo admin_url('options-general.php?page=wptouch/wptouch.php');
    ?>
">
		<?php 
    require_once 'html/head-area.php';
    ?>
		<?php 
    require_once 'html/general-settings-area.php';
    ?>
		<?php 
    require_once 'html/advanced-area.php';
    ?>
		<?php 
    require_once 'html/push-area.php';
    ?>
		<?php 
    require_once 'html/style-area.php';
    ?>
		<?php 
    require_once 'html/icon-area.php';
    ?>
		<?php 
    require_once 'html/page-area.php';
    ?>
		<?php 
    require_once 'html/ads-stats-area.php';
    ?>
		<?php 
    require_once 'html/plugin-compat-area.php';
    ?>
		
		<input type="submit" name="submit" value="<?php 
    _e('Save Options', 'wptouch');
    ?>
" id="bnc-button" class="button-primary" />
	</form>
	
	<!-- <form method="post" action="<?php 
    echo admin_url('options-general.php?page=wptouch/wptouch.php');
    ?>
"> -->
	<form method="post" action="">
		<input type="submit" onclick="return confirm('<?php 
    _e('Restore default WPtouch settings?', 'wptouch');
    ?>
');" name="reset" value="<?php 
    _e('Restore Defaults', 'wptouch');
    ?>
" id="bnc-button-reset" class="button-highlighted" />
	</form>
		
		<?php 
    echo '' . WPtouch('<div class="bnc-plugin-version"> This is ', '</div>') . '';
    ?>

	<div class="bnc-clearer"></div>
</div>
<?php 
    echo '</div>';
}