Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="side-bar-right maxheight">
- <div class="ind maxheight">
- <?php /* Widgetized sidebar, if you have the plugin installed. */
- if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Right Sidebar','theme778')) ) : else : ?>
- <div class="widget" id="archives">
- <h2><?php _e('Archives','theme778'); ?></h2>
- <div class="inside-widget">
- <ul>
- <?php wp_get_archives('type=monthly'); ?>
- </ul>
- </div>
- </div>
- <!--
- <div class="widget" id="recentposts">
- <h2><?php _e('Text block','theme778'); ?></h2>
- <div class="textwidget">
- Praesent vestibulum molestie lacus. Aenean nonummy hendrerit mauris. Phasellus porta. <a href="#">Fusce suscipit</a> varius mi. Cum sociis natoque penatibus et.
- </div>
- </div>
- -->
- <div>
- <<?php if (!(current_user_can('level_0'))){ ?>
- <h2>Login</h2>
- <form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">
- <input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="20" />
- <input type="password" name="pwd" id="pwd" size="20" />
- <input type="submit" name="submit" value="Send" class="button" />
- <p>
- <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>
- <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
- </p>
- </form>
- <a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Recover password</a>
- <?php } else { ?>
- <h2>Logout</h2>
- <a href="<?php echo wp_logout_url(urlencode($_SERVER['REQUEST_URI'])); ?>">logout</a><br />
- <a href="http://XXX/wp-admin/">admin</a>
- <?php }?>
- </div>
- <?php wp_list_bookmarks('title_before=<h2>
- &title_after=</h2>
- <div class="inside-widget">
- &category_before=<div class="widget widget_links %class" id="%id">
- &category_after=</div>
- </div>'); ?>
- <?php endif; ?>
- </div>
- </div>
- <?php if ( bp_is_register_page() ) : ?>
- <script type="text/javascript">
- jQuery(document).ready( function() {
- if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
- jQuery('div#blog-details').toggle();
- jQuery( 'input#signup_with_blog' ).click( function() {
- jQuery('div#blog-details').fadeOut().toggle();
- });
- });
- </script>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement