<mos:comment>
@version 4.5.2
@package fabrik
@copyright (C) 2005 Rob Clayburn
@license
http://www.gnu.org/copyleft/gpl.html GNU/GPL
</mos:comment>
<h1>{LABEL}</h1>
<p>{INTRODUCTION}</p>
<form action="{FABRIK_PAGEURL}" method="post" id="fabriktable" name="fabriktable">
<mos:tmpl name="show-add" type="simplecondition" requiredvars="showAdd=1">
<span class="pagenav">
<a href="{ADDRECORDLINK}">Add Listing</a>
</span>
</mos:tmpl>
<mos:tmpl name="show-csv" type="simplecondition" requiredvars="showCSV=1">
<span class="pagenav">
<a href="{CSVLINK}">Export to CVS</a>
</span>
</mos:tmpl>
<mos:tmpl name="show-rsslink" type="simplecondition" requiredvars="showRSS=1">
<span class="pagenav">
<a href="{RSSLINK}">Subscribe RSS</a>
</span>
</mos:tmpl>
<mos:tmpl name="show-filters" type="simplecondition" requiredvars="showfilters=1">
<table class="filtertable" style="float:right;width:200px;border:1px solid #cccccc;" cellpadding="5" cellspacing="0">
<tr style="background-color:#cccccc;font-weight:bold;">
<th colspan="2" style="text-align:left">Filtro ricerca:</th>
</tr>
<mos:tmpl name="filters">
<tr>
<td>{NAME}</td>
<td style="text-align:right;">{VALUE}</td>
</tr>
</mos:tmpl>
<tr>
<td colspan="2" style="text-align:right;">
<mos:tmpl name="filter-form" type="simplecondition" requiredvars="filterform=1">
<input type="button" onclick="submitfabrikTable('filter')" class="button" value="Cerca" name="filter" />
</mos:tmpl>
</td>
</tr>
</table>
</mos:tmpl>
<br style="clear:both;" />
<br />
<mos:tmpl name="named-groups" type="condition" conditionvar="rowcount">
<mos:sub condition="0">
{EMPTY_DATA_MSG}
</mos:sub>
<mos:sub condition="__default">
<table width="100%" style="width:100%;border:2px solid #3399FF;" cellpadding="5" cellspacing="0" class="mfDataTable">
<tr style="background-color:#cccccc;font-weight:bold;">
<th align="left">Azienda</th>
<th align="left">Comune</th>
<th align="left">Provincia</th>
<th align="left">Scheda </th>
</tr>
<mos:tmpl name="named-rows">
<tr>
<td><mos:var name="jos_alberghi.title" /></td>
<td><mos:var name="jos_alberghi.comune" /></td>
<td><mos:var name="jos_alberghi.provincia" /></td>
<td><a target="_blank" href="/index.php?option=com_alberghi&task=detail&Itemid=&id=<mos:var name="jos_alberghi.id" />">Link</a></td>
</tr>
</mos:tmpl>
</table>
</mos:sub>
</mos:tmpl>
<div style="text-align:center;margin:auto;">
{FABRIK_DELETEBUTTON}
{FABRIK_PAGENAV}
</div>
<mos:tmpl name="hidden-fields">
<input type="hidden" name="{NAME}" value="{VALUE}" id="{ID}" />
</mos:tmpl>
</form>
<mos:comment>
<mos:var name="fabrik_templatevars" />
</mos:comment>