Automatic coins system.

Results 1 to 4 of 4
  1. #1
    Valued Member WhatThePho is offline
    MemberRank
    Sep 2009 Join Date
    121Posts

    Automatic coins system.

    My cousin sent me this automatic coin system code but I do not know if people would receive automatic coins and I'm not sure if it would get sent to the Account table in the Coins column.

    I do not want any of you guys to test it by buying something I just want you to look at the code and see if its right :)

    Thanks if anyone helps.



    Code:
    <?
    if ($_SESSION['AID'] == ""){
    }
    
    
    ?>
    <head>
    <meta http-equiv="Content-Language" content="es">
    <link rel="stylesheet" type="text/css" href="images/style.css">
    </head>
    
    	<body bgcolor="">
    
    					<div align="center">
    						<table border="0" width="456" style="border-collapse: collapse">
    							<tr>
    								<td bgcolor="#151515">&nbsp;</td>
    							</tr>
    							<tr>
    								<td bgcolor="#151515">
    								<div align="center">
    									<table border="0" style="border-collapse: collapse" width="400" height="100%">
    										<tr>
    											<td width="4" rowspan="8">&nbsp;</td>
    											<td width="348">
    											</td>
    											<td width="13">&nbsp;</td>
    										</tr>
    	
    										<tr>
    											<td width="-14"></td>
    										</tr>
    	
    										<tr>
    											<td width="431">
    											&nbsp;</td>
    										</tr>
    	
    										<tr>
    											<td width="432">
    											<form action="https://www.paypal.com/cgi-bin/webscr" method="post""><table border="0" style="border-collapse: collapse" width="100%" id="table13">
    											<tr>
    												<td width="16">&nbsp;</td>
    												<td width="532" colspan="4">&nbsp;</td>
    											</tr>
    											<tr>
    												<td width="16"><? echo $faq['general_faq'] ?></td>
    												<td width="532" colspan="4">
    												<font face="Arial" size="2" color="#00FF00">
    												<center>Automatic Coins System [BETA]<br>Please read the bottom also</br>Dont Have A Paypal Account ?<br />Its free Go to <a href="http://www.paypal.com/">PayPal</a></font></td>
    												</center></tr>
    											<tr>
    												<td width="16">&nbsp;</td>
    												<td width="532" colspan="4">&nbsp;</td>
    												</tr>
    											<tr>
    												<td width="16"><? echo $faq['general_faq'] ?></td>
    												<td width="532" colspan="4">
    												<font face="Arial" size="3" color="#fff00">
    												BUY SOME COINS TODAY!<br /></font></td>
    												</tr>
    											<tr>
    												<td width="16">&nbsp;</td>
    												<td width="532" colspan="4">&nbsp;</td>
    												</tr>
    											<tr>
    												<td width="16" height="16"></td>
    												<td width="89" height="16">
    												<font face="Arial" size="2" color="#FF0000">Donate from:</td>
    												<td width="441" height="16" colspan="3">
    												<form name="itemtype2"><select size="1" name="asunto" onchange="SwitchPayment()">
    												<option value="1">Paypal</option>
    												</select></form></td>
    												</tr>
    											<tr>
    												<td width="16">&nbsp;</td>
    												<td width="89">&nbsp;</td>
    												<td width="441" colspan="3">&nbsp;</td>
    												</tr>
    											<tr>
    												<td width="16" height="16"></td>
    												<td width="89" height="16">
    												<font face="Arial" size="2" color="#FF0000">Coins:</td>
    												<td width="441" height="16" colspan="3">
    												<input type="hidden" name="cmd" value="_s-xclick">
    												<input type="hidden" name="hosted_button_id" value="UZYYMKP6RWFS4">
    												<input type="hidden" name="on0" value="Coins"><select name="os0">
    												<option value="50 Coins">50 Coins £2.50
    										                <option value="100 Coins">100 Coins £5.00
    										                <option value="150 Coins">150 Coins £7.50
    										                <option value="200 Coins">200 Coins £10.00
    										                <option value="250 Coins">250 Coins £12.50
    										                <option value="300 Coins">300 Coins £15.00
    										                <option value="350 Coins">350 Coins £17.50
    										                <option value="400 Coins">400 Coins £20.00
    										                <option value="450 Coins">450 Coins £22.50
    										                <option value="500 Coins">500 Coins £25.00
    												</option>
    												</select></td>
    												</tr>
    											<tr>
    												<td width="16">&nbsp;</td>
    												<td width="89">&nbsp;</td>
    												<td width="441" colspan="3">&nbsp;</td>
    												</tr>
    											<tr>
    												<td width="16">&nbsp;</td>
    												<td width="89"><font face="Arial" size="2" color="#FF0000">Game ID:</td>
    												<td width="441" colspan="3">
    												<input type="hidden" name="on1" value="Game ID" size="20">
    												<input type="text" name="os1" value="<?=$_SESSION['UserID']?>"/>
    												<input type="hidden" name="currency_code" value="GBP"></td>
    												</tr>
    											<tr>
    												<td width="16" height="16"></td>
    												<td width="89" height="16"></td>
    												<td width="441" height="16" colspan="3"></td>
    												</tr>
    											<tr>
    												<td width="16"><? echo $faq['general_faq'] ?></td>
    												<td width="532" colspan="4">
    												<font face="Arial" size="2" color="#00FF00">
    												We are still testing our coins system so If you did donate but you never recieved any coins,</br>Please let us know on the forums but you must show proof</br>of your transtraction.<br /><br /></font></td>
    												</tr>
    											<tr>
    												<td width="16" height="16"></td>
    												<td width="50" height="16" colspan="3">
    												<center><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
    												<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    												</td>
    												</tr>
    												</table></form>
    											</td>
    										</tr>
    	
    										<tr>
    											<td width="432">
    											&nbsp;</td>
    										</tr>
    	
    										</table></form>
    								</div>
    								</td>
    							</tr>
    							<tr>
    								<td background="images/cont_top.jpg" height="27">&nbsp;</td>
    							</tr>
    						</table>


  2. #2
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Automatic coins system.

    This is only part of it, you need the query's lol...

  3. #3
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: Automatic coins system.

    This is just the form to send a user to PayPal.

    Here a script generator for PayPal:
    https://www.paypaltech.com/SG2/

    A tip, when you give the user the coins they selected in the "<select name="os0">" then it's easy to bypass if you don't check the amount they donated compared to the coins they selected.

  4. #4
    Valued Member WhatThePho is offline
    MemberRank
    Sep 2009 Join Date
    121Posts

    Re: Automatic coins system.

    Alright thanks for the help :)



Advertisement