| Server IP : 89.46.109.6 / Your IP : 216.73.217.116 Web Server : Apache System : Linux hlpi1ws-c284s07.ad.aruba.it 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : ID19067310 ( 19067310) PHP Version : 5.3.29 Disable Function : system,popen,dl,passthru,proc_open,shell_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /web/htdocs/www.edizacco.it/home/pannello/ |
Upload File : |
<?php
//ob_start();
@session_start();
require_once('../include/connect_db.php');
require_once('include/templates.php');
//include('include/sessione.inc.php');
//require_once 'include/class.ycpager.php';
$meta_title = TITLE;
$_SESSION['page'] = "null";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo"$meta_title | Area Riservata"; ?></title>
<link href="css/master.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<link href="css/paginazione.css" rel="stylesheet" type="text/css" />
<link href="js/tabs/tab.css" rel="stylesheet" type="text/css" />
<script src="js/tabs/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="js/tabs/jquery.hashchange.min.js" type="text/javascript"></script>
<script src="js/tabs/jquery.easytabs.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#tab-container-3').easytabs({ animate: false, tabActiveClass: "selected-tab", panelActiveClass: "displayed" });
});
</script>
<script type="text/javascript">
$(document).ready(function(){
var newheight=0 //impostiamo un'altezza iniziale
var padding=($(".list").css("padding")).split('px') //estraggo, se c'è, il padding della classe, dividendolo dall'unità di misura 'px'
$(".list").each(function(){ // Per ogni div con la classe .single_box
if ($(this).height() > newheight)
// se l'altezza di questo div è maggiore dell'attuale
//valore di NEWHEIGHT, reimposto il valore di questa variabile
{newheight=$(this).height()};
//aggiungo all'altezza del più alto il padding estratto,
//moltiplicato per 2 , per avere un leggero margine in piu
});
var compHeight=newheight+10+"px"
$(".list").css("height",compHeight); //imposto al volo il valore 'height' nel CSS, con il nuovo valore trovato.
});
</script>
<link type="text/css" rel="stylesheet" href="js/categorie/categorie.css" />
<script type="text/javascript" src="js/categorie/categorie.js" /></script>
</head>
<body>
<!-- WRAPPER INIZIO -->
<div id="wrapper">
<!-- WRAPPER HEADER INIZIO-->
<div id="wrapper_header">
<div id="header"><?php select_header(); ?></div>
</div>
<!-- WRAPPER HEADER FINE-->
<!-- WRAPPER CONTAINER INIZIO-->
<div id="wrapper_container">
<!-- MENU INIZIO-->
<div id="menu"><?php select_menu(); ?></div>
<!-- MENU FINE-->
<!-- CONTENUTI INIZIO-->
<div id="contenuto">
<h1>GESTIONE PRODOTTI > <b>NUOVO PRODOTTO</b></h1>
<form action="gestione_prodotti_azione.php?action=prodotti_edit" method="post" enctype="multipart/form-data" name="modulo_prodotti" id="modulo_prodotti">
<input name="tipo" type="hidden" value="'.$tipo.'" />
<input name="act" type="hidden" value="edit" />
<input name="pages" type="hidden" value="'.$pages.'" />
<input name="cat" type="hidden" value="'.$cat.'" />
<input name="catsub" type="hidden" value="'.$catsub.'" />
<input name="id_prodotto" type="hidden" value="'.$id_prodotto.'" />
<div id="tab-container-3">
<ul>
<li><a href="#edit_prodotti" class="edit_prodotti" title="MODIFICA PRODOTTI"> </a></li>
<li><a href="#prodotti" class="prodotti" title="AGGIUNGI PRODOTTI"> </a></li>
<li><a href="#immagini" class="immagini" title="IMMAGINI CARICATE"> </a></li>
</ul>
<div class="panel-container">
<div id="config" class="tab-container-3">
<p style="margin-bottom:1px;"><label class="h1" style="width:699px;">CONFIGURAZIONE GENERALE</label></p>
<p style="margin-bottom:1px;">
<label class="label" style="height:32px; line-height:32px;">Lingua Prodotto:</label>
</p>
<p style="margin-bottom:1px;">
<label class="label">Reparto:</label>
<select name="id_categoria1" id="categoria1" class="finestra">'; echo $opt->ShowCategoria1(); echo'</select>
<span class="text"> --> <i><b>'.stripslashes($carica_categoria1['categoria1_it']).'</b></i></span>
</p>
<p style="margin-bottom:1px;">
<label class="label">Categoria:</label>
<select name="id_categoria2" id="categoria2" class="finestra"><option>Scegli...</option></select>
<span class="text"> --> <i><b>'.stripslashes($carica_categoria2['categoria2_it']).'</b></i></span>
</p>
<p style="margin-bottom:1px;">
<label class="label">Sotto-Categoria:</label>
<select name="id_categoria3" id="categoria3" class="finestra"><option>Scegli...</option></select>
<span class="text"> --> <i><b>'.stripslashes($carica_categoria3['categoria3_it']).'</b></i></span>
</p>
<p style="margin-bottom:1px;">
<label class="label">Marca:</label>
<select name="id_marca" class="finestra">
<option value="" ';if($carica_categoria['id_marca'] == ""){echo' selected="selected"';}else{echo'';} echo' ></option>';
$select_marca = mysql_query("SELECT * FROM ".$prefix."_prodotti_marca ORDER BY marca ASC");
while ( $row_select_marca = @mysql_fetch_array($select_marca) ) {
$id_marca = $row_select_marca['id_marca'];
$marca = stripslashes($row_select_marca['marca']);
echo '<option value="'.$id_marca.'" ';if($carica_categoria['id_marca'] == $id_marca){echo' selected="selected"';}else{echo'';} echo' >'.$marca.'</option>';
}
echo'
</select>
</p>
<p style="margin-bottom:1px;">
<label class="label" style="height:27px; line-height:27px; float:left;">Allegato:</label>
<div id="all"><a href="../'.$directory.'/'.$carica_prodotto['allegato'].'" target="_blank"><img src="images/pdf.png" alt="" class="images" /></a> [ <input name="del_all" type="checkbox" class="checkbox" value="1" /> ELIMINA ]</div>
<input name="allegato" type="file" class="file" size="30" />
</p>
<p style="margin-bottom:1px;">
<label class="label" style="height:32px; line-height:32px;">Salva:</label>
<input name="configurazione" type="submit" value="SALVA" class="submit ic" />
'.$status_check.'
</p>
</div>
</div>
</div>
</form>
<p class="back_style"><a href="gestione_prodotti.php?action=categorie" class="back_button">Torna Indietro</a></p>
</div>
<!-- CONTENUTI FINE-->
</div>
<!-- WRAPPER CONTAINER FINE-->
<div class="push"></div>
</div>
<!-- WRAPPER FINE -->
<!-- WRAPPER FOOTER INIZIO-->
<div id="wrapper_footer"><?php select_footer(); ?></div>
<!-- WRAPPER FOOTER FINE-->
</body>
</html>