Files
TravianZ/Templates/Plus/1.tpl
T
novgorodschi catalin 0934806e8d Refactor all PLUS System
Refactor PLUS System + Fix some bugs
2026-05-20 10:57:02 +03:00

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'] ?>&nbsp;Gold</td></tr>
<tr><td><?= $p['price'] ?>&nbsp;<?= $currency ?></td></tr>
<tr><td><a href="plus1.php?id=<?= $p['id'] ?>" onclick="if(this.dataset.c) return false; this.dataset.c=1;">&raquo; 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>