[CS:GO|WEB] CtBans Web Page

Post Reply
in_so@pta
Administrator
Posts: 1074
Joined: Mon Jul 06, 2009 7:38 am
Jucator SA:MP ?: Da
Nick:: in_so@pta
Jucator CS ?: Da
Contact:

[CS:GO|WEB] CtBans Web Page

Post by in_so@pta »

CTBans Page.
CtBans web page for databomb's ctbans plugin.


Prewiev: https://overgame.eu/ctbans.php

GitHub: Link

Donation: Link


Installation !
Upload file to your FTP.

Customize in ctbans_settings.php:

Code: Select all

PHP Code:
<?php
/**
*
*                                            -->        SETTINGS    <--
*
**/
///////////////////////////////////////////////////////////////
//        DATABASE SETTING
$server="";
$username="";
$password="";
$database="";
$table_prefix="";
///////////////////////////////////////////////////////////////
 
//        RESULTS SETTING
$results_per_page="15";
///////////////////////////////////////////////////////////////
//        HEADER AND SUBHEADER SETTINGS
//    Enable Sticky Header
//    true = enable, false = disable
$sticky_header = true;
//    Page Name
$page_name = "JailBreak | CTBanlist";
//    Header Name
$header = "JailBreak | CT Bans";
//    Header Color
//    DEFAULT --> "#f1f1f1"
$header_background_color = "#f1f1f1";
//    Header text color 
//    DEFAULT --> "black" / "#000"
$header_text1_color = "black";
//    Enable or Disable SubHeader
//    true = enable, false = disable
$enable_subheader = true;
//    SubHeader Text
$subHeader = "Ctbanlist for JailBreak server.";
//    SubHeader Color
//    DEFAULT --> "black" / "#000"
$header_text2_color = "black";
///////////////////////////////////////////////////////////////
//        MENU SETTINGS
//    Home size
//    DEFAULT top --> 16px, side --> 16px;
$menu_size_top = "16px";
$menu_size_side = "16px";
//    Home button name
$menu_home_button_name = "Home";
//    Home button color
//    DEFAULT --> "#3473c1"
$menu_home_button_color = "#3473c1";
//        MENU BUTTONS SETTINGS
//        RIGHT SIDE
//    BTN 1 (default)
$btn1_name = "Web";
$btn1_link = "#";
//    BTN 2
//    Enable or Disable BTN 2
//    true = enable, false = disable
$btn2_enable = true;
$btn2_name = "BanList";
$btn2_link = "#";
//    BTN 3
//    Enable or Disable BTN 3
//    true = enable, false = disable
$btn3_enable = false;
$btn3_name = "BUTTON";
$btn3_link = "#";
//        LEFT SIDE
//    BTN 4 (default)
$btn4_name = "Fórum";
$btn4_link = "#";
//    BTN 5
//    Enable or Disable BTN 5
//    true = enable, false = disable
$btn5_enable = true;
$btn5_name = "HLstatsX";
$btn5_link = "#";
//    BTN 6
//    Enable or Disable BTN 6
//    true = enable, false = disable
$btn6_enable = false;
$btn6_name = "BUTTON";
$btn6_link = "#";
///////////////////////////////////////////////////////////////
//        SIDEBAR SETTINGS
//    Enable or Disable Sidebar
//    true = enable, false = disable
$sidebar_enable = true;
//    SID 1
$sid1_name = "EVIP";
$sid1_link = "#";
//    DEFAULT --> "#4CAF50"
$sid1_color = "#4CAF50";
//    DEFAULT --> "grade" Example: https://www.w3schools.com/icons/google_icons_action.asp
$sid1_icon = "grade";
//    SID 2
$sid2_name = "Obchod";
$sid2_link = "#";
//    DEFAULT --> "#2196F3"
$sid2_color = "#2196F3";
//    DEFAULT --> "shopping_cart" Example: https://www.w3schools.com/icons/google_icons_action.asp
$sid2_icon = "shopping_cart";
//    SID  LOGIN {default}
//    Enable or Disable Sidebar Login
//    true = enable, false = disable
$sidebar_login = true;
//    DEFAULT --> "#f44336"
$sid3_color = "#f44336";
//    DEFAULT --> "perm_identity" Example: https://www.w3schools.com/icons/google_icons_action.asp
$sid3_icon = "perm_identity";
///////////////////////////////////////////////////////////////
//        SEARCH SETTINGS
//    Enable or Disable Search
//    true = enable, false = disable
$search_enable = true;
//    Search button name
//    DEFAULT --> "Search"
$search_name = "Search";
//    Search button color
//    DEFAULT --> "#3473c1"
$search_color = "#3473c1";
///////////////////////////////////////////////////////////////
//        OTHER SETTINGS
//    Indicate scroll on the top of the page
//    true = enable, false = disable
$scroll_indicator = true;
//    Page background color
//    DEFAULT --> "#fcfcfc"
$page_background_color = "#fcfcfc";
//    Bans table color
//    DEFAULT --> "#2184ff"
$table_color = "#2184ff";
//    Display alert when version is out of date
//    true = enable, false = disable
$display_alert = true;
//        END
///////////////////////////////////////////////////////////////
ChangeLog:

Code:
1.0.0
Updated PHP.

Design remake.

+ menu, search and favicon.

+ colors.

...(little changes)


1.1.0
Repair of search.


1.2.0
Design remake.

Added details.


1.2.1
Fixed search.

Sql injection.


1.3.0
+ sidebar.

+ scroll indicator.

Better footer.

+ scroll to top.

New design.

New main menu.


1.4.0
+ link to admin, perp's steam profile.

+ settings file.


1.5.0
+ version control.

+ admin panel.

Search update.

+ sk translation.


1.5.1
Security fix.



CONTACT
Email: Email
PM: Message



Attached Files
File Type: zip ctbans_1.5.1.zip (33.1 KB, 147 views)
Post Reply

Return to “Statistical”