• Home
  • Forum
  • Fare Web
  • PHP

aggiungere la paginazione

  • Creatore Discussione Creatore Discussione searedone
  • Data di inizio Data di inizio 2 Gen 2012
Prec.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Succ.
Primo Prec. 5 di 6 Succ. Ultimo
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #81
mi stampa questo:

SELECT * FROM annunci INNER JOIN citta ON (annunci.cittaid=citta.id) INNER JOIN provincia ON (annunci.provinciaid=provincia.id) INNER JOIN regione ON (annunci.regioneid=regione.id) INNER JOIN fascia ON (annunci.fasciaid=fascia.id) INNER JOIN tipo ON (annunci.tipoid=tipo.id) INNER JOIN modello ON (annunci.modelloid=modello.id) INNER JOIN cliente ON (annunci.clienteid=cliente.id) INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id) INNER JOIN users ON (annunci.user_id=users.id) WHERE 1=1 && modello.id = '1'Non ci sono risultati con la tua ricerca. Prova a cambiare la parola chiave
 

criric

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
21 Ago 2010
5.606
54
48
TN
  • 14 Gen 2012
  • #82
La sintassi mi sembra corretta

le ultime join che hai aggiunto sono corrette?
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #83
si,
erano anche nello script originale

e non capisco perché da errore nel modello ?
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #84
mi correggo non centra niente la fascia ..

da la stessa cosa su qualsiasi ricerca...

o meglio su fascia che è aid mi trova i risultati su tutti gli altri no .... eppure ci sono
 

borgo italia

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
4 Feb 2008
16.044
150
63
PR
www.borgo-italia.it
  • 14 Gen 2012
  • #85
ciao
ahahh.... questo var_dump sconosciuto, metti
PHP:
<?php
//...
if (count($_POST) > 0) {  
    foreach ($_POST as $key => $value) {  
        $_SESSION[$key] = mysql_escape_string(stripslashes($value));
        var_dump($_SESSION[$key]); echo "<br>";
    }  
}  
//....
?>
e guarda cosa ti restituisce
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #86
restituisce questo :

string(0) ""
string(0) ""
string(1) "3"
string(1) "1"
string(1) "1"
string(1) "8"
SELECT * FROM annunci INNER JOIN citta ON (annunci.cittaid=citta.id) INNER JOIN provincia ON (annunci.provinciaid=provincia.id) INNER JOIN regione ON (annunci.regioneid=regione.id) INNER JOIN fascia ON (annunci.fasciaid=fascia.id) INNER JOIN tipo ON (annunci.tipoid=tipo.id) INNER JOIN modello ON (annunci.modelloid=modello.id) INNER JOIN cliente ON (annunci.clienteid=cliente.id) INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id) INNER JOIN users ON (annunci.user_id=users.id) WHERE 1=1 && modello.id = '1' && tipo.id = '3' && cliente.id = '8' && condizioni.id = '1'Non ci sono risultati con la tua ricerca. Prova a cambiare la parola chiave
 

criric

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
21 Ago 2010
5.606
54
48
TN
  • 14 Gen 2012
  • #87
Intanto metterei un bel

PHP:
unset($_SESSION);

nella pagina del form in modo da ripulire le sessioni per una nuova ricerca

a meno che non le usi per qualcos altro in tal caso la soluzione è aggiungere una matrice

comunque se gia con

PHP:
WHERE 1=1 && modello.id = '1'

non ti da risultati secondo me vuol dire che qualcosa non va nelle join

Proverei a incollare la query nel phpmyadmin e a togliere una join alla volta fino a che non ti da il risultato
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #88
Ma la join da' risultato con lo script vecchio ..

il problema è solo che non mi va' avanti la paginazione ....
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #89
così funziona tutto tranne il passaggio alla pagina successiva

PHP:
 <?php
class MySQL{       
    function MySQL()       
    {       
        require_once "db_connect.php";  //metti l'once   
    }       
}
$aid = $_POST['aid'];   
    $bid = $_POST['bid']; 
     $cid = $_POST['cid'];
     $eid = $_POST['eid'];
     $fid = $_POST['fid'];
$data = new MySQL();     
if(isset ($_POST['cerca_m'])){   
    $_SESSION['cerca_m']=$_POST['cerca_m'];   
}   
$cerca_m = mysql_escape_string(stripslashes($_SESSION['cerca_m']));   
if (strlen($cerca_m) < 2 && $aid == "" && $bid == "" && $cid == "" && $eid == "" && $fid == "") {
echo "dati inseriti non validi"; 
    
    //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere   
}  else{  
  $q = "SELECT * FROM annunci  
                           INNER JOIN citta ON (annunci.cittaid=citta.id) 
                           INNER JOIN provincia ON (annunci.provinciaid=provincia.id)    
                           INNER JOIN regione ON (annunci.regioneid=regione.id)    
                           INNER JOIN fascia ON (annunci.fasciaid=fascia.id)
                            INNER JOIN tipo ON (annunci.tipoid=tipo.id) 
                           INNER JOIN modello ON (annunci.modelloid=modello.id)
                           INNER JOIN cliente ON (annunci.clienteid=cliente.id)
                           INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id)
                           INNER JOIN users ON (annunci.user_id=users.id) 
                           WHERE 1=1 "; 
if($cerca_m != "") { 
$q.= " &&  (citta LIKE '%$cerca_m%' OR regione LIKE '%$cerca_m%' OR provincia LIKE '%$cerca_m%'  )"; 
} 

if($aid != "") { 
$q.= " && fascia.id = '$aid'"; 
} 
if($bid != "") { 
$q.= " && tipo.id = '$bid'"; 
}
if($cid != "") { 
$q.= " && modello.id = '$cid'"; 
}  
if($eid != "") { 
$q.= " && cliente.id = '$eid'"; 
}
if($fid != "") { 
$q.= " && condizioni.id = '$fid'"; 
}
 

borgo italia

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
4 Feb 2008
16.044
150
63
PR
www.borgo-italia.it
  • 14 Gen 2012
  • #90
ciao
prova in questa maniera

PHP:
<?php
session_start();//all'inizio
//dati connessione
unset($_POST['submit']);//ho scritto submit, ma devi mettere il name che hai nel campo di submit
if(is_array($_POST){//se non è un array non hai inserito i dati
	foreach($_POST as $chiave => $valore){
		if(isset($_POST[$chiave])){
			$_SESSION[$chiave]=trim($_POST[$chiave]);//oppure $_SESSION[$chiave]=trim($valore);
		}//fine if isset
		${$chiave}=stripslashes($_SESSION[$chiave]);//variabile di variabile
	}//fine foreach
		//e qui tutta la query, le varie condizioni $q.= ....
		$q = "SELECT * FROM annunci   
          INNER JOIN citta ON (annunci.cittaid=citta.id)  
          INNER JOIN provincia ON (annunci.provinciaid=provincia.id)     
          INNER JOIN regione ON (annunci.regioneid=regione.id)     
          INNER JOIN fascia ON (annunci.fasciaid=fascia.id) 
          INNER JOIN tipo ON (annunci.tipoid=tipo.id)  
          INNER JOIN modello ON (annunci.modelloid=modello.id) 
          INNER JOIN cliente ON (annunci.clienteid=cliente.id) 
          INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id) 
          INNER JOIN users ON (annunci.user_id=users.id)  
          WHERE 1=1 ";  
			if($cerca_m != "") {  
				$q.= " &&  (citta LIKE '%$cerca_m%' OR regione LIKE '%$cerca_m%' OR provincia LIKE '%$cerca_m%'  )";  
			}  
			if($aid != "") {  
				$q.= " && fascia.id = '$aid'";  
			}  
			if($bid != "") {  
				$q.= " && tipo.id = '$bid'";  
			} 
			if($cid != "") {  
				$q.= " && modello.id = '$cid'";  
			}   
			if($eid != "") {  
				$q.= " && cliente.id = '$eid'";  
			} 
			if($fid != "") {  
				$q.= " && condizioni.id = '$fid'";  
			}
             //e visualizzazione
}else{
	echo "dati inseriti non validi";  
    //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere  
}//fine if/else inseriti dati
?>
 
Ultima modifica: 14 Gen 2012
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #91
Fatto cosi:
ma da errore ( ti ho messo e qui da errore -------------- ) nel codice per farti capire dove....

cmq lo script di prima se io cerco una barca nuova e aggiungo la città o la regione mi prende la paginazione e quando giro le pagine trovo gli annunci... non succede solo se cerco nuovo ecc con il
menu a tendina ... Boh magari ti può' aiutare
PHP:
<?php 
session_start();//all'inizio 
//dati connessione 
unset($_POST['cerca_m']);//ho scritto submit, ma devi mettere il name che hai nel campo di submit 
if(is_array($_POST){//se non è un array non hai inserito i dati      e qui da errore --------------  
    foreach($_POST as $chiave => $valore){ 
        if(isset($_POST[$chiave])){ 
            $_SESSION[$chiave]=trim($_POST[$chiave]);//oppure $_SESSION[$chiave]=trim($valore); 
        }//fine if isset 
        ${$chiave}=stripslashes($_SESSION[$chiave]);//variabile di variabile 
    }//fine foreach 
  
      $q = "SELECT * FROM annunci    
          INNER JOIN citta ON (annunci.cittaid=citta.id)   
          INNER JOIN provincia ON (annunci.provinciaid=provincia.id)      
          INNER JOIN regione ON (annunci.regioneid=regione.id)      
          INNER JOIN fascia ON (annunci.fasciaid=fascia.id)  
          INNER JOIN tipo ON (annunci.tipoid=tipo.id)   
          INNER JOIN modello ON (annunci.modelloid=modello.id)  
          INNER JOIN cliente ON (annunci.clienteid=cliente.id)  
          INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id)  
          INNER JOIN users ON (annunci.user_id=users.id)   
          WHERE 1=1 ";   
            if($cerca_m != "") {   
                $q.= " &&  (citta LIKE '%$cerca_m%' OR regione LIKE '%$cerca_m%' OR provincia LIKE '%$cerca_m%'  )";   
            }   
            if($aid != "") {   
                $q.= " && fascia.id = '$aid'";   
            }   
            if($bid != "") {   
                $q.= " && tipo.id = '$bid'";   
            }  
            if($cid != "") {   
                $q.= " && modello.id = '$cid'";   
            }    
            if($eid != "") {   
                $q.= " && cliente.id = '$eid'";   
            }  
            if($fid != "") {   
                $q.= " && condizioni.id = '$fid'";   
            } 
             //e visualizzazione 
}else{   // e qui da errore --------------   ma li altri sono riuscito a risolverli questi due no :(
    echo "dati inseriti non validi";   
    //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere   
}//fine if/else inseriti dati   
     $q = mysql_query($q) or die (mysql_error()) ;  
    $count=mysql_num_rows($q); 
    if($count == 0){  
        echo "Non ci sono risultati con la tua ricerca. Prova a cambiare la parola chiave";  
        //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere es. registrati  
    }else{  
        //visto che ci sono dati inserisci anche la paginazione  
        require_once "paginazione.php";//metti l'once  
        $p = new Paging;  
        $max = 10;  
        // identifichiamo la pagina da cui iniziare la numerazione  
        $inizio = $p->paginaIniziale($max);  
        // troviamo il numero delle pagine che dovrà essere contato   
        $pagine = $p->contaPagine($count, $max);  
        $lim="LIMIT $inizio, $max";  
        $sq_lim=$q.$lim;//ripetere lo stesso codice uguale è sempre cattiva programmazione  
        $risultato=mysql_query($sq_lim);  
       
        while($row=mysql_fetch_array($q)){     
            $click_annuncio = $row['click_annuncio'];  
$id_annunci = $row['id_annunci'];  
$user_id = $row['id'];
    $modello = $row['modello'];
  $messaggio = substr($row['messaggio'], 0, 25);  
  $mq = $row['mq'];
  $prezzo = $row['prezzo']; 
  $tipologia = $row['tipologia']; 
    $sigla = $row['sigla']; 
   $tipo = $row['tipo']; 
  $name = $row['name']; 
   $cliente = $row['cliente']; 
   $locali = $row['locali']; 
  $via = $row['via']; 
  $citta = $row['citta']; 
  $username = $row['username']; 
  $email = $row['email']; 
   $condizioni = $row['condizioni']; 
    $regione = $row['regione']; 
     $tipo = $row['tipo']; 
      $condizioni = $row['condizioni']; 
       $logo_cliente = $row['logo_cliente']; 
          
   
   $nome_file = $row['nome_file']; 
  $tipo_file = $row['tipo_file']; 
  $dati_file = $row['dati_file']; 
   
  $nome_file_vero = $row['nome_file_vero']; 
  $tipo_file = $row['tipo_file']; 
  $dati_file = $row['dati_file']; 
   
            //cosa ci sta a fare in mezzo a una table <p class='three'> eventualmente la class dalla al td o al tr 
            //tra l'altro non c'è la chiusura del tag </p> 
            //poi c'è una chiusura </table> nel mezzo (quindi hai messo due chiusure e una sila apertura) e 
            //ci sono dei tr non aperti ma solo chiusi 
            echo" <h5><table width='100%'>"; 
  echo" <tr>"; 
   echo" <p class='three'><td colspan='3'> <a href=\"rannunci.php?id=$id_annunci\"/>$via,$citta,$name,$sigla,$regione</a></td>"; 
 echo" </tr>"; 
 echo" <tr>"; 
  echo"  <td width='14%' bgcolor='#f4f9fd'> <a href=\"rannunci.php?id=$id_annunci\"/><img src='immagini2.php?id_annunci=$id_annunci' name='nome_file'  alt'' width='150' height='150'  /></a></td>"; 
  echo"  <td width='45%' bgcolor='#f4f9fd'><table width='100%'>"; 
   echo"   <tr>"; 
    echo"    <td>Stato Imbarcazione :<br /> $tipo <br /> Tipo imbarcazione: <br />$modello<br /></td>"; 
    echo"  </tr>"; 
    echo"  <tr>"; 
      echo"  <td> <a href=\"rannunci.php?id=$id_annunci\"/><button class=\"button orangeButt\">Vedi dettagli </button></td>"; 
echo"</tr>"; 
 echo"     <tr>"; 
    echo"    <td>&nbsp;</td>"; 
    echo"  </tr>"; 
   echo" </table></td>"; 
  echo"  <td width='31%' bgcolor='#f4f9fd'>Prezzo:$prezzo<br />Lunghezza:$mq<br />Cabine:$locali</p> <a href=\"rannunci.php?id=$id_annunci\"/><img src='immagini1.php?id=$user_id' name='nome_file_vero' width='150' height='40'/></a></td>"; 
  echo"</tr>"; 
echo"</table></h5>"; 

}  

        $lista = $p->listaPagine($_GET['p'], $pagine); 
        echo "<tr><td colspan=\"3\">"; 
        echo "$lista . <br>"; 
          $navigatore = $p->precedenteSuccessiva($_GET['p'], $pagine);  
         echo $navigatore;  
        echo "</td></tr>"; 
        echo"</table></h5>"; 
	}//fine if-else post giusto 
?>
 

borgo italia

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
4 Feb 2008
16.044
150
63
PR
www.borgo-italia.it
  • 14 Gen 2012
  • #92
ciao
nel form dovresti avere qualcosa di simile (il pulsante di invio dati)
HTML:
<input type="submit" name="Pinco_pallo" value="Invia">
qui va
PHP:
unset($_POST['Pinco_pallo']);//ho scritto submit, ma devi mettere il name che hai nel campo di submit
cosa c'entra 'cerca_m'?

poi dopo l'unset
metti il solito var_dump

PHP:
var_dump($_POST);
e dimmi cosa ti restituisce
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #93
Aspe prima che facciamo confusione

questa è la pagina del motore che invia alla pagina cerca_m

PHP:
  <?php
  require ("db_connect.php"); 
  $aid = $_POST['aid'];  
    $bid = $_POST['bid'];
     $cid = $_POST['cid'];
     $eid = $_POST['eid'];
     $fid = $_POST['fid'];
   $fascias = @mysql_query ("SELECT id, fascia FROM fascia");
  if (!$fascias) {
  exit('<p>unable to obtain fascias </p>');
  }
  $tipos = @mysql_query ("SELECT id, tipo FROM tipo ");
  if (!$tipos) {
  exit('<p>unable to obtain tipos </p>');
  }
  $modellos = @mysql_query ("SELECT id, modello FROM modello ");
  if (!$modellos) {
 exit('<p>unable to obtain tipos </p>');
  }
   $condizionis = @mysql_query ("SELECT id, condizioni FROM condizioni ");
  if (!$condizionis) {
 exit('<p>unable to obtain tipos </p>');
  }
   $clientes = @mysql_query ("SELECT id, cliente FROM cliente ");
  if (!$clientes) {
 exit('<p>unable to obtain tipos </p>');
  }
  ?>
  
<table width="9%">
  <tr>
    <td>
    <h5> Raffina la ricerca </h5>
 <form action='cerca_m.php' method='POST'>  // cerca_m qui mi serve come action per l'invio dei dati alla pagina cerca_m
 <h5>Citta,Provincia,Regione
<input type='text' tabindex='15' name='cerca_m' class='input_nuovo_ex' size="15" ></h5>    // qui il campo name con cerca_m
  <select name="aid" size="1">
  <option selected value="">Fascia prezzo</option>
 <?php
   while ($fascia = mysql_fetch_array($fascias)) {
    $aid = $fascia['id'];
    $afascia = htmlspecialchars($fascia['fascia']);
    echo "<option value='$aid'>$afascia</option>\n";
  }
  ?>
</select><br />


<select name="cid" size="1">
  <option selected value="">Tipologia barca</option>
<?php
   while ($modello = mysql_fetch_array($modellos)) {
    $cid = $modello['id'];
    $cmodello = htmlspecialchars($modello['modello']);
    echo "<option value='$cid'>$cmodello</option>\n";
  }
  ?>
</select><br />

<select name="bid" size="1">
  <option selected value="">Tipo annuncio</option>
  
<?php
   while ($tipo = mysql_fetch_array($tipos)) {
    $bid = $tipo['id'];
    $btipo = htmlspecialchars($tipo['tipo']);
    echo "<option value='$bid'>$btipo</option>\n";
  }
  ?>
</select>   <br />
<select name="fid" size="1">
  <option selected value="">Condizioni Barca</option>
  
<?php
   while ($condizioni = mysql_fetch_array($condizionis)) {
    $fid = $condizioni['id'];
    $fcondizioni = htmlspecialchars($condizioni['condizioni']);
    echo "<option value='$fid'>$fcondizioni</option>\n";
  }
  ?>
</select>   <br />
<select name="eid" size="1">
  <option selected value="">Seleziona tipo cliente</option>
<?php
   while ($cliente = mysql_fetch_array($clientes)) {
    $eid = $cliente['id'];
    $ecliente = htmlspecialchars($cliente['cliente']);
    echo "<option value='$eid'>$ecliente</option>\n";
  }
  ?>
</select></p> <br />

<button class="button orangeButt">Trova<br />Barche</button> // non ho il bottone submit ma un bottone creato con i css più fighetto :)

        </form>
    
 
    
    
    
    
    </td>
  </tr>
</table> 
</body>
</html>

Dove e come devo mettere ciò che dici ??
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #94
Se aggiungo come mi hai detto tu se non ho fatto male

PHP:
</select>   <br />
<select name="eid" size="1">
  <option selected value="">Seleziona tipo cliente</option>
<?php
   while ($cliente = mysql_fetch_array($clientes)) {
    $eid = $cliente['id'];
    $ecliente = htmlspecialchars($cliente['cliente']);
    echo "<option value='$eid'>$ecliente</option>\n";
  }
  ?>
</select></p> <br />

<button class="button orangeButt" name="cerca_m">Trova<br />Barche</button>

<?php unset($_POST['cerca_m']);// ho aggiunto unset  e il vardump
var_dump($_POST);
?>
        </form>

mi scrive sotto il bottone


array(0) { }
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 14 Gen 2012
  • #95
premendo il pulsante mi restituisce

array(5) { ["aid"]=> string(0) "" ["cid"]=> string(0) "" ["bid"]=> string(1) "1" ["fid"]=> string(0) "" ["eid"]=> string(0) "" }

Ovviamente mi da solo il campo bid = 1 perché è l'unica cosa che ho cercato ... quindi secondo me i dati li invia


Dimenticavo la query mi viene fuori esatta e mi trova solo gli annunci nuovo ... solo che formando due pagine di annunci la prima la vedo e come clicc o su 2 non mi
porta i risultati e mi da il mex di errore
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 15 Gen 2012
  • #96
Nessuno ha capito cosa manca per far si che girando pagina si porti dietro i risultati

io ci provo da questa mattina ma niente sempre uguale ......

eppure il vardump provato sul form restituisce tutto correttamente ... idem se aggiungo alla ricerca anche il campo in cerca_m .. solo se utilizzo i menu a tendina che sono nell if

PHP:
$cerca_m = mysql_escape_string(stripslashes($_SESSION['cerca_m']));    
if (strlen($cerca_m) < 2 && $aid == "" && $bid == "" && $cid == "" && $eid == "" && $fid == "") { 
echo "dati inseriti non validi";
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 16 Gen 2012
  • #97
Ciao Borgo,
dopo il vardump del form non mi hai più fatto sapere nulla

si è capito cosa manca per far si che si porti dietro i valori ???
 

borgo italia

Super Moderatore
Membro dello Staff
SUPER MOD
MOD
4 Feb 2008
16.044
150
63
PR
www.borgo-italia.it
  • 16 Gen 2012
  • #98
ciao
devi passare i valori in sessione come detto precedentemente e mettere nella query le sessioni
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 16 Gen 2012
  • #99
ahhhhhhhhh

ho provato a metterla in tutti i posti e nada

come cavolo devo passarla ....

anche cosi ma nada cosa sbaglio


PHP:
<?php
 if(!isset($_SESSION)){session_start ();}
 
 if(isset ($_POST['aid'])){   
    $_SESSION['aid']=$_POST['aid'];
} 
if(isset ($_POST['bid'])){   
    $_SESSION['bid']=$_POST['bid'];
} 
if(isset ($_POST['cid'])){   
    $_SESSION['cid']=$_POST['cid'];
} 
if(isset ($_POST['eid'])){   
    $_SESSION['eid']=$_POST['eid'];
} 
if(isset ($_POST['fid'])){   
    $_SESSION['fid']=$_POST['fid'];
} 
 
  ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Usato barche nautica</title>
<meta name="description" content="Usato barche nautica: Il tuo sito di riferimento per trovare barche usate, accessori nautica, barche nuove, barche, accessori barche, barche a vela, maxy yacht, yacht. Insomma affidati a usato barche nautica per i tuoi acquisti di nuovo e usato barche. Ma non solo puoi trovare gommoni, moto d'acqua, open, vela, maxy vela, maxy yacht, yacht."/>
<meta name="keywords" content="usato barche, barche usate, barche a vela, barche a vela usate, maxy yacht, yacht, maxy vela, acquascooter, open, moto d'acqua."/>
<meta name="Classification" content="boats" />
<meta name="google-site-verification" content="6QSzgbo2IJFKxKpWdq5cZzXbux3fRisgPtzDqMDZUjA" />

<meta name="Classification" content="Usato barche nautica" />
<meta name="copyright" content="www.usatobarchenautica.it" />
<meta name="distribution" content="Global" />
<meta http-equiv="Content-Language" content="it-IT" />
<meta name="rating" content="Usato barche nautica, trova qualsiasi barca usata e nuova su usato barche nautica." />
<meta name="rating" content="General" />
<meta name="distribution" content="Global" />
<meta name="author" content="www.usatobarchenautica.it" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="revisit-after" content="1 days">
<link href="nautica.css" rel="stylesheet" type="text/css" />
<link href="modulo_ricerca.css" rel="stylesheet" type="text/css" />
<link href="login.css" rel="stylesheet" type="text/css" />
<link href="login_login.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-28058536-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>



<body>


<div class="container">
  <div class="header">
  <?php require "header.php" ; ?>
  <!-- end .header --></div>
   

  <div class="tab">
  <?php require "menutab.php" ; ?>
            
            
  </div>
 
 
 
 

<div class="ricerca">
      
      
     <?php require "menu_ricerca_home_chirurgico.php"; ?>

    <!-- end .ricerca --></div>
  <div class="sidebar1">
  <br />

   <a href="login_correct.php" /><button class="button orangeButt">Pubblica gratis</button></a>
<br />
<br />
  <div class="ex">
 
 <?php require "motore_di_ricerca_ex.php" ; ?>
 
 
  </div>
<?php require "ci_trovi.php" ;?>
  </div>
  <div class="content">
  <?php require "autopromo.php" ; ?>
   <hr />


 <?php
class MySQL{       
    function MySQL()       
    {       
        require_once "db_connect.php";  //metti l'once   
    }       
}
$aid = $_POST['aid'];   
    $bid = $_POST['bid']; 
     $cid = $_POST['cid'];
     $eid = $_POST['eid'];
     $fid = $_POST['fid'];
$data = new MySQL();     
if(isset ($_POST['cerca_m'])){   
    $_SESSION['cerca_m']=$_POST['cerca_m'];
} 

$cerca_m = mysql_escape_string(stripslashes($_SESSION['cerca_m']));   
if (strlen($cerca_m) < 2 && $aid == "" && $bid == "" && $cid == "" && $eid == "" && $fid == "") {
echo "dati inseriti non validi"; 
    
    //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere   
}  else{  
  $q = "SELECT * FROM annunci  
                           INNER JOIN citta ON (annunci.cittaid=citta.id) 
                           INNER JOIN provincia ON (annunci.provinciaid=provincia.id)    
                           INNER JOIN regione ON (annunci.regioneid=regione.id)    
                           INNER JOIN fascia ON (annunci.fasciaid=fascia.id)
                            INNER JOIN tipo ON (annunci.tipoid=tipo.id) 
                           INNER JOIN modello ON (annunci.modelloid=modello.id)
                           INNER JOIN cliente ON (annunci.clienteid=cliente.id)
                           INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id)
                           INNER JOIN users ON (annunci.user_id=users.id) 
                           WHERE 1=1 "; 
if($cerca_m != "") { 
$q.= " &&  (citta LIKE '%$cerca_m%' OR regione LIKE '%$cerca_m%' OR provincia LIKE '%$cerca_m%'  )"; 
} 

if($aid != "") { 
$q.= " && fascia.id = '$aid'"; 
} 
if($bid != "") { 
$q.= " && tipo.id = '$bid'"; 
}
if($cid != "") { 
$q.= " && modello.id = '$cid'"; 
}  
if($eid != "") { 
$q.= " && cliente.id = '$eid'"; 
}
if($fid != "") { 
$q.= " && condizioni.id = '$fid'"; 
}

     $q = mysql_query($q) or die (mysql_error()) ;  
    $count=mysql_num_rows($q); 
    if($count == 0){  
        echo "Non ci sono risultati con la tua ricerca. Prova a cambiare la parola chiave";  
        //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere es. registrati  
    }else{  
        //visto che ci sono dati inserisci anche la paginazione  
        require_once "paginazione.php";//metti l'once  
        $p = new Paging;  
        $max = 10;  
        // identifichiamo la pagina da cui iniziare la numerazione  
        $inizio = $p->paginaIniziale($max);  
        // troviamo il numero delle pagine che dovrà essere contato   
        $pagine = $p->contaPagine($count, $max);  
        $lim="LIMIT $inizio, $max";  
        $sq_lim=$q.$lim;//ripetere lo stesso codice uguale è sempre cattiva programmazione  
        $risultato=mysql_query($sq_lim);  
       
        while($row=mysql_fetch_array($q)){     
            $click_annuncio = $row['click_annuncio'];  
$id_annunci = $row['id_annunci'];  
$user_id = $row['id'];
    $modello = $row['modello'];
  $messaggio = substr($row['messaggio'], 0, 25);  
  $mq = $row['mq'];
  $prezzo = $row['prezzo']; 
  $tipologia = $row['tipologia']; 
    $sigla = $row['sigla']; 
   $tipo = $row['tipo']; 
  $name = $row['name']; 
   $cliente = $row['cliente']; 
   $locali = $row['locali']; 
  $via = $row['via']; 
  $citta = $row['citta']; 
  $username = $row['username']; 
  $email = $row['email']; 
   $condizioni = $row['condizioni']; 
    $regione = $row['regione']; 
     $tipo = $row['tipo']; 
      $condizioni = $row['condizioni']; 
       $logo_cliente = $row['logo_cliente']; 
          
   
   $nome_file = $row['nome_file']; 
  $tipo_file = $row['tipo_file']; 
  $dati_file = $row['dati_file']; 
   
  $nome_file_vero = $row['nome_file_vero']; 
  $tipo_file = $row['tipo_file']; 
  $dati_file = $row['dati_file']; 
   
            //cosa ci sta a fare in mezzo a una table <p class='three'> eventualmente la class dalla al td o al tr 
            //tra l'altro non c'è la chiusura del tag </p> 
            //poi c'è una chiusura </table> nel mezzo (quindi hai messo due chiusure e una sila apertura) e 
            //ci sono dei tr non aperti ma solo chiusi 
            echo" <h5><table width='100%'>"; 
  echo" <tr>"; 
   echo" <p class='three'><td colspan='3'> <a href=\"rannunci.php?id=$id_annunci\"/>$via,$citta,$name,$sigla,$regione</a></td>"; 
 echo" </tr>"; 
 echo" <tr>"; 
  echo"  <td width='14%' bgcolor='#f4f9fd'> <a href=\"rannunci.php?id=$id_annunci\"/><img src='immagini2.php?id_annunci=$id_annunci' name='nome_file'  alt'' width='150' height='150'  /></a></td>"; 
  echo"  <td width='45%' bgcolor='#f4f9fd'><table width='100%'>"; 
   echo"   <tr>"; 
    echo"    <td>Stato Imbarcazione :<br /> $tipo <br /> Tipo imbarcazione: <br />$modello<br /></td>"; 
    echo"  </tr>"; 
    echo"  <tr>"; 
      echo"  <td> <a href=\"rannunci.php?id=$id_annunci\"/><button class=\"button orangeButt\">Vedi dettagli </button></td>"; 
echo"</tr>"; 
 echo"     <tr>"; 
    echo"    <td>&nbsp;</td>"; 
    echo"  </tr>"; 
   echo" </table></td>"; 
  echo"  <td width='31%' bgcolor='#f4f9fd'>Prezzo:$prezzo<br />Lunghezza:$mq<br />Cabine:$locali</p> <a href=\"rannunci.php?id=$id_annunci\"/><img src='immagini1.php?id=$user_id' name='nome_file_vero' width='150' height='40'/></a></td>"; 
  echo"</tr>"; 
echo"</table></h5>"; 

}  

        $lista = $p->listaPagine($_GET['p'], $pagine); 
        echo "<tr><td colspan=\"3\">"; 
        echo "$lista . <br>"; 
          $navigatore = $p->precedenteSuccessiva($_GET['p'], $pagine);  
         echo $navigatore;  
        echo "</td></tr>"; 
        echo"</table></h5>"; 
    }//fine if-else ci sono dati 
}//fine if-else post giusto 
?>


<hr />
  <!-- end .content --></div>
  <div class="sidebar2">
 
   <?php require "medium_home1.php" ; ?> <hr />
   <?php require "medium_home2.php" ; ?> 
   
  <!-- end .sidebar2 --></div>
  <div class="footer">

 <?php require "footer.php" ; ?>
    <!-- end .footer --></div>
  <!-- end .container --></div>
  <br />
  <br />
  

<map name="Map" id="Map">
  <area shape="rect" coords="127,214,184,237" href="usato_barche__nautica_sicilia.php" />
  <area shape="poly" coords="188,171,202,166,216,187,203,205,193,213" href="usato_barche__nautica_calabria.php" />
  <area shape="poly" coords="173,122,176,138,203,150,234,159,225,149,194,126" href="usato_barche__nautica_puglia.php" />
  <area shape="circle" coords="192,157,10" href="usato_barche__nautica_basilicata.php" />
  <area shape="poly" coords="179,158,169,140,153,138,157,151,176,164" href="usato_barche__nautica_campania.php" />
 
  
  <area shape="poly" coords="153,131,170,134,171,123,162,125" href="molise.php" />
  <area shape="rect" coords="114,92,129,108" href="usato_barche__nautica_umbria.php" />
<area shape="circle" coords="148,116,7" href="usato_barche__nautica_abruzzo.php" />
<area shape="poly" coords="139,138,103,115,114,109,132,117,140,125" href="usato_barche__nautica_lazio.php" />
<area shape="poly" coords="121,83,139,104,149,98,138,81,130,77" href="usato_barche__nautica_marche.php" />
<area shape="rect" coords="59,28,89,46" href="usato_barche__nautica_lombardia.php" />
<area shape="poly" coords="96,108,79,72,96,73,109,81,110,92,108,103" href="usato_barche__nautica_toscana.php" />
<area shape="poly" coords="113,77,71,61,71,50,100,54,115,58" href="usato_barche__nautica_emilia.php" />
<area shape="rect" coords="101,32,124,52" href="usato_barche__nautica_veneto.php" />
<area shape="poly" coords="37,74,20,45,45,35,52,48" href="usato_barche__nautica_piemonte.php" />

<area shape="poly" coords="98,31,90,22,95,11,115,8,111,21" href="usato_barche__nautica_trentino_alto_adige.php" />
<area shape="rect" coords="128,16,147,38" href="usato_barche__nautica_friuli_venezia_giulia.php" />
<area shape="rect" coords="32,133,71,193" href="usato_barche__nautica_sardegna.php" />
<area shape="circle" coords="26,33,6" href="usato_barche__nautica_valle_d_aosta.php" />
<area shape="poly" coords="72,71,61,59,43,69" href="usato_barche__nautica_liguria.php" />
</map>
</body>
</html>
 
S

searedone

Utente Attivo
11 Giu 2010
508
0
0
  • 16 Gen 2012
  • #100
Semi risolto ...

ho aggiunto inizialmente:

PHP:
if (strlen($_SESSION['cerca_m']) < 2 && $aid == "" && $bid == "" && $cid == "" && $eid == "" && $fid == "") {
echo "dati inseriti non validi";

e niente

così invece funziona

PHP:
if (strlen($_SESSION['cerca_m']) < 2 && $_SESSION['aid'] == "" && $_SESSION['bid'] == "" && $_SESSION['cid'] == "" && $_SESSION['eid'] == "" && $_SESSION['fid'] == "") {  
echo "dati inseriti non validi";

Posto il codice solo per un'ultima curiosità: perché mi tira fuori anche 4 risultati di usato se metto nuovo ??? invece se metto usato no

PHP:
<?php
 if(!isset($_SESSION)){session_start ();}
  
 if(isset ($_POST['aid'])){    
    $_SESSION['aid']=$_POST['aid']; 
}  
if(isset ($_POST['bid'])){    
    $_SESSION['bid']=$_POST['bid']; 
}  
if(isset ($_POST['cid'])){    
    $_SESSION['cid']=$_POST['cid']; 
}  
if(isset ($_POST['eid'])){    
    $_SESSION['eid']=$_POST['eid']; 
}  
if(isset ($_POST['fid'])){    
    $_SESSION['fid']=$_POST['fid']; 
}  
  
  ?> 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Usato barche nautica</title>
<meta name="description" content="Usato barche nautica: Il tuo sito di riferimento per trovare barche usate, accessori nautica, barche nuove, barche, accessori barche, barche a vela, maxy yacht, yacht. Insomma affidati a usato barche nautica per i tuoi acquisti di nuovo e usato barche. Ma non solo puoi trovare gommoni, moto d'acqua, open, vela, maxy vela, maxy yacht, yacht."/>
<meta name="keywords" content="usato barche, barche usate, barche a vela, barche a vela usate, maxy yacht, yacht, maxy vela, acquascooter, open, moto d'acqua."/>
<meta name="Classification" content="boats" />
<meta name="google-site-verification" content="6QSzgbo2IJFKxKpWdq5cZzXbux3fRisgPtzDqMDZUjA" />

<meta name="Classification" content="Usato barche nautica" />
<meta name="copyright" content="www.usatobarchenautica.it" />
<meta name="distribution" content="Global" />
<meta http-equiv="Content-Language" content="it-IT" />
<meta name="rating" content="Usato barche nautica, trova qualsiasi barca usata e nuova su usato barche nautica." />
<meta name="rating" content="General" />
<meta name="distribution" content="Global" />
<meta name="author" content="www.usatobarchenautica.it" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta name="revisit-after" content="1 days">
<link href="nautica.css" rel="stylesheet" type="text/css" />
<link href="modulo_ricerca.css" rel="stylesheet" type="text/css" />
<link href="login.css" rel="stylesheet" type="text/css" />
<link href="login_login.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-28058536-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>



<body>


<div class="container">
  <div class="header">
  <?php require "header.php" ; ?>
  <!-- end .header --></div>
   

  <div class="tab">
  <?php require "menutab.php" ; ?>
            
            
  </div>
 
 
 
 

<div class="ricerca">
      
      
     <?php require "menu_ricerca_home_chirurgico.php"; ?>

    <!-- end .ricerca --></div>
  <div class="sidebar1">
  <br />

   <a href="login_correct.php" /><button class="button orangeButt">Pubblica gratis</button></a>
<br />
<br />
  <div class="ex">
 
 <?php require "motore_di_ricerca_ex.php" ; ?>
 
 
  </div>
<?php require "ci_trovi.php" ;?>
  </div>
  <div class="content">
  <?php require "autopromo.php" ; ?>
   <hr />


 <?php
class MySQL{       
    function MySQL()       
    {       
        require_once "db_connect.php";  //metti l'once   
    }       
}
$aid = $_POST['aid'];   
    $bid = $_POST['bid']; 
     $cid = $_POST['cid'];
     $eid = $_POST['eid'];
     $fid = $_POST['fid'];
$data = new MySQL();     
if(isset ($_POST['cerca_m'])){   
    $_SESSION['cerca_m']=$_POST['cerca_m'];
} 

$cerca_m = mysql_escape_string(stripslashes($_SESSION['cerca_m']));  
if (strlen($_SESSION['cerca_m']) < 2 && $_SESSION['aid'] == "" && $_SESSION['bid'] == "" && $_SESSION['cid'] == "" && $_SESSION['eid'] == "" && $_SESSION['fid'] == "") {  
echo "dati inseriti non validi"; 
    
    //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere   
}  else{  
  $q = "SELECT * FROM annunci  
                           INNER JOIN citta ON (annunci.cittaid=citta.id) 
                           INNER JOIN provincia ON (annunci.provinciaid=provincia.id)    
                           INNER JOIN regione ON (annunci.regioneid=regione.id)    
                           INNER JOIN fascia ON (annunci.fasciaid=fascia.id)
                            INNER JOIN tipo ON (annunci.tipoid=tipo.id) 
                           INNER JOIN modello ON (annunci.modelloid=modello.id)
                           INNER JOIN cliente ON (annunci.clienteid=cliente.id)
                           INNER JOIN condizioni ON (annunci.condizioniid=condizioni.id)
                           INNER JOIN users ON (annunci.user_id=users.id) 
                           WHERE 1=1 "; 
if($cerca_m != "") { 
$q.= " &&  (citta LIKE '%$cerca_m%' OR regione LIKE '%$cerca_m%' OR provincia LIKE '%$cerca_m%'  )"; 
} 

if($aid != "") { 
$q.= " && fascia.id = '$aid'"; 
} 
if($bid != "") { 
$q.= " && tipo.id = '$bid'"; 
}
if($cid != "") { 
$q.= " && modello.id = '$cid'"; 
}  
if($eid != "") { 
$q.= " && cliente.id = '$eid'"; 
}
if($fid != "") { 
$q.= " && condizioni.id = '$fid'"; 
}

     $q = mysql_query($q) or die (mysql_error()) ;  
    $count=mysql_num_rows($q); 
    if($count == 0){  
        echo "Non ci sono risultati con la tua ricerca. Prova a cambiare la parola chiave";  
        //e qui il ritorno alla pagina di inserimento o a quella che ti fa più piacere es. registrati  
    }else{  
        //visto che ci sono dati inserisci anche la paginazione  
        require_once "paginazione.php";//metti l'once  
        $p = new Paging;  
        $max = 10;  
        // identifichiamo la pagina da cui iniziare la numerazione  
        $inizio = $p->paginaIniziale($max);  
        // troviamo il numero delle pagine che dovrà essere contato   
        $pagine = $p->contaPagine($count, $max);  
        $lim="LIMIT $inizio, $max";  
        $sq_lim=$q.$lim;//ripetere lo stesso codice uguale è sempre cattiva programmazione  
        $risultato=mysql_query($sq_lim);  
       
        while($row=mysql_fetch_array($q)){     
            $click_annuncio = $row['click_annuncio'];  
$id_annunci = $row['id_annunci'];  
$user_id = $row['id'];
    $modello = $row['modello'];
  $messaggio = substr($row['messaggio'], 0, 25);  
  $mq = $row['mq'];
  $prezzo = $row['prezzo']; 
  $tipologia = $row['tipologia']; 
    $sigla = $row['sigla']; 
   $tipo = $row['tipo']; 
  $name = $row['name']; 
   $cliente = $row['cliente']; 
   $locali = $row['locali']; 
  $via = $row['via']; 
  $citta = $row['citta']; 
  $username = $row['username']; 
  $email = $row['email']; 
   $condizioni = $row['condizioni']; 
    $regione = $row['regione']; 
     $tipo = $row['tipo']; 
      $condizioni = $row['condizioni']; 
       $logo_cliente = $row['logo_cliente']; 
          
   
   $nome_file = $row['nome_file']; 
  $tipo_file = $row['tipo_file']; 
  $dati_file = $row['dati_file']; 
   
  $nome_file_vero = $row['nome_file_vero']; 
  $tipo_file = $row['tipo_file']; 
  $dati_file = $row['dati_file']; 
   
            //cosa ci sta a fare in mezzo a una table <p class='three'> eventualmente la class dalla al td o al tr 
            //tra l'altro non c'è la chiusura del tag </p> 
            //poi c'è una chiusura </table> nel mezzo (quindi hai messo due chiusure e una sila apertura) e 
            //ci sono dei tr non aperti ma solo chiusi 
            echo" <h5><table width='100%'>"; 
  echo" <tr>"; 
   echo" <p class='three'><td colspan='3'> <a href=\"rannunci.php?id=$id_annunci\"/>$via,$citta,$name,$sigla,$regione</a></td>"; 
 echo" </tr>"; 
 echo" <tr>"; 
  echo"  <td width='14%' bgcolor='#f4f9fd'> <a href=\"rannunci.php?id=$id_annunci\"/><img src='immagini2.php?id_annunci=$id_annunci' name='nome_file'  alt'' width='150' height='150'  /></a></td>"; 
  echo"  <td width='45%' bgcolor='#f4f9fd'><table width='100%'>"; 
   echo"   <tr>"; 
    echo"    <td>Stato Imbarcazione :<br /> $tipo <br /> Tipo imbarcazione: <br />$modello<br /></td>"; 
    echo"  </tr>"; 
    echo"  <tr>"; 
      echo"  <td> <a href=\"rannunci.php?id=$id_annunci\"/><button class=\"button orangeButt\">Vedi dettagli </button></td>"; 
echo"</tr>"; 
 echo"     <tr>"; 
    echo"    <td>&nbsp;</td>"; 
    echo"  </tr>"; 
   echo" </table></td>"; 
  echo"  <td width='31%' bgcolor='#f4f9fd'>Prezzo:$prezzo<br />Lunghezza:$mq<br />Cabine:$locali</p> <a href=\"rannunci.php?id=$id_annunci\"/><img src='immagini1.php?id=$user_id' name='nome_file_vero' width='150' height='40'/></a></td>"; 
  echo"</tr>"; 
echo"</table></h5>"; 

}  

        $lista = $p->listaPagine($_GET['p'], $pagine); 
        echo "<tr><td colspan=\"3\">"; 
        echo "$lista . <br>"; 
          $navigatore = $p->precedenteSuccessiva($_GET['p'], $pagine);  
         echo $navigatore;  
        echo "</td></tr>"; 
        echo"</table></h5>"; 
    }//fine if-else ci sono dati 
}//fine if-else post giusto 
?>


<hr />
  <!-- end .content --></div>
  <div class="sidebar2">
 
   <?php require "medium_home1.php" ; ?> <hr />
   <?php require "medium_home2.php" ; ?> 
   
  <!-- end .sidebar2 --></div>
  <div class="footer">

 <?php require "footer.php" ; ?>
    <!-- end .footer --></div>
  <!-- end .container --></div>
  <br />
  <br />
  

<map name="Map" id="Map">
  <area shape="rect" coords="127,214,184,237" href="usato_barche__nautica_sicilia.php" />
  <area shape="poly" coords="188,171,202,166,216,187,203,205,193,213" href="usato_barche__nautica_calabria.php" />
  <area shape="poly" coords="173,122,176,138,203,150,234,159,225,149,194,126" href="usato_barche__nautica_puglia.php" />
  <area shape="circle" coords="192,157,10" href="usato_barche__nautica_basilicata.php" />
  <area shape="poly" coords="179,158,169,140,153,138,157,151,176,164" href="usato_barche__nautica_campania.php" />
 
  
  <area shape="poly" coords="153,131,170,134,171,123,162,125" href="molise.php" />
  <area shape="rect" coords="114,92,129,108" href="usato_barche__nautica_umbria.php" />
<area shape="circle" coords="148,116,7" href="usato_barche__nautica_abruzzo.php" />
<area shape="poly" coords="139,138,103,115,114,109,132,117,140,125" href="usato_barche__nautica_lazio.php" />
<area shape="poly" coords="121,83,139,104,149,98,138,81,130,77" href="usato_barche__nautica_marche.php" />
<area shape="rect" coords="59,28,89,46" href="usato_barche__nautica_lombardia.php" />
<area shape="poly" coords="96,108,79,72,96,73,109,81,110,92,108,103" href="usato_barche__nautica_toscana.php" />
<area shape="poly" coords="113,77,71,61,71,50,100,54,115,58" href="usato_barche__nautica_emilia.php" />
<area shape="rect" coords="101,32,124,52" href="usato_barche__nautica_veneto.php" />
<area shape="poly" coords="37,74,20,45,45,35,52,48" href="usato_barche__nautica_piemonte.php" />

<area shape="poly" coords="98,31,90,22,95,11,115,8,111,21" href="usato_barche__nautica_trentino_alto_adige.php" />
<area shape="rect" coords="128,16,147,38" href="usato_barche__nautica_friuli_venezia_giulia.php" />
<area shape="rect" coords="32,133,71,193" href="usato_barche__nautica_sardegna.php" />
<area shape="circle" coords="26,33,6" href="usato_barche__nautica_valle_d_aosta.php" />
<area shape="poly" coords="72,71,61,59,43,69" href="usato_barche__nautica_liguria.php" />
</map>
</body>
</html>
 
Prec.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Succ.
Primo Prec. 5 di 6 Succ. Ultimo
Devi accedere o registrarti per poter rispondere.

Discussioni simili

I
aggiungere la sessione
  • Imperor
  • 20 Mar 2023
  • PHP
Risposte
8
Visite
1K
PHP 24 Mar 2023
Imperor
I
K
[PHP] Aggiungere caratteri ad una stringa in base alla lunghezza della stessa
  • Kiko74b
  • 16 Mar 2023
  • PHP
Risposte
2
Visite
2K
PHP 18 Mar 2023
Kiko74b
K
E
Aggiungere Parole
  • egidiogelli
  • 9 Ott 2020
  • PHP
Risposte
1
Visite
1K
PHP 9 Ott 2020
Max 1
A
aggiungere stringa all'inizio di ogni riga di un file txt
  • AndreaCerre
  • 19 Lug 2020
  • PHP
Risposte
3
Visite
1K
PHP 26 Lug 2020
AndreaCerre
A
Aggiungere o rimuovere classi in javascript
  • MarcoGrazia
  • 26 Giu 2020
  • Javascript
Risposte
1
Visite
3K
Javascript 26 Giu 2020
MarcoGrazia
F
Aggiungere automaticamente sito a home del telefono
  • frapej
  • 25 Mag 2020
  • HTML e CSS
Risposte
2
Visite
2K
HTML e CSS 9 Giu 2020
MarcoGrazia
C
Aggiungere blocco dati
  • Cristian83
  • 13 Mag 2020
  • Javascript
Risposte
6
Visite
2K
Javascript 14 Mag 2020
Leonardo Scotti
L
F
[PHP] Aggiungere ruolo per accedere alle pagine
  • Frozzen
  • 22 Feb 2020
  • PHP
Risposte
2
Visite
2K
PHP 23 Feb 2020
Frozzen
F
E
[Offro] Realizzazione di siti web e ottimizzazione SEO per raggiungere il primo posto su Google
  • equaltech
  • 11 Dic 2019
  • Offerte e Richieste di Lavoro e/o Collaborazione
Risposte
0
Visite
2K
Offerte e Richieste di Lavoro e/o Collaborazione 11 Dic 2019
equaltech
E
Aggiungere pulsante pause/play a slideshow
  • Cosina
  • 10 Dic 2019
  • Javascript
Risposte
0
Visite
1K
Javascript 10 Dic 2019
Cosina
A
Twitter aggiungere tweet a campagna esistente o salvare pubblico
  • al404
  • 5 Dic 2019
  • Social Media Marketing
Risposte
0
Visite
1K
Social Media Marketing 5 Dic 2019
al404
A
S
aggiungere colonna date in una tabella già esistente
  • sal88
  • 24 Nov 2019
  • Database
Risposte
0
Visite
1K
Database 24 Nov 2019
sal88
S
P
[PHP] Aggiungere un mio script a prestashop?
  • Phelps
  • 16 Ott 2019
  • PHP
Risposte
10
Visite
4K
PHP 17 Ott 2019
Phelps
P
[PHP] Aggiungere link al codice
  • Shyson
  • 1 Ott 2019
  • PHP
Risposte
0
Visite
2K
PHP 1 Ott 2019
Shyson
D
Aggiungere file .css esterno su Android
  • Dani.exe
  • 29 Set 2019
  • HTML e CSS
Risposte
4
Visite
2K
HTML e CSS 8 Ott 2019
Dani.exe
D
R
[PHP] Aggiungere 90 minuti a stringa orario
  • Riccardo Contu
  • 14 Lug 2019
  • PHP
Risposte
1
Visite
3K
PHP 15 Lug 2019
macus_adi
[PHP] aggiungere timestamp in tabella correlata
  • brasoft2019
  • 24 Apr 2019
  • PHP
Risposte
0
Visite
1K
PHP 24 Apr 2019
brasoft2019
P
[PHP] Aggiungere giorni e stampare risultato da data inserita in input
  • pizzettino
  • 2 Apr 2019
  • PHP
Risposte
3
Visite
4K
PHP 3 Apr 2019
macus_adi
L
[Java] Aggiungere elementi ad array JSON
  • lucad93
  • 19 Mar 2019
  • Java
Risposte
0
Visite
2K
Java 19 Mar 2019
lucad93
L
F
[WordPress] [HTML] Aggiungere una pagina solo allo sticky menu
  • Fatirek90
  • 9 Mar 2019
  • WordPress
Risposte
4
Visite
2K
WordPress 10 Mar 2019
glm1986ITALY
Condividi:
Facebook X (Twitter) LinkedIn WhatsApp e-mail Condividi Link
  • Home
  • Forum
  • Fare Web
  • PHP
  • Italiano
  • Termini e condizioni d'uso del sito
  • Policy Privacy
  • Aiuto
  • Home
Community platform by XenForo® © 2010-2024 XenForo Ltd. | Traduzione a cura di XenForo Italia
Menu
Accedi

Registrati

  • Home
  • Forum
    • Nuovi Messaggi
    • Cerca...
  • Novità
    • Featured content
    • Nuovi Messaggi
    • Ultime Attività
X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?

X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?