<?PHP
######################################################################
# NPDS V : Net Portal Dynamic System
#          Based on PHP-NUKE Web Portal System
# ===================================================
#
# Original Copyright (c) 2001 by Francisco Burzi (fburzi@ncc.org.ve)
# http://phpnuke.org
#
# This version name NPDS Copyright (c) 2001-2005 by Philippe Brunier
#
# This module is to configure the main options for your site
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################

######################################################################
# ========================
# Database & System Config
# ========================
# dbhost:      MySQL Database Hostname
# dbuname:     MySQL Username
# dbpass:      MySQL Password
# dbname:      MySQL Database Name
# mysql_p:     Persistent connection to MySQL Server (1) or Not (0)
# =======================
# system:      0 for Unix/Linux, 1 for Windows
# system_md5:  0 for NOT USED Authors' Password encryption / 1 for USED Author's Password Encryption
######################################################################

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "npds";
$mysql_p = "1";
# =======================
$system = 0;
$system_md5 = 1;

/*********************************************************************/
/* You finished to configure the Database. Now you can change all    */
/* you want in the Administration Section.   To enter just launch    */
/* you web browser pointing to http://yourdomain.com/admin.php       */
/*                                                                   */
/* At the prompt use the following ID to login (case sensitive):     */
/*                                                                   */
/* AdminID: Root                                                     */
/* Password: Password                                                */
/*                                                                   */
/* Be sure to change inmediately the Root login & password clicking  */
/* on Edit Admin in the Admin menu. After that, click on Preferences */
/* to configure your new site. In that menu you can change all you   */
/* need to change.                                                   */
/*                                                                   */
/*********************************************************************/



######################################################################
# General Site Configuration
#
# $parse:          Select the parse function you want to use for preference
# $gzhandler:      Select Yes for sending compressed html. Only work with Php 4.05 or > + Zlib 
# $admin_cook_duration : Duration in hour for Admin cookie (default 24)
# $user_cook_duration: Duration in hour for Admin cookie (default 24)
# $sitename:       Your Site Name
# $Titlesitename:  Your Site Phrase for the Title (html Title Tag) off the HTML Page
# $nuke_url:       Complete URL for your site (Do not put / at end)
# $site_logo:      Logo for Printer Friendly Page (It's good to have a Black/White graphic)
# $slogan:         Your site's slogan
# $startdate:      Start Date to display in Statistic Page
# $anonpost:       Allow Anonymous to Post Comments? (1=Yes 0=No)
# $troll_limit:    Maximum Number off Comments per user (24H)
# $mod_admin_news  Allow only Moderator and Admin to Post News? (1=Yes 0=No)
# $not_admin_count Don't record Admin's Hits in stats (1=Yes=>don't rec 0=No=>rec)
# $Default_Theme:  Default Theme for your site (See /themes directory for the complete list, case sensitive!)
# $Start_Page:     Default Page for your site (default : index.php but you can use : topics.php, links.php ...)
# $foot(x):        Messages for all footer pages (Can include HTML code)
# $commentlimit:   Maximum number of bytes for each comment
# $anonymous:      Anonymous users Default Name
# $site_font:      Font for your entire site (Comma separated for many fonts type)
# $minpass:        Minimum character for users passwords
# $show_user:      Number off user showed in memberslist page
# $pollcomm:       Activate comments in Polls? (1=Yes 0=No)
######################################################################

$parse = "1";
$gzhandler = "0";
$admin_cook_duration = "240";
$user_cook_duration = "8000";
$sitename = "NPDS SABLE";
$Titlesitename = "NPDS - générateur de portail Php / Mysql en Open Source";
$nuke_url = "http://www.npds.org";
$site_logo = "themes/Permanent-Double-Side/images/npds_p.gif";
$slogan = "NPDS SABLE";
$startdate = "01/10/2005";
$anonpost = 0;
$troll_limit = 6;
$mod_admin_news = 0;
$not_admin_count = 1;
$Default_Theme = "Permanent-Double-Side";
$Start_Page = "index.php?op=edito";
$foot1 = "Tous les Logos et Marques sont déposés, les commentaires sont sous la responsabilité de ceux qui les ont publiés, le reste @ npds.org";
$foot2 = "Ce site a été construit avec <a href=http://www.npds.org CLASS=NOIR>NPDS</a>, un système de portail écrit en PHP. Ce logiciel est sous <a href=http://www.gnu.org CLASS=NOIR>GNU/GPL license</a>.";
$foot3 = "syndication de vos News via <a href=http://www.votre_site/backend.php CLASS=NOIR>www.votre_site/backend.php</a> -::- + encore via le NPDS Push Infos System";
$foot4 = "";
$commentlimit = 4096;
$anonymous = "Anonyme";
$site_font = "Verdana, Arial, Helvetica";
$minpass = 5;
$show_user = 20;
$pollcomm = 1;

######################################################################
# General Stories Options
#
# $top:       How many items in Top Page?
# $storyhome: How many stories to display in Home Page?
# $oldnum:    How many stories in Old Articles Box?
# $ultramode: Activate ultramode plain text and XML files backend syndication? (1=Yes 0=No). locate in /cache directory
######################################################################

$top = 10;
$storyhome = 10;
$oldnum = 10;
$ultramode = 1;

######################################################################
# Banners/Advertising Configuration
#
# $banners: Activate Banners Ads for your site? (1=Yes 0=No)
# $myIP:    Write your IP number to not count impressions, be fair about this!
######################################################################

$banners = 0;
$myIP = "1.1.1.100";

######################################################################
# XML/RDF Backend Configuration
#
# $backend_title:    Backend title, can be your site's name and slogan
# $backend_language: Language format of your site
# $backend_image:    Image logo for your site
# $backend_width:    Image logo width
# $backend_height:   Image logo height
######################################################################

$backend_title = "NPDS";
$backend_language = "fr-FR";
$backend_image = "";
$backend_width = "88";
$backend_height = "31";

######################################################################
# Site Language Preferences
#
# $language:     Language of your site (You need to have lang-xxxxxx.php file for your selected language in the /language directory of your site)
# $locale:       Locale configuration to correctly display date with your country format. (See /usr/share/locale)
# $gmt:          Locale configuration to correctly display date with your GMT offset.
# $lever:        HH:MM where Day become.
# $coucher:      HH:MM where Night become.
# $multi_langue: Activate Multi-langue NPDS'capability.
######################################################################

$language = "french";
$multi_langue = false;
$locale = "french";
$gmt = "";
$lever = "08:00";
$coucher = "20:00";

######################################################################
# Web Links Preferences
#
# $perpage:                  How many links to show on each page?
# $popular:                  How many hits need a link to be listed as popular?
# $newlinks:                 How many links to display in the New Links Page?
# $toplinks:                 How many links to display in The Best Links Page? (Most Popular)
# $linksresults:             How many links to display on each search result page?
# $links_anonaddlinklock:    Is Anonymous autorise to post new links? (0=Yes 1=No)
# $linkmainlogo:             Activate Logo on Main web Links Page (1=Yes 0=No)
# $OnCatNewLink:             Activate Icon for New Categorie on Main web Links Page (1=Yes 0=No)
######################################################################

$perpage = 10;
$popular = 10;
$newlinks = 10;
$toplinks = 10;
$linksresults = 10;
$links_anonaddlinklock = 0;
$linkmainlogo = 0;
$OnCatNewLink = 1;

######################################################################
# Function Mail and Notification of News Submissions
#
# $adminmail:      Site Administrator's Email
# $mail_fonction:  What Mail function to be used (1=mail, 2=email)
# $notify:         Notify you each time your site receives a news submission? (1=Yes 0=No)
# $notify_email:   Email, address to send the notification
# $notify_subject: Email subject
# $notify_message: Email body, message
# $notify_from:    account name to appear in From field of the Email
######################################################################

$adminmail = "";
$mail_fonction = "1";
$notify = 0;
$notify_email = "membre@site.fr";
$notify_subject = "Nouvelle soumission";
$notify_message = "Le site a recu une nouvelle soumission !";
$notify_from = "webmaster";

######################################################################
# Moderation Config
#
# $moderate:   Activate moderation system? (1=Yes 0=No)
######################################################################

$moderate = 1;
$reasons = array("Comme cela",
                    "Hors sujet",
                    "Lyrique",
                    "Brutal",
                    "Redondant",
                    "Inutile",
                    "Intéressant",
                    "Informatif",
                    "Drôle",
                    "Sur-évalué",
                    "Sous-évalué");

######################################################################
# Survey/Polls Config
#
# $maxOptions: Number of maximum options for each poll
# $BarScale:   Scale for the Bar, multiple of 100, You may leave this to 1
# $setCookies: Set cookies to prevent visitors vote twice in a period of 24 hours? (0=Yes 1=No)
######################################################################

$maxOptions = 12;
$BarScale = 1;
$setCookies = 1;

######################################################################
# Some Graphics Options
#
# $tipath:       Topics images path (put / only at the end, not at the begining)
# $userimg:      User images path (put / only at the end, not at the begining)
# $adminimg:     Administration system images path (put / only at the end, not at the begining)
# $admingraphic: Activate graphic menu for Administration Menu? (1=Yes 0=No)
# $short_menu_admin: Activate short Administration Menu? (1=Yes 0=No)
# $admf_ext:     Image Files'extesion for admin menu (default: gif)
# $admart:       How many articles to show in the admin section?
######################################################################

$tipath = "themes/Permanent-Double-Side/images/topics/";
$userimg = "/themes/Permanent-Double-Side/images/menu/";
$adminimg = "images/admin/";
$short_menu_admin = 1;
$admingraphic = 0;
$admf_ext = gif;
$admart = 10;

######################################################################
# HTTP Referers Options
#
# $httpref:    Activate HTTP referer logs to know who is linking to our site? (1=Yes 0=No)# $httprefmax: Maximum number of HTTP referers to store in the Database (Try to not set this to a high number, 500 ~ 1000 is Ok)
######################################################################

$httpref = 1;
$httprefmax = 1000;

######################################################################
# Allowable HTML tags
#
# $AllowableHTML: HTML command to allow in the comments
#                  =>2 means accept all qualifiers: <foo bar>
#                  =>1 means accept the tag only: <foo>
######################################################################

$AllowableHTML = array("p"=>2,
                    "b"=>1,
                    "i"=>1,
                    "a"=>2,
                    "em"=>1,
                    "br"=>1,
                    "strong"=>1,
                    "blockquote"=>1,
                    "tt"=>1,
                    "li"=>1,
                    "ol"=>1,
                    "ul"=>1);

######################################################################
# Miscelaneous Options
#
# $smilies:          Activate Avatar? (1=Yes 0=No)
# $avatar_size:      Maximum size for uploaded avatars in pixel (width*height) 
# $short_user:       Activate Short User registration (without ICQ, MSN, ...)? (1=Yes 0=No)
# $member_list:      Make the members List Private (only for members) or Public (Private=Yes Public=No)
# $download_cat:     Witch category do you want to show first in download section?
# $AutoRegUser:      Allow automated new-user creation (sending email and allowed connection)
# $short_review:     For transform reviews like "gold book" (1=Yes, 0=no)
# $subscribe:        Allow your members to subscribe to topics, ... (1=Yes, 0=no)
# $member_invisible: Allow your members to subscribe to topics, ... (1=Yes, 0=no)
# $CloseRegUser:     Allow you to close New Member Registration (from Gawax Idea), ... (1=Yes, 0=no)
# $memberpass:       Allow user to choose alone the password (1=Yes, 0=no)
######################################################################

$smilies = 1;
$avatar_size = "60*80";
$short_user = 0;
$member_list = 0;
$download_cat = "Tous";
$AutoRegUser = 1;
$short_review = 0;
$subscribe = 1;
$member_invisible = 0;
$CloseRegUser = 0;
$memberpass = 1;

######################################################################
# HTTP Miscelaneous Options
#
# $rss_host_verif: Activate the validation of the existance of a web on Port 80 for Headlines (true=Yes false=No)
# $cache_verif:    Activate the Advance Caching Meta Tag (pragma ...) (true=Yes false=No)
# $dns_verif:      Activate the DNS resolution for posts (forum ...), IP-Ban, ... (true=Yes false=No)
######################################################################

$rss_host_verif = false;
$cache_verif = true;
$dns_verif = false;

######################################################################
# SYSTEM Miscelaneous Options
#
# $savemysql_size:  Determine the maximum size for one file in the SaveMysql process
# $savemysql_mode:  Type of Myql process (1, 2 or 3)
# $tiny_mce:        true=Yes or false=No to use tiny_mce Editor or standard Npds Editor
######################################################################

$savemysql_size = 256;
$savemysql_mode = 1;
$tiny_mce = true;

######################################################################
# Filters Options
######################################################################

$MaxTextLength = 0;
$MaxTotalLength = 0;
$CensorList = array("fuck",
                    "cunt",
                    "fucker",
                    "fucking",
                    "pussy",
                    "cock",
                    "c0ck",
                    "cum",
                    "twat",
                    "clit",
                    "bitch",
                    "fuk",
                    "fuking",
                    "motherfucker");
$CensorMode = 1;
$CensorReplace = "*";

######################################################################
# Do not touch the following options !
######################################################################

$NPDS_Prefix = "";
$NPDS_Key = "436fde00de52e";
$Version_Num = "5.10";
$Version_Id = "NPDS";
$Version_Sub = "SABLE";

?>