Treachery ItemShop Problem.
hey guys so i tried treachery's item shop and it worked perfectly and smoothly my only problem is that BackendPanel (Item Panel) doesn't show in the index.php (screenshot : http://img233.imageshack.us/img233/5...9eb833f54c.png)
but it should look like this -> http://img821.imageshack.us/img821/1...b239179486.png
i know a little about php and tried to fix it my self, but it seems that i'm not that pro yet so i'm asking for your help,
goBackendPanel's code is this.
PHP Code:
<?php if (in_array($account2,$editor_list)&&$enable_edit) { ?>function goBackendPanel()
{
DisplayPageContentAsync('BackendPanel.php');
goShopCategory('panel');
$.ajax({
async: true,
type: "GET",
url: "BackendPanel.php",
cache: false,
data: {sidebar: true} ,
beforeSend: function(){
$("#action").fadeOut();
},
complete: function(){
$("#right").fadeIn(100);
},
error: function(xmlHttp, textStatus, errorThrown){
$("#action").html(xmlHttp.responseText);
$("#action").fadeOut();
},
success: function(result){
$("#right").html(result);
}
});
}
and the ItemPanel code is this
PHP Code:
if (in_array($account2,$editor_list)&&$enable_edit){?><a href="javascript: goBackendPanel();">Item Panel</a><?php }
those code are the original ones.
Re: Treachery ItemShop Problem.
Look in the config files... There's an array that you put your account name into to allow you to use the panel.
Re: Treachery ItemShop Problem.
Quote:
Originally Posted by
ShadowDragon42
Look in the config files... There's an array that you put your account name into to allow you to use the panel.
OMG!! Why didn't i see that??? i am keep on looking on index.php and on some other files hahaha! guess i still need to learn more xD, anyways THANKS MAN! :') you really saved me back there.