History

Show Presentation
 
 x-159
Home • .Templates • sivusto2005 • vanhaa • x-159
 
<table class="otsikkorivi">
 <tr>
   <td class="otsikkosolu">
     <h2>
            <a href="?kalenteri=viikko&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD 1402 DATE,"%D">">&laquo;</a>
            <img src="/Icons/spacer10x10.gif" alt="" width="10" height="10" border="0"/>
            Viikko <X-FC-FIELD `1000` DATE,"%#U/%Y">
            <img src="/Icons/spacer10x10.gif" alt="" width="10" height="10" border="0"/>
            <a href="?kalenteri=viikko&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD 1403 DATE,"%D">">&raquo;</a>
          </h2>
   </td>
   <td class="nakymasolu">
     <span class="calendartoolbar">
       <a href="?kalenteri=paiva&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD 1400 DATE,"%D">"><img src="/.templates/sivusto2005/d11185.png"></a>
          <a href="?kalenteri=viikko&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD 1400 DATE,"%D">"><img src="/.templates/sivusto2005/d11184.png"></a>
       <a href="?kalenteri=kuukausi&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD 1400 DATE,"%D">"><img src="/.templates/sivusto2005/d11182.png"></a>
     </span>
   </td>
  </tr>
</table>




<table class="calendar weekview">
<!--#set var="WEEKDAY" value="-1" -->
<!--#while expr="++$WEEKDAY<7" -->
        <tr>
                        <td class="day<!--#if expr="<X-FC-FIELD `1000+$WEEKDAY` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"--> today<!--#else--> regular<!--#endif-->"><a href="?kalenteri=paiva&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD `1000 + $WEEKDAY` DATE,"%Y%m%d">"><X-FC-FIELD `1000 + $WEEKDAY` DATE,"%A %#d.%#m.%Y"></a></td>
                <!--#if expr="<X-FC-CALENDAR-ITEM $WEEKDAY NITEMS>"-->
                        <!--#rem tapahtumia on -->
                                <td class="event<!--#if expr="<X-FC-FIELD `1000+$WEEKDAY` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"--> today<!--#else--> regular<!--#endif-->">
                                        <!--#set var="INDEX" expr="-1"-->
                                        <!--#while expr="++$INDEX < <X-FC-CALENDAR-ITEM `$WEEKDAY` NITEMS>"-->
                                                <a href="?kalenteri=paiva&pikkukalenteri=<X-FC-URL-PARAMETER pikkukalenteri ESCAPED>&pvm=<X-FC-FIELD `1000 +$ABSDAYNUM` DATE,"%Y%m%d">">
                                                <!--#if expr="<X-FC-CALENDAR-ITEM `$WEEKDAY`.`$INDEX` CONTINUED>"-->
                                                        <!--#rem tapahtuma jatkuu edelliseltä päivältä-->
                                                        (jatk.)
                                                <!--#elif expr="<X-FC-CALENDAR-ITEM `$WEEKDAY`.`$INDEX` ALLDAYEVENT> == 0"-->
                                                        <X-FC-CALENDAR-ITEM `$WEEKDAY`.`$INDEX` START "%#H:%M">
                                                <!--#endif-->
                                                        <X-FC-CALENDAR-ITEM `$WEEKDAY`.`$INDEX` COLUMN[Subject] STRING>
                                                </a>
                                                <!--#if expr="($INDEX + 1) < <X-FC-CALENDAR-ITEM `$WEEKDAY` NITEMS>"-->
                                                        <br />
                                                <!--#endif-->
                                        <!--#endwhile-->
                                </td>
                <!--#else-->
                        <!--#rem tapahtumia ei ole -->
                        <td class="event empty<!--#if expr="<X-FC-FIELD `1000+$WEEKDAY` DATE,"%D">==<X-FC-FIELD 1401 DATE,"%D">"--> today<!--#endif-->">&nbsp;</td>
                <!--#endif-->
                  </tr>
<!--#endwhile -->
</table>