File: /home/c1190199/public_html/wp-content/themes/TheProfessional/page-login.php
<?php
/*
Template Name: Login Page
*/
?>
<?php the_post(); ?>
<?php
$et_ptemplate_settings = array();
$et_ptemplate_settings = maybe_unserialize( get_post_meta($post->ID,'et_ptemplate_settings',true) );
$fullwidth = isset( $et_ptemplate_settings['et_fullwidthpage'] ) ? (bool) $et_ptemplate_settings['et_fullwidthpage'] : (bool) $et_ptemplate_settings['et_fullwidthpage'];
?>
<?php get_header(); ?>
<?php if (get_option('professional_integration_single_top') <> '' && get_option('professional_integrate_singletop_enable') == 'on') echo(get_option('professional_integration_single_top')); ?>
<div id="content-top"<?php if (!$fullwidth) echo ' class="top-alt"'; ?>></div>
<div id="content" class="clearfix<?php if (!$fullwidth) echo(' content-alt'); ?>">
<div id="content-area">
<?php include(TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>
<?php if (get_option('professional_integration_single_top') <> '' && get_option('professional_integrate_singletop_enable') == 'on') echo(get_option('professional_integration_single_top')); ?>
<div class="entry clearfix post">
<h1 class="title"><?php the_title(); ?></h1>
<?php if (get_option('professional_page_thumbnails') == 'on') { ?>
<?php $thumb = '';
$width = 184;
$height = 184;
$classtext = '';
$titletext = get_the_title();
$thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
$thumb = $thumbnail["thumb"]; ?>
<?php if($thumb <> '') { ?>
<div class="thumb alignleft">
<?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
<span class="overlay"></span>
</div> <!-- end .thumb -->
<?php }; ?>
<?php }; ?>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','Professional').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<div id="et-login">
<div class='et-protected'>
<div class='et-protected-form'>
<form action='<?php echo get_option('home'); ?>/wp-login.php' method='post'>
<p><label><?php _e('Username','Professional'); ?>: <input type='text' name='log' id='log' value='<?php echo wp_specialchars(stripslashes($user_login), 1) ?>' size='20' /></label></p>
<p><label><?php _e('Password','Professional'); ?>: <input type='password' name='pwd' id='pwd' size='20' /></label></p>
<input type='submit' name='submit' value='Login' class='etlogin-button' />
</form>
</div> <!-- .et-protected-form -->
<p class='et-registration'><?php _e('Not a member?','Professional'); ?> <a href='<?php echo site_url('wp-login.php?action=register', 'login_post'); ?>'><?php _e('Register today!','Professional'); ?></a></p>
</div> <!-- .et-protected -->
</div> <!-- end #et-login -->
<div class="clear"></div>
<?php edit_post_link(__('Edit this page','Professional')); ?>
</div> <!-- end .entry -->
<?php if (get_option('professional_integration_single_bottom') <> '' && get_option('professional_integrate_singlebottom_enable') == 'on') echo(get_option('professional_integration_single_bottom')); ?>
</div> <!-- end #content-area -->
<?php if (!$fullwidth) get_sidebar(); ?>
</div> <!-- end #content -->
<div id="content-bottom"<?php if (!$fullwidth) echo ' class="bottom-alt"'; ?>></div>
<?php get_footer(); ?>