\n"; $sCabeceras .= "MIME-version: 1.0\n"; foreach ($_POST as $sNombre => $sValor) $sTexto = $sTexto."\n".$sNombre." = ".$sValor; $sCabeceras .= "Content-type: multipart/mixed;"; $sCabeceras .= "boundary=\"--_Separador-de-mensajes_--\"\n"; $sCabeceraTexto = "----_Separador-de-mensajes_--\n"; $sCabeceraTexto .= "Content-type: text/plain;charset=iso-8859-1\n"; $sCabeceraTexto .= "Content-transfer-encoding: 7BIT\n"; $sTexto = $sCabeceraTexto.$sTexto; return(mail($sPara, $sAsunto, $sTexto, $sCabeceras)); } $lng = "es"; if(isset($_GET['lng'])) { if($_GET['lng'] == "en") { $lng = "en"; } else { $lng = "es"; } } $mnu_Option = "INICIO"; if(isset($_GET['sct'])) { $sct = $_GET['sct']; switch($sct) { case "inicio": $mnu_Option = "INICIO"; break; case "quienes": $mnu_Option = "QUIÉNES SOMOS"; break; case "autolux": $mnu_Option = "MARCAS PPG"; $submnu_Option = "AUTOLUX"; $slider = 0; break; case "demostracion-aplicacion-barniz-ppg": $mnu_Option = "DEMOSTRACIONES"; $submnu_Option = "NUEVA APLICACIÓN BARNIZ PPG"; $slider = 0; break; case "pulido-productos-symplex": $mnu_Option = "DEMOSTRACIONES"; $submnu_Option = "PULIDO CON PRODUCTOS SYMPLEX"; $slider = 0; break; case 'delfleet': case 'deltron': case 'envirobase': case 'quickline': case 'selemix': case 'value-pro': $mnu_Option = "MARCAS PPG"; break; case 'bodycolor': case 'bossauto': case 'festool': case 'indasa': case 'sagola': case 'seicar': case 'anest-iwata': $mnu_Option = "OTRAS MARCAS"; break; case "localizacion": $mnu_Option = "LOCALIZACIÓN"; break; case "contacto": $mnu_Option = "CONTACTO"; break; default: $mnu_Option = "INICIO"; } } else { $sct = "inicio"; } $galActive = 0; //$page = "main.php"; $filters = 0; if(isset($_GET['sct'])) { $sct = $_GET['sct']; switch($sct) { case 'inicio': $page = "main.php"; break; case 'quienes': $page = "who.php"; $path = "INICIOHOME / CARCELES Y MORALES / QUIÉNES SOMOSABOUT US"; break; case "pulido-productos-symplex": $page = "demo001.php"; $path = "INICIO / DEMOSTRACIONES / PULIDO PRODUCTOS SYMPLEX"; break; case "demostracion-aplicacion-barniz-ppg": $page = "demo000.php"; $path = "INICIO / DEMOSTRACIONES / NUEVA APLICACIÓN BARNIZ PPG"; break; case 'autolux': $page = "autolux.php"; $path = "INICIO / MARCAS PPG / AUTOLUX"; $filters = 0; break; case 'delfleet': $page = "delfleet.php"; $path = "INICIO / MARCAS PPG / DELFLEET"; $filters = 0; break; case 'deltron': $page = "deltron.php"; $path = "INICIO / MARCAS PPG / DELTRON"; $filters = 0; break; case 'envirobase': $page = "envirobase.php"; $path = "INICIO / MARCAS PPG / ENVIROBASE"; $filters = 0; break; case 'quickline': $page = "quickline.php"; $path = "INICIO / MARCAS PPG / QUICKLINE"; $filters = 0; break; case 'selemix': $page = "selemix.php"; $path = "INICIO / MARCAS PPG / SELEMIX"; $filters = 0; break; case 'bodycolor': $page = "bodycolor.php"; $path = "INICIO / MARCAS PPG / BODYCOLOR"; $filters = 0; break; case 'bossauto': $page = "bossauto.php"; $path = "INICIO / MARCAS PPG / AUTOLUX"; $filters = 0; break; case 'festool': $page = "festool.php"; $path = "INICIO / MARCAS PPG / BOSSAUTO"; $filters = 0; break; case 'indasa': $page = "indasa.php"; $path = "INICIO / MARCAS PPG / INDASA"; $filters = 0; break; case 'sagola': $page = "sagola.php"; $path = "INICIO / MARCAS PPG / SAGOLA"; $filters = 0; break; case 'seicar': $page = "seicar.php"; $path = "INICIO / MARCAS PPG / SEICAR"; $filters = 0; break; case 'value-pro': $page = "value-pro.php"; $path = "INICIO / MARCAS PPG / VALUE-PRO"; $filters = 0; break; case 'anest-iwata': $page = "anest-iwata.php"; $path = "INICIO / MARCAS PPG / ANEST-IWATA"; $filters = 0; break; case 'contacto': $path = "INICIOHOME / CONTACTO"; $page = "contact.php"; break; case 'localizacion': $path = "INICIO / LOCALIZACIÓN"; $page = "localization.php"; break; case 'aviso-legal': $path = "INICIOHOME / AVISO LEGALDISCLAIMER"; $page = "legal.php"; break; case 'politica-de-privacidad': $path = "INICIOHOME / POLÍTICA DE PRIVACIDADPRIVACY POLICY"; $filters = 0; break; case '404': //$page = "404.php"; break; default: $page = "404.php"; } } else { $page = 'main.php'; } /* if((isset($_GET['mob']) && $_GET['mob'] == 0) || $mob == "0") { // ?> Carceles Morales - Pintura coche - MURCIA