agrimoto

Utilisateur open source
  • Compteur de contenus

    126
  • Inscrit(e) le

  • Dernière visite


Tout ce qui a été posté par agrimoto

  1. agrimoto a ajouté un sujet dans PEEL SHOPPING : logiciel open source de boutique en ligne   

    page suivant et retour
    bonsoir

    sur la version 6.3

    impossible de faire afficher page suivant ou retour sur le site

    que faut il faire en + de config de l admin pour a voir cette fonction (d origine sous la 6.2 sur 5.7 ect ... )
    • 1 réponse
    • 2 845 vues
  2. agrimoto a ajouté un message dans un sujet  Activation des sessions sur mon hébergement   

    token invalide : tratement deja realise ou referer http non renseigne par votre navigateur

    pas de probleme de se genre sur la 6.2
    • 0
  3. agrimoto a ajouté un message dans un sujet  une petite aide svp   

    merci pour votre reactivitee

    ça marche avec carburateur

    comment rajouter un 2eme mot carburateur booster
    • 0
  4. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    une petite aide svp
    ci joint la ligne de code complete que j ai mise suivant votre conseil
    if (isset($frm['reference_search']) && !empty($frm['reference_search'])) {
    $where .= " AND p.reference = '" . nohtml_real_escape_string($frm['reference_search']) . "' OR p.nom_fr LIKE '%" . nohtml_real_escape_string($frm['reference_search']) . "%";
    }
    ci joint message d erreur dans l admin pour rechercche : carb

    Une erreur de connexion à la base s'est produite SELECT p.* FROM peel_produits p, peel_sites s WHERE 1 AND p.reference = 'carb' OR p.nom_fr LIKE '%carb% AND s.id = '1'.
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1'' at line 3
    • 3 réponses
    • 1 973 vues
  5. agrimoto a ajouté un message dans un sujet  recherche par noms les articles dans l admin   

    bonjour et merci
    ci joint la ligne de code complete que j ai mise suivant votre conseil
    if (isset($frm['reference_search']) && !empty($frm['reference_search'])) {
    $where .= " AND p.reference = '" . nohtml_real_escape_string($frm['reference_search']) . "' OR p.nom_fr LIKE '%" . nohtml_real_escape_string($frm['reference_search']) . "%";
    }
    ci joint message d erreur dans l admin pour rechercche : carb

    Une erreur de connexion à la base s'est produite SELECT p.* FROM peel_produits p, peel_sites s WHERE 1 AND p.reference = 'carb' OR p.nom_fr LIKE '%carb% AND s.id = '1'.
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1'' at line 3
    • 0
  6. agrimoto a ajouté un message dans un sujet  recherche par noms les articles dans l admin   

    merci ça marche
    je cherche a faire ceci

    je cherche le nom d un article exemple : ACIDE ( pas de resultat )
    je cherche le nom d un article exemple : ACIDE DE BATTERIE 1L ça marche avec le mon au complet comment faire pour faire une recherche partiel avec le debut du nom ACID
    • 0
  7. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    recherche par noms les articles dans l admin
    re bonjour
    sous peel 5.7
    dans administration ,gerer les produis ,Choisir vos critères de recherche,
    a l origine recherche Référence du produit :

    je souhaite rajouter en + recherche par noms
    • 5 réponses
    • 1 954 vues
  8. agrimoto a ajouté un message dans un sujet  ref produits les plus achetees   

    re bonjour
    sous peel 5.7
    dans administration gerer les produis Choisir vos critères de recherche

    je souhaite rajouter en plus recherche par noms
    a l origine recherche Référence du produit :
    • 0
  9. agrimoto a ajouté un message dans un sujet  ref produits les plus achetees   

    merci pour la modiffication ça marche
    • 0
  10. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    ref produits les plus achetees
    comment faire apparaitre la ref dans le tableau qui se trouve dans l 'admin marketing produit les plus achetes

    sur une version 5.7
    • 4 réponses
    • 1 719 vues
  11. agrimoto a ajouté un message dans un sujet  recevoir la copie d une commande sur l email de la boutique   


    bon j arrete la ! car je ne suis pas assez fort pour rajouter cette fonction sur mon site en version 5.7
    trouve pas les bon fichiers a mon avis

    merci c est domage car il faut a chaque fois repartir dans l admin pour avoir le detail de ma commande suite a l avis de paiement de paypal bref ....

    je n arrive pas non plus a importer dans une 6.2 mes fichiers csv d une 5.7 plus de compatibilitee ,donc il faut que je me tourne vers une solution cms qui prevoit des mises a jours reel de version sans devoir recommencer le travail a chaque version
    • 0
  12. agrimoto a ajouté un message dans un sujet  recevoir la copie d une commande sur l email de la boutique   

    re bonjour, je suis pas fort en informatique ..

    j ai sur le serveur un dossier achat dans de dossier j ai fin_ commande.php , je ne trouve pas la ligne
    switch ($com->paiement) {

    ci joint mon fichier
    <?php
    // +----------------------------------------------------------------------+
    // | Copyright © 2004-2010 Advisto SAS, service PEEL - contact@peel.fr |
    // +----------------------------------------------------------------------+
    // | This file is part of PEEL Premium 5.71, which is subject to an |
    // | opensource commercial license: you are allowed to customize the code |
    // | for your own needs, but you are NOT entitled to distribute this file |
    // | More information: http://www.peel.fr/l...erciale-71.html|
    // +----------------------------------------------------------------------+
    // | Author: Advisto SAS, RCS 479 205 452, France, http://www.peel.fr/ |
    // +----------------------------------------------------------------------+
    // $Id: fin_commande.php 9143 2010-06-16 01:15:16Z gboussin $
    //
    include("../configuration.inc.php");
    necessite_identification();
    $DOC_TITLE = "[PEEL.FR]";
    define("IN_STEP3", true);
    /* Test pour empêcher d'arriver ici par hasard ou en tapant l'url */
    $caddie_est_vide = ($_SESSION['caddie']->compte_elements() == 0);
    $commande = charge_commande();
    if ($caddie_est_vide || ! $commande) {
    header("Location: $wwwroot/");
    header('Connection: close');
    die();
    }
    /* Création de la commande dans la base, autorise alors le paiement
    * et informe le client que la commande est ok
    */
    $commandeid = cree_commande($commande);
    unset ($_SESSION['wantsurl']);
    include("$repertoire_modele/haut.php");
    affichage_fin_succes();
    include("$repertoire_modele/bas.php");
    ?>

    • 0
  13. agrimoto a ajouté un message dans un sujet  recevoir la copie d une commande sur l email de la boutique   

    re bonjour, je suis pas fort en informatique ..

    j ai sur le serveur un dossier achat dans de dossier j ai fin_ commande.php , je ne trouve pas la ligne
    switch ($com->paiement) {

    ci joint mon fichier
    <?php
    // +----------------------------------------------------------------------+
    // | Copyright © 2004-2010 Advisto SAS, service PEEL - contact@peel.fr |
    // +----------------------------------------------------------------------+
    // | This file is part of PEEL Premium 5.71, which is subject to an |
    // | opensource commercial license: you are allowed to customize the code |
    // | for your own needs, but you are NOT entitled to distribute this file |
    // | More information: http://www.peel.fr/lire/licence-commerciale-71.html|
    // +----------------------------------------------------------------------+
    // | Author: Advisto SAS, RCS 479 205 452, France, http://www.peel.fr/ |
    // +----------------------------------------------------------------------+
    // $Id: fin_commande.php 9143 2010-06-16 01:15:16Z gboussin $
    //
    include("../configuration.inc.php");
    necessite_identification();
    $DOC_TITLE = "[PEEL.FR]";
    define("IN_STEP3", true);
    /* Test pour empêcher d'arriver ici par hasard ou en tapant l'url */
    $caddie_est_vide = ($_SESSION['caddie']->compte_elements() == 0);
    $commande = charge_commande();
    if ($caddie_est_vide || ! $commande) {
    header("Location: $wwwroot/");
    header('Connection: close');
    die();
    }
    /* Création de la commande dans la base, autorise alors le paiement
    * et informe le client que la commande est ok
    */
    $commandeid = cree_commande($commande);
    unset ($_SESSION['wantsurl']);
    include("$repertoire_modele/haut.php");
    affichage_fin_succes();
    include("$repertoire_modele/bas.php");
    ?>
    • 0
  14. agrimoto a ajouté un message dans un sujet  recevoir la copie d une commande sur l email de la boutique   


    lorsque mon client paye sur le site je souhaite recevoir la copie de la commande sur l email de la boutique ,pour l instant juste l avis de paiement de chez paypal

    je nutilise que paypal comme moyen de paiement
    • 1
  15. agrimoto a ajouté un message dans un sujet  recevoir la copie d une commande sur l email de la boutique   

    lorsque mon client paye sur le site je souhaite recevoir la copie de la commande sur l email de la boutique ,pour l instant juste l avis de paiement de chez paypal

    je nutilise que paypal comme moyen de paiement
    • 0
  16. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    recevoir la copie d une commande sur l email de la boutique
    une petite aide svp et grand merci ....
    je suis sur une version peel 5. 7

    je dois avoir un probleme sur le fichier ci joint oder.php

    je cherche a recevoir une copie de la commande sur l email de boutique agrimoto@orange.fr
    pour l instant j ai juste l avis de reception d un paiement de paypal mes pas le detail donc je dois repartir dans l admin de la boutique pour voir de detail

    <?php
    // +----------------------------------------------------------------------+
    // | Copyright © 2004-2010 Advisto SAS, service PEEL - contact@peel.fr |
    // +----------------------------------------------------------------------+
    // | This file is part of PEEL Premium 5.71, which is subject to an |
    // | opensource commercial license: you are allowed to customize the code |
    // | for your own needs, but you are NOT entitled to distribute this file |
    // | More information: http://www.peel.fr/l...erciale-71.html|
    // +----------------------------------------------------------------------+
    // | Author: Advisto SAS, RCS 479 205 452, France, http://www.peel.fr/ |
    // +----------------------------------------------------------------------+
    // $Id: order.php 9240 2010-06-17 13:23:33Z gboussin $
    if (!defined('IN_PEEL')) {
    die();
    }
    /**
    * enregistre_commandeinfo()
    *
    * @param mixed $frm
    * @return
    */
    function Get_bill_number($bill_number_format, $id)
    {
    if (!empty($bill_number_format) && !empty($id)) {
    // on vérifie l'existence d'un format de numéro dans la base, sinon on utilise le numéro insérer par l'utilisateur.
    $sql = "SELECT format_numero_facture FROM `peel_sites` WHERE id = '" . intval($GLOBALS['site_parameters']['id']) . "'";
    $query = query($sql);
    $result = fetch_assoc($query);
    if (strlen($result['format_numero_facture']) != 0) {
    preg_match_all('#\[(.*?)\]#', $bill_number_format, $matches);
    $preg = $matches[1];
    if (!empty($preg)) {
    // On va chercher les valeurs dans les champ de la table qui correspondent aux texte entre crochet du format de facture.
    $sql = "SELECT " . implode(',', $preg) . " FROM peel_commandes WHERE id='" . intval($id) . "'";
    $q = query($sql);
    if ($result = fetch_assoc($q)) {
    foreach($result as $this_column => $this_value) {
    $bill_number_format = str_replace("[" . $this_column . "]", $this_value, $bill_number_format);
    }
    }
    }
    }
    }
    return $bill_number_format;
    }
    function enregistre_commandeinfo(&$frm)
    {
    $commande = array();
    $commande['societe'] = vb($frm['societe']);
    $commande['client1'] = $frm['client1'];
    $commande['contact1'] = $frm['contact1'];
    $commande['email1'] = $frm['email1'];
    $commande['adresse1'] = $frm['adresse1'];
    $commande['code_postal1'] = $frm['code_postal1'];
    $commande['ville1'] = $frm['ville1'];
    $commande['pays1'] = $frm['pays1'];
    $commande['societe2'] = vb($frm['societe2']);
    $commande['client2'] = (empty($frm['client2'])? $frm['client1']:$frm['client2']);
    $commande['contact2'] = (empty($frm['contact2'])? $frm['contact1']:$frm['contact2']);
    $commande['email2'] = (empty($frm['email2'])? $frm['email1']:$frm['email2']);
    $commande['adresse2'] = (empty($frm['adresse2'])? $frm['adresse1']:$frm['adresse2']);
    $commande['code_postal2'] = (empty($frm['code_postal2'])? $frm['code_postal1']:$frm['code_postal2']);
    $commande['ville2'] = (empty($frm['ville2'])? $frm['ville1']:$frm['ville2']);
    $commande['pays2'] = (empty($frm['pays2'])? $frm['pays1']:$frm['pays2']);
    $commande['commentaires'] = $frm['commentaires'];
    $commande['paiement'] = vn($frm['paiement']);
    $commande['cgv'] = vn($frm['cgv']);
    $_SESSION['commande'] = $commande;
    }
    /**
    * charge_commande()
    *
    * @return
    */
    function charge_commande()
    {
    if (empty($_SESSION['commande'])) {
    return false;
    } else {
    return $_SESSION['commande'];
    }
    }
    /**
    * vide_commandeinfo()
    *
    * @return
    */
    function vide_commandeinfo()
    {
    unset($_SESSION['commande']);
    }
    /**
    * Enregistre la commande dans la base
    *
    * @param mixed $commande
    * @return
    */
    function cree_commande(&$commande)
    {
    global $normal;
    global $express;
    global $site;
    global $support;
    global $wwwroot;
    global $commission_affilie;
    global $mode_transport;
    $remise = 0;
    $pays1 = $commande['pays1'];
    if ($mode_transport == 0) {
    $pays2 = $pays1;
    } elseif ($mode_transport == 1) {
    $pays2 = html_entity_decode_if_needed($_SESSION['caddie']->pays);
    } elseif ($mode_transport == 2) {
    $pays2 = $commande['pays2'];
    }
    // Constuit les infos du client en une chaîne
    // Addresse de facturation
    $client_info1 = "";
    if (!empty($commande['societe'])) {
    $client_info1 .= $commande['societe'] . "\n";
    }
    $client_info1 .= $commande['client1'] . "\n"
    . $commande['adresse1'] . "\n"
    . $commande['code_postal1'] . "\n"
    . $commande['ville1'] . "\n"
    . $pays1 . "\n"
    . $commande['contact1'] . "\n"
    . $commande['email1'] . "\n";
    $coord1 = explode(" ", $commande['client1']);
    if (empty($commande['adresse2']) || empty($commande['code_postal2']) || empty($commande['ville2'])) {
    // Addresse de livraison
    $client_info2 = "";
    if (!empty($commande['societe'])) {
    $client_info2 .= $commande['societe'] . "\n";
    }
    $client_info2 .= $commande['client1'] . "\n"
    . $commande['adresse1'] . "\n"
    . $commande['code_postal1'] . " " . $commande['ville1'] . "\n"
    . $pays1 . "\n"
    . $commande['contact1'] . "\n"
    . $commande['email1'] . "\n";
    } else {
    // Addresse de livraison
    $client_info2 = "";
    if (!empty($commande['societe2'])) {
    $client_info2 .= $commande['societe2'] . "\n";
    }
    $client_info2 .= $commande['client2'] . "\n"
    . $commande['adresse2'] . "\n"
    . $commande['code_postal2'] . " " . $commande['ville2'] . "\n"
    . $pays2 . "\n"
    . $commande['contact2'] . "\n"
    . $commande['email2'] . "\n";
    }
    $coord1 = explode(" ", $commande['client1']);
    $coord2 = explode(" ", $commande['client2']);
    /* Le reversement affilié est calculé sur le total ht des produits */
    if (isset($_SESSION['affilie'])) {
    $affilie = 1;
    $statut_affilie = 0;
    $montant_affilie = $_SESSION['caddie']->total_produit * $commission_affilie / 100;
    $id_affilie = intval($_SESSION['affilie']);
    } else {
    $affilie = 0;
    $montant_affilie = 0;
    $statut_affilie = 0;
    $id_affilie = 0;
    }
    $query = query("SELECT format_numero_facture FROM `peel_sites` WHERE id = '" . intval($GLOBALS['site_parameters']['id']) . "'");
    $resultat = fetch_row($query);
    if (!empty($resultat[0])) {
    $numero = $resultat[0];
    } else {
    $numero = '';
    }
    $transport = $_SESSION['caddie']->pays . "|" . $_SESSION['caddie']->zone . "|" . $_SESSION['caddie']->zoneTva . "|" . $_SESSION['caddie']->zoneFranco . "|" . $_SESSION['caddie']->type;
    // Si le caddie correspond à une commande en cours, alors on met à jour la commande en question
    $set_sql = "email = '" . nohtml_real_escape_string($_SESSION['utilisateur']['email']) . "'
    , o_timestamp = now()
    , a_timestamp = now()
    , client_info1 = '" . nohtml_real_escape_string($client_info1) . "'
    , client_info2 = '" . nohtml_real_escape_string($client_info2) . "'
    , commentaires = '" . nohtml_real_escape_string($commande['commentaires']) . "'
    , montant = '" . nohtml_real_escape_string($_SESSION['caddie']->total) . "'
    , montant_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->total_ht) . "'
    , total_option = '" . nohtml_real_escape_string($_SESSION['caddie']->total_option) . "'
    , total_option_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->total_option_ht) . "'
    , tva_total_option = '" . nohtml_real_escape_string($_SESSION['caddie']->tva_total_option) . "'
    , total_produit = '" . nohtml_real_escape_string($_SESSION['caddie']->total_produit) . "'
    , total_produit_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->total_produit_ht) . "'
    , tva_total_produit = '" . nohtml_real_escape_string($_SESSION['caddie']->tva_total_produit) . "'
    , code_promo = '" . nohtml_real_escape_string($_SESSION['caddie']->code_promo) . "'
    , code_cheque = '" . nohtml_real_escape_string($_SESSION['caddie']->code_cheque) . "'
    , code_bon = '" . nohtml_real_escape_string($_SESSION['caddie']->code_bon) . "'
    , numero = '" . nohtml_real_escape_string($numero) . "'
    , percent_remise_groupe = '" . nohtml_real_escape_string($_SESSION['caddie']->percent_remise_groupe) . "'
    , percent_code_promo = '" . nohtml_real_escape_string($_SESSION['caddie']->percent_code_promo) . "'
    , valeur_code_promo = '" . nohtml_real_escape_string($_SESSION['caddie']->valeur_code_promo) . "'
    , valeur_cheque_cadeau = '" . nohtml_real_escape_string($_SESSION['caddie']->valeur_cheque_cadeau) . "'
    , total_remise = '" . nohtml_real_escape_string($_SESSION['caddie']->total_remise) . "'
    , total_remise_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->total_remise_ht) . "'
    , tva_total_remise = '" . nohtml_real_escape_string($_SESSION['caddie']->tva_total_remise) . "'
    , total_tva = '" . nohtml_real_escape_string($_SESSION['caddie']->total_tva) . "'
    , transport = '" . nohtml_real_escape_string($transport) . "'
    , cout_transport = '" . nohtml_real_escape_string($_SESSION['caddie']->cout_transport) . "'
    , cout_transport_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->cout_transport_ht) . "'
    , tva_cout_transport = '" . nohtml_real_escape_string($_SESSION['caddie']->tva_cout_transport) . "'
    , lang = '" . nohtml_real_escape_string($_SESSION['langue']) . "'
    , total_points = '" . nohtml_real_escape_string($_SESSION['caddie']->total_points) . "'
    , points_etat = '0'
    , total_poids = '" . nohtml_real_escape_string($_SESSION['caddie']->total_poids) . "'
    , affilie = '" . nohtml_real_escape_string($affilie) . "'
    , montant_affilie = '" . nohtml_real_escape_string($montant_affilie) . "'
    , statut_affilie = '" . nohtml_real_escape_string($statut_affilie) . "'
    , id_affilie = '" . nohtml_real_escape_string($id_affilie) . "'
    , total_ecotaxe_ttc = '" . nohtml_real_escape_string($_SESSION['caddie']->total_ecotaxe_ttc) . "'
    , total_ecotaxe_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->total_ecotaxe_ht) . "'
    , tva_total_ecotaxe = '" . nohtml_real_escape_string($_SESSION['caddie']->tva_total_ecotaxe) . "'
    , avoir = '" . nohtml_real_escape_string($_SESSION['caddie']->avoir) . "'
    , paiement = '" . nohtml_real_escape_string($_SESSION['caddie']->paiement) . "'
    , tarif_paiement = '" . nohtml_real_escape_string($_SESSION['caddie']->tarif_paiement) . "'
    , tarif_paiement_ht = '" . nohtml_real_escape_string($_SESSION['caddie']->tarif_paiement_ht) . "'
    , tva_tarif_paiement = '" . nohtml_real_escape_string($_SESSION['caddie']->tva_tarif_paiement) . "'
    , prenom_bill = '" . nohtml_real_escape_string(vb($coord1[0])) . "'
    , nom_bill = '" . nohtml_real_escape_string(vb($coord1[1])) . "'
    , adresse_bill = '" . nohtml_real_escape_string($commande['adresse1']) . "'
    , zip_bill = '" . nohtml_real_escape_string($commande['code_postal1']) . "'
    , ville_bill = '" . nohtml_real_escape_string($commande['ville1']) . "'
    , pays_bill = '" . nohtml_real_escape_string($pays1) . "'
    , email_bill = '" . nohtml_real_escape_string($commande['email1']) . "'
    , telephone_bill = '" . nohtml_real_escape_string($commande['contact1']) . "'
    , prenom_ship = '" . nohtml_real_escape_string(vb($coord2[0])) . "'
    , nom_ship = '" . nohtml_real_escape_string(vb($coord2[1])) . "'
    , adresse_ship = '" . nohtml_real_escape_string($commande['adresse2']) . "'
    , zip_ship = '" . nohtml_real_escape_string($commande['code_postal2']) . "'
    , ville_ship = '" . nohtml_real_escape_string($commande['ville2']) . "'
    , pays_ship = '" . nohtml_real_escape_string($pays2) . "'
    , email_ship = '" . nohtml_real_escape_string($commande['email2']) . "'
    , telephone_ship = '" . nohtml_real_escape_string($commande['contact2']) . "'
    , id_parrain = '" . nohtml_real_escape_string(vn($_SESSION['utilisateur']['id_parrain'])) . "'
    , parrain = '" . nohtml_real_escape_string(vb($_SESSION['utilisateur']['type'])) . "'
    , devise = '" . nohtml_real_escape_string($_SESSION['devise']['code']) . "'
    , currency_rate = '" . nohtml_real_escape_string($_SESSION['devise']['conversion']) . "'
    , id_statut_paiement = '1'
    , id_statut_livraison = '1'
    , zone_tva = '" . nohtml_real_escape_string($_SESSION['caddie']->zoneTva) . "'
    , zone_franco = '" . nohtml_real_escape_string($_SESSION['caddie']->zoneFranco) . "'
    , pays = '" . nohtml_real_escape_string($_SESSION['caddie']->pays) . "'
    , zone = '" . nohtml_real_escape_string($_SESSION['caddie']->zone) . "'
    , type = '" . nohtml_real_escape_string($_SESSION['caddie']->type) . "'
    , id_ecom = '" . intval($GLOBALS['site_parameters']['id']) . "'";
    if (!empty($_SESSION['caddie']->commande_id)) {
    $sql = "UPDATE peel_commandes
    SET " . $set_sql . "
    WHERE id_utilisateur='" . intval($_SESSION['utilisateur']['id_utilisateur']) . "' AND id=" . intval($_SESSION['caddie]->commande_id) . "'";
    } else {
    $set_sql .= ", id_utilisateur = '" . intval($_SESSION['utilisateur']['id_utilisateur']) . "'
    , code_facture = '" . MDP() . "'";
    $sql = "INSERT INTO peel_commandes
    SET " . $set_sql;
    }
    query($sql);
    if (!empty($_SESSION['caddie']->commande_id)) {
    $commandeid = $_SESSION['caddie']->commande_id;
    } else {
    $commandeid = insert_id();
    }
    query("UPDATE peel_commandes SET numero = '" . nohtml_real_escape_string(Get_bill_number($numero, $commandeid)) . "' WHERE id = '" . intval($commandeid) . "'");
    if (!empty($_SESSION['caddie']->code_promo)) {
    $sql = "UPDATE peel_utilisateurs_codes_promos SET utilise = '1' WHERE id_utilisateur = '" . intval($_SESSION['utilisateur']['id_utilisateur']) . "' AND nom_code = '" . nohtml_real_escape_string($_SESSION['caddie']->code_promo) . "'";
    query($sql);
    }
    // On supprime puis on rajoute les articles
    $_SESSION['caddie']->save_articles_in_database($commandeid);
    $_SESSION['utilisateur']['remise_percent'] = 0;
    // $_SESSION['utilisateur']['avoir'] = $_SESSION['utilisateur']['avoir'] - $_SESSION['caddie']->avoir;
    $_SESSION['utilisateur']['id_parrain'] = 0;
    $_SESSION['utilisateur']['type'] = ''; #- Suppression du statut filleul
    if (!empty($_SESSION['caddie']->avoir)) {
    $avoir_update = $_SESSION['utilisateur']['avoir'] - $_SESSION['caddie']->avoir;
    } else {
    $avoir_update = 0;
    }
    /* Annule la remise en % du client, supprimer ces lignes si vous souhaitez que les remises client soient permanentes */
    query("UPDATE peel_utilisateurs SET remise_percent = '0', avoir = '" . nohtml_real_escape_string($avoir_update) . "'
    WHERE id_utilisateur = '" . intval($_SESSION['utilisateur']['id_utilisateur']) . "'");
    // Incrémentation du compteur de code promotionnel
    if (!empty($_SESSION['caddie']->code_promo)) {
    query("UPDATE peel_codes_promos SET compteur_utilisation=compteur_utilisation+1
    WHERE nom = '" . nohtml_real_escape_string($_SESSION['caddie']->code_promo) . "'");
    }
    return $commandeid;
    }
    /**
    * email_commande()
    *
    * @param mixed $commandeid
    * @return
    */
    function email_commande($commandeid) {
    global $wwwroot,$dirroot;
    $result = mysql_query("SELECT * FROM peel_commandes WHERE id ='".$commandeid."'");
    $com = mysql_fetch_array($result);
    $result_utilisateur = mysql_query("SELECT * FROM peel_utilisateurs WHERE id_utilisateur ='".$com['id_utilisateur']."'");
    $u = mysql_fetch_array($result_utilisateur);
    $dest=$u['civilite']." ".$u['prenom']." ".$u['nom_famille'];
    $mail = new simplemail;
    $mail -> addrecipient(''.$com['email'].'',''.$com['email'].'');
    $mail -> addfrom('ne-pas-repondre@agrimoto.fr','Service Client Agrimoto');
    $mail -> addsubject('Confirmation de votre commande N°'.$commandeid.' chez Agrimoto');
    // le message texte
    $mail -> text = "\nBonjour ".$dest."\n";
    $mail -> text .= "Votre commande N° ".$commandeid." d'un montant de ".fprix($com['montant'])." Euros TTC a bien été prise en compte.\nVous pouvez retrouver le détail de cette commande dans votre espace client en vous connectant sur =="Chèque") {$avertissement="<sup>(1)</sup><br /><span style='color:red'>(1) Merci de nous faire parvenir votre règlement par chèque, à l'adresse indiquée sur votre facture disponible dans votre espace client, sous dix jours maximum. Passé ce délai, votre commande sera annulée.</span>"; } else {$avertissement="";}
    $mail -> html .="
    <p><b>Résumé de votre commande :</b></p>
    <ul>
    <li>Date de votre commande : ".date("d-m-Y H:i",strtotime($com['o_timestamp']))."</li>
    <li>Montant de votre commande : <b>".fprix($com['montant'])." € <sup>ttc</sup></b><br />Dont frais de port : <b>".fprix($com['cout_transport'])." €</b></li>
    <li>Mode de paiement : ".$com['paiement'].$avertissement."</li>
    <li>Mode de livraison : ".$com['type']."</li>
    </ul>
    <p><strong>Adresse de facturation :</strong></p>
    <div style='width:250px;background:#eee;border:1px solid #ccc;padding:5px;color:#000'>
    ".strtoupper($com['nom_bill'])." ".strtoupper($com['prenom_bill'])."<br />
    ".strtoupper($com['adresse_bill'])."<br />".strtoupper($com['zip_bill'])." ".strtoupper($com['ville_bill'])."<br />".strtoupper($com['pays_bill'])."
    </div>
    <p><strong>Adresse de livraison :</strong></p>
    <div style='width:250px;background:#eee;border:1px solid #ccc;padding:5px;color:#000'>
    ".strtoupper($com['nom_ship'])." ".strtoupper($com['prenom_ship'])."<br />
    ".strtoupper($com['adresse_ship'])."<br />".strtoupper($com['zip_ship'])." ".strtoupper($com['ville_ship'])."<br />".strtoupper($com['pays_ship'])."
    </div>
    <br /><br /><h2 class=tg style='margin-bottom:0'>Détail de votre commande</h2><table style='margin-top:0px'>
    <tr>
    <th class='article'>Article</th>
    <th class='norm'>Quantité/Nom/Prix Unité</th>
    <th class='norm'>Total</th>
    </tr>
    ";
    $qid_items = mysql_query("SELECT oi.*,oi.prix as prixcat, p.* FROM peel_commandes_articles oi,peel_produits p
    WHERE oi.produit_id = p.id AND
    oi.commande_id = '$commandeid'
    ") or die('Erreur SQL !<br>'.$qid_items.'<br>'.mysql_error());
    if (mysql_num_rows($qid_items) >0) {
    $i=1;
    $totalcommande=0;
    while ($prod = mysql_fetch_array($qid_items)) {
    $totalcommande+=fprix($prod['total_prix']);
    if($prod['couleur']!=") {$color="Couleur : ".$prod['couleur];} else {$color="";}
    if($prod['taille']!=") {$size="<br />Taille : ".$prod['taille];} else {$size="";}
    $mail -> addhtmlattachement ( $dirroot.'/upload/'.$prod['image1'].'','cod'.$i.'', 'image/jpeg' );
    $mail ->html .="<tr><td><a href='http://www.agrimoto.fr/'><img src=cid:cod".$i." style='width:120px;float:left;'/></a></td>
    <td style='font-weight:bold;font-variant:small-caps;font-size:12px;'>".$prod["quantite"]." x ".$prod["nom_produit"]." (".fprix($prod['prixcat'])." € <sup>ttc</sup>)<br />".$color.$size."</td>
    <td style='font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#993300'><b>".fprix($prod['total_prix'])." € <sup>ttc</sup></b></td></tr>";
    $mail->html.="<b style='clear:both;'> </b>";
    $i++; }

    }
    $promo=$totalcommande - fprix($com['montant']);
    $mail ->html .="
    <tr>
    <td colspan='2'><b>Frais De Port : </b></td><td><b style='font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#993300'>".fprix($com['cout_transport'])." € <sup><sup>ttc</sup></sup></b></td></tr>
    <tr>
    <td colspan='2'><b>Total : </b></td><td><b style='font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#993300'>".fprix($com['montant'])." € <sup>ttc</sup></b></td></tr>
    </table>
    <p>Vous pouvez dès à présent <a href='".$wwwroot."/membre.php'>accéder à votre compte</a> pour retrouver cette commande dans votre historique.</p>
    <p>Merci pour votre confiance,et a bientot sur notre boutique <br><br<br />
    Retour sur la page d accueil du site <br />
    <a href=http://www.agrimoto.fr>agrimoto.fr</a></p>
    <p>Merci de ne pas répondre à ce mail, il vous a été envoyé par notre service de notification automatique. Pour nous contacter, rendez vous sur notre site, rubrique contact, ou bien en écrivant un mail à agrimoto@orange.fr. Note : Ce mail ne peut tenir lieu de facture et ne vaut pas engagement de livraison des articles commandés. Toute livraison ou exécution de commande est subordonnée au paiement intégral de la commande.</p>
    <br><br><br><br></div>";
    $mail -> sendmail();
    }

    function email_commande_old($commandeid){
    global $wwwroot, $site, $support_commande;
    $result = query("SELECT * FROM peel_commandes WHERE id ='" . intval($commandeid) . "'");
    $com = fetch_object($result);
    $result_utilisateur = query("SELECT * FROM peel_utilisateurs WHERE id_utilisateur ='" . intval($com->id_utilisateur) . "'");
    $u = fetch_object($result_utilisateur);
    $civilite = $u->civilite;
    $prenom = htmlspecialchars_decode_compat_php4($u->prenom, ENT_QUOTES);
    $nom_famille = htmlspecialchars_decode_compat_php4($u->nom_famille, ENT_QUOTES);
    $email = $u->email;
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/plain; charset=iso-8859-1\r\n";
    $headers .= "From: $site <$support_commande>\r\n";
    $object_ok = "[$site] " . ORDER_CONFIRMATION . " $commandeid";
    $message_ok = HELLO . " $civilite $prenom $nom_famille,\n\n";
    $message_ok .= YOUR_ORDER_NUMBER . " $commandeid " . MADE_ON . " " . date($GLOBALS['date_basic_format_short'] . ' ' . $GLOBALS['time_basic_format_short'], strtotime($com->o_timestamp)) . " " . WAS_WELL_SAVED_ON_WEBSITE . " $site.\n\n";
    // $message_ok .= WE_CONFIRM_YOUR_ORDER_ON_WEBSITE . " $site\n n° $commandeid " . MADE_ON . " " . date($GLOBALS['date_basic_format_short'] . ' ' . $GLOBALS['time_basic_format_short'], strtotime($com->o_timestamp)) . " " . WAS_WELL_SAVED_AND_WE_THANK_YOU . ".\n\n";
    // $message_ok .= YOUR_ITEMS_WILL_BE_SENT_WITHIN_15_DAYS . ".\n\n";
    $message_ok .= "---------------------------\n" . YOUR_ORDER_SUMMARY . "\n---------------------------\n\n";
    $message_ok .= AMOUNT . BEFORE_TWO_POINTS . ": " . fprix($com->montant) . " " . EUR_VAT_INCLUDED . "\n";
    $message_ok .= PAYEMENT_MEAN . BEFORE_TWO_POINTS . ": " . $com->paiement . "\n\n";
    $message_ok .= "---------------------------\n" . BILLING_ADDRESS . "\n---------------------------\n\n";
    $message_ok .= htmlspecialchars_decode_compat_php4($com->client_info1, ENT_QUOTES) . "\n\n";
    $message_ok .= "---------------------------\n" . SHIPPING_ADDRESS . "\n---------------------------\n\n";
    $message_ok .= htmlspecialchars_decode_compat_php4($com->client_info2, ENT_QUOTES) . "\n\n";
    $message_ok .= "---------------------------\n" . BOUGHT_ITEMS . "\n---------------------------\n\n";
    $qid_items = query("SELECT oi.*
    FROM peel_commandes_articles oi
    LEFT JOIN peel_produits p ON oi.produit_id = p.id
    WHERE oi.commande_id = '" . intval($commandeid) . "'");
    while ($prod = fetch_assoc($qid_items)) {
    $message_ok .= htmlspecialchars_decode_compat_php4($prod["nom_produit"], ENT_QUOTES) . "\n";
    $message_ok .= ($prod['reference'] != "") ? REFERENCE_MAIL . BEFORE_TWO_POINTS . ": " . htmlspecialchars_decode_compat_php4($prod["reference"], ENT_QUOTES) . "\n" : "";
    $message_ok .= ($prod['taille'] != "") ? SIZE . BEFORE_TWO_POINTS . ": " . htmlspecialchars_decode_compat_php4($prod["taille"], ENT_QUOTES) . "\n" : "";
    $message_ok .= ($prod['couleur'] != "") ? COLOR . BEFORE_TWO_POINTS . ": " . htmlspecialchars_decode_compat_php4($prod["couleur"], ENT_QUOTES) . "\n" : "";
    $message_ok .= QUANTITY . BEFORE_TWO_POINTS . ": " . $prod["quantite"] . "\n";
    $message_ok .= PRICE . BEFORE_TWO_POINTS . ": " . str_replace('€', '€', fprix($prod["total_prix"], true)) . ' ' . TTC . " \n";
    }
    $message_ok .= "\n" . SHIPPING_PRICE . "\n";
    $message_ok .= str_replace('€', '€', fprix($com->cout_transport, true)) . " " . TTC . "\n\n";
    $message_ok .= SEE_YOUR_ORDER_PROGRESSION . BEFORE_TWO_POINTS . ":\n\n";
    $message_ok .= YOUR_ORDER_WILL_APPEAR_IN_YOUR_ACCOUNT . "\n\n";
    $message_ok .= TO_ACCESS_YOUR_ORDERS_HISTORIC . BEFORE_TWO_POINTS . ":\n - " . CLICK_ON_YOUR_ACCOUNT . ",\n - " . PLEASE_LOGIN . "\n - " . CLICK_ON_ORDERS_HISTORIC . ".\n\n";
    $message_ok .= THANK_YOU_FOR_YOUR_CONFIDENCE . ".\n\n";
    $message_ok .= SEE_YOU_SOON_ON_WEBSITE . " $site.\n\n";
    mail($com->email, "$object_ok", "$message_ok", $headers);
    mail($support_commande, "$object_ok", "$message_ok", $headers);
    }
    /**
    * affiche_resume_commande()
    *
    * @param mixed $id
    * @param mixed $affiche_statut
    * @return
    */
    function affiche_resume_commande($id, $affiche_statut)
    {
    global $wwwroot, $site;
    $qid_commande = query('SELECT *
    FROM peel_commandes
    WHERE id = "' . intval($id) . '" AND id_utilisateur = "' . intval($_SESSION['utilisateur']['id_utilisateur']) . '"');
    $commande = fetch_object($qid_commande);
    $qid_items = query('SELECT oi.*
    FROM peel_commandes_articles oi
    LEFT JOIN peel_produits p ON oi.produit_id = p.id
    WHERE commande_id = "' . intval($id) . '"');
    echo '
    <h2>' . ORDER_DETAIL . '</h2>
    <table border="0" width="100%" cellpadding="0" cellspacing="1">
    <caption></caption>
    <tr>
    <td>' . ORDER_NUMBER . BEFORE_TWO_POINTS . ': </td>
    <td>' . $id . '</td>
    </tr>
    <tr>
    <td>' . ORDER_DATE . BEFORE_TWO_POINTS . ':</td>
    <td>' . date($GLOBALS['date_basic_format_short'] . ' ' . $GLOBALS['time_basic_format_long'], strtotime($commande->o_timestamp)) . '</td>
    </tr>
    <tr>
    <td>' . ORDER_AMOUNT . BEFORE_TWO_POINTS . ':</td>
    <td><b>' . fprix($commande->montant, true, $commande->devise, true, $commande->currency_rate) . ' ' . TTC . '</b></td>
    </tr>
    <tr valign="top">
    <td>' . BILL_ADDRESS . BEFORE_TWO_POINTS . ':</td>
    <td colspan="4">' . nl2br($commande->client_info1) . '</td>
    </tr>
    <tr valign="top">
    <td>' . SHIP_ADDRESS . BEFORE_TWO_POINTS . ':</td>
    <td colspan="4">' . nl2br($commande->client_info2) . '</td>
    </tr>
    <tr valign="top">
    <td>' . PAYEMENT . BEFORE_TWO_POINTS . ':</td>
    <td colspan="4">' . $commande->paiement . '</td>
    </tr>
    <tr valign="top">
    <td>' . SHIPPING . BEFORE_TWO_POINTS . ':</td>
    <td colspan="4">' . html_entity_decode_if_needed($commande->type) . '</td>
    </tr>
    ';
    if ($affiche_statut === 1 || $affiche_statut === true) {
    $sql_statut_paiement = 'SELECT id, nom_' . $_SESSION['langue'] . '
    FROM peel_statut_paiement
    WHERE id = "' . intval($commande->id_statut_paiement) . '"';
    $res_statut_paiement = query($sql_statut_paiement);
    $s = fetch_assoc($res_statut_paiement);
    $sql_statut_livraison = 'SELECT id, nom_' . $_SESSION['langue'] . '
    FROM peel_statut_livraison
    WHERE id = "' . intval($commande->id_statut_livraison) . '"';
    $res_statut_livraison = query($sql_statut_livraison);
    $s = fetch_assoc($res_statut_livraison);
    echo '
    <tr>
    <td>' . ORDER_STATUT_PAIEMENT . BEFORE_TWO_POINTS . ':</td>
    <td>' . html_entity_decode_if_needed($s['nom_' . $_SESSION['langue']]) . '</td>
    </tr>
    <tr>
    <td>' . ORDER_STATUT_LIVRAISON . BEFORE_TWO_POINTS . ':</td>
    <td>' . html_entity_decode_if_needed($s['nom_' . $_SESSION['langue']]) . '</td>
    </tr>
    ';
    if ($commande->id_statut_paiement == 3) {
    echo '
    <tr>
    <td class="normal">' . INVOICE . BEFORE_TWO_POINTS . ':</td>
    <td class="normal"><img src="' . $wwwroot . '/images/view_pdf.gif" width="8" height="11" alt="" /><a href="' . $wwwroot . '/factures/commande_pdf.php?code_facture=' . urlencode($commande->code_facture) . '&amp;mode=facture" class="normal">' . PRINT_YOUR_BILL . '</a></td>
    </tr>
    ';
    }
    }
    echo '
    </table>
    <div id="caddie">
    <table border="0" width="100%" class="tablespace">
    <tr>
    <td colspan="5"><h2>' . LIST_PRODUCT . '</h2></td>
    </tr>
    <tr class="caddie">
    <th class="caddie">' . REFERENCE . '</th>
    <th class="caddie">' . ITEM . '</th>
    <th class="caddie" align="center">' . SOLD_PRICE . '</th>
    <th class="caddie" align="center">' . QUANTITY . '</th>
    <th class="caddie" align="center">' . TOTAL_TTC . '</th>
    </tr>
    ';
    while ($prod = fetch_assoc($qid_items)) {
    echo '
    <tr>
    <td>' . $prod['reference'] . '</td>
    <td>' . html_entity_decode_if_needed($prod['nom_produit']);
    if ($prod['nom_attribut'] != '') {
    echo '<br />' . html_entity_decode_if_needed($prod['nom_attribut']);
    echo ($prod['total_prix_attribut'] > 0 ? '<br />' . OPTIONS_COST . BEFORE_TWO_POINTS . ': ' . fprix($prod['total_prix_attribut'], true) : '');
    }
    if ($prod['couleur'] != '') {
    echo '<br />' . COLOR . BEFORE_TWO_POINTS . ': ' . html_entity_decode_if_needed($prod['couleur']) . '.';
    }
    if ($prod['taille'] != '') {
    echo '<br />' . SIZE . BEFORE_TWO_POINTS . ': ' . html_entity_decode_if_needed($prod['taille']) . '.';
    }
    echo '
    </td>
    <td align="center">' . fprix($prod['prix'], true, $commande->devise, true, $commande->currency_rate) . '</td>
    <td align="center">' . $prod['quantite'] . '</td>
    <td align="center">' . fprix($prod['total_prix'], true, $commande->devise, true, $commande->currency_rate) . '</td>
    </tr>';
    }
    echo '
    </table>
    </div>
    ';
    }
    /**
    * send_mail_order_admin()
    *
    * @param mixed $commandeid
    * @return
    */
    function send_mail_order_admin($commandeid)
    {
    global $wwwroot;
    global $site;
    global $support_commande;
    $result = query("SELECT * FROM peel_commandes WHERE id ='" . intval($commandeid) . "'");
    $com = fetch_object($result);
    $message = "La commande $commandeid vient d'être enregistrée sur le site $site" . "\r\n";
    $message .= "Email client : " . $com->email . "\r\n";
    $message .= "Référence commande : " . $com->id . "\r\n";
    $message .= "Montant de la commande : " . str_replace('€', '€', fprix($com->montant, true)) . "\r\n";
    $message .= "Date de la commande : " . return_date_lang($com->o_timestamp) . "\r\n";
    $message .= "Paiement : " . $com->paiement . "\r\n";
    $message .= "Merci de consulter l'interface d'administration de votre site.";

    mail($support_commande, "[$site] Enregistrement de la commande $commandeid", $message, "From: $support_commande");
    }
    ?>
    • 9 réponses
    • 4 037 vues
  17. agrimoto a ajouté un message dans un sujet  Nouvelle version   

    par contre pour les reclamations beaucoup de mal a ce faire entendre ... sauf ci l on re paye bref ..
    ça reste une bonne solution avec un support c est pas le cas pour d autre solutions ...
    • 0
  18. agrimoto a ajouté un message dans un sujet  Nouvelle version   

    pour les ameliorations ( payer par leurs clients a 95% )
    • 0
  19. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    coockies
    boujour a tous ,
    plus possible d ajouter du jour au lendemain un article dans le panier sans avoir ce message !

    lien du site www.agrimoto.fr

    Rappel
    Commander sur agrimoto nécessite que vous acceptiez les cookies en provenance de notre site, ceci afin de garder une trace des produits que vous mettez dans votre panier durant votre visite. Ces cookies ne sont utilisés qu'à cette seule fin.

    Si votre navigateur accepte les cookies et que vous n'arrivez toujours pas à commander, essayez de recommencer votre achat (il se peut que cela soit un problème technique temporaire sur nos serveurs)

    Pour toutes vos demandes d'informations, vous pouvez nous contacter via ce formulaire

    Pour vérifier si votre navigateur accepte les cookies :

    Mozilla Firefox 3.x
    Outils > Options > Vie privée
    Choisir "Accepter les Cookies"

    Safari 4.x
    Édition > Préférences... > Sécurité
    Choisir "Accepter les Cookies : Provenant seulement des sites que je visite"

    Google Chrome 5.x
    Options > Options avancées > Paramètres de contenu... > Cookies
    Choisir "Autoriser le stockage des données locales"

    Internet Explorer 8.x 7.x 6.x
    Menu Outils > Options Internet
    Onglet Confidentialité > Avancé
    Cocher la case "Ignorer la gestion automatique des cookies" et "Toujours autoriser les cookies de la session"


    Netscape 6.x
    Menu Edition > Préférences ...
    Confidentialité et sécurité > Cookies
    Choisir accepter les cookies
    • 1 réponse
    • 1 898 vues
  20. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    une petite aide !
    bonjour ,

    a partir du fichier screen.css je cherche a pouvoir re centrer les images dans mes fiches articles
    ci joint lien du site http://www.agrimoto.fr

    merci a tous !
    • 0 réponse
    • 1 726 vues
  21. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    insertion d une ligne
    bonjour a tous , voila je cherche juste a inserer un message dans mon fichier historique_commades.php

    "veuillez consulter la rubrique informations" je cherche a placer ce type de message dans la page qui "s affiche " sur le site juste avant historique des commandes


    merci
    • 1 réponse
    • 1 535 vues
  22. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    recherche a partir de la reference
    bonjour a tous ,
    comment puis je dans la fonction recherche du site ( inclure la ref de l articles en + dans la recherche )
    mon client m indique la reference de l article je cherche a la retrouver au plus vite
    • 1 réponse
    • 1 835 vues
  23. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    selection articles
    comment puis je par exemple vider tous les articles dans la box promotions du site en une seul fois et non un par un dans l admin
    rajout de ligne de code et dans quel fichier du site
    • 1 réponse
    • 1 701 vues
  24. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    recherche produits
    comment dans l admin puis je avoir le moyen de pouvoir rechercher les produits part leurs noms des et non pas uniquement par la ref a partir le champs (Référence du produit : ) rendre cette fonction alphanumerique et alphabetique

    une ligne de code a rajouter ? beaucoup plus convivial a mon avis pour la recherche auriez vous cette ligne de code a disposition et dans quel fichier l inserer merci a vous tous !
    • 1 réponse
    • 1 646 vues
  25. agrimoto a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    image de fond
    comment puis je avoir l image de fond de mon site cadrer suivant les differentes taille d ecran 21 px c est bon sur 15 px decallage du fond vers la droite

    http://www.agrimoto.fr/peel/

    ci joint debut du script

    html, body, table, tr, td, li, form, input, select, textarea, div, span, img, a, b, p, h1, h2, h3, h4 {
    font-family: Arial, Helvetica, sans-serif;
    }
    html, body, form {
    margin: 0px;
    padding: 0px;
    }
    body {
    background-image: url('roulement.jpg');background-repeat: repeat;
    color: #000000;
    font-size: 76%;
    }
    table, th, td, input, select {
    font-size: 100%;
    }
    • 1 réponse
    • 2 059 vues

Twitter Advisto ecommerce

Facebook PEEL Shopping