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 Your Site

Search for Links
Intelligent Link Search. Type in your keywords to search for the links you are looking for.

TopAdd Your Site
Category

  Category A(4)
Description for Category A...
Sub category A1
  Category B(0)
Description for Category B...
Sub category B1
 
  Category C(0)
Description for Category C...
  Category D(0)
Description for Category D...
 

 



Front-End Integration Guidelines

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


Integration Instructions
1. Using a text editor, open the web page file (.php file) that you wish to integrate the Links Directory to, insert the line below to the top of the file, to call the 'config.php' file.
<?php include_once("document_path_of_oneadmin_folder/config.php"); include_once($path["docroot"]."common/session.php"); include_once($path["docroot"]."common/css.php"); ?>
* Note: Always put the above code to the line 1, without any preceding character(s), not even a space.
2. To display the dynamic title, put the line below between the title tag.
 <?php include($path["docroot"]."linksdir/home.title.php"); ?>
3. In your .php web page file, put the line below to call the menu area such as new listing, most popular, top rate and etc .
<?php include($path["docroot"]."linksdir/home.menu.php"); ?>
4. Meanwhile, to display the link's content area, put the line below.
<?php include($path["docroot"]."linksdir/home.link.php"); ?>
5. For sample integration code, please refer to the source code of this file. To do this, open the file with your text editor.
** To find your 'document_path_of_oneadmin_folder', check the path['docroot'] value from the oneadmin/config.php file