Home Agenda de l’Unicef Rhône

Agenda de l’Unicef Rhône

#main{min-height:300px;}
img.article_recent {
padding:1px;
width:72px;
height:72px;
border:0;
float:left;
margin:10px;
margin-top:4px;
margin-left:0px;
margin-bottom:4px;
background:#AFC6CE;
}
#feedDiv h2 a: hover{text-decoration:none;}
.goog-inline-block{display: none;}
.footer-outer{}
.date-header span{display: none;}.post-timestamp{display: none;}.post-author{display: none;}.post-comment-link{display: none;}.comments{display: none;}.blog-pager{display: none;}.home-link{display: none;}.blog-pager-newer-link{display: none;}.blog-pager-older-link{display: none;} .post-footer{display: none;}

var maxResults = 20; // 1-500 (500 maximum)
var numPerPage = 7; // nombre d’articles affichés par page
var feedURIx = “/feeds/posts/default/-/Evénements”;
var theResult = null;
var longResumes = 300; // longueur résumé : nombre caractères
var lirelasuite = 1; // 0 ou 1
var ordreMess = 1; // couleur du numéro de page à encoder : de 0 (blanc) à 15 (noir)
var vignette = 1; // petite image : 0 ou 1
var dateInf = 0; // date en-dessous du message : 0 ou 1

function doThings() {
var result = theResult;
if (!result.error) {
var container = document.getElementById(“feedDiv”);
container.innerHTML = “”;
var chaine_a_aff= “”;
var j = 0;

var base = parseInt(window.location.hash.replace(“#”, “”));
if(isNaN(base) || !base) base = 0;
if(window.location.hash == “#all” || window.location.hash == “all” || numPerPage == “all”)
{numPerPage = result.feed.entry.length};
nbmessages = (result.feed.entry.length)-1;
a = parseInt(ordreMess)+1;if(a16) {a=16};if(a>8) {b=a-6} else {b=a+6};if(b16) {b=16};
s = “fedcba9876543210″;a=s.substr(a-1,1);coulInput=”#”+a+a+a;coulBord=”#”+b+b+b;
month=new Array();month[0]=”Janvier”;month[1]=”Février”;month[2]=”Mars”;month[3]=”Avril”;month[4]=”Mai”;month[5]=”Juin”;
month[6]=”Juillet”;month[7]=”Août”;month[8]=”Septembre”;month[9]=”Octobre”;month[10]=”Novembre”;month[11]=”Décembre”;

for (var i = result.feed.entry.length-1-base; j < numPerPage && i >= 1; i–) {
var entry = result.feed.entry[i];
var posturl = “”;
for (var k = 0; k < entry.link.length;k++) {if (entry.link[k].rel == 'alternate') {posturl = entry.link[k].href;break;}} cday = entry.published.$t;cdyear = cday.substring(0,4);cdmonth = (cday.substring(5,7))-1; cdMin = cday.substring(11,13);cdSec = cday.substring(14,16); aday = cday.substring(9,10);bday = cday.substring(8,9);if(bday>0){aday = bday+aday};
dateAff = ” ” + aday + ” ” + month[cdmonth] + ” ” + cdyear;
if (dateInf == 0)
{chaine_a_aff = chaine_a_aff + “

” + dateAff + “

“};

chaine_a_aff = chaine_a_aff + “

“+ entry.title.$t + “

“;

chaine = entry.content.$t;

chaine_a_aff = chaine_a_aff + “

“;

if ((vignette == 1)&&(lirelasuite == 1))
{s=chaine;
a=s.indexOf(“”);chaine=chaine.substr(0,ii)+chaine.substr(jj+1,longCh);ii = chaine.indexOf(“