관리-도구
편집 파일: upload_form2.html
<!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } .style3 {font-size: 24px; font-family: Georgia, "Times New Roman", Times, serif;} .style5 {font-size: 14px} --> </style> <script language="javascript"> function showfiles() { document.getElementById('processrow').style.display = 'block'; document.form(0).submit(); } </script> <BODY> <form id="lidaform" enctype="multipart/form-data" action="../../cgi-bin/upload.cgi" method="post" onSubmit="return StartUpload(this);"> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"> <tr> <td><table width="100%" border="0" cellspacing="1" cellpadding="4"> <tr id="processrow" style="display:none"> <td align="left" valign="middle" bgcolor="FFFFFF" class="style3"><table width="100%" border="0" cellspacing="5" cellpadding="5"> <tr> <td align="left" valign="middle" class="style5"><strong> Please wait while your files are being uploaded. Do not close your browser or back out of this screen until the upload is complete. </strong></td> </tr> <tr> <td align="center" valign="middle"><img src="../images/ajax-loader.gif" /></td> </tr> </table></td> </tr> <tr> <td align="left" valign="middle" bgcolor="FFFFFF" class="style3">Upload File.... <br /> <span class="style5">Click on the "Browse" button below to select a file on your computer. After you've selected the file(s), click the "Send File" to transfer your file(s) to us. </span><br /> <br /> <span class="style5"><strong>Please remember:</strong> Once the file is fully sent to us, your screen will change. Please do not close the browser until you see this new screen. If you don't wait, we will not receive the file. Thanks! If you have any questions, please contact <a href="mailto:ashley@fnestweddingsites.com">ashley@finestweddingsites.com</a> </span><br /> <div id="upload_input"><br><input name="file_0" type="file" onChange="checkExt(this)" size=40><br> </div> <input type="button" id="x_add_slot" value="Add more files" class="myForm" onClick="addUploadSlot();"> <Input type="hidden" name="pbmode" value="4" id="pb4"> </td> </tr> <tr> <td align="middle" valign="top" bgcolor="FFFFFF" class="style1"><input type="submit" class="myForm" value="Send Files" onclick="showfiles()"> <iframe src="about:blank" name="xupload" style="position:absolute;left:-9999px;"></iframe> <div align="center"></div></td> </tr> </table></td> </tr> </table> </form> <script type="text/javascript"> //Specify your form ID var x_form_id = 'lidaform'; var x_mode = 1; var x_tmpl_name = ''; </script> <script src="xupload.js" type="text/javascript"></script> <br /> <br /> </BODY> </HTML>