Ejemplo n.º 1
0
                print $data[0];
                ?>
"><img src="immagini/sblocca.gif" border="0"></a>
								</div>
<?php 
            } else {
                ?>
								<div class="divid">
<?php 
                print $data[0];
                ?>
								</div>
								<div class="divnome">
									<div>
<?php 
                print riducitesto(utf8_encode($data[1]), 50);
                ?>
									</div>
								</div>
								<div class="divgestione">
									<a href="modificaprodotti.php?mod=<?php 
                print $data[0];
                ?>
"><img src="immagini/modifica.gif" border="0"></a>
								</div>
								<div class="divgestione">
									<a href="gestioneprodotti.php?<?php 
                print $_SERVER['QUERY_STRING'] . $var;
                ?>
elim=<?php 
                print $data[0];
Ejemplo n.º 2
0
            print $data[1];
            ?>
&visualizza=<?php 
            print $idvisualizza;
            ?>
" style="color: #fff;">X Elimina</a></td>
								</tr>
							</table>
							<table style="height: 50px; width: 720px; border: 1px solid #000; font-family: Arial;" cellpadding="0" cellspacing="0">
								<tr>
									<td style="border: 1px solid #000; width: 100px;"><img src="<?php 
            print "../upload/" . $prodottoprev;
            ?>
" width="100px" height="100px"></td>
									<td style="border: 1px solid #000; width: 400px;" valign="top"><div style="font-family: Arial; font-size: 12px; padding-left: 10px; padding-top: 3px;"><?php 
            print puliscitesto(riducitesto($descprodotto, 200));
            ?>
</div></td>
									<td style="border: 1px solid #000; width: 220px;">
										<center>
											<span style="font-family: Arial; font-size: 14px; font-weight: bold;">Prezzo dell'articolo:</span><br />
											<input type="text" name="prezzo<?php 
            print $fine;
            ?>
" id="prezzo<?php 
            print $fine;
            ?>
" value="<?php 
            print $prezzodb;
            ?>
" onkeypress="javascript: sistemaprezzo(this.value,this);">
Ejemplo n.º 3
0
?>					<div style="margin-bottom: 50px; overflow: hidden; margin-left: 20px; width: 950px; height: <?php if($cont>1){ print "1343px; background: url('immagini/sfondoanteprima.jpg') no-repeat; padding-top: 30px;";}else{ print "1034px;";}?>;">
					<table  style="font-family: Arial;" border="0" cellpadding="0" cellspacing="0" style="margin-left: 5px; padding-left: 20px; font-weight: bold;">					
						<tr>
							<td height="29" align="left" width="900">
								<?php if(strlen($notedb)>0){ print "N.B. ".html_entity_decode($notedb, ENT_COMPAT | ENT_HTML401, "UTF-8");}else{ print "&nbsp;";} ?>
							</td>
						</tr>
					</table>
					<table  border="0" width="900" cellpadding="0" cellspacing="0" style="font-family: Arial; margin-left: <?php if($cont>1){ print "20px;";}else{ print "-4px;";}?>">
						<tr>
							<td height="40" width="900" style="padding-left: 20px; padding-top: 10px; background: url('immagini/riquadro4.jpg') no-repeat;"><?php print "<div style=\"float: left; width: 750px;\">".puliscitesto(strtoupper(htmlentities($nomemarcadb)))." - ".puliscitesto(htmlentities($nomeproddb))."</div><div style=\"font-family: Arial; float: left; font-weight: bold;\">Euro: ".sistemaprezzo($prezzodb)."</div>"; ?></td>
						</tr>
						<tr>
							<td height="36" width="890" style="padding-left: 10px; font-size: 12px;">
								<div style="height: 90px; width: 890px; overflow: hidden; margin-top: 10px;">
								<?php print riducitesto(htmlspecialchars_decode(htmlentities($descproddb)),200)."<br />"; ?>
<?php 								if(strlen(@mysql_result($queryprod,0,5))>0 or strlen(@mysql_result($queryprod,0,6))>0 or strlen(@mysql_result($queryprod,0,7))>0){
										print $misura;
									}
?>								</div>
							</td>	
						</tr>
					</table>	
					<table border="0" width="900" cellpadding="0" cellspacing="0">
						<tr>
							<td width="900" align="center" height="<?php if($cont>1){ print "956px;";}else{ print "650px;";}?>">
								<div style="overflow: hidden; width: 850px; height: <?php if($cont>1){ print "956px;";}else{ print "650px;";}?>">
<?php									//cartella sorgente dell'img
									$percorsosorgente=$_SERVER['DOCUMENT_ROOT']."/upload/";
									//cartella destinazione
									$percorsosave=$_SERVER['DOCUMENT_ROOT']."/tmpimmagini/";