96 lines
5.1 KiB
HTML
96 lines
5.1 KiB
HTML
|
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||
|
<tr>
|
||
|
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
||
|
</tr>
|
||
|
<tr bgcolor="#7a9f54" class="bold_white">
|
||
|
<td>
|
||
|
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||
|
<tr bgcolor="#256A19">
|
||
|
<td>
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tr class="bold_white">
|
||
|
<td width="10"><img src="<%image_url%>/icons/folder.gif" vspace="0" hspace="1"></td>
|
||
|
<td height="20" class="bold_white"><%if cms_name and $do%><%cms_name%><%else%>Folders<%endif%></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr bgcolor="#FFFFFF">
|
||
|
<td>
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr class=body>
|
||
|
<td width="1%" align="right">
|
||
|
<%if hits_cat%>
|
||
|
<a href="glist.cgi?do=msg_home&<%if msg_cat_id_fk%>&msg_cat_id_fk=<%msg_cat_id_fk%>&msg_cat_id_fk-opt==<%endif%><%ifnot cd%>&cd=1<%endif%><%if cs%>&cs=1<%endif%><%if ca%>&ca=1<%endif%><%if users%>&users=1<%endif%>"><img src="<%image_url%>/icons/<%ifnot cd%>collapse.gif<%else%>expend.gif<%endif%>" border=0 width="9" height="9" hspace=1></a>
|
||
|
<%endif%>
|
||
|
</td>
|
||
|
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="2" vspace="2"></td>
|
||
|
<td width="100%" class=body>
|
||
|
<%ifnot msg_cat_id_fk%><a href="glist.cgi?do=msg_home&<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><b>Messages</b></a>
|
||
|
<%else%>
|
||
|
<a href="glist.cgi?do=msg_home&<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>">Messages</a>
|
||
|
<%endif%>
|
||
|
<%if hits_root%><span class="small">(<%hits_root%>)</span><%endif%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<%ifnot cd%>
|
||
|
<tr>
|
||
|
<td> </td>
|
||
|
<td colspan="2">
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||
|
<%loop results_cat%>
|
||
|
<tr class=body>
|
||
|
<td class=body width="1%"><img src="<%image_url%>/pics/<%if last%>corner.gif<%else%>line.gif<%endif%>" width="20" height="18"></td>
|
||
|
<td class=body width="1%"><img src="<%image_url%>/icons/folder.gif" hspace="1"></td>
|
||
|
<td class=body width="98%">
|
||
|
<%if msg_cat_id_fk eq $cms_id%><a href="glist.cgi?do=msg_home&msg_cat_id_fk=<%cms_id%>&msg_cat_id_fk-opt==<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><b><%cms_name%></b></a>
|
||
|
<%else%>
|
||
|
<a href="glist.cgi?do=msg_home&msg_cat_id_fk=<%cms_id%>&msg_cat_id_fk-opt==<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><%cms_name%></a>
|
||
|
<%endif%>
|
||
|
<%if messages%><span class="small">(<%messages%>)</span><%endif%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<%endloop%>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<%endif%>
|
||
|
<%ifnot users%>
|
||
|
<tr class="body">
|
||
|
<td colspan="3" class="body"><br />
|
||
|
<%ifnot cms_id%>
|
||
|
Name:
|
||
|
<input type="text" name="cms_name" size="<%if is_ie or is_mozilla%>10<%else%>6<%endif%>" value="<%if cms_name%><%cms_name%><%endif%>" class=object />
|
||
|
<input type="button" name="badd_cat" value=" Add " onclick="init_do('myform', 'msg_cat_add', '', '', 'msg_')" class=button />
|
||
|
<%elsif do ne 'deletecat'%>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td class="body">Name:</td>
|
||
|
<td>
|
||
|
<input type="text" name="cms_name" size="<%if is_ie or is_mozilla%>15<%else%>15<%endif%>" value="<%if cms_name%><%cms_name%><%endif%>" class=object />
|
||
|
</td>
|
||
|
</tr>
|
||
|
<td> </td>
|
||
|
<td>
|
||
|
<input type=hidden name="cms_id" value="<%cms_id%>" />
|
||
|
<input type=button name="cat_update" value="Update" onclick="init_do('myform', 'msg_cat_modify', 1, '', 'msg_')" class=button />
|
||
|
<input type=button name="cat_delete" value="Delete" onclick="init_do('myform', 'msg_cat_delete', 1, '', 'msg_')" class=button />
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<%endif%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<%endif%>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|