Initial commit

master
Olivier DOSSMANN 2014-04-23 13:53:40 +02:00
commit 1461561f26
17 changed files with 390 additions and 0 deletions

74
a.css 100644
View File

@ -0,0 +1,74 @@
body {
background: url('gris_190.jpg');
color: #80679d;
margin: 0;
padding: 0;
}
#contenu_principal {
margin: 5% auto 5% auto;
padding: 15px;
height: 80%;
width: 70%;
background-color: #ffffff;
border: 1px solid #cccccc;
overflow: auto;
-moz-border-radius: 2%;
-webkit-border-radius: 12px;
border-radius: 2%;
-moz-box-shadow: 1px 1px 13px #999999;
-webkit-box-shadow: 1px 1px 13px #999999;
box-shadow: 1px 1px 13px #999999;
}
h1 {
background: url('gris_190.jpg');
color: #a7b2e5;
text-align: center;
margin: 0;
padding-top: 0;
padding-left: 3px;
border: 1px solid #cccccc;
-moz-border-radius-topleft: 1%;
-moz-border-radius-topright: 1%;
-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
border-top-left-radius: 2%;
border-top-right-radius: 2%;
}
h2 {
color: #9978e5;
}
ul {
padding-left: 28px;
list-style-type: square;
}
a {
color: #573ae5;
text-decoration: none;
font-weight: bold;
}
a:visited {
color: #80427b
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
p {
padding: 0 5px 0 5px;
}
p span {
text-decoration: underline;
}
p img {
padding-left: 18px;
}

BIN
a.gif 100755

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

153
a.php 100644
View File

@ -0,0 +1,153 @@
<?php
// Desactiver le rapport d'erreurs
error_reporting(0);
// $tableau_connectivite = (file("http://marvin.fritalk.com/status.php?jid=blankoworld@jabber.dk&iconset=stellar"));
//
// $decoupage_src = explode("src=", $tableau_connectivite[1]);
// $decoupage_guillemet = explode('"', $decoupage_src[1]);
//
// $adresse_icone = $decoupage_guillemet[1];
//
// $information_adresse = pathinfo($adresse_icone);
//
// $fichier = $information_adresse['basename'];
//
// $extension = explode(".", $fichier);
//
// // available = dispo = disponible
// // dnd = occ = occupe
// // away = abs = absent
// // xa = nondispo = non disponible
// // unvailable = deco = deconnecte (ou apparaitre hors ligne)
// // chat = chat = libre pour discuter
// if($fichier == 'available.png')
// {
// $image_locale = 'dispo.png';
// $etat = 'disponible';
// }
//
// elseif($fichier == 'dnd.png')
// {
// $image_locale = 'occ.png';
// $etat = 'occupee';
// }
//
// elseif($fichier == 'away.png')
// {
// $image_locale = 'abs.png';
// $etat = 'absente';
// }
//
// elseif($fichier == 'xa.png')
// {
// $image_locale = 'nondispo.png';
// $etat = 'connectee, mais indisponible pour l\'instant';
// }
//
// elseif($fichier == 'unvailable.png')
// {
// $image_locale = 'deco.png';
// $etat = 'deconnectee ou hors ligne';
// }
//
// elseif($fichier == 'chat.png')
// {
// $image_locale = 'chat.png';
// $etat = 'disponible pour discuter';
// }
//
// else
// {
// $image_locale = 'deco.png';
// $etat = ' dont l\'etat est inconnu pour le moment';
// }
// Ancienne ligne pour marvin.fritalk.com
// $image_lue = './img/jabber/' . $image_locale;
$commentaire_image = "Image de l'&eacute;tat de connexion d'Olivier DOSSMANN";
/*** Creation de l'image a.png : Petite icone pour montrer l'etat jabber ***/
$image_lue = 'http://presence.jabberfr.org/1c60091f1c949de2c2b7f33eb20bf0b6/image-dcraven.png'; /*'http://presence.jabberfr.org/703e38e51020119cd96de0d9252bc5ab/image-dcraven.png';*/
$image_destination = 'a.png';
$image = imagecreatefrompng($image_lue);
imagealphablending($image, true); // permet de garder transparence
imagesavealpha($image, true); // idem garde transparence
if(is_file($image_destination))
{
unlink($image_destination);
imagepng($image, $image_destination);
}
else {
imagepng($image, $image_destination);
}
/*** Creation de l'image b.png : Gros encart avec photo, statut Jabber, adresse Jabber, et petit icone d'etat jabber ***/
$grande_image_lue = 'http://webstatus.kd2.org/signature.php/jid/gra.aanzffbq..ervivyb/image.png'; /* 'http://webstatus.kd2.org/signature.php/jid/xq.eroonw..qyebjbxanyo/image.png'; */
$grande_image_destination = 'b.png';
$grande_image = imagecreatefrompng($grande_image_lue);
if(is_file($grande_image_destination))
{
unlink($grande_image_destination);
imagepng($grande_image, $grande_image_destination);
}
else {
imagepng($grande_image, $grande_image_destination);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Etat de connectivit&eacute;</title>
<meta http-equiv="refresh" content="180" />
<link type="text/css" rel="stylesheet" media="screen" href="a.css" title="d&#233;faut" />
</head>
<body>
<div id="contenu_principal">
<h1>Me retrouver sur les r&eacute;seaux sociaux</h1>
<div id="etatActualise">
<h2>&Eacute;tat actuel&nbsp;: </h2>
<p><img src="b.png" alt="<?php echo $commentaire_image; ?>" title="&Eacute;tat de connexion" /><!-- Personne --><?php //echo $etat; ?></p>
</div>
<div id="infosup">
<h2>Qui suis-je ?</h2>
<p>Si vous tombez sur cette page, c'est que vous devez probablement me conna&icirc;tre. Je suis Olivier DOSSMANN, vous pourriez me rencontrer au d&eacute;tour d'un salon de discussion sur les <span>r&eacute;seaux de discussion</span>. Je suis disponible sous les pseudonymes suivants&nbsp;: <p>
<ul>
<li>od-</li>
<li>Personne</li>
<li>bl4n</li>
</ul>
<h2>O&ugrave; me trouver ?</h2>
<p>Les r&eacute;seaux sociaux sur lesquels je vadrouille sont nombreux. Je vous sugg&egrave;re les &eacute;l&eacute;ments suivants&nbsp;: </p>
<ol>
<li><a href="http://status.vinilox.eu/bl4n" title="Se rendre sur la page de l'utilisateur bl4n sur vinilox.eu">bl4n sur le r&eacute;seau StatusNet</a></li>
<li>olivier CHEZ dossmann POINT net (Cf. Informations compl&eacute;mentaires ci-apr&egrave;s)</li>
<li><a href="http://twitter.com/bl4n" title="Se rendre sur la page de l'utilisateur bl4n sur Twitter">bl4n sur Twitter</a></li>
</ol>
<h2>Informations compl&eacute;mentaires</h2>
<p>Je suis disponible &agrave; l'adresse OLIVIER [AROBASE] DOSSMANN [POINT] NET.<br />
(Traduire le tout en minuscule et en rempla&ccedil;ant [AROBASE] par @ et [POINT] par un vrai point '.').<br />
Il vous suffit de vous connecter au <a href="http://fr.wikipedia.org/wiki/Jabber">r&eacute;seau Jabber</a>
&agrave; l'aide d'un <a href="http://wiki.jabberfr.org/Clients#Clients_Jabber">client compatible</a>, puis
de <a href="http://wiki.jabberfr.org/Cr%C3%A9er_un_compte">cr&eacute;er une adresse Jabber</a> en choisissant
l'un des <a href="http://wiki.jabberfr.org/Serveurs">serveurs disponibles</a>.</p>
</div>
<div id="liens">
<h2>Liens utiles</h2>
<ul>
<li><a href="http://wiki.jabberfr.org/Accueil">D&eacute;buter sur Jabber</a> : Tout ce qu'il faut pour d&eacute;buter
sous Jabber, r&eacute;ponses &agrave; toutes les questions qe nous nous posons.</li>
<li><a href="http://wiki.jabberfr.org/Clients#Clients_Jabber">Liste des clients : logiciels &agrave; utiliser pour se connecter &agrave; Jabber (liste de choix).</a></li>
<li><a href="http://wiki.jabberfr.org/Serveurs">Liste des serveurs Jabber disponibles : les serveurs Jabber, tout simplement !</a></li>
<li><a href="http://olivier.dossmann.net/blog" title="Aller sur le blog (joueb) d'Olivier DOSSMANN">Mon blog</a></li>
</ul>
</div>
</div>
</body>
</html>

BIN
a.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

139
a00.php 100644
View File

@ -0,0 +1,139 @@
<?php
// Desactiver le rapport d'erreurs
error_reporting(0);
// $tableau_connectivite = (file("http://marvin.fritalk.com/status.php?jid=blankoworld@jabber.dk&iconset=stellar"));
//
// $decoupage_src = explode("src=", $tableau_connectivite[1]);
// $decoupage_guillemet = explode('"', $decoupage_src[1]);
//
// $adresse_icone = $decoupage_guillemet[1];
//
// $information_adresse = pathinfo($adresse_icone);
//
// $fichier = $information_adresse['basename'];
//
// $extension = explode(".", $fichier);
//
// // available = dispo = disponible
// // dnd = occ = occupe
// // away = abs = absent
// // xa = nondispo = non disponible
// // unvailable = deco = deconnecte (ou apparaitre hors ligne)
// // chat = chat = libre pour discuter
// if($fichier == 'available.png')
// {
// $image_locale = 'dispo.png';
// $etat = 'disponible';
// }
//
// elseif($fichier == 'dnd.png')
// {
// $image_locale = 'occ.png';
// $etat = 'occupee';
// }
//
// elseif($fichier == 'away.png')
// {
// $image_locale = 'abs.png';
// $etat = 'absente';
// }
//
// elseif($fichier == 'xa.png')
// {
// $image_locale = 'nondispo.png';
// $etat = 'connectee, mais indisponible pour l\'instant';
// }
//
// elseif($fichier == 'unvailable.png')
// {
// $image_locale = 'deco.png';
// $etat = 'deconnectee ou hors ligne';
// }
//
// elseif($fichier == 'chat.png')
// {
// $image_locale = 'chat.png';
// $etat = 'disponible pour discuter';
// }
//
// else
// {
// $image_locale = 'deco.png';
// $etat = ' dont l\'etat est inconnu pour le moment';
// }
// Ancienne ligne pour marvin.fritalk.com
// $image_lue = './img/jabber/' . $image_locale;
$commentaire_image = "Image de l'&eacute;tat de connexion de Blankoworld";
/*** Creation de l'image a.png : Petite icone pour montrer l'etat jabber ***/
$image_lue = 'http://presence.jabberfr.org/703e38e51020119cd96de0d9252bc5ab/image-dcraven.png';
$image_destination = 'a.png';
$image = imagecreatefrompng($image_lue);
imagealphablending($image, true); // permet de garder transparence
imagesavealpha($image, true); // idem garde transparence
if(is_file($image_destination))
{
unlink($image_destination);
imagepng($image, $image_destination);
}
else {
imagepng($image, $image_destination);
}
/*** Creation de l'image b.png : Gros encart avec photo, statut Jabber, adresse Jabber, et petit icone d'etat jabber ***/
$grande_image_lue = 'http://webstatus.kd2.org/signature.php/jid/xq.eroonw..qyebjbxanyo/image.png';
$grande_image_destination = 'b.png';
$grande_image = imagecreatefrompng($grande_image_lue);
if(is_file($grande_image_destination))
{
unlink($grande_image_destination);
imagepng($grande_image, $grande_image_destination);
}
else {
imagepng($grande_image, $grande_image_destination);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Etat de connectivit&eacute; de Blankoworld</title>
<meta http-equiv="refresh" content="180" />
<link type="text/css" rel="stylesheet" media="screen" href="a.css" title="d&#233;faut" />
</head>
<body>
<div id="contenu_principal">
<h1>&Eacute;tat de connexion de Blankoworld</h1>
<div id="etatActualise">
<h2>&Eacute;tat actualis&eacute; : </h2>
<p><img src="b.png" alt="<?php echo $commentaire_image; ?>" title="&Eacute;tat de connexion de Blankoworld" /><!-- Personne --><?php //echo $etat; ?>.</p>
</div>
<div id="infosup">
<h2>Informations compl&eacute;mentaires</h2>
<p>Blankoworld est disponible &agrave; l'adresse BLANKOWORLD [AROBASE] JABBER [POINT] DK.<br />
(Traduire le tout en minuscule et en rempla&ccedil;ant [AROBASE] par @ et [POINT] par un vrai point '.').<br />
Il vous suffit de vous connecter au <a href="http://fr.wikipedia.org/wiki/Jabber">r&eacute;seau Jabber</a>
&agrave; l'aide d'un <a href="http://wiki.jabberfr.org/Clients#Clients_Jabber">client compatible</a>, puis
de <a href="http://wiki.jabberfr.org/Cr%C3%A9er_un_compte">cr&eacute;er une adresse Jabber</a> en choisissant
l'un des <a href="http://wiki.jabberfr.org/Serveurs">serveurs disponibles</a>.</p>
</div>
<div id="liens">
<h2>Liens utiles</h2>
<ul>
<li><a href="http://wiki.jabberfr.org/Accueil">D&eacute;buter sur Jabber</a> : Tout ce qu'il faut pour d&eacute;buter
sous Jabber, r&eacute;ponses &agrave; toutes les questions qe nous nous posons.</li>
<li><a href="http://wiki.jabberfr.org/Clients#Clients_Jabber">Liste des clients : logiciels &agrave; utiliser pour se connecter &agrave; Jabber (liste de choix).</a></li>
<li><a href="http://wiki.jabberfr.org/Serveurs">Liste des serveurs Jabber disponibles : les serveurs Jabber, tout simplement !</a></li><br />
<li><a href="http://olivier.dossmann.net/" title="Aller chez Blanko">La Maison de Blanko</a></li>
</ul>
</div>
</div>
</body>
</html>

BIN
b.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
favicon.ico 100755

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
gris_190.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
gw.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
img/jabber/abs.png 100755

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
img/jabber/chat.png 100755

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
img/jabber/deco.png 100755

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
img/jabber/occ.png 100755

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

3
index.php 100755
View File

@ -0,0 +1,3 @@
<?php
header('Location: ./a.php');
?>

21
robots.txt 100644
View File

@ -0,0 +1,21 @@
## Tout les robots
User-Agent: *
## Autorisations
## Refus Section 1
Disallow: /img/
## Refus Section 2
Disallow: /images/
Disallow: /cgi-bin/
Disallow: /error
#Disallow: /lostpasswd.php
#Disallow: /liens/register.php
## Evite de dupliquer les donnees
Disallow: /*.php$
Disallow: /*.js$
Disallow: /*.inc$
Disallow: /*.css$
## VTFF (va te faire foutre)
User-Agent: MSNBot
Disallow: /