  "  "

1)   random_news.php     /engine/modules
2)  /templates/_/main.tpl     (    {speedbar})  


{include file="engine/modules/random_news.php?&title_length=23&short_story_length=50&img_maxsize=80"}



    3 :
- title_length -     (  23);
- short_story_length -     (  50);
- img_maxsize -      (  80px)
 ,          .

3)         css .   /templates/_/css/style.css     :


/***** Random News ******/
.random_news_title {
    font-size: 10px;
    font-family: tahoma;
    color: #0574D3;
    padding: 0px 3px 3px 7px;
    vertical-align: top;
}

.random_news_title a:active,
.random_news_title a:visited,
.random_news_title a:link {
   color: #0574D3;
   text-decoration:none;
}
.random_news_title a:hover {
    color: #0574D3;
    text-decoration: underline;
}
.random_news_vtitle {
    font-size: 10px;
    font-family: tahoma;
    color: #0574D3;
    padding: 10px 3px 5px 0px;
    vertical-align: top;
}
.random_news_vtitle a:active,
.random_news_vtitle a:visited,
.random_news_vtitle a:link {
   color: #0574D3;
   text-decoration:none;
}
.random_news_title a:hover {
    color: #0574D3;
    text-decoration: underline;
}
.random_news_news {
    font-size: 10px;
    font-family: tahoma;
    color: #727272;
    padding: 0px 3px 3px 7px;
   vertical-align: top;
}
.random_news_img {
   vertical-align: top;
}
/***** !Random News ******/    



          .

  .

Copyright  DLEFREE.RU