<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" version="2.0">

<channel>
	<title>Julien Breux</title>
	
	<link>http://www.julien-breux.com</link>
	<description>Consultant - Développeur Expert PHP et ECMAScript objet</description>
	<pubDate>Tue, 07 Jul 2009 20:22:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/JulienBreux" type="application/rss+xml" /><item>
		<title>Ce qui a marqué la journée ?</title>
		<link>http://www.julien-breux.com/2009/07/07/ce-qui-a-marque-la-journee/</link>
		<comments>http://www.julien-breux.com/2009/07/07/ce-qui-a-marque-la-journee/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 20:22:07 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/2009/07/07/ce-qui-a-marque-la-journee/</guid>
		<description><![CDATA[Sortie de VLC en version 1.
Google Mail soit GMail n&#8217;est plus en bêta !
]]></description>
			<content:encoded><![CDATA[<p>Sortie de VLC en version 1.</p>
<p>Google Mail soit GMail n&#8217;est plus en bêta !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/07/07/ce-qui-a-marque-la-journee/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sortie de PHP5.3 et Firefox 3.5</title>
		<link>http://www.julien-breux.com/2009/06/30/sortie-de-php53-et-firefox-35/</link>
		<comments>http://www.julien-breux.com/2009/06/30/sortie-de-php53-et-firefox-35/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:18:31 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/2009/06/30/sortie-de-php53-et-firefox-35/</guid>
		<description><![CDATA[Tout est dans le titre : Sortie de PHP5.3 et Firefox 3.5
]]></description>
			<content:encoded><![CDATA[<p>Tout est dans le titre : Sortie de PHP5.3 et Firefox 3.5</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/06/30/sortie-de-php53-et-firefox-35/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Prestaboard] Le tableau de bord de Prestashop !</title>
		<link>http://www.julien-breux.com/2009/06/22/prestaboard-le-tableau-de-bord-de-prestashop/</link>
		<comments>http://www.julien-breux.com/2009/06/22/prestaboard-le-tableau-de-bord-de-prestashop/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 00:41:57 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Modules]]></category>

		<category><![CDATA[Prestashop]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=166</guid>
		<description><![CDATA[
Après quelles que heures de finalisation&#8230; ta..ta&#8230;da..dammmm
Le site PrestaBoard ouvre ses petites portes !
Le site n&#8217;est qu&#8217;au début et promet un bel avenir  heu&#8230; le module aussi !!
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.prestaboard.com"><img class="aligncenter" src="http://www.prestaboard.com/public/gfx/logo/prestaboard.gif" alt="Prestaboard" /></a></p>
<p style="text-align: left;">Après quelles que heures de finalisation&#8230; ta..ta&#8230;da..dammmm</p>
<p style="text-align: left;">Le site PrestaBoard ouvre ses petites portes !</p>
<p style="text-align: left;">Le site n&#8217;est qu&#8217;au début et promet un bel avenir <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> heu&#8230; le module aussi !!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/06/22/prestaboard-le-tableau-de-bord-de-prestashop/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Prestastore] Tutoriel !</title>
		<link>http://www.julien-breux.com/2009/06/05/prestastore-tutoriel/</link>
		<comments>http://www.julien-breux.com/2009/06/05/prestastore-tutoriel/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 13:43:33 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Prestashop]]></category>

		<category><![CDATA[modules]]></category>

		<category><![CDATA[prestastore]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=163</guid>
		<description><![CDATA[Dès ce soir découvrez le tutoriel sur Prestastore, et de nombreux modules  
]]></description>
			<content:encoded><![CDATA[<p>Dès ce soir découvrez le tutoriel sur Prestastore, et de nombreux modules <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/06/05/prestastore-tutoriel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Prestashop] Réécriture URL 1and1</title>
		<link>http://www.julien-breux.com/2009/05/31/prestashop-reecriture-url-1and1/</link>
		<comments>http://www.julien-breux.com/2009/05/31/prestashop-reecriture-url-1and1/#comments</comments>
		<pubDate>Sun, 31 May 2009 11:41:23 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=159</guid>
		<description><![CDATA[Petite aide pour la réécriture d&#8217;URL chez 1and1 et Prestashop
Voici le contenu du fichier .htaccess que vous devriez avoir pour un Prestashop en pleine forme.

# Julien BREUX - htaccess 1and1 - V1
# URL rewriting module activation
RewriteEngine on
RewriteBase /
&#160;
# FORCE WWW
RewriteCond %{HTTP_HOST} ^votre-site.com$
RewriteRule ^(.*) http://www.votre-site.com/  [QSA,L,R=301]
&#160;
# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule [...]]]></description>
			<content:encoded><![CDATA[<p>Petite aide pour la réécriture d&#8217;URL chez 1and1 et Prestashop</p>
<p>Voici le contenu du fichier .htaccess que vous devriez avoir pour un Prestashop en pleine forme.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># Julien BREUX - htaccess 1and1 - V1
# URL rewriting module activation
RewriteEngine on
RewriteBase /
&nbsp;
# FORCE WWW
RewriteCond %{HTTP_HOST} ^votre-site.com$
RewriteRule ^(.*) http://www.votre-site.com/  [QSA,L,R=301]
&nbsp;
# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
&nbsp;
# Catch 404 errors
ErrorDocument 404 /404.php
&nbsp;
# PHP5
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/05/31/prestashop-reecriture-url-1and1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Prestashop] Lister les (sous) catégories</title>
		<link>http://www.julien-breux.com/2009/05/22/prestashop-lister-les-sous-categories/</link>
		<comments>http://www.julien-breux.com/2009/05/22/prestashop-lister-les-sous-categories/#comments</comments>
		<pubDate>Fri, 22 May 2009 08:38:29 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Prestashop]]></category>

		<category><![CDATA[catégories]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=151</guid>
		<description><![CDATA[Lister les (sous) catégories sous Prestashop (v1.x)
Lister les catégories:

&#60;?php
include&#40;dirname&#40;__FILE__&#41;.'/config/config.inc.php'&#41;;
require_once&#40;dirname&#40;__FILE__&#41;.'/init.php'&#41;;
&#160;
$categories = Category::getHomeCategories&#40;intval&#40;$cookie-&#62;id_lang&#41;, true&#41;;
&#160;
foreach&#40;$categories as $categorie&#41;
  echo '&#60;a href=&#34;'.__PS_BASE_URI__.&#40;&#40;intval&#40;Configuration::get&#40;'PS_REWRITING_SETTINGS'&#41;&#41; === 1&#41; ? $categorie&#91;'link_rewrite'&#93; : 'category.php?id_category='.$categorie&#91;'id_category'&#93;&#41;.'&#34;&#62;'.$categorie&#91;'name'&#93;.'&#60;/a&#62;&#60;br /&#62;';
?&#62;

Lister les sous catégories de façon hiérarchique:

&#60;?php
include&#40;dirname&#40;__FILE__&#41;.'/config/config.inc.php'&#41;;
require_once&#40;dirname&#40;__FILE__&#41;.'/init.php'&#41;;
&#160;
$categTree = Category::getRootCategory&#40;&#41;-&#62;recurseLiteCategTree&#40;0&#41;;
&#160;
function constructTreeNode&#40;$node&#41;&#123;
    $ret = '&#60;li&#62;'.&#34;\n&#34;;
    $ret .= '&#60;a href=&#34;'.$node&#91;'link'&#93;.'&#34; title=&#34;'.strip_tags&#40;$node&#91;'desc'&#93;&#41;.'&#34;&#62;'.$node&#91;'name'&#93;.'&#60;/a&#62;'.&#34;\n&#34;;
    if&#40;!empty&#40;$node&#91;'children'&#93;&#41;&#41;
    [...]]]></description>
			<content:encoded><![CDATA[<h1>Lister les (sous) catégories sous Prestashop (v1.x)</h1>
<h2>Lister les catégories:</h2>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/init.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$categories</span> <span style="color: #339933;">=</span> Category<span style="color: #339933;">::</span><span style="color: #004000;">getHomeCategories</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cookie</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id_lang</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$categories</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$categorie</span><span style="color: #009900;">&#41;</span>
  <span style="color: #990000;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span><span style="color: #339933;">.</span>__PS_BASE_URI__<span style="color: #339933;">.</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span>Configuration<span style="color: #339933;">::</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PS_REWRITING_SETTINGS'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">===</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$categorie</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link_rewrite'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">'category.php?id_category='</span><span style="color: #339933;">.</span><span style="color: #000088;">$categorie</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id_category'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$categorie</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;&lt;br /&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h2>Lister les sous catégories de façon hiérarchique:</h2>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/init.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$categTree</span> <span style="color: #339933;">=</span> Category<span style="color: #339933;">::</span><span style="color: #004000;">getRootCategory</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">recurseLiteCategTree</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> constructTreeNode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$ret</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;li&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$ret</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; title=&quot;'</span><span style="color: #339933;">.</span><span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'desc'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'children'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$ret</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;ul&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'children'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$child</span><span style="color: #009900;">&#41;</span>
            <span style="color: #000088;">$ret</span> <span style="color: #339933;">.=</span> constructTreeNode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$child</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$ret</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;/ul&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000088;">$ret</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;/li&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$ret</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$ulTree</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;div class=&quot;tree-top&quot;&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$categTree</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/div&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ulTree</span> <span style="color: #339933;">.=</span>  <span style="color: #0000ff;">'&lt;ul class=&quot;tree&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$categTree</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'children'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$child</span><span style="color: #009900;">&#41;</span>
    <span style="color: #000088;">$ulTree</span> <span style="color: #339933;">.=</span> constructTreeNode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$child</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$ulTree</span> <span style="color: #339933;">.=</span>  <span style="color: #0000ff;">'&lt;/ul&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">echo</span> <span style="color: #000088;">$ulTree</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h2>Lister les sous catégories de façon linéaire</h2>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/config/config.inc.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/init.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$separator</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'|'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$categTree</span> <span style="color: #339933;">=</span> Category<span style="color: #339933;">::</span><span style="color: #004000;">getRootCategory</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">recurseLiteCategTree</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> constructTreeNode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #339933;">,</span> <span style="color: #000088;">$separator</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$return</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&amp;nbsp;&lt;a href=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; title=&quot;'</span><span style="color: #339933;">.</span><span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'desc'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'children'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'children'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$child</span><span style="color: #009900;">&#41;</span>
      <span style="color: #000088;">$return</span> <span style="color: #339933;">.=</span> constructTreeNode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$child</span><span style="color: #339933;">,</span> <span style="color: #000088;">$separator</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$return</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$separator</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$return</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$tree</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$categTree</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'children'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$child</span><span style="color: #009900;">&#41;</span>
    <span style="color: #000088;">$tree</span> <span style="color: #339933;">.=</span> constructTreeNode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$child</span><span style="color: #339933;">,</span> <span style="color: #000088;">$separator</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">echo</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tree</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tree</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$separator</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/05/22/prestashop-lister-les-sous-categories/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Module Prestashop] SuperUser</title>
		<link>http://www.julien-breux.com/2009/05/14/module-prestashop-superuser/</link>
		<comments>http://www.julien-breux.com/2009/05/14/module-prestashop-superuser/#comments</comments>
		<pubDate>Thu, 14 May 2009 22:29:52 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Prestashop]]></category>

		<category><![CDATA[module]]></category>

		<category><![CDATA[superuser]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=141</guid>
		<description><![CDATA[Description
Problème de retour ? Incompréhension relationnelle ? Le module super user permet de vous connecter à la place d&#8217;un de vos client.

Note
Pour la première fois dans Prestashop, connectez-vous en John DOE !!!!

Télécharger

Version 1.1 - Ajout de l&#8217;ID du client dans la liste (recherche facilité)
Version 1.0

]]></description>
			<content:encoded><![CDATA[<h1>Description</h1>
<p>Problème de retour ? Incompréhension relationnelle ? Le module super user permet de vous connecter à la place d&#8217;un de vos client.<br />
<img class="aligncenter size-full wp-image-144" title="prestashop module superuser" src="http://www.julien-breux.com/wp-content/uploads/2009/05/module_superuser.png" alt="prestashop module superuser" width="965" height="320" /></p>
<h1>Note</h1>
<p>Pour la première fois dans Prestashop, connectez-vous en John DOE !!!!</p>
<p style="text-align: center;">
<h1>Télécharger</h1>
<ul>
<li><a href="http://www.julien-breux.com/sources/superuser_1_1.tar">Version 1.1</a> - Ajout de l&#8217;ID du client dans la liste (recherche facilité)</li>
<li><a href="http://www.julien-breux.com/sources/superuser_1_0.tar">Version 1.0</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/05/14/module-prestashop-superuser/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Face-de-livre</title>
		<link>http://www.julien-breux.com/2009/04/26/face-de-livre/</link>
		<comments>http://www.julien-breux.com/2009/04/26/face-de-livre/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 17:50:00 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=139</guid>
		<description><![CDATA[


]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><!-- Facebook Badge START --><br />
<a title="Profil Facebook de Julien Breux" href="http://fr-fr.facebook.com/people/Julien-Breux/734301434" target="_TOP"><img class="aligncenter" style="border: 0px;" src="http://badge.facebook.com/badge/734301434.1301.1623558541.png" alt="Profil Facebook de Julien Breux" /></a><br />
<!-- Facebook Badge END --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/04/26/face-de-livre/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Prestashop - Besoin de modules ?</title>
		<link>http://www.julien-breux.com/2009/04/19/prestashop-besoin-de-modules-prestastore/</link>
		<comments>http://www.julien-breux.com/2009/04/19/prestashop-besoin-de-modules-prestastore/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 18:55:28 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Prestashop]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=136</guid>
		<description><![CDATA[- Tu as vu, il y&#8217;a un nouveau module ?
- Non, tu l&#8217;as vu ou ?
- Ben sur PrestaStore.fr !
Bientôt  
]]></description>
			<content:encoded><![CDATA[<p>- Tu as vu, il y&#8217;a un nouveau module ?</p>
<p>- Non, tu l&#8217;as vu ou ?</p>
<p>- Ben sur <a href="http://www.prestastore.fr/">PrestaStore.fr</a> !</p>
<p>Bientôt <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/04/19/prestashop-besoin-de-modules-prestastore/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Prestashop - Le Tableau de Board</title>
		<link>http://www.julien-breux.com/2009/04/19/prestashop-le-tableau-de-board/</link>
		<comments>http://www.julien-breux.com/2009/04/19/prestashop-le-tableau-de-board/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 17:13:55 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
		
		<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.julien-breux.com/?p=134</guid>
		<description><![CDATA[Puisqu&#8217;on est dans l&#8217;annonce générale, et que tout le monde est accro à Prestashop&#8230;
&#8230; alors allons-y gaiement !
Découvrez dans quelques semaines le tableau de board de Prestashop, j&#8217;ai nommé : PRESTABOARD !!!!
Allez&#8230; un petit logo avec un lien en avant prem&#8217;s :

Bonne route avec PrestaShop&#8230; excellent voyage avec PrestaBoard  
Ju&#8217; ou JBX !
]]></description>
			<content:encoded><![CDATA[<p>Puisqu&#8217;on est dans l&#8217;annonce générale, et que tout le monde est accro à Prestashop&#8230;</p>
<p>&#8230; alors allons-y gaiement !</p>
<p>Découvrez dans quelques semaines le tableau de board de Prestashop, j&#8217;ai nommé : PRESTABOARD !!!!</p>
<p>Allez&#8230; un petit logo avec un lien en avant prem&#8217;s :</p>
<p style="text-align: center;"><a href="http://www.prestaboard.com/capture-decran/" target="_blank"><img class="alignnone" title="PrestaBoard - Julien BREUX" src="http://www.prestaboard.com/img/logo.jpg" alt="" width="214" height="69" /></a></p>
<p style="text-align: left;">Bonne route avec PrestaShop&#8230; excellent voyage avec PrestaBoard <img src='http://www.julien-breux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: left;">Ju&#8217; ou JBX !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julien-breux.com/2009/04/19/prestashop-le-tableau-de-board/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
