Location: PHPKode > projects > JakCMS > JAKCMS_PRO_2_2_6/upload/template/jakcms/calsidebar.html
<?php if ($JAK_EVENT_CAT) { ?>
<h4>{$tl.title.t22}</h4>
<div class="cal_month">
      <a class="eprev" href="{$BASE_URL}{$P_EVENT_URL_PREV}"> << </a>
      <strong> {$months[$month]} {$year} </strong>
      <a class="enext" href="{$BASE_URL}{$P_EVENT_URL_NEXT}"> >> </a>
</div>
<table class="calendar">
<tr class="day">
<?php if (isset($days) && is_array($days)) foreach($days as $i) { ?>
   <td>
      <strong>{$i}</strong>
   </td>
<?php } ?>
</tr>
<?php if (isset($cal) && is_array($cal)) foreach($cal as $i) { ?>
<tr class="days">
   <?php if (isset($i) && is_array($i)) foreach($i as $o) { ?>
      <td class="days">
      <?php if ($o["num"] == null) { ?>
          
      <?php } else { ?>
      {$o.num}<br />
      <?php if (isset($JAK_CUR_EVENT) && is_array($JAK_CUR_EVENT)) foreach($JAK_CUR_EVENT as $e) { ?>
      <?php if (isset($e["daysn"]) && is_array($e["daysn"])) foreach($e["daysn"] as $a) { ?>
      <?php if ($a == $o["num"]) { ?><a title="{$e.title} :: {$tl.general.g29}{$e.totaldays}{$tl.general.g82}" href="{$BASE_URL}{$e.parseurl}"><span style="color:{$e.colorp};">{$e.title|substr:0,1}</span></a><?php } ?>
      <?php } } } ?>
      </td>
   <?php } ?>
</tr>
<?php } ?>
</table>
<div class="clear"> </div>
<?php } ?>
Return current item: JakCMS