|
| Web Hosting Deals | Holiday Logo Design | Webcam Chat | Website Header Templates | Register domain | Search Engine Optimisation | Web Hosting |
|
|||||||
| PHP / Perl / Java / JavaScript / CGI Tutorials PHP / Perl / Java / JavaScript / CGI Tutorials Please do not use this Forum to advertise your site or to link to tutorials. |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
||||
|
[BETA]Simple toplist site
Hello,
I've made a simple toplist system(BETA yet), I'll post here the codes (free open source), tell me what you think about it ^^. Enjoy! tell me if you found any bugs, or have any comments/tips And it's a BETA version yet so... I posted it in more posts caus 1 post may not be longer than 10000 chars directory toplist: index.php in.php out.php installer.php directory toplist\modules: idx.php config.php login.php vote.php add.php last.php contact.php profile.php lost.php forum.php directory css: hyperlinks.css directory images all images... see below page directory: toplist index.php Quote:
and will set a header above it. in.php Quote:
out.php Quote:
installer.php Quote:
Last edited by skyfe; 06-24-2007 at 09:23 AM. |
|
||||
|
directory: toplist\modules
idx.php Quote:
config.php Quote:
vote.php Quote:
add.php Quote:
Last edited by skyfe; 05-16-2007 at 06:59 PM. |
|
|||
|
last.php
Quote:
contact.php Quote:
login.php Quote:
|
|
|||
|
profile.php
Quote:
lost.php Quote:
forum.php Quote:
![]() Last edited by skyfe; 05-18-2007 at 03:52 PM. |
|
|||
|
Good start. Just make sure that you always have the "<?php session_start(); ?>" bit above everything, including HTML. One example is the lost.php page
Your code: Code:
<html> <?php session_start(); ?> <head> Code:
<?php session_start(); ?> <html> <head> |
|
|||
|
thanks, but it's not a must caus the session_start(); is already set in the first page (index.php), and there will all other pages get included to
![]() I though ![]() Oooh wait, I see what you mean sorry, you're right there, thanks for telling, will change it (but I got no warnings when running so I hadn't seen that ) |
|
|||
|
good!
![]() ![]() Soon I'll update this version to a full version ! ![]() with in feature(full version) : - advanced admin panel to remove/edit sites that have been added to your toplist - will make the toplist unlimited sites on main page, caus now it only works for 50 sites yet (top 50), but will make it able that when if there are more than 50 sites, that there will be links at the bottom like : 50-100 and 100-150, etc., and when you click on it there will be a list of sites random that #place - will add a character counter so people won't post a site with as description a longer description than 250 characters - and some more things ^^. enjoy ![]() EDDIT: created a start on a admin panel directory: toplist\admin files: index.php delete.php search.php info.php file name: index.php Quote:
file name: delete.php Quote:
Last edited by skyfe; 05-20-2007 at 08:36 PM. |
|
|||
|
file name: search.php
Quote:
file name: info.php Quote:
enjoy ^^ updated attachment file too ![]() EDDIT: also eddited the config.php, please overwrite the old config.php with this one and configurate it: Quote:
![]() Last edited by skyfe; 05-21-2007 at 08:22 AM. |