1
Hello
I have a code that is developed in tabular form.
<{if count($categories) gt 0}>
<div class="even" style="font-weight: bold;"><{$smarty.const._MD_XTUBE_MAINLISTING}>div>
<table width="100%" cellspacing="1" cellpadding="3" summary='' style="text-align: center;">
<tr>
<td colspan="2"> td>
<tr>
<tr>
<{foreach item=category from=$categories}>
<td width="5%" style="text-align: center;">
<a href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?cid=<{$category.id}>"><img src="<{$category.image}>" title="<{$category.alttext}>" alt="<{$category.alttext}>" align="middle"/>a>
td>
<td width="35%" style="text-align: left; vertical-align: middle;">
<a href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?cid=<{$category.id}>"><b><{$category.title}>b>a> (<{$category.totalvideos}>)<br/>
<{if $category.subcategories}>
<div style="margin-bottom: 3px; margin-left: 16px; font-size: smaller; vertical-align: top;">
<{$category.subcategories}>
div>
<{/if}>
td>
<{if $category.count is div by $cat_columns}>
tr>
<tr><{/if}> <{/foreach}>
tr>
<tr>
<td colspan="2"> td>
<tr>
table>
<div class="odd" style="text-align: left; font-size: smaller;"><{$lang_thereare}>div>
<div class="xoopstube_legend">
<img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload1_small.png" title="<{$smarty.const._MD_XTUBE_LEGENDTEXTNEW}>" alt="" align="middle"/> <{$smarty.const._MD_XTUBE_LEGENDTEXTNEW}>
<img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload2_small.png" title="<{$smarty.const._MD_XTUBE_LEGENDTEXTNEWTHREE}>" alt="" align="middle"/> <{$smarty.const._MD_XTUBE_LEGENDTEXTNEWTHREE}>
<img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload3_small.png" title="<{$smarty.const._MD_XTUBE_LEGENDTEXTTHISWEEK}>" alt="" align="middle"/> <{$smarty.const._MD_XTUBE_LEGENDTEXTTHISWEEK}>
<img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload4_small.png" title="<{$smarty.const._MD_XTUBE_LEGENDTEXTNEWLAST}>" alt="" align="middle"/> <{$smarty.const._MD_XTUBE_LEGENDTEXTNEWLAST}>
div>
<{/if}>
In this code there are <{if $ category.count is div by $ cat_columns}> <{/ if}> which displays columns
If I use Table, I have that:
I would use
thumbnails of bootstrap but I can not manage the columns
Do you understand? sorry for my bad english