Code:
<?php
######################################################################
# PHP-NUKE: îòøëú ðéäåì úåëï îú÷ãîú
# ============================================
#
# æëåéåú (c) 2005 òì éãé Francisco Burzi (fbc@mandrakesoft.com)
# http://phpnuke.org
#
# ÷åáõ æä äåà òáåø äâãøú äàúø
#
# 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: îàøç áñéñ äðúåðéí (localhost áãøê ëìì)
# dbuname: ùí äîùúîù ùì áñéñ äðúåðéí
# dbpass: ñéñîú áñéñ ðúåðéí
# dbname: ùí äîùúîù ùì áñéñ äðúåðéí
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: ñåâ ùøú áñéñ ðúåðéí. ùøúéí úåîëéí äí:
# MySQL, mysql4, postgres, mssql, oracle, msaccess,
# db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
# $gfx_chk: ÷åáò àú àôùøåú ÷åã ääàáèçä áëì îñê äúçáøåú,
# äéðê æ÷å÷ ìäú÷ï GD îåú÷ï áùøúê áëãé ùàôùøåú æå úôòì:
# 0: ììà áãé÷ä
# 1: äúçáøåú îðäìéí áìáã
# 2: äúçáøåú îùúîùéí áìáã
# 3: äøùîú îùúîùéí áìáã
# 4: äúçáøåú åäøùîú îùúîùéí áìáã
# 5: îðäìéí åîùúîùéí
# 6: äøùîú îùúîùéí çãùéí åîðäìéí
# 7: áëì î÷åí àôùøé
# äòøä: àí àéðê áèåç, ëúåá 0
# $subscription_url: If you manage subscriptions on your site, you
# must write here the url of the subscription
# information/renewal page. This will send by
# email if set.
# $admin_file: Administration panel filename. "admin" by default for
# "admin.php". To improve security please rename the file
# "admin.php" and change the $admin_file value to the
# new filename (without the extension .php)
######################################################################
$dbhost = "localhost";
$dbuname = "*******";
$dbpass = "*******";
$dbname = "****";
$prefix = "****";
$user_prefix = "*****";
$dbtype = "********";
$sitekey = "*********";
$gfx_chk = 3;
$subscription_url = "";
$admin_file = "admin";
/*********************************************************************/
/* 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 */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*********************************************************************/
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING
$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$advanced_editor = 0;
$AllowableHTML = array(
'a' => array('href' => 1, 'target' => 1, 'title' => array('minlen' => 4, 'maxlen' => 120)),
'b' => array(),
'blockquote' => array(),
'br' => array(),
'center' => array(),
'div' => array('align' => 1),
'em' => array(),
'font' => array('face' => 1, 'style' => 1, 'color' => 1, 'size' => array('minval' => 1, 'maxval' => 7)),
'h1'=>array(),
'h2'=>array(),
'h3'=>array(),
'h4'=>array(),
'h5'=>array(),
'h6'=>array(),
'hr' => array(),
'i' => array(),
'img' => array('alt' => 1, 'src' => 1, 'hspace' => 1, 'vspace' => 1, 'width' => 1, 'height' => 1, 'border' => 1, 'align' => 1),
'li' => array(),
'ol' => array(),
'p' => array('align' => 1),
'pre' => array('align' => 1),
'span' =>array('class' => 1, 'style' => array('font-family' => 1, 'color' => 1)),
'strong' => array(),
'strike'=>array(),
'sub'=>array(),
'sup'=>array(),
'table' => array('align' => 1, 'border' => 1, 'cell' => 1, 'width' => 1, 'cellspacing' => 1, 'cellpadding' => 1),
'td' => array('align' => 1, 'width' => 1, 'valign' => 1, 'height' => 1, 'rowspan' => 1, 'colspan' => 1 ),
'tr' => array('align' => 1),
'tt'=>array(),
'u' => array(),
'ul' => array(),
);
$CensorList = array("f***",
"cunt",
"f***er",
"f***ing",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER['SCRIPT_NAME'], "config.php")) {
Header("Location: index.php");
die();
}
?>
|