1 <?php if($this->out["groupes"]["list"]) : ?>
3 <?php $items = "groupes"; $legend = "groupes"; require $this->out_file("views/navig.php"); ?>
7 <?php foreach($this->out["groupes"]["list"] as $id_groupe => $groupe) : ?>
10 <a href="<?php echo $this->url("sources/groupe/view", array("id" => $id_groupe)) ?>">
13 $data = $this->data();
15 ( $groupe["image_uri"]
16 && file_exists($groupe["image_uri"])
17 && ($img_size = $data->img_size($groupe["image_uri"], 120, 100)) !== false
19 $margin_top = floor((100 - $img_size["height"]) / 2);
22 <img src="<?php echo $this->path("web").$groupe["image_uri"]; ?>"
23 width="<?php echo $img_size["width"] ?>"
24 height="<?php echo $img_size["height"] ?>"
25 style="margin-top:<?php echo $margin_top ?>px"
28 <span><?php echo $groupe["nom"] ?></span>
36 <?php $items = "groupes"; $legend = "groupes"; require $this->out_file("views/navig.php"); ?>