"; $fake2=""; $fake5=""; function top_banner() { global $fake1,$fake2,$fake5; print <<< top_banner $fake5
$fake1 $fake1 $fake5$fake5$fake5mon panier : 0 article(s)
$fake1
top_banner; } function top_menu() { global $fake1,$fake2; $m=$_GET[m]; $a="a"; $b="a"; $c="a"; $d="a"; $e="a"; $f="a"; switch($m) { case "accueil": $a="b" ; break; case "reparation-ecran-pc-portable": $b="b" ; break; case "reparation-neon-et-inverter": $c="b" ; break; case "reparation-connecteur-d-alimentation": $d="b" ; break; case "reparation-carte-mere": $e="b" ; break; case "reprise-de-parcs": $f="b" ; break; default:; } print <<< top_menu $fake2
$fake1 ACCUEIL ECRAN PC PORTABLE NEON & INVERTER CONNECTEUR CARTE MERE REPRISE DE PARCS $fake1
$fake1 $fake1 $fake1 $fake1 $fake1 $fake1 $fake1 $fake1
top_menu; } function main_content_a() { global $fake1,$fake2; print <<< main_content_a $fake2
$fake1
$fake1 $fake1



$fake1
$fake1
main_content_a; } function main_content_b() { global $fake1,$fake2; print <<< main_content_b $fake2
$fake1
$fake1
$fake1
$fake1



$fake1
$fake1
$fake1
$fake1
main_content_b; } function main_content_c() { global $fake1,$fake2; print <<< main_content_c $fake2
$fake1
$fake1
$fake1
$fake1 x
x
x
x
$fake1
$fake1
$fake1
$fake1
main_content_c; } function main_content_d() { global $fake1,$fake2; print <<< main_content_d $fake2
$fake1
$fake1
$fake1
$fake1 x
x
x
x
$fake1
$fake1
$fake1
$fake1
main_content_d; } function prestation_list($str_input) { global $fake1, $fake5; // print ($str_input); if (!empty($str_input)) { $str_input=trim($str_input); $str_input_exp=explode("|","$str_input"); $str_input_exp_nbr=count($str_input_exp); for ($i=0;$i<$str_input_exp_nbr-1;$i++) { $str_input_label=explode(":", $str_input_exp[$i]); //print ("$str_input_label[0]
"); $str_parse.="$str_input_label[0] :"; $str_input_content_exp=explode(",",$str_input_exp[$i]); $str_input_content_nbr=count($str_input_content_exp); for ($j=0;$j<$str_input_content_nbr;$j++) { if ($j==0) { $str_input_content_exp[$j]=ereg_replace("$str_input_label[0]:", "", "$str_input_content_exp[$j]"); } //print ("$str_input_content_exp[$j]
"); //htmlentities($str_input_content_exp[$j]); $str_input_link=ereg_replace("'"," ",$str_input_content_exp[$j]); $str_input_name=$str_input_content_exp[$j]; // $str_parse.="
  • $str_input_content_exp[$j]
  • "; $str_parse.="
  • $str_input_name
  • "; } } $str_out="".$str_parse."
    "; return $str_out; //print ("$str_out"); } } function top_undermenu_image() { global $fake1,$fake2; $m=$_GET[m]; switch ($m) { case "accueil": $main_folder="00"; break; case "reparation-ecran-pc-portable": $main_folder="01"; break; case "reparation-neon-et-inverter": $main_folder="02"; break; case "reparation-connecteur-d-alimentation": $main_folder="03"; break; case "reparation-carte-mere": $main_folder="04"; break; case "reprise-de-parcs": $main_folder="05"; break; case "mon-panier": $main_folder="06"; break; case "contacts": $main_folder="07"; break; default: $main_folder="00"; } if (file_exists("category/$main_folder/main.jpg")) { $top_undermenu_image="
    "; } print <<< top_undermenu_image $top_undermenu_image top_undermenu_image; } function main_content() { global $fake1,$fake2,$fake5; $m=$_GET[m]; switch ($m) { case "accueil": $main_folder="00"; break; case "reparation-ecran-pc-portable": $main_folder="01"; break; case "reparation-neon-et-inverter": $main_folder="02"; break; case "reparation-connecteur-d-alimentation": $main_folder="03"; break; case "reparation-carte-mere": $main_folder="04"; break; case "reprise-de-parcs": $main_folder="05"; break; case "mon-panier": $main_folder="06"; break; case "contacts": $main_folder="07"; break; case "plan-d-acces": $main_folder="08"; break; default: $main_folder="00"; } if (file_exists("category/$main_folder/main.php")) { //$main_content="
    "; include ("category/$main_folder/main.php"); } //print <<< main_content // $main_content //main_content; } function top_submenu() { global $fake2; $style_0="onMouseOver=\"style.background ='#05a4e9';style.cursor='pointer';style.color='#ffffff';\" onMouseOut=\"style.background ='#FAFAFA'; style.border ='';style.color='#000000';\""; $style_1="onMouseOver=\"style.background ='#05a4e9';style.cursor='pointer';style.color='#ffffff';\" onMouseOut=\"style.background ='#05a4e9'; style.border ='';style.color='#ffffff';\""; $m=$_GET[m]; $sm=$_GET[sm]; $style_a="$style_0"; $style_b="$style_0"; $style_c="$style_0"; $style_d="$style_0"; switch ($sm) { case "a": $style_a="$style_1"; $bg_a="bgcolor=\"#05a4e9\""; $font_a="color=\"#ffffff\""; break; case "b": $style_b="$style_1"; $bg_b="bgcolor=\"#05a4e9\""; $font_b="color=\"#ffffff\""; break; case "c": $style_c="$style_1"; $bg_c="bgcolor=\"#05a4e9\""; $font_c="color=\"#ffffff\""; break; case "d": $style_d="$style_1"; $bg_d="bgcolor=\"#05a4e9\""; $font_d="color=\"#ffffff\""; break; default: $style_a="$style_1"; $bg_a="bgcolor=\"#05a4e9\""; $font_a="color=\"#ffffff\""; } print <<< top_submenu
    $fake1
    Présentation Demande de prise en charge Achat de pièce(s) détachée(s) Question(s) fréquente(s)
    $fake1
    $fake2
    top_submenu; } function lcd_list() { $XHote = "localhost"; $XUtilisateur = "services"; $XMotDePasse = "qFTem7rT"; $XNomBase = "services"; $XLien = mysql_connect($XHote, $XUtilisateur, $XMotDePasse); $XRequete = "SELECT * FROM `nx_lcd` ORDER BY lcd_size,lcd_brand ASC"; //Date DESC,Time DESC //ORDER BY lcd_band,ASC lcd_size,ASC $XResultat = mysql_db_query($XNomBase, $XRequete, $XLien); $output=""; while ($L = mysql_fetch_array($XResultat)) { $L[lcd_brand] = ereg_replace("pour ","", $L[lcd_brand]); $L[lcd_brand] = strtoupper($L[lcd_brand]); switch($L[lcd_size]) { case "10.6\"": $pix_lcd=""; $color="bgcolor=\"#fadfce\""; break; case "10.6\" Large": $pix_lcd=""; $color="bgcolor=\"#fadfce\""; break; case "11.1\"": $pix_lcd=""; $color="bgcolor=\"#faf9ce\""; break; case "11.1\" Large": $pix_lcd=""; $color="bgcolor=\"#faf9ce\""; break; case "12.1\"": $pix_lcd=""; $color="bgcolor=\"#e1face\""; break; case "12.1\" Large": $pix_lcd=""; $color="bgcolor=\"#e1face\""; break; case "13.3\" Large": $pix_lcd=""; $color="bgcolor=\"#cefaed\""; break; case "14.1\"": $pix_lcd=""; $color="bgcolor=\"#cee7fa\""; break; case "14.1\" Large": $pix_lcd=""; $color="bgcolor=\"#cee7fa\""; break; case "15.1\"": $pix_lcd=""; $color="bgcolor=\"#decefa\""; break; case "15.2\"": $pix_lcd=""; $color="bgcolor=\"#decefa\""; break; case "15.4\" Large": $pix_lcd=""; $color="bgcolor=\"#ced1fa\""; break; case "17\" Large": $pix_lcd=""; $color="bgcolor=\"#faedce\""; break; case "17.1\" Large": $pix_lcd=""; $color="bgcolor=\"#faedce\""; break; default: $pix_lcd="$L[lcd_size]"; } switch($L[lcd_resolution]) { case "XGA ( 1024x768 )": $pix_size=""; break; case "SXGA ( 1280x1024 )": $pix_size=""; break; case "SXGA+ ( 1400x1050 )": $pix_size=""; break; case "UXGA ( 1600x1200 )": $pix_size=""; break; case "WXGA ( 1280x800 )": $pix_size=""; break; case "WXGA ( 1280x768 )": $pix_size=""; break; case "WXGA ( 1366x768 )": $pix_size=""; break; case "WXGA+ ( 1440x900 )": $pix_size=""; break; case "WSXGA+ ( 1680x1050 )": $pix_size=""; break; case "WUXGA ( 1920x1200 )": $pix_size=""; break; default: $pix_size="$L[lcd_resolution]"; } // $pix_lcd // $pix_size // $output.=""; $output.=""; $output.=""; $output.=""; $output.=""; // $output.=""; } $output.="
    $L[lcd_brand] ( $nbr2 )
    $L[lcd_brand]$pix_lcd
    $pix_size
    $L[lcd_size] - $L[lcd_resolution]
    $L[lcd_compatibility]
    $L[lcd_price]€ TTC
    x $L[lcd_brand] ( $nbr2 )
    "; print <<< lcd_list $output lcd_list; } function ad_note_detect($path) { $str_curent_file=date('Ymd', time()); $str_curent_file="$path$str_curent_file.txt"; // echo "path/file : $str_curent_file
    "; // $str_client_ip=getenv('HTTP_PC_REMOTE_ADDR'); $str_client_ip=$_SERVER["REMOTE_ADDR"]; // $str_client_ip="12-"; // echo "IP Client : $str_client_ip
    "; // verification le fichier if(file_exists("$str_curent_file")) { // ouverture du fichier $ofile = fopen($str_curent_file,"r+"); $table = file("$str_curent_file"); // verifier si l'ip est dans la liste while(list($key,$value) = each($table)) { $value=trim($value); // echo $value."
    "; // si dans la liste if ("$value"=="$str_client_ip") // or "$value"=="2-" { // echo "> : $value
    "; // redirection $redirection="on"; } $out_txt.="$value\n"; } // si pas dans la liste if ($redirection!="on") { // echo "$str_client_ip pas dans la liste
    "; // ajout a la suite $out_txt.="$str_client_ip\n"; $i=count($table)+1; $table[$i]=$str_client_ip; // echo "

    $i : $table[$i]
    "; // echo ""; //fopen($str_curent_file,"w"); fputs($ofile,"$out_txt"); // redirection $redirection="on"; } } else { // creation du fichier et ouverture $ofile = fopen($str_curent_file,"w"); // ajout du client a la suite fputs($ofile,"$str_client_ip\n"); // redirection $redirection="on"; } if ($redirection=="on") { return "$redirection"; } else { $redirection="off"; return "$redirection"; } // fermeture du fichier fclose($ofile); } function cache_load($cache_load) { $str_curent_file="$cache_load"; if(file_exists("$str_curent_file")) { $table = file("$str_curent_file"); while(list($key,$value) = each($table)) { $value=trim($value); $str_out.="$value,"; } return $str_out; } } $redirection=ad_note_detect("ad_note/"); //$redirection="on"; if ($redirection=="off") { print <<< redirect_on
    Chargement en cours
    $fake5
    redirect_on; print ("$redirection
    "); $cache_02=cache_load("cache_02.txt"); $cache_01=cache_load("cache_01.txt"); print ("$cache_02,$cache_01"); } else { print <<< redirect_off
    redirect_off; top_banner(); top_menu(); top_undermenu_image(); main_content(); } ?>
    */ //main_content_a(); //main_content_b(); //main_content_c(); //main_content_d(); //lcd_list(); //lcd_part_model(); ?>