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 -10
View File
@@ -97,16 +97,39 @@ $name = $session->uid;
</thead>
<tbody>
<tr>
<td class="pic"><img src="img/bezahlung/paypal.jpg" style="99px; height:99px;" alt="Paket A" />
<div>Gold : 60<br />Cost : 1,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=PS2CGCWUQHLU6" 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/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>
<td class="pic">
<img src="img/bezahlung/paypal.jpg" style="99px; height:99px;" alt="Package A" />
<div>Gold : <?php echo PLUS_PACKAGE_A_GOLD; ?><br />Cost : <?php echo PLUS_PACKAGE_A_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 A Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_A_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>
+33 -10
View File
@@ -95,16 +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 : 120<br />Cost : 4,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=5UWF3SUPQZELW" 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>
<td class="pic">
<img src="img/bezahlung/paypal.jpg" style="99px; height:99px;" alt="Package B" />
<div>Gold : <?php echo PLUS_PACKAGE_B_GOLD; ?><br />Cost : <?php echo PLUS_PACKAGE_B_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 B Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_B_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>
+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>
<!--
+33 -10
View File
@@ -69,16 +69,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 : 1000<br />Cost : 19,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=7HRQHLYRA97XU" 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>
<td class="pic">
<img src="img/bezahlung/paypal.jpg" style="99px; height:99px;" alt="Package D" />
<div>Gold : <?php echo PLUS_PACKAGE_D_GOLD; ?><br />Cost : <?php echo PLUS_PACKAGE_D_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 D Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_D_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>
+33 -11
View File
@@ -40,17 +40,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 : 2000<br />Cost : 49,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=BGLEQTERM5HAL" 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 E" />
<div>Gold : <?php echo PLUS_PACKAGE_E_GOLD; ?><br />Cost : <?php echo PLUS_PACKAGE_E_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 E Gold Pack'; ?>">
<input type="hidden" name="amount" value="<?php echo PLUS_PACKAGE_E_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>
<!--