<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <title>Email per ingrosso</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/superbly-tagfield.css" /> <link rel="stylesheet" type="text/css" href="css/mail.css"> <script type='text/javascript' src='js/mail.js'></script> <script type='text/javascript' src='js/contatti.js'></script> <script type="text/javascript" src="js/jquery_1.5.1.js" ></script> <script type="text/javascript" src="js/superbly-tagfield-0.1.min.js" ></script> <script type="text/javascript" src="../lib/ckeditor/ckeditor_basic.js"></script> </head> <body> <?php include 'includes/archivio.php'; $archivio = new archivio(); ?> <form action='mail_ingrosso_compilata.php' method='post' id='formail' name='formail'> <div class='divmail'> <table class="tablemail" cellspacing="0" cellpadding="0"> <tr> <td> <table style="width:100%;margin:0px" cellspacing="0" cellpadding="0"> <tr> <td rowspan="2" style='width:60px; padding-top: 15px' valign="top"> <input class="mailinput" type="button" value="invia" onclick="document.formail.submit()" style="width:60px;height:80px;" /> </td> <td style="width:100px"><label id='d' for='destinatari'><b>A: </b></label></td> <td> <input type="text" class="superblyTagfield" name="destinatari" id="destinatari" autocomplete="off" tabindex="1" />
<?php include "../config.inc.php"; verifyAccess(); include "includes/archivio.php"; $archivio = new archivio(); //RICHIESTE AJAX //Chiamata al cliente con il relativo ordine if (isset($_POST['chiamata']) && isset($_POST['val'])) { $archivio->setChiamata($_POST['chiamata'], $_POST['val']); echo 0; exit; } ?> <!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" /> <title>Ordini</title> <script type="text/javascript" src="js/funzioni.js"></script> <script type="text/javascript" src="../js/jquery/jquery-1.6.2.min.js"></script> <script> $(document).ready(function(){ $(".chiamata").change(function(){ check = $(this).attr('checked'); //indica lo stato della checkbox val = 0; //valore di default da attribuire alla chiamata ord = $(this).attr('value'); //ordine relativo alla checkbox if(check) val = 1;
<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" /> <title>Invio Preventivo</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> </head> <body> <h1>Preventivo inviato</h1> <?php include 'includes/archivio.php'; include '../../tools/mailer/send-email.inc.php'; include '../../classes/logging.php'; $log = new logging("log/log.txt"); $archivio = new archivio(); $prezzo = 0; $rows = ''; $token = $archivio->generaToken($_POST['ordine']); //Impostazioni lingua $lingua = 0; $arr_lang = array('0' => 'it', '1' => 'en', '2' => 'ru'); if (isset($_POST['lang']) && array_key_exists($_POST['lang'], $arr_lang)) { $lingua = $_POST['lang']; $log->debug("Settaggio lingua " . $lingua); } //Inclusione dizionario $log->debug("Label lingua " . $arr_lang[$lingua]); include 'includes/language/' . $arr_lang[$lingua] . '/preventivo.php'; if (isset($_POST)) { // INCLUSIONE SMARTY
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
<?php include "../config.inc.php"; verifyAccess(); include "includes/archivio.php"; $archivio = new archivio(); //richiesta inserimento/aggiornamento indirizzo cliente if (isset($_GET['submit'])) { echo "<em>" . $_GET['via'] . " - " . $_GET['citta'] . " (" . $_GET['prov'] . ") " . $_GET['cap'] . "</em><br/>\n\t <span style='font-size:11px'>\n\t\t<a href=\"javascript:editAddress('" . $_GET['via'] . "','" . $_GET['citta'] . "','" . $_GET['prov'] . "','" . $_GET['cap'] . "','" . $_GET['idaddr'] . "','" . $_GET['cliente'] . "')\" title='modifica indirizzo'>modifica</a>\n\t </span>"; if ($_GET['submit'] == 'update') { $archivio->updateClientAddress($_GET['via'], $_GET['citta'], $_GET['prov'], $_GET['cap'], $_GET['cliente']); } else { $archivio->insertClientAddress($_GET['via'], $_GET['citta'], $_GET['prov'], $_GET['cap'], $_GET['cliente']); } exit; } ?> <!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" /> <script type="text/javascript" src="js/funzioni.js"></script> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="js/jquery_1.5.1.js"></script> <script type="text/javascript"> function setIndirizzo(id_cliente,idaddr) { citta = document.form_indirizzo.citta.value; prov = document.form_indirizzo.prov.value;
<!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" /> <title>Valuta Preventivo</title> <link rel="stylesheet" type="text/css" href="css/pre_fattura.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type='text/javascript' src='js/fattura.js'></script> </head> <body onload="initData()"> <h1>Valuta Preventivo</h1> <?php include 'includes/archivio.php'; $archivio = new archivio(); $cliente = ""; $rel = ""; $dati_ord = ""; $id_ord = ""; $ck_js = ""; $lingua = 0; if (isset($_GET['id']) && isset($_GET['ordine'])) { $id_ord = $_GET['ordine']; $id = $_GET['id']; $cliente = $archivio->getCliente($id); // Lingua if (isset($_GET['lang'])) { $lingua = $_GET['lang']; } $rel = "<form method='get' action='' style='margin:0 0 10px 0'>\n\t\t\tLingua email preventivo <select name='lang' class='evi' onchange='submit()'>";
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sofia la maiolica calatina snc - Fattura</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="js/funzioni.js"></script> </head> <body> <div style="position: absolute; right: 0px; top=0px" id="divHide"></div> <h1>Invio Fattura..</h1> <?php if (isset($_POST['numFatt'])) { include 'includes/fatturaToPdf.php'; include 'includes/archivio.php'; $archivio = new archivio(); $articoli = array(); $totale = 0; $totiva = 0; $imponibile = 0; $nome_fattura = ""; if ($_POST['ordine'] != "") { $nome_fattura = "fattura_ordine" . $_POST['ordine']; $totale = $archivio->getTotaleOrdine($_POST['ordine']); $articoli = $archivio->artFattPdf($_POST['ordine']); } else { $j = 0; $nome_fattura = "fattura_n" . $_POST['numFatt']; foreach ($_POST as $i => $val) { //$_POST['newcod']="a"; if (ereg('categorie', $i) == true) {
<?php include "../config.inc.php"; verifyAccess(); include 'includes/archivio.php'; $archivio = new archivio(); if (isset($_GET['selCat'])) { if (trim($_POST['categorie']) != "") { //sleep(2); $temp = explode('-', $_POST['categorie']); echo $archivio->elencaArt($temp[0], $_POST['riga']); } exit; } if (isset($_GET['selArt'])) { if (trim($_POST['articoli']) != "") { //sleep(2); echo $archivio->descArt($_POST['articoli']); } exit; }
<?php include "../config.inc.php"; verifyAccess(); if (isset($_POST['action'])) { include "includes/archivio.php"; $archivio = new archivio(); if (trim($_POST['nome']) != "" && trim($_POST['cognome']) != "" && trim($_POST['posizione']) != "" && trim($_POST['newmail'])) { echo $archivio->nuovoContatto(trim($_POST['nome']), trim($_POST['cognome']), trim($_POST['posizione']), trim($_POST['newmail'])); } else { echo "<span style='border: 2px solid #f60; padding: 5px'><img width='30' height='16' src='interfaccia/close.jpg' align='absmiddle' /> tutti i campi sono obbligatori</span>"; } exit; } $temp = array(); if (isset($_GET['mails'])) { $temp = explode(";", $_GET['mails']); } ?> <div style='height: 300px; width: 540px; color: #333; padding: 10px; font-size: 14px; overflow: auto;'> <p style='margin: 5px 5px 10px 0'><b>Elenco dei nuovi contatti:</b></p> <?php for ($i = 0; $i < count($temp) - 1; $i++) { echo "<fieldset style='width: 510px'>\n\t\t<legend> " . $temp[$i] . " </legend>\n\t\t<table style='margin: 10px 0 10px 0; width: 580px' border='0'>\n\t\t<tr>\n\t\t\t<td width='100'><label for='nome{$i}'>Nome</label> </td>\n\t\t\t<td><input type='text' name='nome{$i}' id='nome{$i}' value='' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td><label for='cognome{$i}'>Cognome</label> </td>\n\t\t\t<td><input type='text' name='cognome{$i}' id='cognome{$i}' value='' /></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td><label for='posizione{$i}'>Posizione</label> </td>\n\t\t<td>\n\t\t\t<select id='posizione{$i}' name='posizione{$i}'>\n\t\t\t\t<option value='privato'>privato</option>\n\t\t\t\t<option value='ingrosso'>ingrosso</option>\n\t\t\t</select>\n\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td colspan='2'>\n\t\t\t\t<input type='hidden' name='newmail{$i}' id='newmail{$i}' value='" . $temp[$i] . "' />\n\t\t\t\t<input onclick=\"salvaContatto('{$i}')\" class='mailinput' type='button' name='salva' value='salva' />\n\t\t\t\t<span id='avviso{$i}'></span>\n\t\t\t</td>\n\t\t</tr>\n\t\t</table>\n\t\t</fieldset>"; } ?> </div>
<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" /> <title>Emetti Fattura</title> <link rel="stylesheet" type="text/css" href="css/pre_fattura.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type='text/javascript' src='js/fattura.js'></script> </head> <body onload="initData()"> <?php include 'includes/archivio.php'; $archivio = new archivio(); $el_clienti = ""; $el_loc = ""; $el_mail = ""; $cliente = ""; $rel = ""; $modPag = ""; $nome = ""; $cognome = ""; $codice = ""; $id = ""; $num_fatt = ""; $dati_ord = ""; $id_ord = ""; $ck_js = ""; $tipo_pagamento = array('contanti', 'bonifico bancario', 'carta di credito', 'pay pal', 'contrassegno');
<!-- BOX A COMPARSA --> <script type='text/javascript' src='js/box_comparsa/assets/jquery.js'></script> <!--<link rel="stylesheet" href="js/box_comparsa/assets/project-page.css" type="text/css" />--> <script type='text/javascript' src='js/box_comparsa/javascripts/jquery.boxy.js'></script> <link rel="stylesheet" href="js/box_comparsa/stylesheets/boxy.css" type="text/css" /> <!-- FINE BOX A COMPARSA --> </head> <body onload=""> <h1>Invio mail</h1> <?php include 'includes/archivio.php'; include '../../tools/mailer/configSMTP.php'; include '../../tools/mailer/mailer.php'; $mailer = new mailer(HOST, PORT, USER, PASS, NAME); $archivio = new archivio(); if (isset($_POST)) { //print_r($_POST); //CREAZIONE ELENCO DESTINATARI $_POST['destinatari'] = trim($_POST['destinatari']); $destinatari = explode(",", $_POST['destinatari']); $numDest = count($destinatari); if (substr($_POST['destinatari'], strlen($_POST['destinatari']) - 1, 1) == ",") { $numDest -= 1; } //SE L'ELENCO DEI DESTINATARI FINIRA' CON ';' DEVO DECREMENTARE IL CONTATORE, ALTRIMENTI AVRO' UN INDIRIZZO VUOTO //CREAZIONE EMAIL $mail = "<p>" . $_POST['messaggio'] . "</p>"; /*if(isset($_POST['cat0'])) {*/ $mail .= "<table width='700' border='0' cellpadding='0' cellspacing='0' style='border: 1px solid #c0c0c0'>\n\t\t<tr style='padding: 2px; background: #996600; color: white'>\n\t\t\t<td>categoria</td>\n\t\t\t<td style='width:180px;'>immagine</td>\n\t\t\t<td>descrizione</td>\n\t\t</tr>";
template_replace_values : { username : "******", staffid : "991234" } }); </script> <!-- /TinyMCE --> <title>Email per ingrosso</title> </head> <body> <?php session_start(); if (session_is_registered('admin_sofia')) { include 'includes/archivio.php'; $archivio = new archivio(); ?> <form action='mail_ingrosso_compilata.php' method='post' id='formail' name='formail'> <div class='divmail'> <table class="tablemail" cellspacing="0" cellpadding="0"> <tr> <td> <table style="width:100%;margin:0px"cellspacing="0" cellpadding="0"> <tr> <td rowspan="2" style='width:60px;'> <input class="mailinput" type="button" value="invia" onclick="document.formail.submit()" style="width:60px;height:80px;" /> </td> <td style="width:100px"><label id='d' for='destinatari'><b>A: </b></label></td> <td> <input type="text" name="destinatari" id="destinatari" autocomplete="off" onblur='AddIndirizzo()' /><br/> <span style="color:#666;font-size:12px;">separare con ' ; ' più indirizzi</span>