{foreach from=$plugin_eventcal_cal_sedweek.0.days item=day name=weeknum}
{if $plugin_eventcal_cal_sedweek.0.cwnm_days[$smarty.foreach.weeknum.iteration] != 0}
{$CONST.PLUGIN_EVENTCAL_TEXT_CW}№: {$plugin_eventcal_cal_sedweek.0.cwnm} :: {$plugin_eventcal_cal_sedweek.0.head[$smarty.foreach.weeknum.iteration]}, {if $plugin_eventcal_cal_sedweek.0.cwnm_days[$smarty.foreach.weeknum.iteration] le $plugin_eventcal_cal_sedweek.0.cwnm_lastday}{$plugin_eventcal_cal_sedweek.0.cwnm_days[$smarty.foreach.weeknum.iteration]}{/if} |
{/if}
{if $day.arrdata}
{foreach from=$day.arrdata item=ad name=daynum}
{$smarty.foreach.daynum.iteration} |
{$ad.sdesc} |
{if $is_eventcal_ical} {else} {/if} |
{$ad.sdato}{if $ad.tipo > 1 }{if $ad.tipo == 6} {$CONST.PLUGIN_EVENTCAL_TEXT_INTERVAL}: {$CONST.PLUGIN_EVENTCAL_TEXT_YEARLY}{else} {$CONST.PLUGIN_EVENTCAL_TEXT_TO} {$ad.edato}{/if}{if $ad.tipo == 5} {$CONST.PLUGIN_EVENTCAL_TEXT_INTERVAL}: {$CONST.PLUGIN_EVENTCAL_TEXT_BIWEEK}{/if}{/if} |
{$ad.app_by} |
|
{$ad.ldesc|nl2br}{if $ad.url}{/if} |
|
{/foreach}
{else}
|
{/if}
{/foreach}
{* cwnm gt = greater than in php write > cwnm_first *}
{if $plugin_eventcal_cal_sedweek.0.cwnm gt $plugin_eventcal_cal_sedweek.0.cwnm_first}
{/if}
|
{$CONST.PLUGIN_EVENTCAL_TEXT_CW}№: {$plugin_eventcal_cal_sedweek.0.cwnm} {$plugin_eventcal_cal_cmonth} |
{* cwnm_month eq = equal in php write == eventcal_month *}
{if $plugin_eventcal_cal_sedweek.0.cwnm_m eq $plugin_eventcal_cal_m}
{/if}
|
|
{* now build the selected week like it is in month table *}
|
{foreach from=$plugin_eventcal_cal_sedweek.0.head item=r}
{$r} |
{/foreach}
{foreach from=$plugin_eventcal_cal_sedweek item="week"}
{if $week.days}
{$week.cwnm}
|
{foreach from=$week.days item="day"}
{if $day.today == 'today'} {$CONST.CAL_EVENT_TODAY} {elseif $day.today == 'blank'}{else} {/if} |
{$day.label|@default:' '} |
{if !$day.arrdata} {/if}
{foreach from=$day.arrdata item=r start=1}
{$r.sdesc}
{/foreach}
|
|
{/foreach}
{/if}
{/foreach}