Sponsorship Renewal

"; $body_s.="We will contact you soon for further procedural necessary action.\n"."
"; $body_s.="Here is the information you have submitted:\n"."
"; $to="webmaster@deepalaya.org, sponsorachild@deepalaya.org,".$_POST['Email'].""; $subject="Sponsorship Renewal :- ".$oid; $body.="\nSponsorship Code : ".$_POST['spcode']."
"; $body="\nName : ".$_POST['Title'].$_POST['FName'].$_POST['LName']."
"; $body.="\nDOB : ".$_POST['dob']."
"; $body.="\nEmail : ".$_POST['Email']."
"; $body.="\nAdd : ".$_POST['Add']."
"; $body.="\nCity : ".$_POST['City']."
"; $body.="\nZip Code : ".$_POST['ZIP']."
"; $body.="\nState : ".$_POST['State']."
"; $body.="\nCountry : ".$_POST['SPS_country']."
"; $body.="\nTelephone No : ".$_POST['Tel_R']."
"; $body.="\nMobile No : ".$_POST['Mobile']."
"; $body.="\nFax No : ".$_POST['Fax']."
"; $body.="\nPayment Mode : ".$_POST['PG']."
"; $body.="\nAmount : ".$_POST['amount']."
"; $body.="\nComments : ".$_POST['SPS_comments']."
"; $body.="\nSP. Code(s) : ".$_POST['spcode']."
"; $body.="\nIP Address : ".$_SERVER["REMOTE_ADDR"]."
"; $body.="\nTime : ".date('d-m-y, H:i:s'); $body.="\n Ref No : ".$oid; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; //echo $body_s.$body; //mail($_POST['Email'],$subject,$body_s.$body,$headers."FROM: resource@deepalaya.org"); mail($to,$subject,$body_s.$body,$headers."FROM: resource@deepalaya.org"); $payment=$_POST['PG']; if($payment=="Draft") { ?>Untitled DocumentCheque / Demand Draft

Please send the eqivalent of Rs. ""/- to this address:
Marketing Department, Deepalaya
46, Institutional Area, D-Block, Janakpuri
New Delhi - 110 001, India

Note: please state your Name, Address and Contact Information as given in the previous form.

Through a Foundation in

You can send a Cheque / Demand Draft to

Deepalaya Foundation
16031 Sweetwater Creek Drive
Houston, TX 77095, U.S.A

for more information, you can contact Mr. Joseph Mathew, Treasurer of the Deepalaya Foundation at deepalayafoundation@houston.rr.com

The Friends of Deepalaya
P.O Box No. 8400678
Delvyns Gaston Street, East Bergholt
Colchester CO 7 6SD UK

for more information, you can contact Mr. Chris Tuppen at chris.tuppen@btinternet.com or via phone at 01206 298675 Förderverein Deepalaya Niederrhein e.V.
C/o Mr. Alfons Ruetter
Rheinstrasse 248
47546 Kalkar, Germany

for more information, you can contact Mr. Alfons Ruetter at Alfons.Ruetter@t-online.de

Payment Information

(a copy of this payment order will be sent to this address)
Credit Card Information

[For Indians]
Account No. 008701019372
B Block Janakpuri
New Delhi 110 058

[For NRIs and Foreigners]
Account No. 5853
The Federal Bank Ltd.
Connaught Circus
New Delhi 110 001
30) $_POST['vpc_MerchTxnRef'] = substr($refcode,1,30); else $_POST['vpc_MerchTxnRef'] = $refcode; $_POST['vpc_Merchant'] = "DEEPALAYA"; $_POST['vpc_OrderInfo'] = $_POST['vpc_MerchTxnRef']; $_POST['vpc_Locale'] = "en"; $_POST['vpc_ReturnURL'] = "http://www.deepalaya.org/scripts/payment_done.php"; $_POST['SubButL'] = "Pay Now!"; // show me the money $_POST['vpc_Amount']= $_POST['amount']*100; // *100, because paisa rule the house /* end of data hack */ // ********************* // START OF MAIN PROGRAM // ********************* // Define Constants // ---------------- // This is secret for encoding the MD5 hash // This secret will vary from merchant to merchant // To not create a secure hash, let SECURE_SECRET be an empty string - "" // $SECURE_SECRET = "secure-hash-secret"; $SECURE_SECRET = "E1D0362D112A1239B8DBC76BE90895AE"; // add the start of the vpcURL querystring parameters $vpcURL = $_POST["virtualPaymentClientURL"] . "?"; // Remove the Virtual Payment Client URL from the parameter hash as we // do not want to send these fields to the Virtual Payment Client. unset($_POST["virtualPaymentClientURL"]); unset($_POST["SubButL"]); // The URL link for the receipt to do another transaction. // Note: This is ONLY used for this example and is not required for // production code. You would hard code your own URL into your application. // Get and URL Encode the AgainLink. Add the AgainLink to the array // Shows how a user field (such as application SessionIDs) could be added //$_POST['AgainLink']=urlencode($HTTP_REFERER); // Create the request to the Virtual Payment Client which is a URL encoded GET // request. Since we are looping through all the data we may as well sort it in // case we want to create a secure hash and add it to the VPC data if the // merchant secret has been provided. $md5HashData = $SECURE_SECRET; ksort ($_POST); // set a parameter to show the first pair in the URL $appendAmp = 0; foreach($_POST as $key => $value) { // create the md5 input and URL leaving out any fields that have no value if (strlen($value) > 0) { // this ensures the first paramter of the URL is preceded by the '?' char if ($appendAmp == 0) { $vpcURL .= urlencode($key) . '=' . urlencode($value); $appendAmp = 1; } else { $vpcURL .= '&' . urlencode($key) . "=" . urlencode($value); } $md5HashData .= $value; } } // Create the secure hash and append it to the Virtual Payment Client Data if // the merchant secret has been provided. if (strlen($SECURE_SECRET) > 0) { $vpcURL .= "&vpc_SecureHash=" . strtoupper(md5($md5HashData)); } // FINISH TRANSACTION - Redirect the customers using the Digital Order // =================================================================== return $vpcURL; } function str_makerand ($minlength, $maxlength, $useupper, $usespecial, $usenumbers) { /* Author: Peter Mugane Kionga-Kamau http://www.pmkmedia.com Description: string str_makerand(int $minlength, int $maxlength, bool $useupper, bool $usespecial, bool $usenumbers) returns a randomly generated string of length between $minlength and $maxlength inclusively. Notes: - If $useupper is true uppercase characters will be used; if false they will be excluded. - If $usespecial is true special characters will be used; if false they will be excluded. - If $usenumbers is true numerical characters will be used; if false they will be excluded. - If $minlength is equal to $maxlength a string of length $maxlength will be returned. - Not all special characters are included since they could cause parse errors with queries. Modify at will. */ //$charset = "abcdefghijklmnopqrstuvwxyz"; $charset .= "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; /* if ($useupper) $charset .= "ABCDEFGHIJKLMNOPQRSTUVWXYZ";*/ if ($usenumbers) $charset .= "0123456789"; /*if ($usespecial) $charset .= "@#$"; */ // Note: using all special characters this reads: "~!@#$%^&*()_+`-={}|\\]?[\":;'> $maxlength) $length = mt_rand ($maxlength, $minlength); else $length = mt_rand ($minlength, $maxlength); for ($i=0; $i



Global CSR Excellence & Leadership award presented by ABP News to Deepalaya