Inspection Form

'; while (have_posts()): the_post(); include 'template-inspection-form.php'; endwhile; endif; elseif(is_page('Register a User')): print '

Register a User

'; while (have_posts()): the_post(); include 'template-new-user.php'; endwhile; elseif(is_page('New Inspection')): print '

New Inspection

'; while (have_posts()): the_post(); include 'template-new-inspection.php'; endwhile; elseif(is_page('Completed Inspections')): print '

Completed Inspections

'; while (have_posts()): the_post(); include 'template-completed-inspections.php'; endwhile; elseif(is_page('Browse Users')): print '

Browse Users

'; while (have_posts()): the_post(); include 'template-browse-members.php'; endwhile; elseif(is_page('Browse Residences')): print '

Browse Residences

'; while (have_posts()): the_post(); include 'template-browse-residences.php'; endwhile; elseif(is_page('Reports')): print '

Reports

'; while (have_posts()): the_post(); include 'template-reports.php'; endwhile; elseif(is_page('Register a Residence')): print '

Register a Residence

'; while (have_posts()): the_post(); include 'template-new-residence.php'; endwhile; elseif(is_singular('residence')): print '

' . get_the_title() . '

'; while (have_posts()): the_post(); include 'template-single-residence.php'; endwhile; elseif(is_author()): print '

'; $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); echo $curauth->display_name; print '

'; include 'template-single-member.php'; elseif(is_404()): print '

Page Not Found

'; print '

Sorry — this page does not exist.'; elseif(have_posts()): print '

FARR Residence Inspection Portal

'; while (have_posts()): the_post(); the_content(); endwhile; endif; get_footer(); ?>