diff options
Diffstat (limited to 'post-your-own/index.php')
-rw-r--r-- | post-your-own/index.php | 59 |
1 files changed, 47 insertions, 12 deletions
diff --git a/post-your-own/index.php b/post-your-own/index.php index 5e0bf3a..a8375bb 100644 --- a/post-your-own/index.php +++ b/post-your-own/index.php @@ -15,19 +15,54 @@ <body> <h1><a href="/">Need a hug?</a> » 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> - <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 & smile).</p> + <?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 + – 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> |