visto però che li stampa a 10 a 10 dovrei forse dargli qualche comando che faccia stampare un numero illimitato di veicoli cioè tutti, senza dividere in pagine, forse la porzione php da modificare è questa....
/**************************************************\
SHOW THE SEARCH FORM
\**************************************************/
function itemSearch( $option, $lists ) {
global $database, $Itemid, $mainframe, $mosConfig_live_site, $option;
?>
<table width="90%" align="center" cellpadding="5"><tr><td>
<table width="100%" cellpadding="10" class="pollstableborder"><tr><td>
<form name="searchfilter" action="<?php echo sefRelToAbs("index.php?option=com_ezautos&Itemid=$Itemid&task=results");?>" method="post">
<input type="hidden" name="option" value="com_ezautos" />
<input type="hidden" name="Itemid" value="<?php echo $Itemid;?>" />
<input type="hidden" name="task" value="results" />
<table border="0" width="100%">
<tr>
<td class="h2"><?php echo _EZAUTOS_SEARCHADV;?></td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="120" height="36"><?php echo _EZAUTOS_SEARCHPRICE;?>:</td>
<td width="157"><?php echo $lists['minprice'];?></td>
<td width="133"><?php echo $lists['maxprice'];?></td>
</tr>
<tr>
<td height="36"><?php echo _EZAUTOS_SEARCH_MAKE;?>:</td>
<td colspan="4"><?php echo $lists['make'];?></td>
</tr>
<tr>
<td height="37"><?php echo _EZAUTOS_SEARCH_MODEL;?>:</td>
<td colspan="4"><?php echo $lists['model'];?></td>
</tr>
<tr>
<td height="37"><?php echo _EZAUTOS_DDSL_TRANS;?>:</td>
<td colspan="4"><?php echo $lists['trans'];?></td>
</tr>
<tr>
<td height="38"><?php echo _EZAUTOS_VLDET_TAG;?>:</td>
<td colspan="4"><?php echo $lists['tag'];?></td>
</tr>
<tr>
<td height="40"><?php echo _EZAUTOS_SEARCH_SEARCHORD;?>:</td>
<td colspan="4"><select name="direction" class="inputbox">
<option value="ASCPRICE"><?php echo _EZAUTOS_DDSL_PRASC;?></option>
<option value="DESCPRICE"><?php echo _EZAUTOS_DDSL_PRDESC;?></option>
<option value="ASCID" selected="selected"><?php echo _EZAUTOS_DDSL_IDASC;?></option>
<option value="DESCID"><?php echo _EZAUTOS_DDSL_IDDESC;?></option>
</select></td>
</tr>
<tr>
<td height="51"><input class="button" type="submit" name="<?php echo _EZAUTOS_INCLUDES_SEARCH;?>" value="<?php echo _EZAUTOS_INCLUDES_SEARCH;?>" /></td>
<td colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td></tr></table>
<br /><br /><br />
</td></tr></table>
<?php
}
/**************************************************\
SHOW THE FILTERED SEARCH RESULTS
\**************************************************/
function searchFilteredResults( $option, &$rows, $pageNav ) {
global $database, $Itemid, $mainframe, $mosConfig_live_site, $ea_currencysign, $ea_thumbwidth, $ea_perpage, $ea_imagedirectory;
$num_rows=ceil( count( $rows ) / 1 );
if ($num_rows > 0) {
?>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="sectiontableheader"><?php echo _EZAUTOS_RESULTS_RESULTS;?></td>
</tr>
</table>
<?php
$k = 0;
for ($i=0, $n=count( $rows ); $i < $n; $i++) {
$row = &$rows[$i];
?>
<table border="0" width="100%" onmouseover="EZOver(this)" onmouseout="EZOut(this)" onclick="location.href='<?php echo sefRelToAbs("index.php?option=com_ezautos&Itemid=$Itemid&task=detail&id=$row->id");?>'">
<tr>
<td valign="top"> </td>
<td valign="top" width="420"><span class="h3"><?php echo $row->year.' '.$row->makename.' '.$row->modelname;?></span> ... <a href="<?php echo sefRelToAbs("index.php?option=com_ezautos&Itemid=$Itemid&task=detail&id=$row->id");?>"><strong><?php echo _EZAUTOS_READMORE;?></strong></a></td>
</tr>
<tr>
<td valign="top" align="center" width="<?php echo $ea_thumbwidth;?>"><a href="<?php echo sefRelToAbs("index.php?option=com_ezautos&Itemid=$Itemid&task=detail&id=$row->id");?>"><?php if ($row->image1) { ?><img src="components/com_ezautos/<?php echo $ea_imagedirectory;?>/th/<?php echo $row->image1;?>" border="0" hspace="15" width="<?php echo $ea_thumbwidth;?>" alt="<?php echo _EZAUTOS_PICTAG_VEHICLE;?>" /><?php }else{ ?><img src="components/com_ezautos/images/tn_noimage.jpg" border="0" hspace="15" width="<?php echo $ea_thumbwidth;?>" alt="<?php echo _EZAUTOS_PICTAG_VEHICLE;?>" /><?php } ?></a></td>
<td valign="top">
<table border="0" width="100%">
<tr>
<td align="right" width="130"><?php echo _EZAUTOS_DET_PRICE; ?></td>
<td align="center" width="20">:</td>
<td><?php echo $ea_currencysign.''.$row->price;?></td>
</tr>
<?php if ( $row->mileage ) { ?>
<tr>
<td align="right" width="130"><?php echo _EZAUTOS_DET_MILEAGE; ?></td>
<td align="center" width="20">:</td>
<td><?php echo $row->mileage;?></td>
</tr>
<?php } ?>
<?php if ( $row->engine ) { ?>
<tr>
<td align="right" width="130"><?php echo _EZAUTOS_DET_ENGSIZE; ?></td>
<td align="center" width="20">:</td>
<td><?php echo $row->engine;?></td>
</tr>
<?php } ?>
<?php if ( $row->trans ) { ?>
<tr>
<td align="right" width="130"><?php echo _EZAUTOS_DET_TRANSMISSION; ?></td>
<td align="center" width="20">:</td>
<td><?php echo $row->trans;?></td>
</tr>
<?php } ?>
<tr>
<td align="right" width="130"><?php echo _EZAUTOS_DET_AVAILABILITY; ?></td>
<td align="center" width="20">:</td>
<td><?php echo $row->availability;?></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="sectiontableheader">
<tr>
<td><img src="components/com_ezautos/images/pixel.gif" border="0" height="2" width="1" alt="" /></td>
</tr>
</table>
<?php
}
?>
<form name="adminForm" action="index.php?option=<? echo $option;?>&task=<?php echo $_REQUEST['task'];?>&Itemid=<? echo $Itemid;?>" method="get">
<input type="hidden" name="option" value="<?php echo $option;?>" />
<input type="hidden" name="Itemid" value="<?php echo $Itemid;?>" />
<input type="hidden" name="task" value="<?php echo $_REQUEST['task'];?>" />
<input type="hidden" name="cid" value="<?php echo $_REQUEST['cid'];?>" />
<input type="hidden" name="trans" value="<?php echo $_REQUEST['trans'];?>" />
<input type="hidden" name="tag" value="<?php echo $_REQUEST['tag'];?>" />
<input type="hidden" name="make" value="<?php echo $_REQUEST['make'];?>" />
<input type="hidden" name="model" value="<?php echo $_REQUEST['model'];?>" />
<input type="hidden" name="maxprice" value="<?php echo $_REQUEST['maxprice'];?>" />
<input type="hidden" name="minprice" value="<?php echo $_REQUEST['minprice'];?>" />
<input type="hidden" name="direction" value="<?php echo $_REQUEST['direction'];?>" />
<?php
$link='index.php?option='.$option.'&task='.$_REQUEST['task'].'&Itemid='. $Itemid;
?>
<table width='100%' border='0' cellspacing='1' cellpadding='0'>
<tr>
<td colspan="2" align="center"><?php echo $pageNav->writePagesLinks($link); ?></td>
</tr>
<tr>
<td><?php echo $pageNav->writePagesCounter();?></td><td align="right"><?php echo _EZAUTOS_LISTINGS_DISPLAYNUM;?> <?php echo $pageNav->getLimitBox($link);?></td>
</tr>
</table>
<?php
}else{
?>
<table width='100%' border='0' cellspacing='1' cellpadding='0'>
<tr>
<td colspan='2' class='sectiontableheader' width='100%'><?php echo _EZAUTOS_RESULTS_RESULTS;?></td>
</tr>
<tr>
<td class='h3'><br /><?php echo _EZAUTOS_RESULTS_NORESULTS;?></td>
</tr>
</table>
<?php
}
}