# HG changeset patch # User Franck Deroche # Date 1205243720 -3600 # Node ID 46be148257ae311ea0904d363afd681aaf61d20d # Parent caef2b6e5690a873a83c7dcb56edb6245e3aa4a2 Ces fichiers n'auraient pas du se trouver là... diff -r caef2b6e5690 -r 46be148257ae css/Somatic.css_ --- a/css/Somatic.css_ Tue Feb 19 02:54:58 2008 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,214 +0,0 @@ -/* Dual Blog, Somatic Edition */ - -html, body { - margin:0; - padding:0; - background:#EEE; - font-family:"Bitstream Vera Sans", "Lucida Grande", Tahoma, Verdana, Arial, sans serif; -} - -#Link, #Link li, dl, dt, dd {display:block; margin:0;list-style-type:none;} - -#Main {width:798px; margin:5px auto 0px; background:white; border:1px #333 solid;border-bottom:0px;/*padding-top:181px;*/} - -h1 { - margin:0px; - margin-bottom:150px; - padding:5px; - width:786px; - height:21px; - text-align:center; - border-bottom:1px #333 solid; - font-size:17px; - background-image:url('Res_Somatic/bg_test.png'); -} - -#Adresse, #SideBar dt { - position:absolute; - top:38px; - left:50%; - display:block; - width:132px; - padding-top:135px; - background-repeat:no-repeat; - background-position:2px 5px; - background-color:#FFF; - text-align:center; - border-bottom:1px #333 solid; - border-right:1px #333 solid; - font-size:0.9em; - z-index:2; - cursor:pointer; -} - -/* Let's give some 8-bits pngs to IE... */ -* html #Adresse {background-image:url('icons/fav_8bit.png') !important;} -* html #About {background-image:url('icons/connect_8bit.png') !important;} -* html #Profile {background-image:url('icons/profile_8bit.png') !important;} -* html #Like {background-image:url('icons/like_8bit.png') !important;} -* html #Geekness {background-image:url('icons/geek_8bit.png') !important;} -* html #Archives {background-image:url('icons/Hank_8bit.png') !important;} -* html #ToDo {background-image:url('icons/todo_8bit.png') !important;} -#Adresse { - margin-left:-398px; - background-image:url('icons/fav.png'); -} - -#About { - margin-left:-265px; - background-image:url('icons/connect.png'); -} - -#Profile { - margin-left:-132px; - background-image:url('icons/profile.png'); -} - -#Like { - margin-left:1px; - background-image:url('icons/like.png'); -} - -#Geekness { - margin-left:134px; - background-image:url('icons/geek.png'); -} - -#Archives { - margin-left:134px; - background-image:url('icons/Hank.png'); -} - -#ToDo { - margin-left:267px; - border-right:0px; - background-image:url('icons/todo.png'); -} - -#SideBar dt:hover, #Adresse:hover {background-color:#dec;} - -.Actif {background-color:#eee !important;} - -#SideBar p, #Posts {margin:5px 0px; padding:0px;text-align:justify;} - -#Link, #SideBar dd { - font-size:0.9em; - border-bottom:1px #333 solid; - padding:5px 10px; - background-color:#FFF; - background-image:url('Res_Somatic/bg_test.png'); - height:150px; - overflow:auto; - position:absolute; - top:187px; - width:778px; - z-index:0; -} - -#Link {display:none;} - -.PostContent { - padding:10px; - text-align:justify; - border-bottom: 1px #333 solid; -} - -.PostContent h2 { - font-weight:bold; - text-align:center; - border:1px #666 solid; - margin:0px 15px; - background:url('Res_Somatic/bg_titre.png'); - font-size:1.2em; -} - -.PostContent h2 abbr { - padding:2px 0; -} - -#SideBar a, #Link a {text-decoration:none;color:#666;font-style:italic;margin-bottom:1px;border-bottom:1px dashed;} -#SideBar li, #Link li {line-height:1.5em;} -#Link a {margin-left:10px;} -#SideBar a:hover, #Link a:hover, #Posts a:hover {border-bottom:1px solid;} -#SideBar ul, .PostContent ul {list-style:url(Res_Somatic/puce.gif) outside;} - - -a img {padding:10px;margin:0px 10px 10px;border:1px solid #795;background-image:url('Res_Somatic/bg_test.png');} - -code, blockquote {border:1px #795 solid; border-left-width:3px; background:url('Res_Somatic/bg_test.png') #FFE;padding:2px 6px;} - -p.code code {white-space:pre;overflow:auto;display:block;/*width:758px;*/} - -code {line-height:1.5em;} - -em, i, .i {color:#67B;} -#Posts a {color:#795;text-decoration:none;} -#Posts {padding-top:170px;} - -.mood, .gravatar, .gallerie { - float:left; - margin:1.5em 1em 0.5em 0; - padding:10px; - border:1px #795 solid; - background:url(Res_Somatic/bg_test.png); -} - -.gravatar { - margin:0 1em 0 0 ; -} - -.gallerie { - padding:1.5em; - width:300px; -} - -.Tongue { - background:url(/blog/mood/light/Tongue.png) bottom right no-repeat; -} - -.Neutral { - background:url(/blog/mood/light/Neutral.png) bottom right no-repeat; -} - -.Goggle { - background:url(/blog/mood/light/Goggle.png) bottom right no-repeat; -} - -.Clop { - background:url(/blog/mood/light/Clop.png) bottom right no-repeat; -} - -.Cry { - background:url(/blog/mood/light/Cry.png) bottom right no-repeat; -} - -.Oohh { - background:url(/blog/mood/light/Oohh.png) bottom right no-repeat; -} - -.Love { - background:url(/blog/mood/light/Love.png) bottom right no-repeat; -} - -.PostContent dd, .PostContent dt { - border:2px #795 solid; - padding-left:0.5em; -} - -.PostContent dt { - border-width:2px 2px 0; - background:url(Res_Somatic/bg_test.png); - padding:0.3em 1em; -} - -.PostContent dd { - border-top:1px dashed #795; - margin-bottom:1em; - padding:0 1em; -} - -.PostContent dd ul { - padding:0; - list-style-position:inside; -} - diff -r caef2b6e5690 -r 46be148257ae css/comment.css_ --- a/css/comment.css_ Tue Feb 19 02:54:58 2008 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ - .Infos {font-style:italic;} - #FormCommentaire {margin-top:15px;text-align:left;} - #Summary {display:none;} - - input, textarea {background:transparent;font-family:Tahoma, Lucida Sans, 'Luxi Sans', serif; - font-size:11px;margin:5px;padding:1px; - border:1px black solid;width:95%;} - - .cal {text-align:center;border-bottom:1px black solid;padding:1em 2em;} - - .calPrev {float:left;} - .calNext {float:right;} - - .Date {text-transform:capitalize;} - - .Done {text-decoration:line-through;} - - .center {text-align:center;} - - #Adresse, #SideBar dt {cursor:pointer;} - - p.code code {white-space:pre;overflow:auto;display:block;} - - .PostContent dt {font-weight:bold;} - - .endComment {clear:left;} - - .fold .comment {display:none;} - .fold:hover .comment {display:inline;} diff -r caef2b6e5690 -r 46be148257ae css/icons/top.php --- a/css/icons/top.php Tue Feb 19 02:54:58 2008 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,178 +0,0 @@ - - - - - "OliveVerde", 1=> "OliveVerde.css"); - $StyleSheets['1']=array( 0=> "Lite", 1=> "Lite.css"); - $StyleSheets['2']=array( 0=> "Lite:Reloaded", 1=>"Lite_nv.css"); - $StyleSheets['3']=array( 0=> "Brushed", 1=> "Brushed.css"); - $StyleSheets['4']=array( 0=> ":Hover", 1=> "HoverExp.css"); - $StyleSheets['5']=array( 0=> "Somatic", 1=>"Somatic.css"); - - foreach($StyleSheets as $StyleSheet) { - if($StyleSheet[0] == $CkStyle) - echo(" \n"); - else - echo(" \n"); - } - if(!empty($Titre)) - echo(" {$Titre} - Dual Blog\n"); - else - echo(" Dual { v10 : OS Edition } Blog\n"); - - if(stristr($_SERVER['HTTP_USER_AGENT'], "MSIE") && !$CkStyle == "Somatic") - echo(""); - ?> - - - - - - - - - -
- - {$Summary} - \n"); - } ?> -

Dual Blog : DeFr's Weblog

-
- Sites visités -
- - - -
diff -r caef2b6e5690 -r 46be148257ae tb_send.php --- a/tb_send.php Tue Feb 19 02:54:58 2008 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -Query("SELECT * FROM Mess WHERE num_mess=255"); - $row = $Data->GetRow(); - $tbAddress = "http://www.defr.org/blog/tb.php?id=255"; - $ar_tbAddress = parse_url($tbAddress); - if(!array_key_exists('port', $ar_tbAddress)) $ar_tbAddress['port'] = 80; - if(!array_key_exists('path', $ar_tbAddress)) $ar_tbAddress['path'] = '/'; - if(array_key_exists('query', $ar_tbAddress)) $ar_tbAddress['query'] = '?' . $ar_tbAddress['query']; - var_export($ar_tbAddress); - $fp = fsockopen($ar_tbAddress['host'], 80, $errno, $errstr, 15); - if($fp) { - $genToSend = "POST {$ar_tbAddress['path']}{$ar_tbAddress['query']} HTTP/1.0\r\n"; - $genToSend .= "Host: {$ar_tbAddress['host']}\r\n"; - $genToSend .= "Content-Type: application/x-www-form-urlencoded \n"; - - // Essai de récuperation de l'encodage...Envoie en iso si pas d'indication d'UTF... - $argToSend = "__info=1"; - $toSend = $genToSend . "Content-Length: " . strlen($argToSend) . "\n\n"; - $toSend .= $argToSend; - echo("
$toSend
"); - fwrite($fp, $toSend); - while(!feof($fp)) - $result .= fgets($fp, 128); - fclose($fp); - if(!preg_match('/(UTF-8|utf-8)<\/encoding>/msU',$result)) { - $row['Titre'] = utf8_decode($row['Titre']); - $row['Message'] = utf8_decode($row['Message']); - echo("Snif, utilisation d'ISO..."); - } - - $fp = fsockopen($ar_tbAddress['host'], 80, $errno, $errstr, 15); - $argToSend = "title=" . htmlentities(urlencode($row['Titre'])) . "&blog_name=Dual+Blog"; - $argToSend .= "&url=http://defr.org/blog/posts/{$row['num_mess']}&excerpt=" . htmlentities(urlencode(substr(strip_tags($row['Message']), 0, 255) . "...")); - - $toSend = $genToSend . "Content-Length: " . strlen($argToSend) . "\n\n"; - $toSend .= $argToSend; - echo("
$toSend
"); - fwrite($fp, $toSend); - while (!feof($fp)) { - echo fgets($fp, 128); - } - fclose($fp); - } else { - echo("Pb de connexion : $errno - $errstr"); - } -?> \ No newline at end of file