Как расширить шаблон
Дата: Четверг, 05.05.2011, 15.22.37 | Сообщение # 1
Уровень 2
Зарегистрирован: 06.01.2011
Пользователь №: 272
Сообщений: 77
Здраствуйте,мне очень нужно расширить шаблон сайта,расширить страницу материала и кометов к нему. Вот код. Code
<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>$TITLE_BAR$ - $SITE_NAME$</title><?$META_DESCRIPTION$?><link type="text/css" rel="StyleSheet" href="/_st/my.css" /><link href="/.s/src/css/796.css" rel="stylesheet" type="text/css"></head><body>$ADMIN_BAR$<div id="all1"><div id="all2"><div id="container">$GLOBAL_AHEADER$<div id="site-bg"><!-- <middle> --><div id="leftcol"><div class="sidebar">$GLOBAL_CLEFTER$</div></div><div id="rightcol"><div class="sidebar"><br></div></div><div id="maincol"><!-- <body> --><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Главная<!--</s>--></a> » $DATE_BAR$ » $ENTRY_NAME$<hr><table class="eBlock" border="0" cellpadding="2" cellspacing="1" width="100%"><tbody><tr><td width="90%"><div class="eTitle"><div style="float:right;font-size:9px;">$ADD_TIME$ $MODER_PANEL$</div>$ENTRY_NAME$</div></td></tr><tr><td class="eMessage"><div class="cell_news">$MESSAGE$</div><center><table><tr><td ><div class="cpojer-links"><a href="$OTHERS1$" >Скачать с Letitbit</a></div></td><td ><div class="red-links"><a href="$OTHER2$" >Загрузить с Shareflare</a></div></td></tr></table></center><br><?if($ATTACHMENTS$)?><div style="text-align:left;" class="eAttach"><!--<s3172>-->Прикрепления<!--</s>-->: $ATTACHMENTS$</div><?endif?></td></tr><tr><td colspan="2" class="eDetails"><?if($RATING$)?><div style="float:right"><?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?></div><?endif?><?if($CAT_NAME$)?><!--<s3179>-->Категория<!--</s>-->: <a href="$CAT_URL$">$CAT_NAME$</a> |<?endif?><!--<s3177>-->Просмотров<!--</s>-->: $READS$ |<!--<s3178>-->Добавил<!--</s>-->: <a href="$PROFILE_URL$">$USER$</a><?if($TAGS$)?> | <!--<s5308>-->Теги<!--</s>-->: $TAGS$<?endif?><?if($RATING$)?>| <!--<s3119>-->Рейтинг<!--</s>-->: <span id="entRating$ID$">$RATING$</span>/<span id="entRated$ID$">$RATED$</span><?endif?></td></tr></tbody></table><?if($COM_IS_ACTIVE$)?><?if($COM_CAN_READ$)?><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td height="25" width="60%"><!--<s5183>-->Всего комментариев<!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td height="25" align="right">$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></tbody></table><?endif?><?if($COM_CAN_ADD$)?>$COM_ADD_FORM$<?else?><?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Добавлять комментарии могут только зарегистрированные пользователи.<!--</s>--><br />[ <a href="$REGISTER_LINK$"><!--<s3089>-->Регистрация<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Вход<!--</s>--></a> ]</div><?endif?><?endif?><?endif?><!-- </body> --><div style="clear: both" class="qq"></div></div><div style="clear: both" class="qq"></div><!-- </middle> --></div><div id="site-bottom-bg"></div>$GLOBAL_BFOOTER$</div></div></div></body></html>
Дата: Четверг, 05.05.2011, 17.37.16 | Сообщение # 2
Уровень 1
Зарегистрирован: 20.09.2010
Пользователь №: 41
Сообщений: 11
Ссылку на сайт дайте... Что нам этот код? От части нужно и в css заглянуть.
Дата: Четверг, 05.05.2011, 17.42.07 | Сообщение # 3
Уровень 8
Зарегистрирован: 15.11.2008
Пользователь №: 1
Сообщений: 2202
MIx-weBer , адрес сайта
Дата: Четверг, 05.05.2011, 19.23.43 | Сообщение # 4
Уровень 2
Зарегистрирован: 06.01.2011
Пользователь №: 272
Сообщений: 77
В прфиль looKK
Дата: Четверг, 05.05.2011, 21.34.43 | Сообщение # 5
Уровень 8
Зарегистрирован: 15.11.2008
Пользователь №: 1
Сообщений: 2202
MIx-weBer , куда? Вы не указали в профиле адрес своего сайта
Дата: Пятница, 06.05.2011, 13.23.39 | Сообщение # 6
Уровень 3
Зарегистрирован: 04.12.2010
Пользователь №: 195
Сообщений: 118
unet ???
Дата: Пятница, 06.05.2011, 14.05.09 | Сообщение # 7
Уровень 2
Зарегистрирован: 06.01.2011
Пользователь №: 272
Сообщений: 77
Froa , Да !!
Дата: Пятница, 06.05.2011, 16.28.50 | Сообщение # 8
Уровень 8
Зарегистрирован: 15.11.2008
Пользователь №: 1
Сообщений: 2202
Так. Кому помощь то нужна? Ссылку трудно скопировать и вставить? Ага, сейчас будем мы тут кликать и искать какой из твоих сайтов нуждается в помощи, ко всему, ссылка на uNet-профиль скрыта из профилей.
Дата: Воскресенье, 08.05.2011, 23.31.49 | Сообщение # 9
Уровень 2
Зарегистрирован: 06.01.2011
Пользователь №: 272
Сообщений: 77
просто сделайте стандартный диз под номером # 796 :worship: шире....Добавлено (08.05.2011, 23:31) --------------------------------------------- Могу дать сайт
Дата: Понедельник, 09.05.2011, 11.15.03 | Сообщение # 10
Уровень 8
Зарегистрирован: 15.11.2008
Пользователь №: 1
Сообщений: 2202
Quote (MIx-weBer )
стандартный диз под номером # 796
Данный дизайн статический. Если умеешь обращаться с фотошопом, то расширяй изображения до нужного тебе размера, но у тех у кого значение ширины будет менее, сайт будет выходить за рамки видимой области экрана. Quote (MIx-weBer )
шире....
Общие шаблоны -> Таблица стилей (CSS), ищи все значения 1000px и заменяй на 100%
Дата: Вторник, 10.05.2011, 21.28.50 | Сообщение # 11
Уровень 2
Зарегистрирован: 06.01.2011
Пользователь №: 272
Сообщений: 77
попробую а если что то сразу сюда Добавлено (09.05.2011, 14:55) --------------------------------------------- вот css отсутствует 1000 px
Code
/*--------------------- General styles start ---------------------*/ body { margin: 0px; background-color: #cbe7f1; font: 12px 'Arial'; color: #555555; text-align: center; } body a { color: #d21918; text-decoration: none; } body a:hover { text-decoration: underline; } * {} img {border: 0px;} /*--------------------- General styles end ---------------------*/ /*--------------------- All content start ---------------------*/ #all1 { width: 100%; height: 526px; background: url(/.s/t/796/1.png) repeat-x; } #all2 { width: 100%; height: 122px; background: url(/.s/t/796/2.png) no-repeat top center; } #container { width: 1004px; margin: auto; } /*--------------------- All content end ---------------------*/ /*--------------------- Header start ---------------------*/ #sitelogo { margin-left: 10px; height: 135px; color: #ffffff; font: 40px 'Tahoma'; text-align: left; line-height: 135px; } #top { position: relative; height: 32px; background: #219cc5; background: url(/.s/t/796/3.png); } #bird { position: absolute; width: 47px; height: 62px; left: 0px; top: 0px; background: url(/.s/t/796/4.png); margin: -36px 0px 0px -20px; } #today { margin-left: 10px; float: left; width: 400px; height: 32px; text-align: left; color: #ffffff; font: 12px 'Tahoma'; line-height: 32px; } #whois { margin-right: 10px; float: right; width: 500px; height: 32px; text-align: right; color: #ffffff; font: 12px 'Tahoma'; line-height: 32px; } #top-menu { height: 23px; text-align: left; background: url(/.s/t/796/5.png); } .home_left { display: block; float: left; height: 23px; width: 24px; margin-left: 10px; background: url(/.s/t/796/6.png); } .home a { background: url(/.s/t/796/7.png) no-repeat; padding: 2px 0px 2px 22px; } .prof a { background: url(/.s/t/796/8.png) no-repeat; padding: 2px 0px 2px 22px; } .reg a { background: url(/.s/t/796/9.png) no-repeat; padding: 2px 0px 2px 22px; } .logout a { background: url(/.s/t/796/10.png) no-repeat; padding: 2px 0px 2px 22px; } .login a { background: url(/.s/t/796/11.png) no-repeat; padding: 2px 0px 2px 22px; } .rss a { background: url(/.s/t/796/12.png) no-repeat; padding: 2px 0px 2px 22px; } .tm_left { display: block; float: left; height: 23px; width: 17px; background: url(/.s/t/796/13.png); } .tm_right { display: block; float: left; height: 23px; width: 17px; background: url(/.s/t/796/14.png); } .tm_end { display: block; float: left; height: 23px; width: 5px; background: url(/.s/t/796/15.png); } .tm { display: block; float: left; height: 23px; text-align: center; background: url(/.s/t/796/16.png); } .tm a { color: #219cc5; font: 12px 'Tahoma'; line-height: 23px; text-transform: uppercase; } .tm a:hover { color: #d21918; text-decoration: none; background-position: 0px -19px; } /*--------------------- Header end ---------------------*/ /*--------------------- Main content start ---------------------*/ #site-bg { width: 1004px; padding-top: 1px; padding-bottom: 1px; background: url(/.s/t/796/17.png); } #site-bottom-bg { clear: both; width: 1004px; height: 8px; overflow: hidden; margin: auto; background: url(/.s/t/796/18.png); } #leftcol { float: left; width: 210px; margin-left: 2px; text-align: justify; } #rightcol { float: right; width: 210px; margin-right: 2px; text-align: justify; } .sidebar { margin-left: 10px; width: 190px; font: 11px 'Tahoma', 'Arial'; } .sidebar a { color: #219cc5; } #maincol { margin: 9px 212px 5px 212px; _width: 100%; /*FOR IE*/ text-align: justify; } #maincol table { font: 11px 'Arial', 'Tahoma'; } .eTitle { margin: 0px 0px 3px 0px; font: 14px 'Tahoma', 'Arial'; text-transform: uppercase; } .eTitle a {} .eTitle a:hover {} .eMessage, .eText, .eAnswer { font: 12px 'Arial'; text-align: justify !important; background: url(/.s/t/796/19.png) no-repeat; } .cMessage { font: 12px 'Arial'; text-align: justify !important; } .eDetails, .eDetails1, .eDetails2 { padding: 3px 5px; font: 11px 'Tahoma', 'Arial'; color: #ffffff; background: #5ec2e4; border: 1px solid #219cc5; margin-top: 5px; } .cBlock1, .cBlock2 { font: 11px 'Tahoma', 'Arial'; background: #f4f7f8; border: 1px dotted #eceff0; } /*--------------------- Main content end ---------------------*/ /*--------------------- Containers start ---------------------*/ .block { width: 190px; margin-top: 10px; } .blocktitle { width: 190px; height: 27px; font: 14px 'Tahoma', 'Arial'; line-height: 27px; color: #219cc5; text-transform: uppercase; background: url(/.s/t/796/20.png); margin-bottom: 5px; } .blocktitle-inside { margin-left: 10px; } .blockcontent { text-align: left; } .blockcontent-inside { margin-left: 10px; width: 170px; } .blockcontent ul { margin: 0; padding: 0; margin-left: 15px; } .blockcontent li { margin-left: 10px; } .blockcontent li a { color: #555555; } .blockcontent li a:hover { color: #219cc5; text-decoration: none; } .blockcontent a {} .blockcontent a:hover {} .blockcontent table { font: 12px 'Arial'; color: #5d5d5d; } .calTable { font: 12px 'Arial'; color: #5d5d5d; } a.calMonthLink { color: #5d5d5d; } a.calMdayLink {} .calWday { height: 22px; background: url(/.s/t/796/21.png) repeat-x; border-left: 1px solid #219cc5; border-right: 1px solid #219cc5; color: #ffffff; padding-left: 3px; padding-right: 3px; } .calWdaySe, .calWdaySu { height: 22px; background: url(/.s/t/796/22.png) repeat-x; border-left: 1px solid #ac1e20; border-right: 1px solid #ac1e20; color: #ffffff; padding-left: 3px; padding-right: 3px; } .calMdayIs { border: 1px solid #219cc5; background: #5ec2e4; color: #ffffff; } .calMdayA { color: #e83f63; font-weight: bold; } a.groupAdmin {} .swchItem span, .swchItemA span {} .swchItem span:hover {} .swchItem span:active {} .swchItem {} .admBarCenter div, .myWinSuccess {} /*---------------- Mainmenu start------------*/ ul.uMenuRoot { margin: 0px; padding: 0px; margin-left: 0px; } .uMenuItem span { margin-left: 10px; } .uMenuRoot li { margin-left: 0px; list-style-type: none; border-bottom: 1px dotted #5ec2e4; line-height: 19px; } .uMenuArrow { position: absolute; height: 7px; width: 4px; top: 6px; right: 0px; background: url(/.s/t/796/23.gif); } .uMenuRoot li:hover {} .uMenuRoot a {} .uMenuRoot a:hover {} .uMenuRoot a:active {} .uMenuRoot a.uMenuItemA { color: #219cc5; background-position: 0px -40px; } .uMenuItem { margin-top: 3px; margin-bottom: 3px; } .uMenuItem a { background: url(/.s/t/796/24.png) no-repeat; background-position: 0px -6px; } .uMenuItem a:hover { background-position: 0px -40px; } /*------------------- Mainmenu end -------------------*/ /*--------------------- Containers end ---------------------*/ /*--------------------- Footer start ---------------------*/ #footer { clear: both; margin: 8px auto; width: 980px; height: 35px; font: 11px 'Tahoma','Arial'; } #copyright { float: left; width: 450px; margin-left: 22px; text-align: left; line-height: 35px; color: #555555; text-transform: uppercase; } #powered_by { float: right; width: 450px; margin-right: 22px; text-align: right; line-height: 35px; } #powered_by a { color: #d21918; } #powered_by img { vertical-align: middle !important; } /*--------------------- Footer end ---------------------*/ /*--------------------- Forum start ---------------------*/ .forumContent { margin-left: 12px; margin-right: 12px; width: 980px; font: 11px 'Tahoma', 'Arial'; } .forumContent a { font: 11px 'Tahoma', 'Arial'; color: #219cc5; } .forumContent table { font: 11px 'Arial'; } .gTable, .postTable { background-color: #5ec2e4; } .gTable td { background: #ffffff; border: 1px solid #ffffff; padding: 2px 7px; } .gTable td.gTableTop { padding: 0px 5px; text-align: left; background: url(/.s/t/796/25.png) repeat-x; height: 28px; font: 14px 'Tahoma', 'Arial'; color: #219cc5; line-height: 28px; text-transform: uppercase; border: 1px solid #bc0000; border-left: 5px solid #bc0000; } .gTableTop a { font: 14px 'Tahoma', 'Arial'; } .gTableTop a:hover {} .gTable td.gTableSubTop { background: #5ec2e4; font: 10px 'Tahoma', 'Arial'; color: #ffffff; } .gTable td.postTdTop { background: #5ec2e4; color: #ffffff; } .gTable td.postTdTop a { color: #ffffff !important; } .gTableSubTop a { font: 10px 'Tahoma', 'Arial'; color: #ffffff; } .postBottom table td { border: 0px; } .postSeparator { display: none; } .posttdMessage { text-align: justify; } td.forumIcoTd, td.forumThreadTd, td.forumPostTd, td.gTableRight, td.threadIcoTd, td.threadPostTd, td.threadViewTd { background: #f4f7f8; } a.TopSortLink {} a.TopSortLink:hover {} a.postUser { font-weight: bold; color: #ffffff !important; } a.forum, a.threadLink { font: 12px 'Arial'; color: #d21918; } .forumDescr, .threadDescr { font: 10px 'Arial'; color: #a1a1a1; } .quoteMessage {} td.pollQuestion, .pollResults td, td.pollResults, td.pollTotal, td.pollAnswer, td.pollButtons, .smiles td{ border: 0px; } /*--------------------- Forum end ---------------------*/ /*--------------------- INPUTS start ---------------------*/ input { font: 11px 'Tahoma', 'Arial'; margin: 0px 1px; } input[type=submit], input[type=reset], input[type=button] {} input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover {} input[type=submit]:active, input[type=reset]:active, input[type=button]:active {} input[type=text], input[type=password] {} textarea {} #mchatBtn, input.codeButtons, input.button { padding-left: 0px; padding-right: 0px; } .queryField { width: auto !important; } /*--------------------- INPUTS end ---------------------*/ /*--------------------- POPUP start ---------------------*/ .popup a { color: #219cc5;; } .popup { font: 11px 'Tahoma', 'Arial'; margin: 10px; } .popuptitle { border: 1px solid #bc0000; height: 28px; background: url(/.s/t/796/26.png) no-repeat; } .ptitle-inside { padding-left: 5px; text-align: left; background: url(/.s/t/796/25.png) repeat-x; margin-left: 6px; height: 100%; font: 14px 'Tahoma', 'Arial'; color: #219cc5; line-height: 28px; text-transform: uppercase; } .popupbody { margin-top: 1px; background: #ffffff; border: 1px solid #259ec6; } .popupbody table { font: 11px 'Tahoma', 'Arial'; } .pbody-inside { margin: 5px; } /*--------------------- POPUP end ---------------------*/ /*--------------------- LINKS TRANSFORM 1 start ---------------------*/ .cpojer-links a { display: inline-block; padding: 4px; outline: 0; color: #3a599d; -webkit-transition-duration: 0.25s; -moz-transition-duration: 0.25s; -o-transition-duration: 0.25s; transition-duration: 0.25s; -webkit-transition-property: -webkit-transform; -moz-transition-property: -moz-transform; -o-transition-property: -o-transform; transition-property: transform; -webkit-transform: scale(1) rotate(0); -moz-transform: scale(1) rotate(0); -o-transform: scale(1) rotate(0); transform: scale(1) rotate(0); } .cpojer-links a:hover { background: #3a599d; text-decoration: none; color: #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-transform: scale(1.05) rotate(-1deg); -moz-transform: scale(1.05) rotate(-1deg); -o-transform: scale(1.05) rotate(-1deg); transform: scale(1.05) rotate(-1deg); } .cpojer-links a:nth-child(2n):hover { -webkit-transform: scale(1.05) rotate(1deg); -moz-transform: scale(1.05) rotate(1deg); -o-transform: scale(1.05) rotate(1deg); transform: scale(1.05) rotate(1deg); } /*--------------------- LINKS TRANSFORM 1 edn ---------------------*/ /*--------------------- LINKS TRANSFORM 2(red) start ---------------------*/ .red-links a { display: inline-block; padding: 4px; outline: 0; color: #ff0000; -webkit-transition-duration: 0.25s; -moz-transition-duration: 0.25s; -o-transition-duration: 0.25s; transition-duration: 0.25s; -webkit-transition-property: -webkit-transform; -moz-transition-property: -moz-transform; -o-transition-property: -o-transform; transition-property: transform; -webkit-transform: scale(1) rotate(0); -moz-transform: scale(1) rotate(0); -o-transform: scale(1) rotate(0); transform: scale(1) rotate(0); } .red-links a:hover { background: #ff0000; text-decoration: none; color: #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-transform: scale(1.05) rotate(-1deg); -moz-transform: scale(1.05) rotate(-1deg); -o-transform: scale(1.05) rotate(-1deg); transform: scale(1.05) rotate(-1deg); } .red-links a:nth-child(2n):hover { -webkit-transform: scale(1.05) rotate(1deg); -moz-transform: scale(1.05) rotate(1deg); -o-transform: scale(1.05) rotate(1deg); transform: scale(1.05) rotate(1deg); } /*--------------------- LINKS TRANSFORM 2(red) end ---------------------*/ /*-------------------text star-------------*/ /*-------------------text end-------------*/
Добавлено (09.05.2011, 14:56) --------------------------------------------- вобщем лутше ширину не менять ??
Добавлено (09.05.2011, 14:57) --------------------------------------------- конечно хотелось бы на сантиметров 5 расширить в обе стороны
Добавлено (09.05.2011, 14:59) ---------------------------------------------А еще кто ни будь кинте ссылочку на карусель для сайта под диз # 796
Добавлено (10.05.2011, 21:28) --------------------------------------------- :blahblah: Вобщем Все ТЕМА ЗАКРЫТА СМЕНИЛ ДИЗ
Дата: Вторник, 10.05.2011, 22.10.06 | Сообщение # 12
Уровень 8
Зарегистрирован: 15.11.2008
Пользователь №: 1
Сообщений: 2202
Quote (MIx-weBer )
вот css отсутствует 1000 px
Значит ты используешь собственную таблицу. Юкоз не меняет содержимое CSS во избежании "случайной утраты", поэтому придется самому его восстановить. Щелкни по кнопки "Восстановить шаблон" на странице "Таблица стилей (CSS)". Quote (MIx-weBer )
вобщем лутше ширину не менять ??
Все зависит от твоего желания и стремления. Quote (MIx-weBer )
конечно хотелось бы на сантиметров 5 расширить в обе стороны
Указанный мною парамтр равномерно увеличит/уменьшит размер с обеих сторон. Quote (MIx-weBer )
А еще кто ни будь кинте ссылочку на карусель для сайта под диз # 796
Под диз? Карусель? Карусель - это скрипт с некоторым стандартным оформлением. Так что простой скрипт, а оформление уже как-то самому придется делать, не говоря уже про то что Дизайн этот появился недавно. Quote (MIx-weBer )
ТЕМА ЗАКРЫТА СМЕНИЛ ДИЗ
Как пожелает ТС. Закрыто.