diff options
author | citizenz7 <citizenz7@protonmail.com> | 2017-04-20 18:50:55 +0200 |
---|---|---|
committer | citizenz7 <citizenz7@protonmail.com> | 2017-04-20 18:50:55 +0200 |
commit | 5fd9fa480f302902328b81f912dd67ce378284f8 (patch) | |
tree | 66234843ae2857fda12442e4f7577c527d48977c /Html/includes/header.php | |
parent | ebe731862c7c741171138b1083906f391fc35aff (diff) | |
download | freetorrent-5fd9fa480f302902328b81f912dd67ce378284f8.tar.xz freetorrent-5fd9fa480f302902328b81f912dd67ce378284f8.zip |
V.1.4.6
Diffstat (limited to 'Html/includes/header.php')
-rw-r--r-- | Html/includes/header.php | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/Html/includes/header.php b/Html/includes/header.php new file mode 100644 index 0000000..1f53595 --- /dev/null +++ b/Html/includes/header.php @@ -0,0 +1,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="freetorrent,bittorrent,partage,peer,p2p,libre,opensource,téléchargement,torrent,php,mysql,debian,arch,fedora,ubuntu,film,video,mp3,musique,music,wave,ac3,mkv,avi,mpeg,bunny,elephant," /> + <meta name="author" content="mumbly58" /> + <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> |