Помощь Проблема с картинками

Тема в разделе "DLE", создана пользователем grixann, 27 мар 2010.

Информация :
Актуальная версия DataLife Engine 11.2
( Final Release v.11.2 | Скачать DataLife Engine | Скачать 11.2 demo )
Нужно ли обновляться | Как обновиться | Изменения в шаблонах
> Нет русских символов <
[Приватная тема DLE (Все подробности в ЛС к модератору раздела)]

Версии 11.1 и ниже - уязвимы!

Локализации | F.A.Q. | Внешний вид
Правила раздела | Правила форума
Обсуждение хайда карается баном!
В каждом сообщении указывайте версию DLE, которого они касаются!
Статус темы:
Закрыта.
Модераторы: killoff
  1. grixann

    grixann

    Регистр.:
    8 фев 2009
    Сообщения:
    443
    Симпатии:
    41
    Проблема с отображением картинок с модуля репутация 6.5
    их расперло та что ужас пример здесь http://fxtraderu.ru/stpanteg/592-strategiya-fibo-snv.html
    основной файл стиля
    PHP:
    @import url("engine.css");

    /*ICONS & BUTTONS*/
    .votebtn, .votebtnhover,
    .
    resultbtn, .resultbtnhover,
    .
    okbtn, .okbtnhover,
    .
    viewbtn, .viewbtnhover,
    .
    editbtn, .editbtnhover,
    .
    svotebtn, .svotebtnhover
    .
    sresultbtn, .sresultbtnhover width93pxheight25px; }

    .
    votebtn, .svotebtn backgroundtransparent url("../images/vote.png"no-repeat 0 0; }
    .
    votebtnhover, .svotebtnhover backgroundtransparent url("../images/vote.png"no-repeat -93px 0; }
    .
    resultbtn, .sresultbtn backgroundtransparent url("../images/vote.png"no-repeat 0 -25px; }
    .
    resultbtnhover, .sresultbtnhover backgroundtransparent url("../images/vote.png"no-repeat -93px -25px; }

    .
    okbtn backgroundtransparent url("../images/icons.png"no-repeat 0 -93px; }
    .
    okbtnhover backgroundtransparent url("../images/icons.png"no-repeat -93px -93px; }

    .
    viewbtn backgroundtransparent url("../images/icons.png"no-repeat 0 -143px; }
    .
    viewbtnhover backgroundtransparent url("../images/icons.png"no-repeat -93px -143px; }

    .
    editbtn backgroundtransparent url("../images/icons.png"no-repeat 0 -118px; }
    .
    editbtnhover backgroundtransparent url("../images/icons.png"no-repeat -93px -118px; }

    .
    si_date, .si_author vertical-alignmiddlemargin-right5pxwidth14pxheight14px; }
    .
    si_date backgroundtransparent url("../images/icons.png"no-repeat -22px 0; }
    .
    si_author backgroundtransparent url("../images/icons.png"no-repeat 0 0; }
    .
    si_edit backgroundtransparent url("../images/edit.png"no-repeat 0 0vertical-alignmiddlemargin: -3px 5pxwidth18pxheight18px; }
    .
    si_delete backgroundtransparent url("../images/delete.png"no-repeat 0 0vertical-alignmiddlemargin: -1px 5pxwidth16pxheight16px; }

    .
    ml_com, .ml_views {
        
    vertical-alignmiddle;
        
    margin-right5px;
        
    width16pxheight16px;
        
    backgroundtransparent url("../images/icons.png"no-repeat 0 0;
    }

    .
    ml_com background-position: -40px 0; }
    .
    ml_views background-position: -59px 0; }

    .
    btn_reglog {
        
    width108pxheight18px;
        
    backgroundurl("../images/button_reg.png"no-repeat 0 0;
        
    border0 none;
        
    margin0padding0;
        
    cursorpointer;
        
    padding-bottom2px;
        
    color#728e9a;
        
    font-weightbold;
    }

    .
    btn_reglog:hover backgroundurl("../images/button_reg.png"no-repeat 0 -18px; }
    /*===ERRORS, INFO, WARNING===*/
    .w_warning {
        
    border1px solid #d2c4b1;
        
    background#fbdfd1 url("../images/alert.png") no-repeat 16px center;
        
    color#ca4c20;
        
    margin-bottom10px;
        -
    moz-border-radius-topright:3px;
        -
    moz-border-radius-topleft:3px;
        -
    moz-border-radius-bottomright:3px;
        -
    moz-border-radius-bottomleft:3px;
    }

    .
    wmsg 
        
    padding8px 8px 8px 70px;
    }

    /*Статистика*/
    .statistics {
        
    width80%;
        
    margin0 auto;
    }
    .
    statinn {
        
    text-alignleft;
        
    padding0 78px;
        
    backgroundurl("../images/statics-2.png"no-repeat 0 0;
    }

    .
    statistics ul margin-bottom15px; }
    .
    statistics ul li positionrelativebackgroundurl("../images/linepoint.gif"repeat-x left bottompadding2px 0; }
    .
    statistics ul li b positionabsoluteright0; }

    /* ==================== Поле малой формы поиска */

    .s_field {
        
    color#466f9d;
        
    background-repeatrepeat-x;
        
    height14px;
        
    padding-left3px;
        
    border1px solid #bcbcbc;
    }

    /* ==================== Поле формы авторизации */

    .a_field {
        
    color#466f9d;
        
    background-repeatrepeat-x;
        
    height14px;
        
    padding-left3px;
        
    border1px solid #bcbcbc;
    }

    /* ==================== */

    .f_textarea, .f_input, .f_select, .textin {
        
    color#466f9d;
        
    background#fff url("../images/fields.gif") repeat-x left top;
        
    border1px solid #bcbcbc;
    }

    .
    f_input width300pxheight14px; }
    .
    f_select height14px; }
    .
    f_textarea width459pxheight156px; }

    /*разбиение на страницы*/
    .navigation {
        
    color:#666; 
        
    border:0px;
        
    padding2px;
    }

    .
    navigation a:link,
    .
    navigation a:visited,
    .
    navigation a:hover,
    .
    navigation a:active {
        
    text-decorationnone;
        
    color#636363;
        
    background-color#F9F9F9;
        
    border1px solid #E6E6E6;
        
    padding3px 6px;
    }

    .
    navigation a:hover {
        
    background#61a5cf;
        
    color#fff;
        
    border-color#61a5cf;
    }

    .
    navigation span {
        
    text-decorationnone;
        
    background-color#fff;
        
    padding3px 6px;
        
    border1px solid #E6E6E6;
        
    color#ccc;
    }


    /*FORMS EDITORS*/
    .tableform width100%; }
    .
    tableform td padding8px 0; }
    .
    tableform td.label width27%; font-weightboldvertical-aligntop; }
    .
    tableform tr backgroundurl("../images/linepoint.gif"repeat-x left bottom; }
    .
    tableform tr.flast backgroundnone; }
    .
    tableform tr.flast td padding-bottom0; }
    .
    addnews font-weightbold; }

    .
    impot color#e82e1e; }

    .pollvotelist width60%; text-alignleft; }
    .
    pollvotelist input margin-right5px; }
    /*ПОПУЛЯРНЫЕ ТЭГИ*/
    .rightside .btags .dtop background-position-406px; }

    .
    rightside .btags a text-decorationnone !important; }

    /* ==================== Облако тегов */
    .btags .clouds_xsmall color#5D9EC3 !important; }
    .btags .clouds_small color#88B8D4 !important; }
    .btags .clouds_medium color#B4D3E4 !important; }
    .btags .clouds_large color#E0EDF4 !important; }
    .btags .clouds_xlarge color#ffffff !important; }

    .rightside .btags a:hover background-color#589AC0; color: #fff !important; }

    /* ==================== Облако тегов */
    .clouds_xsmall font-size9px; }
    .
    clouds_small font-size11px; }
    .
    clouds_medium font-size13px; }
    .
    clouds_large font-size15px; }
    .
    clouds_xlarge font-size17px; }
    htmlbodydivulollidldtddh1h2h3h4h5h6preformpblockquotefieldset {
        
    margin:0;
        
    padding:0;
    }

    h1h2h3h4h5h6precodeaddresscaptioncitecodetablefont {
        
    font-size1em;
        
    font-stylenormal;
        
    font-weightnormal;
    }

    h1h2h3h4h5h6 {
        
    font-familyTahomaVerdanaArialsans-serif;
        
    margin0 0 0.2em 0;
        
    line-height1.1em;
    }

    /*Левые блоки*/
    div.blocks                    {width212pxbackground#f6f6f6 url("../images/block-bg.png") repeat-y left; margin-bottom: 8px;}
    div.blocks div                {backgroundurl("../images/block-v.png"no-repeat top leftwidth212px}
    div.blocks div div            {width212pxbackgroundurl("../images/block-n.png"no-repeat bottom left;}
    div.blocks div div div        {width174pxpadding-bottom8pxmargin-left8pxmargin-right8pxpadding-top8pxbackgroundtransparent;}
    div.blocks div div div h3     {width174pxfont-size12pxcolor#575757; font-weight: bold; font-family: Arial, Tahoma, Helvetica, sans-serif; margin-left:0; margin-right:0; margin-top:0; margin-bottom:6px; padding-left:9px; padding-right:0; padding-top:2px; padding-bottom:7px}
    div.blocks div div div div    {padding0px;margin0px;}

    /*Правые блоки*/
    div.blocksr                    {width216pxbackground#f6f6f6 url("../images/block-bgr.png") repeat-y left; margin-bottom: 8px;}
    div.blocksr div                {backgroundurl("../images/block-vr.png"no-repeat top leftwidth216px}
    div.blocksr div div            {width216pxbackgroundurl("../images/block-nr.png"no-repeat bottom left;}
    div.blocksr div div div        {width174pxpadding-bottom8pxmargin-left8pxmargin-right8pxpadding-top8pxbackgroundtransparent;}
    div.blocksr div div div h3     {width174pxfont-size12pxcolor#575757; font-weight: bold; font-family: Arial, Tahoma, Helvetica, sans-serif; margin-left:0; margin-right:0; margin-top:0; margin-bottom:6px; padding-left:7px; padding-right:0; padding-top:1px; padding-bottom:7px}
    div.blocksr div div div div    {padding0px;margin0px;}

    /*Шапка*/
    #header-l {
        
    height145px;
        
    background#FFF url("../images/header-l.png") 0 0 no-repeat;
        
    positionrelative;
        
    padding-left30px;
    }

    #header-r {
        
    height145px;
        
    background#FFF url("../images/header-r.png") right top no-repeat;
        
    positionrelative;
        
    padding-right40px;
    }

    #logo {
        
    positionabsolute;
        
    left0;
        
    displayblock;
        
    width:200px;
        
    height20px;
        
    text-aligncenter;
    }

    #banners-block {
        
    positionabsolute;
        
    top40px;
        
    right50px;
        
    width468px;
        
    height60px;
    }

    /*Низ*/
    #footer {
        
    backgroundWhite url("../images/footer-bg.png"repeat-x bottom;
        
    positionrelative;
        
    height69px;
        
    color#4c4c4c;
        
    overflowhidden;
        
    margin:3px;
    }

    #footer-l {
        
    backgroundtransparent url("../images/footer-bgl.png"left bottom no-repeat;
        
    height69px;
        
    positionrelative;
    }

    #footer-r {
        
    backgroundtransparent url("../images/footer-bgr.png"right bottom no-repeat;
        
    height69px;
        
    positionrelative;
    }

    #copyright {
        
    positionabsolute;
        
    top15px;
        
    left20px;
        
    cursor:pointer;
    }

    #counts {
        
    positionabsolute;
        
    top20px;
        
    right20px;
    }

    /*Логин*/
    .enterbtn {
        
    margin-top8px;
        
    cursorpointer;
        
    background#ffb638 url("../images/enterbtn.png") no-repeat 0 0;
        
    bordernone;
        
    width89pxheight31px;
        
    font-weightbold;
        
    padding-bottom2px;
    }

    .
    blogin ul, .blogin ul li, .statistics ul li, .statistics ul { list-stylenonemargin0padding0displayblock; }
    .
    loginform li line-height14px; }
    .
    loginform li.lfield padding-bottom5px; }
    .
    loginform li.lfield div 
        
    background#fff url("../images/fields.gif") repeat-x 0 0;
        
    border1px solid #bcbcbc;
        
    text-aligncenter;
    }
    .
    loginform li.lfield input {
        
    width95%;
        
    padding2px;
        
    color#466f9d;
        
    text-aligncenter;
        
    backgroundtransparent none;
        
    bordernone;
    }

    .
    loginform li.submit {
        
    heightauto;
        
    overflowhidden;
        
    width:auto;
    }

    .
    loginform li.submit div line-height12px; }

    .
    loginform .btn,
    .
    loginform .btnhover {
        
    floatright;
        
    width108pxheight27px;
    }

    .
    loginform .btn {     background#ffb638 url("../images/enter.png") no-repeat 0 0;  }
    .loginform .btnhover {     background#ffb638 url("../images/enter.png") no-repeat 0 0; }

    /*LOGINDATE*/
    .logindate li {
        
    border-top1px solid #f0f0f0;
        
    padding4px 0 !important;
    }

    /*Центр блоки*/
    .bodyline        background#FFF; border: 1px #d8d8d8 solid; }

    .titlebasic {
        
    positionrelative;
        
    displayblock;
        
    height35px;
        
    color#fff;
        
    font-weightbold;
        
    line-height32px;
        
    overflowhidden;
        
    background#008ce3 url("../images/titlebasic_bg.png") top repeat-x;
        
    margin-bottom3px;
    }

    .
    titlebasic div {
        
    positionrelative;
        
    displayblock;
        
    backgroundtransparent url("../images/titlebasic_l.png"top left no-repeat;
        
    padding-left4px;
        
    height35px;
    }

    .
    titlebasic div div {
        
    positionrelative;
        
    displayblock;
        
    backgroundtransparent url("../images/titlebasic_r.png"top right no-repeat;
        
    padding-right4px;
        
    height35px;
    }

    .
    titlebasic div div div {margin:0padding:0;}
    .
    titlebasic a:link#titlebasic a:visited { height: 35px; font-weight: bold; color: #424242;}
    .titlebasic a:hover {font-weightboldtext-decoration:underline;}

    .
    newsdate{width:46pxheight:50pxpadding:2px 0 0 0background:url("../images/date.jpg"top no-repeattext-align:centerfont-size:11pxline-height:12pxcolor:#fff;}
    .newsdate span{font-size:16pxcolor:#fff; letter-spacing:-1px; line-height:18px;}
    .newsdate i{font-size:9pxfont-style:normal;}

    .
    content {padding-left:5px;padding-right:5px;text-align:left;}

    /*Коментарии*/
    table.comblock {background-color#ffffff; }
    table.comblock td.cblock-content {backgroundtransparent url("../images/comment/cblock_center_mtop.gif"left top repeat-x; }

    table.comblock td.cblock-left vertical-aligntopbackgroundurl("../images/comment/cblock_middle_left.gif"left top repeat-y;}
    table.comblock td.cblock-right vertical-aligntopbackgroundurl("../images/comment/cblock_middle_right.gif"right top repeat-y;}

    table.comblock td.cblock-top {backgroundurl("../images/comment/cblock_center_top.gif"left top repeat-x;}
    table.comblock td.cblock-bottom {backgroundurl("../images/comment/cblock_center_bottom.gif"left bottom repeat-x;}

    table.comblock div.maincont padding4px; }

    .
    avatar img width95pxheightauto; }
     
    /*Настройка заголовков*/
    h1 font-size12pxfont-weightbold; }
    h2 font-size12pxfont-weightboldline-height18px; }
    h3 font-size1emfont-weightboldline-height16px; }
    h4 font-size10pxfont-weightboldline-height15px; }
    .
    flarge font-size17pxfont-weightnormalline-height18px; }
    .
    indents {
        
    padding0margin0;
        
    line-heightnormal;
    }
    .
    indents span{text-align:justify;}

    /*links*/
    color#177ebb; text-decoration: none; outline: none; }
    a:hover text-decorationunderline; }

    /*forms*/
    inputtextareaselect {
        
    font-size1em;
        
    font-familyTahomaVerdanaArialsans-serif;
    }

    /*PAGE*/
    body {
        
    color#414141;
        
    background-color#f5f5f5;
        
    font-familyTahomaVerdanaArialsans-serif;
        
    font-size11px;
        
    font-stylenormal;
        
    font-weightnormal;
        
    line-height17px;
    }

    /*OTHER SETTINGS*/
    {
        
    padding0margin0;
        
    margin-bottom12px;
    }
    .
    clr clearboth; }
    img  border:0 none; }
    img.left floatleftmargin2px 20px 16px 0; }
    img.right floatrightmargin2px 0 16px 20px; }
    hr    {
        
    border0 none;
        
    border-top1px solid #cfcfcf;
        
    height1px;
    }

    table {
        
    border-collapsecollapse;
        
    border-spacing0border0px;
    }

    table td padding0px; }

    /*UL, LI*/
    ul {
        
    margin0;
        
    padding-left16px;
        list-
    style-position:outside;
        list-
    style-image:none;
    }

    ul li margin0padding0; }

    ol {
        list-
    style-imagenone;
        list-
    style-positionoutside;
        list-
    style-typedecimal;
        
    margin-bottom18px;
        
    margin-left2.2em;
    }

    /*WRAPPER ОСНОВНОЙ РАЗМЕРНЫЙ БЛОК*/
    .wrapper {
        
    marginauto;
        
    width100%;
        
    text-alignleft;
    }

    .
    wrapper widthexpression(((document.body.clientWidth)) < 100%? "100%": ((document.body.clientWidth)) > 1400"1400px""92%" ); }

    /*СТРУКТУРА БЛОКОВ*/
    .container,
    .
    rightside,
    .
    leftside,
    .
    centersideinn overflowhidden; }
    .
    rightside floatrightwidth220px;padding-left:8px;padding-right:1pxpadding-top4px;}
    .
    leftside floatleftwidth220pxpadding-top4pxpadding-left:5px; }
    .
    centerside padding-top6px;padding-right:8px; }
    .
    centersideinn overflowhidden; }
    *
    html .centerside margin-left212pxmargin-right212px; }
    *
    html .centersideinn width98.8%; }

    /* ==================== */

    .skin {
        
    padding-left10px;
    }
    select {
        
    font-size11px;
        
    font-familytahoma;
    }

    .
    top_11 {
        
    background-imageurl(antidle/images/dlet_top_11.gif);
        
    background-repeatrepeat-x;
        
    height60px;
    }
    .
    top_13 {
        
    background-imageurl(antidle/images/dlet_top_13.gif);
        
    background-repeatrepeat-x;
        
    height60px;
    }
    .
    top_15 {
        
    background-imageurl(../images/dlet_top_15.gif);
        
    background-repeatrepeat-x;
        
    height60px;
    }
    .
    top_17 {
        
    background-imageurl(../images/dlet_top_17.gif);
        
    background-repeatrepeat-x;
        
    height60px;
    }
    .
    top_19 {
        
    background-imageurl(../images/dlet_top_19.gif);
        
    background-repeatrepeat-x;
        
    height60px;
    }
    .
    top_20_1 {
        
    background-imageurl(../images/dlet_top_20_1.gif);
        
    background-repeatno-repeat;
        
    background-positionright bottom;
    }
    .
    top_26 {
        
    background-imageurl(../images/dlet_top_26.gif);
        
    background-repeatrepeat-x;
    }
    .
    top_31 {
        
    background-imageurl(../images/dlet_top_31.gif);
        
    background-repeatrepeat-x;
        
    height40px;
    }
    .
    top_32 {
        
    background-imageurl(../images/dlet_top_32.gif);
        
    background-repeatrepeat-x;
        
    height40px;
    }
    .
    cpbkgr_nolog {
        
    background-imageurl(../images/dlet_cpbkgr_nolog.gif);
        
    background-repeatno-repeat;
    }
    .
    cpbkgr_log {
        
    background-imageurl(../images/dlet_cpbkgr_log.gif);
        
    background-repeatno-repeat;
    }
    .
    lcol_bkgr {
        
    background-imageurl(../images/dlet_lcol_bkgr.gif);
        
    background-repeatrepeat-y;
    }
    .
    lcol_bkgr2 {
        
    background-imageurl(../images/dlet_lcol_bkgr2.gif);
        
    background-repeatno-repeat;
        
    background-positiontop left;
    }
    .
    bl_title_bkgr {
        
    background-imageurl(../images/dlet_bltitle_b.gif);
        
    background-repeatno-repeat;
        
    height32px;
        
    color#FFFFFF;
        
    font-size11px;
        
    font-weightbold;
        
    text-transformuppercase;
        
    padding-left11px;
    }
    .
    block_02 {
        
    background-imageurl(../images/dlet_bl_2.gif);
        
    background-repeatrepeat-y;
    }
    .
    a_block_12 {
        
    background-imageurl(../images/dlet_artblock_12.gif);
        
    background-repeatrepeat-x;
    }
    .
    a_block_22 {
        
    background-imageurl(../images/dlet_artblock_22.gif);
        
    background-repeatrepeat-x;
    }
    .
    a_block_32 {
        
    background-imageurl(../images/dlet_artblock_32.gif);
        
    background-repeatrepeat-x;
    }
    .
    a_block_42 {
        
    background-imageurl(../images/dlet_artblock_42.gif);
        
    background-repeatrepeat-x;
    }
    .
    a_block_52 {
        
    background-imageurl(../images/dlet_artblock_52.gif);
        
    background-repeatrepeat-x;
    }
    .
    a_block_61 {
        
    background-imageurl(../images/dlet_artblock_61.gif);
        
    background-repeatrepeat-y;
    }
    .
    a_block_63 {
        
    background-imageurl(../images/dlet_artblock_63.gif);
        
    background-repeatrepeat-y;
    }
    .
    a_block_72 {
        
    background-imageurl(../images/dlet_artblock_72.gif);
        
    background-repeatrepeat-x;
    }
    .
    a_block_82 {
        
    background-imageurl(../images/dlet_artblock_82.gif);
        
    background-repeatrepeat-x;
    }
    .
    adblock_12 {
        
    background-imageurl(../images/dlet_adblock_12.gif);
        
    background-repeatrepeat-x;
    }
    .
    adblock_21 {
        
    background-imageurl(../images/dlet_adblock_21.gif);
        
    background-repeatrepeat-y;
    }
    .
    adblock_23 {
        
    background-imageurl(../images/dlet_adblock_23.gif);
        
    background-repeatrepeat-y;
    }
    .
    adblock_32 {
        
    background-imageurl(../images/dlet_adblock_32.gif);
        
    background-repeatrepeat-x;
    }
    .
    footer_b {
        
    background-imageurl(../images/dlet_footer_b.gif);
        
    background-repeatrepeat-x;
        
    height71px;
    }

    /* ==================== Поле малой формы поиска */

    .s_field {
        
    color#757575;            /* ! */
        
    font-size11px;        /* ! */
        
    font-familytahoma;    /* ! */
        
    background-imageurl(../images/dlet_field_s.gif);
        
    background-repeatrepeat-x;
        
    height14px;
        
    padding-left3px;
        
        
    border1px solid #e6e6e6;    
    }

    /* ==================== Поле формы авторизации */

    .a_field {
        
    color#757575;        /* ! */
        
    font-size11px;        /* ! */
        
    font-familytahoma;    /* ! */
        
    background-imageurl(../images/dlet_field_a.gif);
        
    background-repeatrepeat-x;
        
    height14px;
        
    padding-left3px;
        
        
    border1px solid #ffffff;    
    }

    /* ==================== */

    .f_textarea {
        
    color#757575;        /* ! */
        
    font-size11px;        /* ! */
        
    font-familytahoma;    /* ! */
        
    background-imageurl(../images/dlet_field_o.gif);
        
    background-repeatrepeat-x;
        
        
    width459px;
        
    height156px;
        
    border1px solid #e0e0e0;
    }
    .
    f_input {
        
    color#757575;        /* ! */
        
    font-size11px;        /* ! */
        
    font-familytahoma;    /* ! */
        
    background-imageurl(../images/dlet_field_o.gif);
        
    background-repeatrepeat-x;
        
        
    width300px;
        
    height14px;
        
    border1px solid #e0e0e0;
    }
    .
    f_select {
        
    color#757575;        /* ! */
        
    font-size11px;        /* ! */
        
    font-familytahoma;    /* ! */
        
    background-imageurl(../images/dlet_field_o.gif);
        
    background-repeatrepeat-x;
        
        
    height14px;
        
    border1px solid #e0e0e0;
    }

    /* ==================== Главное меню сайта */
    #banners a img {
    opacity:0.3; -moz-opacity:0.3filter:alpha(opacity=40);
    }

    #banners a:hover img {
    opacity:1.0; -moz-opacity:1.0filter:alpha(opacity=100);
    }
    #repa_plus 
    {padding-left5pxpadding-right5pxpadding-top2pxheight20pxcolor#000; font-weight: bold; background-color: #7fdf7f; font-family: verdana; cursor: move;}
    #repa_minus 
    {padding-left5pxpadding-right5pxpadding-top2pxheight20pxcolor#000; font-weight: bold; background-color: #f7a79f; font-family: verdana; cursor: move;}
    #repa_none 
    {padding-left5pxpadding-right5pxpadding-top2pxheight20pxcolor#fff; font-weight: bold; background-color: #ff8b2d; font-family: verdana; cursor: move;}
    #repa_ava 
    {float:left;padding-right:10px;width:80px;height:80px;}
    #repa_info 
    {float:left;padding-right:10px;height:80px;}

    .
    repa-wh10 
    {width:10px;height:10px;} 
    файл комментариев
    PHP:
    <img class="repa-wh10"width:10px;height:10px;/img>
    <
    fieldset><table cellpadding="0" cellspacing="0" width="100%" style="background:#fff;"><tr valign="top">
    <
    td width="95"><div class="avatar"><img src="{foto}" alt=""/>
    <
    div>{group-icon}</div>
                            <
    div>Комментариев: {comm-num}</div>
                            <
    div>Публикаций: {news-num}</div>
                            <
    div>ICQ: {icq}</div>
                            
    Репутация: {repa}
                            <
    div>Имя: {fullname}</div>
    </
    div>
    </
    td>
    <
    td>
    <
    table class="comblock" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <
    tr>
                      <
    td width="28"><img src="{THEME}/images/comment/cblock_left_top.gif" width="28" height="12" alt="" /></td>
                      <
    td class="cblock-top"><img src="{THEME}/images/spacer.png" width="1" height="12" alt="" /></td>
                      <
    td width="12"><img src="{THEME}/images/comment/cblock_right_top.gif" width="12" height="12" alt="" /></td>
                    </
    tr>
                    <
    tr valign="top">
            <
    td class="cblock-left"><img src="{THEME}/images/comment/cblock_left_mtop.gif" width="28" height="91" alt="" /></td>
                <
    td class="cblock-content">
                
    #{comment-id} {author}<span class="newstitle">{news_title}</span>
                
    <table cellpadding="0" cellspacing="0" width="100%"><tr>
                    <
    td>{group-name} | {date} | Регистрация: {registration}</td><td width="30%">&nbsp;</td>
                </
    tr></table>
                <
    hr />
                {
    comment}<span align="right">[fast]<img src="{THEME}/dleimages/quote.png" title="Цитировать" alt="Цитировать" align="right">[/fast]</span>
                <
    br />[signature]{signature}[/signature]
                <
    div align='right'>
                <
    span>[com-edit]<img class="si_edit" src="{THEME}/images/spacer.gif" title "Редактировать комментарий" border="0">[/com-edit]</span>
                <
    span>[com-del]<img class="si_delete" src="{THEME}/images/spacer.gif" title "Удалить комментарий" border="0">[/com-del]</span>
                </
    div><div class="clr"></div>
                </
    td>
            <
    td class="cblock-right"><img src="{THEME}/images/comment/cblock_right_mtop.gif" width="12" height="62" alt="" /></td>
                    </
    tr>
                    <
    tr>
                      <
    td width="28"><img src="{THEME}/images/comment/cblock_left_bottom.gif" width="28" height="12" alt="" /></td>
                      <
    td class="cblock-bottom"><img src="{THEME}/images/spacer.png" width="1" height="12" alt="" /></td>
                      <
    td width="12"><img src="{THEME}/images/comment/cblock_right_bottom.gif" width="12" height="12" alt="" /></td>
                    </
    tr>
    </
    table>
    </
    td>
    </
    tr>
    </
    table></fieldset>
    Помогите исправить эту маленькую но злую багу
     
  2. Mr.Emm

    Mr.Emm Постоялец

    Регистр.:
    5 май 2008
    Сообщения:
    144
    Симпатии:
    107
    какой ПХП-файл использует этот файл шаба? ...в нем ищешь массив со значением "repa" => (сюда передаются твои картинки, для них указываешь class="repa-wh10")

    и еще первую строчку в шабе удали - это косяк.
     
  3. grixann

    grixann

    Регистр.:
    8 фев 2009
    Сообщения:
    443
    Симпатии:
    41
    На мои маленькие знания это файл repa.php
    PHP:
    <?php
    /*
    =====================================================
     Модуль основан Бирюковым Романом aka Inrus (www.dletweak.ru)
    =====================================================
     Дальнейшая поддержка и разработка - ShapeShifter (Smart-Planet.ru)
    =====================================================
     Данный код защищен авторскими правами
    =====================================================
     Файл: repa.php
    -----------------------------------------------------
     Назначение: модуль репутации пользователей
    =====================================================
    */
    if(!defined('DATALIFEENGINE'))
    {
      die(
    "Hacking attempt!");
    }

    include_once 
    ENGINE_DIR.'/classes/parse.class.php';
    include_once 
    ENGINE_DIR.'/modules/bbcode.php';
    include_once 
    ENGINE_DIR.'/data/repa.php';

    if (isset ( 
    $config["lang_" $config['skin']] ) and $config["lang_" $config['skin']] != '')
        include_once 
    ROOT_DIR '/language/' $config["lang_" $config['skin']] . '/website_repa.lng';
    else
        include_once 
    ROOT_DIR '/language/' $config['langs'] . '/website_repa.lng';

    if(
    $repa_cf['status']=='no')
    {
        
        
    msgbox ($lang['all_err_1'], $lang_repa['gen_status_off']);

    }
    else
    {

    $parse = new ParseFilter();
    $parse->safe_mode true;

    if ((
    $_REQUEST['doaction'] == "plus" OR $_REQUEST['doaction'] == "minus") AND $is_logged)
    {
        
    $username $db->safesqlhtmlspecialcharsurldecode$_REQUEST['username'] ) ) );
        
    $row2 $db->super_query("SELECT * FROM " USERPREFIX "_users where name = '$username'");

        if (
    $row2['user_id'])
            
    $user_found TRUE;
        if (
    $row2['user_id'] != $member_id['user_id'])
            
    $user_you TRUE;
        
        
    $time time()+($config['date_adjust']*60);
        
    $time_limit $repa_cf['repa_stop_change'];
        
    $repa_change "yes";
        
    $repa_change_up "no";
        
    $repa_log $db->super_query("SELECT * FROM " USERPREFIX "_repa_log where autor_id = '$member_id[user_id]' AND komu_id = '$row2[user_id]'");

        if (
    $repa_log['date_change'] != "" AND $repa_cf['group_'.$member_id[user_group]] != 1)
        {
            if ((
    $repa_log['date_change']+($time_limit*86400)) <= $time)
            {
                
    $repa_change "yes";
                
    $repa_change_up "yes";
            }
            elseif ((
    $repa_log['date_change']+($time_limit*86400)) > $time)
            {
                
    $repa_change "no";
            }
        }

        
    $nowis time()+($config['date_adjust']*60);
            
    $r_date $member_id['reg_date'];
            
    $period $nowis $r_date;
        
    $repa_user $repa_log['repa_user'];
            if(
    $period $repa_cf['bl_period']*43200
            
    $user_reg "no";
        if (
    $user_reg == "no")
        {
            
    msgbox ($lang['all_err_1'], $lang_repa['repa_bl_msg'].' '.$repa_cf['bl_period'].' '.$lang_repa['repa_days']);
        }
        elseif (
    $member_id['r_freeze'])
        {
            
    msgbox ($lang['all_err_1'], $lang_repa['repa_user_stop']);
        }
        elseif (
    $row2['repa_off'] == 1)
        {
            
    msgbox ($lang['all_err_1'], $lang_repa['repa_off']." <a href=\"javascript:history.go(-1)\">Вернуться назад.</a>");
        }
        else
        {
            if (
    $user_you)
            {
                if (
    $user_found)
                {
                    if (!
    $_REQUEST['change_yes'] AND !$_REQUEST['change_no'])
                    {
                        if(
    $repa_change == "yes")
                        {
                            if (
    $_REQUEST['doaction'] == "minus")
                            {
                                
    $url_from $config['http_home_url']."?do=reputation&doaction=minus&username=".urlencode($username);
                                
    $url_from2 $config['http_home_url']."smart/?do=reputation&doaction=minus&username=".urlencode($username);
                                
    $tpl->set('{repa_info}'"Вы нажали на кнопку <b><font color=red>понижения</font> репутации</b> пользователю".$row2['user_name']);
                            }
                            elseif (
    $_REQUEST['doaction'] == "plus")
                            {
                                
    $url_from $config['http_home_url']."?do=reputation&doaction=plus&username=".urlencode($username);
                                
    $url_from2 $config['http_home_url']."smart/?do=reputation&doaction=plus&username=".urlencode($username);
                                
    $tpl->set('{repa_info}'"Вы нажали на кнопку <b><font color=green>повышения</font> репутации</b> пользователю".$row2['user_name']);
                            }
                            if (
    $_SERVER['HTTP_REFERER'] == $url_from OR $_SERVER['HTTP_REFERER'] == $url_from2 OR !$_SERVER['HTTP_REFERER'])
                                
    $url_ref $config['http_home_url'];
                            else
                                
    $url_ref $_SERVER['HTTP_REFERER'];
                            
    $tpl->load_template('/repa/repa_change.tpl');
                            
    $tpl->set('{usertitle}'$username);
                            if (
    $config['version_id'] >= 8.3)
                                
    $bb_code preg_replace('|<textarea(.*)</textarea>|is'""$bb_code);
                            
    $tpl->set('{bbcode}',$bb_code);
                            
    $tpl->set('{url_ref}',$url_ref);
                            if (
    $repa_cf['allow_comm'] == "yes")
                            {
                                
    $tpl->set('[repa_allow_comm]',"");
                                
    $tpl->set('[/repa_allow_comm]',"");
                                
    $tpl->set_block("'\\[repa_allow_comm_mes\\](.*?)\\[/repa_allow_comm_mes\\]'si","");
                            }
                            else
                            {
                                
    $tpl->set('[repa_allow_comm_mes]',"");
                                
    $tpl->set('[/repa_allow_comm_mes]',"");
                                
    $tpl->set_block("'\\[repa_allow_comm\\](.*?)\\[/repa_allow_comm\\]'si","");
                            }
                            if (
    $repa_cf['repa_rules'] == "1")
                                
    $rules $repa_cf['repa_rules_tpl_tsu'];
                            else
                                
    $rules "";
                            
    $tpl->set('{repa_rules}'$rules);
                            
    $tpl->compile('content');
                            
    $tpl->clear();
                        }
                        else
                        {
                            
    $last_change $repa_log['date_change'];
                            
    $time_now langdate$config['timestamp_active'], $time );
                            if( 
    dateYmd$last_change ) == dateYmd$_TIME ) )
                            {
                                
    $last_change $lang['time_heute'] . langdate", H:i"$last_change );
                            } elseif( 
    dateYmd$last_change ) == dateYmd, ($_TIME 86400) ) )
                            {
                                
    $last_change $lang['time_gestern'] . langdate", H:i"$last_change );
                            } else 
                            {    
                                
    $last_change langdate$config['timestamp_active'], $last_change );
                            }
                            
    msgbox ($lang['all_err_1'], "Вы не можете изменять репутацию данному пользователю, т.к. с последнего изменения не прошло ".$time_limit." дня.<br>Последнее изменение было: ".$last_change." (сейчас: ".$time_now.")");
                        }
                    }
                    if (isset(
    $_REQUEST['change_yes']) AND $repa_change == "yes")
                    {
                        
    $stop = array ();
                        
    $author $db->safesql($member_id['name']);
                          
    $get_date date ("Y-m-d H:i:s");
                          
    $date $get_date;
                        
    $from_page $db->safesql($_POST['from_page']);

                        if (
    $repa_cf['allow_comm'] == "yes")
                        {
                            if( 
    $config['allow_comments_wysiwyg'] != "yes" 
                            {
                                
    $comments $db->safesql$parse->BB_Parse$parse->process$_POST['comments'] ), false ));
                            }
                            else 
                            {
                                
    $parse->wysiwyg true;
                                
    $parse->ParseFilter( Array ('div''span''p''br''strong''em''ul''li''ol' ), Array (), 0);
                                if( 
    $user_group[$member_id['user_group']]['allow_url'] )
                                    
    $parse->tagsArray[] = 'a';
                                if( 
    $user_group[$member_id['user_group']]['allow_image'] )
                                    
    $parse->tagsArray[] = 'img';
                                
    $comments $_POST['comments'];
                                
    $comments $db->safesql$parse->BB_Parse$parse->process$comments ) ) );
                            }
                            if( 
    strlen$_POST['comments'] ) > $repa_cf['comm_size'] ) 
                            {
                                
    $stop[] = $lang_repa['repa_too_long'];
                                
    $CN_HALT TRUE;
                            }
                            if( 
    $_POST['comments'] == '' 
                            {
                                
    $stop[] = $lang_repa['repa_no_com'];
                                
    $CN_HALT TRUE;
                            }
                            if( 
    strlen$_POST['comments'] ) < $repa_cf['comm_size_min'] AND $comments != ''
                            {
                                
    $stop[] = $lang_repa['repa_min_com']." Минимум ".$repa_cf['comm_size_min']." символов.";
                                
    $CN_HALT TRUE;
                            }
                            if( 
    intval$repa_cf['auto_wrap'] ) )
                            {
                                
    $comments preg_split'((>)|(<))'$comments, - 1PREG_SPLIT_DELIM_CAPTURE );
                                
    $n count$comments );
                                for(
    $i 0$i $n$i ++)
                                {
                                    if( 
    $comments[$i] == "<" )
                                    {
                                        
    $i ++;
                                        continue;
                                    }
                                    
    $comments[$i] = preg_replace"#([^\s\n\r]{" intval$repa_cf['auto_wrap'] ) . "})#i""\\1<br />"$comments[$i] );
                                }
                                
    $comments join""$comments );
                            }
                        }
                        else
                            
    $comments "";
                        if( 
    $member_id['repa'] < $repa_cf['repa_stop_change_min'] AND $repa_cf['group_'.$member_id[user_group]] != 1
                        {
                            
    $stop[] = $lang_repa['repa_stop_otr'];
                            
    $CN_HALT TRUE;
                        }
                        if( 
    $CN_HALT 
                        {
                            
    msgbox$lang['all_err_1'], implode"<br />"$stop ) . "<br><a href=\"javascript:history.go(-1)\">" $lang['all_prev'] . "</a>" );
                        }
                        else 
                        {
                            if (
    $_REQUEST['doaction'] == "minus")
                            {
                                
    $how $row2['repa'] - 1;
                                
    $v "-1";
                                
    $repa_mod_mas explode ("|"$row2['repa_mod']);
                                
    $repa_mod_mas[1] = $repa_mod_mas[1] + 1;
                                
    $repa_mod $repa_mod_mas[0]."|".$repa_mod_mas[1];
                                
    $what "понизил";
                            }
                            else
                            {
                                
    $how $row2['repa'] + 1;
                                
    $v "1";
                                
    $repa_mod_mas explode ("|"$row2['repa_mod']);
                                
    $repa_mod_mas[0] = $repa_mod_mas[0] + 1;
                                
    $repa_mod $repa_mod_mas[0]."|".$repa_mod_mas[1];
                                
    $what "повысил";
                            }

                            if (
    $repa_cf['group_'.$member_id[user_group]] != 1)
                            {
                                if (
    $repa_change_up == "yes")
                                    
    $db->query("UPDATE " USERPREFIX "_repa_log SET date_change ='$time' WHERE `autor_id` = '$member_id[user_id]' AND `komu_id` = '$row2[user_id]'");
                                else
                                    
    $db->query("INSERT INTO " USERPREFIX "_repa_log (autor_id, komu_id, date_change) values ('$member_id[user_id]', '$row2[user_id]', '$time')");
                            }

                            
    $db->query("UPDATE " USERPREFIX "_users SET repa ='$how', repa_mod='$repa_mod' WHERE `name` = '$username'");
                            
    $db->query("INSERT INTO " USERPREFIX "_repa_comm (how, date, author, komu, text, edit_repa, hide, url_page) VALUES ('$v', '$date', '$author', '$username', '$comments', 0, 0, '$from_page')");

                            if (
    $repa_cf['repa_ban'] AND $row2['banned'] != "yes" AND $repa_cf['group_'.$row2[user_group]] != 1)
                            {
                                if ((
    $row2['repa'] + $v) <= $repa_cf['repa_ban_num'] OR $row2['repa'] == $repa_cf['repa_ban_num'])    
                                {
                                    
    $this_time $repa_cf['repa_ban_days'] ? $_TIME + ($repa_cf['repa_ban_days'] * 60 60 24) : 0;
                                    
    $db->query"UPDATE " USERPREFIX "_users SET banned='yes' WHERE user_id = '{$row2[user_id]}'" );
                                    
    $db->query"INSERT INTO " USERPREFIX "_banned (users_id, descr, date, days, ip) values ('$row2[user_id]', '$repa_cf[repa_ban_desc]', '$this_time', '$repa_cf[repa_ban_days]', '')" );
                                    @
    unlinkENGINE_DIR '/cache/system/banned.php' );
                                }
                            }

                                if(
    $repa_cf['msgs_status'] == 'yes')
                            {
                                if(
    $config['allow_alt_url'] == "yes")
                                      
    $whois "<a href=\"".$config['http_home_url']."user/$member_id[name]\">$member_id[name]</a>";
                                else
                                    
    $whois "<a href=\"$PHP_SELF?subaction=userinfo&amp;user=".urlencode($member_id[name])."\">$member_id[name]</a>";
                                
                                
    $izvestie $repa_cf['msgs_template'];
                                
    $izvestie str_replace('{%kto%}'$whois$izvestie);
                                
    $izvestie str_replace('{%what%}'$what$izvestie);
                                
    $izvestie str_replace('{%text%}'$comments$izvestie);
                                
    $db->query("INSERT INTO " USERPREFIX "_pm (subj, text, user, user_from, date, pm_read, folder) values ('$lang_repa[repa_msg_changed]', '$izvestie', '$row2[user_id]', '$member_id[name]', '$time', 'no', 'inbox')");
                                
    $db->query("UPDATE " USERPREFIX "_users set pm_all=pm_all+1, pm_unread=pm_unread+1  where user_id='$row2[user_id]'");
                            }
                              
    $db->free();
                            
    header"Location: {$from_page});
                        }
                    }
                    if (
    $_REQUEST['change_no'])
                    {
                        
    $from_page $_POST['from_page'];
                        
    header"Location: {$from_page});
                    }
                
                }
                else
                    
    msgbox ($lang['all_err_1'], $lang['news_err_26']);
            }
            else
                
    msgbox ($lang['all_err_1'], $lang_repa['repa_user_self']." <a href=\"javascript:history.go(-1)\">Вернуться назад.</a>");
        }
    }
    elseif ((
    $_REQUEST['doaction'] == plus OR $_REQUEST['doaction'] == minus) AND !$is_logged)
    {
        
    msgbox ($lang['all_err_1'], "Вы не можете изменять репутацию не авторизовавшись на сайте.<br>Авторизуйтесь или <a href=\"".$config['http_home_url']."/index.php?do=register\">зарегистрируйтесь</a>.<br><a href=\"javascript:history.go(-1)\">Вернуться назад.</a>");
    }
    else
    {

        
    $sql_result $db->query("SELECT * FROM " USERPREFIX "_users where name = '$user'");
        while(
    $row $db->get_row($sql_result))
        {
            
    $user_found TRUE;
            
    $repa_off $row['repa_off'];
        }

        if (
    $repa_off == OR $repa_cf['group_'.$member_id[user_group]] == 1)
        {


    //###############################################################################################################
    // START Вывод истории изменений
    //###############################################################################################################

        
    $pass $db->super_query("SELECT COUNT(*) as count FROM `" USERPREFIX "_repa_comm` where `komu` = '$user'");

        if(
    $pass['count'] == 0)
        {
            if (
    $user_found == TRUE)
            {
                
    $tpl->load_template('/repa/reputation.tpl');
                
    $tpl->set('{history_content}'$lang_repa['repa_nothing']);
            }
        }
        else
        {
            
    $all_count_results $pass['count'];
            
    $N $repa_cf['res_site'];
            if ( isset(
    $_GET['page']) )
            {
                
    $page = (int)$_GET['page'];
                    if ( 
    $page $page 1;
            }
            else
            {
                
    $page 1;
            }
            
    $cnt_pages ceil$pass['count'] / $N );
            if ( 
    $page $cnt_pages $page $cnt_pages;
            
    $start = ( $page ) * $N;//2
            
    $query $db->query("SELECT * FROM `" USERPREFIX "_repa_comm` WHERE `komu`='$user' ORDER BY `date` DESC LIMIT $start$N");
            
    $userlink urlencode("$user");
            if ( 
    $cnt_pages )
            {
                if(
    $config['allow_alt_url'] == "yes")
                 {
                     if ( 
    $page )
                            
    $startpage '<a title="'.$lang_repa['repa_first_p'].'" href="'.$config['http_home_url'].'user/reputation/'.$userlink.'/page/1"><<</a> ... ';
                    else
                            
    $startpage '';
                    if ( 
    $page < ($cnt_pages 2) )
                            
    $endpage ' ... <a title="'.$lang_repa['repa_last_pa'].'" href="'.$config['http_home_url'].'user/reputation/'.$userlink.'/page/'.$cnt_pages.'">>></a>';
                    else
                            
    $endpage '';
                    if ( 
    $page )
                            
    $page2left ' <a href="'.$config['http_home_url'].'user/reputation/'.$userlink.'/page/'.($page 2).'">'.($page 2).'</a>';
                     else
                        
    $page2left '';
                    if ( 
    $page )
                            
    $page1left ' <a href="'.$config['http_home_url'].'user/reputation/'.$userlink.'/page/'.($page 1).'">'.($page 1).'</a> ';
                    else
                        
    $page1left '';
                    if ( 
    $page <= $cnt_pages )
                            
    $page2right ' <a href="'.$config['http_home_url'].'user/reputation/'.$userlink.'/page/'.($page 2).'">'.($page 2).'</a> ';
                    else
                        
    $page2right '';
                    if ( 
    $page <= $cnt_pages )
                            
    $page1right ' <a href="'.$config['http_home_url'].'user/reputation/'.$userlink.'/page/'.($page 1).'">'.($page 1).'</a> ';
                    else
                        
    $page1right '';

                    
    $paginator $startpage.$page2left.$page1left.'<strong>'.$page.'</strong>'.$page1right.$page2right.$endpage;
                }
                 else
                 {
                        if ( 
    $page )
                            
    $startpage '<a title="'.$lang_repa['repa_first_p'].'" href="/index.php?do=reputation&user='.$userlink.'&page=1"><<</a> ... ';
                        else
                            
    $startpage '';
                        if ( 
    $page < ($cnt_pages 2) )
                            
    $endpage ' ... <a title="'.$lang_repa['repa_last_pa'].'" href="/admin.php?do=reputation&user='.$userlink.'&page='.$cnt_pages.'">>></a>';
                        else
                            
    $endpage '';
                        if ( 
    $page )
                            
    $page2left ' <a href="/index.php?do=reputation&user='.$userlink.'&page='.($page 2).'">'.($page 2).'</a>';
                        else
                        
    $page2left '';
                    if ( 
    $page )
                            
    $page1left ' <a href="/index.php?do=reputation&user='.$userlink.'&page='.($page 1).'">'.($page 1).'</a> ';
                        else
                        
    $page1left '';
                        if ( 
    $page <= $cnt_pages )
                            
    $page2right ' <a href="/index.php?do=reputation&user='.$userlink.'&page='.($page 2).'">'.($page 2).'</a> ';
                    else
                        
    $page2right '';
                    if ( 
    $page <= $cnt_pages )
                            
    $page1right ' <a href="/index.php?do=reputation&user='.$userlink.'&page='.($page 1).'">'.($page 1).'</a> ';
                    else
                        
    $page1right '';

                    
    $paginator $startpage.$page2left.$page1left.'<strong>'.$page.'</strong>'.$page1right.$page2right.$endpage;
                }
            }
            while(
    $row $db->get_row())
            {

                       
    $tpl->load_template('/repa/repa_history.tpl');

                if (
    $repa_cf['robot'] == $row['author'])
                    
    $auth_link $row['author'];
                else
                {
                       if(
    $config['allow_alt_url'] == "yes")
                          
    $auth_link "<a href=\"".$config['http_home_url']."user/".urlencode($row['author'])."/\">".$row['author']."</a>";
                        else
                        
    $auth_link "<a href=\"$PHP_SELF?subaction=userinfo&amp;user=".urlencode($row['author'])."\">".$row['author']."</a>";
                }
                
                if ((
    $repa_cf['group_'.$member_id[user_group]] == OR $user == $member_id['name']) AND $member_id['user_group'] != 5)
                {
                    
    $tpl->set("{repa_mod}""<input type=\"checkbox\" name=\"n-repa[]\" value=\"".$row['id']."\" >");
                    
    $rep_i ++;
                    
    $tpl->set('[repa_mod]',"");
                    
    $tpl->set('[/repa_mod]',"");
                }
                else
                    
    $tpl->set_block("'\\[repa_mod\\](.*?)\\[/repa_mod\\]'si","");

                switch(
    $row['how'])
                {
                         case(
    $row['how'] > 0):
                             
    $how '<img src="{THEME}/images/repa_up.gif" alt="'.$lang_repa['repa_up'].'">';
                         break;
                         case(
    $row['how'] < 0):
                             
    $how '<img src="{THEME}/images/repa_dn.gif" alt="'.$lang_repa['repa_down'].'">';
                         break;
                         case(
    $row['how'] == "totalminus"):
                             
    $how '<img src="{THEME}/images/repa_adm.png" alt="'.$lang_repa['repa_adm'].'" title="Понижение на '.$repa_cf[adm_minus].' пунктов">';
                         break;
                         case(
    $row['how'] == "totalplus"):
                             
    $how '<img src="{THEME}/images/repa_adm_p.png" alt="'.$lang_repa['repa_adm'].'" title="Повышение на '.$repa_cf[adm_plus].' пунктов">';
                         break;
                }
                
    $row['date'] = strtotime($row['date']);

                if (
    date(Ymd$row['date']) ==     date(Ymd$_TIME))
                    
    $tpl->set('{date}',  $lang['time_heute'].langdate(" в H:i"$row['date']));
                elseif (
    date(Ymd$row['date']) == date(Ymd, ($_TIME 86400)))
                    
    $tpl->set('{date}',  $lang['time_gestern'].langdate(" в H:i"$row['date']));
                else
                    
    $tpl->set('{date}',  langdate($config['timestamp_active'], $row['date']));

                if (
    $row['edit_repa'] == 1)
                    
    $edit_repa "[изменено]";
                else
                    
    $edit_repa "";

                if (
    $row['hide'] == AND ($repa_cf['group_'.$member_id[user_group]] != AND ($user != $member_id['name'] AND $row['author'] != $member_id['name'])))
                    
    $row['text'] = "<i>Комментарий скрыт.</i>";
                elseif (
    $row['hide'] == AND ($repa_cf['group_'.$member_id[user_group]] == OR $user == $member_id['name'] OR $row['author'] == $member_id['name']))
                    
    $row['text'] = "<i>Комментарий скрыт.</i><br>".$row['text'];
                else
                    
    $row['text'] = $row['text'];

                if (
    $repa_cf['comm_page'] == AND $row['url_page'])
                    
    $row['text'] .= "<br>Изменено на этой <a href=\"".$row['url_page']."\">странице</a>.";

                
    $parts = array(
                     
    '{author}'            => $auth_link,
                     
    '{how}'                => $how,
                     
    '{comment}'            => $row['text'].$edit_repa,
                    );
                    
    $tpl->set(''$parts);
                    
    $tpl->compile('line');
                    
    $tpl->clear();
            }

            if ((
    $repa_cf['group_'.$member_id[user_group]] == OR $user == $member_id['name']) AND $member_id['user_group'] != 5)
            {
                
    $tpl->set('[repa_mod]',"");
                
    $tpl->set('[/repa_mod]',"");

                if (
    $repa_cf['group_'.$member_id[user_group]] == 1)
                    
    $options_repa "<option value=\"0\">Выбирите действие</option><option value=\"1\">Скрыть комментарии</option><option value=\"2\">Опубликовать комментарии</option><option value=\"3\">===============</option><option value=\"4\" style=\"color:red;\">Удалить</option>";
                else
                    
    $options_repa "<option value=\"0\">Выбирите действие</option><option value=\"1\">Скрыть комментарии</option><option value=\"2\">Опубликовать комментарии</option>";

                
    $tpl->set("{options_repa}"$options_repa);
            }
            else
                
    $tpl->set_block("'\\[repa_mod\\](.*?)\\[/repa_mod\\]'si","");

            
    $tpl->load_template('/repa/repa_table.tpl');
            
    $tpl->set('{history_line}'$tpl->result['line']);
            
    $tpl->set('{pages}'$paginator);
            
    $tpl->compile('table');
            
    $tpl->clear();
            
    $tpl->load_template('/repa/reputation.tpl');
            
    $tpl->set('{history_content}'$tpl->result['table']);
            if(
    $config['allow_alt_url'] == "yes")
                  
    $tpl->set('{usertitle}',"<a href=\"".$config['http_home_url']."user/".urlencode($user)."/\">".$user."</a>");
            else
                
    $tpl->set('{usertitle}',"<a href=\"$PHP_SELF?subaction=userinfo&amp;user=".urlencode($user)."\">".$user."</a>");
            
    $tpl->set('{name_user}',$user);
        }
        
    $tpl->compile('content');
        
    $tpl->clear();
        
    $db->free($sql_result);

        }
        else
            
    msgbox ($lang['all_err_1'], "Пользователь отключил репутацию в своих настройках. Вы не можете просмотреть историю его репутации. <a href=\"javascript:history.go(-1)\">Вернуться назад.</a>");
    //###############################################################################################################
    // END Вывод истории изменений

        
    if ($_REQUEST['save_act'] AND intval($_REQUEST['variant']) == 4)
        {
            
    $element $_REQUEST['n-repa'];
            
    $name_user $db->safesql$parse->process$_POST['name_user'] ) );
            if ((
    $name_user != $member_id['name'] AND $member_id['user_group'] != 1) OR $member_id['user_group'] == 1)
            {
                if (
    $repa_cf['group_'.$member_id[user_group]] == AND $member_id['user_group'] != 5)
                {
                    
    $user_id_repa $db->super_query("SELECT user_id, repa, repa_mod, name FROM " USERPREFIX "_users WHERE name='{$name_user}'");    
                    if (
    $element)
                    {
                        foreach (
    $element as $element_to)
                        {    
                            
    $element_to intval($element_to);
                            
    $how_change $db->super_query("SELECT how, author, text FROM " USERPREFIX "_repa_comm WHERE id='{$element_to}'");

                            
    $repa_mod_mas explode ("|"$user_id_repa['repa_mod']);
                            
    $user_repa $user_id_repa['repa'];
                            if (
    $how_change['how'] < 0)
                            {
                                
    $user_repa $user_id_repa['repa'] + $how_change['how'];
                                
    $repa_mod_mas[1] = $repa_mod_mas[1] - $how_change['how'];
                            }
                            elseif (
    $how_change['how'] > 0)
                            {
                                
    $user_repa $user_id_repa['repa'] + $how_change['how'];
                                
    $repa_mod_mas[0] = $repa_mod_mas[0] + $how_change['how'];
                            }
                            elseif (
    $how_change['how'] == "totalminus")
                            {
                                
    $user_repa $user_id_repa['repa'] - $repa_cf['adm_minus'];
                                
    $repa_mod_mas[1] = $repa_mod_mas[1] - $repa_cf['adm_minus'];
                            }
                            elseif (
    $how_change['how'] == "totalplus")
                            {
                                
    $user_repa $user_id_repa['repa'] - $repa_cf['adm_plus'];
                                
    $repa_mod_mas[0] = $repa_mod_mas[0] - $repa_cf['adm_plus'];
                            }
                            
    $user_repa_mod $repa_mod_mas[0]."|".$repa_mod_mas[1];

                            
    $how_text $db->safesql$how_change['text'] );
                            
    $how_autor $db->safesql$how_change['author'] );

                            
    $db->query("UPDATE " USERPREFIX "_users SET repa = '$user_repa', repa_mod = '$user_repa_mod' WHERE name = '{$name_user}'");

                            
    $db->query("DELETE FROM `" PREFIX "_repa_comm` WHERE id='{$element_to}'");

                            if (
    $repa_cf['msgs_del_status'] == "yes")
                            {
                                if(
    $config['allow_alt_url'] == "yes")
                                      
    $whois "<a href=\"".$config['http_home_url']."user/$member_id[name]\">$member_id[name]</a>";
                                else
                                    
    $whois "<a href=\"$PHP_SELF?subaction=userinfo&amp;user=".urlencode($member_id[name])."\">$member_id[name]</a>";

                                
    $izvestie $repa_cf['msgs_del_template'];
                                
    $izvestie str_replace('{%kto%}'$whois$izvestie);
                                
    $izvestie str_replace('{%ot_kogo%}'$how_autor$izvestie);
                                
    $izvestie str_replace('{%text%}'$how_text$izvestie);
                                
    $time time()+($config['date_adjust']*60);
                                
    $db->query("INSERT INTO " USERPREFIX "_pm (subj, text, user, user_from, date, pm_read, folder) values ('$lang_repa[repa_msg_changed]', '$izvestie', '$user_id_repa[user_id]', '$member_id[name]', '$time', 'no', 'inbox')");
                                
    $db->query("UPDATE " USERPREFIX "_users set pm_all=pm_all+1, pm_unread=pm_unread+1  where user_id='$user_id_repa[user_id]'");
                            }

                            
    $user_id_repa2 $db->super_query("SELECT user_id FROM " USERPREFIX "_users WHERE name='$how_change[author]'");
                            
    $db->query("DELETE FROM " USERPREFIX "_repa_log WHERE `autor_id` = '$user_id_repa2[user_id]' AND `komu_id` = '$user_id_repa[user_id]'");

                            
    $date date ("Y-m-d H:i:s");
                            
    $db->query("INSERT INTO `" PREFIX "_repa_del_logs` SET `date` = '{$date}', `username` = '{$user_id_repa[name]}', `autor` = '{$how_autor}', `moder` = '{$member_id[name]}', `repa_id` = '{$element_to}', `description` = '{$how_text}'");
                        }
                    }
                }
                
    header"Location: {$_SERVER['REQUEST_URI']});
            }
            else
                
    msgbox ($lang['all_err_1'], $lang_repa['repa_edit_error']);
        }
        elseif (
    $_REQUEST['save_act'] AND intval($_REQUEST['variant']) == 1)
        {
            
    $element $_REQUEST['n-repa'];
            
    $name_user $db->safesql$parse->process$_POST['name_user'] ) );

            if ((
    $repa_cf['group_'.$member_id[user_group]] == OR $name_user == $member_id['name']) AND $member_id['user_group'] != 5)
            {
                
    $user_id_repa $db->super_query("SELECT user_id FROM " USERPREFIX "_users WHERE name='{$name_user}'");    
                if (
    $element)
                {
                    foreach (
    $element as $element_to)
                    {
                            
    $element_to intval($element_to);
                        
    $db->query("UPDATE " PREFIX "_repa_comm SET hide = '1' WHERE id = '{$element_to}'");
                    }
                }
            }
            
    header"Location: {$_SERVER['REQUEST_URI']});
        }
        elseif (
    $_REQUEST['save_act'] AND intval($_REQUEST['variant']) == 2)
        {
            
    $element $_REQUEST['n-repa'];
            
    $name_user $db->safesql$parse->process$_POST['name_user'] ) );

            if ((
    $repa_cf['group_'.$member_id[user_group]] == OR $name_user == $member_id['name']) AND $member_id['user_group'] != 5)
            {
                
    $user_id_repa $db->super_query("SELECT user_id FROM " USERPREFIX "_users WHERE name='{$name_user}'");    
                if (
    $element)
                {
                    foreach (
    $element as $element_to)
                    {
                        
    $element_to intval($element_to);
                        
    $db->query("UPDATE " PREFIX "_repa_comm SET hide = '0' WHERE id = '{$element_to}'");
                    }
                }
            }
            
    header"Location: {$_SERVER['REQUEST_URI']});
        }

        if (
    $user_found == FALSE) { msgbox ($lang['all_err_1'], $lang['news_err_26']); }
    }

    }
    ?>
    Хотя на всякий случай вот сам модуль
    http://depositfiles.com/files/fxzzfzigv
     
  4. yavasilek

    yavasilek vasilek_gorbunok

    Регистр.:
    5 окт 2008
    Сообщения:
    1.175
    Симпатии:
    423
    я в этом не силен, но попробуй так
    Код:
    @import url("engine.css");
    
    
    .votebtn, .votebtnhover,
    .resultbtn, .resultbtnhover,
    .okbtn, .okbtnhover,
    .viewbtn, .viewbtnhover,
    .editbtn, .editbtnhover,
    .svotebtn, .svotebtnhover, 
    .sresultbtn, .sresultbtnhover { width: 93px; height: 25px; }
    
    .votebtn, .svotebtn { background: transparent url("../images/vote.png") no-repeat 0 0; }
    .votebtnhover, .svotebtnhover { background: transparent url("../images/vote.png") no-repeat -93px 0; }
    .resultbtn, .sresultbtn { background: transparent url("../images/vote.png") no-repeat 0 -25px; }
    .resultbtnhover, .sresultbtnhover { background: transparent url("../images/vote.png") no-repeat -93px -25px; }
    
    .okbtn { background: transparent url("../images/icons.png") no-repeat 0 -93px; }
    .okbtnhover { background: transparent url("../images/icons.png") no-repeat -93px -93px; }
    
    .viewbtn { background: transparent url("../images/icons.png") no-repeat 0 -143px; }
    .viewbtnhover { background: transparent url("../images/icons.png") no-repeat -93px -143px; }
    
    .editbtn { background: transparent url("../images/icons.png") no-repeat 0 -118px; }
    .editbtnhover { background: transparent url("../images/icons.png") no-repeat -93px -118px; }
    
    .si_date, .si_author { vertical-align: middle; margin-right: 5px; width: 14px; height: 14px; }
    .si_date { background: transparent url("../images/icons.png") no-repeat -22px 0; }
    .si_author { background: transparent url("../images/icons.png") no-repeat 0 0; }
    .si_edit { background: transparent url("../images/edit.png") no-repeat 0 0; vertical-align: middle; margin: -3px 5px; width: 18px; height: 18px; }
    .si_delete { background: transparent url("../images/delete.png") no-repeat 0 0; vertical-align: middle; margin: -1px 5px; width: 16px; height: 16px; }
    
    .ml_com, .ml_views {
        vertical-align: middle;
        margin-right: 5px;
        width: 16px; height: 16px;
        background: transparent url("../images/icons.png") no-repeat 0 0;
    }
    
    .ml_com { background-position: -40px 0; }
    .ml_views { background-position: -59px 0; }
    
    .btn_reglog {
        width: 108px; height: 18px;
        background: url("../images/button_reg.png") no-repeat 0 0;
        border: 0 none;
        margin: 0; padding: 0;
        cursor: pointer;
        padding-bottom: 2px;
        color: #728e9a;
        font-weight: bold;
    }
    
    .btn_reglog:hover { background: url("../images/button_reg.png") no-repeat 0 -18px; }
    
    .w_warning {
        border: 1px solid #d2c4b1;
        background: #fbdfd1 url("../images/alert.png") no-repeat 16px center;
        color: #ca4c20;
        margin-bottom: 10px;
        -moz-border-radius-topright:3px;
        -moz-border-radius-topleft:3px;
        -moz-border-radius-bottomright:3px;
        -moz-border-radius-bottomleft:3px;
    }
    
    .wmsg { 
        padding: 8px 8px 8px 70px;
    }
    
    
    .statistics {
        width: 80%;
        margin: 0 auto;
    }
    .statinn {
        text-align: left;
        padding: 0 78px;
        background: url("../images/statics-2.png") no-repeat 0 0;
    }
    
    .statistics ul { margin-bottom: 15px; }
    .statistics ul li { position: relative; background: url("../images/linepoint.gif") repeat-x left bottom; padding: 2px 0; }
    .statistics ul li b { position: absolute; right: 0; }
    
    
    
    .s_field {
        color: #466f9d;
        background-repeat: repeat-x;
        height: 14px;
        padding-left: 3px;
        border: 1px solid #bcbcbc;
    }
    
    
    
    .a_field {
        color: #466f9d;
        background-repeat: repeat-x;
        height: 14px;
        padding-left: 3px;
        border: 1px solid #bcbcbc;
    }
    
    
    
    .f_textarea, .f_input, .f_select, .textin {
        color: #466f9d;
        background: #fff url("../images/fields.gif") repeat-x left top;
        border: 1px solid #bcbcbc;
    }
    
    .f_input { width: 300px; height: 14px; }
    .f_select { height: 14px; }
    .f_textarea { width: 459px; height: 156px; }
    
    
    .navigation {
        color:#666; 
        border:0px;
        padding: 2px;
    }
    
    .navigation a:link,
    .navigation a:visited,
    .navigation a:hover,
    .navigation a:active {
        text-decoration: none;
        color: #636363;
        background-color: #F9F9F9;
        border: 1px solid #E6E6E6;
        padding: 3px 6px;
    }
    
    .navigation a:hover {
        background: #61a5cf;
        color: #fff;
        border-color: #61a5cf;
    }
    
    .navigation span {
        text-decoration: none;
        background-color: #fff;
        padding: 3px 6px;
        border: 1px solid #E6E6E6;
        color: #ccc;
    }
    
    
    
    .tableform { width: 100%; }
    .tableform td { padding: 8px 0; }
    .tableform td.label { width: 27%; font-weight: bold; vertical-align: top; }
    .tableform tr { background: url("../images/linepoint.gif") repeat-x left bottom; }
    .tableform tr.flast { background: none; }
    .tableform tr.flast td { padding-bottom: 0; }
    .addnews { font-weight: bold; }
    
    .impot { color: #e82e1e; }
    
    .pollvotelist { width: 60%; text-align: left; }
    .pollvotelist input { margin-right: 5px; }
    
    .rightside .btags .dtop { background-position: 0 -406px; }
    
    .rightside .btags a { text-decoration: none !important; }
    
    
    .btags .clouds_xsmall { color: #5D9EC3 !important; }
    .btags .clouds_small { color: #88B8D4 !important; }
    .btags .clouds_medium { color: #B4D3E4 !important; }
    .btags .clouds_large { color: #E0EDF4 !important; }
    .btags .clouds_xlarge { color: #ffffff !important; }
    
    .rightside .btags a:hover { background-color: #589AC0; color: #fff !important; }
    
    
    .clouds_xsmall { font-size: 9px; }
    .clouds_small { font-size: 11px; }
    .clouds_medium { font-size: 13px; }
    .clouds_large { font-size: 15px; }
    .clouds_xlarge { font-size: 17px; }
    html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset {
        margin:0;
        padding:0;
    }
    
    h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code, table, font {
        font-size: 1em;
        font-style: normal;
        font-weight: normal;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-family: Tahoma, Verdana, Arial, sans-serif;
        margin: 0 0 0.2em 0;
        line-height: 1.1em;
    }
    
    
    div.blocks                    {width: 212px; background: #f6f6f6 url("../images/block-bg.png") repeat-y left; margin-bottom: 8px;}
    div.blocks div                {background: url("../images/block-v.png") no-repeat top left; width: 212px}
    div.blocks div div            {width: 212px; background: url("../images/block-n.png") no-repeat bottom left;}
    div.blocks div div div        {width: 174px; padding-bottom: 8px; margin-left: 8px; margin-right: 8px; padding-top: 8px; background: transparent;}
    div.blocks div div div h3     {width: 174px; font-size: 12px; color: #575757; font-weight: bold; font-family: Arial, Tahoma, Helvetica, sans-serif; margin-left:0; margin-right:0; margin-top:0; margin-bottom:6px; padding-left:9px; padding-right:0; padding-top:2px; padding-bottom:7px}
    div.blocks div div div div    {padding: 0px;margin: 0px;}
    
    
    div.blocksr                    {width: 216px; background: #f6f6f6 url("../images/block-bgr.png") repeat-y left; margin-bottom: 8px;}
    div.blocksr div                {background: url("../images/block-vr.png") no-repeat top left; width: 216px}
    div.blocksr div div            {width: 216px; background: url("../images/block-nr.png") no-repeat bottom left;}
    div.blocksr div div div        {width: 174px; padding-bottom: 8px; margin-left: 8px; margin-right: 8px; padding-top: 8px; background: transparent;}
    div.blocksr div div div h3     {width: 174px; font-size: 12px; color: #575757; font-weight: bold; font-family: Arial, Tahoma, Helvetica, sans-serif; margin-left:0; margin-right:0; margin-top:0; margin-bottom:6px; padding-left:7px; padding-right:0; padding-top:1px; padding-bottom:7px}
    div.blocksr div div div div    {padding: 0px;margin: 0px;}
    
    
    #header-l {
        height: 145px;
        background: #FFF url("../images/header-l.png") 0 0 no-repeat;
        position: relative;
        padding-left: 30px;
    }
    
    #header-r {
        height: 145px;
        background: #FFF url("../images/header-r.png") right top no-repeat;
        position: relative;
        padding-right: 40px;
    }
    
    #logo {
        position: absolute;
        left: 0;
        display: block;
        width:200px;
        height: 20px;
        text-align: center;
    }
    
    #banners-block {
        position: absolute;
        top: 40px;
        right: 50px;
        width: 468px;
        height: 60px;
    }
    
    
    #footer {
        background: White url("../images/footer-bg.png") repeat-x bottom;
        position: relative;
        height: 69px;
        color: #4c4c4c;
        overflow: hidden;
        margin:3px;
    }
    
    #footer-l {
        background: transparent url("../images/footer-bgl.png") left bottom no-repeat;
        height: 69px;
        position: relative;
    }
    
    #footer-r {
        background: transparent url("../images/footer-bgr.png") right bottom no-repeat;
        height: 69px;
        position: relative;
    }
    
    #copyright {
        position: absolute;
        top: 15px;
        left: 20px;
        cursor:pointer;
    }
    
    #counts {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    
    .enterbtn {
        margin-top: 8px;
        cursor: pointer;
        background: #ffb638 url("../images/enterbtn.png") no-repeat 0 0;
        border: none;
        width: 89px; height: 31px;
        font-weight: bold;
        padding-bottom: 2px;
    }
    
    .blogin ul, .blogin ul li, .statistics ul li, .statistics ul { list-style: none; margin: 0; padding: 0; display: block; }
    .loginform li { line-height: 14px; }
    .loginform li.lfield { padding-bottom: 5px; }
    .loginform li.lfield div { 
        background: #fff url("../images/fields.gif") repeat-x 0 0;
        border: 1px solid #bcbcbc;
        text-align: center;
    }
    .loginform li.lfield input {
        width: 95%;
        padding: 2px;
        color: #466f9d;
        text-align: center;
        background: transparent none;
        border: none;
    }
    
    .loginform li.submit {
        height: auto;
        overflow: hidden;
        width:auto;
    }
    
    .loginform li.submit div { line-height: 12px; }
    
    .loginform .btn,
    .loginform .btnhover {
        float: right;
        width: 108px; height: 27px;
    }
    
    .loginform .btn {     background: #ffb638 url("../images/enter.png") no-repeat 0 0;  }
    .loginform .btnhover {     background: #ffb638 url("../images/enter.png") no-repeat 0 0; }
    
    
    .logindate li {
        border-top: 1px solid #f0f0f0;
        padding: 4px 0 !important;
    }
    
    
    .bodyline        { background: #FFF; border: 1px #d8d8d8 solid; }
    
    .titlebasic {
        position: relative;
        display: block;
        height: 35px;
        color: #fff;
        font-weight: bold;
        line-height: 32px;
        overflow: hidden;
        background: #008ce3 url("../images/titlebasic_bg.png") top repeat-x;
        margin-bottom: 3px;
    }
    
    .titlebasic div {
        position: relative;
        display: block;
        background: transparent url("../images/titlebasic_l.png") top left no-repeat;
        padding-left: 4px;
        height: 35px;
    }
    
    .titlebasic div div {
        position: relative;
        display: block;
        background: transparent url("../images/titlebasic_r.png") top right no-repeat;
        padding-right: 4px;
        height: 35px;
    }
    
    .titlebasic div div div {margin:0; padding:0;}
    .titlebasic a:link, #titlebasic a:visited { height: 35px; font-weight: bold; color: #424242;}
    .titlebasic a:hover {font-weight: bold; text-decoration:underline;}
    
    .newsdate{width:46px; height:50px; padding:2px 0 0 0; background:url("../images/date.jpg") top no-repeat; text-align:center; font-size:11px; line-height:12px; color:#fff;}
    .newsdate span{font-size:16px; color:#fff; letter-spacing:-1px; line-height:18px;}
    .newsdate i{font-size:9px; font-style:normal;}
    
    .content {padding-left:5px;padding-right:5px;text-align:left;}
    
    
    table.comblock {background-color: #ffffff; }
    table.comblock td.cblock-content {background: transparent url("../images/comment/cblock_center_mtop.gif") left top repeat-x; }
    
    table.comblock td.cblock-left { vertical-align: top; background: url("../images/comment/cblock_middle_left.gif") left top repeat-y;}
    table.comblock td.cblock-right { vertical-align: top; background: url("../images/comment/cblock_middle_right.gif") right top repeat-y;}
    
    table.comblock td.cblock-top {background: url("../images/comment/cblock_center_top.gif") left top repeat-x;}
    table.comblock td.cblock-bottom {background: url("../images/comment/cblock_center_bottom.gif") left bottom repeat-x;}
    
    table.comblock div.maincont { padding: 4px; }
    
    .avatar img { width: 95px; height: auto; }
     
    
    h1 { font-size: 12px; font-weight: bold; }
    h2 { font-size: 12px; font-weight: bold; line-height: 18px; }
    h3 { font-size: 1em; font-weight: bold; line-height: 16px; }
    h4 { font-size: 10px; font-weight: bold; line-height: 15px; }
    .flarge { font-size: 17px; font-weight: normal; line-height: 18px; }
    .indents {
        padding: 0; margin: 0;
        line-height: normal;
    }
    .indents span{text-align:justify;}
    
    
    a { color: #177ebb; text-decoration: none; outline: none; }
    a:hover { text-decoration: underline; }
    
    
    input, textarea, select {
        font-size: 1em;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
    
    
    body {
        color: #414141;
        background-color: #f5f5f5;
        font-family: Tahoma, Verdana, Arial, sans-serif;
        font-size: 11px;
        font-style: normal;
        font-weight: normal;
        line-height: 17px;
    }
    
    
    p {
        padding: 0; margin: 0;
        margin-bottom: 12px;
    }
    .clr { clear: both; }
    img  { border:0 none; }
    img.left { float: left; margin: 2px 20px 16px 0; }
    img.right { float: right; margin: 2px 0 16px 20px; }
    hr    {
        border: 0 none;
        border-top: 1px solid #cfcfcf;
        height: 1px;
    }
    
    table {
        border-collapse: collapse;
        border-spacing: 0; border: 0px;
    }
    
    table td { padding: 0px; }
    
    
    ul {
        margin: 0;
        padding-left: 16px;
        list-style-position:outside;
        list-style-image:none;
    }
    
    ul li { margin: 0; padding: 0; }
    
    ol {
        list-style-image: none;
        list-style-position: outside;
        list-style-type: decimal;
        margin-bottom: 18px;
        margin-left: 2.2em;
    }
    
    
    .wrapper {
        margin: auto;
        width: 100%;
        text-align: left;
    }
    
    .wrapper { width: expression(((document.body.clientWidth)) < 100%? "100%": ((document.body.clientWidth)) > 1400? "1400px": "92%" ); }
    
    
    .container,
    .rightside,
    .leftside,
    .centersideinn { overflow: hidden; }
    .rightside { float: right; width: 220px;padding-left:8px;padding-right:1px; padding-top: 4px;}
    .leftside { float: left; width: 220px; padding-top: 4px; padding-left:5px; }
    .centerside { padding-top: 6px;padding-right:8px; }
    .centersideinn { overflow: hidden; }
    *html .centerside { margin-left: 212px; margin-right: 212px; }
    *html .centersideinn { width: 98.8%; }
    
    
    
    .skin {
        padding-left: 10px;
    }
    select {
        font-size: 11px;
        font-family: tahoma;
    }
    
    .top_11 {
        background-image: url(antidle/images/dlet_top_11.gif);
        background-repeat: repeat-x;
        height: 60px;
    }
    .top_13 {
        background-image: url(antidle/images/dlet_top_13.gif);
        background-repeat: repeat-x;
        height: 60px;
    }
    .top_15 {
        background-image: url(../images/dlet_top_15.gif);
        background-repeat: repeat-x;
        height: 60px;
    }
    .top_17 {
        background-image: url(../images/dlet_top_17.gif);
        background-repeat: repeat-x;
        height: 60px;
    }
    .top_19 {
        background-image: url(../images/dlet_top_19.gif);
        background-repeat: repeat-x;
        height: 60px;
    }
    .top_20_1 {
        background-image: url(../images/dlet_top_20_1.gif);
        background-repeat: no-repeat;
        background-position: right bottom;
    }
    .top_26 {
        background-image: url(../images/dlet_top_26.gif);
        background-repeat: repeat-x;
    }
    .top_31 {
        background-image: url(../images/dlet_top_31.gif);
        background-repeat: repeat-x;
        height: 40px;
    }
    .top_32 {
        background-image: url(../images/dlet_top_32.gif);
        background-repeat: repeat-x;
        height: 40px;
    }
    .cpbkgr_nolog {
        background-image: url(../images/dlet_cpbkgr_nolog.gif);
        background-repeat: no-repeat;
    }
    .cpbkgr_log {
        background-image: url(../images/dlet_cpbkgr_log.gif);
        background-repeat: no-repeat;
    }
    .lcol_bkgr {
        background-image: url(../images/dlet_lcol_bkgr.gif);
        background-repeat: repeat-y;
    }
    .lcol_bkgr2 {
        background-image: url(../images/dlet_lcol_bkgr2.gif);
        background-repeat: no-repeat;
        background-position: top left;
    }
    .bl_title_bkgr {
        background-image: url(../images/dlet_bltitle_b.gif);
        background-repeat: no-repeat;
        height: 32px;
        color: #FFFFFF;
        font-size: 11px;
        font-weight: bold;
        text-transform: uppercase;
        padding-left: 11px;
    }
    .block_02 {
        background-image: url(../images/dlet_bl_2.gif);
        background-repeat: repeat-y;
    }
    .a_block_12 {
        background-image: url(../images/dlet_artblock_12.gif);
        background-repeat: repeat-x;
    }
    .a_block_22 {
        background-image: url(../images/dlet_artblock_22.gif);
        background-repeat: repeat-x;
    }
    .a_block_32 {
        background-image: url(../images/dlet_artblock_32.gif);
        background-repeat: repeat-x;
    }
    .a_block_42 {
        background-image: url(../images/dlet_artblock_42.gif);
        background-repeat: repeat-x;
    }
    .a_block_52 {
        background-image: url(../images/dlet_artblock_52.gif);
        background-repeat: repeat-x;
    }
    .a_block_61 {
        background-image: url(../images/dlet_artblock_61.gif);
        background-repeat: repeat-y;
    }
    .a_block_63 {
        background-image: url(../images/dlet_artblock_63.gif);
        background-repeat: repeat-y;
    }
    .a_block_72 {
        background-image: url(../images/dlet_artblock_72.gif);
        background-repeat: repeat-x;
    }
    .a_block_82 {
        background-image: url(../images/dlet_artblock_82.gif);
        background-repeat: repeat-x;
    }
    .adblock_12 {
        background-image: url(../images/dlet_adblock_12.gif);
        background-repeat: repeat-x;
    }
    .adblock_21 {
        background-image: url(../images/dlet_adblock_21.gif);
        background-repeat: repeat-y;
    }
    .adblock_23 {
        background-image: url(../images/dlet_adblock_23.gif);
        background-repeat: repeat-y;
    }
    .adblock_32 {
        background-image: url(../images/dlet_adblock_32.gif);
        background-repeat: repeat-x;
    }
    .footer_b {
        background-image: url(../images/dlet_footer_b.gif);
        background-repeat: repeat-x;
        height: 71px;
    }
    
    
    
    .s_field {
        color: #757575;            
        font-size: 11px;        
        font-family: tahoma;    
        background-image: url(../images/dlet_field_s.gif);
        background-repeat: repeat-x;
        height: 14px;
        padding-left: 3px;
        
        border: 1px solid #e6e6e6;    
    }
    
    
    
    .a_field {
        color: #757575;        
        font-size: 11px;        
        font-family: tahoma;    
        background-image: url(../images/dlet_field_a.gif);
        background-repeat: repeat-x;
        height: 14px;
        padding-left: 3px;
        
        border: 1px solid #ffffff;    
    }
    
    
    
    .f_textarea {
        color: #757575;        
        font-size: 11px;        
        font-family: tahoma;    
        background-image: url(../images/dlet_field_o.gif);
        background-repeat: repeat-x;
        
        width: 459px;
        height: 156px;
        border: 1px solid #e0e0e0;
    }
    .f_input {
        color: #757575;        
        font-size: 11px;        
        font-family: tahoma;    
        background-image: url(../images/dlet_field_o.gif);
        background-repeat: repeat-x;
        
        width: 300px;
        height: 14px;
        border: 1px solid #e0e0e0;
    }
    .f_select {
        color: #757575;        
        font-size: 11px;        
        font-family: tahoma;    
        background-image: url(../images/dlet_field_o.gif);
        background-repeat: repeat-x;
        
        height: 14px;
        border: 1px solid #e0e0e0;
    }
    
    
    #banners a img {
    opacity:0.3; -moz-opacity:0.3; filter:alpha(opacity=40);
    }
    
    #banners a:hover img {
    opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);
    }
    #repa_plus 
    {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #000; font-weight: bold; background-color: #7fdf7f; font-family: verdana; cursor: move;}
    #repa_minus 
    {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #000; font-weight: bold; background-color: #f7a79f; font-family: verdana; cursor: move;}
    #repa_none 
    {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #fff; font-weight: bold; background-color: #ff8b2d; font-family: verdana; cursor: move;}
    #repa_ava 
    {float:left;padding-right:10px;width:80px;height:80px;}
    #repa_info 
    {float:left;padding-right:10px;height:80px;}
    
    .repa-wh10 
    {width:10px;height:10px;}
    
    .repapa img
    [COLOR="Red"]{width:5px;height:5px;}[/COLOR]
    
    красным выделил то где ставишь размеры + и -
    ну а в самом шабе делаешь так
    Код:
    <fieldset><table cellpadding="0" cellspacing="0" width="100%" style="background:#fff;"><tr valign="top">
    <td width="95"><div class="avatar"><img src="{foto}" alt=""/>
    <div>{group-icon}</div>
                            <div>Комментариев: {comm-num}</div>
                            <div>Публикаций: {news-num}</div>
                            <div>ICQ: {icq}</div>
                            <div class="repapa">Репутация: {repa}</div>
                            <div>Имя: {fullname}</div>
    </div>
    </td>
    <td>
    <table class="comblock" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="28"><img src="{THEME}/images/comment/cblock_left_top.gif" width="28" height="12" alt="" /></td>
                      <td class="cblock-top"><img src="{THEME}/images/spacer.png" width="1" height="12" alt="" /></td>
                      <td width="12"><img src="{THEME}/images/comment/cblock_right_top.gif" width="12" height="12" alt="" /></td>
                    </tr>
                    <tr valign="top">
            <td class="cblock-left"><img src="{THEME}/images/comment/cblock_left_mtop.gif" width="28" height="91" alt="" /></td>
                <td class="cblock-content">
                #{comment-id} {author}<span class="newstitle">{news_title}</span>
                <table cellpadding="0" cellspacing="0" width="100%"><tr>
                    <td>{group-name} | {date} | Регистрация: {registration}</td><td width="30%">&nbsp;</td>
                </tr></table>
                <hr />
                {comment}<span align="right">[fast]<img src="{THEME}/dleimages/quote.png" title="Цитировать" alt="Цитировать" align="right">[/fast]</span>
                <br />[signature]{signature}[/signature]
                <div align='right'>
                <span>[com-edit]<img class="si_edit" src="{THEME}/images/spacer.gif" title = "Редактировать комментарий" border="0">[/com-edit]</span>
                <span>[com-del]<img class="si_delete" src="{THEME}/images/spacer.gif" title = "Удалить комментарий" border="0">[/com-del]</span>
                </div><div class="clr"></div>
                </td>
            <td class="cblock-right"><img src="{THEME}/images/comment/cblock_right_mtop.gif" width="12" height="62" alt="" /></td>
                    </tr>
                    <tr>
                      <td width="28"><img src="{THEME}/images/comment/cblock_left_bottom.gif" width="28" height="12" alt="" /></td>
                      <td class="cblock-bottom"><img src="{THEME}/images/spacer.png" width="1" height="12" alt="" /></td>
                      <td width="12"><img src="{THEME}/images/comment/cblock_right_bottom.gif" width="12" height="12" alt="" /></td>
                    </tr>
    </table>
    </td>
    </tr>
    </table></fieldset>
     
    grixann нравится это.
  5. grixann

    grixann

    Регистр.:
    8 фев 2009
    Сообщения:
    443
    Симпатии:
    41
    Да это помогло :) только теперь картинки стали совсем маленькие.
    Подскажи что изменил
     
  6. yavasilek

    yavasilek vasilek_gorbunok

    Регистр.:
    5 окт 2008
    Сообщения:
    1.175
    Симпатии:
    423
    я же красным цветом выделил(надо быть немного внимательней)!!!.repapa img
    {width:5px;height:5px;} посмотри в самом конце стиля который я опубликовал.
     
  7. grixann

    grixann

    Регистр.:
    8 фев 2009
    Сообщения:
    443
    Симпатии:
    41
    Не заметил :) увеличил картинки до 10px и нормально работает
     
Статус темы:
Закрыта.