MAJ 1.2
Modification de l'affichage et debuguage du php pour un fonctionnement normal.
@@ -1,19 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// On demande les 5 derniers billets (mod<6F>le)
|
// On demande les 5 derniers billets (mod<6F>le)
|
||||||
include_once('./modele/actualite/model_class.php');
|
include_once('./modele/actualite/model_class.php');
|
||||||
$event1 = get_News(0, 5);
|
$event1 = get_News(0, 5);
|
||||||
// On effectue du traitement sur les donn<6E>es (contr<74>leur)
|
// On effectue du traitement sur les donn<6E>es (contr<74>leur)
|
||||||
// Ici, on doit surtout s<>curiser l'affichage
|
// Ici, on doit surtout s<>curiser l'affichage
|
||||||
foreach($event1 as $cle => $event)
|
foreach($event1 as $cle => $event)
|
||||||
{
|
{
|
||||||
$event1[$cle]['nomevent'] = ($event['nomevent']);
|
$event1[$cle]['nom'] = ($event['nom']);
|
||||||
$event1[$cle]['dateevent'] = ($event['dateevent']);
|
$event1[$cle]['dateevent'] = ($event['dateevent']);
|
||||||
$event1[$cle]['imageevent'] = ($event['imageevent']);
|
$event1[$cle]['imageevent'] = ($event['imageevent']);
|
||||||
$event1[$cle]['lieuevent'] = ($event['lieuevent']);
|
$event1[$cle]['lieu'] = ($event['lieu']);
|
||||||
$event1[$cle]['descriptionevent'] = ($event['descriptionevent']);
|
$event1[$cle]['description'] = ($event['description']);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// On affiche la page (vue)
|
// On affiche la page (vue)
|
||||||
include_once('./vue/actualite/index.php');
|
include_once('./vue/actualite/index.php');
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ $eventsAll = get_events(0, 5);
|
|||||||
// Ici, on doit surtout s<>curiser l'affichage
|
// Ici, on doit surtout s<>curiser l'affichage
|
||||||
foreach($eventsAll as $cle => $event)
|
foreach($eventsAll as $cle => $event)
|
||||||
{
|
{
|
||||||
$events[$cle]['nomevent'] = ($event['nomevent']);
|
$events[$cle]['nom'] = ($event['nom']);
|
||||||
$events[$cle]['dateevent'] = ($event['dateevent']);
|
$events[$cle]['dateevent'] = ($event['dateevent']);
|
||||||
$events[$cle]['imageevent'] = ($event['imageevent']);
|
$events[$cle]['imageevent'] = ($event['imageevent']);
|
||||||
$events[$cle]['lieuevent'] = ($event['lieuevent']);
|
$events[$cle]['lieu'] = ($event['lieu']);
|
||||||
$events[$cle]['descriptionevent'] = ($event['descriptionevent']);
|
$events[$cle]['description'] = ($event['description']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// On affiche la page (vue)
|
// On affiche la page (vue)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ switch($action)
|
|||||||
<section id="content" class="page-content">
|
<section id="content" class="page-content">
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<h2>Profil de <?php echo stripslashes(htmlspecialchars($data['pseudo'])); ?></h2><br>
|
<h2>Profil de <?php echo stripslashes(htmlspecialchars($data['pseudo'])); ?></h2><br>
|
||||||
<img src="./images/avatars/<?php echo $data['imageeleve']; ?>" alt="Acun avatar" /><br>
|
<img src=".<?php echo $data['imageeleve']; ?>" alt="Acun avatar" /><br>
|
||||||
<p class="text-2" ><strong>Adresse E-Mail : </strong>
|
<p class="text-2" ><strong>Adresse E-Mail : </strong>
|
||||||
<a class=link2 href="mailto:<?php echo stripslashes($data['adressemail']); ?>"> <?php echo stripslashes(htmlspecialchars($data['adressemail'])); ?></a><br/><br>
|
<a class=link2 href="mailto:<?php echo stripslashes($data['adressemail']); ?>"> <?php echo stripslashes(htmlspecialchars($data['adressemail'])); ?></a><br/><br>
|
||||||
Ce membre est inscrit depuis le <strong><?php echo date('d-m-Y', strtotime(str_replace('/','-',$data['dateenregistre']))); ?></strong><br/><br/>
|
Ce membre est inscrit depuis le <strong><?php echo date('d-m-Y', strtotime(str_replace('/','-',$data['dateenregistre']))); ?></strong><br/><br/>
|
||||||
@@ -56,7 +56,7 @@ switch($action)
|
|||||||
<input type="text" name="localisation" id="localisation" value="<?php echo stripslashes($data['adresse']); ?>" />
|
<input type="text" name="localisation" id="localisation" value="<?php echo stripslashes($data['adresse']); ?>" />
|
||||||
</fieldset><br>
|
</fieldset><br>
|
||||||
<fieldset><legend class=colorbold marg3 pad1>Profil sur le forum</legend>
|
<fieldset><legend class=colorbold marg3 pad1>Profil sur le forum</legend>
|
||||||
Avatar actuel <img src="./images/avatars/<?php echo $data['imageeleve'];?>" alt="pas d avatar" /><br><br>
|
Avatar actuel <img src=".<?php echo $data['imageeleve'];?>" alt="pas d avatar" /><br><br>
|
||||||
<label class="labelI" for="avatar">Changer mon avatar</label><br>
|
<label class="labelI" for="avatar">Changer mon avatar</label><br>
|
||||||
<input type="file" name="avatar" id="avatar" /><br>(Taille max : 10 ko)<br><br>
|
<input type="file" name="avatar" id="avatar" /><br>(Taille max : 10 ko)<br><br>
|
||||||
<label><input type="checkbox" name="delete" value="Delete" /> Supprimer mon avatar</label>
|
<label><input type="checkbox" name="delete" value="Delete" /> Supprimer mon avatar</label>
|
||||||
@@ -114,7 +114,7 @@ switch($action)
|
|||||||
{
|
{
|
||||||
$maxsize = 30072; //Poid de l'image
|
$maxsize = 30072; //Poid de l'image
|
||||||
$maxwidth = 100; //Largeur de l'image
|
$maxwidth = 100; //Largeur de l'image
|
||||||
$maxheight = 100; //Longueur de l'image
|
$maxheight = 150; //Longueur de l'image
|
||||||
//Liste des extensions valides
|
//Liste des extensions valides
|
||||||
$extensions_valides = array( 'jpg' , 'jpeg' , 'gif' , 'png', 'bmp' );
|
$extensions_valides = array( 'jpg' , 'jpeg' , 'gif' , 'png', 'bmp' );
|
||||||
if ($_FILES['avatar']['error'] > 0)
|
if ($_FILES['avatar']['error'] > 0)
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
.bg1 {
|
||||||
|
background:#f7f5e2;
|
||||||
|
}
|
||||||
header {
|
header {
|
||||||
background-image:url("../images/autres/footer.jpg");
|
background-image:url("../images/autres/footer.jpg");
|
||||||
}
|
}
|
||||||
@@ -7,13 +9,9 @@ footer {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
.body {
|
.container-fluid{
|
||||||
min-height: 100vh;
|
margin:0 !important;
|
||||||
}
|
padding:0 !important;
|
||||||
.container-fluid {
|
|
||||||
background:#f7f5e2;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
.numbox{
|
.numbox{
|
||||||
background-image:url("../images/autres/calendrier.png");
|
background-image:url("../images/autres/calendrier.png");
|
||||||
@@ -27,7 +25,6 @@ footer {
|
|||||||
font:18px/22px 'IM Fell French Canon', sans-serif;
|
font:18px/22px 'IM Fell French Canon', sans-serif;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
width:72px;
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
margin-top:4px;
|
margin-top:4px;
|
||||||
display:block;
|
display:block;
|
||||||
@@ -35,48 +32,40 @@ footer {
|
|||||||
.numbox strong {
|
.numbox strong {
|
||||||
font:30px/36px Georgia, "Times New Roman", Times, serif;
|
font:30px/36px Georgia, "Times New Roman", Times, serif;
|
||||||
color:#f6a82d;
|
color:#f6a82d;
|
||||||
width:72px;
|
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
margin-top:-1px;
|
margin-top:-1px;
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
.img-thumbnailShop{
|
.img-thumbnailShop{
|
||||||
max-width : 200px;
|
|
||||||
heigth: auto;
|
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.img-thumbnailEvent{
|
.img-thumbnailEvent{
|
||||||
max-width : 250px;
|
|
||||||
heigth: auto;
|
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-thumbnailEventCat{
|
.img-thumbnailEventCat{
|
||||||
max-width : 150px;
|
|
||||||
heigth: auto;
|
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.clear {
|
.clear {
|
||||||
clear:both;
|
clear:both;
|
||||||
line-height:0;
|
line-height:0;
|
||||||
font-size:0;
|
font-size:0;
|
||||||
width:100%;
|
|
||||||
}
|
}
|
||||||
.map-responsive {
|
.map-responsive {
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
padding-bottom:56.25%;
|
padding-bottom:56.25%;
|
||||||
position:relative;>
|
position:relative;
|
||||||
height:0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.map-responsive iframe {
|
.map-responsive iframe {
|
||||||
left:0;
|
left:0;
|
||||||
top:0;
|
top:0;
|
||||||
height:100%;
|
|
||||||
width:100%;
|
|
||||||
position:absolute;
|
position:absolute;
|
||||||
}
|
}
|
||||||
|
.carousel {
|
||||||
|
height: 60%;
|
||||||
|
}
|
||||||
.carousel-indicators li {
|
.carousel-indicators li {
|
||||||
background-color: gray!important;
|
background-color: gray!important;
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 32 KiB |
BIN
images/articles/img_book10.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 33 KiB |
BIN
images/articles/img_book9.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
BIN
images/articles/img_shop26.jpg
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
images/articles/img_shop27.jpg
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
images/articles/img_shop28.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
images/articles/img_shop29.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 4.1 KiB |
BIN
images/avatars/img_user3.jpg
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
images/avatars/img_user4.jpg
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
images/avatars/img_user5.jpg
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
images/avatars/img_user6.jpg
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 60 KiB |
BIN
images/chevaux/img_cheval.jpg
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 22 KiB |
BIN
images/chevaux/img_cheval10.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
images/chevaux/img_cheval11.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
images/chevaux/img_cheval12.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
images/chevaux/img_cheval13.jpg
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
images/chevaux/img_cheval14.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 23 KiB |
BIN
images/chevaux/img_cheval9.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 80 KiB |