print $bottonevis; ?> " border="0"></a></td> </tr> </table> <?php } } else { print "Nessun marca inserita"; } ?> <div class="divpiede"> </div> <table style="margin-top: 50px; width: 720px; height: 30px; font-family: Arial; font-weight: bold; font-size: 14px;" cellpadding="0" cellspacing="0"> <tr> <td style="width: 720px; text-align: center;"><?php divisioneprodotti($corrente, $pagine); ?> </td> </tr> </table> </div> </div> </div> </body> </html> <?php } else { ?> <meta http-equiv="refresh" content="0 url=http://<?php print $_SERVER['HTTP_HOST']; ?>
$query="select * from marche order by id desc LIMIT ".$partenza.",".$num.""; $ris=mysql_query($query) or die ("Query: ".$query." non eseguita!"); if($righe>0){ while($data=mysql_fetch_array($ris)){ ?> <table style="border: 1px solid #000; width: 720px; height: 30px; font-family: Arial; font-size: 15px;" cellpadding="0" cellspacing="0"> <tr> <td style="border: 1px solid #000; height: 40px; width: 100px; text-align: center;"><? print $data[0]; ?></td> <td style="border: 1px solid #000; height: 40px; width: 400px; padding-left: 10px;"><? print puliscitesto($data[1]); ?></td> <td style="border: 1px solid #000; height: 40px; width: 110px; text-align: center;"><a href="caricomarca.php?mod=<? print $data[0]; ?>"><img src="immagini/modifica.gif" border="0"></a></td> <td style="border: 1px solid #000; height: 40px; width: 110px; text-align: center;"><a href="gestionemarca.php?<? print $_SERVER['QUERY_STRING'].$var;?>elim=<? print $data[0]; ?>"><img src="immagini/elimina.gif" border="0"></a></td> </tr> </table> <? } }else{ print "Nessun marca inserita"; } ?> <div class="divpiede"> </div> <table style="margin-top: 50px; width: 720px; height: 30px; font-family: Arial; font-weight: bold; font-size: 14px;" cellpadding="0" cellspacing="0"> <tr> <td style="width: 720px; text-align: center;"><? divisioneprodotti($corrente,$pagine); ?></td> </tr> </table> </div> </div> </div> </body> </html> <?}else{ ?> <meta http-equiv="refresh" content="0 url=http://<? print $_SERVER['HTTP_HOST'];?>"> <? }?>