Big Gunz
Active Member
alright guys.. Im triying to block the account manager account in the website.. what I mean is block the account manager account in the website.. so players cant log in into the account manager account by the website..
so here is my accountmanager.php
here is the script that im using:
I already changed the account manager account group id to 2 so I dont know whats the problem :\ thank you guys ;P
so here is my accountmanager.php
PHP:
<?PHP
if($group_id_of_acc_logged == 2)
$main_content .= '<h1>This account is blocked.';
else
include('tutor.php');
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" >Logout Successful</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td>You have logged out of your '.$config['server']['serverName'].' account. In order to view your account you need to <a href="?subtopic=accountmanagement" >log in</a> again.</td></tr> </table> </div> </table></div></td></tr>';
else
here is the script that im using:
PHP:
f($group_id_of_acc_logged == 2)
$main_content .= '<h1>This account is blocked.';
else
include('tutor.php');
I already changed the account manager account group id to 2 so I dont know whats the problem :\ thank you guys ;P
Last edited: