[ Новые сообщения · Участники · Правила форума · Поиск · RSS ] |
|
Форум » Скрипты для uCoz » Каталог Файлов » Страница материала и комментариев к нему |
Страница материала и комментариев к нему |
Code <style type="text/css" media="all"> @import url(http://ck-pro.ucoz.org/highslide.css); </style> <script type="text/javascript" src="http://ck-pro.ucoz.org/highslide.js"></script> <script type="text/javascript"> hs.graphicsDir = 'http://cszona-portal.net.ru/highslide/graphics/'; </script> <html> <head> <title>$ENTRY_TITLE$ - $CAT_NAME$ <?if($SECTION_NAME$)?>- $SECTION_NAME$<?endif?> - $MODULE_NAME$ - $SITE_NAME$</title> <link type="text/css" rel="StyleSheet" href="/_st/my.css" /> </head> <body style="background:url('http://sinners.pp.ua/img/1.1.gif') #000000; margin:0px; padding:0px;"> <table cellpadding="0" cellspacing="0" border="0" width="101%"> <tr><td align="right" width="2%" style="background:url('http://sinners.pp.ua/New_ST/bokova9_xyuH9.gif') right repeat-y;"><img src="http://sinners.pp.ua/New_ST/bokova9_xyuH9.gif" border="0"></td> <td width="95%" valign="top" style="border-bottom:1px solid #000000;"> <style> /* hint menu */ .hint { background:url('http://sinners.pp.ua/New_ST/BGINFORBWANKE.png'); line-height:10px; color:#ffffff; font-family:verdana,arial,helvetica; font-size:8pt; width:auto; border-top:1px solid #1E90FF; border-right:1px solid #1E90FF; border-bottom:1px solid #1E90FF; border-left:1px solid #1E90FF; margin:1px; padding:8px; position:absolute; visibility:hidden; } /* ---------------- */ </style> <script> // Автор Скрипта: Sinners.PP.Ua //Hint Start // CLASS : MW_System_Load // Init function MW_System_Load(){ this.wib = screen.width; this.heb = screen.height; this.documes = (document.getElementById || document.createElement || document.getElementsByTagName) ? true : false; this.objects = window.addEventListener || window.attachEvent ? window : document.addEventListener ? document : null; this.types = 'load'; } MW_System_Load.prototype.addsevent = function(func){ if(this.objects.addEventListener){ this.objects.addEventListener(this.types,func,false); return true; } else if (this.objects.attachEvent){ this.objects.attachEvent("on" + this.types,func); } else { return false; } } MW_System_Load.prototype.browser = function(){ this.ver = navigator.appVersion; this.agent = navigator.userAgent.toLowerCase(); this.dom = document.getElementById ? 1:0; this.all = document.all ? 1:0; this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom) ? 1:0; this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom) ? 1:0; this.ie4 = (document.all && !this.dom) ? 1:0; this.ie = this.ie4 || this.ie5 || this.ie6; this.opera = this.agent.indexOf("opera")>-1; this.gecko = (this.agent.indexOf("gecko")!=-1) ? 1:0; this.bw = (this.ie || this.opera || this.gecko); return this; } MW_System_Load.prototype.findobj = function(obj){ this.parent = window.document; if(this.parent[obj]){ return this.parent[obj]; } if(this.parent.all && this.parent.all[obj]){ return this.parent.all[obj]; } if(this.parent.layers && this.parent.layers[obj]){ return this.parent.layers[obj]; } if(this.parent.getElementById && this.parent.getElementById(obj)){ return this.parent.getElementById(obj); } return null; } var MW = new MW_System_Load(); function MW_System_Hint(){} MW_System_Hint.prototype.show = function(obj,str){ var hint = MW.findobj('hint'); if(!obj){ return; } if(!MW.documes){ return; } if(!hint){ return; } hint.className = 'hint'; hint.style.left = 15; hint.style.top = 50; obj.onmouseout = function(advance){ hint.style.width = ''; hint.style.visibility = 'hidden'; if(hint.firstChild) hint.removeChild(hint.firstChild); hint.appendChild(document.createTextNode(str)); }; obj.onmousemove = function(advance){ //str = str.replace(/</g,"<"); //str = str.replace(/>/g,">"); hint.style.width = ''; hint.innerHTML = str; vc = document.getElementsByTagName((document.compatMode && document.compatMode=="CSS1Compat") ? "HTML":"BODY")[0]; x = window.event ? event.clientX + vc.scrollLeft : advance.pageX; y = window.event ? event.clientY + vc.scrollTop : advance.pageY; vcwidth = vc.clientWidth ? vc.clientWidth + vc.scrollLeft : window.innerWidth + window.pageXOffset; vcheight = vc.innerHeight ? window.innerHeight + window.pageYOffset : vc.clientHeight + vc.scrollTop; if(hint.offsetWidth>500){ hint.style.width = '200'; } if((x + hint.offsetWidth + 15) > vcwidth){ hint.style.left = x - hint.offsetWidth - 4; } else { hint.style.left = x + 15; } if((y + hint.offsetHeight + 19) > vcheight){ hint.style.top = y - hint.offsetHeight; } else { hint.style.top = y + 25; } //if(typeof(hint.style.MozOpacity)!="undefined"){ hint.style.opacity = '.91'; hint.style.filter = "alpha(opacity:91)"; //} hint.style.visibility = 'visible'; }; } MW_System_Hint.prototype.initialize = function(){ var hint = document.createElement("DIV"); hint.setAttribute('id','hint'); document.getElementsByTagName('body')[0].appendChild(hint); hint.style.visibility = 'hidden'; var hintmarker = ['a','img','img','input','span','div','textarea']; var textmarker = ['title','alt','title','title','title','title','title']; var lenmarker = hintmarker.length; for(var i=0; i<lenmarker; i++) { atr = document.getElementsByTagName(hintmarker[i]); for(var j=0; j<atr.length; j++) if(viewhint=atr[j].getAttribute(textmarker[i])){ atr[j].removeAttribute(textmarker[i]); HINT.show(atr[j],viewhint); } } } var HINT = new MW_System_Hint(); if(MW.objects){ MW.addsevent(HINT.initialize); } //Hint End </script> $GLOBAL_AHEADER$ <table border="0" cellpadding="10" cellspacing="0" width="100%"><tr><td valign="top" align="center"> <!-- <middle> --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" style="width:203px;"> $GLOBAL_CLEFTER$ </td> <td valign="top" width="80%" style="padding:0 5px;"> <div style="border:1px solid black;padding:5px"> <!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="80%"><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Главная<!--</s>--></a> » <a href="$MODULE_URL$"><!--<s5182>-->Файлы<!--</s>--></a> <?if($SECTION_NAME$)?>» <a href="$SECTION_URL$">$SECTION_NAME$</a><?endif?> » <a href="$CAT_URL$">$CAT_NAME$</a></td> <td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?> <a href="$ADD_ENTRY_LINK$"><!--<s5186>--><img border="0" src="http://css-ost.ru/gangsta/add_file.png"<!--</s>--></a> <?endif?></td> </tr> </tbody></table> <br> <div class="eTitle" style="padding-bottom: 3px;">$ENTRY_TITLE$</div> <table class="eBlock" border="0" cellpadding="2" cellspacing="0" width="100%"> <tbody><tr><td width="85%"> <tr><td colspan="2" class="eMessage" style="text-align: left; clear: both; padding-top: 2px; padding-bottom: 2px;"><center><hr><div><center><h3><index>$ENTRY_TITLE$</index></h3></center></div><hr><a style="" href="$SCREEN_URL$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img alt="" style="border: 2px solid rgb(86, 86, 86); visibility: visible;" src="$SCREEN_URL$" align="center" width="175"></a></center> <hr><center>$MESSAGE$<br></p><div><h3><index>$ENTRY_TITLE$</index></h3></div><br><div><h1><index><a href="$FILE_URL$" class="entAllCats">$CATEGORY_NAME$</a></index></h1></div></center></td></tr> </tbody></table><table style="border: 1px solid rgb(37, 37, 37);" border="0" cellpadding="5" cellspacing="0" width="100%"> <tbody><tr><td align="left"> <a href="$RFILE_URL$" target="_blank"><img src="http://diz-cs.ru/download.png" border="0"></a> </td><td align="right"> <script type="text/javascript"> function repchange(val,id){ repval=val; ajaxtime=setInterval('checkajax'+id+'()',500);} </script> <script type="text/javascript"> function checkajax26668(){ forms=document.getElementsByTagName('form'); for(f=0;f<forms.length;f++){ if(forms[f].id=='frm981'){ if(repval=='plus'){document.getElementById('a2').checked='true'; forms[f].reason.value='Благодарю за amx_puke' document.getElementById('submfrm981').click(); document.getElementById('sbt981').onclick=null; clearInterval(ajaxtime);}}}} </script> <a title="Репутация пользователя автоматически повысится. Многократное нажатие Спасибо запрещено Правилами портала и строго наказывается!" href="javascript://" onclick="openLayerB('Rd',0,'$PROFILE_URL$','Change Reputation',380,200,1); return false;"><img src="http://diz-cs.ru/diz/new_plus.png" onclick="repchange('plus','26668');" align="absmiddle" border="0"></a> <br> </td></tr><tr><td class="eDetails1" colspan="2"><!--<s3179>-->Категория<!--</s>-->: <a href="$CAT_URL$">$CAT_NAME$</a> | <!--<s3178>-->Добавил<!--</s>-->: <a href="$PROFILE_URL$" target="_blank">$USERNAME$</a>| <!--<s3119>-->Рейтинг<!--</s>-->: <b>$RATING$</b>/<b>$RATED$</b> | <select size="1" id="rt9141" name="rating" class="eRating" onchange="if (this.options[this.selectedIndex].value!=0 && confirm(this.options[this.selectedIndex].text+'?')){this.disabled=true;_uPostForm('',{url:'http://diz-cs.ru/load/0-1-'+this.options[this.selectedIndex].value+'-9141-3'});}"><option value="0" selected="selected">- Оценить -</option><option value="5">Отлично</option><option value="4">Хорошо</option><option value="3">Неплохо</option><option value="2">Плохо</option><option value="1">Ужасно</option></select> </td></tr> <?if($COM_IS_ACTIVE$)?> <?if($COM_CAN_READ$)?> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td width="60%" height="25"><!--<s5183>-->Всего комментариев<!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr> <tr><td colspan="2">$COM_BODY$</td></tr> <tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr> <tr><td colspan="2" height="10"></td></tr> </table> <?endif?> <?if($COM_CAN_ADD$)?> $COM_ADD_FORM$ <?else?> <?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Добавлять комментарии могут только зарегистрированные пользователи.<!--</s>--> [ <a href="$REGISTER_LINK$"><!--<s3089>-->Регистрация<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Вход<!--</s>--></a> ]</div><?endif?> <?endif?> <?endif?><!-- </body> --></div></td> <td valign="top"> $GLOBAL_DRIGHTER$ </td> </tr> </table> <!-- </middle> --> $GLOBAL_BFOOTER$ </td></tr></table> </td> <td align="left" width="2%" style="background:url('http://sinners.pp.ua/New_ST/bokova9_xyuH9.gif') left repeat-y;"><img src="http://sinners.pp.ua/New_ST/bokova9_xyuH9.gif" border="0"></td> </td></tr></table> </body> </html> |
| |||
| |||