link SHOULD BE: link */ // %%%%%%%%%%%%%%% General %%%%%%%%%%%%%%% \\ //Location to folder - Without trailing / $domain = "http://www.playsof.com/guides"; //Type of article (Guide/tutorial/article) $type = "Guides"; // %%%%%%%%%%%%%%% Functions %%%%%%%%%%%%%%% \\ // 1 = On, 0 = Off //Search feature $search_on = 1; //Voting feature $voting_on = 1; //Category heirarchy feature $category_nav_on = 1; //Alternate colors when listing articles /* To use this function, you must set your to inheret $col Example: $col will alternate between CSS classes alt1 and alt2 Example of actual code as shown in browser: Row1 Row2 If feature is turned off, default class will be alt1 */ $list_alt_colors = 1; // %%%%%%%%%%%%%%% Messages %%%%%%%%%%%%%%% \\ // ##### Common messages ##### \\ //User went to page without proper referral $msg_noref = "How did you find this page?"; // ##### Show article - index.php ##### \\ //Article has no votes $art_novotes = "No votes have been cast yet"; //Article body /* Definitions: $id = Article ID $title = Article title $body = Article body $desc = Article description $keywords = Article keywords $link = Article link $user = Article author $cat = Article category $rcount = Number of votes cast $rtotal = Total rating $views = Total views */ $art_body = "
$title
$body
Author: $user
Link: $link
Rating: $rating based on $rcount votes
Views: $views
"; /* Voting code to add more voting numbers (out of 10) add 6 7 etc etc. */ $art_vote = "
Vote:
1 2 3 4 5
"; // ##### Display articles by category - index.php ##### \\ /* Definitions: $id = Article ID $title = Article title $body = Article body $desc = Article description $keywords = Article keywords $link = Article link $user = Article author $cat = Article category $rcount = Number of votes cast $rtotal = Total rating $views = Total views */ //Create the initial table $cat_init_table = ""; //List of articles within the category $cat_art_list = " "; // ##### Search page - index.php ##### \\ /* Definitions: $id = Article ID $title = Article title $body = Article body $desc = Article description $keywords = Article keywords $link = Article link $user = Article author $cat = Article category $rcount = Number of votes cast $rtotal = Total rating $views = Total views */ //Create the initial table $sea_init_table = "
TitleAuthorViewsCategory
$title $user $views $cat
"; //Print out table $sea_art_list = " "; // ##### Home page - index.php ##### \\ /* Definitions: $id = Article ID $title = Article title $body = Article body $desc = Article description $keywords = Article keywords $link = Article link $user = Article author $cat = Article category $rcount = Number of votes cast $rtotal = Total rating $views = Total views */ //Initial table $ini_main_table = "
TitleAuthorViewsCategory
$title $user $views $cat
"; //Print out main table $main_table = ""; // ##### Voting page - vote.php ##### \\ //Vote successful message $vmsg_suc = "Submitted vote!
Back to article"; //User already voted $vmsg_fai = "You have already voted for this article!
Back to article"; ?>
TitleAuthorViewsCategory
$title $user $views $cat