Пятница, 18.10.2024, 17:27 На сайте Московское время





Меню сайта
Категории раздела
Мои файлы [1]
Мини-чат
Главная » Файлы » Все для ucoz » Скрипты

Скрипт файлообменника + красивое оформление
16.04.2011, 05:47
Скрипт файлообменника + красивое оформление
Описание: 
Скрипт файлообменника + красивое оформление 
Установка: 
1. Устанавливаем модуль каталога файлов 
2.Панель » Каталог файлов » Настройки модуля - Делаем так 
3. ПУ » Пользователи » Группы пользователей » Изменить свойства и права группы - Делаем так 
4. 
Главная страница 
Code

<html> 
<head> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
<title>$SITE_NAME$ - $MODULE_NAME$</title> 
 
<style>$BANNER_H$</style> 
<link type="text/css" rel="StyleSheet" href="/_st/my.css" /> 
</head> 

<body><div class="smoke" style='margin: 3%; border: solid 1px #333'> 
$ADMIN_BAR$ 

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="23" > 
  <td align="left" class="topLink" style="padding-left:10px;font-size:10px;">$SITE_NAME$</td><td align="right" class="topLink" style="padding-right:10px;font-size:10px;"><!--<s5200>-->Вы вошли как<!--</s>--> <a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><b>$USERNAME$</b></a> | <!--<s3167>-->Группа<!--</s>--> "<u>$USER_GROUP$</u>"<!--<s5212>-->Приветствую Вас<!--</s>--> <b>$USERNAME$</b> | <a href="$RSS_LINK$">RSS</a></td> 
</table> 

<!-- <middle> --> 
<table width="100%"> 
<tr> 

<td valign="top" width="100%" style="padding:3px"> 
<table width="100%" ><!-- <body> --> 
<table width="100%" class="smoke" style='border: solid 1px #333'> 
<tr><td class="smoke" style="background:#F1F1F1;padding:5px;border:1px solid #A7A6A6;"> 
<iframe src="/load/0-0-0-0-1" frameborder="0" height="100%" width="100%"></iframe></td></tr> 
</table> 
  <!-- </body> --></table> 
</td> 

</tr> 
</table> 
<!-- </middle> --> 
<div class="foo"></div> 
<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
<tr><td align="center" height="45" style="background:#F1F1F1;padding:5px;" >$POWERED_BY$</td></tr> 
</table> 
  </div> 
  </body> 

</html> 

Главная страница каталога файлов: 
Code

<meta http-equiv="Refresh" content="0; URL=/"> 
$POWERED_BY$ 

Страница материала и коментариев к нему 
Code

<html> 
<head> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
<title>$SITE_NAME$ - $MODULE_NAME$</title> 
 
<style>$BANNER_H$</style> 
<link type="text/css" rel="StyleSheet" href="/_st/my.css" /> 
</head> 
   
<body><div class="smoke" style='margin: 3%; border: solid 1px #333'> 
$ADMIN_BAR$ 

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="23" > 
  <td align="left" class="topLink" style="padding-left:10px;font-size:10px;">$SITE_NAME$</td><td align="right" class="topLink" style="padding-right:10px;font-size:10px;"><!--<s5200>-->Вы вошли как<!--</s>--> <a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><b>$USERNAME$</b></a> | <!--<s3167>-->Группа<!--</s>--> "<u>$USER_GROUP$</u>"<!--<s5212>-->Приветствую Вас<!--</s>--> <b>$USERNAME$</b> | <a href="$RSS_LINK$">RSS</a></td> 
</table> 

<!-- <middle> --> 
<table width="100%"> 
<tr> 

<td valign="top" width="100%" style="padding:3px"> 
<table width="100%" ><!-- <body> --> 
<table width="100%" class="smoke" style='border: solid 1px #333'> 
<td class="smoke" width="20%" style="background:#F1F1F1;padding:5px;border:1px solid #A7A6A6;"> 
<span class="a"> 
<a href="$FILE_URL$">Скачать файл</a> 
  <a href="/">Размер файла: <b>$FILE_SIZE$</b></a> 
<a href="/">Просмотров: <b>$READS$</b></a> 
<a href="/">Загрузок: <b>$LOADS$</b></a> 
<a href="/"><!--<s3119>-->Рейтинг<!--</s>-->: <b><span id="entRating$ID$">$RATING$</span></b>/<b><span id="entRated$ID$">$RATED$</span></b></a> 
  <a href="/">Дата: <b>$ADD_DATE$</b></a> 
</span> 
  </td> 
  <td class="smoke" style="background:#F1F1F1;padding:5px;border:1px solid #A7A6A6;"> 
<center> 
  <script>  
<!--  
function popup1()  
{ var z=$('#asite').val(); $('#z')  
  prompt('Прямая ссылка на скачку:','$FILE_URL$');  
return false;  
}  
//-->  
</script> 
  Прямая ссылка: <input type="tezt" size="50" mazlength="50" value="$FILE_URL$"> <input value="Скопировать" onclick="popup1()" type="button">  
  </center></td> 
  </table> 
  <!-- </body> --></table> 
</td> 

</tr> 
</table> 
   
<table width="100%"> 
<tr> 

<td valign="top" width="100%" style="padding:3px"> 
<table width="100%" ><!-- <body> --> 
<table width="100%" class="smoke" style='border: solid 1px #333'> 
  <tr><td height="18" style="background:#A7A6A6;border:1px solid #A7A6A6;"><b>Анализ сайта:</b></td></tr> 
  <td class="smoke" width="100%" style="background:#F1F1F1;padding:5px;border:1px solid #A7A6A6;"> 
<script>  
  function addseo(){ var x=$('#asite').val(); $('#x').append('<center><hr><img src="http://images.websnapr.com/?size=S&key=3xxQRm9qwcU2&url='+x+'"> <img src="http://traffic.alexa.com/graph?c=1&f=555555&u='+x+'&r=3m&y=t&z=1&h=150&w=410" ><br><br><a href="http://yandex.ru/yandsearch?text=host:'+x+'&lr=213" target="_blank" >Яндекс</a> <a href="http://www.google.ru/search?q=site%3A'+x+'&filter=0&ie=UTF-8&oe=UTF-8" target="_blank" >Google</a> <a href="http://nova.rambler.ru/search?sort=0&filter='+x+'&short=2" target="_blank" >Рамблер</a> <a href="http://www.bing.com/search?q=site:'+x+'&setmkt=ru-RU&setlang=en-US" target="_blank" >Bing</a> <a href="http://siteexplorer.search.yahoo.com/search?p='+x+'&bwm=i&bwmf=s&bwmo=d" target="_blank" >Yahoo</a> <a href="http://search.yaca.yandex.ru/yca/cy/ch/'+x+'" target="_blank">Яндекс.Каталог</a> <a href="http://www.google.com/search?q=url%3A'+x+'&hl=ru&cat=gwd%2FTop" target="_blank">Google.Каталог</a> <a href="http://search.dmoz.org/cgi-bin/search?search=u:'+x+'" target="_blank">DMOZ.org</a> <a href="http://search.rambler.ru/cgi-bin/counter_search?words='+x+'&where=0&limit=50" target="_blank">Rambler.Top100</a> <a href="http://search.list.mail.ru/?q='+x+'" target="_blank">Каталог@mail.ru</a><hr>Ссылаются на ваш сайт поисковики: <a href="http://www.yandex.ru/yandsearch?text=http://'+x+'" target="_blank">Яндекс</a> и <a href="http://blogs.yandex.ru/search.xml?link=http%3A%2F%2F'+x+'%2F&ft=all" target="_blank">Я.Блоги</a>, <a href="http://www.google.com/search?q=link:'+x+'" target="_blank">Google</a>, <a href="http://nova.rambler.ru/search?words=/'+x+'&news=2" target="_blank">Rambler</a>, <a href="http://siteexplorer.search.yahoo.com/search?p=http%3A%2F%2F'+x+'&bwm=i&bwmo=s&bwmf=s" target="_blank">Yahoo</a>, <a href="http://www.bing.com/search?q=%22'+x+'%22+-site%3A'+x+'" target="_blank">Bing</a>.<hr><img src="http://doza.net.ru/cypr/?'+x+'" ></center>'); }  
$("input[value='Проверить']").click(function(){  
_uWnd.getbyname('seosystems').checksize();  
});  
</script> 
  <script>  
</script> 
  <fieldset><fieldset><legend>Анализ:</legend><center><input type="text" id="asite" size="20" maxlength="50" value="doza.net.ru"> <input type="button" value="Проверить" onclick="addseo();"></center><div id="x"></div></fieldset>  
  <fieldset><legend>Разное:</legend><center><a href="http://doza.net.ru/" target="_blank">Сайт автора</a></center></fieldset>  
</div> 
<script>  
function openseo(){new _uWnd('seosystems','Анализ сайта',700,100,{close:1,autosize:1,maxh:500,minh:100,align:0}, $("#seosystemss").html() )}  
</script> 
  </td> 
  </table> 
  <!-- </body> --></table> 
</td> 

</tr> 
</table> 
<!-- </middle> --> 
<div class="foo"></div> 
<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
<tr><td align="center" height="45" style="background:#F1F1F1;padding:5px;" >$POWERED_BY$</td></tr> 
</table> 
  </div> 
  </body> 

</html> 

Страница добовления/редактирования материала 
Code

<html> 
<head> 
<link type="text/css" rel="StyleSheet" href="/.s/src/css/971.css" /> 
<style>$BANNER_H$</style> 
</head> 

<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
<td valign="top" width="80%" style="padding-top:5px"> 
$BODY$<!-- </body> --></td></table> 
$POWERED_BY$ 
</html> 

CSS 
Code

/* General Style */ 
.a {font-size: 10px;}  
.a a:link, 
.a a:visited {color:#000000;padding-left:10px;margin-bottom: 1px;line-height:18px;display:block;font-weight:normal;background:#F1F1F1;border: 1px solid #A7A6A6;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}  
.a a:hover {color:#000000;padding-left:10px;line-height:18px;display:block;font-weight:normal;background:#CCCCCC;border: 1px solid #434343;} 
a {text-decoration:none;} 
a:link {text-decoration:none; color:#8B8881;} 
a:visited {text-decoration:none; color:#8B8881;} 
.smoke{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} 
.smoke{background:#CCCCCC;} 
.foo {height: 1px; background:#333;) no-repeat;} 

.topLink a:link {text-decoration:none; color:#000000;} 
.topLink a:active {text-decoration:none; color:#000000} 
.topLink a:visited {text-decoration:none; color:#000000;} 
.topLink a:hover {text-decoration:none; color:#FCFFEF;} 

a.forRegLink:link, a.topSortLink:link, a.postUser:link, a.postNumberLink:link {text-decoration:underline; color:#333333;} 
a.forRegLink:active, a.topSortLink:active, a.postUser:active, a.postNumberLink:active {text-decoration:underline; color:#333333;} 
a.forRegLink:visited, a.topSortLink:visited, a.postUser:visited, a.postNumberLink:visited {text-decoration:underline; color:#333333;} 
a.forRegLink:hover, a.topSortLink:hover, a.postUser:hover, a.postNumberLink:hover {text-decoration:underline; color:#FFFFFF;} 

td, body {font-family:verdana,arial,helvetica; font-size:8pt;color:#000000;} 
form {padding:0px;margin:0px;} 
input,textarea,select {vertical-align:middle; font-size:8pt; font-family:verdana,arial,helvetica;} 
.copy {font-size:7pt;} 

a.noun:link {text-decoration:none; color:#8B8881} 
a.noun:active {text-decoration:none; color:#8B8881} 
a.noun:visited {text-decoration:none; color:#8B8881} 
a.noun:hover {text-decoration:underline; color:#000000} 

hr {color:#C2C2C2;height:1px;} 
label {cursor:pointer;cursor:hand} 

.blocktitle {font-family:Verdana,Sans-Serif;color:#6C829D;font-size:12px;} 

a.menu1:link {text-decoration:underline; color:#9CCF00} 
a.menu1:active {text-decoration:underline; color:#9CCF00} 
a.menu1:visited {text-decoration:underline; color:#9CCF00} 
a.menu1:hover {text-decoration:none; color:#000000} 
.menuTd {padding-left:12px;padding-right:10px; background: url('/.s/t/971/11.gif') no-repeat 0px 3px;} 

.mframe {border-left:1px solid #E5E7EA; border-right:1px solid #E5E7EA;} 
.colgray {border-right:1px solid #E5E7EA;} 
.colwhite {border-right:1px solid #FAFAFA;} 
.msep {border-top:1px solid #FAFAFA;} 
/* ------------- */ 

/* Entries Style */ 
.eBlock {} 
.eTitle {font-family:Verdana,Arial,Sans-Serif;font-size:13px;font-weight:bold;color:#779F00; padding: 0 0 0 15px; background: url('/.s/t/971/13.gif') no-repeat 0px 3px;} 

.eTitle a:link {text-decoration:underline; color:#779F00;} 
.eTitle a:visited {text-decoration:underline; color:#779F00;} 
.eTitle a:hover {text-decoration:none; color:#000000;} 
.eTitle a:active {text-decoration:underline; color:#779F00;} 

.eMessage {text-align:justify;padding-bottom:5px;} 
.eText {text-align:justify;padding-bottom:5px;padding-top:5px;border-top:1px solid #C2C2C2} 
.eDetails {border:1px solid #D7D7D7;font-family:Verdana,Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:7pt;background:#FFFFFF;} 
.eDetails1 {border:1px solid #D7D7D7;font-family:Verdana,Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;background:#FFFFFF;} 
.eDetails2 {border:1px solid #D7D7D7;font-family:Verdana,Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;background:#FFFFFF;} 

.eRating {font-size:7pt;} 

.eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/971/14.gif') no-repeat 0px 0px;} 
/* ------------- */ 
Категория: Скрипты | Добавил: shaman | Теги: Скрипт файлообменника + красивое оф
Просмотров: 1716 | Загрузок: 0 | Рейтинг: 3.0/1
Статистика

Онлайн всего: 4
Гостей: 2
Пользователей: 2
Xenus, draco
Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz

  • Ваш-Сайт.Ru © Все права защищены! Хостинг от uCoz Сайт оптимизирован под браузер FireFox Mozilla. SiteMap | SiteMap Forum.
    Дизайн данного сайта полностью принадлежит администратору.