Browse Source

merging new database schema (event_title instead of event_titre)

master
n0m1s 10 years ago
parent
commit
72d1ad9231
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      day.php
  2. +2
    -2
      event.php

+ 1
- 1
day.php View File

@ -28,7 +28,7 @@ $date = strtotime(htmlspecialchars($_GET['date']));
foreach ($ret as $row) foreach ($ret as $row)
{ {
echo "<div id=\"event\">\n"; echo "<div id=\"event\">\n";
echo "<h2>".$row['event_titre']."</h2>\n";
echo "<h2>".$row['event_title']."</h2>\n";
echo "<div id=\"dateLieu\">".date('H:i',strtotime($row['event_dtstart']))." - ".date('H:i',strtotime($row['event_dtend'])).". ".$row['event_localisation']."</div>\n"; echo "<div id=\"dateLieu\">".date('H:i',strtotime($row['event_dtstart']))." - ".date('H:i',strtotime($row['event_dtend'])).". ".$row['event_localisation']."</div>\n";
echo "<div id=\"descfull\">".$row['event_description'] ."</div>\n<div id=\"More\"><a href=\"\">En savoir +</a></div>\n</div>\n"; echo "<div id=\"descfull\">".$row['event_description'] ."</div>\n<div id=\"More\"><a href=\"\">En savoir +</a></div>\n</div>\n";
} }


+ 2
- 2
event.php View File

@ -16,7 +16,7 @@ $dtend = strtotime($event['event_dtend']);
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>KiWi calendar : <?php echo $event["event_titre"]; ?></title>
<title>KiWi calendar : <?php echo $event["event_title"]; ?></title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="stylesheet" href="./main.css" /> <link rel="stylesheet" href="./main.css" />
<link rel="stylesheet" href="./event.css" /> <link rel="stylesheet" href="./event.css" />
@ -30,7 +30,7 @@ $dtend = strtotime($event['event_dtend']);
<a href="./index.php"><img class="rightLogo" alt="logo Kiwi" src="./images/KiWiCalendar.png" /></a> <a href="./index.php"><img class="rightLogo" alt="logo Kiwi" src="./images/KiWiCalendar.png" /></a>
</header> </header>
<div id="descEvent"> <div id="descEvent">
<h1><?php echo $event["event_titre"]; ?></h1>
<h1><?php echo $event["event_title"]; ?></h1>
<h2>Date et lieu</h2> <h2>Date et lieu</h2>
<div id="dateheure"> <div id="dateheure">


Loading…
Cancel
Save