Jump to content

New page break


bernholdt

Recommended Posts

Hi im in a little trouble here  ???

I have connected a couple of scripts to make it possible for users to upload xml files. now my problem is that the site get Waaaay to long and people have to scroll for hours to be able to see all xml files.

If there is anyone in here that could help me get the script to create a new page on every other file i would be wery happy.

The code is to long to post here so i added a link to a txt file on my server.

www.music-feeds.com/code.txt

and this is the html output.

 

<!-- files -->
<? if($file_list): ?>
<? foreach($file_list as $item) : ?>
	<tr class="file">
		<td class="name"><img src="<?=$this_script?>?image=<?=$item['ext']?>" alt="<?=$item['ext']?>" /> <?=$item['link']?> | 
		<?=isDL('<a href="'.$this_script.'?download='.$item['name'].'.'.$item['ext'].'"><img border="0" src="'.$this_script.'?image=download" alt="Download '.$item['name'].'.'.$item['ext'].'" /></a>')?> | 
		<?=$item['size']['num']?><span><?=$item['size']['str']?></span> |
		<?=time_ago($item['mtime'])?> old |

		</td> 
	</tr>			
	<tr class="file">		
		<td class="name"><? DrawPlaylist($item['name'].".xml", "tech-"); ?></td>			
	</tr>



<? endforeach; ?>
<? endif; ?>
<!-- /files -->

 

 

Regards

Michael RAsmussen

Music-Feeds.com

Link to comment
https://forums.phpfreaks.com/topic/139435-new-page-break/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.