MrErShs
Дата: Вторник, 31.07.2012, 18:05 | Сообщение # 1
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Абитуриент
Группа: Проверенные
Сообщений: 52
На главной странице есть колонка, при полной новости я ее убираю ([not-aviable=showfull][/not-aviable]) . Можно ли в полной новости колонку опустить под сам шаблон full-story?
WinDiZ
Дата: Вторник, 31.07.2012, 19:33 | Сообщение # 2
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Доктор
Группа: V.I.P персона
Сообщений: 1252
MrErShs , можно впринципе, cкинь код main.tpl
MrErShs
Дата: Вторник, 31.07.2012, 20:24 | Сообщение # 3
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Абитуриент
Группа: Проверенные
Сообщений: 52
Вот:
Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> <head> {headers} <title>AnimeCountry</title> <link rel="stylesheet" title="default" href="{THEME}/skins-modal/smoothness/jquery-ui-1.8.5.custom.css" type="text/css" /> <link id="dyncss" rel="stylesheet" type="text/css" href=""> <script type="text/javascript"> function setDynCSS(url) { if (!arguments.length) { url = (url = document.cookie.match(/\bdyncss=([^;]*)/)) && url[1]; if (!url) return ''; } document.getElementById('dyncss').href = url; var d = new Date(); d.setFullYear(d.getFullYear() + 1); document.cookie = ['dyncss=', url, ';expires=', d.toGMTString(), ';path=/;'].join(''); return url; } setDynCSS(); </script> <link rel="shortcut icon" href="{THEME}/images/favicon.ico" /> <script src="{THEME}/js/slides.min.jquery.js"></script> <link rel="stylesheet" type="text/css" href="{THEME}/style/tabcontent.css" /> <script type="text/javascript" src="{THEME}/js/tabcontent.js" /> <script src="{THEME}/js/slides.min.jquery.js"></script> <script> $(function(){ $('#slides').slides({ preload: true, preloadImage: '{THEME}/img/loading.gif', play: 5000, pause: 2500, hoverPause: true }); }); </script> <link rel="stylesheet" type="text/css" href="{THEME}/style/styles.css"> <link rel="stylesheet" type="text/css" href="{THEME}/style/animecountry.css"> <link rel="stylesheet" type="text/css" href="{THEME}/style/tabcontent.css"> <script type="text/javascript" src="jquery-1.7.2.min.js"></script> <script type="text/javascript"> $(document).ready(function() { //Действия по умолчанию $(".tab_content").hide(); //скрыть весь контент $("ul.tabs li:first").addClass("active").show(); //Активировать первую вкладку $(".tab_content:first").show(); //Показать контент первой вкладки //Событие по клику $("ul.tabs li").click(function() { $("ul.tabs li").removeClass("active"); //Удалить "active" класс $(this).addClass("active"); //Добавить "active" для выбранной вкладки $(".tab_content").hide(); //Скрыть контент вкладки var activeTab = $(this).find("a").attr("href"); //Найти значение атрибута, чтобы определить активный таб + контент $(activeTab).fadeIn(); //Исчезновение активного контента return false; }); }); </script> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #3685c1; } .dark_bg { display:block; border-radius: 8px; width:1001px; padding-bottom: 20px; margin-bottom: -2px; } .light_bg { display:block; border-radius: 8px; margin:0px 0px 0px 7px; margin-top:27px; margin-bottom:-26px; } .footer { background:url({THEME}/img/light_bg.png); width: 100%; height: 85px; margin-top:50px; margin-bottom:-20px; border-radius:0px 0px 8px 8px; border-bottom: 1px solid #cecece; } A { text-decoration: none; color: #3685c1; /* Цвет ссылок */ } A:visited { color: #3685c1; /* Цвет посещенных ссылок */ } A:active { color: #3685c1; /* Цвет активных ссылок */ } A:hover { color: #bf2a24; } .profil { background:#fffef9; opacity:0.5; display:block; height: 71px; width: 204px; float:right; border-radius:6px; margin-right:2px; } .ava { float:right; box-shadow: black 0px 0px 5px; display:block; border-radius:6px; position:relative; margin-right:9px; margin-top:-65px; } .text_profil { font-family: Tahoma; font-size: 11px; font-weight:bold; color: #444444; line-height:1em; position:relative; margin-top:-65px; margin-right:94px; } .profil_1 { background:#fffef9; opacity:0.5; display:block; height: 71px; width: 204px; float:right; border-radius:6px; margin-right:2px; } .login-button {width: 78px; height: 20px; background: url({THEME}/img/login-button.jpg) no-repeat; border: 0pt none;} .login-button:hover {background-position:bottom;} </style> </head> <body> {AJAX} <table width="1001" border="0" align="center" style="margin-top:-3px;"> <tr> <td><table style="width: 100%; border-collapse: collapse; "> <tbody> <tr> <td style="width: 13px; height: 40px; background-image: url({THEME}/img/menu/left.png); letter-spacing: 0px; word-spacing: 0px; background-position: 100% 0%; background-repeat: no-repeat no-repeat; "> <br></td> <td style="background-image: url({THEME}/img/menu/center.png); letter-spacing: 0px; word-spacing: 0px; background-position: 50% 0%; background-repeat: repeat no-repeat; "> <div class="menubar"> {include file="topmenu.tpl"} </div> <br></td> <td style="background-image: url({THEME}/img/menu/center.png); letter-spacing: 0px; word-spacing: 0px; background-position: 50% 0%; background-repeat: repeat no-repeat; "> <div align="left" style="float:right; height: 33px; margin-top:-9px;"> <form method="post" action=''> <input type="hidden" name="do" value="search" /> <input type="hidden" name="subaction" value="search" /> <table> <tr><td ><input class="search_bar" id="story" name="story" value="" onblur="if(this.value=='') this.value='Напиши что-нибудь..';" onfocus="if(this.value=='Напиши что-нибудь..') this.value='';" type="text" /></td> <td><input class="search_button" title="Найти" alt="Найти" type="image" src="{THEME}/img/spacer.gif" /></td></tr></table> </form> </div> </td> <td style="width: 13px; height: 40px; background-image: url({THEME}/img/menu/right.png); letter-spacing: 0px; word-spacing: 0px; background-position: 0% 0%; background-repeat: no-repeat no-repeat; "> <br></td> </tr> </tbody> </table></td> </tr> <tr> <td><img src="{THEME}/img/head.png" width="569" height="138" /> <div style="position:relative;float:right;">{login}</div> </td> </tr> <tr> <td background="{THEME}/img/dark_bg.png" class="dark_bg"> <div style="background:url({THEME}/img/light_bg.png);" class="light_bg" style="padding:7px;" >{include file="zhanr.tpl"}</div> <div><table width="100%" border="0"> <tr> <td style="padding-top:7px;" width="100%">{info}{content}</td> <td valign="top"><div align="right">[not-aviable=showfull]{include file="colomn.tpl"} [/not-aviable]</div></td> </tr> </table> </div> <div><div class="footer"></div><div style="float:right;margin-top:-180px;"><img src="{THEME}/img/horo.png"></div><div style="font-family:Tahoma;font-size:11px;text-shadow:#c4c4c4 0px 1px;float:right;margin-top:-103px;margin-right:-170px;">Menthol © AnimeCountry: 2012</div></div> </td> </tr> </table> </body> </html>
И еще, я там столько кода понаписал:) Есть ли какая-нибудь утилита, чтобы отсортировать всё?
Сообщение отредактировал MrErShs - Вторник, 31.07.2012, 20:25