XFileSharing Pro - Moving Variable file_name and Download_link to main.html

Message
Author
cloudyourmusic
Posts: 5
Joined: Feb 11, 2013 5:07 pm

Moving Variable file_name and Download_link to main.html

#1 Postby cloudyourmusic » Feb 19, 2013 4:53 pm

Hi,

I want to add a "most downloaded" list to the homepage. I added the script below to start testing but it appears main.html does not have access to the variables.


<h3><TMPL_VAR lang_last_downloads></h3>
<Table class="tbl1" cellpadding=2 cellspacing=1>
<TMPL_LOOP files>
<TR>
<TD><TMPL_VAR uploaded></TD>

<TD><a href="<TMPL_VAR download_link>"><TMPL_VAR file_name></a></TD><TD width="1%" nowrap align=right>

</TR>
</TMPL_LOOP>
</Table>
<TMPL_VAR paging>

cloudyourmusic
Posts: 5
Joined: Feb 11, 2013 5:07 pm

#2 Postby cloudyourmusic » Feb 19, 2013 10:06 pm

My website is cloudyourmusic.com

Jesse202
Posts: 246
Joined: May 07, 2010 6:24 pm

#3 Postby Jesse202 » Feb 21, 2013 1:46 pm

Have you completely missed all the legal stuff going on the past year? Why on earth would you want to do this?

cloudyourmusic
Posts: 5
Joined: Feb 11, 2013 5:07 pm

#4 Postby cloudyourmusic » Feb 21, 2013 4:19 pm

I'm not trying to do this for illegal purposes lol. I comply with all of DMCA requests.