Viewing file: config.php (8.15 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
//DATABASE
$dbhost="localhost";
$dbuser="jaime";
$dbpass="123";
$dbname="dama";
//PUT THE NAME OF YOUR WEBSITE HERE
$website="www.dama.gov.co";
// LANGUAGES
// Thanks to Alvaro for the spanish translation.
// Thanks to nomenland for the dutch translation.
// Thanks to Poulain Patrick for the french translation, and some hints (javascript)
// Thanks to G I N T A R A S for the lithuanian translation.
// Thanks to Lynx for the czech translation.
// Thanks to Mikail Tekin for the turkish translation.
// Thanks to Sonny C. Jørgensen for the danish translation.
// eglish, german, french, spanish, dutch, lithuanian, czech, danish or turkish
$language = "spanish";
//WHOIS PROVIDER INFO (with external phpwhois class)
$whois = false;
//VERSION
$version = "2.0";
//PROTECT THE STATISTICS WITH PASSWORD (OTHERWISE SET $password = "";)
$password = "123";
//CHECK FOR UPDATES (RECOMENDED, IF YOU WANT YOU CAN TURN ON ONLY ONCE A MONTH - SO YOU WILL BE INFORMED)
$check_updates = true;
//BLACKLIST (IP's WHICH SHOULD NOT BE COUNTED - YOUR OWN FOR EXAMPLE (SEPERATED BY ENTER OR BLANK)
$blacklist = "192.168.10.2";
switch($language){
case "german":
$t_day = "TAG";
$t_month = "MONAT";
$t_year = "JAHR";
$t_periods_grafic = "ANZEIGE PERIODEN GRAFISCH";
$t_last_periods = "LETZTEN PERIODEN";
$t_top10 = "TOP 10 TAGE";
$t_browser = "BROWSER";
$t_os = "BETRIEBSSYSTEME";
$t_color_depth = "FARBTIEFE";
$t_colors = "Farben";
$t_screen = "AUFLÖSUNG";
$t_pixel = "Pixel";
$t_last_ips = "LETZTEN IP'S";
$t_visitors = "Besucher";
$t_referer = "REFERER";
$t_provider = "WHOIS PROVIDER";
$t_visits_today = "Besucher heute";
$t_visits_all = "Besucher gesamt";
$t_counter = "ZÄHLER";
$t_back = "zurück";
$t_next = "weiter";
$notknowntype = "[unbekannt]";
break;
case "english":
$t_day = "DAY";
$t_month = "MONTH";
$t_year = "YEAR";
$t_periods_grafic = "LAST PERIODS GRAPHICAL";
$t_last_periods = "LAST PERIODS";
$t_top10 = "TOP 10 DAYS";
$t_browser = "BROWSER";
$t_os = "OS";
$t_color_depth = "COLOR DEPTH";
$t_colors = "colors";
$t_screen = "SCREEN RESOLUTION";
$t_pixel = "pixel";
$t_last_ips = "LAST IP'S";
$t_visitors = "visits";
$t_referer = "REFERER";
$t_provider = "WHOIS PROVIDER";
$t_visits_today = "visits today";
$t_visits_all = "visits total";
$t_counter = "COUNTER";
$t_back = "back";
$t_next = "next";
$notknowntype = "[unknown]";
break;
case "spanish":
$t_day = "DIA";
$t_month = "MES";
$t_year = "AÑOS";
$t_periods_grafic = "ULTIMOS GRAFICOS POR PERIODO";
$t_last_periods = "ULTIMOS PERIODOS";
$t_top10 = "TOP 10 DIAS";
$t_browser = "NAVEGADOR";
$t_os = "SO";
$t_color_depth = "PROFUNDIDAD DE PANTALLA";
$t_colors = "colores";
$t_screen = "SCREEN RESOLUTION";
$t_pixel = "pixel";
$t_last_ips = "Recientes IP'S";
$t_visitors = "visitas";
$t_referer = "REFERIDOS";
$t_provider = "WHOIS PROVIDER";
$t_visits_today = "Visitas de la fecha";
$t_visits_all = "Total de visitas";
$t_counter = "CONTADOR";
$t_back = "atras";
$t_next = "siguiente";
$notknowntype = "[desconocido]";
break;
case "dutch":
$t_day = "DAG";
$t_month = "MAAND";
$t_year = "JAAR";
$t_periods_grafic = "LAATSTE PERIODE GRAFISCH";
$t_last_periods = "LAATSTE PERIODE";
$t_top10 = "TOP 10 DAGEN";
$t_browser = "BROWSER";
$t_os = "OS";
$t_color_depth = "KLEUR KWALITEIT";
$t_colors = "kleuren";
$t_screen = "BEELD SCHERM RESOLUTION";
$t_pixel = "pixel";
$t_last_ips = "LAASTE IP'S";
$t_visitors = "bezoekers";
$t_referer = "REFERER";
$t_provider = "WELKE PROVIDER";
$t_visits_today = "bezoekers vandaag";
$t_visits_all = "bezoekers totaal";
$t_counter = "TELLER";
$t_back = "terug";
$t_next = "volgende";
$notknowntype = "[onbekend]";
break;
case "french":
$t_day = "JOURS";
$t_month = "MOIS";
$t_year = "ANNEES";
$t_periods_grafic = "GRAPHIQUES DES DERNIERES PERIODES";
$t_last_periods = "DERNIERES PERIODES";
$t_top10 = "TOP 10 JOURS";
$t_browser = "NAVIGATEUR";
$t_os = "SYSTEME D'EXPLOITATION";
$t_color_depth = "PROFONDEUR DE COULEUR";
$t_colors = "couleurs";
$t_screen = "RESOLUTION ECRAN";
$t_pixel = "pixel";
$t_last_ips = "DERNIERES IP";
$t_visitors = "visites";
$t_referer = "REFERERENTS";
$t_provider = "FOURNISSEUR WHOIS";
$t_visits_today = "visites aujourd'hui";
$t_visits_all = "visites totales";
$t_counter = "COMPTEUR";
$t_back = "précédent";
$t_next = "suivant";
$notknowntype = "[inconnu]";
break;
case "lithuanian":
$t_day = "DIENA";
$t_month = "MENUO";
$t_year = "METAI";
$t_periods_grafic = "PASKUTINIO LAIKOTARPIO GRAFIKAS";
$t_last_periods = "PASKUTINIAI LAIKOTARPIAI";
$t_top10 = "TOP 10 DIENU";
$t_browser = "NARSYKLE";
$t_os = "OS";
$t_color_depth = "SPALVU GYLIS";
$t_colors = "spalvos";
$t_screen = "EKRANO RAISKA";
$t_pixel = "pixelai";
$t_last_ips = "PASKUTINIAI IP";
$t_visitors = "apsilankymai";
$t_referer = "REFERERIS";
$t_provider = "KAS TIEKEJAS";
$t_visits_today = "apsilankymu siandien";
$t_visits_all = "apsilankymu is viso";
$t_counter = "SKAITLIUKAS";
$t_back = "atgal";
$t_next = "sekantis";
$notknowntype = "[nezinomas]";
break;
case "czech":
$t_day = "DEN";
$t_month = "MESIC";
$t_year = "ROK";
$t_periods_grafic = "ZOBRAZIT OBDOBI";
$t_last_periods = "POSLEDNI OBDOBI";
$t_top10 = "TOP 10 DNU";
$t_browser = "PROHLIZEC";
$t_os = "OPERACNI SYSTEM";
$t_color_depth = "BAREVNA HLOUBKA";
$t_colors = "barev";
$t_screen = "ROZLISENI OBRAZOVKY";
$t_pixel = "pixelu";
$t_last_ips = "POSLEDNI IP";
$t_visitors = "navstev";
$t_referer = "ODKUD PRISLI";
$t_provider = "WHOIS";
$t_visits_today = "navstev dnes";
$t_visits_all = "navstev celkem";
$t_counter = "POCITADLO";
$t_back = "predchozi";
$t_next = "dalsi";
$notknowntype = "[neznamy]";
break;
case "turkish":
$t_day = "GÜN";
$t_month = "AY";
$t_year = "YIL";
$t_periods_grafic = "GRAFİKSEL SON PERİYOTLAR";
$t_last_periods = "SON PERİYOTLAR";
$t_top10 = "TOP 10 GÜN";
$t_browser = "TARAYICI";
$t_os = "İŞLETİM SİSTEMİ";
$t_color_depth = "RENK ARALIĞI";
$t_colors = "renkler";
$t_screen = "EKRAN ÇÖZÜNÜRLÜĞÜ";
$t_pixel = "noktacık";
$t_last_ips = "SON IP'LER";
$t_visitors = "ziyaretçi sayısı";
$t_referer = "REFERER";
$t_provider = "WHOIS SUNUCUSU";
$t_visits_today = "günlük ziyaretçi sayısı";
$t_visits_all = "toplam ziyaretçi sayısı";
$t_counter = "SAYAÇ";
$t_back = "geri";
$t_next = "ileri";
$notknowntype = "[bilinmeyen]";
break;
case "danish":
$t_day = "Dag";
$t_month = "Månede";
$t_year = "År";
$t_periods_grafic = "Sidste periode grafisk";
$t_last_periods = "Sidste periode";
$t_top10 = "Top 10 dage";
$t_browser = "Browser";
$t_os = "Operativ system";
$t_color_depth = "Farve dybde";
$t_colors = "Farver";
$t_screen = "Skærm Opløsning";
$t_pixel = "pixel";
$t_last_ips = "Sidste Ip Adresser";
$t_visitors = "Besøgende";
$t_referer = "REFERER";
$t_provider = "WHOIS Udbyder";
$t_visits_today = "Besøgende Idag";
$t_visits_all = "Besøgende Total";
$t_counter = "Tæller";
$t_back = "Tilbage";
$t_next = "Frem";
$notknowntype = "[Ukendt]";
break;
}
?>
|