Location: PHPKode > scripts > WebsiteMemberManager > members-section/admin/php/paypal-live.php
<?php
$fp = @fsockopen('www.paypal.com', 80, $errno, $errstr, 30);
if ( (!function_exists('curl_exec')) AND !$fp )  include("paypal_ipn_warning.html");
if ($fp) @fclose($fp);
include("paypal-live.html");
$dbc = dbc::instance();
$result = $dbc->prepare("SELECT * FROM wmm_paypal_config where id=1");
$rows = $dbc->executeGetRows($result);  

$installed=$rows[0]['installed'];
$business=$rows[0]['business'];
$currency_code=$rows[0]['currency_code'];
$currency_left_chars=$rows[0]['currency_left_chars'];
$currency_right_chars=$rows[0]['currency_right_chars'];
$display_position_right=$rows[0]['display_position_right'];
?>
<script LANGUAGE="JavaScript"><!--
document.PPF.business.value="<?php echo $business; ?>";
document.PPF.installed.value="<?php echo $installed; ?>";
document.PPF.currency_code.value="<?php echo $currency_code; ?>";
document.PPF.currency_left_chars.value="<?php echo $currency_left_chars; ?>";
document.PPF.currency_right_chars.value="<?php echo $currency_right_chars; ?>";
document.PPF.display_position_right.value="<?php echo $display_position_right; ?>";
// --></script>
Return current item: WebsiteMemberManager