PageRenderTime 41ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/DEV/DISPLAY/unsubscribe_confirmation.php

https://github.com/chrisbst35/LI_LEMONDE
PHP | 114 lines | 70 code | 26 blank | 18 comment | 17 complexity | de3242cb37ff2401043befcf7f60390e MD5 | raw file
  1. <?php if($_global['dev'] == 1 && isset($_GET['cmt']) && $_GET['cmt'] == 'on') { ?>
  2. <!-- begin : <?php echo __FILE__; ?> -->
  3. <?php } ?>
  4. <?php
  5. // common include
  6. include("modules/includes.php");
  7. // custom include
  8. include("modules/search_data.php");
  9. // html head
  10. include("modules/head.php");
  11. ?>
  12. <body>
  13. <?php
  14. // *** header ***
  15. include("modules/header.php");
  16. ?>
  17. <!-- DEBUT DIV GLOBAL -->
  18. <div id="spir_wrapper">
  19. <div class="spir_box-padding">
  20. <?php
  21. if ($_REQUEST['ABONNEMENT'] == "ALERTI1LEMONDE" || $_REQUEST['ABONNEMENT'] == "ALERT1")
  22. {
  23. ?> <h1><?= LABEL_EMAIL_UNSB_LIFR; ?></h1><?php
  24. }
  25. elseif ($_REQUEST['ABONNEMENT'] == "NL1")
  26. {
  27. ?>
  28. <h1>D&eacute;sinscription des news letters Logic-immo.com</h1>
  29. <?php }
  30. elseif ($_REQUEST['ABONNEMENT'] == "OFFER1")
  31. {
  32. ?>
  33. <h1>D&eacute;sinscription des offres partenaires Logic-immo.com</h1>
  34. <?php
  35. }else
  36. {
  37. ?>
  38. <h1>D&eacute;sinscription aux offres des agences Logic-immo.com</h1>
  39. <?php
  40. }
  41. ?>
  42. <!-- DEBUT CONTENU //-->
  43. <?php
  44. switch ($_REQUEST['ABONNEMENT'])
  45. {
  46. case "NL1":
  47. // *** News letter desinscription ***
  48. include("modules/form_unsubscribe_NL1.php");
  49. //print_r($_REQUEST['ABONNEMENT']);
  50. break;
  51. case "OFFER1":
  52. // *** Offres partenaires emailing desinscription ***
  53. include("modules/form_unsubscribe_OFFER1.php");
  54. //print_r($_REQUEST['ABONNEMENT']);
  55. break;
  56. //SARA A. 20/05/09 ajouté lien pour la désincription aux offres des agences
  57. case "OFFER2":
  58. // *** Offres partenaires emailing desinscription ***
  59. include("modules/form_unsubscribe_OFFER2.php");
  60. //print_r($_REQUEST['ABONNEMENT']);
  61. break;
  62. case "ALERTI1LEMONDE":
  63. // *** alerte email instantanée desinscription ***
  64. include("modules/form_unsubscribe.php");
  65. //print_r($_REQUEST['ABONNEMENT']);
  66. break;
  67. case "ALERTITEST":
  68. // *** alerte email simple desinscription ***
  69. include("modules/form_unsubscribe.php");
  70. //print_r($_REQUEST['ABONNEMENT']);
  71. break;
  72. }
  73. ?>
  74. </div>
  75. </div>
  76. <?php
  77. include("modules/footer.php");
  78. // *** tag ***
  79. //include("modules/tag.php");
  80. // *** xiti ***
  81. include("modules/get_xiti.php");
  82. echo "<script type='text/javascript'>$xiti_confirm</script>";
  83. ?>
  84. </body>
  85. </html>
  86. <?php if($_global['dev'] == 1 && isset($_GET['cmt']) && $_GET['cmt'] == 'on') { ?>
  87. <!-- //end : <?php echo __FILE__; ?> -->
  88. <?php } ?>