Biomedi@ – Scheda completa dell’articolo
[[?php
global $my;
echo ("Collaboratore: $my->name, $my->id");
include "files/conexion.php";
$query="SELECT * FROM jos_jforms_3157e WHERE id = $numart";
$result=mysql_query($query);
$num=mysql_numrows($result);
$autori=mysql_result($result,0,"h17ac");
$titolo=mysql_result($result,0,"he527");
$sottotitolo=mysql_result($result,0,"he520");
$testata=mysql_result($result,0,"h8354");
$altra=mysql_result($result,0,"h098f");
if ($testata=="ALTRA" ) {$testata=$altra;}
$data=mysql_result($result,0,"hcd1c");
$pagina=mysql_result($result,0,"hcd1c");
$url=mysql_result($result,0,"h2899");
$tipo=mysql_result($result,0,"h83bf");
$area=mysql_result($result,0,"h514d");
$temi=mysql_result($result,0,"h1843");
$parole=mysql_result($result,0,"hf6a7");
$file=mysql_result($result,0,"h7231");
$testo=mysql_result($result,0,"hdb79");
$rilevanza=mysql_result($result,0,"h55b2");
$commenti=mysql_result($result,0,"h0f68");
$dataentrata=mysql_result($result,0,"h87fc");
$uid=mysql_result($result,0,"uid");
$g = substr($data,8,2);
$m = substr($data,5,2);
$a = substr($data,0,4);
$ge = substr($dataentrata,8,2);
$me = substr($dataentrata,5,2);
$ae = substr($dataentrata,0,4);
//---------------------------------------------------------------
echo("
<table width='690' cellspacing='2' cellpadding='2' border='2'>
<tr>
<td><strong>Autori</strong></td>
<td>$autori</td>
</tr>
<tr>
<td><strong>Titolo</strong></td>
<td>$titolo</td>
</tr>
<tr>
<tr>
<td><strong>Sottotitolo</strong></td>
<td>$sottotitolo</td>
</tr>
<td><strong>Testata</strong></td>
<td>$testata</td>
</tr>
<tr>
<td><strong>Data</strong></td>
<td>$g-$m-$a</td>
</tr>
<tr>
<tr>
<td><strong>Pagina</strong></td>
<td>$paginas</td>
</tr>
<tr>
<td><strong>URL</strong></td>
<td><a href=$url target='_blank' >$url</a></td>
</tr>
<tr>
<td><strong>Tipo</strong></td>
<td>$tipo</td>
</tr>
<tr>
<td><strong>Area</strong></td>
<td>$area</td>
</tr>
<tr>
<td><strong>Temi</strong></td>
<td>$temi</td>
</tr>
<tr>
<td><strong>Parole chiave</strong></td>
<td>$parole<br></td>
</tr>
<tr>
<td valign='TOP'><strong>Testo</strong></td>
<td align='JUSTIFY'>
$testo</td>
</tr>
<tr>
<td><strong>Rilevanza</strong></td>
<td>$rilevanza</td>
</tr>
<tr>
<td><strong>Commenti</strong></td>
<td>$commenti</td>
</tr>
<tr>
<td><strong>Collaboratore</strong></td>
<td>$uid</td>
</tr>
<tr>
<td><strong>Data registro</strong></td>
<td>$ge-$me-$ae</td>
</tr>
</table>
");
if ($uid == $my->id or $my->id == 62 or $my->id == 67) {
echo ("
<center>
<form method='post' action='http://www.uprait.org/index.php?option=com_content&view=article&id=496'>
<input type='Hidden' name='ID' value=$numart>
<input type='Submit' name='editare' value='Modificare la Scheda'>
</form>
<form action=http://www.uprait.org/index.php?option=com_content&view=article&id=502' method='POST'>
<input type='Hidden' name='ID1' value=$numart>
<input type='Submit' name='elimina' value='Eliminare la Scheda' onclick="return confirm('Desidera eliminare definitivamente la Scheda?')">
</form>
");
}
include "files/cerrar_conexion.php";
?]]
{/source}