jordyphilippaerts
New Member
- Dec 18, 2019
- 4
- 0
I am looking for a tutorial for creating a store to buy calling credits via paypall.
Someone who can help me with this?
This is the page I have without a system in it:
or to get a better overview:
Thanks for helping!
Someone who can help me with this?
This is the page I have without a system in it:
Code:
<?php
$page['allow_guests'] = true;
require_once('./includes/core.php');
require_once('./includes/session.php');
$lang->addLocale("credits.credits");
$page['id'] = "belcredits";
$page['name'] = "Belcredits";
$page['bodyid'] = "home";
$page['cat'] = "belcredits";
require_once('./templates/community_header.php');
?>
<div id="container">
<div id="content" style="position: relative" class="clearfix">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix green ">
<h2 class="title">Belcredits Kopen
</h2>
<script src="/web-gallery/static/js/credits.js" type="text/javascript"></script>
<p class="credits-countries-select">
Belcredits kopen is heel eenvoudig, volg gewoon de instructies.<br> <br> Kies eerst je land:</p><ul id="credits-countries"> <li class="selected"><h2><img src="/web-gallery/images/nl.png" alt="" width="47" height="28" /><br /><span>Nederland</span></h2></li>
<li><h2><a href="http://.belcredits/be"><img src="/web-gallery/images/be.png" alt="" width="47" height="28" /><br /><span>België</span></a></h2></li></ul>
<ul id="credits-methods">
<li id="credits-type-promo">
<h4 class="credits-category">10 Belcredits</h4>
<ul><li class="clearfix even"><div id="method-1" class="credits-method-container">
<div class="credits-summary" style="background-image: url(./web-gallery/v2/images/credits/logo_homephone.png)">
<h3>Telefoon: 10 Belcredits voor € 1,30</h3><br>
<input type="submit" class="submit" value="10 belcredits kopen" /><br><br>
<p>Vraag eerst toestemming aan je ouders.</p>
</div></div></li></ul><ul>
<h4 class="credits-category">50 Belcredits</h4>
<ul><li class="clearfix even"><div id="method-1" class="credits-method-container">
<div class="credits-summary" style="background-image: url(./web-gallery/v2/images/credits/logo_homephone.png)">
<h3>Telefoon: 50 Bel-Credits voor € 5,20</h3><br>
<input type="submit" class="submit" value="50 belcredits kopen" /><br><br>
<p>Vraag eerst toestemming aan je ouders.</p>
</div></div></li></ul><ul>
<h4 class="credits-category">100 Belcredits</h4>
<ul><li class="clearfix even"><div id="method-1" class="credits-method-container">
<div class="credits-summary" style="background-image: url(./web-gallery/v2/images/credits/logo_homephone.png)">
<h3>Telefoon: 100 Belcredits voor € 10,40</h3><br>
<input type="submit" class="submit" value="100 belcredits kopen" /><br><br>
<p>Vraag eerst toestemming aan je ouders.</p>
</div></div></li></ul><ul>
<h4 class="credits-category">100 Belcredits</h4>
<li class="clearfix odd"><div id="method-4" class="credits-method-container" style="border-top: 1px solid #CCC"> <div class="credits-summary" style="background-image: url(/web-gallery/images/paysafecard_logo_small.png)"> <h3>Koop Belcredits via PaySafeCard</h3><br>Deze functie bestaat nog niet. </div></li> </ul> <ul>
<li id="credits-type-quick_and_easy"> <h4 class="credits-category-other">Bank</h4> <ul> <li class="clearfix odd"><div id="method-4" class="credits-method-container"> <div class="credits-summary" style="background-image: url(/web-gallery/images/payment_ideal.png)"> <h3>iDEAL: 130 Belcredits voor € 10,00</h3><br>Deze functie bestaat nog niet. </div></li> </ul>
</div></div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
<div id="column2" class="column">
<?php $lang->addLocale("redeem.voucher"); ?>
<div class="habblet-container ">
<div class="cbb clearfix brown">
<h2 class="title"> Uw Belcredits
</h2>
<div id="purse-habblet">
<ul>
<li class="even icon-purse">
<div>Jij hebt:</div>
<span class="purse-balance-amount"><?php
$query = "SELECT belcredits FROM users WHERE `id` = '$user->id'";
$result = mysql_query($query) or die (mysql_error());
while ($row = mysql_fetch_assoc($result)) {
echo $row['belcredits'];
}
?> Belcredits</span>
</li></ul><br>
<script type="text/javascript">
new PurseHabblet();
</script>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container ">
<div class="cbb clearfix orange ">
<h2 class="title">Wat zijn Belcredits?
</h2>
<div id="credits-promo" class="box-content credits-info">
<div class="credit-info-text clearfix">
<img class="credits-image" src="/web-gallery/v2/images/credits/poor.png" alt="" width="77" height="105" />
Belcredits zijn speciale credits en je kunt ze in de winkel gebruiken door zeldzame meubels te kopen.
</div></div></div>
<div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title">Hoe kan ik zeldzame meubels kopen? </h2> <div id="credits-promo" class="box-content credits-info"> <div class="credit-info-text clearfix"> <img class="credits-image" src="/web-gallery/v2/images/credits/credits_permission.png" alt="" width="77" height="105" /> <p class="credits-text">Als je belcredits hebt, kun je rares en meubels in de catalogus kopen.</p> </div></div>
</div> </div>
</div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
</div>
<script type="text/javascript">
HabboView.run();
</script>
<?php require_once('./templates/community_footer.php'); ?>
or to get a better overview:
You must be registered for see images attach
Thanks for helping!