Links Directory ~ Front-End Sample

You can easily integrate the Front-End to your web design page.
Please refer to the guidelines below.


Home
New Listings
Most Popular
Top Rated
Editor's Pick
Add A Web Site Link

Search for Links
Link Search. Type in your keywords to search for links.

Top Add A Web Site Link
Category

   Fun Links (3)
Fun & Games, but still learning all the same...
   Local Links (1)
Links to local places of interest...
   Parent/Carer Links (4)
Useful information and resources for parents & carers..
   School Links (0)
Links to other school websites...
   Sport & Hobby Links (1)
Links to your favourite sport or hobby sites...
   Teacher Links (2)
Useful information and resources for teachers..

 



Front-End Integration Guidelines

You can easily integrate the front-end with your web design pages.
Before   After Integration


Integration Instructions
1. Before calling any script, put the line below to call the 'config.php' file. This will load all the necessary database connection and class declaration files.
<?php include_once("config.php") ?>
* Note: This line must be located ontop of home.menu.php and home.link.php include code.
2. In your .php file, put the line below to call the menu area.
<?php include("linksdir/home.menu.php") ?>
3. Meanwhile, to display your link directory content such as link categories and link details, put the line below.
<?php include("linksdir/home.link.php") ?>
4. For sample integration code, please refer to the source code of this file. To do this, open it with your text editor.
5. Finally, as an additional tip, you can put your front-end file in any location you like, but put the call to the One Admin folder using the relative path.
Example, if your front-end file is at   http://yourdomain.com/linksdir.php and the One Admin folder is located at   http://yourdomain.com/oneadmin/ , use the code below.
<?php include_once("oneadmin/config.php") ?>
<?php include("oneadmin/linksdir/home.menu.php") ?>
<?php include("oneadmin/linksdir/home.link.php") ?>