Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Корзина » Опрос на главной


Опрос на главной

Сообщений 1 страница 20 из 22

1

Доброго времени суток.
Давненько видал скрипт.. шо то вроде "опроса на главной", после голоса перенос в соответствующую тему форума. Подскажите, пожалуйста, сей скрипт, кто нибудь.

0

2

Ашо актуально

0

3

Скрипты от пользователей 2 пост 650

+1

4

Deff, а с боку, слева, опрос занести можно как нибудь?
http://s3.uploads.ru/t/1yM2x.jpg

0

5

Как боковая панель, но на внешнем фоне, во)

0

6

Vojd (забывший пароль)
Неть такого варианта

0

7

Vojd (забывший пароль)
можно без проблем, как вариант, создать опрос в контакте в виде виджета и разместить его на ваш форум в любое угодное место (объявление, сайд-бар, низ форума и т.д.)
как работать с виджетами от ВКонтакте прочтёте в теме - Виджеты на форуме

создать сам опрос и настроить его внешний вид можете по этому адресу - http://vk.com/developers.php?oid=-1&p=Poll
как это будет выглядеть, можно посмотреть на моём тестовом в Объявлении - http://expert.mybb.ru/

0

8

Deff, а как жо тут смогли? - http://elektromir.7bb.ru/
Или воспользовались по варианту Romych`а ?

Romych, Спасибо, прочту.

0

9

Vojd (забывший пароль) написал(а):

Deff, а как жо тут смогли? - http://elektromir.7bb.ru/

Тут он отсель
http://ru.surveymonkey.com/mp/lp/freesurveys-intl/?utm_network=g&utm_term=+опросы +&utm_campaign=b&gclid=COOMtIGLnLQCFZR3cAodBQwAWg&pmt=b&utm_source=adwords&mkwid=s979wn5Vj&utm_medium=ppc&source=SearchNetwork&cmpid=nonbrand&pcrid=25329625664&kw=+опросы +

0

10

Deff, не пойму.. каким образом его вставить на форум?

0

11

Vojd (забывший пароль)
Регайся беплатно и изучай доки, (подгузники кончились

0

12

Deff, опрос там ставится на страницу, как же сделать так, как на том форуме...

0

13

Vojd (забывший пароль) написал(а):

Deff, опрос там ставится на страницу, как же сделать так, как на том форуме...

0

Там опрос вставлен в "боковую панель от DUKA с облегченным заполнением"

Мон вставить в боковую Jamp-панель http://forumdts.org/viewtopic.php?id=3014

0

14

Deff написал(а):

Там опрос вставлен в "боковую панель от DUKA с облегченным заполнением"

НО на внешнем фоне, как?

0

15

Vojd (забывший пароль) написал(а):

НО на внешнем фоне, как?

Вставьте код опроса как есть в HTML низ и изобразите на скриншоте как нужно и ссыль на форум

0

16

Deff, на форуме в HTML низ он почему то тображается, как ссылка, мол онлайном голосуйте, в настройках самого опроса никакого объяснения этому - не нашёл

Код:
<div id="surveyMonkeyInfo"><div><script src="http://www.surveymonkey.com/jsEmbed.aspx?sm=4d0xE02CYNF9yjoNQE5x1g_3d_3d"> </script></div>Create your <a href="http://www.surveymonkey.com/">free online surveys</a> with SurveyMonkey, the world's leading questionnaire tool.</div>

0

17

Vojd (забывший пароль)
Ссылку нра форум со вставленным кодом

0

18

Deff, извините, забыл - http://forumoim.0bb.ru/

0

19

Vojd (забывший пароль)
Замени HTML низ - теги не закрытые - вот и не работало

Код:
<!-- Скрипт для замены чекбоксов и пр. -->
<script src="https://forumstatic.ru/files/0010/b1/9a/84948.js" type="text/javascript"></script>

<script type="text/javascript">

 $('input:checkbox').uniform(); 

</script>


<!-- Скрытие Описаний форумов с показом при наведении  -->
<style>
.Toggl {
  padding:18px;
  width:250px;
  margin-bottom: 34px;
  margin-left: 6px;
  z-index:12;
  display:none;
  position:absolute;
  background-image:url(http://i48.fastpic.ru/big/2012/1121/91/46f6cbc861f3c6bec2a91510d616e291.jpg);

    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;

    box-shadow: 0px 5px 18px #000;
    -webkit-box-shadow:0px 5px 18px #000;
    -khtml-box-shadow:0px 5px 18px #000;
    -moz-box-shadow:0px 5px 18px #000;
filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#7C7C7C, strength=10);
}
.category .tclcon .Toggl1{
  display:inline-block;
  padding: 0!important;
  margin:0;
  /*border:1px solid red;*/
  text-align:left!important;
  position:absolute;
}

.category .tclcon:hover .Toggl{
  display:inline;
}
</style>
<script type="text/javascript">
$(".category td.tcl .tclcon").each(function (){
 var L1=$(this).find('h3:first').html();$(this).find('h3').replaceWith("");
//var L2=$(this).find('.modlist').html();$(this).find('.modlist').replaceWith("");

 if($(this).html().length>7){var L=$(this).html("<span class=Toggl>"+$(this).html()+"</span>")};
 $(this).prepend('<h3>'+L1+'</h3><br />');
//if(L2!==null){$(this).find(".Toggl").after('<span class="modlist">'+L2+'</span>')};
});
</script>


<!-- //=Универсальная Кнопка Ч2-HTML низ//Скрытие Категорий и т.д.-->
<div id="CNtButton" style="display:none;">
            <span class="Show-Hide" alt="###">
              <span class="b-Hide">
                <img src="http://i53.fastpic.ru/big/2012/1214/2b/f69da06cc1e73acf53873fc5cc60a42b.png" title="Скрыть">
              </span>
              <span class="b-Show" style="display:none">
                <img src="http://i52.fastpic.ru/big/2012/1214/fe/04ca47ab5d1279fc8b712430f61805fe.png" title="Показать">
              </span>
            </span>
</div>
<script type="text/javascript">var DD=$("#CNtButton").html().split('###');
$("#pun-announcement  .container, #pun-status .container, .category .container, #pun-stats .statscon").each(function(){var L=DD[0]+"#"+$(this).parent().attr("id")+" ."+$(this).attr("class")+DD[1];$(this).before(L);})
</script><!-- //End-/Универсальная Кнопка//Скрытие Категорий и т.д.-->

<script type="text/javascript">
var IMGwidth='240'; //Ширина Ячейки под Картинку
var CategorName = [
//НАЗВАНИЕ КАТЕГОРИИ, ССЫЛКА НА КАРТИНКУ,
'Огнём и мечом - Великие битвы','http://i47.fastpic.ru/big/2012/1120/0b/f38af48ee394d574fdcc075e1cac240b.png',
'Огнём и мечом 2 - На Карибы!','пусто',
'Разное','http://i47.fastpic.ru/big/2012/1121/aa/6807ebb2e25acbab7dae98eb3af70eaa.png',
'Игровые сервера - Великие битвы','http://i47.fastpic.ru/big/2012/1121/9f/c8f200745a1d702b660377b327b54b9f.png',
"End"]
$("#pun-index .category").each(function (){
for(i=0; i<(CategorName.length-1); i+=2){
var str="<table cellspacing=\"0\"cellpadding=\"0\"style=\"margin:0!important;width:100%;border-collapse:collapse;border:0 none transparent;padding:0!important;\"><tr valign=top><td width="+IMGwidth+" align=center valign=center style=\"padding:4px;\"><img src=\""+CategorName[i+1]+"\" width=\""+IMGwidth+"\"></td><td width=100% style=\"padding:0!important;\">";
var str2="<td style=\"padding:0!important;\"></td></tr></table>"

if($(this).find("h2 span:first").text()==CategorName[i]){
$(this).find(".container").html(str+$(this).find(".container").html()+str2)}
}
});
</script>

<!-- Стиль Профиля в Топике-->
<style>
.punbb .post-author ul li {
//font-weight:bold;
font-size:13px!important;
color:#000000;
font-style:italic;
font-weight:bold;
text-shadow:#C0BCA8 1px 1px 0px;
padding:3px;
margin:2px;
border:ridge 3px #AAA58B!important;
    border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    -moz-border-radius:5px;
    -o-border-radius:5px;
 }
.punbb .post-author ul .pa-avatar{
/**/border:none transparent 0!important;
}
</style>


<style>.punbb img[src*="nocopy.gif"]{display:none;}</style><script type="text/javascript"> var str='<div style="width:100%;text-align:center;"><img style="width:16px;height:16px" src="http://uploads.ru/i/x/i/Q/xiQ7M.png" title="Блокировка на копирование сообщения" onclick="No_Copy_click();"></div>';$("#form-buttons #button-keyboard").after("<td id=nocopy.png >"+str+"</td>");function No_Copy_click(){smile('[img]/nocopy.gif[/img]')}
$(document).ready(function() {$(".post-box img.postimg[src='/nocopy.gif']").each(function () { 
var a=$(this).parents(".post");var x = a.width()+20;var y = a.height()+20;var Post_off=true;if(GroupID==1){Post_off=false};if(typeof(UserLogin)!='undefined'){if(a.find(".post-author .pa-author a").text()==UserLogin){Post_off=false}}if(Post_off){a.prepend('<div class="Nocopy"><img title="No Copy!" src="/i/blank.gif" style="margin:-10px;position:absolute!important;z-index:1000!important;width:'+x+'px!important;height:'+y+'px!important;"/></div>')}
});});$("#MakeCopyOff").replaceWith("")</script>


<script type="text/javascript">
function changeLink()
{var arr=document.links
for (j in arr)
{
if (arr[j].innerHTML=="Уважение")
{arr[j].innerHTML="Честь"}

}}
changeLink()
</script>


<script>
<!--
userof="Пользователи" 
str = document.getElementById("navuserlist").innerHTML
if( (pos=str.indexOf("Участники")) != -1 )
document.getElementById("navuserlist").innerHTML=str.substring(0,pos)+userof+str.substring(pos+9,str.length-1)
-->
</script>

<script>
<!--
pismaof="ЛС" 
str = document.getElementById("navpm").innerHTML
pos = str.indexOf("Сообщения")
document.getElementById("navpm").innerHTML=str.substring(0,pos)+pismaof+str.substring(pos+9,str.length-1)
-->
</script>

<script><!--Своя картинка или Слово в Пользовательские Ссылки -->
var Img_Word=1;   //0-Картинка;1-Cлово /Ставим картинку или Слово ?
 ulinks=new Array(
  ".item3","Неактивные темы", // Темы без ответов
  ".item5","Подписи", // Подписка
  ".item6","Отметить все темы прочитанными" // Все прочитано - !ПОСЛЕДНИЙ элемент без запятой
)
var s,i;for (i=0; i < ulinks.length; i++){s=ulinks[i+1];
   if(!Img_Word){s='<img class="ulinks" src="'+s+'" border="0" />'}
   $("#pun-ulinks "+ulinks[i]+" a").html("<span>"+s+"</span>");i++;}
</script>

<script><!--Универсальный скрипт замены. -->
var Nbsp='&'+'nbsp;'
function UniverСhange(selektor,changed,substitute){
$(selektor).each(function(){if ($(this).parent().html()!=null){if($(this).parent().html().indexOf(changed)!=-1){
 $(this).parent().html($(this).parent().html().replace(changed,substitute));};};});}

UniverСhange("#pun-status .item1","Привет","<img src='http://vangog.bks-tv.ru/i/4/c/4ef8bee83c3c4.png' alt='gif'/> Здрав будь");
UniverСhange(".forum .tcl","Перемещена:","[Перенесено]");
UniverСhange(".forum .tcl .stickytext","Важно:","[Выделено]");
UniverСhange(".forum .tcl .newtext a","Новые"+Nbsp+"сообщения","[New]);
</script>

<div id=Nullopr><div id="OprosResult" style="width:100%!important;display:none;text-align:center;">
<div class="container" style="width:94%;color:#F7F7F7;height:67px;margin-bottom:-67px;background-color:#4D4C52;position:relative;z-index:9999999;font-size:11px;border:none transparent 0!important;"><br><span style="font-size:32px;">РЕЗУЛЬТАТЫ ОПРОСА</span><br>(*крутим скроллинг)</div>
<iframe marginheight=200 width="99%" height="300" src="SsylkaNaOpros"></iframe></div></div>
<script type="text/javascript">
var NumClick=0,lnkGoogle="http://translate.google.com/translate?hl=ru&sl=en&u=";
var Lopr=$("#Nullopr").html();$("#Nullopr").replaceWith("");
if($("#vote").html()!=null){
function framePreview(){
if(NumClick==0){
Lopr=Lopr.replace(/SsylkaNaOpros/img,lnkGoogle+document.URL)
$("#vote table").before(Lopr);
$("#OprosResult").show('slow')
NumClick++;
}else $("#OprosResult").toggle('slow')
}
$("#vote input[name='null']").replaceWith('<input  type="button" onclick="framePreview()" name="null" value="Результаты опроса"/>')
}

<script><!--Своё Слово вместо:Новая тема;Новый опрос;Ответить;Профиль;ЛС;и т.д. -->
   pstlnk=new Array(".pl-email","ЛС","Отправить ЛС", ".pl-email","E-mail",""// !ПОСЛЕДНИЙ элемент без запятой
 )
function find_and_replace(value){for (var i=0; i < pstlnk.length; i=i+3){
  var str=$(value).find(pstlnk[i]+":contains('"+pstlnk[i+1]+"')").html();
  if (str!=null) {str=str.replace(pstlnk[i+1],pstlnk[i+2]);
$(value).find(pstlnk[i]+":contains('"+pstlnk[i+1]+"')").html(str);};};}
$("#pun-viewforum .linkst,#pun-viewforum .linksb,#pun-viewtopic .linkst,#pun-viewtopic .linksb,#pun-viewtopic .post .post-links").each(function(){find_and_replace(this);;});
</script>


<script type="text/javascript">
var nrisunok="https://forumupload.ru/uploads/0000/0a/f2/68797-1.gif";
if( (document.getElementById("navpm").innerHTML.indexOf("(") != -1))
{ 
document.getElementById("navpm").innerHTML="<img src='"+nrisunok+"'> "+document.getElementById("navpm").innerHTML;
};
</script>


<!--Бегущая строка v.3 © Romych-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="marqueebut" style=\'background-image:url("http://img17.imageshack.us/img17/55/marquees.png")\'><img src="/i/blank.gif" title="Бегущая строка"></td>');
$('.marqur').css('cursor', 'pointer');
$('#marqueebut, .marqur').click(function(){
$('div#marqu').toggle();});
$("div.post-content").map(function () {
text = $(this).html();
if(text.indexOf("[/marqu]") != -1) {
marquees = /\[marqu=(.*?)\]([^`]*?)\[\/marqu\]/gi
$(this).html(text.replace(marquees, "<marquee direction='$1' scrollamount='2' onMouseOver='this.stop()' onMouseOut='this.start()'>$2</marquee>")); }
}); });
</script>
<div id="marqu" class="container"  style="display:none;width:auto;padding:8px;position:absolute;margin-top:-35%;margin-left:35%;">
<div><strong>Выберите направление</strong></div><hr><br>
<div align="center" onclick="bbcode('[marqu=up]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/up_arrow.png" title="up"></div>
<span onclick="bbcode('[marqu=left]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/left_arrow.png" title="left"></span><span style="float:right;" onclick="bbcode('[marqu=right]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/right_arrow.png" title="right"></span>
<div align="center" onclick="bbcode('[marqu=down]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/down_arrow.png" title="down"></div>
</div>

	<!-- палитра в форму ответа --><script src="http://hostjs-mybb2011.narod.ru/js/Deff_BigPalette.js"></script>
<!-- конец скрипта-->
<!-- Добавляем своё Описание темы в форуме -->
<style type="text/css">
    .yaxiko {
    color: #FF0000;   /* Цвет текста */
    margin-top: 2px;    /* Частично отступ сверху */
    margin-left: 68px; /* Отступ слева */
    width:134px;	/*Ширина поля для Описания */
    font-size: 87%;    /* Размер Шрифта (можно в пикселах */
    display:block;
    }
    #pun-crumbs1 .yaxiko,
    #pun-crumbs2 .yaxiko,
    #pun-index .yaxiko,
     div.post-links .yaxiko,
    #pun-main h1 .yaxiko{
    display:none;
    }
    </style>
<script type="text/javascript">
var opisymb='‡';
$("#pun a:contains('‡')").each(function (){
var ss = $(this).html();
ss=ss.replace('‡','<p class="yaxiko">')+'</p>';$(this).html(ss);
if ((document.URL.indexOf("viewtopic.php") == -1) && (document.URL.indexOf("post.php") == -1) && (document.URL.indexOf("edit.php") == -1)){$(this).find(".yaxiko").appendTo($(this).parents("td:first"))};});

$("#pun-viewtopic #pun-crumbs1 .crumbs:contains('‡'),#pun-main h1 span:contains('‡'),#pun-viewtopic #pun-crumbs2 .crumbs:contains('‡')").each(function (){
var ss = $(this).html();var n=ss.indexOf('‡');ss=ss.substring(0,n);$(this).html(ss);});


if (((document.URL.indexOf("edit.php?id")!=-1)||(document.URL.indexOf("post.php?fid")!=-1) || (document.URL.indexOf("post.php?action=post")!=-1))&&($("input[name='req_subject']").html()!==null)&&($("#fld4").html()==null)) {
var str2="";

$("span.input:first").after('<br/><span>Описание<br/><input id="fld4" type="text" name="tryam" value="'+str2+'" size="80" maxlength="70" /></span>');
$("input[name='submit']").css({'display':'none'});
$("input[name='preview']").css({'display':'none'});

var str=$("input[name='req_subject']").val(),Dleng=str.length;
var L=str.indexOf('‡');

if(L!=-1){
 str0=str.substring(0,L-1);
 var str2=str.substring(L+1,Dleng);
 $("input[name='req_subject']").val(str0);
 $("input[name='req_subject']").remove().appendTo(".input:first");
 $("#fld4").val(str2);
}

if ($("#pustoj").html()==null){$("input[value='Отправить']").after('<input type="button"  id="pustoj" class="button" name="pustoj" value="Отправить" />');}

if ($("#pustoj2").html()==null){$("input[value='Посмотреть']").after('<input type="button"  id="pustoj2" name="pustoj2" value="Предварительный просмотр"/>');}

$("input[name='pustoj2']").click(function (){
 if($("#main-reply").val()==''){alert('"Сообщение" это поле обязательно для заполнения в этой форме.');return};
    $("input[name='req_subject']").css({'color':''+$("input[name='req_subject']").css("background-color")+''})
var str=$("input[name='req_subject']").val(),str1;  str1=$("#fld4").val(); if (str!=""&&str1!=""){
  str+=" "+opisymb+str1;$("input[name='req_subject']").val(str);$("#fld4").remove();};
$("input[name='preview']").click();});

$("input[name='pustoj']").click(function (){
 if($("#main-reply").val()==''){alert('Сообщение обязательно для заполнения.');return};
    $("input[name='req_subject']").css({'color':''+$("input[name='req_subject']").css("background-color")+''})
var str=$("input[name='req_subject']").val(),str1;  str1=$("#fld4").val(); if (str!=""&&str1!=""){
  str+=" "+opisymb+str1;$("input[name='req_subject']").val(str);$("#fld4").remove();};
$("input[name='submit']").click();});
}
</script><!-- Конец/Описание темы в форуме  -->


<script type="text/javascript"> var L0='<img class="imgON_Off" src="';
var L1='" style="cursor:pointer;cursor:hand;width:153;margin-top:3px;" />'; //153 - размер картинки по горизонтали

var ImgON="http://vangog.bks-tv.ru/i/d/7/4f355a2fd3e7d.png";  // Картинка Online;
var ImgOff="http://vangog.bks-tv.ru/i/8/d/4f355a30d21d8.png";  // Картинка OffLine;

$("#pun-viewtopic .post .post-author ul").each(function ()   {
$(this).html('<div class=UL>'+$(this).html()+'</div>');
if ($(this).find(".pa-online").html()!=null){$(this).append(L0+ImgON+L1)
    }else $(this).append(L0+ImgOff+L1);
$(this).find(".pa-author,.pa-title,.pa-avatar").insertBefore($(this).find("div.UL"));});

$("ul .imgON_Off").click(function () {
$(this).parent("ul").find(".UL").toggle('slow');});
</script>


<script type="text/javascript">
var arr=document.links
for (j in arr)
{
  if (arr[j].href.indexOf("online.php") != -1)
  {
     arr[j].innerHTML="Онлайн"
  }
}
</script>


<script>
$('#post input[name="preview"]').val('Предварительный просмотр')
</script>


<script language="JavaScript">
document.getElementById("pun-navlinks").style.position = "relative"

function showDiv()
{
if(  document.getElementById("searchDiv").style.display == 'none' )
     document.getElementById("searchDiv").style.display = ''
else document.getElementById("searchDiv").style.display = 'none'

return false;
}

str  = "<a href=\"search.php\" onclick=\"return showDiv()\"><span>Поиск</span></a>"
str += "<div id=searchDiv style=\"display: none; \">"

str += " <form method=\"get\" action=\"search.php\">"
str += "    <input type=\"hidden\" name=\"action\" value=\"search\">"
str += "    <p class=\"inputfield\">"
str += "    <label for=\"fld1\">Ключевые слова</label><br />"
str += "    <span class=\"input\"><input type=\"text\" name=\"keywords\" size=\"25\" maxlength=\"100\" /></span>"
str += "    </p>"
str += "    <p class=\"inputfield\">"
str += "    <label for=\"fld2\">Поиск автора</label><br />"
str += "    <span class=\"input\"><input type=\"text\" name=\"author\" size=\"25\" maxlength=\"25\" /></span>"
str += "    </p> <br>"

str += "    <input type=\"hidden\" name=\"forum\" value=\"-1\">"
str += "    <input type=\"hidden\" name=\"search_in\" value=\"all\">"
str += "    <input type=\"hidden\" name=\"sort_by\" value=\"0\">"
str += "    <input type=\"hidden\" name=\"sort_dir\" value=\"DESC\">"
str += "    <input type=\"hidden\" name=\"show_as\" value=\"topics\">"

str += "    <p><input type=\"submit\" class=\"button\" name=\"search\" value=\"Отправить\" accesskey=\"s\" title=\"Accesskey:s\" /></p>"
str += " </form>"

str += "    <a href=\"search.php\">Расширенный поиск</a> "
str += "</div>"

document.getElementById('navsearch').innerHTML = str
</script>
<style>
#searchDiv{
position:absolute; 
background-color : [b]Gray[/b]; 
border : solid;
padding-bottom : 5px;
padding-left : 5px;
padding-right : 5px;
padding-top : 5px;
z-index:2;
}
</style>

<!-- Скрипт модераторских тегов-->

<script>
function addMod(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf("[mod]",from))==-1) return str;
if((pos2=str.indexOf("[/mod]"),pos+5)==-1) return str;
newpos=str.indexOf("[mod]",pos+5)
if(newpos<pos2 && newpos!=-1) str=addMod(str,pos+5,true)
if((pos2=str.indexOf("[/mod]",pos+5))==-1) return str;
str=str.substring(0,pos)+makeMod(str.substring(pos+5,pos2))+str.substring(pos2+6,str.length)
if( str.indexOf("[mod]")!=-1 && internal==false) str=addMod(str,0,false)
return str}


function makeMod(txt){
txt = "<div id='mod'><p id='mod_title'>Сообщение от администрации:</p><div id='mod_text'>" + txt + "</div></div>";
return txt}


if(document.URL.indexOf("viewtopic.php")!=-1){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addMod(post.innerHTML,0,false)}}
</script>



<style>
#button-mod {background-image:url('http://i029.radikal.ru/0804/26/e430252a0faf.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:14px; width:50%}
</style>
<script type="text/javascript">
if((document.getElementById("navadmin")) && (form=document.getElementById("form-buttons")))
form.getElementsByTagName("tr")[0].insertCell(18).innerHTML="<img src='/i/blank.gif' title='Теги администрации - обязательно к использованию для выдачи предов, каких либо поправок сообщения пользователя и т.п.' id='button-mod'  onclick=\"bbcode('[mod]', '[/mod]');\"/>"
</script>

<script type="text/javascript">
if (document.title.indexOf(" - Форум")!=-1)
{
makeSubforum('forum_f25', 'forum_46')
}

function makeSubforum(ff, sf)
{
{document.getElementById(ff).getElementsByTagName("td")[1].innerHTML=(document.getElementById(ff).getElementsByTagName("td")[1].innerHTML*1)+(document.getElementById(sf).getElementsByTagName("td")[1].innerHTML*1)
document.getElementById(ff).getElementsByTagName("td")[2].innerHTML=(document.getElementById(ff).getElementsByTagName("td")[2].innerHTML*1)+(document.getElementById(sf).getElementsByTagName("td")[2].innerHTML*1)
if ((document.getElementById(ff).className.indexOf("inew")==-1)&&(document.getElementById(sf).className.indexOf("inew")!=-1))
{document.getElementById(ff).className=document.getElementById(ff).className+" inew"}
var date1=document.getElementById(ff).innerHTML.substr(document.getElementById(ff).innerHTML.toLowerCase().lastIndexOf("</a>")+8)
var date2=document.getElementById(sf).innerHTML.substr(document.getElementById(sf).innerHTML.toLowerCase().lastIndexOf("</a>")+8)
if (transtoDate(date2)>transtoDate(date1))
{document.getElementById(ff).getElementsByTagName("td")[3].innerHTML=document.getElementById(sf).getElementsByTagName("td")[3].innerHTML}}
}

function transtoDate(oi)
{var d1=new Date()
d1.setHours(oi.substr(oi.indexOf(" ")+1, 2), oi.substr(oi.indexOf(":")+1, 2), oi.substr (oi.lastIndexOf(":")+1, 2))
if (oi.substr(0, 5)=="Сегод")
{var resd=d1.getTime()}
else if (oi.substr(0, 5)=="Вчера")
{var resd=(d1.getTime()-(1000*60*60*24))}
else 
{d1.setFullYear(oi.substr(0, 4), (oi.substr(oi.indexOf("-")+1, 2))-1, oi.substr(oi.indexOf("-")+3, 2))
var resd=d1.getTime()}
return resd}

</script>


<script>

$('.tc3:contains(Уважение)').html('Честь');
 
$('.tcl:contains("Форум пуст.")').html('Раздел пуст.'); 

$(".pmtc24 input").removeAttr("title");

$('#pun-crumbs1 .crumbs:contains("Cообщения: Новое сообщение")').append('<br><img src="http://i47.fastpic.ru/big/2012/1121/9b/fe5d5b05a794f8e9589adc89c1cb829b.gif" style="margin-left: 20px; padding-top: 10px">');

$('#pun-crumbs1 .crumbs:contains("Cообщения: Входящие")').append('<br><img src="http://i48.fastpic.ru/big/2012/1121/96/afae33323492c9954f6ea19fa217d996.png" style="float: right; margin-right: 100px" width=42% height=42%>');


if (window.location == 'http://forumoim.0bb.ru/messages.php')
$("#html-header").prepend('<style>\
#pun-messages form#post {position: absolute;margin-top: -150px;width: 570px;}\
#pun-messages #messages .fs-box {margin-top: -70px;}\
#pun-messages #profilenav {\
margin-top: -260px;\
}</style>');
</script>


<div style="position:absolute;top:170px;left:7px;background-color:#C9C7C2;" id="surveyMonkeyInfo"><div><script src="http://www.surveymonkey.com/jsEmbed.aspx?sm=4d0xE02CYNF9yjoNQE5x1g_3d_3d"> </script></div>Create your <a href="http://www.surveymonkey.com/">free online surveys</a> with SurveyMonkey, the world's leading questionnaire tool.</div>

+1

20

Deff, благодарю!
Вот только не могу понять, как настроить опрос, вернее.. я даже проголосовать не могу, не говоря уже о том, где поставить ссылку на нужную тему, но помимо всего, там, как понял - нельзя поставить ширину голосования меньше 300 px, хотя на давно упомянутом форуме ширина не более 200 px
Вы не могли бы помочь с настройкой? :blush:

0


Вы здесь » Единый форум поддержки » Корзина » Опрос на главной