Template Header:
Die Scripts/PHP befinden sich auf: http://www.domain.xy/uploader
Code: Select all
<script type="text/javascript" src="uploader/jquery-1.2.1.min.js"></script>
<script type="text/javascript" src="uploader/jquery.flash.js"></script>
<script type="text/javascript" src="uploader/jquery.jqUploader.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#example1').jqUploader(
{
uploadScript: 'uploader/flash_upload.php',
background:'FFFFDF',
barColor:'FFDD00',
allowedExt:'*.avi; *.jpg; *.jpeg; *.png',
allowedExtDescr: 'what you want',
validFileMessage: 'Thanks, now hit Upload!',
hideSubmit: false
}
);
Code: Select all
{LABEL:email}{email}<br />
<div id="example1">{MAX_FILE_SIZE}{filename}</div><br />
{submitIt}
{MAX_FILE_SIZE} = hidden field
{filename} = file
{submitIt} = Send button
Auf der gerenderten Seite ist nur {email} und {SubmitIt} sichtbar. Dazwischen eine Lücke
Der gerenderte Code:
Code: Select all
<form name="phpwcmsForm93" id="phpwcmsForm93" action="http://www.gameculture.com.sg/index.php?aid=25#jumpForm93" method="post" enctype="multipart/form-data">
Email<input type="text" name="email" id="email" value="" size="25" /><br />
<div id="example1">{MAX_FILE_SIZE}<input type="file" name="filename" id="filename" title="" /></div><br />
<input type="submit" name="submitIt" id="submitIt" />
<input type="hidden" name="cpID93" value="93" /><input type="hidden" name="MAX_FILE_SIZE" value="50000000" /><input type="hidden" name="ca6f54a0e5d47224e89af5564a7be322" value="567" /></form>
Code: Select all
<input type="hidden" name="cpID93" value="93" /><input type="hidden" name="MAX_FILE_SIZE" value="50000000" /><input type="hidden" name="ca6f54a0e5d47224e89af5564a7be322" value="567" /></form>
