Joel Posted May 8, 2008 Posted May 8, 2008 Ok, I have a problem with my right sidebar, That problem is when i click on Gang Wars the Right side bar moves away from my template and i dont no why its happening, But when i click on anything else like (Gangs, Crimes, Shops, Explore, View User and everything else, It works Fine, Ill show you some Screens, So you Understand what i mean: On Explore: As you can see Above theres no Problem with the Right Sidebar On Gang Wars: As you can see Above the Right Sidebar has Moved to the Top Right Corner, Im not sure why its doing this because i dont have no problems with the right sidebar on Anything else, Heres My gangwars.php <?php include "globals.php"; print "<h3> Gang Wars</h3> <table width=75% cellspacing=1 class='table'>"; $q=$db->query("SELECT w.*,g1.gangNAME as declarer, g1.gangRESPECT as drespect, g2.gangNAME as defender, g2.gangRESPECT as frespect FROM gangwars w LEFT JOIN gangs g1 ON w.warDECLARER=g1.gangID LEFT JOIN gangs g2 ON w.warDECLARED=g2.gangID WHERE g1.gangNAME != '' AND g2.gangNAME != ''"); if($db->num_rows($q) > 0) { while($r=$db->fetch_row($q)) { print "<tr> <td width=45%>[url='gangs.php?action=view&ID={$r[']{$r['declarer']}[/url] [{$r['drespect']} respect]</a></td> <td width=10%>vs.</td> <td width=45%>[url='gangs.php?action=view&ID={$r[']{$r['defender']}[/url] [{$r['frespect']} respect]</a></td> </tr>"; } } else { print "</table>There are currently no gang wars in progress."; } print "</table>"; $h->endpage(); ?> Please tell me why this is Happening, Or Explain whats Wrong, Thanks Very Much if you no what the Problem is :) And sorry about the Images being to Big! Quote
Haunted Dawg Posted May 8, 2008 Posted May 8, 2008 Re: Help Again Please with My right Sidebar! Well as i could always say... The code is not clean enough to quite understand it better... But i've had that problem. You should check your script for extra </td>'s in the code. Make your tables like i showed them... Example: <table class="table" width="75%" border="1" cellspacing="0"> <tr> <th>Title Name</th> <th>User</th> </tr> <tr> <td>Game Name</td> <td>Kyle</td> </tr> <tr> <td>Game Name</td> <td>Adajao</td> </tr> </table> You will soon notice you will like to code like this and start using it more and more often. Quote
Joel Posted May 8, 2008 Author Posted May 8, 2008 Re: Help Again Please with My right Sidebar! Thats for Quibk Response Killah, But where would i put it in Gang Wars? :) Quote
Haunted Dawg Posted May 8, 2008 Posted May 8, 2008 Re: Help Again Please with My right Sidebar! You should read through my other codes i have sent you. Get a good example from it. It should help you through your way. Anyways this is now done. I coded him a fresh gangwars.php :) Quote
Joel Posted May 8, 2008 Author Posted May 8, 2008 Re: Help Again Please with My right Sidebar! Thanks alot Killah, Your such a great Mate to me, Well one off my Best Mates, This guy is really helpfull, He solved most off my Problems and helped me a lot Thanks Mate :) Quote
Criminal Posted May 8, 2008 Posted May 8, 2008 Re: Help Again Please with My right Sidebar! I Am here to say Killah is a good mate he is kind wid me killah curry on with your great coding i love all your games mods and coding :-) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.