1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr-FR">
<head>
<title>
<?php
if(isset($pagetitle)) {
echo SITENAMELONG .' - '. $pagetitle;
}
?>
</title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo CHARSET; ?>" />
<meta http-equiv="content-language" content="fr-FR" />
<meta name="language" content="fr-FR" />
<meta name="robots" content="all" />
<meta name="description" content="<?php echo SITEDESCRIPTION; ?>" />
<meta name="keywords" content="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
<meta name="author" content="xxxxxxxxxx" />
<meta name="generator" content="Vim" />
<link rel="icon" href="<?php echo SITEURL; ?>/favicon.ico" />
<link rel="author" href="mailto:<?php echo SITEMAIL; ?>" xml:lang="fr-FR" title="<?php echo SITEOWNORNAME; ?>" />
<link rel="stylesheet" href="<?php echo SITEURL; ?>/style/normalize.css" />
<link rel="stylesheet" href="<?php echo SITEURL; ?>/style/main.css" />
<link rel="stylesheet" href="<?php echo SITEURL; ?>/style/strength.css" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!-- SCEditor -->
<!-- Include the default theme -->
<link rel="stylesheet" href="<?php echo SITEURL; ?>/js/SCEditor/themes/default.min.css" type="text/css" media="all" />
<!-- Include the editors JS -->
<script type="text/javascript" src="<?php echo SITEURL; ?>/js/SCEditor/jquery.sceditor.bbcode.min.js"></script>
<script type="text/javascript" src="<?php echo SITEURL; ?>/js/SCEditor/languages/fr.js"></script>
<script>
$(function() {
// Convert all textareas to SCEditor instances
// Change the "textarea" to convert specific textareas
$("textarea").sceditor({
// Load the BBCode plugin
plugins: "bbcode",
// Use jquery.sceditor.default.min.css to style the content
style: "js//SCEditor/jquery.sceditor.default.min.css",
// Locale
locale: 'fr',
// Toolbar
//toolbar: 'bold,italic,underline|left,center,right,justify|size,color,removeformat|image,link,unlink|maximize,source'
toolbar: 'bold,italic,underline|left,center,right,justify|color,removeformat|code,quote,image,link,unlink|maximize,source'
});
});
</script>
<!-- Script : Menu -->
<script type="text/javascript">
<!--
sfHover = function() {
var sfEls = document.getElementById("menu").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
-->
</script>
<!-- Vérif mot de passe -->
<script type="text/javascript" language="javascript" src="<?php echo SITEURL; ?>/js/passwd.js"></script>
<script type="text/javascript" language="javascript">
jQuery(document).ready(function() {
$('#username').keyup(function(){$('#result').html(passwordStrength($('#password').val(),$('#username').val()))})
$('#password').keyup(function(){$('#result').html(passwordStrength($('#password').val(),$('#username').val()))})
})
function showMore()
{
$('#more').slideDown()
}
</script>
<!-- Suppression d'un post (torrent) par son auteur -->
<script language="JavaScript" type="text/javascript">
function deltorr(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = '../viewpost.php?deltorr=' + id;
}
}
</script>
<!-- Suppression d'un post (torrent) par l'Admin -->
<script language="JavaScript" type="text/javascript">
function delpost(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = 'index.php?delpost=' + id;
}
}
</script>
<!-- Suppression d'une caégorie par l'Admin -->
<script language="JavaScript" type="text/javascript">
function delcat(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = 'categories.php?delcat=' + id;
}
}
</script>
<!-- Suppression d'une licence par l'Admin -->
<script language="JavaScript" type="text/javascript">
function dellicence(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = 'licences.php?dellicence=' + id;
}
}
</script>
<!-- Suppression d'un membre par l'Admin -->
<script language="JavaScript" type="text/javascript">
function deluser(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = 'users.php?deluser=' + id + '&delname=' + title;
}
}
</script>
<!-- Suppression de l'avatar du membre -->
<script language="JavaScript" type="text/javascript">
function delavatar(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = 'edit-profil.php?delavatar=' + id + '&delname=' + title;
}
}
</script>
<!-- Suppression de l'image du torrent -->
<script language="JavaScript" type="text/javascript">
function delimage(id, title) {
if (confirm("Etes-vous certain de vouloir supprimer '" + title + "'")) {
window.location.href = 'edit-post.php?delimage=' + id;
}
}
</script>
</head>
|