|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/abtechsci/mmc15/Membership/admin/ |
Upload File : |
<?php
/************* Membership V2.0 *******************/
/*
Released by AwesomePHP.com, under the GPL License, a
copy of it should be attached to the zip file, or
you can view it on http://AwesomePHP.com/gpl.txt
*/
/************* Membership V2.0 *******************/
if($is_admin == false){ die();}
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"];
}
$temp = explode('/',$_SERVER['PHP_SELF']);
array_pop($temp);
array_pop($temp);
$pageURL .= implode('/',$temp);
?>
<form name="systems" id="systems" method="post" action="?page=systems" style="display:inline;">
<table width="100%" border="1" cellspacing="0" cellpadding="5">
<tr bgcolor="#BEDEDE">
<td colspan="2"><div align="center"><font color="#999999" size="4"><strong>System Configurations</strong></font></div></td>
</tr>
<tr bgcolor="#CAFFCA">
<td colspan="2"><font color="#0000FF" size="2"><strong>Paypal:</strong></font></td>
</tr>
<tr>
<td><font size="2">Paypal Email For Payments: </font></td>
<td><font size="2">
<input name="CF_PAYPALID" type="text" id="CF_PAYPALID" value="<?php echo $CF_PAYPALID;?>" class="hiddenText">
</font></td>
</tr>
<tr>
<td><font size="2">Use SandBox Testing: </font></td>
<td><font size="2">
<?php if($CF_SANDBOX == '1'){$sel = ' checked';}else{$sel=NULL;}?>
<input name="CF_SANDBOX" type="radio" value="1"<?php echo $sel;?>>
Yes [fake payments]
<?php if($CF_SANDBOX == '2' || $CF_SANDBOX == NULL){$sel = ' checked';}else{$sel=NULL;}?>
<input name="CF_SANDBOX" type="radio" value="2"<?php echo $sel;?>>
No </font></td>
</tr>
<tr>
<td colspan="2"><font size="2">Paypal IPN CallBack URL:<br /><font color="#0000FF"><?=$CF_URLINC;?>payments/paypal/checkpayment.php</font> </font></td>
</tr>
<tr bgcolor="#CAFFCA">
<td colspan="2"><font color="#0000FF" size="2"><strong>2CheckOut:</strong></font></td>
</tr>
<tr>
<td width="50%"><font size="2">Vendor ID (SID): </font></td>
<td width="50%"><font size="2">
<input name="CF_2COID" type="text" id="CF_2COID" value="<?php echo $CF_2COID;?>" class="hiddenText">
</font></td>
</tr>
<tr>
<td><font size="2">Make Payments in Demo Mode: </font></td>
<td><font size="2">
<?php if($CF_SANDBOX2 == '1'){$sel = ' checked';}else{$sel=NULL;}?>
<input name="CF_SANDBOX2" type="radio" value="1"<?php echo $sel;?>>
Yes [fake payments]
<?php if($CF_SANDBOX2 == '2' || $CF_SANDBOX2 == NULL){$sel = ' checked';}else{$sel=NULL;}?>
<input name="CF_SANDBOX2" type="radio" value="2"<?php echo $sel;?>>
No </font></td>
</tr>
<tr>
<td colspan="2"><font size="2">Routine CallBack URL:<br />
<font color="#0000FF"><?=$CF_URLINC;?>payments/2checkout/checkpayment.php</font></font></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="submit" name="Submit" value="Submit">
<input name="doid" type="hidden" id="doid" value="2">
</div></td>
</tr>
</table>
</form>