[email protected] – Modifiche effettuate

[email protected] – Modifiche effettuate

{source}

[[?php

//—————————————————————
$numart = $_POST[“ID”];

$testata = $_POST[“testata”];

$altra = $_POST[“altra”];
$autori = $_POST[“autori”];
$titolo = $_POST[“titolo”];
$sottotitolo = $_POST[“sottotitolo”];

$data = $_POST[“data”];

$pagina = $_POST[“pagina”];

$url = $_POST[“url”];
$tipo = $_POST[“tipo”];
$area = $_POST[“area”];
$tema = $_POST[“tema”];
$parole = $_POST[“parole”];
$testo = $_POST[“testo”];

$rilevanza= $_POST[“rilevanza”];

$commenti = $_POST[“commenti”];

$g = substr($data,0,2);
$m = substr($data,3,2);
$a = substr($data,6,4);

echo(“<b>Modifiche effettuate</b>: $autori, $titolo, $testata [$numart]”);

$data = “$a-$m-$g”;

echo(“<form><input type=’Button’ name=’button’ value=’Tornare indietro’ onClick=’javascript:history.back()’></form>

<form action=’http://www.uprait.org/index.php?option=com_content&view=article&id=493′ method=’post’ enctype=’text/plain’>
<input type=’submit’ value=’Tornare alla lista’ src=’http://www.uprait.org/index.php?option=com_content&view=article&id=493′>
<input type=’submit’ value=’Tornare al foglio di ricerca’ src=’http://www.uprait.org/index.php?option=com_content&view=article&id=480′>
</form>
“);

//—————————————————————

include “files/conexion.php”;

$result=mysql_query(“UPDATE jos_jforms_3157e  SET h8354=’$testata’, h098f=’$altra’, hcd1c=’$data’,   hff95=’$pagina’, h2899=’$url’, h17ac=’$autori’, he527=’$titolo’, he520=’$sottotitolo’, h83bf=’$tipo’, h514d=’$area’, h1843=’$tema’, hf6a7=’$parole’, hdb79=’$testo’, h55b2=’$rilevanza’, h0f68=’$commenti’ WHERE id = $numart “);

include “files/cerrar_conexion.php”;

?]]

{/source}

Iscriviti alla newsletter