aboutsummaryrefslogtreecommitdiffstats
path: root/post-your-own/index.php
blob: a8375bb419a897413f04f9c25a73cdaaa2aa732c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!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>
        <?php /*
        <!-- mockup for later -->
        <aside class="send"><form>
            <div id="send">
            <p>Hi!</p>
            <p>My name is <input type="text" name="name" placeholder="Your name">.
                I am from <input type="text" name="location" placeholder="Your city, country">.</p>
            <p>I would love to have this picture
                added to <a href="http://hugs.mageia.org/">hugs.mageia.org</a>:</p>
            <p><input type="file" name="image" placeholder="Picture"></p>

            <p>I made sure I can send it to you for this purpose; it is licenced as
                <input type="text" name="license" placeholder="CC-By-SA, CC0, anything">.</p>
            <p>And I would appreciate that this comment is added with the picture:<br>
                <textarea name="desc" placeholder="Description, links" style="width: 30em; height: 4em;"></textarea></p>
            <p>Please tell me what you think.
                You can email me back at <input type="email" name="email" placeholder="Your email address"> if needed.</p>
            <p>Thanks!</p>
            </div>
            <p style="text-align: right;"><input type="submit" value="Send"></p>
        </form>
        */ ?>
        <aside>
            <?php if (isset($_POST['pstd']) && $_POST['pstd'] == 1): ?>
        <p>Ok, thanks! So. Want to push more happy faces there as well?</p>
        <p>We need:</p>
        <ul>
            <li>your photo (someone, somewhere, smiling, holding a FREE HUGS sign),</li>
            <li>a license to publish it here,</li>
            <li>your name or nickname,</li>
            <li>any short description and/or link to point to.</li>
        </ul>
        <p>All this, sent to this rather anonymous
            <code>communication [at] group [dot] mageia [dot] org</code> box.
            But there are real people there!</p>


        <p>If our hugging committee is ok with your submission,
            it will be online in a snap
            &ndash; increase your chances:
            be or become an active Mageia <a href="http://mageia.org/contribute/">contributor</a>
            or <a href="http://mageia.org/downloads/">user</a>!</p>
            <?php else: ?>
            <form method="post" action="">
                <input type="hidden" name="pstd" value="1">
                <p><input type="submit" value="Well, click here first"><br></p>
            </form>
            <?php endif; ?>
        </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>