All pastes #449520 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-20 07:41 UTC
rendered paste body
<tr>
                <td align="center" valign="top"><table width="760"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                  <td height=5>&nbsp;</td></tr>
                  <tr><td width=760 height=250>

{if $total gt "0"}

<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR vAlign=top>
<TD >
<!-- 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>Views: {$recadd[j].viewnumber}</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>
</DIV>
        </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>Views: {$mostview[k].viewnumber}</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=7></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>