<div>
  <div class="button"><a href="/<?=$detailcontroller?>/<?=$detail[0]['uri']?>/"><?=$words['85']?></a></div>
  <div class="button"><a href="/<?=$diskusecontroller?>/<?=$detail[0]['uri']?>/"><?=$words['60']?> (<?=$detail[0]['pocet_prispevku']?>)</a></div>
  <div class="button"><a href="/<?=$hodnocenicontroller?>/<?=$detail[0]['uri']?>/"><?=$words['65']?> (<?=$detail[0]['rating']?>)</a></div>
  
  <br>

<?php 

if((empty($noAds) or $noAds == 0) and ($this->uri->segment(1) != $hodnocenicontroller and !empty($diskuse) and count($diskuse) < 3))
{

?>
  
  <div class="centered">
  <script type="text/javascript"><!--
  google_ad_client = "pub-0391257622926255";
  /* 160x600, vytvořeno 9.2.08 */
  google_ad_slot = "9592011482";
  google_ad_width = 160;
  google_ad_height = 600;
  //-->
  </script>
  <script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>
  </div>

<?php }else echo ''; ?>

</div>
