mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 03:44:23 +00:00
0934806e8d
Refactor PLUS System + Fix some bugs
46 lines
2.8 KiB
Smarty
46 lines
2.8 KiB
Smarty
<?php
|
|
// TravianZ - DO NOT REMOVE COPYRIGHT NOTICE!
|
|
include("Templates/Plus/pmenu.tpl");
|
|
|
|
$packages = [
|
|
['id' => 110, 'key' => 'A', 'img' => 'Travian_paket_a.jpg', 'gold' => defined('PLUS_PACKAGE_A_GOLD') ? PLUS_PACKAGE_A_GOLD : 60, 'price' => defined('PLUS_PACKAGE_A_PRICE') ? PLUS_PACKAGE_A_PRICE : '1,99'],
|
|
['id' => 111, 'key' => 'B', 'img' => 'Travian_paket_b.jpg', 'gold' => defined('PLUS_PACKAGE_B_GOLD') ? PLUS_PACKAGE_B_GOLD : 120, 'price' => defined('PLUS_PACKAGE_B_PRICE') ? PLUS_PACKAGE_B_PRICE : '4,99'],
|
|
['id' => 112, 'key' => 'C', 'img' => 'Travian_paket_c.jpg', 'gold' => defined('PLUS_PACKAGE_C_GOLD') ? PLUS_PACKAGE_C_GOLD : 360, 'price' => defined('PLUS_PACKAGE_C_PRICE') ? PLUS_PACKAGE_C_PRICE : '9,99'],
|
|
['id' => 113, 'key' => 'D', 'img' => 'Travian_paket_d.jpg', 'gold' => defined('PLUS_PACKAGE_D_GOLD') ? PLUS_PACKAGE_D_GOLD : 1000, 'price' => defined('PLUS_PACKAGE_D_PRICE') ? PLUS_PACKAGE_D_PRICE : '19,99'],
|
|
['id' => 3110, 'key' => 'E', 'img' => 'Travian_paket_e.jpg', 'gold' => defined('PLUS_PACKAGE_E_GOLD') ? PLUS_PACKAGE_E_GOLD : 2000, 'price' => defined('PLUS_PACKAGE_E_PRICE') ? PLUS_PACKAGE_E_PRICE : '49,99'],
|
|
];
|
|
|
|
$currency = defined('PAYPAL_CURRENCY') ? PAYPAL_CURRENCY : 'EUR';
|
|
$payEmail = defined('PAYPAL_EMAIL') ? PAYPAL_EMAIL : 'novgorodschi@icloud.com';
|
|
?>
|
|
<table class="rate_details lang_ltr lang_de" cellpadding="1" cellspacing="1">
|
|
<thead><tr><th colspan="2">Gold Shop</th></tr></thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="pic"><img src="img/bezahlung/Travian_verdienen.jpg" style="width:99px;height:99px;" alt="Gold Shop" /><div>Gold Shop</div></td>
|
|
<td class="desc">
|
|
Basically, we reserve the ordered amount of gold immediately after the payment. If there are any problems, please send an email to our
|
|
<a href="mailto:<?= $payEmail ?>">payment account</a>.<br><br>
|
|
<b>Username<br>Payment Method<br>Ordered Package<br>Date and time</b><br><br>
|
|
We strive to ensure speedy processing!
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="products">
|
|
<?php foreach($packages as $p): ?>
|
|
<table class="product lang_ltr lang_de" cellpadding="1" cellspacing="1">
|
|
<thead><tr><th>Package <?= $p['key'] ?></th></tr></thead>
|
|
<tbody>
|
|
<tr><td class="pic"><a href="plus1.php?id=<?= $p['id'] ?>"><img src="img/bezahlung/<?= $p['img'] ?>" style="width:99px;height:99px;" alt="Package <?= $p['key'] ?>" /></a></td></tr>
|
|
<tr><td><?= $p['gold'] ?> Gold</td></tr>
|
|
<tr><td><?= $p['price'] ?> <?= $currency ?></td></tr>
|
|
<tr><td><a href="plus1.php?id=<?= $p['id'] ?>" onclick="if(this.dataset.c) return false; this.dataset.c=1;">» buy</a></td></tr>
|
|
</tbody>
|
|
</table>
|
|
<?php endforeach; ?>
|
|
<div class="clear"></div>
|
|
<div style="padding:10px;font-style:italic;font-size:10px;color:#F00;"><b>None of the packages are refundable!</b></div>
|
|
</div>
|
|
</div> |