History

Show Presentation
 
 -158
Home • .Templates • sivusto2005test • -158
 

<!--x158 big-->
<!--#set var="FORMID" value="158"-->


<!--set var="EMPTYDAYCOLOR" value="#CCCCCC" -->
<!--set var="TODAYCOLOR" value="#CCFFCC" -->
<!--set var="EVENTDAYCOLOR" value="#FFCCFF" -->
<!--set var="REGULARDAYCOLOR" value="#CCCCFF" -->
<!--#set var="TEMPLATES" value="sivusto2005" -->
<!--set var="HEADINGCOLOR" value="#BBBBDD" -->

<table class="otsikkorivi">
 <tr>
   <td class="otsikkosolu">
     <h2>
            <a href="?kalenteri=kuukausi&amp;pvm=<X-FC-FIELD 1402 DATE,"%D">">&laquo;</a>
            <img src="/Icons/spacer10x10.gif" alt="" width="10" height="10" border="0"/>
            <X-FC-FIELD 1400 DATE,"%B %Y">
            <img src="/Icons/spacer10x10.gif" alt="" width="10" height="10" border="0"/>
            <a href="?kalenteri=kuukausi&amp;pvm=<X-FC-FIELD 1403 DATE,"%D">">&raquo;</a>
          </h2>
   </td>
   <td class="nakymasolu">
     <span class="calendartoolbar">
       <a href="?kalenteri=paiva&amp;pvm=<X-FC-FIELD 1400 DATE,"%D">"><img src="/.templates/sivusto2005/d11185.png"></a>
          <a href="?kalenteri=viikko&amp;pvm=<X-FC-FIELD 1400 DATE,"%D">"><img src="/.templates/sivusto2005/d11184.png"></a>
       <a href="?kalenteri=kuukausi&amp;pvm=<X-FC-FIELD 1400 DATE,"%D">"><img src="/.templates/sivusto2005/d11182.png"></a>
     </span>
   </td>
  </tr>
</table>



<table class="calendar monthview">
 <tr>
       <th class="weeknr">V.</th>
                <!--#set var="WEEKDAY" value="-1"-->
                <!--#while expr="++$WEEKDAY < 7"-->
                        <th><X-FC-FIELD `1000 + $WEEKDAY` DATE,"%A"></th>
                <!--#endwhile-->
 </tr>
<!--#set var="ABSDAYNUM" value="0"-->
<!--#set var="DONE" value="0"-->
<!--#while expr="$DONE == 0"-->
        <tr><!--#set var="WEEKDAY" value="-1"-->
        <td class="weeknr" rowspan="2"><a href="?kalenteri=viikko&amp;pvm=<X-FC-FIELD `1000 + $ABSDAYNUM` DATE,"%D">"><X-FC-FIELD `1000 + $ABSDAYNUM` DATE,"%#U"></a></td>
        <!--#rem tulosta pvm-solut-->
        <!--#while expr="++$WEEKDAY < 7"-->
                <!--#if expr="<X-FC-FIELD `1000 + $ABSDAYNUM` DATE,"%m"> != <X-FC-FIELD 1400 DATE, "%m">"-->
                        <!--#rem tulosta edellisen/seuraavan kuukauden pvmsolu -->
                        <!--#if expr="<X-FC-CALENDAR-ITEM $ABSDAYNUM NITEMS>"-->
                                <!--#rem linkillinen -->
                                <td class="day empty"><a href="?kalenteri=paiva&amp;pvm=<X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%D">"><X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%#e"></a></td>
                        <!--#else-->
                                <!--#rem linkitön -->
                                <td class="day empty"><X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%#e"></td>
                        <!--#endif-->
                <!--#else-->
                        <!--#rem tulosta tavallinen pvmsolu -->
                        <!--#if expr="<X-FC-CALENDAR-ITEM $ABSDAYNUM NITEMS>"-->
                                <!--#rem linkillinen -->
                                <td class="day<!--#if expr="<X-FC-FIELD `1000+$ABSDAYNUM` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"--> today<!--#else--> regular<!--#endif-->"><a href="?kalenteri=paiva&amp;pvm=<X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%Y%m%d">"><X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%#e"></a></td>
                        <!--#else-->
                                <!--#rem linkitön -->
                                <td class="day <!--#if expr="<X-FC-FIELD `1000+$ABSDAYNUM` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"-->today<!--#else-->regular<!--#endif-->"><X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%#e"></td>
                        <!--#endif-->
                <!--#endif-->
                <!--#set var="ABSDAYNUM" expr="$ABSDAYNUM+1"-->
        <!--#endwhile -->
        </tr>
        <!--#rem tulosta sisältösolut-->
        <!--#set var="ABSDAYNUM" expr="$ABSDAYNUM-7"-->
        <tr><!--#set var="WEEKDAY" value="-1"-->
        <!--#while expr="++$WEEKDAY < 7"-->
                                <!--#if expr="<X-FC-CALENDAR-ITEM $ABSDAYNUM NITEMS>"-->
                                        <td class="event<!--#if expr="<X-FC-FIELD `1000+$ABSDAYNUM` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"--> today<!--#else--> regular<!--#endif-->">
                                                <!--#set var="INDEX" expr="-1"-->
                                                <!--#while expr="++$INDEX < <X-FC-CALENDAR-ITEM `$ABSDAYNUM` NITEMS>"-->
                                                        <a href="?kalenteri=paiva&amp;pvm=<X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%Y%m%d">">
                                                        <!--#if expr="<X-FC-CALENDAR-ITEM `$ABSDAYNUM`.`$INDEX` CONTINUED>"-->
                                                                <!--#rem tapahtuma jatkuu edelliseltä päivältä-->
                                                                (jatk.)
                                                        <!--#elif expr="<X-FC-CALENDAR-ITEM `$ABSDAYNUM`.`$INDEX` ALLDAYEVENT> == 0"-->
                                                                <X-FC-CALENDAR-ITEM `$ABSDAYNUM`.`$INDEX` START "%#H:%M">
                                                        <!--#endif-->
                                                                <X-FC-CALENDAR-ITEM `$ABSDAYNUM`.`$INDEX` COLUMN[Subject] STRING>
                                                        </a>
                                                        <!--#if expr="($INDEX + 1) < <X-FC-CALENDAR-ITEM `$ABSDAYNUM` NITEMS>"-->
                                                                <br />
                                                        <!--#endif-->
                                                <!--#endwhile-->
                                        </td>
                                <!--#else-->
                                        <!--#rem tapahtumia ei ole -->
                                        <td class="event empty<!--#if expr="<X-FC-FIELD `1000+$ABSDAYNUM` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"--> today<!--#endif-->">&nbsp;</td>
                                <!--#endif-->
                <!--#set var="ABSDAYNUM" expr="$ABSDAYNUM+1"-->
        <!--#endwhile -->
        </tr>


        <!--#if expr="$ABSDAYNUM >= 142"-->
                <!--#set var="DONE" value="1"-->
        <!--#endif-->
<!--#endwhile-->
 </tr>
</table>