feat: PLUS packages configurable during installation

This commit is contained in:
Martin Ambrus
2017-10-04 09:15:40 +02:00
parent 270b3ca432
commit 8a1ca0960f
8 changed files with 820 additions and 386 deletions
+33 -11
View File
@@ -95,17 +95,39 @@ $free = $session->uid;
</thead>
<tbody>
<tr>
<td class="pic"><img src="img/bezahlung/paypal.jpg" style="99px; height:99px;" alt="Paket A" />
<div>Gold : 360<br />Cost : 9,99 Euro<br />Wait: 24 hours</div>
</td>
<td class="desc">Initiate Payment by Paypal <br />
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RDW6U6UGFP9F4" target="_blank">
<img src="img/bezahlung/paypal1.gif" style="width:126px; height:47px;" alt="Moneybookers" /></a><br />
More Info about PayPal can be found here: <br /> <a href="#"
onclick="window.open('https://www.paypal.com/de/cgi-bin/webscr?cmd=xpt/cps/popup/OLCWhatIsPayPal-outside','external','scrollbars=yes,status=yes,resizable=yes,toolbar=yes,width=800,height=600');return false;">Weitere Infos</a> <br /> </td>
</tr>
<td class="pic">
<img src="img/bezahlung/paypal.jpg" style="99px; height:99px;" alt="Package C" />
<div>Gold : <?php echo PLUS_PACKAGE_C_GOLD; ?><br />Cost : <?php echo PLUS_PACKAGE_C_PRICE . ' ' . PAYPAL_CURRENCY; ?><br />Wait: 24 hours</div>
</td>
<td class="desc">Initiate Payment by Paypal <br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="<?php echo PAYPAL_EMAIL; ?>">
<!-- Specify a Buy Now button. -->
<input type="hidden" name="cmd" value="_xclick">
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="<?php echo SERVER_NAME . ' Package C Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_C_PRICE; ?>">
<input type="hidden" name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_buynow_107x26.png"
alt="Buy Now">
<img alt="" border="0" width="1" height="1"
src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>
<br />
More Info about PayPal can be found here: <br />
<a href="#" onclick="window.open('https://www.paypal.com/en/cgi-bin/webscr?cmd=xpt/cps/popup/OLCWhatIsPayPal-outside','external','scrollbars=yes,status=yes,resizable=yes,toolbar=yes,width=800,height=600');return false;">More Info</a>
<br />
</td> </tr>
</tbody>
</table>
<!--