# Top_List (c)2000, Blake McDonald (webmaster@dark-library.com) # # Top_List ver. 1.0 # # README.TXT ##### 1. Config The first thing you have to do is configure your top site list. First thing to do is open up the config.php3. Here I will over view some of the options that may not be to clear. $max_list_size This is what your top site list is. If you want a top 100 put in 100, if you want top 50 put in 50, and so on. $max_banners_to_show This is on how many of the sites at the top of the list would you like to have there banners shown. Example if this is set to 10, you will only be able to see those top site sites banners on the list. $break_time This is for banner breaks. What does is stops the top site list at a point so you can add in a banner or some HTML or anything else and then continues the list after there. Example if this is at 25, after each 25 sites are listed it will make a banner break. $break_type This sets how you want your banner breaks. If it's set to "same" it will show the same break_1.inc at every banner break. If this is set to "different" then it will go through the banner break files. So the first banner break will be the HTML in break_1.inc and the next would be break_2.inc and so on. If you have enough break just make some more break files. So if you have 5 banner breaks you would just make a break_5.inc and it will show that on the 5th break. ***** Everything after that is just as the comments say in the config. Now you will need to put in the HTML for your banner breaks and also open up the rules.inc and put in HTML for the rules to join your top site list. This will show up when someone adds his or her site. Also don't forget to edit the header.inc and footer.inc. ##### 2. Install 1. Upload all the files to a folder on your server. 2. Chmod the 5 .txt files in the admin folder to 666. 3. Ask your servers admin to password protect the admin dir. ##### 3. Use To view the list you link to list.php3. All the sign up and edit site links are on that page. Go to the admin/admin.php3 to edit all the sites and more. Make sure this dir. is password protected!!! ##### 4. DONE! Now you're done! Please email me at webmaster@dark-library.com and tell me where you are using it. # # # Blake McDonald # get this script and more at www.phpnewbie.net #