PHP Code:
<?php
# GunZ Rankings Page - Shows the top list of characters on a gunz server
# Copyright (C) 2008 Shadow-xx
# 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 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#---------------------------------------------------------------------------
# config.php
#---------------------------------------------------------------------------
# Database Settings
$database_serv = 'QUARTO\SQLEXPRESS'; // Database Server (leave blank when using odbc)
$database_name = 'GunZDB'; // Database Name
$database_user = 'sa'; // Database Username
$database_pass = 'number12'; // Database Password
# Database Connection
# 0 - mssql
# 1 - odbc
$connection_type = '1';
# Table Names
$table_account = 'Account'; // Acount Table
$table_character = 'Character'; // Character Table
# Limit on rows
# This will limit the amount of rults returned to the browser
# The higher u set the limit the higher the server load will be
$row_limit = '100';
# Order by
# - XP
# - Level
# - Name
# - DeathCount
# - KillCount
$order_by = 'XP';
# Colored names
# Note when you filter all everything but notmal and jjang users
# It might be smarter to turn this of to decrease server load
# 0 - OFF
# 1 - ON
$color_names = '1';
# Color names settings
$color_255 = '#ff9933'; // Administrator
$color_254 = '#ff9933'; // Developer/Gamemaster
$color_253 = '#000000'; // Banned
$color_252 = '#ff9933'; // Hidden GM
$color_2 = '#0044ff'; // User With Jjang
$color_0 = '#999999'; // Normal User
# User Legend
# Note only turn this on when the coler names are on
# or else it wil increase the server load for nothig
# 0 - OFF
# 1 - ON
$userlegend_status = '1';
# User legend aligment
# 0 - Horizontal
# 1 - Vertical
$userlegend_align = '0';
# User legend place
# 0 - Top
# 1 - Bottom
$userlegend_place = '1';
# Exlude Users
# Seperate With |
# - 255 Administrator
# - 254 Developer/Gamemaster
# - 253 Banned
# - 252 Hidden GM
# - 2 User With Jjang
# - 0 Normal User
$exclude_users = '255|254|253|252';
# Escape Characters
# Leave This alone should be fine as it is
$new = "\r\n"; // New Line
$tab = "\t"; // Tab
?>
Help Me ;D