noya_m

Utilisateur open source
  • Compteur de contenus

    314
  • Inscrit(e) le

  • Dernière visite


Tout ce qui a été posté par noya_m

  1. noya_m a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    probleme de script
    Bonjour,
    j'ai un probleme quand je clic sur ajouter produit, j'ai cette page qui s'afiche....
    et je ne vois pas le probleme !!!!

    QQ'un peut me m'aider
    Merci
    http://boutique-enligne.com/gisserot/

    Warning: Cannot use a scalar value as an array in /home/boutiquem/www/gisserot/lib/class/caddie.php on line 180

    Warning: Cannot use a scalar value as an array in /home/boutiquem/www/gisserot/lib/class/caddie.php on line 181

    Warning: Cannot modify header information - headers already sent by (output started at /home/boutiquem/www/gisserot/lib/class/caddie.php:180) in /home/boutiquem/www/gisserot/achat/caddie_ajout.php on line 288

    *********voici mes 2 pages*********

    voici ma page caddie_ajout.php


    voici ma page lib/class/caddie.php

    • 2 réponses
    • 2 098 vues
  2. noya_m a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    Probleme meta_desc
    Bonjour,

    sur ma page d'accueil les meta title + descipt + keyword sont là.

    Ttefois des que je choisis (clic) sur une categorie je n'ai plus les met_desc

    Comment puis je faire pour y remedier
    Merci
    • 4 réponses
    • 2 748 vues
  3. noya_m a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    catalogue open source
    Bonjour,
    je souhaiterais developper un catalogue avec cet open source de http://w3net.eu/xmdb/

    Pensez vous que cela est possible et que l'on puisse l'adapter a peel premiun

    Merci
    • 0 réponse
    • 1 784 vues
  4. noya_m a ajouté un message dans un sujet  Aérer ma page index   

    Bonjour,

    mets des <br> entre tes tableaux
    • 0
  5. noya_m a ajouté un message dans un sujet  referencement   


    Dans le doute je preferais poser la question
    merci a vous
    • 0
  6. noya_m a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    referencement
    Bonjour,

    j'aurais voulu avoir qq informations concernant le rewriting url
    Quelle est la meilleure ecriture

    http://www.produits-bretons.fr/cat-Culture...retagne-90.html

    .... cat-Culture-et-musique-bretonnes,livres-de-bretagne,pays-celtiques,contes-et-legendes-de-la-bretagne-90.html
    ou
    http://www.produits-bretons.fr/cat-musique...retagne-90.html
    .... cat-musique-livres-de-bretagne-90.html

    La 1ere n'est-elle pas trop longue pour les moteurs de recherche?
    Est ce que je met trop de mots cles dans l'url?

    Pouvez vous me donner votre avis
    Merci
    • 2 réponses
    • 2 013 vues
  7. noya_m a ajouté un message dans un sujet  Systeme de note produit   


    C'est a dire un veritable risque et ou
    Merci
    • 0
  8. noya_m a ajouté un message dans un sujet  Renommer les images   

    Pouvez vous mettre le code final
    merci
    • 0
  9. noya_m a ajouté un message dans un sujet  Renommer les images   

    bonjour,
    avez vous reussis a nommer les photos avec les noms de produits?
    merci
    • 0
  10. noya_m a ajouté un message dans un sujet  Systeme de note produit   

    Bonjour,

    ci joint la table :

    CREATE TABLE `ratings2` (
    `id` varchar(11) collate utf8_unicode_ci NOT NULL default '',
    `total_votes` int(11) NOT NULL default '0',
    `total_value` int(11) NOT NULL default '0',
    `used_ips` longtext collate utf8_unicode_ci NOT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

    ****************************
    page config-rating.php

    exemple:
    $rating_dbhost = 'localhost';
    $rating_dbuser = 'root';
    $rating_dbpass = '';
    $rating_dbname = 'produits_bretons';
    $rating_tableName = 'ratings2';
    $rating_path_db = 'http://localhost/00_produitbreton/achat/modeles/';
    $rating_path_rpc = 'http://localhost/00_produitbreton/achat/modeles/';


    ****************************
    voir en bas de cette page

    <?php

    function rating_bar($id,$units='',$static='') {

    require('_config-rating.php'); // get the db connection info

    //set some variables
    $ip = $_SERVER['REMOTE_ADDR'];
    if (!$units) {$units = 10;}
    if (!$static) {$static = FALSE;}

    // get votes, values, ips for the current rating bar
    $query=mysql_query("SELECT total_votes, total_value, used_ips FROM $rating_dbname.$rating_tableName WHERE id='$id' ")or die(" Error: ".mysql_error());


    // insert the id in the DB if it doesn't exist already
    // see: http://www.masugadesign.com/the-lab/script...ar/#comment-121
    if (mysql_num_rows($query) == 0) {
    $sql = "INSERT INTO $rating_dbname.$rating_tableName (`id`,`total_votes`, `total_value`, `used_ips`) VALUES ('$id', '0', '0', '')";
    $result = mysql_query($sql);
    }

    $numbers=mysql_fetch_assoc($query);


    if ($numbers['total_votes'] < 1) {
    $count = 0;
    } else {
    $count=$numbers['total_votes']; //how many votes total
    }
    $current_rating=$numbers['total_value']; //total number of rating added together and stored
    $tense=($count==1) ? "vote" : "votes"; //plural form votes/vote

    // determine whether the user has voted, so we know how to draw the ul/li
    $voted=mysql_num_rows(mysql_query("SELECT used_ips FROM $rating_dbname.$rating_tableName WHERE used_ips LIKE '%".$ip."%' AND id='".$id."' "));

    // now draw the rating bar
    $rating_width = @number_format($current_rating/$count,2)*$rating_unitwidth;
    $rating1 = @number_format($current_rating/$count,1);
    $rating2 = @number_format($current_rating/$count,2);


    if ($static == 'static') {

    $static_rater = array();
    $static_rater[] .= "\n".'<div class="ratingblock">';
    $static_rater[] .= '<div id="unit_long'.$id.'">';
    $static_rater[] .= '<ul id="unit_ul'.$id.'" class="unit-rating" style="width:'.$rating_unitwidth*$units.'px;">';
    $static_rater[] .= '<li class="current-rating" style="width:'.$rating_width.'px;">Currently '.$rating2.'/'.$units.'</li>';
    $static_rater[] .= '</ul>';
    $static_rater[] .= '<p class="static">'.$id.'. Rating: <strong> '.$rating1.'</strong>/'.$units.' ('.$count.' '.$tense.' cast) <em>This is \'static\'.</em></p>';
    $static_rater[] .= '</div>';
    $static_rater[] .= '</div>'."\n\n";

    return join("\n", $static_rater);


    } else {

    $rater ='';
    $rater.='<div class="ratingblock">';
    // $rater.=($count==1) ? "Soyez le 1 er a mettre une note a ce produit" : "Votez"; //plural form votes/vote
    $rater.='<div id="unit_long'.$id.'">';
    $rater.=' <ul id="unit_ul'.$id.'" class="unit-rating" style="width:'.$rating_unitwidth*$units.'px;">';
    $rater.=' <li class="current-rating" style="width:'.$rating_width.'px;">Currently '.$rating2.'/'.$units.'</li>';

    for ($ncount = 1; $ncount <= $units; $ncount++) { // loop from 1 to the number of units
    if(!$voted) { // if the user hasn't yet voted, draw the voting stars
    $rater.='<li><a href="http://localhost/00_produitbreton/achat/modeles/db.php?j='.$ncount.'&q='.$id.'&t='.$ip.'&c='.$units.'" title="'.$ncount.' out of '.$units.'" class="r'.$ncount.'-unit rater" rel="nofollow">'.$ncount.'</a></li>';
    }
    }
    $ncount=0; // resets the count

    $rater.=' </ul>';
    $rater.=' <p';
    if($voted){ $rater.=' class="voted"'; }
    $rater.='> Résultat : <strong> '.$rating1.'</strong>/'.$units.' ('.$count.' '.$tense.' )';
    $rater.=' </p>';
    $rater.='</div>';
    $rater.='</div>';
    return $rater;
    }
    }
    ?>



    voila
    • 0
  11. noya_m a ajouté un message dans un sujet  PEEL V3.0 BETA   

    Bonjour,
    non de l'autre pardon
    • 0
  12. noya_m a ajouté un message dans un sujet  PEEL V3.0 BETA   

    Bonjour,

    édition de facture en PDF : elle existe deja ;) prquoi réinventer la roue ! (version 3 et 4)
    • 0
  13. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    Bonjour,
    concernant les accents avez vous trouvé qqchose d'autre car c'est un peu chiant ....

    Merci
    • 0
  14. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    Bonjour,

    Cela marche ttefois les accent ne passent tjrs pas .... les è ou é deviennent des ? et donc fausses les nom des produits qui deviennent introuvable

    je continue a chercher ....
    • 0
  15. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    Pouvez vous mettre le code de test.php sur cette page
    Merci
    • 0
  16. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    Salut,
    envois moi tes fichiers afin de le mettre dans ton code en privé


    • 0
  17. noya_m a ajouté un message dans un sujet  Comment ne plus mettre de code ??   

    superbe rien a faire, je ne le connaissais pas
    • 0
  18. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    c'etait une suggestion car moi ca ne marche pas non plus :rolleyes:
    • 0
  19. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    Et si avec votre editeur de txt vous encodez directement en utf-8

    voir enregistrer sous + codage
    • 0
  20. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    Bonjour,
    bien je vois que cela interesse :rolleyes:
    Merci a vous 3dvf, atila-diffusion
    • 0
  21. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    UP
    • 0
  22. noya_m a ajouté un sujet dans Module PEEL Premium pour PEEL SHOPPING   

    meta name="description" content=""
    bonjour,

    comment faire afin de faire apparaitre dans une categorie les meta description inscritent dans la partie reserve a <meta name="description" content="">

    Dans mes codes sources les meta description concernant les categories ne s'inscrivent pas ; j'ai seulement le title et les keyword, prtant je les inscris bien dans le back Office

    Merci
    • 1 réponse
    • 1 790 vues
  23. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    ptite question bete je mets cela ou ;-)

    merci
    • 0
  24. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    <?php



    $aUsers = array(
    "Caramel beurre salé",
    "Altman, Alisha",
    "Archibald, Janna",
    "Auman, Cody",
    "Bagley, Sheree",
    "Ballou, Wilmot",
    "Bard, Cassian",
    "Bash, Latanya",
    "Beail, May",
    "Black, Lux",
    "Bloise, India",
    "Blyant, Nora",
    "Bollinger, Carter",
    "Burns, Jaycob",
    "Carden, Preston",
    "Carter, Merrilyn",
    "Christner, Addie",
    "Churchill, Mirabelle",
    "Conkle, Erin",
    "Countryman, Abner",
    "Courtney, Edgar",
    "Cowher, Antony",
    "Craig, Charlie",
    "Cram, Zacharias",
    "Cressman, Ted",
    "Crissman, Annie",
    "Davis, Palmer",
    "Downing, Casimir",
    "Earl, Missie",
    "Eckert, Janele",
    "Eisenman, Briar",
    "Fitzgerald, ######",
    "Fleming, Sidney",
    "Fuchs, Bridger",
    "Fulton, Rosalynne",
    "Fye, Webster",
    "Geyer, Rylan",
    "Greene, Charis",
    "Greif, Jem",
    "Guest, Sarahjeanne",
    "Harper, Phyllida",
    "Hildyard, Erskine",
    "Hoenshell, Eulalia",
    "Isaman, Lalo",
    "James, Diamond",
    "Jenkins, Merrill",
    "Jube, Bennett",
    "Kava, Marianne",
    "Kern, Linda",
    "Klockman, Jenifer",
    "Lacon, Quincy",
    "Laurenzi, Leland",
    "Leichter, Jeane",
    "Leslie, Kerrie",
    "Lester, Noah",
    "Llora, Roxana",
    "Lombardi, Polly",
    "Lowstetter, Louisa",
    "Mays, Emery",
    "Mccullough, Bernadine",
    "Mckinnon, Kristie",
    "Meyers, Hector",
    "Monahan, Penelope",
    "Mull, Kaelea",
    "Newbiggin, Osmond",
    "Nickolson, Alfreda",
    "Pawle, Jacki",
    "Paynter, Nerissa",
    "Pinney, Wilkie",
    "Pratt, Ricky",
    "Putnam, Stephanie",
    "Ream, Terrence",
    "Rumbaugh, Noelle",
    "Ryals, Titania",
    "Saylor, Lenora",
    "Schofield, Denice",
    "Schuck, John",
    "Scott, Clover",
    "Smith, Estella",
    "Smothers, Matthew",
    "Stainforth, Maurene",
    "Stephenson, Phillipa",
    "Stewart, Hyram",
    "Stough, Gussie",
    "Strickland, Temple",
    "Sullivan, Gertie",
    "Swink, Stefanie",
    "Tavoularis, Terance",
    "Taylor, Kizzy",
    "Thigpen, Alwyn",
    "Treeby, Jim",
    "Trevithick, Jayme",
    "Waldron, Ashley",
    "Wheeler, Bysshe",
    "Whishaw, Dodie",
    "Whitehead, Jericho",
    "Wilks, Debby",
    "Wire, Tallulah",
    "Woodworth, Alexandria",
    "Zaun, Jillie"
    );


    $aInfo = array(
    "Bedfordshire",
    "Buckinghamshire",
    "Cambridgeshire",
    "Cheshire",
    "Cornwall",
    "Cumbria",
    "Derbyshire",
    "Devon",
    "Dorset",
    "Durham",
    "East Sussex",
    "Essex",
    "Gloucestershire",
    "Hampshire",
    "Hertfordshire",
    "Kent",
    "Lancashire",
    "Leicestershire",
    "Lincolnshire",
    "Norfolk",
    "Northamptonshire",
    "Northumberland",
    "North Yorkshire",
    "Nottinghamshire",
    "Oxfordshire",
    "Shropshire",
    "Somerset",
    "Staffordshire",
    "Suffolk",
    "Surrey",
    "Warwickshire",
    "West Sussex",
    "Wiltshire",
    "Worcestershire",
    "Durham",
    "East Sussex",
    "Essex",
    "Gloucestershire",
    "Hampshire",
    "Hertfordshire",
    "Kent",
    "Lancashire",
    "Leicestershire",
    "Lincolnshire",
    "Norfolk",
    "Northamptonshire",
    "Northumberland",
    "North Yorkshire",
    "Nottinghamshire",
    "Oxfordshire",
    "Shropshire",
    "Somerset",
    "Staffordshire",
    "Suffolk",
    "Surrey",
    "Warwickshire",
    "West Sussex",
    "Wiltshire",
    "Worcestershire",
    "Durham",
    "East Sussex",
    "Essex",
    "Gloucestershire",
    "Hampshire",
    "Hertfordshire",
    "Kent",
    "Lancashire",
    "Leicestershire",
    "Lincolnshire",
    "Norfolk",
    "Northamptonshire",
    "Northumberland",
    "North Yorkshire",
    "Nottinghamshire",
    "Oxfordshire",
    "Shropshire",
    "Somerset",
    "Staffordshire",
    "Suffolk",
    "Surrey",
    "Warwickshire",
    "West Sussex",
    "Wiltshire",
    "Worcestershire",
    "Durham",
    "East Sussex",
    "Essex",
    "Gloucestershire",
    "Hampshire",
    "Hertfordshire",
    "Kent",
    "Lancashire",
    "Leicestershire",
    "Lincolnshire",
    "Norfolk",
    "Northamptonshire",
    "Northumberland",
    "North Yorkshire",
    "Nottinghamshire"
    );


    $input = strtolower( $_GET['input'] );
    $len = strlen($input);


    $aResults = array();

    if ($len)
    {
    for ($i=0;$i<count($aUsers);$i++)
    {
    // had to use utf_decode, here
    // not necessary if the results are coming from mysql
    //
    if (strtolower(substr(utf8_decode($aUsers[$i]),0,$len)) == $input)
    $aResults[] = array( "id"=>($i+1) ,"value"=>htmlspecialchars($aUsers[$i]), "info"=>htmlspecialchars($aInfo[$i]) );

    //if (stripos(utf8_decode($aUsers[$i]), $input) !== false)
    // $aResults[] = array( "id"=>($i+1) ,"value"=>htmlspecialchars($aUsers[$i]), "info"=>htmlspecialchars($aInfo[$i]) );
    }
    }





    header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
    header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
    header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
    header ("Pragma: no-cache"); // HTTP/1.0



    if (isset($_REQUEST['json']))
    {
    header("Content-Type: application/json");

    echo "{\"results\": [";
    $arr = array();
    for ($i=0;$i<count($aResults);$i++)
    {
    $arr[] = "{\"id\": \"".$aResults[$i]['id']."\", \"value\": \"".$aResults[$i]['value']."\", \"info\": \"\"}";
    }
    echo implode(", ", $arr);
    echo "]}";
    }
    else
    {
    header("Content-Type: text/xml");

    echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?><results>";
    for ($i=0;$i<count($aResults);$i++)
    {
    echo "<rs id=\"".$aResults[$i]['id']."\" info=\"".$aResults[$i]['info']."\">".$aResults[$i]['value']."</rs>";
    }
    echo "</results>";
    }
    ?>
    • 0
  25. noya_m a ajouté un message dans un sujet  champ de recherche auto-suggestif   

    en gros ce que je voudrais c'est juste faire apparaitre le nom du produit
    style :

    <?php

    header('Content-type: text/xml; charset=utf-8');

    $mysql_db = @mysql_connect("localhost", "root", "root");
    @mysql_select_db("ajaxAppli");

    $query = "SELECT * FROM `peel_produits`";
    $result = @mysql_query($query);

    if (mysql_num_rows($result) > 0) {
    print "<list>";
    while ($article = mysql_fetch_array($result)) {

    print "<item>";

    print "<libele>". $article['nom_fr']."</libele>"; //===> pour l'auto suggestion (voir www.produits-bretons.fr et taper J )
    print "</item>";

    }
    print "</list>";

    }


    ?>
    • 0

Twitter Advisto ecommerce

Facebook PEEL Shopping