2
btw, this is what the code looks like now (tdmdownloads_block_new.html)
<style> .btn-list{margin-bottom:19px} .btn-list li{width:100%;margin-bottom:0px;float:left} .btn-list li a,.btn-list li a:visited{height:48px;background:#fff url(http://www.programgezgini.com/uploads/images/btn-list.png) top repeat-x;display:block;border:solid 1px #e1e1e1} .btn-list li a:hover{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,0.2);background-color:#639ee5;background-position:bottom;border-color:#5587c4} .btn-list li img{width:80px;height:45px;margin-right:8px;float:left;border-right:solid 1px #e1e1e1} .btn-list li a:hover img{border-right-color:#5587c4} .btn-list li strong{font-size:1.2em;font-weight:normal;padding-top:6px;display:block} .btn-list li span{color:#8b8b8b;padding-top:3px;display:inline-block} .btn-list li a:hover span{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,0.2)} .btn-list li {list-style-type: none !important } </style> <div class="btn-list"> <ul> <{foreachq item=downloads from=$block}> <li> <A title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" rel="directory"><IMG width="50" height="30" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /><STRONG><{$downloads.title}></STRONG><SPAN> </SPAN></A> <{if $downloads.inforation}> <div class="itemInfo"> <span class="itemPoster"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}></span> <span class="itemPostDate"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}></span> <span class="itemReting"><{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}></span> <span class="itemHits"><{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}></span> </div> <{/if}> <{if $downloads.logourl || $downloads.description}> <div class="itemBody"> <div class="itemText justify"> <{if $downloads.logourl != ""}><{/if}> <{if $downloads.description != ""}> <{$downloads.description}> <span class="itemPermaLink"> <a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" rel="directory">--></a> </span> <{/if}> </div> <div class="endline"></div> </div> <{/if}> <{/foreach}> </li> </ul> </div>