Visualizzazione dei risultati da 1 a 7 su 7
  1. #1

    errore stampa risultati

    ciao ragazzi ho fatto un sito per un concessionario

    andando su cerca a questo link
    http://www.unicaritalia.it/index.php...99&task=search

    e nn riempiendo nessun campo dovrebbe darmi la lista completa dei veicoli, ma quando devo andare alla pagina successiva mi da un errore...

    sapete dirmi da cosa dipende e/o come posso aggirarlo

    PS: nn sono preparatissimo in php

  2. #2
    help please...

  3. #3
    Originariamente inviato da ondagiuonda
    help please...
    http://www.unicaritalia.it/index.php...312851742045=1

    mi sa che superi i 255 caratteri del $_GET non puoi togliere un pò di parametri dal $_GET che così son veramente tanti..

    secondo me deriva da tutti i parametri che hai inserito ..
    prova a fare un pò di pulizia

    http://www.checkupdown.com/status/E406.html

    dai un'occhiata a questo
    Soluzioni di Web marketing, CMS, Temi wordpress, grafica e molto altro

    -----
    Ogni topic aperto con un titolo errato fa perdere un capello al moderatore che lo dovrà sistemare.. se non vuoi contribuire alla calvizia dei moderatori apri 3D a norma di regolamento, e prima fai una ricerca! No pvt tecnici!

  4. #4
    intanto grazie ringo per la risposta...
    quello in questione è un componente di joomla, io di php nn ne capisco molto, è possibile far si che mi stampi la lista completa senza far girare pagina...

    ora allego il codice della ricerca, magari bisogna agire su questo.
    cmq grazie mille!!!

    codice:
    /**************************************************\
                    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&amp;Itemid=$Itemid&amp;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>
    
    
    
    
    
    
    </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) {
    
    ?>
    
    
    
    <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&amp;Itemid=$Itemid&amp;task=detail&amp;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> ... id");?>"><?php echo _EZAUTOS_READMORE;?></td>
    </tr>
    <tr>
    <td valign="top" align="center" width="<?php echo $ea_thumbwidth;?>">id");?>"><?php if ($row->image1) { ?>[img]components/com_ezautos/<?php echo $ea_imagedirectory;?>/th/<?php echo $row->image1;?>[/img]" alt="<?php echo _EZAUTOS_PICTAG_VEHICLE;?>" /><?php }else{ ?>[img]components/com_ezautos/images/tn_noimage.jpg[/img]" alt="<?php echo _EZAUTOS_PICTAG_VEHICLE;?>" /><?php } ?></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]components/com_ezautos/images/pixel.gif[/img]</td>
    </tr>
    </table>
    
    <?php
    
        } 
    
    ?>
    
    
    
    <form name="adminForm" action="index.php?option=<? echo $option;?>&amp;task=<?php echo $_REQUEST['task'];?>&amp;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.'&amp;task='.$_REQUEST['task'].'&amp;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'>
    <?php echo _EZAUTOS_RESULTS_NORESULTS;?></td>
    </tr>
    </table>
    
    <?php
    
    }
    
    
    }
    ho postato la stessa discussione anche su questo forum http://forum.joomla.it/index.php?topic=25656.0
    ma nulla...

  5. #5

  6. #6
    :master:

  7. #7
    qualcuno sa aiutarmi?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.