| 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/ |
Upload File : |
<?php
session_start();
require_once('include/connect_db.php');
$prefix = PREFIX;
$link_sito = SERVER;
$link_sito_no_www = substr(strip_tags(stripslashes($server)), 7);
$directory = NEWSLETTERDIRECTORY;
$h1 = NEWSLETTERH1;
$h2 = NEWSLETTERH2;
$h3 = NEWSLETTERH3;
$id_newsletter = $_REQUEST['id_newsletter'];
$mesi = array(1=>'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre','dicembre');
list($sett,$giorno,$mese,$anno) = explode('-',date('w-d-n-Y'));
$query = mysql_query("SELECT * FROM ".$prefix."_newsletter WHERE id_newsletter = '$id_newsletter'");
while ( $row = @mysql_fetch_array($query) ) {
$id_newsletter = $row['id_newsletter'];
$titolo = stripslashes($row['titolo']);
$testo = stripslashes($row['testo']);
$stato = stripslashes($row['stato']);
$immagine = $row['immagine'];
if ( $immagine != "" ) {
$tag_img = '
<img src="'.$link_sito.'/'.$directory.'/'.$immagine.'" width="510" style="margin: 0 0 5px 0; padding: 0; display: block;" alt="">';
}else{ $tag_img = ''; }
}
echo'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>'.$titolo.'</title>
<style type="text/css">
body { margin: 0;padding: 0; background-color: #878c80; background-image: url('.$link_sito.'/images/newsletter/body-bg.jpg); background-repeat: repeat; }
h1 { font-family: Georgia, \'Times New Roman\', Times, serif; margin: 0; padding: 0; color: #FFF; text-shadow: -1px -1px 1px #a10e08; font-size: 24px; text-transform: uppercase; }
h2 { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 14px; margin: 0; padding: 0; color:#FFF; text-transform: uppercase; }
h3 { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 14px; margin: 20px 0 0 0; padding: 0; color:#e7edcf; text-align:left; }
h4 { font-family: Georgia, \'Times New Roman\', Times, serif; margin: 0; padding: 0; color: #000; font-size: 24px; text-shadow: 1px 1px 1px #FFFFFF; }
p { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 14px; color:#333; font-weight: normal; text-align:justify; padding-top: 0; padding-right: 0; padding-bottom: 0px; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; }
a { color: #036; text-decoration: none; }
.data_giorno { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 14px; color: #F00; margin-bottom: 0px; margin-top: 0px; padding: 0px; -webkit-text-size-adjust: none; clear: both; font-weight: bold; text-align: center; }
.data_mese { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 14px; color: #666; margin-bottom: 0px; margin-top: 0px; padding: 0px; text-shadow: 1px 1px 1px #FFFFFF; -webkit-text-size-adjust: none; clear: both; font-weight: bold; text-align: center; text-transform: capitalize; }
.data_anno { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 24px; color: #999; margin-bottom: 0px; margin-top: 0px; padding: 0px; text-shadow: 1px 1px 1px #FFFFFF; -webkit-text-size-adjust: none; clear: both; text-align: center; }
.footer { font-family: Georgia, \'Times New Roman\', Times, serif; font-size: 11px; color:#bcc1ae; font-weight: normal; text-align:justify; padding: 0; margin: 0; }
</style>
</head>
<body topmargin="0" marginwidth="0" leftmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#d8e7ea" style="background-color: #878c80; background-image: url('.$link_sito.'/images/newsletter/body-bg.jpg); background-repeat: repeat;">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20"> </td>
</tr>
</table>
<table bgcolor="#d4d2c5" background="'.$link_sito.'/images/newsletter/full-bg-top.jpg" width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="15" height="147"><img style="margin: 0; padding: 0; display: block;" src="'.$link_sito.'/images/newsletter/left-top-curl.jpg" width="15" height="147"></td>
<td valign="top" height="100">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="386" height="23"></td>
<td width="34"></td>
<td width="102"></td>
<td width="48"></td>
</tr>
<tr>
<td valign="top" height="124" background="'.$link_sito.'/images/newsletter/top-intro-bg.jpg" bgcolor="#dd2d1d">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="409" height="19"></td>
</tr>
<tr>
<td valign="top">
<h1>'.$h1.'</h1>
<h2>'.$h2.'</h2>
<h3>'.$h3.'</h3>
</td>
</tr>
</table>
</td>
<td valign="top"> <img src="'.$link_sito.'/images/newsletter/bracket-red.png" width="34" height="124" style="margin: 0; padding: 0; display: block;"> </td>
<td valign="top">
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" height="12" align="center"></td>
</tr>
<tr>
<td height="30" align="center">
<table width="27" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="center" height="27" bgcolor="#b7b7ac" background="'.$link_sito.'/images/newsletter/date-bg-2.jpg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="3"></td>
</tr>
</table>
<p class="data_giorno"><currentday>'.date('d').'</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom" height="19" align="center"><img style="margin: 0; padding: 0;" src="'.$link_sito.'/images/newsletter/ornament.gif" width="76" height="19"> </td>
</tr>
<tr>
<td height="20" align="center"><p class="data_mese"><currentmonthname>'.$mesi[$mese].'</p></td>
</tr>
<tr>
<td align="center"><p class="data_anno"><currentyear>'.date('Y').'</p></td>
</tr>
</table>
</td>
<td align="right" valign="top"><img style="margin: 0; padding: 0; display: block;" src="'.$link_sito.'/images/newsletter/bracket-green.png" width="48" height="124"></td>
</tr>
</table>
</td>
<td valign="top" width="15" height="147"><img style="margin: 0; padding: 0; display: block;" src="'.$link_sito.'/images/newsletter/right-top-curl.jpg" width="15" height="147"></td>
</tr>
</table>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="15"> <img style="margin: 0; padding: 0; display: block;" src="'.$link_sito.'/images/newsletter/left-curl-part-1.jpg" width="15" height="56"></td>
<td background="'.$link_sito.'/images/newsletter/full-bg.jpg" bgcolor="#d4d2c5" valign="top">
<table width="569" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="30">
<table width="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="27"></td>
</tr>
<tr>
<td><img style="margin: 0; padding: 0; display: block;" src="'.$link_sito.'/images/newsletter/left-curl-part-2.gif" width="12" height="28"></td>
</tr>
</table>
</td>
<td valign="top">
<table width="510" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="23"></td>
</tr>
<tr>
<td>
<h4>'.$titolo.'</h4>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="15"></td>
</tr>
</table>
<p>'.$tag_img.'</p><p>'.$testo.'</p>
<p> </p>
<p align="center" style="text-align:center;">Visita il nostro sito: <a href="'.$link_sito.'">'. substr(strip_tags(stripslashes($link_sito)), 7).'</a></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$link_sito.'/images/newsletter/full-bg.jpg" bgcolor="#d4d2c5" width="348">
</td>
</tr>
</table>
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$link_sito.'/images/newsletter/full-bg.jpg" bgcolor="#d4d2c5" width="348">
</td>
</tr>
</table>
</td>
<td style="background-color: none;" bgcolor="" valign="top" width="15"> </td>
</tr>
</table>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="18"> </td>
<td width="566"><p class="footer">Ricevi questa e-mail in quanto risulti iscritto alla newsletter di '.$link_sito_no_www.' dove hai acconsentito esplicitamente a ricevere informazioni e/o comunicazioni da parte nostra. <br>
</p>
<p class="footer"> </p>
<p class="footer">Se non desideri piu\' ricevere email clicca <a href="'.$link_sito.'/newsletter.php?action=cancellami">qui</a>.</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20"></td>
</tr>
</table>
</td>
<td width="16"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
?>