Главная » Файлы » Скрипты для uCoz » Другие скрипты

Модули проверки файлов и ссылок для uCoz
22.06.14, 19:17:42



Следующие коды вставляйте в те участки вашего сайта, где хотите видеть отображение данных модулей:

1) Проверка файла на вирусы:

Код
<script language="JavaScript">  
  function do_scan_file_01()  
  {  
var left = (screen.width - 640)/2;  
var top = (screen.height - 400)/2;  
window.open( "",  
"drweb_scan_form_popup_window",  
"width=640"+",height=400,left="+left+",top="+top+",scrollbars=yes,resizable=yes" );  
document.getElementById( "drweb_online_scan_form" ).submit();  
return false;  
  }  
  </script>  
  <center>  
  <form method="POST" id="drweb_online_scan_form"  
  enctype="multipart/form-data" action="http://online.drweb.com/result" target="drweb_scan_form_popup_window">  
  <div style="width: 225px; height: 105px; background: url(http://apocalypse.ucoz.kz/drweb/fon_green_files.gif)">  
<div style="padding: 50px 10px 0 10px;">  
<div ><input name="file" id="file_selection_input" type="file" size="18"></div>  
<div style="padding-top: 5px; text-align: right"><input type="image" onClick="return do_scan_file_01();" src="http://apocalypse.ucoz.kz/drweb/button.gif" width="121" height="21"></div>  
</div>  
  </div>  
  </form></center>


2) Проверка ссылки на вирусы:

Код
<script language="JavaScript">  
function resultURL()
{  
var left = (screen.width - 640)/2  
var top = (screen.height - 400)/2  
window.open( "", "scan", "width=640"+  
",height=400,left="+left+  
",top="+top+",scrollbars=no,resizable=yes")  
document.getElementById( "drwebscanformURL" ).target = "scan";  
return true;  
}
  </script>  
  <center>  
  <form id="drwebscanformURL" action="http://online.us.drweb.com/result/" onSubmit="return resultURL()" method="post">  
  <div style="width: 225px; height: 105px; background: url(http://apocalypse.ucoz.kz/drweb/fon_green_url.gif)">  
<div style="padding: 50px 10px 0 10px;">  
<div ><input type="text" name="url" value="http://" class=find style="width:100%; border: #9ac461 2px solid;"></div>  
<div style="padding-top: 5px; text-align: right"><input type="image" src="http://apocalypse.ucoz.kz/drweb/button.gif" width="121" height="21"></div>  
</div>  
  </div>  
  </form></center>


На сайте антивируса есть другие типы форм проверки:



Для бесплатного получения модуля перейдите по ссылке: http://www.freedrweb.com/for+web+sites/

Всё, берегите себя smile
Категория: Другие скрипты | Добавил: Apocalypse | Теги: проверки, ucoz, файлов, ссылок, для, модули
Просмотров: 325 | Загрузок: 0 | Рейтинг: 0.0/0
Всего комментариев: 0
Имя *:
Email: