diff options
author | VOC | 2015-11-13 19:48:45 +0100 |
---|---|---|
committer | VOC | 2015-11-13 19:48:45 +0100 |
commit | 92f4fa13749566f6c4378f2c9e80774e8320b825 (patch) | |
tree | f17c6da85da6edba9c7be10138687518ee534d50 /template/allconferences.phtml | |
parent | 32fd126b3fa937389efd1457e9d05daff9f3b347 (diff) | |
parent | 29af764323dc474c14e05985eeabd3a06ef19c86 (diff) |
Merge branch 'mandators'
Diffstat (limited to 'template/allconferences.phtml')
-rw-r--r-- | template/allconferences.phtml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/template/allconferences.phtml b/template/allconferences.phtml new file mode 100644 index 0000000..2d47b82 --- /dev/null +++ b/template/allconferences.phtml @@ -0,0 +1,33 @@ +<div class="container"> + <h1><?=h($title)?></h1> + <p>We are currently active on multiple Conferences. Please choose which one you want access.</p> + + <br><br> + + <div class="row clearfix"> + <? $count = count($conferences) ?> + <? foreach($conferences as $idx => $info): ?> + <? + // when we have more then 3 conferences, all but the last 3 will be displayed with 1/3 width + if($count - $idx <= ($count % 3)) + $w = 12/($count%3); + else + $w = 12/3; + ?> + + <div class=" + clearfix + conference + col-xs-12 + col-md-<?=h($w)?> + "> + <div class="panel panel-default"> + <div class="panel-body"> + <a href="<?=h($info['link'])?>"><?=h($info['title'])?></a> + <p><?=h($info['description'])?></p> + </div> + </div> + </div> + <? endforeach ?> + </div> +</div> |