Site de la semaine d'accueil
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

coms.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?php
  2. ob_start(); // Start reading html
  3. ?>
  4. <main>
  5. <div class="box-jaune">
  6. <span class="corners corners-top"></span>
  7. <span class="corners corners-bottom"></span>
  8. <div class="title"><h1>Les Com's</h1>La liste des responsables (les meilleurs, objectivement ^^)</div>
  9. <span class="circles circles-top"></span>
  10. <span class="circles circles-bottom"></span>
  11. </div>
  12. <div id="main_content">
  13. <section>
  14. <div class='title_com'>Le Bureau</div>
  15. <?php
  16. $fonction = ["Président", "Vice présidente", "Trésorier", "Secrétaire"];
  17. $prenom = ["Maxence", "Sarah", "Paul", "Ilona"];
  18. $nom = ["Papion", "Martin", "Alnet", "Gerard"];
  19. $mail = ["maxencepapion@gmail.com", "sarah.mrtp@gmail.com", "alnet@insa-toulouse.fr", "igerard@insa-toulouse.fr"];
  20. echo "<ul>";
  21. for($i = 0; $i < count($prenom); $i++) {
  22. echo "<li>";
  23. echo "<div class='fonction_bureau'>".$fonction[$i]."</div>";
  24. echo "<h4>".$prenom[$i]." ".$nom[$i]."</h4>";
  25. echo "<a href='mailto:".$mail[$i]."' class='linkmail'>".$mail[$i]."</a>";
  26. echo "</li>";
  27. }
  28. echo "</ul>";
  29. ?>
  30. </section>
  31. <?php
  32. function respo($name, $prenom, $nom, $mail) {
  33. echo "<section>";
  34. echo "<div class='title_com'>".$name."</div>";
  35. echo "<ul>";
  36. for($i = 0; $i < count($prenom); $i++) {
  37. echo "<li>";
  38. echo "<h4>".$prenom[$i]." ".$nom[$i]."</h4>";
  39. echo "<a href='mailto:".$mail[$i]."' class='linkmail'>".$mail[$i]."</a>";
  40. echo "</li>";
  41. }
  42. echo "</ul>";
  43. echo "</section>";
  44. }
  45. ?>
  46. <?php
  47. respo(
  48. "Respo des coms",
  49. ["Sarah"],
  50. ["Gouled"],
  51. ["sarah.gouled@orange.fr"]);
  52. respo(
  53. "Respo com wini",
  54. ["Alexandre"],
  55. ["Goirand"],
  56. ["alexandre.goirand25@gmail.com"]);
  57. respo(
  58. "Respo com prev",
  59. ["Camille", "Ezzedine"],
  60. ["Dessemond", "Aoun"],
  61. ["dessemon@insa-toulouse.fr", "eaoun2002@gmail.com"]);
  62. respo(
  63. "Respo com parrainage",
  64. ["Lucille", "Estelle"],
  65. ["Pedoussat", "Brunel"],
  66. ["pedoussa@insa-toulouse.fr", "estelle.brunel09@gmail.com"]);
  67. respo(
  68. "Respo com anim",
  69. ["Julie", "Andréa"],
  70. ["Bourgeais", "Ladin"],
  71. ["bourgeai@insa-toulouse.fr", "andrea.ladin33@gmail.com"]);
  72. respo(
  73. "Respo com ville",
  74. ["Mailys", "Armand"],
  75. ["Feuillerat", "Ghionda"],
  76. ["mailys.feuillerat@gmail.com", "ghionda.armand@gmail.com"]);
  77. respo(
  78. "Respo com rallye",
  79. ["Grégoire", "Ilona"],
  80. ["Drenou", "Robin"],
  81. ["greg.drenou@gmail.com", "iloro3185@yahoo.fr"]);
  82. respo(
  83. "Respo soirée des talents",
  84. ["Thibault", "Marie-Line"],
  85. ["Pouyanne", "Da Costa Bento"],
  86. ["pouyanne@insa-toulouse.fr", "marieline.dacosta@gmail.com"]);
  87. respo(
  88. "Respo com plaquette",
  89. ["Pierre", "Agathe", "Weltzer"],
  90. ["Chezeau", "Perez", "Elise"],
  91. ["chezeaum@insa-toulouse.fr", "a.perezvottero@gmail.com ", "elise.weltzer@orange.fr"]);
  92. respo(
  93. "Respo com bene",
  94. ["Thomas", "Jérémie"],
  95. ["Ecobichon", "Monjou"],
  96. ["thomas.ecobichon1@gmail.com", "jeremie.monjou@gmail.com"]);
  97. respo(
  98. "Respo com photo",
  99. ["Vicky"],
  100. ["Benos"],
  101. ["vic.hand8.vb@gmail.com"]);
  102. respo(
  103. "Respo com ravit",
  104. ["Elisa", "Fanny"],
  105. ["Aubin", "Hazera"],
  106. ["elisaubin22@gmail.com", "fannyhazerasup@gmail.com"]);
  107. respo(
  108. "Respo com graphisme",
  109. ["Guilhem", "Akinlami-Gallagher"],
  110. ["Rebejac", "Ciaran"],
  111. ["rebejac@insa-toulouse.fr", "clj.akinlami@gmail.com"]);
  112. respo(
  113. 'Respo info (com graphisme)',
  114. ["Baptiste", "Guillaume"],
  115. ["Rébillard", "Joffre"],
  116. ["rebillar@insa-toulouse.fr", "gjoffre@insa-toulouse.fr"]);
  117. ?>
  118. </div>
  119. </main>
  120. <?php
  121. $infopage = ["", "Com's", ob_get_clean(), "", "coms"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
  122. include("structure/template.php");
  123. ?>