include "../config.inc.php"; verifyAccess(); ?> <!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-Language" content="it" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type='text/javascript' src='js/mail.js'></script> <script type='text/javascript' src='js/contatti.js'></script> <title>Email per ingrosso</title> </head> <body style="margin: 0; padding-bottom: 50px;"> <?php include 'includes/archivio.php'; $archivio = new archivio(); if (isset($_GET['cat'])) { echo "<iframe class='uploader' frameborder=\"0\" scrolling=\"no\" src=\"uploader.php?cat=" . $_GET['cat'] . "\" height=\"30\">installare un browser compatibile per visualizzare la pagina correttamente</iframe>"; echo "<p class='gruppo'><span>Foto inserite successivamente</span></p>\n\t\t<div style='width:1126px; margin: 0 auto 0 auto;'>" . $archivio->viewImgTemp($_GET['cat']) . "</div>\n\t\t<div style='clear:both;height:10px;'></div>\n\t\t\n\t\t<p class='gruppo'><span>Catalogo online</span></p>\n\t\t<div style='width:1126px; margin: 0 auto 0 auto;'>" . $archivio->viewImg($_GET['cat']) . "</div>\n\t\t<div style='clear:both;height:10px;'></div>\n\t\t\n\t\t<div class='insert'>\n\t\t\t<input type='button' value='aggiorna' onclick=\"aggiorna()\" /> \n\t\t\t<input type='button' value='elimina immagine' /> \n\t\t\t<input type='button' value='inserisci immagine' onclick='loadImg()' />\n\t\t</div>"; exit; } else { echo "errore, nessun dato da elaborare"; } ?> </body> <?php $archivio->close(); //chiudo la connessione col DB