commit: bc274a7d6a038a1c2f998656849bb24968127d08
parent dd441673f226161a2c8e5edf7964de4dae7c1907
Author: lanodan <lanodan.delta@free.fr>
Date: Fri, 25 Jul 2014 05:29:52 +0200
Design modifications and W3C
Diffstat:
10 files changed, 221 insertions(+), 221 deletions(-)
diff --git a/about.php b/about.php
@@ -4,93 +4,92 @@
<head>
<meta charset="utf-8">
<title><?=$locale['about'].$locale['fullTitle']?></title>
- <link rel="stylesheet" type="text/css" href="css/basic.css">
- <link rel="stylesheet" type="text/css" href="css/navbar.css">
- <link rel="stylesheet" type="text/css" href="css/footer.css">
+ <link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
<?php include_once 'navbar.php'; ?>
- <section>
+ <div id="content">
<h1><?=$locale['about']?></h1>
- <p>Haelwenn MONNIER, <?=date_diff(date_create('1998-04-02'), date_create('today'))->y;?><?php if ($lang == 'fr'){ ?> ans. Aussi connut sous le pseudonyme lanodan, j'utilise UNIX/Linux depuis que je suis petit, aujourd'hui je connait donc très bien le domaine. Mon but est de vivre de la programmation (que j'apprend depuis environ 2012) et/ou de l'Art (mes plus anciennes passions). J'aime explorer et créer ce dont j'ai besoin moi-même ou en communautée. Je défend les logiciels libres et l'égalitée. Je parle Français (langue maternelle), Anglais et un peu d'Espagnol et de Japonnais. Je vit en Bretagne et je suis présent au hackerspace, <a href="//breizh-entropy.org/">Breizh-Entropy</a>.<?php } else { ?> years. Also know as lanodan, I use UNIX/Linux since my first years(~4 years old) so now I now it very well. I'd like to live by coding (I learn it since 2012) or Art (theses 2 are my passions). I love to explore and create what I need myself or with others. I act for free and open software, and egality. I talk French(native language), English and a bit of Spannish and Japannese. I live in brittany and I'm at <a href="//breizh-entropy.org/">Breizh-Entropy</a>, a hackerspace.<?php } ?></p>
-<pre><code> -----BEGIN GEEK CODE BLOCK-----
- Version: 3.12
- GAT dpu s+: a--- C++ UL+++ P++ L++++ E--- W+++ N+ o+ K++ w---
- O- M- V- PS+++ PE-- Y++ PGP+++ t+ 5 X R++ !tv b- DI D-
- G++ e-- h r++ y
- ------END GEEK CODE BLOCK------</code></pre>
- <ul>
- <li><strong>GPG:</strong> (0x4BBEBBAD) 8E4B AA5E E6FB D5A8 D04F 3BE5 C873 8479 4BBE BBAD</li>
- <li><strong>Mail:</strong><a href="mailto:lanodan.delta@free.fr">lanodan.delta@free.fr</a>
- <li><strong>XMPP/Jabber:</strong> lanodan@jappix.com OTR: EA4D74E46634112DF4A238DFE72B9BBF6C9F</li>
- <li><strong>Facebook:</strong> <a href="http://fsf.org/fb"><img src="//the-delta.net/datalove/librism/NotFB.png" alt="Not f'd — you won't find me on Facebook" title="you won't find me on Facebook"/></a></li>
- <li><strong>Skype:</strong> <img src="//the-delta.net/datalove/librism/NotMS.png" alt="Not MS'd - You won't find me on Microsoft's products" title="You won't find me on Skype"/></li>
- </ul>
- </section>
- <section>
- <h1><?=$locale['links']?></h1>
- <ul>
- <li><a href="//github.com/lanodan"><img src="//github.com/favicon.ico"> Github</a></li>
- </ul>
- <ul>
- <li><img src="images/twitter.svg" width="20px" alt="twitter-bird"/>Twitter
- <ul>
- <li><a href="//twitter.com/lanodan">@lanodan</a></li>
- <li><a href="//twitter.com/lanobottl">@lanobottl</a></li>
- <li><a href="//twitter.com/lanodanNSFW">@lanodanNSFW</a> <strong class="warn" title="Not Safe For Work">NSFW</strong></li>
- <li><a href="//twitter.com/derpi_">@derpi_</a></li>
- <li><a href="//twitter.com/TheDeltaNet">@TheDeltaNet</a></li>
- </ul>
- </li>
- <li><img src="//tumblr.com/favicon.ico">Tumblr
- <ul>
- <li><a href="//lanodan.tumblr.com">lanodan.tumblr.com</a></li>
- <li><a href="//lanodan-nsfw.tumblr.com">lanodan-nsfw.tumblr.com</a> <strong class="warn" title="Not Safe For Work">NSFW</strong></li>
- <li><a href="//the-delta.tumblr.com">the-delta.tumblr.com</a></li>
- </ul>
- </li>
- </ul>
- </section>
- <section>
- <table>
- <thead>
- <tr><th>Age</th><th>OS</th></tr>
- </thead>
- <tbody>
- <tr><td>3</td><td>Open-Suse</td></tr>
- <tr><td>10</td><td>Open-Solaris [R.I.P]</td></tr>
- <tr><td>12</td><td>Ubuntu (10.04 → 12.04)</td></tr>
- <tr><td>15</td><td>FreeBSD</td></tr>
- <tr><td>15</td><td>Debian</td></tr>
- </tbody>
- </table>
- </section>
- <section>
- <h1>Boycott:</h1>
- <ul>
- <?php if ($lang == 'fr'){ ?>
- <li><strong>Adobe:</strong> Prix élevé et utilise des formats propriétaires;</li>
- <li><strong>Apple:</strong> Le matériel coute trop cher et n'est ni Ouvert ni Libre (par contre le prix du système d'exploitation me semble correct mais il se base sur des logiciels libres);</li>
- <li><strong>Facebook:</strong> Trop social pour moi :D Nan, je rigole, les gens sont des moutons et ils se font de l'argent dessus et ils ne respectent pas la vie privée;</li>
- <li><strong>Google:</strong> Parcequ'ils veulent conquérir & tracer tout le monde;</li>
- <li><strong>Micromou(aka micro$oft):</strong> Prix trop élevé, aucune qualitée, non Libre et non ouvert;</li>
- <li><strong>Netflix:</strong> (je ne l'ai jamais utilisé) → DRM.</li>
- <li><strong>OpenClassroom anciennement Site Du 0:</strong> Le 0 du site originel représente la note que je mettrais au site;</li>
- <li><strong>w3schools,</strong> ou le site d'apprentissage du web n'est pas a la norme W3C;</li>
- <li>Et tout ce que l'on paye mais qui ne nous appartient pas(ex: DVD, Tv, Sacem, …).</li>
- <?php } else { ?>
- <li><strong>Adobe:</strong> Expensive and proprietary formats.</li>
- <li><strong>Apple:</strong> not Free and hardware cost too much (The Operating System price is okay for me but is based on free software)</li>
- <li><strong>Facebook:</strong> Too social for me :D Nope, just kidding, People are sheep and they are making money on it.</li>
- <li><strong>Google:</strong> Because they want to conquer and trace everyone.</li>
- <li><strong>Micro$oft:</strong> Expensive, no quality, not Open, no support, …</li>
- <li><strong>Netflix:</strong> (never ever used before) → DRM.</li>
- <li><strong>OpenClassroom aka Site du 0:</strong> The 0 is the mark I'd give to this website.</li>
- <li><strong>w3schools</strong> or the web learn website without W3C norm.</li>
- <li>And everything we pay and don't own(ex: DVD, Tv, Music, …).</li>
- <?php } ?>
- </ul>
- </section>
+ <section>
+ <h2><?php if($lang == 'en') { print 'Today and before'; } else { print 'Récaputilatif'; } ?></h2>
+ <p>Haelwenn MONNIER, <?=date_diff(date_create('1998-04-02'), date_create('today'))->y;?><?php if ($lang == 'fr'){ ?> ans. Aussi connut sous le pseudonyme lanodan, j'utilise UNIX/Linux depuis que je suis petit, aujourd'hui je connait donc très bien le domaine. Mon but est de vivre de la programmation (que j'apprend depuis environ 2012) et/ou de l'Art (mes plus anciennes passions). J'aime explorer et créer ce dont j'ai besoin moi-même ou en communautée. Je défend les logiciels libres et l'égalitée. Je parle Français (langue maternelle), Anglais et un peu d'Espagnol et de Japonnais. Je vit en Bretagne et je suis présent au hackerspace, <a href="//breizh-entropy.org/">Breizh-Entropy</a>.<?php } else { ?> years. Also know as lanodan, I use UNIX/Linux since my first years(~4 years old) so now I now it very well. I'd like to live by coding (I learn it since 2012) or Art (theses 2 are my passions). I love to explore and create what I need myself or with others. I act for free and open software, and egality. I talk French(native language), English and a bit of Spannish and Japannese. I live in brittany and I'm at <a href="//breizh-entropy.org/">Breizh-Entropy</a>, a hackerspace.<?php } ?></p>
+ <pre><code> -----BEGIN GEEK CODE BLOCK-----
+ Version: 3.12
+ GAT dpu s+: a--- C++ UL+++ P++ L++++ E--- W+++ N+ o+ K++ w---
+ O- M- V- PS+++ PE-- Y++ PGP+++ t+ 5 X R++ !tv b- DI D-
+ G++ e-- h r++ y
+ ------END GEEK CODE BLOCK------</code></pre>
+ <table>
+ <thead>
+ <tr><th>Age</th><th>OS</th></tr>
+ </thead>
+ <tbody>
+ <tr><td>3</td><td>Open-Suse</td></tr>
+ <tr><td>10</td><td>Open-Solaris [R.I.P]</td></tr>
+ <tr><td>12</td><td>Ubuntu (10.04 → 12.04)</td></tr>
+ <tr><td>15</td><td>FreeBSD</td></tr>
+ <tr><td>15+</td><td>Debian</td></tr>
+ </tbody>
+ </table>
+ <ul>
+ <li><strong>GPG:</strong> (0x4BBEBBAD) 8E4B AA5E E6FB D5A8 D04F 3BE5 C873 8479 4BBE BBAD</li>
+ <li><strong>Mail:</strong><a href="mailto:lanodan.delta@free.fr">lanodan.delta@free.fr</a>
+ <li><strong>XMPP/Jabber:</strong> lanodan@jappix.com OTR: EA4D74E46634112DF4A238DFE72B9BBF6C9F</li>
+ <li><strong>Facebook:</strong> <a href="http://fsf.org/fb"><img src="//the-delta.net/datalove/librism/NotFB.png" alt="Not f'd — you won't find me on Facebook" title="you won't find me on Facebook"/></a></li>
+ <li><strong>Skype:</strong> <img src="//the-delta.net/datalove/librism/NotMS.png" alt="Not MS'd - You won't find me on Microsoft's products" title="You won't find me on Skype"/></li>
+ </ul>
+ </section>
+ <section>
+ <h2><?=$locale['links']?></h2>
+ <ul>
+ <li><a href="//github.com/lanodan">Github</a></li>
+ </ul>
+ <ul>
+ <li>Twitter
+ <ul>
+ <li><a href="//twitter.com/lanodan">@lanodan</a></li>
+ <li><a href="//twitter.com/lanobottl">@lanobottl</a></li>
+ <li><a href="//twitter.com/lanodanNSFW">@lanodanNSFW</a> <strong class="warn" title="Not Safe For Work">NSFW</strong></li>
+ <li><a href="//twitter.com/derpi_">@derpi_</a></li>
+ <li><a href="//twitter.com/TheDeltaNet">@TheDeltaNet</a></li>
+ </ul>
+ </li>
+ <li>Tumblr
+ <ul>
+ <li><a href="//lanodan.tumblr.com">lanodan.tumblr.com</a></li>
+ <li><a href="//lanodan-nsfw.tumblr.com">lanodan-nsfw.tumblr.com</a> <strong class="warn" title="Not Safe For Work">NSFW</strong></li>
+ <li><a href="//the-delta.tumblr.com">the-delta.tumblr.com</a></li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section>
+ <h2>Boycott:</h2>
+ <ul>
+ <?php if ($lang == 'fr'){ ?>
+ <li><strong>Adobe:</strong> Prix élevé et utilise des formats propriétaires;</li>
+ <li><strong>Apple:</strong> Le matériel coute trop cher et n'est ni Ouvert ni Libre (par contre le prix du système d'exploitation me semble correct mais il se base sur des logiciels libres);</li>
+ <li><strong>Facebook:</strong> Trop social pour moi :D Nan, je rigole, les gens sont des moutons et ils se font de l'argent dessus et ils ne respectent pas la vie privée;</li>
+ <li><strong>Google:</strong> Parcequ'ils veulent conquérir & tracer tout le monde;</li>
+ <li><strong>Micromou(aka micro$oft):</strong> Prix trop élevé, aucune qualitée, non Libre et non ouvert;</li>
+ <li><strong>Netflix:</strong> (je ne l'ai jamais utilisé) → DRM.</li>
+ <li><strong>OpenClassroom anciennement Site Du 0:</strong> Le 0 représente la note que je mettrais au site;</li>
+ <li><strong>w3schools,</strong> ou le site d'apprentissage du web n'est pas a la norme W3C;</li>
+ <li>Et tout ce que l'on paye mais qui ne nous appartient pas(ex: DVD, Tv, Sacem, …).</li>
+ <?php } else { ?>
+ <li><strong>Adobe:</strong> Expensive and proprietary formats.</li>
+ <li><strong>Apple:</strong> not Free and hardware cost too much (The Operating System price is okay for me but is based on free software)</li>
+ <li><strong>Facebook:</strong> Too social for me :D Nope, just kidding, People are sheep and they are making money on it.</li>
+ <li><strong>Google:</strong> Because they want to conquer and trace everyone.</li>
+ <li><strong>Micro$oft:</strong> Expensive, no quality, not Open, no support, …</li>
+ <li><strong>Netflix:</strong> (never ever used before) → DRM.</li>
+ <li><strong>OpenClassroom aka Site du 0:</strong> The 0 is the mark I'd give to this website.</li>
+ <li><strong>w3schools</strong> or the web learn website without W3C norm.</li>
+ <li>And everything we pay and don't own(ex: DVD, Tv, Music, …).</li>
+ <?php } ?>
+ </ul>
+ </section>
+ </div>
<?php include 'footer.php';?>
</body>
</html>
diff --git a/css/basic.css b/css/basic.css
@@ -1,37 +0,0 @@
-html, body {
- background-color: #E3E3E3;
- color: #000000;
- height: 100%;
- margin: 0;
- padding: 0;
-}
-a {
- color: #0000EE;
- text-decoration: none;
-}
-a:hover {text-decoration: underline;}
-section.article {
- box-shadow: 0px 0px 10px 0px;
- padding: 10px;
- margin: 10px;
- border-radius: 10px;
-}
-code {
- background-color: #222222;
- color: #C4C4C4;
- display: table;
- text-align: left;
- font: monospace;
-}
-strong.bold {display: block;}
-ul,ol {margin-left: 2em;}
-#content {
- margin: 20px;
-}
-.warn {
- background-color: rgba(255, 60, 0, 0.2);
- border-bottom: 2px solid #FF3C00;
-}
-.tags {
- font-family: monospace;
-}
diff --git a/css/footer.css b/css/footer.css
@@ -1,9 +0,0 @@
-footer {
- background-color: #B80000;
- background-image: linear-gradient(0deg, #900, #D00);
- display: block;
- box-shadow: 0px 0px 5px;
- text-align: center;
- padding: 5px 0px;
- width: 100%;
-}
diff --git a/css/index.css b/css/index.css
@@ -0,0 +1,102 @@
+html, body {
+ background-color: #E3E3E3;
+ color: #000000;
+ height: 100%;
+ margin: 0;
+ padding: 0;
+}
+#content {margin: 20px;}
+.tags {font-family: monospace;}
+.warn {
+ background-color: rgba(255, 60, 0, 0.2);
+ border-bottom: 2px solid #FF3C00;
+}
+a {
+ color: #0000EE;
+ text-decoration: none;
+}
+a:hover {text-decoration: underline;}
+article {
+ box-shadow: 0 0 0.5em 0;
+ padding: 0.5em;
+ margin: 0.5em;
+ border-radius: 0.5em;
+}
+code {
+ background-color: #222222;
+ color: #C4C4C4;
+ display: table;
+ text-align: left;
+ font: monospace;
+}
+strong.bold {display: block;}
+table, tr, td, th {
+ border: 1px solid #000;
+ border-collapse: collapse;
+}
+ul,ol {margin-left: 2em;}
+footer {
+ background-color: #B80000;
+ background-image: linear-gradient(0deg, #900, #D00);
+ display: block;
+ box-shadow: 0 0 0.5vh;
+ margin-top: 1vh;
+ text-align: center;
+ padding: 5px 0px;
+ width: 100%;
+}
+nav {
+ background-color: #B80000;
+ background-image: linear-gradient(0deg, #900, #D00);
+ color: #222222;
+ font-size: larger;
+ font-weight: bold;
+ display: block;
+ box-shadow: 0 0 0.5vh;
+ margin-bottom: 1vh;
+}
+nav * {
+ margin: 0;
+ padding: 0;
+}
+nav a {
+ color: inherit;
+ display: block;
+ padding: 0.5vw 0.5vh;
+}
+nav ul {
+ list-style: none;
+ display: inline-block;
+}
+nav ul li {
+ transition: 0.5s;
+ display: inline-table;
+}
+nav li:hover {
+ background-color: #AB0000;
+ background-image: linear-gradient(0deg, #800000, #C40000);
+}
+nav li:active {
+ background-color: #910000;
+ background-image: linear-gradient(0deg, #660000, #AB0000);
+}
+nav ul li:hover > ul {display: block;}
+nav ul ul {
+ display: none;
+ font-size: 16px;
+ position: absolute;
+ background: #900;
+ box-shadow: 0.3vw 0.3vw 0.3vw 0;
+}
+nav ul ul li {display: block;}
+nav ul ul li:hover {background: #B00;}
+nav ul ul li:active {background: #E00;}
+nav ul ul ul {
+ position: absolute;
+ left: 100%;
+ top: 0;
+ font-size: 14px;
+}
+nav ul.right {float: right;}
+nav li.expand_down:after {content: " ▿";}
+nav li.expand_right:after {content: " ▻";}
diff --git a/css/navbar.css b/css/navbar.css
@@ -1,53 +0,0 @@
-nav {
- background-color: #B80000;
- background-image: linear-gradient(0deg, #900, #D00);
- color: #222222;
- font-size: 21px;
- display: block;
- box-shadow: 0px 0px 0.5vh;
-}
-nav * {
- margin: 0;
- padding: 0;
-}
-nav a {
- color: inherit;
- display: block;
- padding: 0.5vw 0.5vh;
-}
-nav ul {
- list-style: none;
- display: inline-block;
-}
-nav ul li {
- transition: 0.5s;
- display: inline-table;
-}
-nav li:hover {
- background-color: #AB0000;
- background-image: linear-gradient(0deg, #800000, #C40000);
-}
-nav li:active {
- background-color: #910000;
- background-image: linear-gradient(0deg, #660000, #AB0000);
-}
-nav ul li:hover > ul {display: block;}
-nav ul ul {
- display: none;
- font-size: 16px;
- position: absolute;
- background: #900;
- box-shadow: 0.3vw 0.3vw 0.3vw 0;
-}
-nav ul ul li {display: block;}
-nav ul ul li:hover {background: #B00;}
-nav ul ul li:active {background: #E00;}
-nav ul ul ul {
- position: absolute;
- left: 100%;
- top: 0;
- font-size: 14px;
-}
-nav ul.right {float: right;}
-.expand_down:after {content: " ▿";}
-.expand_right:after {content: " ▻";}
diff --git a/footer.php b/footer.php
@@ -1,8 +1,5 @@
<footer>
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
- <img alt="CC-BY-SA" src="/images/cc-by-sa.png" />
- </a>
- <?=$locale['license']?>
- <strong><a href="http://www.anybrowser.org/campaign/"><?=$locale['anybrowser']?></a></strong>
- <a href="https://flattr.com/submit/auto?user_id=lanodan&url=<?=(isset($_SERVER['HTTPS']) ? "https" : "http") . "://{$_SERVER[HTTP_HOST]}{$_SERVER[REQUEST_URI]}"?>" target="_blank"><img src="//api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0"></a>
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="CC-BY-SA" src="/images/cc-by-sa.png" /></a><?=$locale['license']?>
+ <a href="http://www.anybrowser.org/campaign/" title="http://www.anybrowser.org/campaign/"><img src="/images/anybrowser.png" alt="<?=$locale['anybrowser']?>"/></a>
+ <a href="https://flattr.com/submit/auto?user_id=lanodan&url=<?=(isset($_SERVER['HTTPS']) ? "https" : "http") . "://{$_SERVER[HTTP_HOST]}{$_SERVER[REQUEST_URI]}"?>" target="_blank"><img src="/images/flattr.png" alt="Flattr" title="Flattr"></a>
</footer>
diff --git a/images/anybrowser.png b/images/anybrowser.png
Binary files differ.
diff --git a/index.php b/index.php
@@ -14,30 +14,27 @@
?>
<!DOCTYPE html>
-<html>
+<html lang="<?=$lang?>">
<head>
<meta charset="utf-8">
<title><?=$locale['mainPage'].$locale['fullTitle']?></title>
- <link rel="stylesheet" type="text/css" href="css/basic.css">
- <link rel="stylesheet" type="text/css" href="css/navbar.css">
- <link rel="stylesheet" type="text/css" href="css/footer.css">
+ <link rel="stylesheet" type="text/css" href="css/index.css">
+ <link type="application/rss+xml" href="/rss" title="RSS feed" rel="alternate"></link>
</head>
<body>
<?php include 'navbar.php'; ?>
- <section id="content">
+ <div id="content">
<?php
while($row = $result->fetch_array()) {
$rows[] = $row;
}
foreach($rows as $row) {
- print ' <section class="article">
- <h1><a href="post?id='.$row['id'].'">'.$row['title'].'</a></h1>
- <article>
+ print ' <article>
+ <h2><a href="post?id='.$row['id'].'">'.$row['title'].'</a></h2>
'.$row['content'].'
- </article>
- <div class="info"><span class="tags>"'.$row['tags'].'</span><date>'.date("c", strtotime($row['pubDate']) ).'</date></div>
- </section>
+ <div class="info">'.$row['tags'].' ~~ '.date("c", strtotime($row['pubDate']) ).'</div>
+ </article>
';
}
@@ -47,7 +44,7 @@
# close connection
$mysqli->close();
?>
- </section>
+ </div>
<?php include 'footer.php';?>
</body>
</html>
diff --git a/live.php b/live.php
@@ -5,11 +5,14 @@
<html>
<head>
<meta charset="utf-8">
- <title><?=$lang['mainPage'].$lang['fullTitle']?></title>
- <link rel="stylesheet" type="text/css" href="css/basic.css">
+ <title>Livestream <?=$locale['fullTitle']?></title>
<link rel="stylesheet" type="text/css" href="css/live.css">
+ <link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
+<?php include 'navbar.php'; ?>
+ <div>Tchat: irc://the-delta.net/#live <noscript>enable javascript or use a irc client/activer javascript ou utiliser un client irc</noscript></div>
<iframe src="https://kiwiirc.com/client/the-delta.net/?theme=basic#live" style="border:0; width:350px; height:100%;"></iframe>
+<?php include 'footer.php';?>
</body>
</html>
diff --git a/post.php b/post.php
@@ -28,9 +28,7 @@
<head>
<meta charset="utf-8">
<title><?=$locale['mainPage'].$locale['fullTitle']?></title>
- <link rel="stylesheet" type="text/css" href="css/basic.css">
- <link rel="stylesheet" type="text/css" href="css/navbar.css">
- <link rel="stylesheet" type="text/css" href="css/footer.css">
+ <link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
<?php include 'navbar.php'; ?>
@@ -49,25 +47,28 @@
$result->close();
$mysqli->close();
?>
+ <p><?php if ($lang == "en") { ?>Comments not available yet, send me a email or something else you can found at the about page.<?php } else { ?>Les commentaires ne sont pas disponible pour le moment, envoyer moi un mail ou autre chose que vous pouvez trouvez sur la page "À propos"<?php } ?></p>
<form action="comment.php">
- <label>User(optionnal): </label><input type="text" name="username" value="Anonymous"></input><br />
- <label>Comment: </label><textarea name="comment"></textarea>
+ <label>User(optionnal): </label><input type="text" name="username" value="Anonymous" disabled=""></input><br />
+ <label>Comment: </label><textarea name="comment" disabled=""></textarea>
</form>
<?php
- while($row = $result_comments->fetch_array()) {
- $rows[] = $row;
- }
-
- foreach($rows as $row) {
- print ' <section class="comment" id="'.$row['id'].'">
- <h1>'.$row['username'].'</h1>
- '.$row['comment'].'
- </section>
-';
- }
-
- $result->close();
- $mysqli->close();
+/*
+ * while($row = $result_comments->fetch_array()) {
+ * $rows[] = $row;
+ * }
+ *
+ * foreach($rows as $row) {
+ * print ' <section class="comment" id="'.$row['id'].'">
+ * <h1>'.$row['username'].'</h1>
+ * '.$row['comment'].'
+ * </section>
+ *';
+ * }
+ *
+ * $result->close();
+ * $mysqli->close();
+ */
?>
</section>
<?php include 'footer.php';?>