Как зделать?
10.04.2011
[Pro]Fan
Пользователи
Сообщений 72
Как зделать чтобы было ровно? http://photo-outsitez.at.ua/_ph/1/147227365.png
Код:
Code
<html> <head> <title>TOP сайтов</title> <link type="text/css" rel="StyleSheet" href="/cssstyle.css"> </head> <?if $USER_LOGGED_IN$?> <script type="text/javascript"> function alertPm(n){_uWnd.alert('Для Вас есть новые личные сообщения<br><br>' + _uButton(null,'b',{content: 'onclick="ucodesru.init();_uWnd.close(\'alertPm\');"', text: 'Показать сообщения'}), 'Сообщения ('+n+')', {name: 'alertPm', w: 250, h: 100, tm: 0});} var _intPm = setInterval(function(){$.get("/index/14", function(pm){var __n = $("b.unread", pm).size(); if ( __n > 0 ) $.getScript("/js/pm.js", function(){ alertPm(__n); }), clearInterval(_intPm)})}, 20*1000); </script> <?endif?> <?if(!$USER_LOGGED_IN$)?> <script type="text/javascript"> window.onload = function PlsReg() {openLayerB('PlsReg',0,'/xml/PlsReg.xml','Внимание',335,300,1,0,0);} </script> <?endif?> <style type="text/css"> @import url('/u_wind/ajax.css') all; </style> <center> <body class="bodys"> <div class="bbody"> <script src="/js/gamesblock.js" type="text/javascript"></script> <div id="toTop" class="toTop"></div> <script type="text/javascript"> $(function() { $("#toTop").scrollToTop(); }); </script> <div id="footer"> <script>jQuery(function(){$("#banners img").hover(function(){$(this).stop().animate({opacity:'1.0'})},function(){$(this).stop().animate({opacity:'.5'})});});</script><style>#banners img{opacity:.5;filter:alpha(opacity=50)}</style> <style> /* === jQ TOP === */ .toTop {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up.png) no-repeat 0 0;} .toTop:hover {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up2.png) no-repeat 0 0px;} /* =============== */ </style> <style> /* hint menu */ .hint{-moz-border-radius:3px;-webkit-border-radius:3px; border-radius:3px; background-color:#565656;line-height:10px;color:#fff;font-family:tahoma;font-size:8pt;width:auto;border:1px solid #f8962e;margin:1px;padding:6px;position:absolute;visibility:hidden; z-index:100; -moz-box-shadow:1px 1px 5px #000; box-shadow:1px 1px 5px #000;-webkit-box-shadow:1px 1px 5px #000;} /* ---------------- */ </style> <script> // Автор Скрипта: Danil Aka Fenik$ //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$ <!-- <middle> --> <table border="0" style=" cellpadding="4" cellspacing="4" width="100%"> <tr> <td valign="top" style="width:10px;"> </td> <td valign="top"> <div style="padding:5px;margin-top:5px;background:url('')#e6e6e6; border: 1px solid #666666;"> <!-- <body> --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="80%"></tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="60%"> </tr> </table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Как это работает?:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center>Вы регистрируете ваш сайт у нас, мы даём вам код баннера нашего ТОП'а, который нужно разместить у вас на сайте. <br>Ваши пользователи кликают на баннер, ваш сайт поднимается всё выше и выше в ТОП'е. Никаких накруток, только реальные пользователи!</td></tr></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #252525;" width="50%" background=/input><CENTER><B>Преимущества ТОПа</B></CENTER></td> <td style="border:1px solid #252525;" width="50%" background=/input><CENTER><B>Баннер</B></CENTER></td> </tr> <tr> <td class="bBlok"><FONT color=#008aff>*</FONT> гарантированное поднятие ТИЦ на одну единицу;<br><FONT color=#008aff>*</FONT> ещё качественнее происходит индексация вашего сайта поисковиками;<br><FONT color=#008aff>*</FONT> о вашем сайте узнают огромное количество людей;<br><FONT color=#008aff>*</FONT> гарантирована раскрутка вашего сайта;<br><FONT color=#008aff>*</FONT> мы поможем вашему сайту стать на ноги.</td> <td class="bBlok">Код баннера можно найти, при переходе на страницу с детальным обзором своего сайта (просто кликнуть на картинку инфо). Размещение кода баннера обязательное! Если Модератор при проверке неувидит баннера ношего ТОПа у вас на сайте, сайт сразу же будет удалён с нашего ТОПа!</td> </tr> </table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Реклама:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center><div id="banners"><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a><br><br><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a></td></tr></table> <br> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="60%"> </tr> </table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Категории:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center>$CATEGORIES$</td></tr></table> <div style="float:right"><span class="linkbutton2"><a class="fNavLink" href="/dir/0-0-0-0-1" rel="nofollow"><!--<s5209>--><span>Добавить сайт</span><!--</s>--></a></span></div> <br>$BODY$ <BR><?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><BR><!-- </body> --> </div> <div class="line"></div> <br> </td> <td valign="top" style="width:170px;"> </td> </tr> </table> <!-- </middle> --> $GLOBAL_BFOOTER$ </center> </div> </body> <script type="text/javascript"> links=document.getElementsByTagName('a'); for(i=0;i<links.length;i++){ if(links[i].className=='uLPost','tAuthor','threadAuthorLink','lastPostUserLink'){ user=links[i].innerHTML; $MYINF_11$ }} </script> </html>
10.04.2011
Froa
Проверенные
Сообщений 227
НА держи
Code
<center> <div class="bbody"> <script src="/js/gamesblock.js" type="text/javascript"></script> <div id="toTop" class="toTop"></div> <script type="text/javascript"> $(function() { $("#toTop").scrollToTop(); }); </script> <div id="footer"> <script>jQuery(function(){$("#banners img").hover(function(){$(this).stop().animate({opacity:'1.0'})},function(){$(this).stop().animate({opacity:'.5'})});});</script><style>#banners img{opacity:.5;filter:alpha(opacity=50)}</style> <style> /* === jQ TOP === */ .toTop {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up.png) no-repeat 0 0;} .toTop:hover {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up2.png) no-repeat 0 0px;} /* =============== */ </style> <style> /* hint menu */ .hint{-moz-border-radius:3px;-webkit-border-radius:3px; border-radius:3px; background-color:#565656;line-height:10px;color:#fff;font-family:tahoma;font-size:8pt;width:auto;border:1px solid #f8962e;margin:1px;padding:6px;position:absolute;visibility:hidden; z-index:100; -moz-box-shadow:1px 1px 5px #000; box-shadow:1px 1px 5px #000;-webkit-box-shadow:1px 1px 5px #000;} /* ---------------- */ </style> <script> // Автор Скрипта: Danil Aka Fenik$ //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$ <!-- <middle> --> <table border="0" style=" cellpadding=" 4"="" cellspacing="4" width="100%"> <tbody><tr> <td valign="top" style="width:10px;" align="right"><br> </td> <td valign="top"> <div style="padding:5px;margin-top:5px;background:url('')#e6e6e6; border: 1px solid #666666;"> <!-- <body> --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="80%"><br></tr> </tbody></table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="60%"> </tr> </tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Как это работает?:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tbody><tr></tr></tbody></table><center align="center">Вы регистрируете ваш сайт у нас, мы даём вам код баннера нашего ТОП'а, который нужно разместить у вас на сайте. <br>Ваши пользователи кликают на баннер, ваш сайт поднимается всё выше и выше в ТОП'е. Никаких накруток, только реальные пользователи!</td></tr></tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #252525;" width="50%" background="/input"><center><b>Преимущества ТОПа</b></center></td> <td style="border:1px solid #252525;" width="50%" background="/input"><center><b>Баннер</b></center></td> </tr> <tr> <td class="bBlok"><font color="#008aff">*</font> гарантированное поднятие ТИЦ на одну единицу;<br><font color="#008aff">*</font> ещё качественнее происходит индексация вашего сайта поисковиками;<br><font color="#008aff">*</font> о вашем сайте узнают огромное количество людей;<br><font color="#008aff">*</font> гарантирована раскрутка вашего сайта;<br><font color="#008aff">*</font> мы поможем вашему сайту стать на ноги.</td> <td class="bBlok">Код баннера можно найти, при переходе на страницу с детальным обзором своего сайта (просто кликнуть на картинку инфо). Размещение кода баннера обязательное! Если Модератор при проверке неувидит баннера ношего ТОПа у вас на сайте, сайт сразу же будет удалён с нашего ТОПа!</td> </tr> </tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Реклама:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tbody><tr></tr></tbody></table><center><div id="banners"><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a><br><br><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a></td></tr></tbody></table> <br> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="60%"> </tr> </tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Категории:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tbody><tr></tr></tbody></table><center>$CATEGORIES$</td></tr></tbody></table> <div style="float:right"><span class="linkbutton2"><a class="fNavLink" href="/dir/0-0-0-0-1" rel="nofollow"><!--<s5209>--><span>Добавить сайт</span><!--</s>--></a></span></div> <br>$BODY$ <br><?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><br><!-- </body> --> </div> <div class="line"></div> <br> </td> <td valign="top" style="width:10px;"> </td> </tr> </tbody></table> <!-- </middle> --> $GLOBAL_BFOOTER$ </center> <script type="text/javascript"> links=document.getElementsByTagName('a'); for(i=0;i<links.length;i++){ if(links[i].className=='uLPost','tAuthor','threadAuthorLink','lastPostUserLink'){ user=links[i].innerHTML; $MYINF_11$ }} </script>
Добавлено (10.04.2011, 23:07) ---------------------------------------------[Pro]Fan , ну как
подпись: Люди не добавляйте репы ! Не портите номерок блатной )
11.04.2011
[Pro]Fan
Пользователи
Сообщений 72
Froa , Ни как? =(((
11.04.2011
Froa
Проверенные
Сообщений 227
У меня все ровно вот смотриДобавлено (11.04.2011, 08:28) --------------------------------------------- Вот там картинка а здесь код
Code
<br><center> <div class="bbody"> <script src="/js/gamesblock.js" type="text/javascript"></script> <div id="toTop" class="toTop"></div> <script type="text/javascript"> $(function() { $("#toTop").scrollToTop(); }); </script> <div id="footer"> <script>jQuery(function(){$("#banners img").hover(function(){$(this).stop().animate({opacity:'1.0'})},function(){$(this).stop().animate({opacity:'.5'})});});</script><style>#banners img{opacity:.5;filter:alpha(opacity=50)}</style> <style> /* === jQ TOP === */ .toTop {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up.png) no-repeat 0 0;} .toTop:hover {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up2.png) no-repeat 0 0px;} /* =============== */ </style> <style> /* hint menu */ .hint{-moz-border-radius:3px;-webkit-border-radius:3px; border-radius:3px; background-color:#565656;line-height:10px;color:#fff;font-family:tahoma;font-size:8pt;width:auto;border:1px solid #f8962e;margin:1px;padding:6px;position:absolute;visibility:hidden; z-index:100; -moz-box-shadow:1px 1px 5px #000; box-shadow:1px 1px 5px #000;-webkit-box-shadow:1px 1px 5px #000;} /* ---------------- */ </style> <script> // Автор Скрипта: Danil Aka Fenik$ //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$ <!-- <middle> --> <table border="0" style=" cellpadding=" 4"="" cellspacing="4" width="100%"> <tbody><tr> <td valign="top" style="width:10px;" align="right"><br> </td> <td valign="top"> <div style="padding:5px;margin-top:5px;background:url('')#e6e6e6; border: 1px solid #666666;"> <!-- <body> --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="80%"><br></tr> </tbody></table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="60%"> </tr> </tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Как это работает?:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tbody><tr></tr></tbody></table><center align="center">Вы регистрируете ваш сайт у нас, мы даём вам код баннера нашего ТОП'а, который нужно разместить у вас на сайте. <br>Ваши пользователи кликают на баннер, ваш сайт поднимается всё выше и выше в ТОП'е. Никаких накруток, только реальные пользователи!</td></tr></tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #252525;" width="50%" background="/input"><center><b>Преимущества ТОПа</b></center></td> <td style="border:1px solid #252525;" width="50%" background="/input"><center><b>Баннер</b></center></td> </tr> <tr> <td class="bBlok"><font color="#008aff">*</font> гарантированное поднятие ТИЦ на одну единицу;<br><font color="#008aff">*</font> ещё качественнее происходит индексация вашего сайта поисковиками;<br><font color="#008aff">*</font> о вашем сайте узнают огромное количество людей;<br><font color="#008aff">*</font> гарантирована раскрутка вашего сайта;<br><font color="#008aff">*</font> мы поможем вашему сайту стать на ноги.</td> <td class="bBlok">Код баннера можно найти, при переходе на страницу с детальным обзором своего сайта (просто кликнуть на картинку инфо). Размещение кода баннера обязательное! Если Модератор при проверке неувидит баннера ношего ТОПа у вас на сайте, сайт сразу же будет удалён с нашего ТОПа!</td> </tr> </tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Реклама:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tbody><tr></tr></tbody></table><center><div id="banners"><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a><br><br><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a></td></tr></tbody></table> <br> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td width="60%"> </tr> </tbody></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tbody><tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Категории:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tbody><tr></tr></tbody></table><center>$CATEGORIES$</td></tr></tbody></table> <div style="float:right"><span class="linkbutton2"><a class="fNavLink" href="/dir/0-0-0-0-1" rel="nofollow"><!--<s5209>--><span>Добавить сайт</span><!--</s>--></a></span></div> <br>$BODY$ <br><?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><br><!-- </body> --> </div> <div class="line"></div> <br> </td> <td valign="top" style="width:10px;"> </td> </tr> </tbody></table> <!-- </middle> --> $GLOBAL_BFOOTER$ </center> <script type="text/javascript"> links=document.getElementsByTagName('a'); for(i=0;i<links.length;i++){ if(links[i].className=='uLPost','tAuthor','threadAuthorLink','lastPostUserLink'){ user=links[i].innerHTML; $MYINF_11$ }} </script>
подпись: Люди не добавляйте репы ! Не портите номерок блатной )
11.04.2011
11.04.2011
Froa
Проверенные
Сообщений 227
да ну нафиг я таблицу сделал ровно а категории это эже не моя компитепитенция
подпись: Люди не добавляйте репы ! Не портите номерок блатной )
11.04.2011
[Pro]Fan
Пользователи
Сообщений 72
У тя ровно у мя криво жду Вову!
11.04.2011
Вовчик
Администратор
Сообщений 8683
вроде так...
Code
<html> <head> <title>TOP сайтов</title> <link type="text/css" rel="StyleSheet" href="http://photo-outsitez.at.ua/cssstyle.css"> </head> <?if $USER_LOGGED_IN$?> <script type="text/javascript"> function alertPm(n){_uWnd.alert('Для Вас есть новые личные сообщения<br><br>' + _uButton(null,'b',{content: 'onclick="ucodesru.init();_uWnd.close(\'alertPm\');"', text: 'Показать сообщения'}), 'Сообщения ('+n+')', {name: 'alertPm', w: 250, h: 100, tm: 0});} var _intPm = setInterval(function(){$.get("/index/14", function(pm){var __n = $("b.unread", pm).size(); if ( __n > 0 ) $.getScript("/js/pm.js", function(){ alertPm(__n); }), clearInterval(_intPm)})}, 20*1000); </script> <?endif?> <?if(!$USER_LOGGED_IN$)?> <script type="text/javascript"> window.onload = function PlsReg() {openLayerB('PlsReg',0,'/xml/PlsReg.xml','Внимание',335,300,1,0,0);} </script> <?endif?> <style type="text/css"> @import url('/u_wind/ajax.css') all; </style> <center> <body class="bodys"> <div class="bbody"> <script src="/js/gamesblock.js" type="text/javascript"></script> <div id="toTop" class="toTop"></div> <script type="text/javascript"> $(function() { $("#toTop").scrollToTop(); }); </script> <div id="footer"> <script>jQuery(function(){$("#banners img").hover(function(){$(this).stop().animate({opacity:'1.0'})},function(){$(this).stop().animate({opacity:'.5'})});});</script><style>#banners img{opacity:.5;filter:alpha(opacity=50)}</style> <style> /* === jQ TOP === */ .toTop {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up.png) no-repeat 0 0;} .toTop:hover {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up2.png) no-repeat 0 0px;} /* =============== */ </style> <style> /* hint menu */ .hint{-moz-border-radius:3px;-webkit-border-radius:3px; border-radius:3px; background-color:#565656;line-height:10px;color:#fff;font-family:tahoma;font-size:8pt;width:auto;border:1px solid #f8962e;margin:1px;padding:6px;position:absolute;visibility:hidden; z-index:100; -moz-box-shadow:1px 1px 5px #000; box-shadow:1px 1px 5px #000;-webkit-box-shadow:1px 1px 5px #000;} /* ---------------- */ </style> <script> // Автор Скрипта: Danil Aka Fenik$ //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$ <div style="padding:5px;margin-top:5px;background:url('')#e6e6e6; border: 1px solid #666666;"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="60%"> </tr> </table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Как это работает?:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center>Вы регистрируете ваш сайт у нас, мы даём вам код баннера нашего ТОП'а, который нужно разместить у вас на сайте. <br>Ваши пользователи кликают на баннер, ваш сайт поднимается всё выше и выше в ТОП'е. Никаких накруток, только реальные пользователи!</td></tr></table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #252525;" width="50%" background=/input><CENTER><B>Преимущества ТОПа</B></CENTER></td> <td style="border:1px solid #252525;" width="50%" background=/input><CENTER><B>Баннер</B></CENTER></td> </tr> <tr> <td class="bBlok"><FONT color=#008aff>*</FONT> гарантированное поднятие ТИЦ на одну единицу;<br><FONT color=#008aff>*</FONT> ещё качественнее происходит индексация вашего сайта поисковиками;<br><FONT color=#008aff>*</FONT> о вашем сайте узнают огромное количество людей;<br><FONT color=#008aff>*</FONT> гарантирована раскрутка вашего сайта;<br><FONT color=#008aff>*</FONT> мы поможем вашему сайту стать на ноги.</td> <td class="bBlok">Код баннера можно найти, при переходе на страницу с детальным обзором своего сайта (просто кликнуть на картинку инфо). Размещение кода баннера обязательное! Если Модератор при проверке неувидит баннера ношего ТОПа у вас на сайте, сайт сразу же будет удалён с нашего ТОПа!</td> </tr> </table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Реклама:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center><div id="banners"><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a><br><br><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a></td></tr></table> <br> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="60%"> </tr> </table> <table border="0" width="100%" cellspacing="2" cellpadding="3"> <tr> <td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Категории:</b></center></td> </tr> <tr> <td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center>$CATEGORIES$</td></tr></table> <div style="float:right"><span class="linkbutton2"><a class="fNavLink" href="/dir/0-0-0-0-1" rel="nofollow"><!--<s5209>--><span>Добавить сайт</span><!--</s>--></a></span></div> <br>$BODY$ <BR><?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><BR><!-- </body> --> </div> <div class="line"></div> <br> </td> <td valign="top" style="width:170px;"> </td> </tr> </table> </div> <!-- </middle> --> $GLOBAL_BFOOTER$ </center> </div> </body> <script type="text/javascript"> links=document.getElementsByTagName('a'); for(i=0;i<links.length;i++){ if(links[i].className=='uLPost','tAuthor','threadAuthorLink','lastPostUserLink'){ user=links[i].innerHTML; $MYINF_11$ }} </script> </html>
подпись: Если я помог тебе, помоги и ты мне Мой WMR --> R250600748056
p.s. это лучшее выражение благодарности))
11.04.2011
Froa
Проверенные
Сообщений 227
я просто еще не селен в этом деле вот поднаберусь опыта и буду.....
подпись: Люди не добавляйте репы ! Не портите номерок блатной )
11.04.2011
[Pro]Fan
Пользователи
Сообщений 72
Вовчик, Спс!)Добавлено (11.04.2011, 20:32) --------------------------------------------- А как ты это зделал?)