• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[HOMEPAGE] Pictures are not in shop

Maxens

Member
Joined
Apr 9, 2009
Messages
479
Reaction score
7
Location
Germany
Hello!

If i add a offer to my shop (for example VIP Medal with itemID 5785) it doesnt show the item on the page!!

EDIT: And players dont recieve their items^^ :(

Look here:

33fdziq.png


If you help me you get rep++^^
 
Last edited:
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:

li6nb.png



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'; ?>
 
OMG DUDE xDD

Didnt see that its such a big script xD srry... try it again ;D

EDIT:

Okey works now ;D Thanks alot^^ will add u rep++ :D

Could you take a look at this please??

"http://otland.net/f16/recaptcha-code-158250/#post1522993"
 
Back
Top