<link rel="stylesheet" href="<?php get_template_directory_uri(); ?>/less/bootstrap.css"> <link rel="stylesheet" href="<?php get_template_directory_uri(); ?>/less/main.css"> <script src="<?php get_template_directory_uri(); ?>/js/modernizr.js"></script> <?php mr_head(); ?> </head> <body> <div id="wrapper" class="container-narrow"> <header class="top"> <div class="head-top"> <div class="pull-right"> <?php if (is_logged_in()) : ?> Logged in as <a href="#"><?php get_user_data('username'); ?></a> | <a href="<?php get_logout_uri(); ?>"><?php _e('LOGOUT'); ?></a> <?php else : ?> <a href="<?php get_login_uri(); ?>"><?php _e('LOGIN'); ?></a> | <a href="<?php get_register_uri(); ?>"><?php _e('REGISTER'); ?></a> <?php endif; ?> </div> <a href="<?php get_home_uri(); ?>" class="logo">MangaReader</a> </div> <div class="navbar"> <div class="navbar-inner"> <div class="input-append pull-right search-top"> <input class="span2" id="appendedInputButton" type="text" placeholder="<?php _e('SEARCH'); ?>"> <button class="btn btn-inverse" type="submit"><?php _e('SEARCH_BUTTON'); ?></button> </div> <ul class="nav"> <li><a href="#" class="active">Home</a></li> <li><a href="#">Latest Releases</a></li> <li><a href="#">Advanced Search</a></li> <li><a href="#">Contact</a></li>
<?php if (sizeof($error)) : ?> <div class="alert alert-error"> <?php foreach ($error as $err) : ?> <p><?php _e($err); ?></p> <?php endforeach; ?> </div> <?php endif; ?> <form class="form-horizontal" method="post" action="<?php get_register_uri(); ?>"> <fieldset> <legend><?php _e('REGISTER'); ?></legend> <div class="control-group"> <label class="control-label" for="inputUsername"><?php _e('USERNAME'); ?></label> <div class="controls"> <input type="text" id="inputUsername" name="username" placeholder="<?php _e('USERNAME'); ?>" value="<?php echo $data['username']; ?>"> </div> </div> <div class="control-group"> <label class="control-label" for="inputPassword"><?php _e('PASSWORD'); ?></label> <div class="controls"> <input type="password" id="inputPassword" name="password" placeholder="<?php _e('PASSWORD'); ?>"> </div> </div> <div class="control-group">