1<tr class="tab" align="left">
2  <td  class="{$class}" width="20" height="20">&nbsp;</td>
3  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
4  <!-- from -->
5  <td  class="{$class}" width="55">{$r1|smarty:nodefaults}&nbsp;</td>
6  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
7  <!-- to -->
8  <td  class="{$class}" width="55">{$r2|smarty:nodefaults}&nbsp;</td>
9  <!-- one column added for inituser -->
10  {if $calendarid eq "all"}
11  	<td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
12  	<td  class="{$class}" width="55">{$r3|smarty:nodefaults}&nbsp;</td>
13  {/if}
14  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
15  <!-- description -->
16  <td  class="{$class}" width="150" STYLE="background-color:{$r4_color};"><B>{$r4_type}</B><BR>{$r4|smarty:nodefaults}&nbsp;</td>
17  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
18
19  <!-- private -->
20  <td  class="{$class}"  VALIGN="center" >
21  {if $r4_1=="1"} {* 1 => private *}
22	  <a href="javascript:void(0);" onmouseover="return overlib('{$gentemp_private}',FGCOLOR,'#FFFFDF',STATUS,' ');" onmouseout="return nd();">
23	  {include file="$gentemplates/_img_png.tpl" localimgsrc="$localimgpath/private.png" imgsrc="$imgpath/private.png"}
24	  </a>
25  {else}
26  	  &nbsp;
27  {/if}
28  </td>
29  <!-- <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
30  -->
31  <!-- availaibility -->
32  <td  class="{$class}"  VALIGN="middle">
33  {if $r4_21=="1" && $r4_22!=""} {* available and a telephone number  *}
34	  <a href="javascript:void(0);" onmouseover="return overlib('{$gentemp_can_be_disturbed}<br>{$gentemp_telephone} : {$r4_22|escape:javascript}',FGCOLOR,'#FFFFDF',STATUS,' ');" onmouseout="return nd();">
35	  {include file="$gentemplates/_img_png.tpl" localimgsrc="$localimgpath/avail.png" imgsrc="$imgpath/avail.png"}
36	  </a>
37  {else}
38  	{if $r4_21=="1" && $r4_22==""} {* available but no telephone number*}
39	  	<a href="javascript:void(0);" onmouseover="return overlib('{$gentemp_can_be_disturbed}',FGCOLOR,'#FFFFDF',STATUS,' ');" onmouseout="return nd();">
40	  	{include file="$gentemplates/_img_png.tpl" localimgsrc="$localimgpath/avail.png" imgsrc="$imgpath/avail.png"}
41	  	</a>
42  	{else}
43  		{if $r4_21=="0"} {* => not available *}
44	  		<a href="javascript:void(0);" onmouseover="return overlib('{$gentemp_can_not_be_disturbed|smarty:nodefaults}',FGCOLOR,'#FFFFDF',STATUS,' ');" onmouseout="return nd();">
45		  	{include file="$gentemplates/_img_png.tpl" localimgsrc="$localimgpath/not_avail.png" imgsrc="$imgpath/not_avail.png"}
46		  	</a>
47  		{else}
48			&nbsp;
49		{/if}
50 	{/if}
51  {/if}
52  </td>
53  <!-- <td  class="{$class}" width="5" VALIGN="middle"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
54  -->
55  <!-- participants -->
56  <td class="{$class}"  VALIGN="middle">
57  {if $r4_3!=""}
58	  <a href="javascript:void(0);" onmouseover="return overlib('{$r4_3|smarty:nodefaults}',CAPTION,'{$temp_participants} :',FGCOLOR,'#FFFFDF',STATUS,' ');" onmouseout="return nd();">
59	  {include file="$gentemplates/_img_png.tpl" localimgsrc="$localimgpath/part.png" imgsrc="$imgpath/part.png"}
60	  </a>
61  {else}
62  	&nbsp;
63  {/if}
64  </td>
65  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
66
67
68  <!-- city -->
69  <td  class="{$class}" width="100"><B>{$r5_type}</B><BR>{$r5|smarty:nodefaults}&nbsp;</td>
70  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
71  <!-- action -->
72  <td  class="{$class}" width="150">{$r6|smarty:nodefaults}&nbsp;</td>
73  <td  class="{$class}" width="5"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" />&nbsp;</td>
74</tr>
75<tr><td height="1" width="1" bgcolor="#ffffff" colspan="20"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
76