관리-도구
편집 파일: upload_form.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <Title>XUpload Pro form</Title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <link rel="stylesheet" type="text/css" href="xupload.css"> </HEAD> <BODY> <Center> <br><br> <form id="myform" enctype="multipart/form-data" action="/scgi-bin/upload.cgi" method="post" onSubmit="return StartUpload(this);"> <DIV id="div1"> <b><font id='x_max_files'>?</font> files <font id='x_max_size'>?</font> Mb total maximum</b> <div id="upload_input"><input id="my_file_element" type="file" name="file_1" size=58></div> <div id="files_list"></div> <!--Optional fields start--> <br> <div id="x_folder" style="display:none;">Upload to folder: <input type="text" name="ext_folder" size=32 class="myForm"><br><br></div> Send upload notification to e-mail: <input type="text" name="email_notification" size=24 class="myForm"> <div id="x_password" style="display:none;"><br><br>Password: <input type="password" name="upload_password" size=32 class="myForm"></div> <br><br> <!--Optional fields end--> <Input type="radio" name="pbmode" value="1" id="pb1"><label for="pb1">Upload progress in pop-up</label><br> <Input type="radio" name="pbmode" value="2" id="pb2"><label for="pb2">Upload progress in lightbox 1</label><br> <Input type="radio" name="pbmode" value="3" id="pb3" checked><label for="pb3">Upload progress in lightbox 2</label><br> <Input type="radio" name="pbmode" value="4" id="pb4"><label for="pb4">Upload progress over the form</label><br> <!-- You can choose progress bar mode and set it to the hidden field below then just uncomment it and delete radiobuttons above <Input type="hidden" name="pbmode" value="3"> --> <p align=center><input type="submit" value="Upload Files" class="myForm" id="submit_btn"></p> </DIV> </form> </Center> <iframe src="javascript:false;" name="xupload" style="position:absolute;left:-9999px;"></iframe> <script type="text/javascript"> //Specify your form ID var x_form_id = 'myform'; var x_mode = 1; var x_tmpl_name = ''; </script> <script src="xupload.js" type="text/javascript"></script> </BODY> </HTML>