Hey, so i got syntax error when i'm trying to use this file
Parse error: syntax error, unexpected $end in /var/www/vhosts/airlinesofisrael.com/httpdocs/phpvms.full/lib/skins/lolim/layout.tpl on line 129
my code is below, can someone help please? :)

<?php
/**
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 *   
 * 
 */
?><!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" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<title><?php echo $page_title; ?></title>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo SITE_URL?>/lib/skins/lolim/styles.css" />


<?php 
/* This is required, so phpVMS can output the necessary libraries it needs */
echo $page_htmlhead; 
?>

<?php /*Any custom Javascript should be placed below this line, after the above call */ ?>
    <script src="<?php echo SITE_URL?>/lib/skins/lolim/js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="<?php echo SITE_URL?>/lib/skins/lolim/js/jquery.jcarousel.pack.js" type="text/javascript"></script>
    <script src="www.airlinesofisrael.com/phpvms.full/lib/skins/lolim/js/jquery-func.js" type="text/javascript"></script>


</head>
<body>
<?php
/* This should be the first thing you place after a <body> tag
    This is also required by phpVMS */
echo $page_htmlreq;
?>
<div id="page" class="shell">
    <!-- Logo + Search + Navigation -->
    <div id="top">
        <div class="cl">&nbsp;</div>
        <h1 id="logo"><a href="<?php echo SITE_URL?>/lib/skins/lolim/images/logo.gif">MONDAYS</a></h1>
        <div class="field-holder">
        <?php 
        /* 
        Quick example of how to see if they're logged in or not
        Only show this login form if they're logged in */
        if(Auth::LoggedIn() == false)
        { ?>
            <form name="loginform" action="<?php echo url('/login'); ?>" method="post">
                Sign-in with your pilot id or email, or <a href="<?php echo url('/registration'); ?>">register</a><br />
            <input type="text" name="email" value="" onClick="this.value=''" />
            <input type="password" name="password" value="" />
            <input type="hidden" name="remember" value="on" />
            <input type="hidden" name="redir" value="index.php/profile" />
            <input type="hidden" name="action" value="login" />
            <input type="submit" name="submit" value="Log In" />
            </form>
            <?php
        }   
        /* End the Auth::LoggedIn() if */
        else /* else - they're logged in, so show some info about the pilot, and a few links */
        {

        /*  Auth::$userinfo has the information about the user currently logged in
            We will use this next line - this gets their full pilot id, formatted properly */
        $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
        ?>

        <img align="left" height="50px" width="50px" style="margin-right: 10px;"
            src="<?php echo PilotData::getPilotAvatar($pilotid);?>" />

        <strong>Pilot ID: </strong> <?php echo $pilotid ; ?>
        <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br />
        <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?>
        <br />
        <a href="<?php echo url('/pireps/new');?>">File a New PIREP</a> | 
        <a href="<?php echo url('/schedules/bids');?>">View My Bids</a> | 
        <a href="<?php echo url('/profile/');?>">View Pilot Center</a>
        <?php
        } /* End the else */
        ?>
        </div>
    </div>

<div class="cl">&nbsp;</div>
        <div id="navigation">
            <ul>
                <li><a href="#" class="active"><span>home</span></a></li>
                <li><a href="#"><span>About us</span></a></li>
                <li><a href="#"><span>Pilot Center</span></a></li>
                <li><a href="#"><span>Resources</span></a></li>
                <li><a href="#"><span>Forum</span></a></li>
                <li><a href="#"><span>Bar</span></a></li>
                <li><a href="#"><span>Rodoy</span></a></li>
            </ul>
        </div>   
    </div>
    <!-- END Logo + Search + Navigation -->
    <div id="main">

              <?php

echo $page_content; 

{
?>
</div>



    </div>
    </div>
    <div id="footer">
    <p>copyright &copy; 2007 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br />
    <!-- Please retain this!! It's part of the phpVMS license. You must display a
            "powered by phpVMS" somewhere on your page. Thanks! -->
    <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a></p>

        </div>   
</div>
</body>
</html>

Hi,

Remove extra curly bracket on line 111 just below echo $page_content.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.