I created this folder... but the images still dont appear^^
2. I changed my shopsystem.php to yours but now everything in my shop is totally bugged...look here:
EDIT:
If you want to see whats written there look here:
$paccs_history_received = $SQL->query('SELECT * FROM '.$SQL->tableName('z_shop_history_pacc').' WHERE '.$SQL->fieldName('to_account').' = '.$SQL->quote($account_logged->getId()).' OR '.$SQL->fieldName('from_account').' = '.$SQL->quote($account_logged->getId()).';'); if(is_object($paccs_history_received)) { foreach($paccs_history_received as $pacc_received) { if($account_logged->getId() == $pacc_received['to_account']) $char_color = 'green'; else $char_color = 'red'; $paccs_received_text .= ''.$pacc_received['to_name'].''; if($account_logged->getId() == $pacc_received['from_account']) $paccs_received_text .= 'Your account'; else $paccs_received_text .= $pacc_received['from_nick']; $paccs_received_text .= ''.$pacc_received['pacc_days'].' days'.$pacc_received['price'].' Points'.date("j F Y, H:i:s", $pacc_received['trans_real']).''; } } $main_content .= '
Transactions History
'; if(!empty($items_received_text)) { $main_content .= '
Item transactions
'.$items_received_text.'
To: From: Offer name Bought on page Received on OTS
'; } if(!empty($paccs_received_text)) { $main_content .= '
PACC transactions
'.$paccs_received_text.'
To: From: Duration Cost Added:
'; } if(empty($paccs_received_text) && empty($items_received_text)) $main_content .= 'You did not buy/receive any item or PACC.'; } } $main_content .= '
You have premium points: '.$user_premium_points.'
'; } else $main_content .= 'Shop system is blocked on this server. Admin must install this script (LUA and in database only, PHP is installed) on server and set shop_system = "1" in config.ini file'; ?>