3 <?php if($this->out["groupes"]["list"]) : ?>
5 <?php $items = "groupes"; $legend = "groupes"; require $this->out_file("views/navig.php"); ?>
9 <?php foreach($this->out["groupes"]["list"] as $id_groupe => $groupe) : ?>
12 <a href="<?php echo $this->url("sources/groupe/view", array("id" => $id_groupe)) ?>">
15 $data = $this->data();
17 ( $groupe["image_uri"]
18 && file_exists($groupe["image_uri"])
19 && ($img_size = $data->img_size($groupe["image_uri"], 120, 100)) !== false
21 $margin_top = floor((100 - $img_size["height"]) / 2);
24 <img src="<?php echo $this->path("web").$groupe["image_uri"]; ?>"
25 width="<?php echo $img_size["width"] ?>"
26 height="<?php echo $img_size["height"] ?>"
27 style="margin-top:<?php echo $margin_top ?>px"
30 <span><?php echo $groupe["nom"] ?></span>
37 <div class="clear"><!-- --></div>
38 <?php $items = "groupes"; $legend = "groupes"; require $this->out_file("views/navig.php"); ?>