diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-05-01 11:54:39 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-05-01 11:54:39 +0200 |
commit | df7d23a090526aff78a60872f7ba5d1169cbc735 (patch) | |
tree | 774f83ddf46d5307a57145da07dd1cec98c41225 /public/m/index.php | |
parent | 5f2a948f5551f0c168e6572ba500724bddf4c576 (diff) | |
download | wcms-df7d23a090526aff78a60872f7ba5d1169cbc735.tar.gz wcms-df7d23a090526aff78a60872f7ba5d1169cbc735.zip |
summary + correction zindex
Diffstat (limited to 'public/m/index.php')
-rw-r--r-- | public/m/index.php | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/public/m/index.php b/public/m/index.php index f5e101d..bf14b0f 100644 --- a/public/m/index.php +++ b/public/m/index.php @@ -24,7 +24,7 @@ $aff = new Aff($level); // ______________________________________________________ H E A D _____________________________________________________________ $titre = 'home'; -$aff->head($titre); +$aff->head($titre, 'm'); // _____________________________________________________ A L E R T _______________________________________________________________ @@ -55,9 +55,6 @@ $aff->addmedia(); echo '<h1>Media</h1>'; -var_dump(2 ** 29); -var_dump(readablesize(2 ** 29)); - echo '<section class="grid">'; @@ -74,9 +71,14 @@ if ($handle = opendir($dir)) { list($width, $height, $type, $attr) = getimagesize($filepath); $filesize = filesize($filepath); - echo '<span>'; - echo '<h2>' . $entry . '</h2>'; + echo '<a href="#" class="little">'; + echo '<h3>' . $entry . '</h3>'; + + + + echo '<img class="thumbnail" src="' . $filepath . '" alt="' . $fileinfo['filename'] . '">'; + echo '<span class="infobulle">'; echo 'width = ' . $width; echo '<br/>'; echo 'height = ' . $height; @@ -84,10 +86,10 @@ if ($handle = opendir($dir)) { echo 'filesize = ' . readablesize($filesize); echo '<br/>'; - - echo '<img class="thumbnail" src="' . $filepath . '" title="' . $fileinfo['filename'] . '" alt="image">'; - + echo '<img src="' . $filepath . '" alt="' . $fileinfo['filename'] . '">'; echo '</span>'; + + echo '</a>'; } } closedir($handle); |