Advertisement
adolf1994

index.php

May 28th, 2011
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.38 KB | None | 0 0
  1. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  2.     <head>
  3.         <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  4.         <link href="css/styles.css" rel="stylesheet" type="text/css" media="all" />
  5.         <!-- MAKE SURE TO REFERENCE THIS FILE! -->
  6.         <script type="text/javascript" src="scripts/ajaxupload.js"></script>
  7.         <!-- END REQUIRED JS FILES -->
  8.         <!-- THIS CSS MAKES THE IFRAME NOT JUMP -->
  9.         <style type="text/css">
  10.             iframe {
  11.                 display:none;
  12.             }
  13.         </style>
  14.         <!-- THIS CSS MAKES THE IFRAME NOT JUMP -->
  15.     </head>
  16.     <body><br><br><br><br>
  17.         <div id='container'>
  18.             <!-- THIS IS THE IMPORTANT STUFF! -->
  19.             <div id="demo_area">
  20.                 <div id="left_col">
  21.                     <fieldset>
  22.                         <legend>Upload form</legend>
  23.                         <form action="scripts/ajaxupload.php" method="post" name="standard_use" id="standard_use" enctype="multipart/form-data">
  24.                             <input type="hidden" name="maxSize" value="2097152" />
  25.                             <input type="hidden" name="maxW" value="1280" />
  26.                             <input type="hidden" name="fullPath" value="http://adolf94.x10.mx/xfx10/" />
  27.                             <input type="hidden" name="relPath" value="../../xfx10/" />
  28.                             <input type="hidden" name="maxH" value="1024" />
  29.                             <input type="hidden" name="filename" value="filename" />
  30.                             <p><input type="file" name="filename" id="filename" value="filename" /></p>
  31.                             <p><button onclick="ajaxUpload(this.form,'scripts/ajaxupload.php?filename=filename&amp;maxSize=2097152&amp;maxW=1280&amp;fullPath=http://adolf94.x10.mx/xfx10/&amp;relPath=../../xfx10/&amp;maxH=1024','upload_area','File Uploading Please Wait...&lt;br /&gt;&lt;img src=\'images/loader_light_blue.gif\' width=\'128\' height=\'15\' border=\'0\' /&gt;','&lt;img src=\'images/error.gif\' width=\'16\' height=\'16\' border=\'0\' /&gt; Error in Upload, check settings and path info in source code.'); return false;">Upload Image</button></p>
  32.                         </form>
  33.                     </fieldset>
  34.                     <br /><small style="font-weight: bold; font-style:italic;">Supported File Types: gif, jpg, png</small>
  35.                 </div>
  36.                 <div id="right_col">
  37.                     <div id="upload_area">
  38.                         Images will be displayed here<br /><br />
  39.                         You can direct them to do any thing you want!
  40.                     </div>
  41.                     Check the images out <a href="/xfx10/" onclick="window.open(this.href);return false;">HERE</a>!
  42.                 </div>
  43.                 <div class="clear"> </div>
  44.             </div>
  45.             <!-- END IMPORTANT STUFF -->
  46. </body>
  47. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement