Modifiche HTML
This commit is contained in:
@@ -14,7 +14,7 @@ if (isset ($_GET['var'])) {
|
||||
<form action="modconf.php" method="post">
|
||||
<input type="hidden" name="variabile" value="<?php print $var ?>">
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="90%">
|
||||
<?php $tabella = new html (0, "90%", array(2,15,2,50,0)); ?>
|
||||
<tr>
|
||||
<td><img src="img/spazio.gif" width="50" height="1" alt=""></td>
|
||||
<td class="valoretxt" width="150">Variabile</td>
|
||||
@@ -22,8 +22,7 @@ if (isset ($_GET['var'])) {
|
||||
<td class="valore" width="500"><?php print $dato['variabile'] ?></td>
|
||||
<td><img src="img/spazio.gif" width="180" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr><td class="spaziov" colspan="5"><img src="img/spazio.gif"></td></tr>
|
||||
|
||||
<?php $tabella->riga(); ?>
|
||||
<tr>
|
||||
<td><img src="img/spazio.gif" width="50" height="1" alt=""></td>
|
||||
<td class="valoretxt" width="150">Commento</td>
|
||||
@@ -31,8 +30,7 @@ if (isset ($_GET['var'])) {
|
||||
<td class="valore" width="500"><?php print $dato['Commento'] ?></td>
|
||||
<td><img src="img/spazio.gif" width="180" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr><td class="spaziov" colspan="5"><img src="img/spazio.gif"></td></tr>
|
||||
|
||||
<?php $tabella->riga(); ?>
|
||||
<tr>
|
||||
<td><img src="img/spazio.gif" width="50" height="1" alt=""></td>
|
||||
<td class="valoretxt" width="150">Valore</td>
|
||||
@@ -61,16 +59,17 @@ if (isset ($_GET['var'])) {
|
||||
</td>
|
||||
<td><img src="img/spazio.gif" width="180" height="1" alt=""></td>
|
||||
</tr>
|
||||
<tr><td class="spaziov" colspan="5"><img src="img/spazio.gif"></td></tr>
|
||||
|
||||
<?php $tabella->riga(); ?>
|
||||
<tr><td colspan="5"><img src="img/spazio.gif" width="1" height="5" alt=""></td></tr>
|
||||
<tr><td align="center" colspan="5">
|
||||
<input type="submit" value="Modifica">
|
||||
|
||||
<input type="button" value="Annulla" onclick="location.href = 'conf.php';"></button>
|
||||
</td></tr>
|
||||
<tr><td colspan="5"><img src="img/spazio.gif" width="1" height="5" alt=""></td></tr>
|
||||
</table>
|
||||
<?php
|
||||
$tabella->riga();
|
||||
$tabella->close();
|
||||
?>
|
||||
</form>
|
||||
|
||||
<?php } else if (isset ($_POST['variabile'])) {
|
||||
@@ -100,20 +99,23 @@ if (isset ($_GET['var'])) {
|
||||
else
|
||||
$testo = "Modifica della variabile $variabile non avvenuta: ".mysql_error();
|
||||
}?>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="90%">
|
||||
<?php
|
||||
$tabella = new html (1, "90%", array(0)); ?>
|
||||
<tr><td><img src="img/spazio.gif" width="1" height="10" alt=""><td></tr>
|
||||
<tr><td><?php print $testo ?></td></tr>
|
||||
<tr><td><img src="img/spazio.gif" width="1" height="5" alt=""></td></tr>
|
||||
<tr><td><input type="button" value="Ok" onclick="location.href = 'conf.php';"></button></td></tr>
|
||||
<tr><td><img src="img/spazio.gif" width="1" height="10" alt=""></td></tr>
|
||||
</table>
|
||||
<?php } else { ?>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="90%">
|
||||
<?php
|
||||
$tabella->close();
|
||||
} else {
|
||||
$tabella = new html (1, "90%", array(0)); ?>
|
||||
<tr><td><img src="img/spazio.gif" width="1" height="10" alt=""><td></tr>
|
||||
<tr><td>Operazione non permessa</td></tr>
|
||||
<tr><td><input type="button" value="Ok" onclick="location.href = 'main.php';"></button></td></tr>
|
||||
<tr><td><img src="img/spazio.gif" width="1" height="10" alt=""><td></tr>
|
||||
<?php
|
||||
$tabella->close();
|
||||
}
|
||||
view_footer();
|
||||
?>
|
||||
<?php view_footer(); ?>
|
||||
|
||||
Reference in New Issue
Block a user