Advertisement
Guest User

PDT SCRIPT

a guest
May 22nd, 2013
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 65.77 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
  5. <link rel="stylesheet" type="text/css" href='/phpstyles.css' />
  6. <script src="http://api.html5media.info/1.1.5/html5media.min.js"></script>
  7. <title>Tack för Ert köp!</title>
  8. </head>
  9. <body>
  10. <?php
  11. // For sandbox testing
  12. //$pp_hostname = "www.sandbox.paypal.com";
  13.  
  14. //live
  15. $pp_hostname = "www.paypal.com";
  16.  
  17. //sandbox token
  18. //$auth_token = "FBO_RlnSKMrFCJlPOvghIonpJx2uiXH_ICIeh8-VMIUWtVjM5vhPJV0LCUW";
  19.  
  20. //real token
  21. $auth_token = "P0d7_HmQSAuXh9r-7hG1Rzf_npI2LaFgYHQJyWUsjQHg7WhZARqs3sq6IW4";
  22.  
  23. if(isset($_GET['tx']))
  24. {
  25.   $tx = $_GET['tx'];
  26.  
  27.         // Init cURL
  28.         $request = curl_init();
  29.  
  30.         // Set request options
  31.         $req = 'cmd=_notify-synch';
  32.         $req .= "&tx=$tx&at=$auth_token";
  33.  
  34. curl_setopt($request, CURLOPT_URL, "https://$pp_hostname/cgi-bin/webscr");
  35. curl_setopt($request, CURLOPT_POST, 1);
  36. curl_setopt($request, CURLOPT_RETURNTRANSFER,1);
  37. curl_setopt($request, CURLOPT_POSTFIELDS, $req);
  38. curl_setopt($request, CURLOPT_SSL_VERIFYPEER, 1);
  39. curl_setopt($request, CURLOPT_SSL_VERIFYHOST, 2);
  40. curl_setopt($request, CURLOPT_HTTPHEADER, array("Host: $pp_hostname"));
  41.  
  42. // Execute request and get response and status code
  43. $response = curl_exec($request);
  44. $status   = curl_getinfo($request, CURLINFO_HTTP_CODE);
  45.                
  46.                 // Close connection
  47.                 curl_close($request);
  48.                
  49.                 // Validate response
  50.                 if($status == 200 AND strpos($response, 'SUCCESS') === 0)
  51.                 {              
  52.                                 // Remove SUCCESS part (7 characters long)
  53.                                 $response = substr($response, 7);
  54.  
  55.                                 // URL decode
  56.                                 $response = urldecode($response);
  57.                                
  58.                                 // Turn into associative array
  59.                                 preg_match_all('/^([^=\s]++)=(.*+)/m', $response, $m, PREG_PATTERN_ORDER);
  60.                                 $response = array_combine($m[1], $m[2]);
  61.                                 // Fix character encoding if different from UTF-8 (in my case)
  62.                                 if(isset($response['charset']) AND strtoupper($response['charset']) !== 'UTF-8')
  63.                                 {
  64.                                                 foreach($response as $key => &$value)
  65.                                                 {
  66.                                                         $value = mb_convert_encoding($value, 'UTF-8', $response['charset']);
  67.                                                 }
  68.  
  69.                                                 $response['charset_original'] = $response['charset'];
  70.                                                 $response['charset'] = 'UTF-8';
  71.                                 }
  72.                                
  73.                                 // Sort on keys for readability (handy when debugging)
  74.                                 ksort($response);
  75.                                 // Build customer purchase receipt
  76.                                
  77.                        
  78.                                 $firstname = $response[first_name];
  79.                                 $lastname = $response[last_name];
  80.                                 $total = $response[mc_gross];
  81.                                 $id = $response[item_number];
  82.  
  83.         echo ("<div id='wrapper'>");
  84.         echo ("<div id='welcomeText'>Tack för ditt köp!</div>");
  85.         echo ("<div id='welcomeTexten'>Thank you for your order!</div>");
  86.         echo ("<div class='abouttext3bold'>Stanna kvar på den här sidan tills du laddat ned, alternativt lyssnat på dina ljudfiler.</div>");
  87.         echo ("<div class='abouttext3bolden'>Stay on this page until you have downloaded or listened to your audio files.</div>");
  88.        
  89.         $i = 1;
  90.         $count2 = 1;
  91.         $array_keys = array_keys($response);
  92.         $z = 1;
  93.         // 1st loop for print headline
  94.         foreach($array_keys as $element)
  95.         {
  96.         if (!strncmp('item_number', $element, strlen('item_number')))
  97.                 $count2++;    
  98.         }
  99.         for($idx = 1; $idx < $count2; $idx ++ & $z++)
  100.         {
  101.                 $item_number = $response[item_number . $z];
  102.                
  103.         }
  104.         // If item_number matches any product that is for download/listetning, then print this headline
  105.         $product_ids = array(1,3,5,7,9,11,13,15,17,18,19,20,21,22,24,26,27,28,29,30,31,33,41,43,45,47,49,51,54,55,57,58);
  106.         if ( in_array($item_number, $product_ids) )
  107.         {
  108.             echo ("<div class='bold'>Produkter tillgängliga för nerladdning/lyssning</div>");
  109.                         echo ("<div id='bolden'>Downloadable products/products for listening</div>");
  110.                         echo ("<div class='abouttext3'><br>Har du köpt filer som ska laddas hem till din dator, klickar du bara på länken.<br>Händer inget efter ett par sekund så högerklickar du istället på filen och väljer “Spara som…”<br></div>");
  111.                         echo ("<div class='abouttext3en'>If you bought a downloadable file, you download it by left clicking the link.<br>If nothing happens after a few seconds, you right click instead on the file and choose “Save as…”<br></div>");
  112.                         echo ("<br />");
  113.                         echo ("<div class='abouttext3'>Har du köpt lyssning av den Guidade upplevelsen till Förlåtelse,<br> trycker du på Play-symbolen (den lilla ”pilen”) för att lyssna.<br></div>");
  114.                         echo ("<div class='abouttext3en'>If you bought a listening of The Guided Experience of Forgiveness<br> you listen to it by pushing the play button.</div>");
  115.                         echo ("<br />");
  116.                         echo ("<div class='abouttext3'>OBS! Använder du Internet Explorer behöver du version 9 eller högre<br> för att kunna lyssna och spela filerna i webbläsaren.<br>Senaste versionen hittar du <a href='http://windows.microsoft.com/sv-se/internet-explorer/download-ie/' target='_blank'>HÄR</a><br></div>");
  117.                         echo ("<div class='abouttext3en'>If you are using Internet Explorer you need at least version 9 or higher<br> to be able to listen to and play the files in the browser.<br>Latest version is found <a href='http://windows.microsoft.com/en-us/internet-explorer/download-ie/' target='_blank'>HERE</a><br></div>");
  118.     }
  119.         $count2 = 1;
  120.         $array_keys = array_keys($response);
  121.         $z = 1;
  122.         // 1st loop for print headline
  123.         foreach($array_keys as $element)
  124.         {
  125.         if (!strncmp('item_number', $element, strlen('item_number')))
  126.                 $count2++;    
  127.         }
  128.         for($idx = 1; $idx < $count2; $idx ++ & $z++)
  129.         {
  130.                         //2nd loop for showing content
  131.                         $item_number = $response[item_number . $z];
  132.                         if ($item_number == '1') {
  133.                                 echo ("<div class='dlhead'>Glädje</div>\n");  
  134.                                 echo ("<ol>");
  135.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/1-Intro.mp3'>Intro</a></div></li>");
  136.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/2-Varva_ned.mp3'>Varva ned</a></div></li>");
  137.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/3-Gladje.mp3'>Glädje</a></div></li>");
  138.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/4-Gladje_Snabbis.mp3'>Snabbis</a></div></li>");
  139.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/5-Avslutning.mp3'>Avslutning</a></div></li>");
  140.                                 echo ("</ol>");                
  141.                         }
  142.                         if ($item_number == '3') {
  143.                                 echo ("<div class='dlhead'>Göra min röst hörd</div>\n");    
  144.                                 echo ("<ol>");
  145.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/1-Intro.mp3'>Intro</a></div></li>");
  146.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/2-Varva_ned.mp3'>Varva ned</a></div></li>");
  147.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/3-Gora_min_rost_hord.mp3'>Göra min röst hörd</a></div></li>");
  148.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/4-Gora_min_rost_hord_Snabbis.mp3'>Snabbis</a></div></li>");
  149.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/5-Avslutning.mp3'>Avslutning</a></div></li>");
  150.                                 echo ("</ol>");
  151.                         }
  152.                         if ($item_number == '5') {
  153.                                 echo ("<div class='dlhead'>Njuta av livet</div>\n");  
  154.                                 echo ("<ol>");
  155.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/1-Intro.mp3'>Intro</a></div></li>");
  156.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/2-Varva_ned.mp3'>Varva ned</a></div></li>");
  157.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/3-Njuta_Livet.mp3'>Njuta av livet</a></div></li>");
  158.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/4-Njuta_Livet_Snabbis.mp3'>Snabbis</a></div></li>");
  159.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/5-Avslutning.mp3'>Avslutning</a></div></li>");
  160.                                 echo ("</ol>");
  161.                         }
  162.                         if ($item_number == '7') {
  163.                                 echo ("<div class='dlhead'>Välja det jag älskar</div>\n");  
  164.                                 echo ("<ol>");
  165.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/1-Intro.mp3'>Intro</a></div></li>");
  166.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/2-Varva_ned.mp3'>Varva ned</a></div></li>");
  167.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/3-Valja_Alskar.mp3'>Välja det jag älskar</a></div></li>");
  168.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/4-Valja_Alskar_Snabbis.mp3'>Snabbis</a></div></li>");
  169.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/5-Avslutning.mp3'>Avslutning</a></div></li>");
  170.                                 echo ("</ol>");
  171.                         }
  172.                         if ($item_number == '9') {
  173.                                 echo ("<div class='dlhead'>Happiness</div>\n");
  174.                                 echo ("<ol>");
  175.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/1-Intro.mp3'>Intro</a></div></li>");
  176.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/2-Varva_ned.mp3'>Unwind</a></div></li>");
  177.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/3-Gladje.mp3'>Happiness</a></div></li>");
  178.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/4-Gladje_Snabbis.mp3'>Quickie</a></div></li>");
  179.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gladje/5-Avslutning.mp3'>Ending</a></div></li>");
  180.                                 echo ("</ol>");        
  181.                         }
  182.                         if ($item_number == '11') {
  183.                                 echo ("<div class='dlhead'>Make my voice heard</div>\n");      
  184.                                 echo ("<ol>");
  185.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/1-Intro.mp3'>Intro</a></div></li>");
  186.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/2-Varva_ned.mp3'>Unwind</a></div></li>");
  187.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/3-Gora_min_rost_hord.mp3'>Make my voice heard</a></div></li>");
  188.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/4-Gora_min_rost_hord_Snabbis.mp3'>Quickie</a></div></li>");
  189.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Gora_min_rost_hord/5-Avslutning.mp3'>Ending</a></div></li>");
  190.                                 echo ("</ol>");
  191.                         }
  192.                         if ($item_number == '13') {
  193.                                 echo ("<div class='dlhead'>Enjoy life</div>\n");      
  194.                                 echo ("<ol>");
  195.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/1-Intro.mp3'>Intro</a></div></li>");
  196.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/2-Varva_ned.mp3'>Unwind</a></div></li>");
  197.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/3-Njuta_Livet.mp3'>Enjoy life</a></div></li>");
  198.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/4-Njuta_Livet_Snabbis.mp3'>Quickie</a></div></li>");
  199.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Njuta_Livet/5-Avslutning.mp3'>Ending</a></div></li>");
  200.                                 echo ("</ol>");        
  201.                         }
  202.                         if ($item_number == '15') {
  203.                                 echo ("<div class='dlhead'>Choose what I love</div>\n");      
  204.                                 echo ("<ol>");
  205.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/1-Intro.mp3'>Intro</a></div></li>");
  206.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/2-Varva_ned.mp3'>Unwind</a></div></li>");
  207.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/3-Valja_Alskar.mp3'>Choose what I love</a></div></li>");
  208.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/4-Valja_Alskar_Snabbis.mp3'>Quickie</a></div></li>");
  209.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/ART/Valja_alskar/5-Avslutning.mp3'>Ending</a></div></li>");
  210.                                 echo ("</ol>");
  211.                         }
  212.                         if ($item_number == '17') {
  213.                                 echo ("<section>");
  214.                                 echo("<div class='abouttext2'>Guidade upplevelser - Förlåten av dig</div>\n");
  215.                                 echo("<br />");
  216.                                 echo("<div class='vidtext'>Del 1: Inledning</div>");
  217.                                 echo("<audio controls='controls'>");
  218.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/1_Inledning_Forlatelseprocess.ogg' type='audio/ogg'>");
  219.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/1_Inledning_Forlatelseprocess.mp3' type='audio/mpeg'>");
  220.                         echo("Your browser does not support the audio tag.");
  221.                                 echo("</audio>");
  222.                                 echo("<br />");
  223.                                 echo("<div class='vidtext'>Del 2: Avslappning</div>");
  224.                                 echo("<audio controls>");
  225.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/2_Avslappning.ogg' type='audio/ogg'>");
  226.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/2_Avslappning.mp3' type='audio/mpeg'>");
  227.                         echo("Your browser does not support the audio tag.");
  228.                                 echo("</audio>");
  229.                                 echo("<br />");
  230.                                 echo("<div class='vidtext'>Del 3: Jag vill bli förlåten av dig</div>");
  231.                                 echo("<audio controls>");
  232.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/3_Jag_vill_bli_forlaten_av_dig.ogg' type='audio/ogg'>");
  233.                                 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'>");
  234.                         echo("Your browser does not support the audio tag.");
  235.                                 echo("</audio>");
  236.                                 echo("</section>");
  237.                                 echo("<div class='abouttext2'><br /></div>");  
  238.                         }
  239.                         if ($item_number == '18') {
  240.                                 echo ("<section>");
  241.                                 echo("<div class='abouttext2'>Guidade upplevelser - Förlåta mig själv</div>\n");
  242.                                 echo("<br />");
  243.                                 echo("<div class='vidtext'>Del 1: Inledning</div>");
  244.                                 echo("<audio controls>");
  245.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  246.                                 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'>");
  247.                         echo("Your browser does not support the audio tag.");
  248.                                 echo("</audio>");
  249.                                 echo("<br />");
  250.                                 echo("<div class='vidtext'>Del 2: Avslappning</div>");
  251.                                 echo("<audio controls>");
  252.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/2 Avslappning.ogg' type='audio/ogg'>");
  253.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/2 Avslappning.mp3' type='audio/mpeg'>");
  254.                         echo("Your browser does not support the audio tag.");
  255.                                 echo("</audio>");
  256.                                 echo("<br />");
  257.                                 echo("<div class='vidtext'>Del 3: Jag vill förlåta mig själv</div>");
  258.                                 echo("<audio controls>");
  259.                                 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.ogg' type='audio/ogg'>");
  260.                                 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'>");
  261.                         echo("Your browser does not support the audio tag.");
  262.                                 echo("</audio>");
  263.                                 echo("</section>");
  264.                                 echo("<div class='abouttext2'><br /></div>");  
  265.                         }
  266.                         if ($item_number == '19') {
  267.                                 echo ("<section>");
  268.                                 echo("<div class='abouttext2'>Guidade upplevelser - Jag förlåter dig</div>\n");
  269.                                 echo("<br />");
  270.                                 echo("<div class='vidtext'>Del 1: Inledning</div>");
  271.                                 echo("<audio controls>");
  272.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  273.                                 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'>");
  274.                                 echo("Your browser does not support the audio tag.");
  275.                                 echo("</audio>");
  276.                                 echo("<br />");
  277.                                 echo("<div class='vidtext'>Del 2: Avslappning</div>");
  278.                                 echo("<audio controls>");
  279.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/2 Avslappning.ogg' type='audio/ogg'>");
  280.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/2 Avslappning.mp3' type='audio/mpeg'>");
  281.                                 echo("Your browser does not support the audio tag.");
  282.                                 echo("</audio>");
  283.                                 echo("<br />");
  284.                                 echo("<div class='vidtext'>Del 3: Jag förlåter dig</div>");
  285.                                 echo("<audio controls>");
  286.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/3 Jag vill förlåta dig.ogg' type='audio/ogg'>");
  287.                                 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'>");
  288.                                 echo("Your browser does not support the audio tag.");
  289.                                 echo("</audio>");
  290.                                 echo("</section>");
  291.                                 echo("<div class='abouttext2'><br /></div>");  
  292.                         }
  293.                         if ($item_number == '20') {
  294.                                 echo ("<section>");
  295.                                 echo("<div class='abouttext2'>Guidade upplevelser - Du förlåter dig</div>\n");
  296.                                 echo("<br />");
  297.                                 echo("<div class='vidtext'>Del 1: Inledning</div>");
  298.                                 echo("<audio controls>");
  299.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  300.                                 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'>");
  301.                                 echo("Your browser does not support the audio tag.");
  302.                                 echo("</audio>");
  303.                                 echo("<br />");
  304.                                 echo("<div class='vidtext'>Del 2: Avslappning</div>");
  305.                                 echo("<audio controls>");
  306.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/2 Avslappning.ogg' type='audio/ogg'>");
  307.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/2 Avslappning.mp3' type='audio/mpeg'>");
  308.                                 echo("Your browser does not support the audio tag.");
  309.                                 echo("</audio>");
  310.                                 echo("<br />");
  311.                                 echo("<div class='vidtext'>Del 3: Du förlåter dig</div>");
  312.                                 echo("<audio controls>");
  313.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/3 Du förlåter Dig.ogg' type='audio/ogg'>");
  314.                                 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'>");
  315.                                 echo("Your browser does not support the audio tag.");
  316.                                 echo("</audio>");
  317.                                 echo("</section>");
  318.                                 echo("<div class='abouttext2'><br /></div>");  
  319.                         }
  320.                         if ($item_number == '21') {
  321.                                 echo ("<section>");
  322.                                 echo("<div class='abouttext2'>Guidade upplevelser - Förlåtelseprocess alla delar</div>\n");
  323.                                 echo("<br />");
  324.                                 echo("<div class='vidtext'>Del 1: Inledning</div>");
  325.                                 echo("<audio controls>");
  326.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  327.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
  328.                                 echo("Your browser does not support the audio tag.");
  329.                                 echo("</audio>");
  330.                                 echo("<br />");
  331.                                 echo("<div class='vidtext'>Del 2: Avslappning</div>");
  332.                                 echo("<audio controls>");
  333.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/2 Avslappning.ogg' type='audio/ogg'>");
  334.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/2 Avslappning.mp3' type='audio/mpeg'>");
  335.                                 echo("Your browser does not support the audio tag.");
  336.                                 echo("</audio>");
  337.                                 echo("<br />");
  338.                                 echo("<div class='vidtext'>Del 3: Jag vill förlåta dig</div>");
  339.                                 echo("<audio controls>");
  340.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/3 Jag vill förlåta dig.ogg' type='audio/ogg'>");
  341.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/3 Jag vill förlåta dig.mp3' type='audio/mpeg'>");
  342.                                 echo("Your browser does not support the audio tag.");
  343.                                 echo("</audio>");
  344.                                 echo("<br />");
  345.                                 echo("<div class='vidtext'>Del 4: Jag vill bli förlåten av dig</div>");
  346.                                 echo("<audio controls>");
  347.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/4 Jag vill bli förlåten av dig.ogg' type='audio/ogg'>");
  348.                                 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'>");
  349.                                 echo("Your browser does not support the audio tag.");
  350.                                 echo("</audio>");
  351.                                 echo("<br />");
  352.                                 echo("<div class='vidtext'>Del 5: Jag vill förlåta mig själv</div>");
  353.                                 echo("<audio controls>");
  354.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/5 Jag vill förlåta mig själv.ogg' type='audio/ogg'>");
  355.                                 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'>");
  356.                                 echo("Your browser does not support the audio tag.");
  357.                                 echo("</audio>");
  358.                                 echo("<br />");
  359.                                 echo("<div class='vidtext'>Del 6: Jag vill att du förlåter dig</div>");
  360.                                 echo("<audio controls>");
  361.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/6 Jag vill att du förlåter dig.ogg' type='audio/ogg'>");
  362.                                 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'>");
  363.                                 echo("Your browser does not support the audio tag.");
  364.                                 echo("</audio>");
  365.                                 echo("</section>");
  366.                                 echo("<div class='abouttext2'><br /></div>");  
  367.                         }
  368.                         if ($item_number == '22') {
  369.                                 echo ("<div class='dlhead'>Tältet</div>\n");  
  370.                                 echo ("<ol>");
  371.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/1-Intro_Taltet.mp3'>Intro</a></div></li>");
  372.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/2-Inledning_Taltet.mp3'>Inledning</a></div></li>");
  373.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/3-Taltet.mp3'>Tältet</a></div></li>");
  374.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/4-Taltet_Snabbis.mp3'>Snabbis</a></div></li>");
  375.                                 echo ("</ol>");
  376.                         }
  377.                         if ($item_number == '24') {
  378.                                 echo ("<div class='dlhead'>Guidning till kroppen</div>\n");    
  379.                                 echo ("<ol>");
  380.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/1-Intro.mp3'>Intro</a></div></li>");
  381.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/2-Kroppen_Lang.mp3'>Lång guidning</a></div></li>");
  382.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/3-Kroppen_Kort.mp3'>Kort guidning</a></div></li>");
  383.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/4-Kroppen_Snabbis.mp3'>Snabbis</a></div></li>");
  384.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/5-Kroppen_Vagledning.mp3'>Fokus långt ner</a></div></li>");
  385.                                 echo ("</ol>");        
  386.                         }
  387.                         if ($item_number == '26') {
  388.                                 echo("<section>");
  389.                                 echo("<div class='abouttext2'>Guided Experiences - I want to be forgiven by you</div>\n");
  390.                                 echo("<br />");
  391.                                 echo("<div class='vidtext'>Part 1: Introduction</div>");
  392.                                 echo("<audio controls>");
  393.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/1_Inledning_Forlatelseprocess.ogg' type='audio/ogg'>");
  394.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/1_Inledning_Forlatelseprocess.mp3' type='audio/mpeg'>");
  395.                                 echo("Your browser does not support the audio tag.");
  396.                                 echo("</audio>");
  397.                                 echo("<br />");
  398.                                 echo("<div class='vidtext'>Part 2: Relaxation</div>");
  399.                                 echo("<audio controls>");
  400.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/2_Avslappning.ogg' type='audio/ogg'>");
  401.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/2_Avslappning.mp3' type='audio/mpeg'>");
  402.                                 echo("Your browser does not support the audio tag.");
  403.                                 echo("</audio>");
  404.                                 echo("<br />");
  405.                                 echo("<div class='vidtext'>Part 3: I want to be forgiven..</div>");
  406.                                 echo("<audio controls>");
  407.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlaten_av_dig/3_Jag_vill_bli_forlaten_av_dig.ogg' type='audio/ogg'>");
  408.                                 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'>");
  409.                                 echo("Your browser does not support the audio tag.");
  410.                                 echo("</audio>");
  411.                                 echo("</section>");
  412.                                 echo("<div class='abouttext2'><br /></div>");  
  413.                         }
  414.                         if ($item_number == '27') {
  415.                                 echo("<section>");
  416.                                 echo("<div class='abouttext2'>Guided Experiences - I want to forgive myself</div>\n");
  417.                                 echo("<br />");
  418.                                 echo("<div class='vidtext'>Part 1: Introduction</div>");
  419.                                 echo("<audio controls>");
  420.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  421.                                 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'>");
  422.                                 echo("Your browser does not support the audio tag.");
  423.                                 echo("</audio>");
  424.                                 echo("<br />");
  425.                                 echo("<div class='vidtext'>Part 2: Relaxation</div>");
  426.                                 echo("<audio controls>");
  427.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/2 Avslappning.ogg' type='audio/ogg'>");
  428.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Forlata_mig_sjalv/2 Avslappning.mp3' type='audio/mpeg'>");
  429.                                 echo("Your browser does not support the audio tag.");
  430.                                 echo("</audio>");
  431.                                 echo("<br />");
  432.                                 echo("<div class='vidtext'>Part 3: I want to forgive myself</div>");
  433.                                 echo("<audio controls>");
  434.                                 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.ogg' type='audio/ogg'>");
  435.                                 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'>");
  436.                                 echo("Your browser does not support the audio tag.");
  437.                                 echo("</audio>");
  438.                                 echo("</section>");
  439.                                 echo("<div class='abouttext2'><br /></div>");  
  440.                         }
  441.                         if ($item_number == '28') {
  442.                                 echo("<section>");
  443.                                 echo("<div class='abouttext2'>Guided Experiences - I want to forgive you</div>\n");
  444.                                 echo("<br />");
  445.                                 echo("<div class='vidtext'>Part 1: Introduction</div>");
  446.                                 echo("<audio controls>");
  447.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  448.                                 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'>");
  449.                                 echo("Your browser does not support the audio tag.");
  450.                                 echo("</audio>");
  451.                                 echo("<br />");
  452.                                 echo("<div class='vidtext'>Part 2: Relaxation</div>");
  453.                                 echo("<audio controls>");
  454.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/2 Avslappning.ogg' type='audio/ogg'>");
  455.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/2 Avslappning.mp3' type='audio/mpeg'>");
  456.                                 echo("Your browser does not support the audio tag.");
  457.                                 echo("</audio>");
  458.                                 echo ("<br />");
  459.                                 echo("<div class='vidtext'>Part 3: I want to forgive you</div>");
  460.                                 echo("<audio controls>");
  461.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Jag_forlater_dig/3 Jag vill förlåta dig.ogg' type='audio/ogg'>");
  462.                                 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'>");
  463.                                 echo("Your browser does not support the audio tag.");
  464.                                 echo("</audio>");
  465.                                 echo("</section>");
  466.                                 echo("<div class='abouttext2'><br /></div>");  
  467.                         }
  468.                         if ($item_number == '29') {
  469.                                 echo("<section>");
  470.                                 echo("<div class='abouttext2'>Guided Experiences - You forgive yourself</div>\n");
  471.                                 echo("<br />");
  472.                                 echo("<div class='vidtext'>Part 1: Introduction</div>");
  473.                                 echo("<audio controls>");
  474.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  475.                                 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'>");
  476.                                 echo("Your browser does not support the audio tag.");
  477.                                 echo("</audio>");
  478.                                 echo("<br />");
  479.                                 echo("<div class='vidtext'>Part 2: Relaxation</div>");
  480.                                 echo("<audio controls>");
  481.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/2 Avslappning.ogg' type='audio/ogg'>");
  482.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/2 Avslappning.mp3' type='audio/mpeg'>");
  483.                                 echo("Your browser does not support the audio tag.");
  484.                                 echo("</audio>");
  485.                                 echo("<br />");
  486.                                 echo("<div class='vidtext'>Part 3: You forgive yourself</div>");
  487.                                 echo("<audio controls>");
  488.                                 echo("<source src='/wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Delar/Du_forlater_Dig/3 Du förlåter Dig.ogg' type='audio/ogg'>");
  489.                                 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'>");
  490.                                 echo("Your browser does not support the audio tag.");
  491.                                 echo("</audio>");
  492.                                 echo("</section>");
  493.                                 echo("<div class='abouttext2'><br /></div>");  
  494.                         }
  495.                         if ($item_number == '30') {
  496.                                 echo("<section>");
  497.                                 echo("<div class='abouttext2'>Guided Experiences - Forgiveness all parts</div>\n");
  498.                                 echo("<br />");
  499.                                 echo("<div class='vidtext'>Part 1: Introduction</div>");
  500.                                 echo("<audio controls>");
  501.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/1 Inledning Förlåtelseprocess.ogg' type='audio/ogg'>");
  502.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/1 Inledning Förlåtelseprocess.mp3' type='audio/mpeg'>");
  503.                                 echo("Your browser does not support the audio tag.");
  504.                                 echo("</audio>");
  505.                                 echo("<br />");
  506.                                 echo("<div class='vidtext'>Part 2: Relaxation</div>");
  507.                                 echo("<audio controls>");
  508.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/2 Avslappning.ogg' type='audio/ogg'>");
  509.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/2 Avslappning.mp3' type='audio/mpeg'>");
  510.                                 echo("Your browser does not support the audio tag.");
  511.                                 echo("</audio>");
  512.                                 echo("<br />");
  513.                                 echo("<div class='vidtext'>Part 3: I want to forgive you</div>");
  514.                                 echo("<audio controls>");
  515.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/3 Jag vill förlåta dig.ogg' type='audio/ogg'>");
  516.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/3 Jag vill förlåta dig.mp3' type='audio/mpeg'>");
  517.                                 echo("Your browser does not support the audio tag.");
  518.                                 echo("</audio>");
  519.                                 echo("<br />");
  520.                                 echo("<div class='vidtext'>Part 4: I want to be forgiven..</div>");
  521.                                 echo("<audio controls>");
  522.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/4 Jag vill bli förlåten av dig.ogg' type='audio/ogg'>");
  523.                                 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'>");
  524.                                 echo("Your browser does not support the audio tag.");
  525.                                 echo("</audio>");
  526.                                 echo("<br />");
  527.                                 echo("<div class='vidtext'>Part 5: I want to forgive myself</div>");
  528.                                 echo("<audio controls>");
  529.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/5 Jag vill förlåta mig själv.ogg' type='audio/ogg'>");
  530.                                 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'>");
  531.                                 echo("Your browser does not support the audio tag.");
  532.                                 echo("</audio>");
  533.                                 echo("<br />");
  534.                                 echo("<div class='vidtext'>Part 6: You forgive yourself</div>");
  535.                                 echo("<audio controls>");
  536.                                 echo("<source src='wp-content/themes/blank/dl/Guidade_Upplevelser/Forlatelseprocess/Forlatelse_Hel/6 Jag vill att du förlåter dig.ogg' type='audio/ogg'>");
  537.                                 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'>");
  538.                                 echo("Your browser does not support the audio tag.");
  539.                                 echo("</audio>");
  540.                                 echo("</section>");
  541.                                 echo("<div class='abouttext2'><br /></div>");  
  542.                         }
  543.                         if ($item_number == '31') {
  544.                                 echo ("<div class='dlhead'>The Tent</div>\n");
  545.                                 echo ("<ol>");
  546.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/1-Intro_Taltet.mp3'>Intro</a></div></li>");
  547.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/2-Inledning_Taltet.mp3'>Introduction</a></div></li>");
  548.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/3-Taltet.mp3'>The Tent</a></div></li>");
  549.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/4-Taltet_Snabbis.mp3'>Quickie</a></div></li>");
  550.                                 echo ("</ol>");
  551.                         }
  552.                         if ($item_number == '33') {
  553.                                 echo ("<div class='dlhead'>Guidance to the body</div>\n");    
  554.                                 echo ("<ol>");
  555.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Guidning_till_kroppen/1-Intro.mp3'>Intro</a></div></li>");
  556.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/2-Kroppen_Lang.mp3'>Long guidance</a></div></li>");
  557.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/3-Kroppen_Kort.mp3'>Short guidance</a></div></li>");
  558.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/4-Kroppen_Snabbis.mp3'>Quickie</a></div></li>");
  559.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Guidade_Upplevelser/Taltet/4-Kroppen_Vagledning.mp3'>Attention far down</a></div></li>");
  560.                                 echo ("</ol>");        
  561.                         }
  562.                         if ($item_number == '41') {
  563.                                 echo ("<div class='dlhead'>Att sätta mål och ta ut riktning</div>\n");      
  564.                                 echo ("<ol>");
  565.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/1-Intro.mp3'>Intro</a></div></li>");
  566.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/2-Clearing.mp3'>Clearing</a></div></li>");
  567.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/3-Afformationer_1.mp3'>Afformationer 1</a></div></li>");
  568.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/4-Afformationer_2.mp3'>Afformationer 2</a></div></li>");
  569.                                 echo ("</ol>");
  570.                         }
  571.                         if ($item_number == '43') {
  572.                                 echo ("<div class='dlhead'>Att ställa och få Frågor</div>\n");      
  573.                                 echo ("<ol>");
  574.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/1-Intro.mp3'>Intro</a></div></li>");
  575.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/2-Fragor.mp3'>Att ställa och få Frågor</a></div></li>");
  576.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/3-Afformationer.mp3'>Afformationer</a></div></li>");
  577.                                 echo ("</ol>");
  578.                         }
  579.                         if ($item_number == '45') {
  580.                                 echo ("<div class='dlhead'>Min Förmåga och Möjlighet till Förändring</div>\n");  
  581.                                 echo ("<ol>");
  582.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/1-Intro.mp3'>Intro</a></div></li>");
  583.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/2-Formaga_Forandring.mp3'>Min Förmåga och Möjlighet till Förändring</a></div></li>");
  584.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/3-Afformationer.mp3'>Afformationer</a></div></li>");
  585.                                 echo ("</ol>");
  586.                         }
  587.                         if ($item_number == '47') {
  588.                                 echo ("<div class='dlhead'>Goal setting and finding direction</div>\n");      
  589.                                 echo ("<ol>");
  590.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/1-Intro.mp3'>Intro</a></div></li>");
  591.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/2-Clearing.mp3'>Clearing</a></div></li>");
  592.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/3-Afformationer_1.mp3'>Afformations 1</a></div></li>");
  593.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Mal/4-Afformationer_2.mp3'>Afformations 2</a></div></li>");
  594.                                 echo ("</ol>");        
  595.                         }
  596.                         if ($item_number == '49') {
  597.                                 echo ("<div class='dlhead'>Questions, ask and answer them</div>\n");  
  598.                                 echo ("<ol>");
  599.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/1-Intro.mp3'>Intro</a></div></li>");
  600.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/2-Fragor.mp3'>Questions, ask and answer them</a></div></li>");
  601.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Fragor/3-Afformationer_1.mp3'>Afformation</a></div></li>");
  602.                                 echo ("</ol>");        
  603.                         }
  604.                         if ($item_number == '51') {
  605.                                 echo ("<div class='dlhead'>My own Capacity and My Possibility of Change</div>\n");    
  606.                                 echo ("<ol>");
  607.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/1-Intro.mp3'>Intro</a></div></li>");
  608.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/2-Formaga_Forandring.mp3'>My own Capacity and My Possibility of Change</a></div></li>");
  609.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Clearings_Aktiveringar/Forandring/3-Afformationer.mp3'>Afformation</a></div></li>");
  610.                                 echo ("</ol>");        
  611.                         }
  612.                         if ($item_number == '54') {
  613.                                 echo ("<div class='dlhead'>Your wish is your command</div>\n");
  614.                                 echo ("<ol>");
  615.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_1.mp3'>Introduktion 1</a></div></li>");
  616.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_2.wma'>Introduktion 2</a></div></li>");
  617.                                 echo ("</ol>");                
  618.                         }
  619.                         if ($item_number == '55') {
  620.                                 echo ("<div class='dlhead'>Your wish is your command</div>\n");
  621.                                 echo ("<ol>");
  622.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_1.mp3'>Introduktion 1</a></div></li>");
  623.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_2.wma'>Introduktion 2</a></div></li>");
  624.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-01.mp3'>Skiva 1</a></div></li>");
  625.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-02.mp3'>Skiva 2</a></div></li>");
  626.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-03.mp3'>Skiva 3</a></div></li>");
  627.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-04.mp3'>Skiva 4</a></div></li>");
  628.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-05.mp3'>Skiva 5</a></div></li>");
  629.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-06.mp3'>Skiva 6</a></div></li>");
  630.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-07.mp3'>Skiva 7</a></div></li>");
  631.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-08.mp3'>Skiva 8</a></div></li>");
  632.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-09.mp3'>Skiva 9</a></div></li>");
  633.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-10.mp3'>Skiva 10</a></div></li>");
  634.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-11.mp3'>Skiva 11</a></div></li>");
  635.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-12.mp3'>Skiva 12</a></div></li>");
  636.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-13-QA.mp3'>Skiva 13</a></div></li>");
  637.                                 echo ("</ol>");
  638.                         }
  639.                         if ($item_number == '57') {
  640.                                 echo ("<div class='dlhead'>Your wish is your command</div>\n");
  641.                                 echo ("<ol>");
  642.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_1.mp3'>Introduction 1</a></div></li>");
  643.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_2.wma'>Introduction 2</a></div></li>");
  644.                                 echo ("</ol>");        
  645.                         }
  646.                         if ($item_number == '58') {
  647.                                 echo ("<div class='dlhead'>Your wish is your command</div>\n");
  648.                                 echo ("<ol>");
  649.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_1.mp3'>Introduction 1</a></div></li>");
  650.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/Intro_YWIYC_2.wma'>Introduction 2</a></div></li>");
  651.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-01.mp3'>Disc 1</a></div></li>");
  652.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-02.mp3'>Disc 2</a></div></li>");
  653.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-03.mp3'>Disc 3</a></div></li>");
  654.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-04.mp3'>Disc 4</a></div></li>");
  655.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-05.mp3'>Disc 5</a></div></li>");
  656.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-06.mp3'>Disc 6</a></div></li>");
  657.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-07.mp3'>Disc 7</a></div></li>");
  658.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-08.mp3'>Disc 8</a></div></li>");
  659.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-09.mp3'>Disc 9</a></div></li>");
  660.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-10.mp3'>Disc 10</a></div></li>");
  661.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-11.mp3'>Disc 11</a></div></li>");
  662.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-12.mp3'>Disc 12</a></div></li>");
  663.                                 echo ("<li><div class='dl'><a href='/wp-content/themes/blank/dl/Böcker_föreläsningar_kurser/YWIYC/YWIYC-Disk-13-QA.mp3'>Disc 13 QA</a></div></li>");
  664.                                 echo ("</ol>");
  665.                         }
  666.                 }      
  667.         echo ("<hr />");              
  668.         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>");
  669.         echo ("Stanna kvar på sidan tills du laddat ned ALLT du köpt.</div>");
  670.         echo ("<div class='kursiv'>OBS! Om du stänger ned sidan har du inte möjlighet att komma tillbaka till den.</div>");
  671.         echo ("<div class='abouttext3en'>If you bought digital products, NOW is the time and place to download them to your own computer. <br> You are only able to download them from this page.<br>");
  672.         echo ("Stay on this page until you have downloaded EVERYTHING you have bought. </div>");
  673.         echo ("<div class='kursiven'>If you leave the page you are not able to return to it.</div>");
  674.         echo ("<div class='abouttext3'>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. </div>");
  675.         echo ("<div class='kursiv'>OBS! Om du stänger ned sidan har du inte möjlighet att komma tillbaka till den.</div>");
  676.         echo ("<div class='abouttext3en'>If you bought a listening of ”The Guided experience to Forgiveness”, <br>");
  677.         echo ("this is the time and place to listen to it.</div>");
  678.         echo ("<div class='kursiven'>If you leave the page you are not able to return to it.</div>");
  679.         echo ("<div class='abouttext3'>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>\n");
  680.         echo ("<div class='abouttext3en'>If you bought physical products, they will be put in the mail by us as soon as possible <br> and at the latest, within a week of your order.</div>\n");
  681.         echo ("<div class='abouttext2'>Vi önskar Dig en bra dag.</div>");
  682.         echo ("<div class='abouttext2en'>We wish you a lovely day.</div>");
  683.         echo ("<div class='abouttext2'>Välkommen tillbaka till energyshop.se när du vill!</div>");
  684.         echo ("<div class='abouttext2en'>Welcome back to energyshop.se whenever you like!</div>");
  685.        
  686.         echo ("<hr />");
  687.        
  688.         echo ("<div class='bold'>Betalningsinformation</div><br>\n");
  689.         echo ("<div class='abouttext'>Kund: ".$firstname." ".$lastname."</div>\n");
  690.        
  691.         $array_keys = array_keys($response);
  692.         $count = 1;
  693.         $i = 1;
  694.        
  695.         foreach($array_keys as $element)
  696.         {
  697.         if (!strncmp('item_number', $element, strlen('item_number')))
  698.                 $count++;      
  699.         }
  700.                 for($idx = 1; $idx < $count; $idx ++ & $i++)
  701.                 {      
  702.                         $item_number = $response[item_number . $i];
  703.                         $item_name = $response[item_name . $i];
  704.                         $qty = $response[quantity . $i];              
  705.                         echo ("<div class='abouttext'>Produkt: ".$item_name."</div>\n");
  706.                         echo ("<div class='abouttext'>ID: ".$item_number."</div>\n");
  707.                         echo ("<div class='abouttext'>Antal: ".$qty."</div>\n");
  708.                         echo ("<br />");
  709.                 }
  710.                         echo ("<div id='ul'>Summa: ".$total." kr</div>\n");
  711.                         echo ("<br />");
  712.                         echo ("<div class='abouttext3end'>Alla priser är i svenska kronor inklusive moms: <br>");
  713.                         echo ("6% moms på böcker, 12% moms på EnergyUnion, 25% moms på resten av sortimentet. <br></div>");
  714.                         echo ("<div class='abouttext3enden'>All prices are in Swedish kronor with VAT included: <br>");
  715.                         echo ("Books 6%, EnergyUnion 12%, the rest of the products 25% VAT <br></div>");
  716.  
  717.                         echo ("<div class='abouttext3'>Din transaktion är slutförd.");
  718.                         echo ("<br />");
  719.                         echo ("Ett kvitto av ditt köp skickas från PayPal till din mail.");
  720.                         echo ("<br />");
  721.                 echo ("Du kan logga in på ditt konto på www.paypal.com för att se detaljerna av köpet.</div>");
  722.                         echo ("<br />");
  723.                 echo ("<div class='abouttext3'>Tillbaka till: <a href='http://energyshop.se'>energyshop.se</a></div>");
  724.                         echo ("<br /></div>");
  725.                 }
  726. }
  727. ?>
  728. </body>
  729. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement