[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Вид новостей СТАЛКЕр
XemorDio · OfflineДобавлено 20.08.2012 в 00:01 · Пост #1

в Фм создаем папку img и заливаем файлы из архива который прикреплен.
Заходим в пу-управление дизайном-новости-вид материалов и все заменяем на это:
Code
<div class="qmat">  
   <div class="qmat-top">  
   <div class="qmat-top-n"><?if$MODER_PANEL$?><div style="float:right">$MODER_PANEL$</div><?endif?>  
   <a href="$ENTRY_URL$" style="text-decoration:none;"><div class="qmat-top-name">$TITLE$</div></a>  
   <div class="qmat-top-panel"></div>  
   </div>  
   <div class="qmat-top-numbgl" title="Количество просмотров">$READS$</div>  
   </div>  
   <div class="qmat-content">  
   <div class="qmat-left">  
   <a href="$ENTRY_URL$"><div class="qmat-left-ramka" title="$TITLE$ подробнее"></div></a>  
   <img class="qmat-left-img" src="$OTHER1$" width="216" height="138" />  
   </div>  
   <div class="qmat-right">  
   <div class="qmat-right-top"></div>  
   <div class="qmat-right-center">  
   <div class="qmat-right-center-con">$MESSAGE$</div>  
   </div>  
   <div class="qmat-right-bottom">  
   <div class="qmat-right-bottom-och">  
   <?$RSTARS$('15','/img/pn3.png','1','float')?>  
   </div>  
   <a href="$ENTRY_URL$"><div class="qmat-right-bottom-img"></div></a>  
   <div class="qmat-right-bottom-com" title="Количество комментариев">$COMMENTS_NUM$</div>  
   </div>  
   </div>  
   <div style="clear:both"></div>  
   </div>  
   <div style="clear:both"></div>  
  </div>  
  <br>  


теперь заходи в пу-управление диз-таблица стилей и в самый конец вставляем это:
Code
/* Вид новостей */  
.qmat-top {  
   background:url(/img/qnews.png);  
   width:584px;  
   height:50px;  
  }  
  .qmat-left {  
   float:left;  
  }  
  .qmat-left-ramka {  
   background:url(/img/qnews.png);  
   background-position:0px -50px;  
   width:260px;  
   height:166px;  
   position:absolute;  
  }  
  .qmat-left img {  
   margin: 10px 0 0 18px;  
  }  
  .qmat-top-n {  
   width: 393px;  
   float:left;  
  }  
  .qmat-top-name {  
  float: left;  
  margin: 12px 0 0 38px;  
  font-size: 10pt;  
  font-weight: bold;  
  color: #BC893B;  
  white-space: nowrap;  
  overflow: hidden;  
  width: 341px;  
  }  
  .qmat-top-panel {  
   float: right;  
   margin: 12px 4px 0 0;  
  }  
  .qmat-right {  
   float: left;  
   margin: 0 0 0 26px;  
   position: relative;  
  }  
  .qmat-right-top {  
   background: url(/img/qnews.png);  
   background-position: -261px -50px;  
   width: 317px;  
   height: 28px;  
  }  
  .qmat-right-center {  
   background: url(/img/bqnews.gif);  
   width: 317px;  
  }  
  .qmat-right-bottom {  
   background: url(/img/qnews.png);  
   background-position: -261px -166px;  
   width: 317px;  
   height: 71px;  
  }  
  .qmat-right-center-con {  
   padding: 0px 16px;  
   min-height: 90px;  
   font-size: 9pt;  
  }  
  .qmat-top-numbgl {  
   float: left;  
   margin: 3px 0 0 32px;  
   width: 93px;  
   height: 24px;  
   padding: 10px 0 0 49px;  
  }  
  .qmat-right-bottom-img {  
   width: 37px;  
   height: 23px;  
   position: absolute;  
   margin: 40px 0 0 247px;  
   cursor:pointer;  
  }  

  .qmat-right-bottom-img:hover {  
   background: url(http://www.cats-xray.ru/img/b.png);  
   background-position: -361px -291px;  
  }  

  .qmat-right-bottom-och {  
   position: absolute;  
   margin: 44px 0 0 111px;  
  }  
  .qmat-right-bottom-com {  
   position: absolute;  
   margin: 44px 0 0 216px;  
  }  
  .qmat-top-name:hover {  
   color:#999;  
  }  
  .news-table {  
   width: 587px;  
   height: 78px;  
   background: url(/img/bnews1.png);  
   margin: 0 0 0 -4px;  
  }  
  .news-table-center {  
   width: 568px;  
   background: url(/img/bnews1.gif);  
   margin: 0 0 0 11px;  
  }  
  .news-table-bottom {  
   width: 568px;  
   background: url(/img/bnews1.png);  
   background-position: -16px -162px;  
   margin: 0 0 0 11px;  
  position: relative;  
   height: 75px;  
  }  
  .news-table-toppanel {  
   margin: 9px 0 0 26px;  
   position: absolute;  
   width: 370px;  
   float: left;  
  }  
  .news-table-toppanel-name {  
  float: left;  
  margin: 3px 0 0 12px;  
  font-size: 10pt;  
  font-weight: bold;  
  color: #BC893B;  
  overflow: hidden;  
  width: 344px;  
  white-space: nowrap;  
  }  
  .news-table-toppanel-moder {  
   float: right;  
   margin: 3px;  
  }  
  .news-table-toppanel-date {  
   float: right;  
  margin: 13px 72px 0 0;  
  }  
  .news-table-prv {  
  width: 14px;  
  height: 123px;  
  background: url(/img/bnews1.png);  
  position: absolute;  
  margin: -30px 0 0 -11px;  
  }  
  .news-table-cont {  
  padding: 0 29px 0 19px;  
  font-size: 9pt;  
  font-family: tahoma;  
  }  
  .news-table-bottom-com {  
  margin: 47px 0 0 39px;  
  position: absolute;  
   color:#ddd;  
  }  
  .news-table-bottom-com b {  
   color: #BC893B;   
  }  
  .news-table-bottom-och {  
  margin: 47px 0 0 359px;  
  position: absolute;  
  }  
  .news-table-bottom-och-n {  
  position: absolute;  
  margin: 42px 0 0 449px;  
  padding: 6px 12px;  
  }  
  .news-table-bottom-och-pr {  
  position: absolute;  
  margin: 48px 0 0 500px;  
  }
 
  • Страница 1 из 1
  • 1
Поиск:

IP: 95.134.150.26
БРАУЗЕР: chrome 20.0

Book Mod - наш главный партнер
Сайт создан в системе uCoz