Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

511 righe
23 KiB

  1. <?php include "header.php";
  2. $message[0]='
  3. <div class="col-lg-6 alert alert-dismissable alert-danger">
  4. <button type="button" class="close" data-dismiss="alert">X</button>
  5. <h4>Erreur !</h4>
  6. <p>Erreur !</p>';
  7. $message[1]='
  8. <div class="col-lg-6 alert alert-dismissable alert-success">
  9. <button type="button" class="close" data-dismiss="alert">X</button>
  10. <h4>C\'est bon !</h4>
  11. <p>Vous pouvez à présent vous connecter pour commencer à configurer votre partie.</p>';
  12. $message[2]='
  13. <div class="col-lg-6 alert alert-dismissable alert-warning">
  14. <button type="button" class="close" data-dismiss="alert">X</button>
  15. <h4>Hey !</h4>
  16. <p>Vous avez déjà un compte !</p>';
  17. $message[3]='
  18. <div class="col-lg-6 alert alert-dismissable alert-danger">
  19. <button type="button" class="close" data-dismiss="alert">X</button>
  20. <h4>Erreur !</h4>
  21. <p>Votre email/mot de passe est invalide !</p>';
  22. $message[4]='
  23. <div class="col-lg-6 alert alert-dismissable alert-info">
  24. <button type="button" class="close" data-dismiss="alert">X</button>
  25. <h4>Oups !</h4>
  26. <p>Vous devez vous connecter pour pouvoir jouer ;)</p>';
  27. $message[5]='
  28. <div class="col-lg-6 alert alert-dismissable alert-success">
  29. <button type="button" class="close" data-dismiss="alert">X</button>
  30. <h4>OK !</h4>
  31. <p>Votre carte est à jour !</p>';
  32. $message[6]='
  33. <div class="col-lg-6 alert alert-dismissable alert-danger">
  34. <button type="button" class="close" data-dismiss="alert">X</button>
  35. <h4>ERREUR !</h4>
  36. <p>Echec de mise à jour de votre carte. Seul les fichiers <strong>.jpg</strong> (10 Mo max) sont autorisés.</p>';
  37. $message[7]='
  38. <div class="col-lg-6 alert alert-dismissable alert-success">
  39. <button type="button" class="close" data-dismiss="alert">X</button>
  40. <h4>OK !</h4>
  41. <p>Joueur importé !</p>';
  42. $message[8]='
  43. <div class="col-lg-6 alert alert-dismissable alert-danger">
  44. <button type="button" class="close" data-dismiss="alert">X</button>
  45. <h4>ERREUR !</h4>
  46. <p>Echec à l\'importation du joueur. Seul les fichiers <strong>.xml</strong> (10 M max) sont autorisés.</p>';
  47. $message[9]='
  48. <div class="col-lg-6 alert alert-dismissable alert-success">
  49. <button type="button" class="close" data-dismiss="alert">X</button>
  50. <h4>OK !</h4>
  51. <p>Musique importé !</p>';
  52. $message[10]='
  53. <div class="col-lg-6 alert alert-dismissable alert-danger">
  54. <button type="button" class="close" data-dismiss="alert">X</button>
  55. <h4>ERREUR !</h4>
  56. <p>Echec à l\'importation de la musique. Seul les fichiers <strong>.mp3</strong> (100 M max) sont autorisés.</p>';
  57. ?>
  58. <!DOCTYPE html>
  59. <html lang="fr">
  60. <head>
  61. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  62. <title>EcoMonde</title>
  63. <meta name="viewport" content="width=device-width, initial-scale=1">
  64. <link rel="shortcut icon" href="./img/favicon.png" type="image/x-icon" />
  65. <link rel="stylesheet" href="./css/bootstrap.css" media="screen">
  66. <link rel="stylesheet" href="./css/bootswatch.min.css">
  67. <link rel="stylesheet" href="./css/ionicons.min.css">
  68. <link rel="stylesheet" href="./css/ecomonde.css">
  69. </head>
  70. <body>
  71. <div class="container-fluid">
  72. <div class="col-lg-1"></div>
  73. <div class="col-lg-3">
  74. <a href="index.php"><img class="img-responsive" src="./img/logo_0.png" alt="logo" /></a>
  75. </div>
  76. <div class="col-lg-6">
  77. <div class="navbar navbar-default">
  78. <div class="navbar-header">
  79. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
  80. <span class="icon-bar"></span>
  81. <span class="icon-bar"></span>
  82. <span class="icon-bar"></span>
  83. </button>
  84. </div>
  85. <div class="navbar-collapse collapse navbar-responsive-collapse">
  86. <ul class="nav navbar-nav">
  87. <li><a href="http://wiki.ecomonde.land" target="_blank"><i class="ionicons ion-android-book"></i>&nbsp;&nbsp;WIKI</a></li>
  88. <li><a href="https://github.com/heuzef/ecomonde" target="_blank"><i class="ionicons ion-social-github"></i>&nbsp;&nbsp;GITHUB</a></li>
  89. <li><a href="http://wiki.ecomonde.land/doku.php?id=wiki:a_propos" target="_blank"><i class="ionicons ion-information-circled"></i>&nbsp;&nbsp;A PROPOS</a></li>
  90. </ul>
  91. <ul class="nav navbar-nav navbar-right">
  92. <?php if($status != 0): ?>
  93. <a href="http://fr.gravatar.com" target="_blank"><?php echo '<img class="img-circle" src="http://gravatar.com/avatar/'.$hash.'?s=50" alt="gravatar" />'; ?></a>&nbsp;&nbsp;<strong><?php echo strtoupper($pseudo); ?></strong>
  94. &nbsp;&nbsp;
  95. <a href="logout.php" class="btn btn-danger btn-xs"><i class="ionicons ion-power"></i></a>&nbsp;&nbsp;
  96. <?php elseif($status == 0): ?>
  97. <a class="btn btn-success btn-xs" data-toggle="modal" data-target="#register"><i class="ionicons ion-plus"></i>&nbsp;&nbsp;INSCRIPTION</a>
  98. <a class="btn btn-info btn-xs" data-toggle="modal" data-target="#modal_login"><i class="ionicons ion-power"></i>&nbsp;&nbsp;CONNEXION</a>
  99. <?php endif; ?>
  100. </ul>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="col-lg-1"></div>
  105. </div>
  106. <hr />
  107. <?php if(isset($_GET["msg"])){?>
  108. <div class="container-fluid">
  109. <div class="col-lg-3"></div>
  110. <?php echo $message[$_GET["msg"]]; ?>
  111. </div>
  112. <div class="col-lg-3"></div>
  113. </div>
  114. <?php } else {} ?>
  115. <?php if($status != 0):?>
  116. <div class="container-fluid">
  117. <div class="col-lg-1"></div>
  118. <div class="col-lg-3">
  119. <div class="panel panel-default">
  120. <div class="panel-heading"><i class="ionicons ion-gear-a"></i>&nbsp;&nbsp;<strong>Configurer votre partie</strong></div>
  121. <div class="panel-body">
  122. <p>
  123. <a href="play" class="btn btn-info btn-lg" target="_blank"><i class="ionicons ion-play"></i>&nbsp;&nbsp;Lancer votre partie</a>
  124. <p>
  125. <hr />
  126. <p>
  127. <a data-toggle="modal" data-target="#modal_new_player" class="btn btn-default btn-lg"><i class="ionicons ion-person-add"></i>&nbsp;&nbsp;Créer un joueur</a>
  128. </p>
  129. <hr />
  130. <p>
  131. <a data-toggle="modal" data-target="#modal_import_player" class="btn btn-default btn-lg"><i class="glyphicon glyphicon-import"></i>&nbsp;&nbsp;Importer un joueur (.XML)</a>
  132. </p>
  133. <hr />
  134. <p>
  135. <div class="btn-group">
  136. <a href="#" class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown">
  137. <i class="ionicons ion-music-note"></i>&nbsp;&nbsp;Changer les musiques
  138. <span class="caret"></span>
  139. </a>
  140. <ul class="dropdown-menu">
  141. <li><a data-toggle="modal" data-target="#modal_change_music_soft" style="color:#CCC;" class="btn btn-default"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;SOFT</a></li>
  142. <li><a data-toggle="modal" data-target="#modal_change_music_tonic" style="color:#AAA;" class="btn btn-default"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;TONIC</a></li>
  143. <li><a data-toggle="modal" data-target="#modal_change_music_hard" style="color:#000;" class="btn btn-default"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;HARD</a></li>
  144. <li><a data-toggle="modal" data-target="#modal_change_music_light" style="color:#ADDFFF;" class="btn btn-default"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;LIGHT</a></li>
  145. <li><a data-toggle="modal" data-target="#modal_change_music_dark" style="color:#8128B5;" class="btn btn-default"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;DARK</a></li>
  146. </ul>
  147. </div>
  148. </p>
  149. <hr />
  150. <p>
  151. <a data-toggle="modal" data-target="#modal_change_map" class="btn btn-default btn-lg"><i class="ionicons ion-map"></i>&nbsp;&nbsp;Changer la carte</a>
  152. </p>
  153. </div>
  154. </div>
  155. </div>
  156. <div class="col-lg-7">
  157. <div class="panel panel-default">
  158. <div class="panel-heading"><i class="ionicons ion-person"></i>&nbsp;&nbsp;<strong>Joueurs présents dans votre partie :</strong></div>
  159. <div class="panel-body">
  160. <table class="table table-striped table-hover ">
  161. <thead>
  162. <tr>
  163. <th></th>
  164. <th>Nom</th>
  165. <th><i class="ionicons ion-heart" style="color:red;"></i></th>
  166. <th><i class="ionicons ion-flash" style="color:#FFD700;"></i></th>
  167. <th><i class="ionicons ion-egg" style="color:brown"></i></th>
  168. <th><i class="ionicons ion-fireball" style="color:grey"></i></th>
  169. <th><i class="ionicons ion-fireball" style="color:#ADDFFF"></i></th>
  170. <th><i class="ionicons ion-fireball" style="color:#8128B5"></i></th>
  171. <th><i class="ionicons ion-android-note" style="color:#000"></i></th>
  172. </tr>
  173. </thead>
  174. <tbody>
  175. <?php
  176. // nombre de gamers
  177. $f = 0;
  178. foreach(glob('*.xml') as $f) {$f+=1;}
  179. $nb_membres = count(glob('./medias/'.$hash.'/*.xml'));
  180. // liste des gamers
  181. $folder = "./medias/".$hash."/";
  182. $dossier = opendir($folder);
  183. while ($fichier = readdir($dossier))
  184. {
  185. if ($fichier != "." && $fichier != ".." && $fichier != "map.jpg" && $fichier != "soft.mp3" && $fichier != "tonic.mp3" && $fichier != "hard.mp3" && $fichier != "light.mp3" && $fichier != "dark.mp3")
  186. {
  187. $gamers = explode(".xml", $fichier);
  188. $xml = simplexml_load_file('./medias/'.$hash.'/'.$fichier);
  189. if (!isset($itemnb)) {
  190. $itemnb=0;
  191. } else {
  192. $itemnb++;
  193. }
  194. foreach($xml->entry as $entry) {
  195. $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge;
  196. echo '<tr class="active">
  197. <td><a href="del.php?player='.$fichier.'" class="btn btn-danger btn-xs"><i class="ionicons ion-trash-b"></i></a>&nbsp;&nbsp;<a href="./medias/'.$hash.'/'.$fichier.'" target="_blank" class="btn btn-success btn-xs"><i class="glyphicon glyphicon-export"></i></a></td>
  198. <td><strong>['.$entry->level.']</strong>&nbsp;'.$entry->nom.'</td>
  199. <td>'.$entry->hp.'</td>
  200. <td>'.$entry->xp.'</td>
  201. <td>'.$entry->money.'</td>
  202. <td>'.$somme_ecos.'</td>
  203. <td>'.$entry->ecos->blanche.'</td>
  204. <td>'.$entry->ecos->noire.'</td>
  205. <td>'.substr($entry->notes, 0, 40).'...</td>
  206. </tr>';
  207. }
  208. }
  209. }
  210. closedir($dossier);
  211. ?>
  212. </tbody>
  213. </table>
  214. </div>
  215. </div>
  216. </div>
  217. <div class="col-lg-1"></div>
  218. </div>
  219. <div class="modal fade" id="modal_new_player">
  220. <div class="modal-dialog">
  221. <div class="modal-content">
  222. <form class="form-horizontal well" role="form" method="post" action="new_player.php" enctype="multipart/form-data">
  223. <div class="modal-header">
  224. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  225. <h4 class="modal-title"><i class="ionicons ion-person-add"></i>&nbsp;&nbsp;NOUVEAU JOUEUR</h4>
  226. </div>
  227. <div class="modal-body">
  228. <div class="form-group">
  229. <label class="control-label" for="focusedInput">Nom :</label>
  230. <input class="form-control" id="focusedInput" type="text" name="player_name" maxlength="12" value="derpy">
  231. </div>
  232. <div class="form-group">
  233. <label class="control-label" for="focusedInput">Nombre d'XP</label>
  234. <div class="input-group">
  235. <span class="input-group-addon"><i class="ionicons ion-flash" style="color:#FFD700;";></i></span>
  236. <select class="form-control" id="focusedInput" name="player_xp">
  237. <option>0</option>
  238. <option>10</option>
  239. <option>50</option>
  240. <option>100</option>
  241. <option>999</option>
  242. </select>
  243. </div>
  244. </div>
  245. <div class="form-group">
  246. <label class="control-label" for="focusedInput">Nombre d'Orbes</label>
  247. <div class="input-group">
  248. <span class="input-group-addon"><i class="ionicons ion-egg" style="color:brown;";></i></span>
  249. <select class="form-control" id="focusedInput" name="player_money">
  250. <option>0</option>
  251. <option>10</option>
  252. <option>50</option>
  253. <option>100</option>
  254. <option>999</option>
  255. </select>
  256. </div>
  257. </div>
  258. </div>
  259. <div class="modal-footer">
  260. <button type="submit" class="btn btn-info">Création du joueur</button>
  261. </div>
  262. </form>
  263. </div>
  264. </div>
  265. </div>
  266. <div class="modal fade" id="modal_change_map">
  267. <div class="modal-dialog">
  268. <div class="modal-content">
  269. <form class="form-horizontal well" role="form" method="post" action="change_map.php" enctype="multipart/form-data">
  270. <div class="modal-header">
  271. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  272. <h4 class="modal-title"><i class="ionicons ion-map"></i>&nbsp;&nbsp;CHANGER LA CARTE</h4>
  273. </div>
  274. <div class="modal-body">
  275. <input type="hidden" name="MAX_FILE_SIZE" value="10048576" />
  276. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.jpg</strong> (10 Mo max) sont autorisés.</label>
  277. <input class="form-control" id="focusedInput" type="file" name="userfile">
  278. </div>
  279. <div class="modal-footer">
  280. <button type="submit" class="btn btn-info">Mise à jour de la carte</button>
  281. </div>
  282. </form>
  283. </div>
  284. </div>
  285. </div>
  286. <div class="modal fade" id="modal_import_player">
  287. <div class="modal-dialog">
  288. <div class="modal-content">
  289. <form class="form-horizontal well" role="form" method="post" action="import_player.php" enctype="multipart/form-data">
  290. <div class="modal-header">
  291. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  292. <h4 class="modal-title"><i class="glyphicon glyphicon-import"></i>&nbsp;&nbsp;IMPORTER UN JOUEUR</h4>
  293. </div>
  294. <div class="modal-body">
  295. <input type="hidden" name="MAX_FILE_SIZE" value="1004857" />
  296. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.xml</strong> (1 Mo max) sont autorisés.</label>
  297. <input class="form-control" id="focusedInput" type="file" name="userfile">
  298. </div>
  299. <div class="modal-footer">
  300. <button type="submit" class="btn btn-info">Importer le joueur</button>
  301. </div>
  302. </form>
  303. </div>
  304. </div>
  305. </div>
  306. <div class="modal fade" id="modal_change_music_soft">
  307. <div class="modal-dialog">
  308. <div class="modal-content">
  309. <form class="form-horizontal well" role="form" method="post" action="change_music_soft.php" enctype="multipart/form-data">
  310. <div class="modal-header">
  311. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  312. <h4 class="modal-title"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;Changer la musique SOFT</h4>
  313. </div>
  314. <div class="modal-body">
  315. <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
  316. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
  317. <input class="form-control" id="focusedInput" type="file" name="userfile">
  318. </div>
  319. <div class="modal-footer">
  320. <button type="submit" class="btn btn-info">Changer la musique SOFT</button>
  321. </div>
  322. </form>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="modal fade" id="modal_change_music_tonic">
  327. <div class="modal-dialog">
  328. <div class="modal-content">
  329. <form class="form-horizontal well" role="form" method="post" action="change_music_tonic.php" enctype="multipart/form-data">
  330. <div class="modal-header">
  331. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  332. <h4 class="modal-title"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;Changer la musique TONIC</h4>
  333. </div>
  334. <div class="modal-body">
  335. <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
  336. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
  337. <input class="form-control" id="focusedInput" type="file" name="userfile">
  338. </div>
  339. <div class="modal-footer">
  340. <button type="submit" class="btn btn-info">Changer la musique TONIC</button>
  341. </div>
  342. </form>
  343. </div>
  344. </div>
  345. </div>
  346. <div class="modal fade" id="modal_change_music_hard">
  347. <div class="modal-dialog">
  348. <div class="modal-content">
  349. <form class="form-horizontal well" role="form" method="post" action="change_music_hard.php" enctype="multipart/form-data">
  350. <div class="modal-header">
  351. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  352. <h4 class="modal-title"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;Changer la musique HARD</h4>
  353. </div>
  354. <div class="modal-body">
  355. <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
  356. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
  357. <input class="form-control" id="focusedInput" type="file" name="userfile">
  358. </div>
  359. <div class="modal-footer">
  360. <button type="submit" class="btn btn-info">Changer la musique HARD</button>
  361. </div>
  362. </form>
  363. </div>
  364. </div>
  365. </div>
  366. <div class="modal fade" id="modal_change_music_light">
  367. <div class="modal-dialog">
  368. <div class="modal-content">
  369. <form class="form-horizontal well" role="form" method="post" action="change_music_light.php" enctype="multipart/form-data">
  370. <div class="modal-header">
  371. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  372. <h4 class="modal-title"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;Changer la musique LIGHT</h4>
  373. </div>
  374. <div class="modal-body">
  375. <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
  376. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
  377. <input class="form-control" id="focusedInput" type="file" name="userfile">
  378. </div>
  379. <div class="modal-footer">
  380. <button type="submit" class="btn btn-info">Changer la musique LIGHT</button>
  381. </div>
  382. </form>
  383. </div>
  384. </div>
  385. </div>
  386. <div class="modal fade" id="modal_change_music_dark">
  387. <div class="modal-dialog">
  388. <div class="modal-content">
  389. <form class="form-horizontal well" role="form" method="post" action="change_music_dark.php" enctype="multipart/form-data">
  390. <div class="modal-header">
  391. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  392. <h4 class="modal-title"><i class="ionicons ion-music-note"></i>&nbsp;&nbsp;Changer la musique DARK</h4>
  393. </div>
  394. <div class="modal-body">
  395. <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
  396. <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
  397. <input class="form-control" id="focusedInput" type="file" name="userfile">
  398. </div>
  399. <div class="modal-footer">
  400. <button type="submit" class="btn btn-info">Changer la musique DARK</button>
  401. </div>
  402. </form>
  403. </div>
  404. </div>
  405. </div>
  406. <?php elseif($status == 0): ?>
  407. <div class="container-fluid">
  408. <div class="col-lg-1"></div>
  409. <div class="col-lg-5">
  410. <h2>Présentation</h2>
  411. <p><strong>EcoMonde est un Jeu de Rôle d'aventure interactif.</strong></p>
  412. <p class="text-success">Celui-ci dispose d'une interface de jeu permettant au Maître du Jeu de contrôler la partie directement sans avoir besoin de matériel.</p>
  413. <p class="text-primary">Le jeu ne requiert qu'un PC relié à internet et de quelques dés. Tout est automatisé.</p>
  414. <p class="text-warning">Le Maître du Jeu peut ensuite créer sa partie en s'appuyant sur tous les outils existants.</p>
  415. <p class="text-danger">Un&nbsp;&nbsp;<a href="http://wiki.ecomonde.land" target="_blank"><i class="ionicons ion-android-book"></i>&nbsp;&nbsp;WIKI</a>&nbsp;&nbsp;est à disposition pour un plus grand partage des ressources.</p>
  416. </div>
  417. <div class="col-lg-5">
  418. <iframe width="640" height="360" src="//www.youtube-nocookie.com/embed/sxPweEzjDaY?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>
  419. </div>
  420. <div class="col-lg-1"></div>
  421. </div>
  422. <div class="modal fade" id="modal_login">
  423. <div class="modal-dialog">
  424. <div class="modal-content">
  425. <form class="form-horizontal well" role="form" method="post" action="session.php" enctype="multipart/form-data">
  426. <div class="modal-header">
  427. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  428. <h4 class="modal-title"><i class="ionicons ion-power"></i>&nbsp;&nbsp;CONNEXION</h4>
  429. </div>
  430. <div class="modal-body">
  431. <div class="form-group">
  432. <label class="control-label" for="focusedInput">Email :</label>
  433. <input class="form-control" id="focusedInput" type="text" name="email">
  434. </div>
  435. <div class="form-group">
  436. <label class="control-label" for="focusedInput">Mot de passe :</label>
  437. <input class="form-control" id="focusedInput" type="password" name="password">
  438. </div>
  439. </div>
  440. <div class="modal-footer">
  441. <a href="mailto:contact@heuzef.com?subject=Contact%20depuis%20heuzef.com" onclick="window.open('https://mail.google.com/mail/?view=cm&amp;tf=1&amp;to=contact@heuzef.com&amp;cc=&amp;bcc=&amp;su=[EcoMonde]%20Probleme%20avec%20mon%20compte&amp;body=Bonjour,','_blank');return false;">Un problème avec votre compte ?</a>
  442. &nbsp;&nbsp;<button type="submit" class="btn btn-info">Connexion</button>
  443. </div>
  444. </form>
  445. </div>
  446. </div>
  447. </div>
  448. <div class="modal fade" id="register">
  449. <div class="modal-dialog">
  450. <div class="modal-content">
  451. <form class="form-horizontal well" role="form" method="post" action="register.php" enctype="multipart/form-data">
  452. <div class="modal-header">
  453. <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
  454. <h4 class="modal-title"><i class="ionicons ion-plus"></i>&nbsp;&nbsp;INSCRIPTION</h4>
  455. </div>
  456. <div class="modal-body">
  457. <div class="form-group">
  458. <label class="control-label" for="focusedInput">Pseudo :</label>
  459. <input class="form-control" id="focusedInput" type="text" name="pseudo">
  460. </div>
  461. <div class="form-group">
  462. <label class="control-label" for="focusedInput">E-mail :</label>
  463. <input class="form-control" id="focusedInput" type="text" name="email">
  464. </div>
  465. <div class="form-group">
  466. <label class="control-label" for="focusedInput">Mot de passe :</label>
  467. <input class="form-control" id="focusedInput" type="password" name="password">
  468. </div>
  469. </div>
  470. <div class="modal-footer">
  471. &nbsp;&nbsp;<button type="submit" class="btn btn-primary"><i class="ionicons ion-checkmark"></i>&nbsp;&nbsp;OK</button>
  472. </div>
  473. </form>
  474. </div>
  475. </div>
  476. </div>
  477. <?php endif; ?>
  478. <script>
  479. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  480. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  481. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  482. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  483. ga('create', 'UA-57585229-1', 'auto');
  484. ga('send', 'pageview');
  485. </script>
  486. <script src="./js/jquery-1.10.2.min.js"></script>
  487. <script src="./js/bootstrap.min.js"></script>
  488. <script src="./js/bootswatch.js"></script>
  489. </body>
  490. </html>