Jump to content

VB Hack login.


csgcarl

Recommended Posts

Hey,

 

I'm using a hack from vb so you can login on a web page other than the forum, it also has options so when loged in it displays this and when loged out displays this.

 

But when I put this code into my site I get this error:

 

 

<?php If ($vbulletin->userinfo["userid"]!=0) 
    {     
    echo ”<td style=\”background-image:url(\”http://www.battlestationextreme.com/images/homepage09.jpg\”); height:40px\”> 

                                            <table width=\”181\” border=\”0\” cellspacing=\”0\” cellpadding=\”0\” id=\”table28\”> 



                                                    <tr> 



                                                        <td width=\”15\”><img src=\”http://www.battlestationextreme.com/images/spacer.gif\” 

alt=\”\” width=\”15\” height=\”40\”></td> 



                                                        <td width=\”166\” class=\”text2\”> 

                                                        My BSE</td> 



                                                    </tr> 



                                                </table></td> 



                                        </tr> 



                                        <tr> 



                                            <td style=\”background-image:url(\”http://www.battlestationextreme.com/images/homepage10.jpg\”); 

height:29px\”> 

                                            <table width=\”100%\” border=\”0\” cellspacing=\”0\” cellpadding=\”0\” id=\”table29\”> 



                                                    <tr> 



                                                        <td width=\”8%\”><img src=\”http://www.battlestationextreme.com/images/spacer.gif\” 

alt=\”\” width=\”15\” height=\”29\”></td> 



                                                        <td width=\”92%\”> 

                                                        <a class=\”link1\” href=\”http://www.battlestationextreme.com/forums/usercp.php\”> 

                                                        Register!</a></td> 



                                                    </tr> 



                                                </table></td> 



                                        </tr> 



                                        <tr> 



                                            <td style=\”background-image:url(\”http://www.battlestationextreme.com/images/homepage10.jpg\”); 

height:29px\”> 

                                            <table width=\”100%\” border=\”0\” cellspacing=\”0\” cellpadding=\”0\” id=\”table30\”> 



                                                    <tr> 



                                                        <td width=\”8%\”><img src=\”http://www.battlestationextreme.com/images/spacer.gif\” 

alt=\”\” width=\”15\” height=\”29\”></td> 



                                                        <td width=\”92%\”> 

                                                        <a class=\”link1\” href=\”http://www.battlestationextreme.com/forums/private.php\”> 

                                                        Login</a></td> 



                                                    </tr> 



                                                </table></td> 



                                        </tr> 



                                        <tr> 



                                            <td><img src=\”http://www.battlestationextreme.com/images/homepage11.jpg\” alt=\”\” width=\”181\” 

height=\”8\”></td> 



                                        </tr> 



                                    </table>”; 
    } else { 
    echo ”Your not logged in so we display this”; 
    } 
?>

 

 

Error:

 

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/bseadmin/public_html/homepage.php on line 1039

 

 

btw line 1039 is:

    echo ”<td style=\”background-image:url(\”http://www.battlestationextreme.com/images/homepage09.jpg\”); height:40px\”> 

Link to comment
https://forums.phpfreaks.com/topic/51360-vb-hack-login/
Share on other sites

Hello,

 

Thank you for your reply I have put them in acction and I seem to have another problem with it if you could help please:

 

Code:

 

											<?php
If ($vbulletin->userinfo['userid']!=0)
{	
echo "<td style=\"background-image:url(\'http://www.battlestationextreme.com/images/homepage09.jpg\'); height:40px\">

										<table width=\"181\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"table28\">



												<tr>



													<td width=\"15\"><img src=\"http://www.battlestationextreme.com/images/spacer.gif\" alt=\"\" width=\"15\" height=\"40\"></td>



													<td width=\"166\" class=\"text2\">

													My BSE</td>



												</tr>



											</table></td>



									</tr>



									<tr>



										<td style=\"background-image:url(\'http://www.battlestationextreme.com/images/homepage10.jpg\'); height:29px\">

										<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"table29\">



												<tr>



													<td width=\"8%\"><img src=\"http://www.battlestationextreme.com/images/spacer.gif\" alt=\"\" width=\"15\" height=\"29\"></td>



													<td width=\"92%\">

													<a class=\"link1\" href=\"http://www.battlestationextreme.com/forums/usercp.php\">

													Register!</a></td>



												</tr>



											</table></td>



									</tr>



									<tr>



										<td style=\"background-image:url(\'http://www.battlestationextreme.com/images/homepage10.jpg\'); height:29px\">

										<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"table30\">



												<tr>



													<td width=\"8%\"><img src=\"http://www.battlestationextreme.com/images/spacer.gif\" alt=\"\" width=\"15\" height=\"29\"></td>



													<td width=\"92%\">

													<a class=\"link1\" href=\"http://www.battlestationextreme.com/forums/private.php\">

													Login</a></td>



												</tr>



											</table></td>\";
} else {
echo "Your not logged in so we display this";
}
?>

 

Error:

 

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/bseadmin/public_html/homepage.php on line 1016

 

And line 1016 is:

 

	echo "Your not logged in so we display this";

 

 

I can't see whats wrong there.

 

If some one could help me out this would be great.

 

 

Regards,

 

Carl

Link to comment
https://forums.phpfreaks.com/topic/51360-vb-hack-login/#findComment-253845
Share on other sites

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.