Newer
Older
echo "<a href='calendrier.php3' class='icone26' onMouseOver=\"changestyle('bandeauagenda','visibility','visible');\"><img src='img_pack/cal-rv.gif' alt='' width='26' height='20' border='0'></a>";
echo "<a href='messagerie.php3' class='icone26' onMouseOver=\"changestyle('bandeaumessagerie','visibility','visible');\"><img src='img_pack/cal-messagerie.gif' alt='' width='26' height='20' border='0'></a>";
echo "<a href='synchro.php3' class='icone26' onMouseOver=\"changestyle('bandeausynchro','visibility','visible');\"><img src='img_pack/cal-suivi.gif' alt='' width='26' height='20' border='0'></a>";
echo "<img src='img_pack/rien.gif' width='10' />";
echo "<a href='auteurs_edit.php3?id_auteur=$connect_id_auteur' class='icone26' onMouseOver=\"changestyle('bandeauinfoperso','visibility','visible');\"><img src='img_pack/fiche-perso.gif' border='0' onMouseOver=\"changestyle('bandeauvide','visibility', 'visible');\">";
echo "</a>";
echo "</td>";
echo "<td valign='middle' class='bandeau_couleur' style='text-align: $spip_lang_left;'>";
// Redacteur connecte
echo $GLOBALS["connect_nom"];
echo "<td class='bandeau_couleur' style='text-align: $spip_lang_right;' valign='middle'>";
// Choix display
// echo"<img src='img_pack/rien.gif' width='10' />";
if ($options != "avancees") {
$lien = $clean_link;
$lien->addVar('set_options', 'avancees');
$simple = "<b>"._T('icone_interface_simple')."</b>/"._T('icone_interface_complet');
} else {
$lien = $clean_link;
$lien->addVar('set_options', 'basiques');
$simple = _T('icone_interface_simple')."/<b>"._T('icone_interface_complet')."</b>";
}
echo "<a href='". $lien->getUrl() ."' class='icone26' onMouseOver=\"changestyle('bandeaudisplay','visibility', 'visible');\"><img src='img_pack/interface-display.gif' alt='' width='26' height='20' border='0'></a>";
echo "<img src='img_pack/rien.gif' width='10' height='1' />";
echo "<img src='img_pack/choix-layout$spip_lang_rtl".($spip_lang=='he'?'_he':'').".png' alt='abc' class='format_png' align='middle' width='59' height='15' usemap='#map_layout' border='0' />";
echo "<img src='img_pack/rien.gif' width='10' height='1' />";
// grand ecran
$lien = $clean_link;
if ($spip_ecran == "large") {
$lien->addVar('set_ecran', 'etroit');
echo "<a href='". $lien->getUrl() ."' class='icone26' onMouseOver=\"changestyle('bandeauecran','visibility', 'visible');\" title=\""._T('info_petit_ecran')."\"><img src='img_pack/set-ecran-etroit.gif' alt=\""._T('info_petit_ecran')."\" width='26' height='20' border='0'></a>";
$ecran = "<div>"._T('info_petit_ecran')."/<b>"._T('info_grand_ecran')."</b></div>";
}
else {
$lien->addVar('set_ecran', 'large');
echo "<a href='". $lien->getUrl() ."' class='icone26' onMouseOver=\"changestyle('bandeauecran','visibility', 'visible');\" title=\""._T('info_grand_ecran')."\"><img src='img_pack/set-ecran.gif' alt=\""._T('info_grand_ecran')."\" width='26' height='20' border='0'></a>";
$ecran = "<div><b>"._T('info_petit_ecran')."</b>/"._T('info_grand_ecran')."</div>";
}
// choix de la couleur
echo "<img src='img_pack/rien.gif' width='10' height='1' />";
echo "<img src='img_pack/barre-couleurs.gif' onMouseOver=\"changestyle('bandeauinterface','visibility', 'visible');\" alt='' width='70' height='10' border='0' usemap='#map_couleur'>";
// echo "<img src='img_pack/rien.gif' width='10' height='1' />";
echo "</td>";
//
// choix de la langue
//
if ($GLOBALS['all_langs']) {
echo "<td class='bandeau_couleur' style='width: 100px; text-align: $spip_lang_right;' valign='middle'>";
echo menu_langues('var_lang_ecrire');
echo "</td>";
}
echo "<td class='bandeau_couleur' style='text-align: $spip_lang_right; width: 28px;' valign='middle'>";
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
if ($auth_can_disconnect) {
echo "<a href='../spip_cookie.php3?logout=$connect_login' class='icone26' onMouseOver=\"changestyle('bandeaudeconnecter','visibility', 'visible');\"><img src='img_pack/deconnecter-24$spip_lang_rtl.gif' border='0'></a>";
}
echo "</td>";
echo "</tr></table>";
echo "<table width='$largeur' cellpadding='0' cellspacing='0'' align='center'><tr><td>";
echo "<div style='position: relative; z-index: 1000;'>";
echo "<div id='bandeautoutsite' class='bandeau_couleur_sous' style='$spip_lang_left: 0px; width: 170px;'>";
echo _T('icone_site_entier');
$result_racine = spip_query("SELECT * FROM spip_rubriques WHERE id_parent=0 ORDER BY titre");
$i = spip_num_rows($result_racine);
if ($i > 0) {
echo "<div> </div>";
echo "<div class='bandeau_rubriques' style='z-index: 1;'>";
while ($row = spip_fetch_array($result_racine)) {
$id_rubrique = $row["id_rubrique"];
$titre_rubrique = supprimer_numero(typo($row["titre"]));
bandeau_rubrique ($id_rubrique, $titre_rubrique, $i);
$i = $i - 1;
}
echo "</div>";
}
echo "</div>";
echo "<div id='bandeaunavrapide' class='bandeau_couleur_sous' style='$spip_lang_left: 30px; width: 300px;'>";
echo _T('icone_brouteur');
$vos_articles = spip_query("SELECT articles.id_article, articles.titre, articles.statut FROM spip_articles AS articles, spip_auteurs_articles AS lien WHERE articles.id_article=lien.id_article ".
"AND lien.id_auteur=$connect_id_auteur AND articles.statut='prepa' ORDER BY articles.date DESC LIMIT 0,5");
if (spip_num_rows($vos_articles) > 0) {
echo "<div> </div>";
echo "<div class='bandeau_rubriques' style='z-index: 1;'>";
bandeau_titre_boite2(_T('info_en_cours_validation'), "article-24.gif");
echo "<div class='plan-articles'>";
while($row = spip_fetch_array($vos_articles)) {
$id_article = $row['id_article'];
$titre = typo($row['titre']);
$statut = $row['statut'];
echo "<a class='$statut' style='font-size: 10px;' href='articles.php3?id_article=$id_article'>$titre</a>";
}
echo "</div>";
echo "</div>";
$vos_articles = spip_query("SELECT articles.id_article, articles.titre, articles.statut FROM spip_articles AS articles WHERE articles.statut='prop' ".
" ORDER BY articles.date DESC LIMIT 0,5");
if (spip_num_rows($vos_articles) > 0) {
echo "<div> </div>";
echo "<div class='bandeau_rubriques' style='z-index: 1;'>";
bandeau_titre_boite2(_T('info_articles_proposes'), "article-24.gif");
echo "<div class='plan-articles'>";
while($row = spip_fetch_array($vos_articles)) {
$id_article = $row['id_article'];
$titre = typo($row['titre']);
$statut = $row['statut'];
echo "<a class='$statut' style='font-size: 10px;' href='articles.php3?id_article=$id_article'>$titre</a>";
}
echo "</div>";
echo "</div>";
$vos_articles = spip_query("SELECT * FROM spip_breves WHERE statut='prop' ".
" ORDER BY date_heure DESC LIMIT 0,5");
if (spip_num_rows($vos_articles) > 0) {
echo "<div> </div>";
echo "<div class='bandeau_rubriques' style='z-index: 1;'>";
bandeau_titre_boite2(_T('info_breves_valider'), "breve-24.gif", "$couleur_foncee", "white");
echo "<div class='plan-articles'>";
while($row = spip_fetch_array($vos_articles)) {
$id_breve = $row['id_breve'];
$titre = typo($row['titre']);
$statut = $row['statut'];
echo "<a class='$statut' style='font-size: 10px;' href='breves_voir.php3?id_breve=$id_breve'>$titre</a>";
}
echo "</div>";
echo "</div>";
}
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
$query = "SELECT id_rubrique FROM spip_rubriques LIMIT 0,1";
$result = spip_query($query);
if (spip_num_rows($result) > 0) {
$id_rubrique = $GLOBALS['id_rubrique'];
if ($id_rubrique > 0) $dans_rub = "&id_rubrique=$id_rubrique";
echo "<table><tr>";
echo "<td>";
icone_horizontale(_T('icone_ecrire_article'), "articles_edit.php3?new=oui$dans_rub", "article-24.gif","creer.gif");
echo "</td>";
echo "<td> </td>";
echo "<td>";
$activer_breves = lire_meta("activer_breves");
if ($activer_breves != "non") {
icone_horizontale(_T('icone_nouvelle_breve'), "breves_edit.php3?new=oui$dans_rub", "breve-24.gif","creer.gif");
}
echo "</td>";
echo "</tr></table>";
}
echo "</div>";
echo "<div id='bandeaurecherche' class='bandeau_couleur_sous' style='width: 100px; $spip_lang_left: 60px;'>";
global $recherche;
$recherche_aff = _T('info_rechercher');
$onfocus = "onfocus=this.value='';";
echo "<form method='get' style='margin: 0px;' action='recherche.php3'>";
echo '<input type="text" size="10" value="'.$recherche_aff.'" name="recherche" class="spip_recherche" accesskey="r" '.$onfocus.'>';
echo "</form>";
echo "</div>";
$today = getdate(time());
$jour_today = $today["mday"];
$mois_today = $today["mon"];
$annee_today = $today["year"];
$date = date("Y-m-d", mktime(0,0,0,$mois_today, 1, $annee_today));
$mois = mois($date);
$annee = annee($date);
$jour = jour($date);
// Taches
$result_pb = spip_query("SELECT * FROM spip_messages AS messages WHERE id_auteur=$connect_id_auteur AND statut='publie' AND type='pb' AND rv!='oui'");
$result_rv = spip_query("SELECT messages.* FROM spip_messages AS messages, spip_auteurs_messages AS lien WHERE ((lien.id_auteur='$connect_id_auteur' AND lien.id_message=messages.id_message) OR messages.type='affich') AND messages.rv='oui' AND messages.date_heure > DATE_SUB(NOW(), INTERVAL 1 DAY) AND messages.date_heure < DATE_ADD(NOW(), INTERVAL 1 MONTH) AND messages.statut='publie' GROUP BY messages.id_message ORDER BY messages.date_heure");
if (spip_num_rows($result_pb) OR spip_num_rows($result_rv)) {
$largeur = "410px";
$afficher_cal = true;
}
else {
$largeur = "200px";
$afficher_cal = false;
echo "<div id='bandeauagenda' class='bandeau_couleur_sous' style='width: $largeur; $spip_lang_left: 100px;'>";
echo _T('icone_agenda');
echo "<div>";
agenda ($mois_today, $annee_today, $jour_today, $mois_today, $annee_today);
echo "</div>";
if ($afficher_cal) {
echo "<td valign='top' width='10'> </td>";
echo "<td valign='top' width='200'>";
echo "<div> </div>";
echo "<div style='color: black;'>";
afficher_taches();
echo "</div>";
echo "</td>";
}
/*
echo "<div style='color: white;'>";
// rendez-vous personnels dans le mois
calendrier_jour($jour_today,$mois_today,$annee_today, "col");
echo "</div>";
echo "</tr></table>";
echo "</div>";
ARNO*
a validé
echo "<div id='bandeaumessagerie' class='bandeau_couleur_sous' style='$spip_lang_left: 130px; width: 200px;'>";
ARNO*
a validé
//debut_cadre_relief();
icone_horizontale(_T('lien_nouvea_pense_bete'),"message_edit.php3?new=oui&type=pb", "pense-bete.gif");
icone_horizontale(_T('lien_nouveau_message'),"message_edit.php3?new=oui&type=normal", "message.gif");
if ($connect_statut == "0minirezo") {
icone_horizontale(_T('lien_nouvelle_annonce'),"message_edit.php3?new=oui&type=affich", "annonce.gif");
}
ARNO*
a validé
//fin_cadre_relief();
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
echo "</div>";
echo "<div id='bandeausynchro' class='bandeau_couleur_sous' style='$spip_lang_left: 160px;'>";
echo _T('icone_suivi_activite');
echo "</div>";
echo "<div id='bandeauinfoperso' class='bandeau_couleur_sous' style='width: 200px; $spip_lang_left: 200px;'>";
echo _T('icone_informations_personnelles');
echo "</div>";
echo "<div id='bandeaudisplay' class='bandeau_couleur_sous' style='$spip_lang_right: 310px; text-align: $spip_lang_right;'>";
echo $simple;
echo "</div>";
echo "<div id='bandeauecran' class='bandeau_couleur_sous' style='width: 200px; $spip_lang_right: 237px; text-align: $spip_lang_right;'>";
echo $ecran;
echo "</div>";
echo "<div id='bandeauinterface' class='bandeau_couleur_sous' style='$spip_lang_right: 150px; text-align: $spip_lang_right;'>";
echo _T('titre_changer_couleur_interface');
echo "</div>";
echo "<div class='bandeau_couleur_sous' id='bandeaudeconnecter' style='$spip_lang_right: 0px;'>";
echo _T('icone_deconnecter').aide("deconnect");
echo "</div>";
echo "</div>";
echo "</td></tr></table>";
echo "</div>";
echo "</div>";
// Ouverture de la partie "principale" de la page
// Petite verif pour ne pas fermer le formulaire de recherche pendant qu'on l'edite
echo "<center onMouseOver=\"if (findObj('bandeaurecherche').style.visibility == 'visible') { ouvrir_recherche = true; } else { ouvrir_recherche = false; } changestyle('bandeauvide', 'visibility', 'hidden'); if (ouvrir_recherche == true) { changestyle('bandeaurecherche','visibility','visible'); }\">";
if ($activer_messagerie != 'non' AND $connect_activer_messagerie != 'non') {
$result_messages = spip_query("SELECT * FROM spip_messages AS messages, spip_auteurs_messages AS lien WHERE lien.id_auteur=$connect_id_auteur AND vu='non' AND statut='publie' AND type='normal' AND lien.id_message=messages.id_message");
$total_messages = @spip_num_rows($result_messages);
if ($total_messages == 1) {
while($row = @spip_fetch_array($result_messages)) {
$ze_message=$row['id_message'];
echo "<div class='messages'><a href='message.php3?id_message=$ze_message'><font color='$couleur_foncee'>"._T('info_nouveau_message')."</font></a></div>";
if ($total_messages > 1) echo "<div class='messages'><a href='messagerie.php3'><font color='$couleur_foncee'>"._T('info_nouveaux_messages', array('total_messages' => $total_messages))."</font></a></div>";
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
// Afficher les auteurs recemment connectes
global $changer_config;
global $activer_messagerie;
global $activer_imessage;
global $connect_activer_messagerie;
global $connect_activer_imessage;
if ($changer_config!="oui"){
$activer_messagerie=lire_meta("activer_messagerie");
$activer_imessage=lire_meta("activer_imessage");
}
if ($activer_imessage != "non" AND ($connect_activer_imessage != "non" OR $connect_statut == "0minirezo")) {
$query2 = "SELECT id_auteur, nom FROM spip_auteurs WHERE id_auteur!=$connect_id_auteur AND imessage!='non' AND en_ligne>DATE_SUB(NOW(),INTERVAL 15 MINUTE)";
$result_auteurs = spip_query($query2);
$nb_connectes = spip_num_rows($result_auteurs);
}
$flag_cadre = (($nb_connectes > 0) OR $rubrique == "messagerie");
if ($flag_cadre) echo "<div class='messages' style='color: #666666;'>";
if ($nb_connectes > 0) {
if ($nb_connectes > 0) {
echo "<b>"._T('info_en_ligne')."</b>";
while ($row = spip_fetch_array($result_auteurs)) {
$id_auteur = $row["id_auteur"];
$nom_auteur = typo($row["nom"]);
echo " ".bouton_imessage($id_auteur,$row)." <a href='auteurs_edit.php3?id_auteur=$id_auteur' style='color: #666666;'>$nom_auteur</a>";
}
}
}
if ($flag_cadre) echo "</div>";
}
function gros_titre($titre, $ze_logo=''){
global $couleur_foncee;
echo "<div class='verdana2' style='font-size: 18px; color: $couleur_foncee; font-weight: bold;'>";
if (strlen($ze_logo) > 3) echo "<img src='img_pack/$ze_logo' alt='' border=0 align='middle'> ";
echo typo($titre);
}
//
// Cadre centre (haut de page)
//
function debut_grand_cadre(){
global $spip_ecran;
if ($spip_ecran == "large") $largeur = 974;
else $largeur = 750;
echo "\n<br><br><table width='$largeur' cellpadding='0' cellspacing='0' border='0'>";
echo "\n<tr>";
}
function fin_grand_cadre(){
}
// Cadre formulaires
function debut_cadre_formulaire(){
}
function fin_cadre_formulaire(){
echo "</div>\n";
}
function debut_gauche($rubrique = "asuivre") {
global $connect_statut, $cookie_admin;
global $options;
global $connect_id_auteur;
global $flag_3_colonnes, $flag_centre_large;
$flag_3_colonnes = false;
$largeur = 200;
// Ecran panoramique ?
if (ereg('((articles|breves|rubriques)_edit|forum_envoi)\.php3', $GLOBALS['REQUEST_URI'])) {
$flag_3_colonnes = true;
$rspan = " rowspan=2";
echo "<br><table width='$largeur_ecran' cellpadding=0 cellspacing=0 border=0>
<tr><td width='$largeur' valign='top' class='serif' $rspan>\n";
}
//
// Presentation de l''interface privee, marge de droite
//
function creer_colonne_droite($rubrique=""){
global $deja_colonne_droite;
global $changer_config;
global $activer_messagerie;
global $activer_imessage;
global $connect_activer_messagerie;
global $connect_activer_imessage;
global $connect_statut, $cookie_admin;
global $connect_id_auteur, $spip_ecran;
global $flag_3_colonnes, $flag_centre_large;
if ($flag_3_colonnes AND !$deja_colonne_droite) {
$deja_colonne_droite = true;
$espacement = 17;
$largeur = 140;
}
else {
$espacement = 37;
$largeur = 200;
}
echo "<td width=$espacement rowspan=2> </td>";
echo "<td width=$espacement rowspan=2> </td>";
echo "<td width=$largeur rowspan=2 align='$lang_left' valign='top'><p />";
function debut_droite($rubrique="") {
global $options, $spip_ecran, $deja_colonne_droite;
global $connect_id_auteur, $connect_statut, $connect_toutes_rubriques, $clean_link;
global $flag_3_colonnes, $flag_centre_large, $couleur_foncee, $couleur_claire;
if ($options == "avancees") {
// liste des articles bloques
$query = "SELECT id_article, titre FROM spip_articles WHERE auteur_modif = '$connect_id_auteur' AND date_modif > DATE_SUB(NOW(), INTERVAL 1 HOUR) ORDER BY date_modif DESC";
$result = spip_query($query);
$num_articles_ouverts = spip_num_rows($result);
if ($num_articles_ouverts) {
echo "<p>";
debut_cadre_enfonce('article-24.gif');
//echo "<font face='Verdana,Arial,Sans,sans-serif' size='2'>";
echo "<div class='verdana2' style='padding: 2px; background-color:$couleur_foncee; color: white; font-weight: bold;'>";
echo _T('info_cours_edition')." :".aide('artmodif');
echo "</div>";
while ($row = @spip_fetch_array($result)) {
$ze_article = $row['id_article'];
$ze_titre = typo($row['titre']);
if ($ifond == 1) {
$couleur = $couleur_claire;
$ifond = 0;
} else {
$couleur = "#eeeeee";
$ifond = 1;
}
echo "<div style='padding: 3px; background-color: $couleur;'>";
echo "<div class='verdana1'><b><a href='articles.php3?id_article=$ze_article'>$ze_titre</a></div></b>";
// ne pas proposer de debloquer si c'est l'article en cours d'edition
if ($ze_article != $GLOBALS['id_article_bloque']) {
$nb_liberer ++;
$lien = $clean_link;
$lien->addVar('debloquer_article', $ze_article);
echo "<div class='arial1' style='text-align:right;'><a href='". $lien->getUrl() ."' title='"._T('lien_liberer')."'>"._T('lien_liberer')." <img src='img_pack/croix-rouge.gif' alt='X' width='7' height='7' border='0' align='middle'></a></div>";
}
$lien = $clean_link;
$lien->addVar('debloquer_article', 'tous');
echo "<div class='arial2' style='text-align:right; padding:2px; border-top: 1px solid $couleur_foncee;'><a href='". $lien->getUrl() ."'>"._T('lien_liberer_tous')." <img src='img_pack/croix-rouge.gif' alt='' width='7' height='7' border='0' align='middle'></a></div>";
//echo "</font>";
fin_cadre_enfonce();
if (!$deja_colonne_droite) creer_colonne_droite($rubrique);
ARNO*
a validé
echo "<div> </div></td>";
}
else {
if (!$deja_colonne_droite) {
creer_colonne_droite($rubrique);
if ($spip_ecran == 'large' AND $flag_centre_large)
$largeur = 600;
echo '<td width="'.$largeur.'" valign="top" align="'.$lang_left.'" rowspan="1" class="serif">';
// touche d'acces rapide au debut du contenu
echo "\n<a name='saut' href='#saut' accesskey='s'></a>\n";
}
//
//
echo "</font>";
// rejouer le cookie de session si l'IP a change
if ($GLOBALS['spip_session'] && $GLOBALS['auteur_session']['ip_change']) {
echo "<img name='img_session' src='img_pack/rien.gif' width='0' height='0'>\n";
echo "<script type='text/javascript'><!-- \n";
echo "document.img_session.src='../spip_cookie.php3?change_session=oui';\n";
echo "// --></script>\n";
}
echo "</body></html>\n";
flush();
}
global $connect_id_auteur;
echo "</td></tr></table>";
// ici le javascript des popup multilingues.
if ($multi_popup) {
echo "<script type='text/javascript'><!-- \n";
echo "function openmulti(i) {\n";
/* // desactivation de ce truc pas fini ; il faudrait
// afficher le texte i dans une fenetre du type
// http://www.dynamicdrive.com/dynamicindex11/abox.htm
echo "textes_multi = new Array;\n";
echo $multi_popup;
echo "alert (textes_multi[i]);";
*/
echo "}\n";
echo "// --></script>\n";
}
debut_grand_cadre();
echo "<b>SPIP $spip_version_affichee</b> ";
echo _T('info_copyright');
echo "<br>"._T('info_copyright_doc');
if (ereg("jimmac", $credits))
echo "<br>"._T('lien_icones_interface');
fin_grand_cadre();
echo "</center>";
//
// Afficher la hierarchie des rubriques
//
function afficher_parents($id_rubrique) {
global $parents, $couleur_foncee, $lang_dir;
$parents = ereg_replace("(~+)","\\1~",$parents);
if ($id_rubrique) {
$query = "SELECT id_rubrique, id_parent, titre, lang FROM spip_rubriques WHERE id_rubrique=$id_rubrique";
while ($row = spip_fetch_array($result)) {
$id_rubrique = $row['id_rubrique'];
$id_parent = $row['id_parent'];
$titre = $row['titre'];
changer_typo($row['lang']);
$parents = " <a href='naviguer.php3?coll=$id_rubrique'><span class='verdana3' style='color: $couleur_foncee;' dir='$lang_dir'>".typo($titre)."</span></a><br>\n".$parents;
if (acces_restreint_rubrique($id_rubrique))
$parents = " <img src='img_pack/admin-12.gif' alt='' width='12' height='12' title='"._T('info_administrer_rubriques')."'> ".$parents;
if (!$id_parent)
$parents = "~ <IMG SRC='img_pack/secteur-24.gif' alt='' WIDTH=24 HEIGHT=24 BORDER=0 align='middle'> ".$parents;
else
$parents = "~ <IMG SRC='img_pack/rubrique-24.gif' alt='' WIDTH=24 HEIGHT=24 BORDER=0 align='middle'> ".$parents;
}
}
//
//
if ($titre=='AUTO')
$titre=_T('info_installation_systeme_publication');
Fil
a validé
if (!$charset = lire_meta('charset')) $charset = 'utf-8';
Fil
a validé
@Header("Content-Type: text/html; charset=$charset");
echo "<html><head>
<title>$titre</title>
<meta http-equiv='Expires' content='0'>
<meta http-equiv='cache-control' content='no-cache,no-store'>
<meta http-equiv='pragma' content='no-cache'>
<meta http-equiv='Content-Type' content='text/html; charset=$charset'>
<style>
<!--
a {text-decoration: none; }
A:Hover {color:#FF9900; text-decoration: underline;}
.forml {width: 100%; background-color: #FFCC66; background-position: center bottom; float: none; color: #000000}
.formo {width: 100%; background-color: #FFF0E0; background-position: center bottom; weight: bold; float: none; color: #000000}
.fondl {background-color: #FFCC66; background-position: center bottom; float: none; color: #000000}
.fondo {background-color: #FFF0E0; background-position: center bottom; float: none; color: #000000}
.fondf {background-color: #FFFFFF; border-style: solid ; border-width: 1; border-color: #E86519; color: #E86519}
.serif { font-family: Georgia, Garamond, Times New Roman, serif; }
Fil
a validé
-->
</style>
</head>
<body bgcolor='#FFFFFF' text='#000000' link='#E86519' vlink='#6E003A' alink='#FF9900' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'";
Fil
a validé
echo "><br><br><br>
<center>
<table width='450'>
<font face='Verdana,Arial,Sans,sans-serif' size='4' color='#970038'><B>$titre</b></font>\n<p>";
}
function install_fin_html() {
echo '
</font>
</td></tr></table>
</center>
</body>
</html>
';
}