From 24b6e0847d86ce7b0b815df3014623886fbbd73c Mon Sep 17 00:00:00 2001 From: heuzef Date: Thu, 25 Dec 2014 17:48:49 +0100 Subject: [PATCH] Phone View ! --- css/ecomonde.css | 19 +++ index.php | 6 + medias/c0f08ae603e364cb554fe71c9fc94ffd/dark.mp3 | Bin medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml | 21 +++ .../enemy/enemy.xml | 2 +- medias/c0f08ae603e364cb554fe71c9fc94ffd/hard.mp3 | Bin medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php | 160 +++++++++++++++++++++ medias/c0f08ae603e364cb554fe71c9fc94ffd/light.mp3 | Bin medias/c0f08ae603e364cb554fe71c9fc94ffd/map.jpg | Bin .../personomlong.xml | 21 +++ medias/c0f08ae603e364cb554fe71c9fc94ffd/player.xml | 2 +- medias/c0f08ae603e364cb554fe71c9fc94ffd/soft.mp3 | Bin medias/c0f08ae603e364cb554fe71c9fc94ffd/tonic.mp3 | Bin 13 files changed, 229 insertions(+), 2 deletions(-) mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/dark.mp3 create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/enemy/enemy.xml mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/hard.mp3 create mode 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/light.mp3 mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/map.jpg create mode 100644 medias/c0f08ae603e364cb554fe71c9fc94ffd/personomlong.xml mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/player.xml mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/soft.mp3 mode change 100644 => 100755 medias/c0f08ae603e364cb554fe71c9fc94ffd/tonic.mp3 diff --git a/css/ecomonde.css b/css/ecomonde.css index bc3b758..70d52c8 100755 --- a/css/ecomonde.css +++ b/css/ecomonde.css @@ -242,6 +242,25 @@ text-transform: uppercase; } +.level_phone { + float: left; + margin-top:5px; + width: 26px; + height: 26px; + font-weight: bold; + font-size: 18px; + text-align:center; + background: #000; + color: white; +} + +.player_name_phone { + font-weight: bold; + font-size: 26px; + color: black; + text-transform: uppercase; +} + .enemy_name { font-weight: bold; font-size: 26px; diff --git a/index.php b/index.php index 4a574b7..070f393 100755 --- a/index.php +++ b/index.php @@ -153,6 +153,12 @@ $message[10]='

  Changer la carte

+
+

Affichage téléphone

+ + + Barcode ScannerAndroid app on Google Play + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/dark.mp3 b/medias/c0f08ae603e364cb554fe71c9fc94ffd/dark.mp3 old mode 100644 new mode 100755 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml new file mode 100644 index 0000000..7f1d2f8 --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/derpy.xml @@ -0,0 +1,21 @@ + + + + derpy + 2 + 10 + 150 + 16 + + 5 + 0 + 0 + 1 + 2 + 2 + + default + lorem ipsum dolor sit amet + 0 + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/enemy/enemy.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/enemy/enemy.xml old mode 100644 new mode 100755 index 9ff4f09..536b7a9 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/enemy/enemy.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/enemy/enemy.xml @@ -2,7 +2,7 @@ enemy - 3 + 2 http://wiki.ecomonde.land/lib/exe/fetch.php?media=wiki:loup_garou.jpg http://wiki.ecomonde.land/doku.php?id=wiki:ennemies diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/hard.mp3 b/medias/c0f08ae603e364cb554fe71c9fc94ffd/hard.mp3 old mode 100644 new mode 100755 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php b/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php new file mode 100755 index 0000000..d6f0954 --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/index.php @@ -0,0 +1,160 @@ + + + + +EcoMonde + + + + + + + + +entry as $entry) + { ?> + + + +
+
+
+
+ level; ?>    + nom; ?> +
+ level) + { + case 0: + $hp_max+=0; + break; + case 1: + $hp_max+=2; + break; + case 2: + $hp_max+=5; + break; + case 3: + $hp_max+=10; + break; + default: + echo "?"; + } + ?> +  hp; ?>/    +  money; ?>    +  xp; ?>    +  gift; ?>    +
+
+
+
+
ecos->verte; ?>
+
+
+
ecos->bleue; ?>
+
+
+
ecos->jaune; ?>
+
+
+
ecos->rouge; ?>
+
+
+
ecos->blanche; ?>
+
+
+
ecos->noire; ?>
+
+
+
+ +
+
+ + + +
+ logo +
+
+
  Joueurs :
+
+ + + entry as $entry) + { + $hp_max="10"; + switch ($entry->level) + { + case 0: + $hp_max+=0; + break; + case 1: + $hp_max+=2; + break; + case 2: + $hp_max+=5; + break; + case 3: + $hp_max+=10; + break; + default: + echo "?"; + } + $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge; + echo ' + + + + '; + } + } + } + closedir($dossier); + ?> + +
['.$entry->level.'] '.$entry->nom.' '.$entry->hp.'/'.$hp_max.' VOIR
+
+
+
+
+ + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/light.mp3 b/medias/c0f08ae603e364cb554fe71c9fc94ffd/light.mp3 old mode 100644 new mode 100755 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/map.jpg b/medias/c0f08ae603e364cb554fe71c9fc94ffd/map.jpg old mode 100644 new mode 100755 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/personomlong.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/personomlong.xml new file mode 100644 index 0000000..d5e00a3 --- /dev/null +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/personomlong.xml @@ -0,0 +1,21 @@ + + + + personomlong + 0 + 10 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + 0 + + default + ... + 0 + + diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player.xml b/medias/c0f08ae603e364cb554fe71c9fc94ffd/player.xml old mode 100644 new mode 100755 index d3184cc..4a7cd96 --- a/medias/c0f08ae603e364cb554fe71c9fc94ffd/player.xml +++ b/medias/c0f08ae603e364cb554fe71c9fc94ffd/player.xml @@ -3,7 +3,7 @@ player 0 - 10 + 7 0 0 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/soft.mp3 b/medias/c0f08ae603e364cb554fe71c9fc94ffd/soft.mp3 old mode 100644 new mode 100755 diff --git a/medias/c0f08ae603e364cb554fe71c9fc94ffd/tonic.mp3 b/medias/c0f08ae603e364cb554fe71c9fc94ffd/tonic.mp3 old mode 100644 new mode 100755