Пример #1
0
function terms_of_service_get()
{
    bb_send_headers();
    bb_get_header();
    ?>
	<h3 class="bbcrumb"><a href="<?php 
    bb_option('uri');
    ?>
"><?php 
    bb_option('name');
    ?>
</a> &raquo; <?php 
    _e('Terms of Service');
    ?>
</h3>
	<div class="indent">
	<h2 id="register"><?php 
    _e('Terms of Service');
    ?>
</h2>		
	<div id="terms_of_service" style="padding:0.5em 1em 1em 1em; margin:0em 3em; background: #eee; color: #000;">	
	<?php 
    @readfile(rtrim(dirname(__FILE__), ' /\\') . '/terms-of-service.html');
    echo '</div></div>';
    bb_get_footer();
    exit;
}
Пример #2
0
<?php

bb_get_header();
?>

<div class="bbcrumb"><a href="<?php 
bb_uri();
?>
"><?php 
bb_option('name');
?>
</a> &raquo; <a href="<?php 
user_profile_link($user_id);
?>
"><?php 
echo get_user_display_name($user_id);
?>
</a> &raquo; <?php 
_e('Profile');
?>
</div>

<div class="vcard" role="main">

<?php 
if ($avatar = bb_get_avatar($user->ID)) {
    ?>
<div id="useravatar"><?php 
    echo $avatar;
    ?>
</div>
Пример #3
0
<?php

/**
 * @author Perberos perberos@gmail.com
 * 
 * @package OpenGame
 * @version 0.01
 * @copyright (c) 2008 Ugamela
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 */
?>
<div id="footer">
	<p><?php 
printf(__('%1$s is proudly powered by <a href="%2$s">bbPress</a>.'), bb_option('name'), "http://bbpress.org");
?>
	OpenGame theme by <a href="http://ugamela.com/" target="_new">Ugamela</a><br>
	<!-- If you remove/edit the copyright, a cat will eat your finger. -->
	Page generated in <?php 
bb_timer_stop(1);
?>
 - <?php 
echo $bbdb->num_queries;
?>
 queries</p>
</div>
<?php 
do_action('bb_foot', '');
?>
</body>
</html>
Пример #4
0
							<?php 
wp_referer_field();
?>
						</td>
					</tr>
				</table>
			</form>

			<?php 
if ($user_exists) {
    ?>
				<br/>
			<hr />
			<br/>
			<form method="post" action="<?php 
    bb_option('uri');
    ?>
bb-reset-password.php">
				<p><?php 
    _e('If you would like to recover the password for this account, you may use the following button to start the recovery process:');
    ?>
<br />
				<input name="user_login" type="hidden" value="<?php 
    echo $user_login;
    ?>
" /><br/>
				<input type="submit" value="<?php 
    echo attribute_escape(__('Recover Password'));
    ?>
" /></p>
			</form>
Пример #5
0
function option($option)
{
    bb_log_deprecated('function', __FUNCTION__, 'bb_option');
    return bb_option($option);
}
Пример #6
0
?>
">
	<div id="wrapper">
		<div id="header" role="banner">
			<h1><a href="<?php 
bb_uri();
?>
"><?php 
bb_option('name');
?>
</a></h1>
			<?php 
if (bb_get_option('description')) {
    ?>
<p class="description"><?php 
    bb_option('description');
    ?>
</p><?php 
}
?>

<?php 
if (!in_array(bb_get_location(), array('login-page', 'register-page'))) {
    login_form();
}
?>

			<div class="search">
<?php 
search_form();
?>
Пример #7
0
function oip_login_form()
{
    global $openid_options;
    ?>
	<h2 id="register"><?php 
    _e('OpenID Login');
    ?>
</h2>
	<form method="post" action="<?php 
    bb_option('uri');
    ?>
bb-login.php">
	<fieldset>
	<?php 
    if (isset($_GET['openid_error'])) {
        echo "<div onclick='this.style.display=\"none\"' style='margin:0 0 1em 0; color:#000;width:75%;overflow:hidden;padding:3px 10px;background:#FFF6BF;border:1px solid #FFD324;'>" . substr(addslashes(strip_tags($_GET['openid_error'], "<br>")), 0, 200) . "</div>";
    }
    ?>
	<table>
		<tr valign="top">
			<th scope="row"><?php 
    _e('OpenID');
    ?>
</th>
			<td><input style="width:50%;padding-left:20px;background: #fff url(<?php 
    echo $openid_options['icon'];
    ?>
) no-repeat 2px 50%;" name="openid_identity" type="text" id="openid_identity"></td>
		</tr>
	</table>
	</fieldset>
	</form>
	<?php 
}