= $config['site']['access_admin_panel'])
{
$offertype = $_REQUEST['offer_type'];
if((empty($action)) AND (empty($offertype))) {
$main_content .= '
Select offer type: |
| ||||||||||
Points: | '.htmlspecialchars($shop_points).' | ||||||||||
Container ID: | '.htmlspecialchars($shop_itemid1).' | ||||||||||
Count Container: | '.htmlspecialchars($shop_count1).' | ||||||||||
Item ID (in Container): | '.htmlspecialchars($shop_itemid2).' | ||||||||||
Count Item (in Container): | '.htmlspecialchars($shop_count2).' | ||||||||||
Item ID: | '.htmlspecialchars($shop_itemid1).' | ||||||||||
Count Item: | '.htmlspecialchars($shop_count1).' | ||||||||||
Days: | '.htmlspecialchars($shop_count1).' | ||||||||||
Offer Type: | '.htmlspecialchars($shop_offer_type).' | ||||||||||
Offer Description: | '.htmlspecialchars($shop_offer_description).' | ||||||||||
Offer Name: | '.htmlspecialchars($shop_offer_name).' |
ID: | Points: | Item ID: | Count: | Count: | Offer Type: | Offer Description: | Offer Name: | ||||
'.htmlspecialchars($shop['id']).' | '.htmlspecialchars($shop['points']).' | '; if($shop['itemid1'] == "0") { $main_content .= ''.htmlspecialchars($shop['itemid1']).' | ';
}
else
{
$main_content .= ''.htmlspecialchars($shop['itemid1']).' (' . htmlspecialchars($itemList[(int)$shop['itemid1']]) . ') | ';
}
$main_content .= ''.htmlspecialchars($shop['count1']).' | '; if($shop['itemid2'] == "0") { $main_content .= ''.htmlspecialchars($shop['itemid2']).' | '; } else { $main_content .= ''.htmlspecialchars($shop['itemid2']).' (' . htmlspecialchars($itemList[(int)$shop['itemid2']]) . ') | ';
}
$main_content .= ''.htmlspecialchars($shop['count2']).' | '.htmlspecialchars($shop['offer_type']).' | '.htmlspecialchars($shop['offer_description']).' | '.htmlspecialchars($shop['offer_name']).' | '; $main_content .= '
Points: | |
Container ID: | |
Count Container: | |
Item ID: | |
Count Item: | |
Item ID: | |
Item Count: | |
Days: | |
Offer Type: | |
Offer Description: | |
Offer Name: | |