forked from vergnet/site-accueil-insa
index day
This commit is contained in:
parent
ead65dd9b4
commit
d061ae3ce2
1 changed files with 7 additions and 7 deletions
14
planning.php
14
planning.php
|
@ -89,7 +89,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 0 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 1 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
@ -107,7 +107,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 1 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 2 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
@ -124,7 +124,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 2 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 3 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
@ -141,7 +141,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 3 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 4 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
@ -158,7 +158,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 4 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 5 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
@ -174,7 +174,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
<div class="day_title">S</div>
|
<div class="day_title">S</div>
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 5 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 6 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
@ -191,7 +191,7 @@ if(isset($_GET['planning']) AND !empty(['planning']))
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// For every planned activity on day 0
|
// For every planned activity on day 0
|
||||||
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 6 AND num_planning = ? ORDER BY order_start ASC');
|
$req1 = $db->prepare('SELECT title, description, color, length FROM planning_insa WHERE day = 7 AND num_planning = ? ORDER BY order_start ASC');
|
||||||
$req1->execute(array($planning));
|
$req1->execute(array($planning));
|
||||||
while($r1 = $req1->fetch()) {
|
while($r1 = $req1->fetch()) {
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue