Guest User

newone

a guest
May 15th, 2013
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Script type="text/javascript">
  2. var ext_allowed='<TMPL_VAR ext_allowed>';
  3. var ext_not_allowed='<TMPL_VAR ext_not_allowed>';
  4. var max_upload_files='<TMPL_VAR max_upload_files>';
  5. var descr_mode='<TMPL_VAR enable_file_descr>';
  6. var utype='<TMPL_VAR utype>';
  7. var public_on='<TMPL_VAR enable_catalogue>';
  8. var lang_description='<TMPL_VAR lang_description>:';
  9. var lang_published='<TMPL_VAR lang_public>';
  10. var max_upload_filesize='<TMPL_VAR max_upload_filesize>';
  11. //var srv_tmp_url='<TMPL_VAR srv_tmp_url>';
  12. </Script>
  13. <script type="text/javascript" src="<TMPL_VAR site_url>/swfobject.js"></script>
  14.  
  15. <TMPL_IF msg><font class="ok"><TMPL_VAR msg></font><br><br></TMPL_IF>
  16.  
  17. <div id="upload_div">
  18.  
  19. <div id="utmodes">
  20. <input type="button" value="<TMPL_VAR lang_file_upload>" onClick="changeUploadType('file')" id="r_file" class="active">
  21. <TMPL_IF mmff>
  22. <input type="button" value="<TMPL_VAR lang_upload_flash>" onClick="changeUploadType('ff')" id="r_ff">
  23. </TMPL_IF>
  24. <input type="button" value="<TMPL_VAR lang_url_upload>" onClick="changeUploadType('url')" id="r_url">
  25. <TMPL_IF mmrr>
  26. <!--input type="button" value="<TMPL_VAR lang_free_rs_leech>" onClick="changeUploadType('rs')" id="r_rs"-->
  27. </TMPL_IF>
  28. <TMPL_IF mmtt>
  29. <input type="button" value="<TMPL_VAR lang_form_torrent>" onClick="changeUploadType('tt')" id="r_tt" style="margin:0">
  30. </TMPL_IF>
  31. </div>  
  32.  
  33.  
  34. <div id="div_file" class="upload_block">
  35. <form name="file" enctype="multipart/form-data" action="<TMPL_VAR srv_cgi_url>/upload.cgi?upload_id=" method="post" onSubmit="return StartUpload(this);">
  36. <input type="hidden" name="upload_type" value="file">
  37. <input type="hidden" name="sess_id" value="<TMPL_VAR sess_id>">
  38. <input type="hidden" name="srv_tmp_url" value="<TMPL_VAR srv_tmp_url>">
  39. <table cellpadding=0 cellspacing=0 id="div_uf1" class="div1" style="position:static;"><tr><td valign=top>
  40. <b><TMPL_VAR lang_up_to> <TMPL_VAR max_upload_filesize> Mb, <TMPL_VAR max_upload_files> <TMPL_VAR lang_files_max></b><br>
  41. <div class="upload_input"><input id="my_file_element" type="file" name="file_1" size=79></div>
  42. <div id="files_list"></div>
  43.  
  44. <a href="#" style="line-height:20px;" onClick="$$('optidiv').style.position='static';this.style.display='none';return false;"><TMPL_VAR lang_show_advanced></a>
  45. <div id="optidiv">
  46. <TMPL_VAR lang_rcpt_email>: <input type="text" name="link_rcpt" class="myForm" size=24 maxlength=42> &nbsp;
  47. <TMPL_VAR lang_link_pass>: <input type="text" name="link_pass" class="myForm" size=8>
  48. </div>
  49. <br>
  50. <center>
  51. <label for="tos"><TMPL_VAR lang_i_agree></label> <a href="tos.html"><TMPL_VAR lang_tos_short></a> <input type="checkbox" name="tos" value="1" id="tos" checked onClick="if(this.checked){this.form.submit_btn.disabled=false}else{this.form.submit_btn.disabled=true};this.blur();"><br>
  52. <input type="submit" name="submit_btn" value=" <TMPL_VAR lang_upload_btn> " class="btn">
  53. </center>
  54. <br>
  55. </td></tr></table>
  56. </form>
  57. </div>
  58.  
  59.  
  60. <div id="div_url" class="upload_block">
  61. <TMPL_IF remote_url>
  62. <form name="url" enctype="multipart/form-data" action="<TMPL_VAR srv_cgi_url>/upload.cgi?upload_id=" method="post" onSubmit="return StartUpload(this);">
  63. <input type="hidden" name="sess_id" value="<TMPL_VAR sess_id>">
  64. <input type="hidden" name="upload_type" value="url">
  65. <input type="hidden" name="srv_tmp_url" value="<TMPL_VAR srv_tmp_url>">
  66. <TMPL_LOOP site_logins>
  67. <input type="hidden" name="<TMPL_VAR name>" value="<TMPL_VAR value>">
  68. </TMPL_LOOP>
  69.  
  70. <table cellpadding=0 cellspacing=0 id="div_uf2" class="div1" style="position:static;"><tr><td valign=top>
  71. <!--<b><TMPL_VAR lang_up_to> <TMPL_VAR max_upload_filesize> Mb, <TMPL_VAR max_upload_files> <TMPL_VAR lang_files_max></b><br>-->
  72. <TMPL_VAR lang_you_can_leech> <b><TMPL_VAR leech_left_mb></b> MB <TMPL_VAR lang_rs_files_today>
  73.  
  74. <div id="url_mass">
  75. <TMPL_VAR lang_can_enter_up_to> <TMPL_VAR max_upload_files> <TMPL_VAR lang_one_per_row>
  76. <Textarea name="url_mass" style="width:100%;font:11px Arial;" cols=36 rows=<TMPL_VAR max_upload_files_rows>></Textarea>
  77. <TMPL_IF mmrr><TMPL_IF leech_on><TMPL_VAR lang_url_leech_supported>: <TMPL_VAR supported_sites></TMPL_IF></TMPL_IF>
  78. </div>
  79.  
  80. <a href="#" style="line-height:20px;" onClick="$$('optidiv2').style.position='static';this.style.display='none';return false;"><TMPL_VAR lang_show_advanced></a>
  81. <div id="optidiv2">
  82. Proxy URL: <input type="text" name="url_proxy" value="" size=40 class="myForm"> <small>(e.g. 111.222.333.444:8008)</small><br>
  83. <TMPL_VAR lang_rcpt_email>: <input type="text" name="link_rcpt" class="myForm" size=24 maxlength=42> &nbsp;
  84. <TMPL_VAR lang_link_pass>: <input type="text" name="link_pass" class="myForm" size=8>
  85. </div>
  86. <br>
  87. <center>
  88. <label for="tos2"><TMPL_VAR lang_i_agree></label> <a href="tos.html"><TMPL_VAR lang_tos_short></a> <input type="checkbox" name="tos" value="1" id="tos2" checked onClick="if(this.checked){this.form.submit_btn.disabled=false}else{this.form.submit_btn.disabled=true};this.blur();"><br>
  89. <input name="submit_btn" type="submit" value=" <TMPL_VAR lang_upload_btn> " class="btn">
  90. </center>
  91. <br>
  92. </td></tr></table>
  93. </form>
  94. <TMPL_ELSE>
  95.  
  96. <br><br><br><b><TMPL_IF my_login><a href="?op=payments"><TMPL_VAR lang_upgrade_account></a><TMPL_ELSE><a href="?op=registration"><TMPL_VAR lang_register_on_site></a></TMPL_IF><br><TMPL_VAR lang_to_use> <TMPL_VAR lang_url_upload></b>
  97.  
  98. </TMPL_IF>
  99. </div>
  100.  
  101. <!--
  102. <TMPL_IF mmrr>
  103. <div id="div_rs" class="upload_block">
  104. <TMPL_IF leech_on>
  105.    <form name="rs" enctype="multipart/form-data" action="<TMPL_VAR srv_cgi_url>/upload.cgi?upload_id=" method="post" onSubmit="return StartUpload(this);">
  106.    <input type="hidden" name="sess_id" value="<TMPL_VAR sess_id>">
  107.    <input type="hidden" name="up1oad_type" value="url">
  108.    <input type="hidden" name="srv_tmp_url" value="<TMPL_VAR srv_tmp_url>">
  109.    <table cellpadding=0 cellspacing=0 class="div1" style="position:static;height: 200px;"><tr><td valign=top>
  110.    <TMPL_VAR lang_you_can_leech> <b><TMPL_VAR leech_left_mb></b> MB <TMPL_VAR lang_rs_files_today>
  111.    <div id="url_flds">
  112.        <TMPL_VAR lang_can_enter_up_to> <TMPL_VAR max_upload_files> <TMPL_VAR lang_one_per_row>
  113.        <textarea cols=36 rows=<TMPL_VAR max_upload_files_rows> name="url_mass" class="input_url" style="width:100%;font:11px Arial;"></textarea>
  114.        <TMPL_VAR lang_url_leech_supported>: <TMPL_VAR supported_sites>
  115.    </div>
  116.    <br>
  117.    <center>
  118.    <label for="tos3"><TMPL_VAR lang_i_agree></label> <a href="tos.html"><TMPL_VAR lang_tos_short></a> <input type="checkbox" name="tos" value="1" id="tos3" checked onClick="if(this.checked){this.form.submit_btn.disabled=false}else{this.form.submit_btn.disabled=true};this.blur();"><br>
  119.    <input name="submit_btn" type="submit" value=" <TMPL_VAR lang_upload_btn> " class="btn">
  120.    </center>
  121.    <br>
  122.    </td></tr></table>
  123.    <input type="hidden" name="upload_type" value="url">
  124.    </form>
  125. <TMPL_ELSE>
  126.    <br><br><br>
  127.    <TMPL_IF max_rs_leech>
  128.    <b><TMPL_VAR lang_you_used_all> <TMPL_VAR max_rs_leech> <TMPL_VAR lang_rs_slots_last24></b>
  129.    <TMPL_ELSE>
  130.    <b><TMPL_IF my_login><a href="?op=payments"><TMPL_VAR lang_upgrade_account></a><TMPL_ELSE><a href="?op=registration"><TMPL_VAR lang_register_on_site></a></TMPL_IF><br><TMPL_VAR lang_to_use> <TMPL_VAR lang_free_rs_leech></b>
  131.    </TMPL_IF>
  132. </TMPL_IF>
  133. </div>
  134. </TMPL_IF>
  135. -->
  136.  
  137. <TMPL_IF mmtt>
  138. <div id="div_tt" class="upload_block">
  139. <TMPL_IF mmtt_on>
  140. <form name="tt" enctype="multipart/form-data" action="<TMPL_VAR srv_torrent_cgi_url>/upload.cgi?upload_id=" method="post" onSubmit="if(!this.file_0.value.match(/\.torrent$/i)){alert('Not a .torrent file!');return false;}return StartUpload(this);">
  141. <input type="hidden" name="sess_id" value="<TMPL_VAR sess_id>">
  142. <input type="hidden" name="up1oad_type" value="tt">
  143. <input type="hidden" name="srv_tmp_url" value="<TMPL_VAR srv_torrent_tmp_url>">
  144. <table cellpadding=0 cellspacing=0 class="div1" style="position:static;height: 200px;"><tr><td valign=top>
  145.  
  146.  <b>Choose .torrent file:</b>
  147.  <div class="upload_input"><input type="file" name="file_0" onChange="if(!this.value.match(/\.torrent$/)){alert('Not a .torrent file!');return false;}"></div>
  148.  
  149. <br>
  150. <center>
  151. <label for="tos4"><TMPL_VAR lang_i_agree></label> <a href="tos.html"><TMPL_VAR lang_tos_short></a> <input type="checkbox" name="tos" value="1" id="tos4" checked onClick="if(this.checked){this.form.submit_btn.disabled=false}else{this.form.submit_btn.disabled=true};this.blur();"><br>
  152. <input name="submit_btn" type="submit" value=" <TMPL_VAR lang_upload_btn> " class="btn">
  153. </center>
  154. <br>
  155. </td></tr></table>
  156. <input type="hidden" name="upload_type" value="file">
  157. </form>
  158. <TMPL_ELSE>
  159.  
  160. <br><br><br>
  161.  
  162. <TMPL_IF tt_msg>
  163.  <b><TMPL_VAR tt_msg></b>
  164. <TMPL_ELSE>
  165.  <b><TMPL_IF my_login><a href="?op=payments"><TMPL_VAR lang_upgrade_account></a><TMPL_ELSE><a href="?op=registration"><TMPL_VAR lang_register_on_site></a></TMPL_IF><br><TMPL_VAR lang_to_use> <TMPL_VAR lang_form_torrent></b>
  166. </TMPL_IF>
  167.  
  168. </TMPL_IF>
  169. </div>
  170. </TMPL_IF>
  171.  
  172.  
  173.  
  174. <TMPL_IF mmff>
  175. <div id="div_ff" class="upload_block">
  176. <TMPL_IF mmff_on>
  177. <table cellpadding=0 cellspacing=0 id="div_uf1" class="div1"><tr><td>
  178. <b><TMPL_VAR lang_up_to> <TMPL_VAR max_upload_filesize> Mb, <TMPL_VAR max_upload_files> <TMPL_VAR lang_files_max></b></div>
  179. </td></tr></table>
  180.  
  181. <input type="file" name="uploadify" id="uploadify">
  182.  
  183. <div id="fileQueue" style="display:none;"></div>
  184.  
  185. <input id="mfstart" name="submit_btn" type="button" value=" <TMPL_VAR lang_upload_btn> " class="btn" style="display:none;" onClick='$("#uploadify").uploadifyUpload();'>
  186.  
  187. <div id="codes0" style="display:none;">
  188. <br>
  189. Download links:<br><textarea id="codes0t" cols=36 rows=5 class="myForm" style="width:500px;" onFocus="copy(this);"></textarea><br>
  190. </div>
  191. <div id="codes1" style="display:none;">
  192. Forum codes:<br><textarea id="codes1t" cols=36 rows=5 class="myForm" style="width:500px;" onFocus="copy(this);"></textarea><br>
  193. </div>
  194. <div id="codes2" style="display:none;">
  195. HTML codes:<br><textarea id="codes2t" cols=36 rows=5 class="myForm" style="width:500px;" onFocus="copy(this);"></textarea><br><br>
  196. </div>
  197.  
  198. <div id="filesUploaded" style="width:500px;"></div>
  199.  
  200. <script type="text/javascript" src="<TMPL_VAR site_url>/jquery.uploadify.v2.1.4.min.js"></script>
  201. <script type="text/javascript">
  202. $(document).ready(function() {
  203.     $("#uploadify").uploadify({
  204.         'uploader'       : '<TMPL_VAR site_url>/uploadify.swf',
  205.         'script'         : '<TMPL_VAR srv_cgi_url>/up_flash.cgi',
  206.         'cancelImg'      : '<TMPL_VAR site_url>/images/cancel.png',
  207.         'buttonImg'      : '<TMPL_VAR site_url>/images/browse-files.png',
  208.         'width'          : 130,
  209.         'queueID'        : 'fileQueue',
  210.         'auto'           : false,
  211.         'multi'          : true,
  212.         'wmode'          : 'transparent',
  213.         'scriptData'     : {"sess_id" : "<TMPL_VAR sess_id>"},
  214.         'fileExt'        : '<TMPL_VAR exts>',
  215.         'fileDesc'       : 'Allowed files: <TMPL_VAR exts>',
  216.         'queueSizeLimit' : <TMPL_VAR max_upload_files>,
  217.         'sizeLimit'      : <TMPL_VAR max_upload_filesize_bytes>,
  218.         'onSelectOnce'   : function(){$('#fileQueue').show();$('#mfstart').show();},
  219.         'onOpen'         : function(){$('#mfstart').hide();},
  220.         'onAllComplete'  : function(){$('#fileQueue').hide();$('#mfstart').hide();},
  221.         'onComplete'     : function(event, queueID, fileObj, response, data)
  222. {
  223.     aa = response.split(':');
  224.     var code=aa[0];
  225.     var real=aa[1];
  226.     var dx=aa[2];
  227.     var fname=aa[3];
  228.     var ftype=aa[4];
  229.     <TMPL_IF link_format_0>
  230.         link_url='<TMPL_VAR site_url>/'+code+'/'+fname+'.html';
  231.     </TMPL_IF>
  232.     <TMPL_IF link_format_1>
  233.     link_url='<TMPL_VAR site_url>/'+code+'/'+fname+'.htm';
  234.     </TMPL_IF>
  235.     <TMPL_IF link_format_2>
  236.         link_url='<TMPL_VAR site_url>/'+code+'/'+fname;
  237.     </TMPL_IF>
  238.     <TMPL_IF link_format_3>
  239.         link_url='<TMPL_VAR site_url>/'+code+'.html';
  240.     </TMPL_IF>
  241.     <TMPL_IF link_format_4>
  242.         link_url='<TMPL_VAR site_url>/'+code+'.htm';
  243.     </TMPL_IF>
  244.     <TMPL_IF link_format_5>
  245.         link_url='<TMPL_VAR site_url>/'+code;
  246.     </TMPL_IF>
  247.  
  248.     forum_code='[URL='+link_url+']'+fname+'[/URL] ';
  249.     html_code='<a href="'+link_url+'" target="_blank">'+fname+'<\/a>';
  250.     var img_code='';
  251.     if(ftype=='image')
  252.     {
  253.         img_url='<TMPL_VAR srv_htdocs_url>/i/'+dx+'/'+real+'_t.jpg';
  254.         img_code='<tr><td align=left><b>Preview:<\/b><\/td><td><img src="'+img_url+'"><\/td><\/tr>';
  255.         forum_code='[URL='+link_url+'][IMG]'+img_url+'[/IMG][/URL] ';
  256.         html_code='<a href="'+link_url+'" target="_blank"><img src="'+img_url+'" border=0><\/a>';
  257.     }
  258.  
  259.     $('#tblres').show();
  260.  
  261.     $('#codes0').show();
  262.     $$('codes0t').value+=link_url+'\n';
  263.    
  264.     $('#codes1').show();
  265.     $$('codes1t').value+=forum_code+'   ';
  266.    
  267.     $('#codes2').show();
  268.     $$('codes2t').value+=html_code+'   ';
  269.  
  270.     if(real && fname)
  271.    {
  272.      txt='<table cellspacing=0 cellpadding=2 class="result_slot" style="width:100%;margin-top:7px;">'+
  273.           '<tr><td align=right><b>File:<\/b><\/td><td><a href="'+link_url+'"><b>'+fname+'<\/b><\/a><\/td><\/tr>'+
  274.           img_code+
  275.           '<tr><td align=right><b>Direct Link:<\/b><\/td><td><input type="text" onFocus="copy(this);" style="width:99%" value="'+link_url+'"><\/td><\/tr>'+
  276.           '<tr><td align=right width=5% nowrap><b>Forum code:<\/b><\/td><td><input type="text" onFocus="copy(this);" style="width:99%" value="'+forum_code+'"><\/td><\/tr>'+
  277.           '<tr><td align=right><b>HTML code:<\/b><\/td><td><input type="text" onFocus="copy(this);" style="width:99%" value=\''+html_code+'\'><\/td><\/tr><\/table>';
  278.     }
  279.     else
  280.     {
  281.       txt='<table cellspacing=0 cellpadding=2 class="result_slot" style="margin-top:7px;">'+
  282.           '<tr><td align=right><b class="err">'+response+'<\/b><\/td><\/tr><\/table>';
  283.     }
  284.     $('#filesUploaded').append(txt);
  285. }
  286.  
  287.     });
  288. });
  289. </script>
  290.  
  291. <TMPL_ELSE>
  292.  <br><br><br>
  293.  <b><TMPL_IF my_login><a href="?op=payments"><TMPL_VAR lang_upgrade_account></a><TMPL_ELSE><a href="?op=registration"><TMPL_VAR lang_register_on_site></a></TMPL_IF><br><TMPL_VAR lang_to_use> <TMPL_VAR lang_upload_flash></b>
  294. </TMPL_IF>
  295. </div>
  296. </TMPL_IF>
  297.  
  298.  
  299. <div id="progress_div">
  300. <iframe src="blank.html" id="progress_frame" name="transfer2" SCROLLING=NO frameborder=0 style="width: 395px; height: 200px;"></iframe>
  301. </div>
  302.  
  303. </div>
  304.  
  305. <TMPL_IF user_total>
  306. <div style="margin-top:5px;">
  307. <TMPL_VAR lang_srv_stats>:
  308. <TMPL_VAR lang_files_hdr>: <TMPL_VAR files_total> |
  309. <TMPL_VAR lang_disk_used>: <TMPL_VAR used_total> Gb |
  310. <TMPL_VAR lang_users>: <TMPL_VAR user_total>
  311. </div>
  312. </TMPL_IF>
  313.  
  314. <TMPL_INCLUDE text-link-ads.html>
  315.  
  316. <iframe src="javascript:false;" name="xupload" style="position:absolute;top:-9999px;"></iframe>
  317. <Script type="text/javascript">
  318. InitUploadSelector('files_list','my_file_element','<TMPL_VAR max_upload_files>');
  319. document.getElementById('progress_frame').allowTransparency="true";
  320. </Script>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×