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
those code are the original ones.PHP Code:if (in_array($account2,$editor_list)&&$enable_edit){?><a href="javascript: goBackendPanel();">Item Panel</a><?php }





