aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php23
-rw-r--r--post-your-own/index.php37
2 files changed, 52 insertions, 8 deletions
diff --git a/index.php b/index.php
index b3891e7..d011235 100644
--- a/index.php
+++ b/index.php
@@ -79,23 +79,30 @@ ob_start();
It's fun, it's great, <a href="http://mageia.org/">have a look</a>
and join us!</p>
<p style="text-align: center;"><a href="http://mageia.org/">
- <img src="static/mageia-logo-small.png"
- style="width: 200px;"
- alt="Mageia"></a></p>
-
+ <img src="static/mageia-logo-small.png" style="width: 200px;" alt="Mageia"></a></p>
<h2>Free hugs?</h2>
<p>Yes! A hug definitely will make you feel better.
It's free and it's great!</p>
-
<p>Check the <a href="http://www.freehugscampaign.org/">Free
Hugs Campaign</a> out, and save the date: next International
Free Hugs Day is on <time datetime="2011-07-02">July,
2<sup>nd</sup> 2011</time>.</p>
</aside>
- <div class="clear"></div>
</article>
+ <div class="clear"></div>
<footer>
- <p><a href="http://mageia.org/">mageia.org</a></p>
+ <p class="sign">♡ May 2011 by <a href="http://mageia.org/wiki/doku.php?id=web">mageia.org web team</a>
+ &nbsp; &ndash; Copying is an act of love. <a href="http://svnweb.mageia.org/web/hugs/">Please copy and share</a>
+ (or send patches)
+ &ndash; Want to <a href="/post-your-own/" rel="nofollow">post your own photo</a> here?</p>
</footer>
</body>
-</html> \ No newline at end of file
+</html>
+<?php
+
+$s = ob_get_clean();
+$s = str_replace(array(">\n", ">\n\t", "\t", ' ', ";\n"), array('>', '>', '', '', ';'), $s);
+echo $s;
+
+
+?> \ No newline at end of file
diff --git a/post-your-own/index.php b/post-your-own/index.php
new file mode 100644
index 0000000..5e0bf3a
--- /dev/null
+++ b/post-your-own/index.php
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+ <meta charset="utf-8">
+ <title>Post your own Free Hugs! photo @ Mageia</title>
+ <meta name="description" content="Recommandations and procedure to post your own photo to hugs.mageia.org.">
+ <meta name="keywords" content="mageia, community, free hugs, photo">
+ <meta name="robots" content="noindex, follow">
+ <link rel="canonical" href="http://hugs.mageia.org/post-your-own/">
+ <link rel="icon" type="image/png" href="/static/favicon.png">
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Pacifico">
+ <link rel="home" href="/">
+ <style><?php include '../source.css'; ?></style>
+</head>
+<body>
+ <h1><a href="/">Need a hug?</a> &raquo; Your own photo</h1>
+ <article>
+ <aside>
+ <p>Want to push more happy faces there as well?</p>
+ <p>We need:
+ your photo, a license to publish it here, your name,
+ any short description and/or link to point to;
+ all this, sent to this rather anonymous but oh-so-friendly
+ <code>hug-me [at] mageia [dot] org</code> email box.</p>
+ <p>If our hugging committee is ok with all your submission,
+ it will be online in a snap.
+ Increase your chance:
+ be an active Mageia <a href="http://mageia.org/contribute/">contributor</a>
+ or <a href="http://mageia.org/downloads/">user</a>;
+ stay on topic (hold a FREE HUGS! sign &amp; smile).</p>
+ </aside>
+ </article>
+ <footer>
+ <p class="sign">♡ May 2011 by <a href="http://mageia.org/wiki/doku.php?id=web">mageia.org web team</a></p>
+ </footer>
+</body>
+</html> \ No newline at end of file