J'avais déjà créé un post pour montrer l'avancement, mais je me rends compte qu'il y a une montagne de choses restantes à faire, surtout côté utilisateur, donc voici la "To do list" du blog :

Comme promis, je vous poste quelques codes-sources, en commencant pas le fichier functions.php, qui regroupe toutes les fonctions que j'utilise sur le blog 
Bon, le code est un peu long, je suis en train de faire une partie "séparé" pour le code, avec une barre de défilement pour éviter de prendre trop de place, et je vais ajouter la coloration syntaxique le plus vite possible 
C'est fait, j'ai ajouté la coloration syntaxique et réglé une hauteur maximale 
<?php function create_date($time = false, $mini = false) { 1 => 'Janvier', 2 => 'Février', 3 => 'Mars', 4 => 'Avril', 5 => 'Mai', 6 => 'Juin', 7 => 'Juillet', 8 => 'Août', 9 => 'Septembre', 10 => 'Octobre', 11 => 'Novembre', 12 => 'Décembre' ); 0 => 'Dimanche', 1 => 'Lundi', 2 => 'Mardi', 3 => 'Mercredi', 4 => 'Jeudi', 5 => 'Vendredi', 6 => 'Samedi' ); if ( !$mini ){ return $week_day[$date['wday']] . ' ' . $date['mday'] . ' ' . $month[$date['mon']] . ' ' . $date['year'] . ' à ' . (( $date['hours'] < 10 ) ? '0' . $date['hours'] : $date['hours']) . 'h' . (( $date['minutes'] < 10 ) ? '0' . $date['minutes'] : $date['minutes']); } else{ return $date['mday'] . '/' . (( $date['mon'] < 10 ) ? '0' . $date['mon'] : $date['mon']) . '/' . substr($date['year'], 2, 2) . ', ' . (( $date['hours'] < 10 ) ? '0' . $date['hours'] : $date['hours']) . 'h' . (( $date['minutes'] < 10 ) ? '0' . $date['minutes'] : $date['minutes']); } } ?> <?php function encode($code) { include_once('include/geshi/geshi.php'); $language = $code[1]; $geshi =& new GeSHi($code[3], $language); $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS); $result_code = $geshi->parse_code(); return '<div class="code"><b>Code :</b> '.$code[2].''.$result_code .'</div>'; } ?> <?php function format_text($text) { //img $text = preg_replace('#<div class="shadow"><img src="$1"></div><hr class="spacer"></div><hr class="spacer">', $text); //liens $text = preg_replace('#(?<!href=")(?<!img src=")(?<!>)http://[a-z0-9._/-]+#i', '<a href="$0">$0</a>', $text); //code //citation //smiley:p $text = preg_replace('#:p#isU', '<div class="shadow"><img src="include/smiley/langue.png" class="smiley"></div><hr class="spacer">', $text); //smiley:) $text = preg_replace('#:\)#isU', '<div class="shadow"><img src="include/smiley/smile.png" class="smiley"></div><hr class="spacer">', $text); //smiley:'( $text = preg_replace('#:\'\(#isU', '<div class="shadow"><img src="include/smiley/pleure.png" class="smiley"></div><hr class="spacer">', $text); //smiley:( $text = preg_replace('#:\(#isU', '<div class="shadow"><img src="include/smiley/triste.png" class="smiley"></div><hr class="spacer">', $text); //smiley:D $text = preg_replace('#:(d|D)#isU', '<div class="shadow"><img src="include/smiley/heureux.png" class="smiley"></div><hr class="spacer">', $text); //smiley euh $text = preg_replace('#: euh:#isU', '<div class="shadow"><img src="include/smiley/unsure.gif" class="smiley"></div><hr class="spacer">', $text); //smiley;) $text = preg_replace('#;\)#isU', '<div class="shadow"><img src="include/smiley/clin.png" class="smiley"></div><hr class="spacer">', $text); //smiley^ ^ $text = preg_replace('#\^\^#isU', '<div class="shadow"><img src="include/smiley/hihi.png" class="smiley"></div><hr class="spacer">', $text); //smiley lol $text = preg_replace('#: lol:#isU', '<div class="shadow"><img src="include/smiley/rire.gif" class="smiley"></div><hr class="spacer">', $text); //smiley o_ 0 $text = preg_replace('#o _0#isU', '<div class="shadow"><img src="include/smiley/blink.gif" class="smiley"></div><hr class="spacer">', $text); //smiley: -° $text = preg_replace('#: \-°#isU', '<div class="shadow"><img src="include/smiley/siffle.png" class="smiley"></div><hr class="spacer">', $text); //smiley: ange: $text = preg_replace('#: ange:#isU', '<div class="shadow"><img src="include/smiley/ange.png"></div><hr class="spacer">', $text); //smiley: grr2: $text = preg_replace('#: grr2:#isU', '<div class="shadow"><img src="include/smiley/angry.gif"></div><hr class="spacer">', $text); //smiley: tdiable: $text = preg_replace('#: tdiable:#isU', '<div class="shadow"><img src="include/smiley/diable.png"></div><hr class="spacer">', $text); //smiley: magic: $text = preg_replace('#: magic:#isU', '<div class="shadow"><img src="include/smiley/magicien.png"></div><hr class="spacer">', $text); //smiley: ninja: $text = preg_replace('#: ninja:#isU', '<div class="shadow"><img src="include/smiley/ninja.png"></div><hr class="spacer">', $text); //smiley: sun: $text = preg_replace('#: sun:#isU', '<div class="shadow"><img src="include/smiley/soleil.png"></div><hr class="spacer">', $text); //smiley: tpirate: $text = preg_replace('#: tpirate:#isU', '<div class="shadow"><img src="include/smiley/pirate.png"></div><hr class="spacer">', $text); //smiley: honte: $text = preg_replace('#: honte:#isU', '<div class="shadow"><img src="include/smiley/rouge.png"></div><hr class="spacer">', $text); //smiley: waw: $text = preg_replace('#: waw:#isU', '<div class="shadow"><img src="include/smiley/waw.png"></div><hr class="spacer">', $text); //smiley: zorro: $text = preg_replace('#: zorro:#isU', '<div class="shadow"><img src="include/smiley/zorro.png"></div><hr class="spacer">', $text); //smiley> _< $text = preg_replace('#> _<#isU', '<div class="shadow"><img src="include/smiley/pinch.png"></div><hr class="spacer">', $text); //smiley grrr $text = preg_replace('#: grr:#isU', '<div class="shadow"><img src="include/smiley/mechant.png"></div><hr class="spacer">', $text); //smiley: o $text = preg_replace('#: o#isU', '<div class="shadow"><img src="include/smiley/huh.png"></div><hr class="spacer">', $text); return $text; } ?> <?php function cache($maskpath, $lasted, $filempath) { if( $masklast > $lasted ){ include($filempath); } else{ include($maskpath); } else{ include($filempath); } } } ?> <?php function archive($month) { $month = $separe[1]; 1 => 'Janvier', 2 => 'Février', 3 => 'Mars', 4 => 'Avril', 5 => 'Mai', 6 => 'Juin', 7 => 'Juillet', 8 => 'Août', 9 => 'Septembre', 10 => 'Octobre', 11 => 'Novembre', 12 => 'Décembre' ); } ?> <?php function mkrss(){ $xml = '<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">'; $xml .= '<channel>'; $xml .= '<title>AfterHaze</title>'; $xml .= '<link>http://afterhaze.sfhost.net/</link>'; $xml .= '<description>Flux RSS de AfterHaze (<a href="http://afterhaze.sfhost.net/">http://afterhaze.sfhost.net/</a>)</description>'; $link_to = '<a href="http://afterhaze.sfhost.net/">http://afterhaze.sfhost.net/</a>#'.$tab['id']; $xml .= '<item>'; $xml .= '<title>'.$tab['title'].'</title>'; $xml .= '<link>'.$link_to.'</link>'; $xml .= '<pubDate>'.$date.' GMT</pubDate>'; $xml .= '<description>'.$tab['title'].'</description>'; $xml .= '</item>'; } $xml .= '</channel>'; $xml .= '</rss>'; } ?>
* { padding: 0; margin: 0; } img { border: 0; float: none; margin-right: 3px; } body { background: #0A2335; font-style: normal; font-family: "Lucida Sans Unicode", sans-serif; font-size: 0.9em; } h1 { font-size: 1.4em; } h2 { font-size: 1.1em; font-style: italic; } pre { margin: 10px; padding: 5px; background-color: #EEE; border: 1px solid #22353B; width: 95%; } a { color: #222; font-weight: bold; text-decoration: none; } a:hover { text-decoration: underline; } #header { margin-top: 0px; margin-bottom: 0px; padding: 0px; width: 99.7%; height: 135px; background-color: #071724; background-image: url(../image/header.png); background-repeat: no-repeat; background-position: right; } #header img { position: relative; border: 0px; vertical-align: top; left: 20px; } #header h1 { text-align: right; position: relative; right: 35px; top: 75%; color: #FFFFFF; } #header input { position: relative; top: 10%; left: 20px; border: 0px; background-image: url(../image/form.png); background-repeat: no-repeat; background-color: transparent; width: 120px; height: 20px; padding: 3px; color: #455C6F; font-weight: bold; } #header input:hover { position: relative; top: 10%; left: 20px; border: 0px; background-image: url(../image/form.png); background-repeat: no-repeat; width: 120px; height: 20px; padding: 3px; color: #0A2335; font-weight: bold; } #header input.submit { position: relative; top: 11%; left: 25px; border: 0px; background-image: url(../image/submit.png); background-repeat: no-repeat; background-color: transparent; width: 25px; height: 20px; padding: 3px; cursor: pointer; } #menu { margin-top: 0px; margin-bottom: 40px; padding: 0px; width: 99.7%; height: 35px; background-image: url(../image/menu.png); background-repeat: repeat-x; } #menu a { position: relative; left: 50px; top: 25%; } #menu a:hover { position: relative; left: 50px; top: 25%; text-decoration: none; color: #FFFFFF; } #menu b { position: relative; left: 50px; top: 25%; color: #FFFFFF; } #menu b { position: relative; left: 50px; top: 25%; } #container { width: 99%; padding: 5px; } #leftcol { width: 75%; float: left; color: #000000; } #post_content { width: 95%; padding: 10px; margin-bottom: 20px; background-color: #86BBE0; background-image: url(../image/postdeco.png) !important; background-image: url(../image/postdeco.gif); background-repeat: no-repeat; border: 0px solid #830101; -moz-border-radius: 12px; -khtml-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; } #post_content a{ color: #455C6F; font-weight: normal; } #post_content a:hover{ color: #FFFFFF; text-decoration: none; } #post_content h1, h5{ color: #455C6F; } #post_content img{ float: none; } #post_content .smiley{ float: none; } #post_content .shadow { float: left; background: url(../image/shadowAlpha.png) no-repeat bottom right !important; background: url(../image/shadow.gif) no-repeat bottom right; margin: 10px 0 0 10px !important; margin: 10px 0 0 5px; } #post_content .shadow img { display: block; position: relative; background-color: #fff; border: 1px solid #a9a9a9; margin: -6px 6px 6px -6px; padding: 4px; } .spacer { clear: both; width: 0px; } #post_content .nbr_comments a{ background-image: url(../image/comments.gif); background-repeat: no-repeat; float: right; width: 40px; height: 40px; text-align: center; padding-left: 1px; padding-top: 3px; text-decoration: none; color: #455C6F; font-weight: bold; } #post_content .nbr_comments a:hover{ text-decoration: none; color: #000000; font-weight: bold; } #post_content .code{ margin: 2px; padding: 5px; background-color: #6BA1BF; border: 1px solid #22353B; width: 95%; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } #post_content .code pre{ width: 95%; max-height: 350px; overflow: auto; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } #post_content .cite{ margin: 2px; padding: 5px; background-color: #D0E5F3; background-image: url(../image/quote.gif); background-repeat: no-repeat; border: 1px solid #22353B; width: 95%; font-style: italic; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } #pagination { width: 95%; padding: 10px; margin-bottom: 20px; border: 2px solid #FFFFFF; -moz-border-radius: 12px; -khtml-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; color: #FFFFFF; } #pagination a { background-color: #86BBE0; border: 1px solid #D0E5F3; } #comments { width: 95%; padding: 10px; margin-bottom: 20px; background-color: #D0E5F3; border: 2px solid #000000; -moz-border-radius: 12px; -khtml-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; } #comments a { color: #7B7B7B; text-decoration: none; } #comments a:hover { color: #C4C4C4; text-decoration: none; } #comments p { font-weight: normal; } #comments img { float: none; } #rightcol { width: 24%; float: left; margin-left: 5px; font-size: 0.87em; } #container p { margin-bottom: 10px; } #rightcol h1 { float:right; position: relative; background-color: #FFFFFF; border: 0px solid #FFFFFF; padding: 3px; text-align: right; -moz-border-radius: 12px; -khtml-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; color: #455C6F; } #rightcol ul { background-color: #D0E5F3; padding: 10px; list-style: none; margin-bottom: 10px; border: 0px solid #830101; -moz-border-radius: 12px; -khtml-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; } #rightcol p { background-color: #D0E5F3; padding: 10px; margin-bottom: 10px; border: 0px solid #830101; -moz-border-radius: 12px; -khtml-border-radius: 12px; -webkit-border-radius: 12px; border-radius: 12px; } #container div.spacer { height: 20px; } #footer { background: #D0E5F3; border-top: 5px solid #FFFFFF; border-bottom: 1px solid #000000; clear: both; padding: 5px; text-align: right; } #footer img { float: left; padding: 0px; } #footer h5 { font-weight: normal; color: #000000; }


J'ai fait hier quelques modifications, au niveau de la licence, et j'ai ajouté quelques petits trucs en bas de page (notamment l'invalidation du site au W3C, et la désoptimisation pour Internet Explorer
).
Par rapport à la licence, le site est sous Creative Common :
Vous êtes libre de reproduire et de modifier le contenu, design, code-source (je posterai d'ici peu les codes-sources php, les fonctions principalement), ..., sous les conditions suivantes :
Citation : CreativeCommons.org

Comme vous l'avez sûrement remarqué (à moins d'être aveugle
), "j'ai" fait un nouveau design pour le site 
Je dit "j'ai", mais en fait c'est plutôt "nous avons", j'ai été très fortement aidé par un ami, qui m'a fait la nouvelle bannière et m'a conseillé sur le choix des couleurs, d'ailleurs il n'y aurait certainement pas eu de nouveau design si il ne m'avait pas fait une nouvelle bannière 
Bon, pour qu'on se rende bien compte de mes talents d'artistes, et en mémoire du premier design de ce blog :

Pour faire simple, voilà la news que j'ai trouvé la semaine dernière sur http://www.rhcpfrance.com/ :
Citation : rhcpfrance.com
