how do i fix this Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\app\tpl\skins\Habbo\h

zaneraptor

Member
Nov 22, 2012
47
0
Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\app\tpl\skins\Habbo\hk\login.php on line 2 this comes up when i try to enter house keeping whats wrong?
 

Sean

‫‫‫‫‫‫  ‫  Don't Worry, Be Happy
Dec 12, 2011
1,121
405
Let me break this error message down for you:
Oh noes! There is an error!
There is a "<" symbol that is not suppose to be here
This symbol is on line 2 on the Housekeeping log in page
Maybe you should remove this symbol to make it work
 

zaneraptor

Member
Nov 22, 2012
47
0
<?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 6)
<div id="main" style="left-margin: 50px;">
<div id="links"></div>
<div class="header" id="login">
</div>
<div id="site_conten" class="login">
<div id="content_container" class="login">

<div id="content" class="login">
<!-- insert the page content here -->
<h1>{fate hotel} Housekeeping</h1>
<p>Welcome to the {fate hotel} Hotel houskeeping. Your IP has been logged (<?php echo $_SERVER["REMOTE_ADDR"]; ?>)
Please note any attempt to brute-force or exploit this system will be noticed by Fate administration so if you do not have clearance to this area, then <a href="{url}">Click here</a> <br /></p>

<?php echo $template->form->error; ?>

<br />
<form method="post" action="index.php?url=login">
Admin Username: <br /> <input type="text" name="username" size="5" maxlength="13" class="login"/> <br /> <br />
Admin Password: <br /> <input type="password" name="password" class="login"/> <br /> <br /><br />
<input type="submit" value="Log into ASE" name="login" class="login"/>
</form><br /><br /> <font color="black"> <center>Powered by ZapASE by Jontycat - Design by Grapefruit - Extra features by Grapefruit</center>
<center>Implemented into RevCMS by Kryptos</center><br /></center>
</div>
</div>
</div>
</div>
this is whole code
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
Try this:

Code:
<?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 6) ?>
<div id="main" style="left-margin: 50px;">
<div id="links"></div>
<div class="header" id="login">
</div>
<div id="site_conten" class="login">
<div id="content_container" class="login">
 
<div id="content" class="login">
<!-- insert the page content here -->
<h1>{fate hotel} Housekeeping</h1>
<p>Welcome to the {fate hotel} Hotel houskeeping. Your IP has been logged (<?php echo $_SERVER["REMOTE_ADDR"]; ?>)
Please note any attempt to brute-force or exploit this system will be noticed by Fate administration so if you do not have clearance to this area, then <a href="{url}">Click here</a> <br /></p>
 
<?php echo $template->form->error; ?>
 
<br/>
<form method="post" action="index.php?url=login">
Admin Username: <br /> <input type="text" name="username" size="5" maxlength="13" class="login"/> <br /> <br />
Admin Password: <br /> <input type="password" name="password" class="login"/> <br /> <br /><br />
<input type="submit" value="Log into ASE" name="login" class="login"/>
</form><br /><br /> <font color="black"> <center>Powered by ZapASE by Jontycat - Design by Grapefruit - Extra features by Grapefruit</center>
<center>Implemented into RevCMS by Kryptos</center><br /></center>
</div>
</div>
</div>
</div>
 

Users who are viewing this thread

Top