Location: PHPKode > scripts > Sell Downloads Nex > button/button.php
<?php
require("header.php");
require("function.php");
?>
<?php
if($_POST["regist"]){
$testing=$_POST["testing"];
$sitename=$_POST["sitename"];
$email=$_POST["email"];
$name=$_POST["name"];
$price=$_POST["price"];
$currency=$_POST["currency"];
$dlfile=$_POST["dlfile"];
$output=postinsert($testing,$sitename,$email,$name,$price,$currency,$dlfile);
}
?>
<br>
Menu > New Product<br><br>


<?=$output?>
<form action="" method="POST">
<br>
<?php
if($testing){
$Checked = "checked";
}
?>
<input type="radio" name="testing" value="0" checked><br>
<input type="radio" name="testing" value="1" <?=$Checked?>> Create the testing button. (PayPal Sandbox Testing)<br>
<br>
Store Name<FONT COLOR='red' SIZE=2>*</FONT><br>
<input size="30" type="text" name="sitename" value="<?=$sitename?>"></input><br>
Email address:<FONT COLOR='red' SIZE=2>*</FONT><br>
<input size="30" type="text" name="email" value="<?=$email?>"></input><br>
It must coincide with the paypal account email address or paypal sandbox test email.<br>
Product name<FONT COLOR='red' SIZE=2>*</FONT><br>
<input type=text size=20 name=name value=<?=$name?>><br>
Price<FONT COLOR='red' SIZE=2>*</FONT><br>
<input type=text size=15 name=price value="<?=$price?>" style='ime-mode: disabled'><br>
Currency<br>
<select name="currency" onChange="change(this.options[this.selectedIndex].value);">
<?php
//$arr = array("USD" => "U.S. Dollars", "EUR" => "Euros", "JPY" => "Japanese Yen", "GBP" => "British Pounds", "AUD" => "Australian Dollars", "BRL" => "Brazilian Reais", "CAD" => "Canadian Dollars", "CZK" => "Czech Koruny", "DKK" => "Danish Kroner", "HKD" => "Hong Kong Dollars", "HUF" => "Hungarian Forints", "ILS" => "Israeli New Shekels", "MXN" => "Mexican Pesos", "TWD" => "New Taiwan Dollars", "NZD" => "New Zealand Dollars", "NOK" => "Norwegian Kroner", "PHP" => "Philippine Pesos", "PLN" => "Polish Zlotys", "SGD" => "Singapore Dollars", "SEK" => "Swedish Kronor", "CHF" => "Swiss Francs", "THB" => "Thai Baht");
$arr = array("USD" => "U.S. Dollars", "EUR" => "Euros", "GBP" => "British Pounds", "AUD" => "Australian Dollars", "BRL" => "Brazilian Reais", "CAD" => "Canadian Dollars", "CZK" => "Czech Koruny", "DKK" => "Danish Kroner", "HKD" => "Hong Kong Dollars", "HUF" => "Hungarian Forints", "ILS" => "Israeli New Shekels", "MXN" => "Mexican Pesos", "NZD" => "New Zealand Dollars", "NOK" => "Norwegian Kroner", "PHP" => "Philippine Pesos", "PLN" => "Polish Zlotys", "SGD" => "Singapore Dollars", "SEK" => "Swedish Kronor", "CHF" => "Swiss Francs", "THB" => "Thai Baht");
foreach ($arr as $key => $value) {
$selected="";
if($l==$key){
$selected="selected";
}
echo "<option value='$key' $selected>$value</option>";
}
?>
</select>
<br>
Product Download URL<FONT COLOR='red' SIZE=2>*</FONT><br>
<input size="30" type="text" name="dlfile" value="<?=$dlfile?>"></input><br>
Direct download link.
<br><br>
<div class="submit"><input type="submit" name="regist" value=" Add "> <input type=reset value=" Reset "></div></form>
<?php
require("footer.php");
?>






Return current item: Sell Downloads Nex