Am instalat pe un forum de probe noul index_box si imaginile de la subforumuri apar in aceiasi caseta cu imaginea de la descrierea forumului respectiv. Iata si un print:
Cod:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall">{LAST_VISIT_DATE}<br />
{CURRENT_TIME}<br />
</span>
<!-- END switch_user_logged_in -->
<div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
</td>
<td class="gensmall" align="right" valign="bottom" id="nne">
<!-- BEGIN switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
<a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- END switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
</td>
</tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumlinie" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" id="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<!-- END inc -->
<table class="box" width="350" border="0" cellspacing="1" cellpading="0">
<tr>
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle"><div class="descriere2"><p><center>{catrow.forumrow.FORUM_DESC}</center></p></div></td>
<td class="row1 over" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<div class="descriere"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</span>
</td>
</tr>
<tr>
<td class="row3" align="center" valign="middle" height="50" style="width: 40px!important">
<div class="mesaje">
<b>{catrow.forumrow.TOPICS}</b>
<center>Topics</center>
</div>
</td>
<td class="row2" align="center" valign="middle" height="50" style="width: 40px!important;">
<div class="mesaje">
<b>{catrow.forumrow.POSTS}</b>
<center>Posts</center>
</div>
</td>
<td class="row3 over" align="center" valign="middle" height="50" style="width: 400px!important">
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
</tr>
<div class="umbra"></div> <!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table>
<img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Cod:
<table cellpadding="0" cellspacing="1" border="0">
<tbody>
<tr>
<td style="width: 150px;">
<br /><img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a><br /><img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a><img td="" <="" />
</td>
<td style="width: 150px;">
<br /><img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a><br /><img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a><img td="" <="" />
</td>
<td style="width: 150px;">
<br /><img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a><br /><img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a><img td="" <="" />
</td>
</tr>
</tbody>
</table>
Cod:
<div class="subforum">
<div id="subforum_link">
<img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a>
</div>
<div id="subforum_link">
<img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a>
</div>
<div id="subforum_link">
<img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a>
</div>
<br>
<div id="subforum_link">
<img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a>
</div>
<div id="subforum_link">
<img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a>
</div>
<div id="subforum_link">
<img src="http://s20.postimage.org/5aptlu9wp/subforum_nonew.png" /> <a href="LINK">Nume</a>
</div>
</div>
Cod:
.subforum{
display: inline-block;
}
#subforum_link{
display: inline-block;
width: 100px;
text-align: left;
}
#subforum_link img{
float: left;
position: relative;
bottom: 2px;
}
Cod:
/*
** BEGIN IPS Subforums by Zeus & StaarK*
*/
ul.ipsType_small {
float: left;
margin-top: -15px;
width: 30%;
display: table;
list-style-type: none;
position: relative;
right: 30px;
}
ul.ipsType_small > li {
background: url('http://i56.servimg.com/u/f56/17/39/93/85/subfor12.png') no-repeat 0 50%;
padding: 0 15px 0 15px;
margin: 0;
float: left;
}
ul.ipsType_small > li.new {
background: url('http://i56.servimg.com/u/f56/17/39/93/85/subfor12.png') no-repeat 0 50%;
}
ul.ipsType_small > li.new > a {
font-weight: 800;
}
ul.ipsType_small > li.new {
background: url('http://i.imgur.com/Kq3UgRp.png') no-repeat 0 50%;
}
ul.ipsType_small > li.sub > a {
font-weight: 500;
background-image: url(http://i59.servimg.com/u/f59/14/12/03/12/erdeho10.png);
background-repeat: repeat-x;
border: 1px solid #759c16;
border-radius: 3px;
box-shadow: 0 0 1px #fff inset;
color: #fff;
padding: 1px 4px;
text-shadow: 0px 0px 2px black;
}
/* END IPS Subforums by Zeus & StaarK*/
Cod:
/*
** IPS Subforums by Zeus & StaarK*
*/
var ips_subForums = {
init : function() {
ips_subForums.exec();
},
exec : function() {
$('p.subforums').each(function(a, c) {
this.innerHTML=this.innerHTML.replace(/(\,)/g, "");
var id = a+1;
$('a.gensmall', this).wrap('<ul class="ipsList_inline ipsType_small subforums'+ id +'" id="subforum_'+ id +'"><li />');
var sub = $('.ipsType_small', this);
for (var i = 0; i < sub.length; i++) {
$(sub[i]).prev('a').insertBefore($(sub[i]).find('li a'));
$(sub[i]).find('a:eq(0)').hide();
};
});
// Executare functia new post
$('.ipsType_small li:has("img.sprite-icon_post_target_unread")').each(function(a, c) {
c.className = 'sub';
});
}
};
$(document).ready(ips_subForums.init);
Cod:
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
Cod:
<p class="subforums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</p>