n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/css/aita/template.php

129 lines
4.1 KiB
PHP
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php dcInfo('lang'); ?>"
lang="<?php dcInfo('lang'); ?>">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<?php dcHeadLinks(); ?>
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php dcInfo('rss'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php dcInfo('atom'); ?>" />
<meta name="robots" content="NOFOLLOW,INDEX" />
<meta name="DC.title" content="<?php dcInfo(); ?>" />
<title><?php dcSinglePostTitle('%s - '); dcSingleCatTitle('%s - ');
dcSingleMonthTitle('%s - '); dcCustomTitle('%s - '); dcInfo(); ?></title>
<link rel="stylesheet" type="text/css" href="<?php dcInfo('theme'); ?>/style.css" media="screen" />
<?php dcPostTrackbackAutoDiscovery(); ?>
</head>
<body>
<div id="page">
<p id="prelude"><a href="#main">Aller au contenu</a> |
<a href="#sidebar">Aller au menu</a> |
<a href="#search">Aller &agrave; la recherche</a></p>
<div id="top">
<div id="search">
<form action="<?php dcInfo('search'); ?>" method="get">
<p class="field"><input name="q" id="q" type="text" size="10"
value="<?php dcSearchString(); ?>" accesskey="4" />
<input type="submit" class="submit" value="ok" /></p>
</form>
</div>
<h1><a href="<?php dcInfo('url'); ?>"></a></h1>
</div>
<div id="main">
<div id="content">
<?php if ($err_msg != '') : /* Si on a une quelconque erreur, on l'affiche */?>
<div class="error"><strong>Erreur : </strong>
<?php echo $err_msg; ?></div>
<?php elseif (is_callable(array('dcRelatedPages','relatedMode')) && dcRelatedPages::relatedMode()) : ?>
<?php dcRelatedPages::includeFile(); ?>
<?php elseif ($preview) : /* Si on demande la prvisualisation d'un commentaire */?>
<h3>Commentaire pour <?php dcPostTitle(); ?></h3>
<div id="comment-preview">
<blockquote>
<?php dcCommentPreview(); ?>
</blockquote>
</div>
<h3>Changer le commentaire</h3>
<?php include dirname(__FILE__).'/form.php'; ?>
<?php elseif ($mode != 'post') : /* Si aucune erreur et mode != post on affiche une liste de billets */?>
<?php # Phrase affich en cas de recherche (%s est le mot cherch)
dcSearchString('<p>R&eacute;sultats de votre recherche de <em>%s</em>.</p>');
?>
<?php include dirname(__FILE__).'/list.php'; ?>
<?php else : /* Sinon, mode = post, donc billet unique (avec commentaires et tout le reste)*/?>
<?php include dirname(__FILE__).'/post.php'; ?>
<?php endif; ?>
</div>
</div>
<div id="sidebar">
<div id="calendar">
<h2>Calendrier</h2>
<?php #Affichage du calendrier
dcCalendar('<table summary="Calendrier">%s</table>'); ?>
<span></span>
</div>
<?php /* Affichage du blog "selection uniquement si des billets sont
prsents */ ?>
<?php dcSelection('<div id="selection"><h2>&Agrave; retenir</h2><ul>%s</ul></div>'); ?>
<?php dcLangList('<div id="languages"><h2>Langues</h2><ul>%s</ul></div>'); ?>
<div id="themes">
<h2>Th&egrave;mes</h2>
<?php dcThemesForm(); ?>
</div>
<div id="categories">
<h2>Cat&eacute;gories</h2>
<?php dcCatList(); ?>
</div>
<div id="archives">
<h2>Archives</h2>
<?php dcMonthsList(); ?>
</div>
<div id="links">
<h2>Liens</h2>
<?php dcBlogroll::linkList(); ?>
</div>
<div id="syndicate">
<h2>Syndication</h2>
<ul>
<li><a href="<?php dcInfo('rss'); ?>">fil rss</a></li>
<li><a href="<?php dcInfo('rss'); ?>?type=co">fil rss commentaires</a></li>
<li><a href="<?php dcInfo('atom'); ?>">fil atom</a></li>
<li><a href="<?php dcInfo('atom'); ?>?type=co">fil atom commentaires</a></li>
</ul>
</div>
</div>
<p id="footer"><a href="http://www.dotclear.net/">
propuls&eacute; par DotClear</a></p>
</div> <!-- end #page -->
<!-- Blocs en plus pour ajouter des images en tout genre si besoin -->
<div id="block1"><span></span></div><div id="block2"><span></span></div>
<div id="block3"><span></span></div><div id="block4"><span></span></div>
<div id="block5"><span></span></div><div id="block6"><span></span></div>
</body>
</html>