Subversion Repositories ALCASAR

Rev

Rev 648 | Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
318 richard 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML><!-- written by Rexy -->
3
<HEAD>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
<?
6
$bl_dir="/etc/dansguardian/lists/blacklists/";
7
# Choice of language
8
$Language = 'en';
9
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
10
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
11
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
12
if($Language == 'fr'){
13
  $l_title = "Catégories de la liste noire";
14
  $l_error_open_file="Erreur d'ouverture du fichier";
15
  $l_close="Fermer";
16
  $l_unknown_cat="Cette catégorie n'est pas décrite";
17
  $l_nb_domains="Nombre de noms de domaine filtrés :";
18
  $l_nb_urls="Nombre d'URL filtrés :";
19
  $l_explain_adult="Sites relatifs à l'érotisme et à la pornographie";
20
  $l_explain_agressif="Sites extrémistes, racistes, antisémites ou incitant à la haine";
21
  $l_explain_astrology="Sites relatifs à l'astrologie";
22
  $l_explain_audio_video="Sites de téléchargement de fichiers audio et vidéo";
23
  $l_explain_blog="Sites d'hébergement de blogs";
24
  $l_explain_celebrity="Sites « people », stars, etc.";
25
  $l_explain_chat="Sites de dialogue en ligne";
26
  $l_explain_child="Sites pour enfants";
27
  $l_explain_cleaning="Sites relatifs à la mise à jour logicielle ou antivirale";
28
  $l_explain_filehosting="Entrepôts de fichiers  (vidéo, images, son, logiciels, etc.)";
29
  $l_explain_financial="Sites d'informations financières, bourses, etc.";
30
  $l_explain_forums="Sites d'hébergement de forums de discussion";
31
  $l_explain_games="Sites de jeux en ligne";
32
  $l_explain_liste_bu="Liste de sites éducatifs pour bibliothèque";
33
  $l_explain_manga="Site de Mangas";
34
  $l_explain_mobile_phone="Sites relatifs aux mobiles GSM (sonneries, logos, etc.)";
35
  $l_explain_press="Sites de presse";
36
  $l_explain_publicite="Sites ou bannières publicitaires";
37
  $l_explain_radio="Sites de radios en ligne ou de podcast";
38
  $l_explain_reaffected="Sites connus ayant changé de propriétaire (et donc de contenu)";
39
  $l_explain_remote_control="Sites permettant la prise de controle a distance";
40
  $l_explain_sexual_education="Sites relatifs à l'éducation sexuelle";
41
  $l_explain_shopping="Sites de vente et d'achat en ligne";
42
  $l_explain_webmail="Site WEB permettant de consultation son courrier électronique";
43
  $l_explain_dangerous_material="Sites relatifs à la création de produits dangereux (explosif, poison, etc.)";
44
  $l_explain_dating="Sites de rencontres en ligne";
45
  $l_explain_drogue="Sites relatifs aux produits stupéfiants";
46
  $l_explain_gambling="Sites de jeux d'argent en ligne (casino, grattage virtuel, etc.)";
47
  $l_explain_hacking="Sites relatifs au piratage informatique";
48
  $l_explain_malware="Site relatifs au logiciels malveillants (virus, vers, trojans, etc.)";
49
  $l_explain_marketingware="Sites marchands douteux (X, organes, enfants, etc.)";
50
  $l_explain_mixed_adult="Sites pour adultes (image-choc, gore, guerre, etc.)";
51
  $l_explain_ossi="Liste noire secondaire";
52
  $l_explain_phishing="Sites relatifs à l'hammeçonnage (pièges bancaires, redirection, etc.)";
53
  $l_explain_redirector="Sites de redirection, d'anonymisation ou de contournement";
54
  $l_explain_sect="Sites sectaires";
55
  $l_explain_strict_redirector="URL intentionnellement mal formées";
56
  $l_explain_strong_redirector="URL mal formées dans une requête « google »";
57
  $l_explain_tricheur="Sites relatifs aux tricheries (examens, concours, etc.)";
58
  $l_explain_warez="Sites relatifs aux logiciels piratés (crackés), aux générateurs de clés, etc.";
59
}
60
else {
61
  $l_title = "Blacklist categories";
62
  $l_error_open_file="Error opening the file";
63
  $l_close="Close";
64
  $l_unknown_cat="This category isn't describe";
65
  $l_nb_domains="Number of filtered domain names :";
66
  $l_nb_urls="Number of filtered URL :";
67
  $l_explain_adult="Sites related to eroticism and pornography";
68
  $l_explain_agressif="Sites extremist, racist, anti-Semitic or hate";
69
  $l_explain_astrology="Sites related to astrology";
70
  $l_explain_audio_video="Sites for downloading audio and video";
71
  $l_explain_blog="Sites hosting blogs";
72
  $l_explain_celebrity="Sites « people », stars, etc.";
73
  $l_explain_chat="Online chat sites";
74
  $l_explain_child="Sites for children";
75
  $l_explain_cleaning="Sites related to software update or antiviral";
76
  $l_explain_filehosting="Warehouses of files (video, images, sound, software, etc.)";
77
  $l_explain_financial="Sites of financial information";
78
  $l_explain_forums="Sites hosting discussion forums";
79
  $l_explain_games="Online games sites";
80
  $l_explain_liste_bu="List of educational sites for library";
81
  $l_explain_manga="Manga site";
82
  $l_explain_mobile_phone="Sites related to GSM mobile (ringtones, logos, etc.)";
83
  $l_explain_press="News sites";
84
  $l_explain_publicite="Advertising sites";
85
  $l_explain_radio="Online radio podcast sites";
86
  $l_explain_reaffected="Sites that have changed ownership (and therefore content)";
87
  $l_explain_remote_control="Sites for making remote control";
88
  $l_explain_sexual_education="Sites related to sex education";
89
  $l_explain_shopping="Shopping sites and online shopping";
90
  $l_explain_webmail="Web sites for e-mail consultation";
91
  $l_explain_dangerous_material="Sites related to the creation of dangerous goods (explosives, poison, etc.)";
92
  $l_explain_dating="Online dating sites";
93
  $l_explain_drogue="Sites related to narcotic";
94
  $l_explain_gambling="Online gambling sites (casino, virtual scratching, etc.)";
95
  $l_explain_hacking="Sites related to hacking";
96
  $l_explain_malware="Malware sites (viruses, worms, trojans, etc.).";
97
  $l_explain_marketingware="doubtful commercial sites";
98
  $l_explain_mixed_adult="Adult sites (shock, gore, war, etc.).";
99
  $l_explain_ossi="Secondary blaclist";
100
  $l_explain_phishing="Phishing sites (traps banking, redirect, etc..)";
101
  $l_explain_redirector="redirects, anonymization or bypass sites";
102
  $l_explain_sect="Sectarian sites";
103
  $l_explain_strict_redirector="Intentionally malformed URL";
104
  $l_explain_strong_redirector="Malformed URL in a 'google' query";
105
  $l_explain_tricheur="Sites related to cheating (tests, examinations, etc.)";
106
  $l_explain_warez="Sites related to cracked softwares";
107
}
108
if (isset($_GET['cat'])){$categorie=$_GET['cat'];} 
109
$bl_categorie_domain_file=$bl_dir.$categorie."/domains";
110
$bl_categorie_url_file=$bl_dir.$categorie."/urls";
111
if (file_exists($bl_categorie_domain_file))
112
	$nb_domains=exec ("wc -w $bl_categorie_domain_file|cut -d' ' -f1");
113
else
114
	$nb_domains=$l_error_openfilei." ".$bl_categorie_domain_file;
115
if (file_exists($bl_categorie_url_file))
116
	$nb_urls=exec ("wc -w $bl_categorie_url_file|cut -d' ' -f1");
117
else
118
	$nb_urls=$l_error_openfile." ".$bl_categorie_url_file;
119
echo "<TITLE>$l_title</TITLE>";
120
?>
121
<link rel="stylesheet" href="/css/style.css" type="text/css">
122
</HEAD>
123
<body>
124
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
125
	<tr><th><?php echo $categorie ;?></th></tr>
126
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
127
</TABLE>
128
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
129
<tr><td valign="middle" align="left">
130
<?php
131
$compat_categorie=strtr($categorie,"-","_");
132
if (!empty(${'l_explain_'.$compat_categorie}))
133
	echo "<center><b>${'l_explain_'.$compat_categorie}</b></center>";
134
else echo "$l_unknown_cat";
135
echo "<br>$l_nb_domains <b>$nb_domains</b><br>";
136
echo "$l_nb_urls <b>$nb_urls</b><br>";
137
?>
138
</td></tr>
139
</TABLE>
140
<br>
141
<center><a href="javascript:window.close();"><b><?php echo "$l_close"; ?></b></a></center>
142
</BODY>
143
</HTML>