62 lines
1.6 KiB
PHP
62 lines
1.6 KiB
PHP
<?php
|
|
include_once(__DIR__."/../../core.php");
|
|
|
|
$file_logo=$img."/logo.png";
|
|
$query="Select * from zz_utenti_logo";
|
|
$rs_logo = $dbo->fetchArray($query);
|
|
$id_record = $rs_logo[0]['id'];
|
|
$file_logo=$rootdir."/assets/img/".$rs_logo[0]['immagine'];
|
|
$module_name = "Logo";
|
|
?>
|
|
|
|
|
|
<form action="" method="post" role="form" enctype="multipart/form-data">
|
|
<input type="hidden" name="backto" value="record-edit">
|
|
<input type="hidden" name="op" value="update">
|
|
<input type="hidden" name="id_record" value="<?php echo $id_record ?>">
|
|
|
|
|
|
<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
|
|
<div class="clearfix"></div>
|
|
</br>
|
|
<div class="col-md-4">
|
|
<div class="pull-left">
|
|
<button type="submit" class="btn-app btn-success"><i class="fa fa-check"></i> Salva </button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
<?php
|
|
( $rs_logo[0]['immagine'] == '' ) ? $immagine='' : $immagine=$rootdir."/assets/img/".$rs_logo[0]['immagine'];
|
|
?>
|
|
{[ "type": "image", "label": "Immagine", "name": "immagine01", "required": 0, "class": "img-thumbnail", "value": "<?php echo $immagine ?>", "extra": "" ]}
|
|
</div>
|
|
<div class="col-md-4">
|
|
{[ "type": "text", "label": "Nome Gest366", "name": "descrizione", "required": 1, "class": "", "value": "<?php echo $rs_logo[0]['descrizione'] ?>", "extra": "" ]}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
<script>
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|