mashup-flickr-complete-gallery-upload.php / php
<?php include (dirname(__FILE__) . '/../lib/gallery.php'); gallery->authenticate("write"); if (!gallery->error("You do not have permission to upload photos"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="../css/main.css" rel="stylesheet" type="text/css" /> <link href="../css/gallery.css" rel="stylesheet" type="text/css" /> <title>Upload Photo</title> </head> <body> <?php include ('header.php') ?> <?php include ('navigation.php') ?> <div class="photo-upload"> <h1>Upload a Photo</h1> <form action=<doUpload.php> method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="10485760" /> <p class="upload-field"> <label>Photo</label> <input name="file" type="file" size="50" /> </p> <p class="photo-title-upload"> <label>Title</label> <input name="title" type="text" id="title" size="50" /> <p class="photo-description-upload"> <label>Description</label> <textarea name="description" cols="50" rows="6" wrap="VIRTUAL" id="description"></textarea> </p> <p class="photo-privacy-upload"> <label>Tags</label> <input name="tags" type="text" id="tags" size="50" /> </p> <p class="photo-tags-upload"> <label>Privacy</label> <input type="radio" name="privacy" value="public" checked="checked"/> Public<br/> <input type="radio" name="privacy" value="private" />Private<br/> <input type="radio" name="privacy" value="friends" />Friends Only<br/> <input type="radio" name="privacy" value="family" />Family Only<br/> <input type="radio" name="privacy" value="friendsfamily" />Friends and Family<br/> </p> <p> <input type="submit" name="Submit" value="Upload Photo" /> <input type="reset" name="Reset" value="Reset" /> </p> </form> </div> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.