Hello guys, if any of you have any spare time, please help me align a couple tables in a .tpl file. I have managed all the other .tpl's but not this one for some unknown reason. Please help me out! Desperately in need. Thanks.
calm down, it's pretty difficult to guess the code you want fixing lol, help yourself post some links chunks of code and other relevant information
Can you hit me on YM/MSN/AIM? I'll just send you the file. The code is pretty long to post here. Hurm, maybe I can. Hang on one sec. Here it is: I can also give you a link to a live url of this page to show how it looks. PM me if you're willing to give it a shot. <tr> <td align="center" valign="top"><table width="760" border="0" cellspacing="0" cellpadding="0"> <tr><td height=5> </td></tr> <tr><td width=760 height=250> {if $total gt "0"} <TABLE cellSpacing=0 cellPadding=0 width=760 border=0> <TBODY> <TR > <TD ><!-- Begin Most Active Users in the Channel Section --> <TABLE cellSpacing=0 cellPadding=0 width=580 align=center bgColor=#eae9ef border=0> <TBODY> <tr> <td height="24" valign=top><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5" height="24" background="images/nv_2_l.jpg"><img src="images/nv_2_l.jpg" width="5" height="24" alt=""></td> <th background="images/nv_2_bg.jpg" align=left><span class="white_bold" align=left>Most Active Users in the Channel</span></th> <td width="5" background="images/nv_2_r.jpg"><img src="images/nv_2_r.jpg" width="5" height="24" alt=""></td> </tr> </table></td> </tr> <TR> <TD width=100%> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0> <TBODY> <TR> {section name=i loop=$actuser} <TD style="WIDTH: 100%; TEXT-ALIGN: center; PADDING-TOP: 10px;" align=center> {insert name=get_photo assign=imgid uid=$actuser[i].UID} <A href="{$baseurl}/uprofile.php?UID={$actuser[i].UID}"> {if $imgid ne ""} <IMG class=moduleEntryThumb height=60 src="{$tmburl}/1_{$imgid}.jpg" width=80> {else}<IMG class=moduleEntryThumb height=60 src="{$tmburl}/no_videos_groups.gif" width=80>{/if} </A> <DIV class=moduleEntryDetails style="PADDING-TOP: 5px; PADDING-BOTTOM: 10px"> {insert name=id_to_name assign=uname un=$actuser[i].UID} <A href="{$baseurl}/uprofile.php?UID={$actuser[i].UID}">{$uname}</A> ({$actuser[i].total}) </DIV> </TD> {/section} </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE> <!-- End Most Active Users in the Channel Section --> <!-- Begin Recently Added to Channel Section --> <DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 7px; PADDING-TOP: 7px"> <TABLE cellSpacing=0 cellPadding=0 width=580 align=center bgcolor="#F3F3F3" border=0> <TBODY> <tr> <td height="24" valign=top><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5" height="24" background="images/nv_2_l.jpg"><img src="images/nv_2_l.jpg" width="5" height="24" alt=""></td> <th background="images/nv_2_bg.jpg" align=left><span class="white_bold" align=left> Recently Added to {$answers[0].name}</span> </th> <td width="13" background="images/nv_2_r.jpg"><img src="images/nv_2_r.jpg" width="5" height="24" alt=""></td> </tr> </table></td> </tr> <TR> <TD width=580> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0> <TBODY> <TR> {section name=j loop=$recadd} <TD style="WIDTH: 20%; TEXT-ALIGN: center" vAlign=top> <A href="{$baseurl}/view_video.php?viewkey={$recadd[j].vkey}"> <IMG style="BORDER-RIGHT: #ffffff 5px solid; BORDER-TOP: #ffffff 5px solid; MARGIN-TOP: 10px; BORDER-LEFT: #ffffff 5px solid; BORDER-BOTTOM: #ffffff 5px solid" height=60 src="{$tmburl}/1_{$recadd[j].VID}.jpg" width=80> </A> <DIV class=moduleEntrySpecifics style="FONT-WEIGHT: bold; PADDING-TOP: 5px"> <A href="{$baseurl}/view_video.php?viewkey={$recadd[j].vkey}">{$recadd[j].title}</A> </DIV> <DIV class=moduleEntrySpecifics> By: {insert name=id_to_name assign=uname un=$recadd[j].UID} <A href="{$baseurl}/uprofile.php?UID={$recadd[j].UID}">{$uname}</A> </DIV> <DIV class=moduleEntrySpecifics> Runtime: {$recadd[j].duration|string_format:"%.2f"} </DIV> <DIV class=moduleEntrySpecifics>Views: {$recadd[j].viewnumber}</DIV> <DIV class=moduleEntrySpecifics> {insert name=comment_count assign=commentcount vid=$recadd[j].VID} Comments: {$commentcount} </DIV> <!--Begin Rated Section--> <SPAN class=rating> {if $recadd[j].ratedby gt "0"} {insert name=show_rate assign=rate rte=$recadd[j].rate} {$rate}<BR> (rated by {$recadd[j].ratedby}) {/if} </SPAN> <!--End Rated Section--> </TD> {/section} </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE> </DIV> <!-- End Recently Added to Channel Section --> <!-- Begin Top Watched in Channel Section --> <DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 7px; PADDING-TOP: 7px"> <TABLE cellSpacing=0 cellPadding=0 width=580 align=center bgColor=#eae9ef border=0> <TBODY> <tr> <td height="24" valign=top><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5" height="24" background="images/nv_2_l.jpg"><img src="images/nv_2_l.jpg" width="5" height="24" alt=""></td> <th background="images/nv_2_bg.jpg" align=left><span class="white_bold" align=left>Top Watched videos in {$answers[0].name} Channel</span></th> <td width="5" background="images/nv_2_r.jpg"><img src="images/nv_2_r.jpg" width="5" height="24" alt=""></td> </tr> </table></td> </tr> <TR> <TD width=580> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0> <TBODY> <TR> {section name=k loop=$mostview} <TD style="WIDTH: 20%; TEXT-ALIGN: center" vAlign=top> <A href="{$baseurl}/view_video.php?viewkey={$mostview[k].vkey}"> <IMG style="BORDER-RIGHT: #ffffff 5px solid; BORDER-TOP: #ffffff 5px solid; MARGIN-TOP: 10px; BORDER-LEFT: #ffffff 5px solid; BORDER-BOTTOM: #ffffff 5px solid" height=60 src="{$tmburl}/1_{$mostview[k].VID}.jpg" width=80></A> <DIV class=moduleEntrySpecifics style="FONT-WEIGHT: bold; PADDING-TOP: 5px"> <A href="{$baseurl}/view_video.php?viewkey={$mostview[k].vkey}">{$mostview[k].title}</A></DIV> <DIV class=moduleEntrySpecifics>By: {insert name=id_to_name assign=uname un=$mostview[k].UID} <A href="{$baseurl}/uprofile.php?UID={$mostview[k].UID}">{$uname}</A></DIV> <DIV class=moduleEntrySpecifics>Runtime: {$mostview[k].duration|string_format:"%.2f"}</DIV> <DIV class=moduleEntrySpecifics>Views: {$mostview[k].viewnumber}</DIV> <DIV class=moduleEntrySpecifics> {insert name=comment_count assign=commentcount vid=$recadd[j].VID} Comments: {$commentcount} </DIV> <!--Begin Rated Section--> <SPAN class=rating> {if $mostview[k].ratedby gt "0"} {insert name=show_rate assign=rate rte=$mostview[k].rate} {$rate}<BR> (rated by {$mostview[k].ratedby}) {/if} </SPAN> <!--End Rated Section--> </TD> {/section} </TR> </TBODY> </TABLE> </DIV> </TD> </TR> </TBODY> </TABLE> </DIV> <!-- End Top Watched in Channel Section --> </TD> <TD width=180 valign=top> <table> <tr> <td height="24" valign=top><table width=180 border="0" cellspacing="0" cellpadding="0" valign=top> <tr> <td width="5" height="24" background="images/nv_2_l.jpg"><img src="images/nv_2_l.jpg" width="5" height="24" alt=""></td> <td background="images/nv_2_l.jpg" class="style3"><span class="white_bold" align=left>Recent Tags:</span></td> <td width="5" background="images/nv_2_r.jpg"><img src="images/nv_2_l.jpg" width="5" height="24" alt=""></td> </tr> </table></td> </tr> <!--Begin Recent Tags Section--> <tr><td bgcolor="#F2F2F2" valign=top> <!-- <DIV style="FONT-WEIGHT: bold; FONT-SIZE: 12px; MARGIN: 10px 0px 5px; ">Recent Tags for this Channel:</DIV> --> {section name=i loop=$tags} <A style="FONT-SIZE: 12px" href="{$baseurl}/search_result.php?search_id={$tags[i]}">{$tags[i]}</A> {/section} <!--End Recent Tags Section--> </TD></TR> </table> </td></tr> </TBODY></TABLE> </TD></TR></TBODY></TABLE> {else} <center><b>There is no video in this channel</b></center> {/if} </td> </tr> </td></tr></table> PHP:
Added you. I have also posted the entire codes here. I can't see you online for some reason, I use meebo. Anyway, feel free to post the solution here if you figured it out. Everybody else are welcomed too.
Problem fixed by myself. If there's one thing I've learned from DP, it's if you want something done, you gotta do it yourself.
You didn't post a live link to begin with and that attitude is not going to get you more help in the future.
I didn't mean to sound rude. I was just frustated, I'm sorry if I did. Duhh, chill out, what is this? Your "regime"? Can't say something cause the "man" says you can't? Fascist!
He's merely suggesting to you that if you act like a cock, no one will be forthcoming with help in the future, so think about that.....