← Back
Editing: testacoda.php
<?php # camping il sole $urlBase = "/var/www/vhosts/smartmedia2000.it/httpdocs"; require_once ($urlBase."/conn.php"); require_once ($urlBase."/funct.php"); require_once ($urlBase."/lang.php"); define ('ID_UTENTE', 21); $lingue = array ('it', 'en', 'de'); # dir di struttura differente se si proviene da area clienti o dal sito della struttura if (strpos ($_SERVER['DOCUMENT_ROOT'], "smartmedia2000")) { $x = explode ('/', $_SERVER['SCRIPT_FILENAME']); define ('DIR_STR', $x[count($x)-2]); } else define ('DIR_STR', substr ($_SERVER['DOCUMENT_ROOT'], strrpos ($_SERVER['DOCUMENT_ROOT'], '/')+1)); require_once ($urlBase."/class_b.php"); $id = $_REQUEST['id']; $az = $_REQUEST['az']; $tipo = $_REQUEST['tipo']; $testaQuery = new output(); require_once ($urlBase."/param0.php"); if ($tipo) $urlLan.= "&tipo=$tipo"; $testa = "$head <script language=\"javascript\" type=\"text/javascript\"> <!-- $rollJs $plusJs //--> </script> <script type=\"text/javascript\" src=\"js/jquery.js\"></script> $plusHead </head> <body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" onload=\"$plusOnload\" onunload=\"$plusOnunload\"> <div align=\"center\">\n"; $coda.= "</div> <!--div align=\"center\">SmartFox siti che funzionano</a></div--> $tail"; ?>
Save File
Cancel