Modifiche HTML

This commit is contained in:
cmaffio
2016-05-20 17:30:01 +02:00
parent de0e6e1867
commit 691a64e13a
32 changed files with 776 additions and 653 deletions

View File

@@ -50,11 +50,15 @@ $res = mysql_query( $query, $DB_ID );
$dato = mysql_fetch_array ($res);
$livelli = get_levels();
//$livelli = array(0=>"Negato", 5=>"Utente", 10=>"Admin");
?>
<script type="text/javascript" src="<?php print $CONF['base_url']?>/jquery/jquery-1.8.0.min.js"></script>
<table cellpadding="0" cellspacing="0" border="0" width="40%">
<?php
$tabella = new html (0,"90%", array (0)); ?>
<tr>
<td align="center">
<?php $tabella1 = new html (0,"40%", array (20,0)); ?>
<tr>
<?php if ($dato['admin']) { ?>
<td rowspan=2 class="col3btn"><img src="<?php print $CONF['base_url'] ?>/img/admin.png" ALT="Admin" TITLE="Admin"></td>
@@ -62,13 +66,16 @@ $livelli = get_levels();
<td rowspan=2 class="col3btn"><img src="<?php print $CONF['base_url'] ?>/img/utente.png" ALT="Utente" TITLE="Utente"></td>
<?php } ?>
<td class="col3campo2"><?php print $dato['utente'] ?></td>
</tr>
</table>
<img src="img/spazio.gif" width="1" height="20" alt="">
<table cellpadding="0" cellspacing="0" border="0" width="60%">
<?php while ($dato = mysql_fetch_array ( $permessi )) { ?>
<?php $tabella1->close(); ?>
</td>
</tr>
<?php $tabella->riga(); ?>
<tr>
<td align="center">
<?php
$tabella2 = new html (0,"60%", array(30,0));
while ($dato = mysql_fetch_array ( $permessi )) { ?>
<tr>
<td class="col3campo2"><?php print $dato['nome']?></td>
<td>
@@ -79,12 +86,14 @@ $livelli = get_levels();
</select>
</td>
</tr>
<tr><td colspan=2><img src="img/spazio.gif" width="1" height="5" alt=""></td></tr>
<?php } ?>
</table>
<img src="img/spazio.gif" width="1" height="20" alt="">
<?php
$tabella2->riga();
}
$tabella2->close();
?>
</td>
</tr>
<?php $tabella->close(); ?>
<script type="text/javascript">
$(function(){