Jump to content

[SOLVED] Cant find cause of "syntax error, unexpected $end"


joshuag

Recommended Posts

I know I need to close something somewhere but I'm just a newb code monkey and can't figure it out!

 

Anyone with a keen eye for code that could offer a solution?

 

Heres my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo ' : '; } ?><?php bloginfo('name'); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     <!--[if IE]>
    	<style type="text/css">@import url('<?php bloginfo('template_directory'); ?>/ie.css');</style>
    <![endif]-->
    <?php wp_head(); ?>
<meta name="google-site-verification" content="nktAdcdWBddL6dSTKuWFzHHCk6rIX1vpIg4W4Ok68bI" />
</head>


<body>


<div id="wrapper">

<div id="header">

    
    <img align = "left" src="http://thefulltank.com/wp-content/themes/sandfish_v2/images/logo.gif">
    <img align = "left" src ="http://thefulltank.com/images/spacer.jpg">

<?php if (!(current_user_can('level_0'))){ ?>

<h4>Member Sign In</h4>

<form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">

    <label for="log">User Name</label><input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="10" /> 

     <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label>

    <p><label for="pwd">Password </label><input type="password" name="pwd" id="pwd" size="10" />
  <input type="submit" name="submit" value="Sign In!" class="button" /></p>  

       <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" />
  
</form>

<a href="<?php echo get_option('home'); ?>/wp-register.php"><i>Register</i></a>
<a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">   Recover password</a>

<?php } else { ?>
           
            <a href="http://thefulltank.com/wp-admin/user.php">test</a>


<p></p>
<br clear="all">


<?php wp_css_dropdownmenu(); ?>    

Still the same error.

I added the } as you can see in the code below.

 

<?php } else { ?>
           
            <a href="http://thefulltank.com/wp-admin/user.php">test</a>

}
<p></p>
<br clear="all">


<?php wp_css_dropdownmenu(); ?>    

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.