hi folks,
i guess i must be damm stupid :'(
this is my index.tpl file:
i ve upload all the files of the zip to the / of the website,and this is what i get: http://www.glissemagtv.comCode:<table width="100%" border="0" bordercolor=blue cellspacing="0" cellpadding="0" > <tr> <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="1" bgcolor="#5e7cae"></td> </tr> <tr> <td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="70" align="center"> <Div class=bg2> <table width="96%" border="0" cellspacing="10" cellpadding="0" align=center> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="bold_blue_large">Watch</td> </tr> <tr> <td class="normal_gray">Better than TV watch what you want when you want it!</td> </tr> </table> </td> <td width="1" bgcolor="#5170a8"></td> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Upload</td> </tr> <tr> <td class="normal_gray">Quickly upload and tag videos in almost any video format.</td> </tr> </table> </td> <td width="1" bgcolor="#5170a8"></td> <td > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Share</td> </tr> <tr> <td class="normal_gray">Easily share your videos with everyone, put videos on your space or watch them here.</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td height="1" bgcolor="#E1E3E4"></td> </tr> </table> </div> </td> </tr> <tr> <td> {if $new_video_total gt "0"} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5" height="24" background="{$baseurl}/templates/images/bg1_l.gif">[img]{$baseurl}/templates/images/bg1_l.gif[/img]</td> <td background="{$baseurl}/templates/images/bg1.gif"> <table width="96%" border="0" cellspacing="0" cellpadding="0" align=center> <tr> <td class="white_bold">New Videos</td> <td align=right ><span class="white_regular">More Recent Videos</span></td> </tr> </table> </td> <td width="5" background="{$baseurl}/templates/images/bg1_r.gif">[img]{$baseurl}/templates/images/bg1_r.gif[/img]</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1" bgcolor="#E1E3E4"></td> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table width="100%"> <tr> {section name=i loop=$new_video start=0 max=4} <td></td> <td width="25%" align="center"> <A href="{$baseurl}/view/{$new_video[i].VID}/{$new_video[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/">[img]{$tmburl}/1_{$new_video[i].VID}.jpg[/img] {$new_video[i].title}</a> </td> {/section} </tr> <tr> {section name=i loop=$new_video start=4 max=4} <td></td> <td width="25%" align="center"> <A href="{$baseurl}/view/{$new_video[i].VID}/{$new_video[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/">[img]{$tmburl}/1_{$new_video[i].VID}.jpg[/img] {$new_video[i].title}</a> </td> {/section} </tr> </table> </td> </tr> <tr> <td height="1" bgcolor="#E1E3E4"></td> </td> </tr> </table> </td> <td width="1" bgcolor="#E1E3E4"></td> </table> {/if} </td> </tr> <tr> <td align="center" valign="top"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="140" id="recently viewed videos" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="recentplayer.swf?x=recentlyviewed.php&t=Videos Being Watched Right Now..." /> <param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="recentplayer.swf?x=recentlyviewed.php&t=Videos Being Watched Right Now..." quality="high" bgcolor="#ffffff" width="550" height="140" name="recently viewed videos" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <script language="JScript" type="text/jscript" src="{$baseurl}/js/ClickFix.js"></script> </td> </tr> <tr> <td height=5></td> </tr> <tr> <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="5" height="24" background="{$baseurl}/templates/images/bg1_l.gif">[img]{$baseurl}/templates/images/bg1_l.gif[/img]</td> <td background="{$baseurl}/templates/images/bg1.gif"> <table width="96%" border="0" cellspacing="0" cellpadding="0" align=center> <tr> <td width="50%" class="white_bold">Recently Viewed</td> <td width="50%" align="right"><span class="white_regular">More Recently Viewed</span> </td> </tr> </table> </td> <td width="5" background="{$baseurl}/templates/images/bg1_r.gif">[img]{$baseurl}/templates/images/bg1_r.gif[/img]</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F5F8"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1" bgcolor="#E1E3E4"></td> <td> <table width="100%"> <tr> {section name=i loop=$recent start=0 max=4} <td> </td> <td width="25%" align="center"> <A href="{$baseurl}/view/{$recent[i].VID}/{$recent[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/">[img]{$tmburl}/1_{$recent[i].VID}.jpg[/img] {$recent[i].title}</a> <font size="1px">{insert name=timediff value=var time=$recent[i].viewtime}</font> </td> {/section} </tr> </table> </td> <td width="1" bgcolor="#E1E3E4"></td> </tr> </table> </td> </tr> <tr> <td height="1" bgcolor="#E1E3E4"></td> </tr> </table> </td> </tr> <tr> <td height="2" bgcolor="#FFFFFF"></td> </tr> </table> </td> </tr> <tr> <td height="0" align="center" valign="top"></td> </tr> </td> </tr> {if $total gt "0"} <tr> <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td width="5" height="24" background="{$baseurl}/templates/images/bg1_l.gif">[img]{$baseurl}/templates/images/bg1_l.gif[/img]</td> <th background="{$baseurl}/templates/images/bg1.gif"><div align="left"> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td class="white_bold">Today's Featured Videos</td> <td width="150"><span class="white_regular">See More Videos</span></td> </tr> </table> </div></th> <td width="5" background="{$baseurl}/templates/images/bg1_r.gif">[img]{$baseurl}/templates/images/bg1_r.gif[/img]</td> </tr> </table></td> </tr> {section name=i loop=$answers} <tr> <td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-bottom: 1px dashed #999999;"> <tr> <td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1" bgcolor="#C0C0C0"></td> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="154" align="center" valign="top" background="{$baseurl}/templates/images/background_2_bg.jpg" style="background-repeat:repeat-x; " bgcolor="#F3F3F3"> <table width="100%" border="0" cellspacing="11" cellpadding="0"> <tr> <td width="120" valign="top"><a href="{$baseurl}/view/{$answers[i].VID}/{$answers[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/"> [img]{$tmburl}/1_{$answers[i].VID}.jpg[/img]</a></td> <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign=top><span class="bold_blue">{$answers[i].title}</span> <span class="normal_gray">{if $answers[i].featuredesc ne ""}{$answers[i].featuredesc} {/if}{$answers[i].description} Tags : </span><span class="normal_blue">{insert name=video_keyword assign=keyword vid=$answers[i].VID} {section name=j loop=$keyword} {$keyword[j]} {/section} </span><span class="normal_gray"> Added: {insert name=time_range assign=rtime field=addtime IDFR=VID id=$answers[i].VID tbl=video}{$rtime} by </span> <span class="normal_blue">{insert name=id_to_name assign=uname un=$answers[i].UID} {$uname} </span><span class="normal_gray"> Runtime: {$answers[i].duration|string_format:"%.2f"} | Views: {$answers[i].viewnumber} | {insert name=comment_count assign=commentcount vid=$answers[i].VID} Comments: {$commentcount} </span> </td> </tr> <tr><td height="5"></td></tr> <tr> <td> {if $answers[i].ratedby gt "0"} {insert name=show_rate assign=rate rte=$answers[i].rate} {$rate} <SPAN class=rating>({$answers[i].ratedby} ratings)</SPAN> {else} ( Not yet rated ) {/if} </td> </tr> <tr><td align="center">{insert name=advertise adv_name='home_feature_banner'}</td></tr> </table> </td></tr> </table> </td> </tr> </table> </td> <td width="1" bgcolor="#C0C0C0"></td> </tr> </table> </td> </tr> </table> </td> </table> </td> </tr> {/section} </table> </td> </tr> {/if} </table>
recentlyviewed.php --> /
recentplayer.swf --> /
js/ --> /js/
What did i forgot?
thx for helping
herve




Reply With Quote
Bookmarks