Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header('Content-type: text/html; charset=utf-8');
- ?>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
- <?php
- // For sandbox testing
- //$pp_hostname = "www.sandbox.paypal.com";
- //live
- $pp_hostname = "www.paypal.com";
- //sandbox token
- //$auth_token = "***";
- //real token
- $auth_token = "***";
- if(isset($_GET['tx']))
- {
- $tx = $_GET['tx'];
- // Init cURL
- $request = curl_init();
- // Set request options
- $req = 'cmd=_notify-synch';
- $req .= "&tx=$tx&at=$auth_token";
- curl_setopt($request, CURLOPT_URL, "https://$pp_hostname/cgi-bin/webscr");
- curl_setopt($request, CURLOPT_POST, 1);
- curl_setopt($request, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($request, CURLOPT_POSTFIELDS, $req);
- curl_setopt($request, CURLOPT_SSL_VERIFYPEER, 1);
- curl_setopt($request, CURLOPT_SSL_VERIFYHOST, 2);
- curl_setopt($request, CURLOPT_HTTPHEADER, array("Host: $pp_hostname"));
- // Execute request and get response and status code
- $response = curl_exec($request);
- $status = curl_getinfo($request, CURLINFO_HTTP_CODE);
- // Close connection
- curl_close($request);
- // Validate response
- if($status == 200 AND strpos($response, 'SUCCESS') === 0)
- { echo ("$response");
- // Remove SUCCESS part (7 characters long)
- $response = substr($response, 7);
- // URL decode
- $response = urldecode($response);
- // Turn into associative array
- preg_match_all('/^([^=\s]++)=(.*+)/m', $response, $m, PREG_PATTERN_ORDER);
- $response = array_combine($m[1], $m[2]);
- // Fix character encoding if different from UTF-8 (in my case)
- if(isset($response['charset']) AND strtoupper($response['charset']) !== 'UTF-8')
- {
- foreach($response as $key => &$value)
- {
- $value = mb_convert_encoding($value, 'UTF-8', $response['charset']);
- }
- $response['charset_original'] = $response['charset'];
- $response['charset'] = 'UTF-8';
- }
- // Sort on keys for readability (handy when debugging)
- ksort($response);
- // Build customer purchase receipt
- $item_number = $response[item_number];
- $item_name = $response[item_name];
- $qty = $response[quantity];
- $string1 = 'item_name';
- $string2 = 'item_number';
- $firstname = $response[first_name];
- $lastname = $response[last_name];
- $total = $response[mc_gross];
- $id = $response[item_number];
- echo ("<div id='wrapper'>");
- echo ("<div id='welcomeText'>Tack för ditt köp!</div>");
- echo ("<div class='abouttext3'>Har du köpt produkter som ska laddas ned, laddar du ned dem NU till din dator. <br> Du har endast möjlighet att ladda ned från just den här sidan.<br>");
- echo ("Stanna kvar på sidan tills du laddat ned ALLT du köpt. <br>OBS! Om du stänger ned sidan har du inte möjlighet att komma tillbaka till den.<br></p>");
- echo ("Har du köpt en lyssning av ”Guidning till förlåtelse” lyssnar du på den HÄR och NU. <br> Var kvar på sidan tills du lyssnat klart. <br> OBS! Om du stänger ned sidan har du inte möjlighet att komma tillbaka till den. <br /></p>\n");
- echo ("Har du köpt varor som levereras med Posten, skickas de så snart som möjligt från oss. <br> Allra senast inom en vecka.</div></p>\n");
- echo ("<div class='abouttext2'>Vi önskar Dig en bra dag. <br>");
- echo ("Välkommen tillbaka till energyshop.se när du vill! </div>");
- // If item_number matches any product that is for download/listetning, then print this headline
- if ($item_number.$idx == '1' || $item_number.$idx == '3' || $item_number.$idx == '5' || $item_number.$idx == '7' || $item_number.$idx == '9' || $item_number.$idx == '11' || $item_number.$idx == '13' || $item_number.$idx == '15' || $item_number.$idx == '17' || $item_number.$idx == '18' || $item_number.$idx == '19' || $item_number.$idx == '20' || $item_number.$idx == '21' || $item_number.$idx == '22' || $item_number.$idx == '24' || $item_number.$idx == '26' || $item_number.$idx == '27' || $item_number.$idx == '28' || $item_number.$idx == '29' || $item_number.$idx == '30' || $item_number.$idx == '31' || $item_number.$idx == '33' || $item_number.$idx == '41' || $item_number.$idx == '43' || $item_number.$idx == '45' || $item_number.$idx == '47' || $item_number.$idx == '49' || $item_number.$idx == '51' || $item_number.$idx == '54' || $item_number.$idx == '55' || $item_number.$idx == '57' || $item_number.$idx == '58')
- {
- echo ("<p><div id='bold'>Produkter tillgängliga för nerladdning/lyssning</div></p><br>\n");
- }
- // Show items for donwload/listening if their id = X
- if ($item_number.$idx == '1' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Gladje/art-Gladje.rar'>Glädje</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '3' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/art-Gora_min_rost_hord.rar'>Göra min röst hörd</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '5' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/art-Njuta_Livet.rar'>Njuta av livet</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '7' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/art-Valja_alskar.rar'>Välja det jag älskar</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '9' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Gladje/art-Gladje.rar'>Happiness</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '11' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/art-Gora_min_rost_hord.rar'>Make my voice heard</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '13' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/art-Njuta_Livet.rar'>Enjoy life</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '15' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/art-Valja_alskar.rar'>Choose what I love</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '17' ) {
- echo ("<section>");
- echo("<div class='abouttext2'>Guidade upplevelser - Förlåten av dig</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Del 1: Inledning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/1_Inledning_Forlatelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 2: Avslappning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/2_Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 3: Jag vill bli förlåten av dig</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/3_Jag_vill_bli_forlaten_av_dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '18' ) {
- echo ("<section>");
- echo("<div class='abouttext2'>Guidade upplevelser - Förlåta mig själv</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Del 1: Inledning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 2: Avslappning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 3: Jag vill förlåta mig själv</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/3 Jag vill förlåta mig själv.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '19' ) {
- echo ("<section>");
- echo("<div class='abouttext2'>Guidade upplevelser - Jag förlåter dig</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Del 1: Inledning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 2: Avslappning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 3: Jag förlåter dig</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/3 Jag vill förlåta dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '20' ) {
- echo ("<section>");
- echo("<div class='abouttext2'>Guidade upplevelser - Du förlåter dig</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Del 1: Inledning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 2: Avslappning</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 3: Du förlåter dig</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/3 Du förlåter Dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '21' ) {
- echo ("<section>");
- echo("<div class='abouttext2'>Guidade upplevelser - Förlåtelseprocess alla delar</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Del 1: Inledning</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 2: Avslappning</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 3: Jag vill förlåta dig</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/3 Jag vill förlåta dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 4: Jag vill bli förlåten av dig</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/4 Jag vill bli förlåten av dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 5: Jag vill förlåta mig själv</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/5 Jag vill förlåta mig själv.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Del 6: Jag vill att du förlåter dig</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/6 Jag vill att du förlåter dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '22' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/guidade_upplevelser-Taltet.rar'>Tältet</a></div>\n");
- echo ("<br />");
- }
- if ($item_numbe.$idxr == '24' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/Guidning_till_kroppen.rar'>Guidning till kroppen</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '26' ) {
- echo ("<section>");
- echo("<div class='abouttext2'>Guided Experiences - I want to be forgiven by you</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Part 1: Introduction</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/1_Inledning_Forlatelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 2: Relaxation</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/2_Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 3: I want to be forgiven..</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/3_Jag_vill_bli_forlaten_av_dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '27' ) {
- echo("<section>");
- echo("<div class='abouttext2'>Guided Experiences - I want to forgive myself</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Part 1: Introduction</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 2: Relaxation</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 3: I want to forgive myself</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/3 Jag vill förlåta mig själv.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '28' ) {
- echo("<section>");
- echo("<div class='abouttext2'>Guided Experiences - I want to forgive you</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Part 1: Introduction</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 2: Relaxation</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo ("<br />");
- echo("<div class='vidtext'>Part 3: I want to forgive you</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/3 Jag vill förlåta dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '29' ) {
- echo("<section>");
- echo("<div class='abouttext2'>Guided Experiences - You forgive yourself</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Part 1: Introduction</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 2: Relaxation</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 3: You forgive yourself</div>");
- echo("<audio controls>");
- echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/3 Du förlåter Dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '30' ) {
- echo("<section>");
- echo("<div class='abouttext2'>Guided Experiences - Forgiveness all parts</div>\n");
- echo("<br />");
- echo("<div class='vidtext'>Part 1: Introduction</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 2: Relaxation</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/2 Avslappning.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 3: I want to forgive you</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/3 Jag vill förlåta dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 4: I want to be forgiven..</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/4 Jag vill bli förlåten av dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 5: I want to forgive myself</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/5 Jag vill förlåta mig själv.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("<br />");
- echo("<div class='vidtext'>Part 6: You forgive yourself</div>");
- echo("<audio controls>");
- echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/6 Jag vill att du förlåter dig.mp3' type='audio/mpeg'>");
- echo("Your browser does not support the audio tag.");
- echo("</audio>");
- echo("</section>");
- echo("<div class='abouttext2'><br /></div>");
- }
- if ($item_number.$idx == '31' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/guidade_upplevelser-Taltet.rar'>The Tent</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '33' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/Guidning_till_kroppen.rar'>Guidance to the body</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '41' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/clearings_aktiveringr-Att_Satta_Mal.rar'>Att Sätta Mål och Ta ut Riktning</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '43' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/clearings_aktiveringar-Fragor.rar'>Att ställa och få Frågor</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '45' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/clearings_aktiveringar-Forandring.rar'>Min Förmåga och Möjlighet till Förändring</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '47' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/clearings_aktiveringr-Att_Satta_Mal.rar'>Goal setting and finding direction</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '49' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/clearings_aktiveringar-Fragor.rar'>Questions, ask and answer them</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '51' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/clearings_aktiveringar-Forandring.rar'>My own Capacity and My Possibility of Change</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '55' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/01 Svensk Intro Your Wish is Your Command.rar'>Introduktion: Your Wish is Your Command</a></div>\n");
- echo ("<br />");
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/Your wish is your command.rar'>Your Wish is Your Command</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '58' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/02 Intro Your Wish is Your Command.rar'>Introduction: Your Wish is Your Command</a></div>\n");
- echo ("<br />");
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/Your wish is your command.rar'>Your Wish is Your Command</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '54' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/01 Svensk Intro Your Wish is Your Command.rar'>Introduktion: Your Wish is Your Command</a></div>\n");
- echo ("<br />");
- }
- if ($item_number.$idx == '57' ) {
- echo ("<div class='abouttext2'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/02 Intro Your Wish is Your Command.rar'>Introduction: Your Wish is Your Command</a></div>\n");
- echo ("<br />");
- }
- echo ("<p><div id='bold'>Betalningsinformation</div></p><br>\n");
- echo ("<div class='abouttext'>Kund: ".$firstname." ".$lastname."</div>\n");
- $array_keys = array_keys($response);
- $count = 1;
- foreach($array_keys as $element)
- {
- if (!strncmp('item_number', $element, strlen('item_number')))
- $count++;
- }
- for($idx = 1; $idx < $count; $idx ++)
- {
- if (isset($string1) && 'item_name' != null)
- {
- //$item_name .=$idx ++;
- //$item_name = $item_name++;
- echo ("<div class='abouttext'>Produkt: ".$item_name."</div>\n");
- echo ("<div class='abouttext'>ID: ".$item_number."</div>\n");
- echo ("<div class='abouttext'>Antal: ".$qty."</div>\n");
- echo ("<br />");
- }
- }
- echo ("<div id='ul'>Summa: ".$total." kr</div>\n");
- echo ("<br />");
- echo ("<div class='abouttext3'>Alla priser är i svenska kronor inklusive moms: <br>");
- echo ("6% moms på böcker, 12% moms på EnergyUnion, 25% moms på resten av sortimentet. <br></div>");
- echo ("<div class='abouttext3'>Din transaktion är slutförd.");
- echo ("<br />");
- echo ("Ett kvitto av ditt köp har skickats till din mail.");
- echo ("<br />");
- echo ("Du kan logga in på ditt konto på www.paypal.com för att se detaljerna av köpet.");
- echo ("<br />");
- echo ("<div class='abouttext3'>Tillbaka till: <a href='http://energyshop.se'>energyshop.se</a></div>");
- echo ("<br />");
- }
- else
- {
- // Log the error, ignore it, whatever
- echo("nerru");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment