Linux webm008.cluster115.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.115.20.8 | : 216.73.216.59
Cant Read [ /etc/named.conf ]
8.1.34
quelfutuu
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
quelfutuu /
www /
grice /
ecrire /
inc /
[ HOME SHELL ]
Name
Size
Permission
Action
acces.php
13.5
KB
-rw----r--
actions.php
5.36
KB
-rw----r--
admin.php
9.46
KB
-rw----r--
auth.php
22.43
KB
-rw----r--
auth_handler.php
300
B
-rw-r--r--
autoriser.php
64.83
KB
-rw----r--
bandeau.php
8.42
KB
-rw----r--
boutons.php
2.49
KB
-rw----r--
charsets.php
28.17
KB
-rw----r--
chercher_logo.php
3.3
KB
-rw----r--
chercher_rubrique.php
11.33
KB
-rw----r--
commencer_page.php
4.49
KB
-rw----r--
completer_traduction.php
2.43
KB
-rw----r--
config.php
13.96
KB
-rw----r--
cookie.php
6.21
KB
-rw----r--
couleurs.php
3.24
KB
-rw----r--
csv.php
3.76
KB
-rw----r--
cvt_autosave.php
4.26
KB
-rw----r--
cvt_configurer.php
7.92
KB
-rw----r--
cvt_multietapes.php
10.15
KB
-rw----r--
definir_menus_favoris.php
1.08
KB
-rw----r--
distant.php
43.91
KB
-rw----r--
documents.php
8.84
KB
-rw----r--
drapeau_edition.php
6.82
KB
-rw----r--
editer.php
22.05
KB
-rw----r--
email_valide.php
1.74
KB
-rw----r--
envoyer_mail.php
7.67
KB
-rw----r--
exporter_csv.php
7.37
KB
-rw----r--
filtres.php
162.08
KB
-rw----r--
filtres_alertes.php
8.29
KB
-rw----r--
filtres_boites.php
4.79
KB
-rw----r--
filtres_dates.php
34.68
KB
-rw----r--
filtres_ecrire.php
17.33
KB
-rw----r--
filtres_images_lib_mini.php
59.89
KB
-rw----r--
filtres_images_mini.php
16.78
KB
-rw----r--
filtres_mime.php
4.72
KB
-rw----r--
filtres_mini.php
6.9
KB
-rw----r--
filtres_selecteur_generique.ph...
8.25
KB
-rw----r--
flock.php
20.88
KB
-rw----r--
genie.php
6.86
KB
-rw----r--
headers.php
7.77
KB
-rw----r--
icone_renommer.php
2.12
KB
-rw----r--
iconifier.php
1.37
KB
-rw----r--
importer_csv.php
4.8
KB
-rw----r--
index.php
2
B
-rw----r--
informer.php
2.95
KB
-rw----r--
install.php
15.69
KB
-rw----r--
invalideur.php
7.99
KB
-rw----r--
journal.php
1.11
KB
-rw----r--
json.php
2.2
KB
-rw----r--
lang.php
14.59
KB
-rw----r--
lang_liste.php
7.23
KB
-rw----r--
layer.php
5.93
KB
-rw----r--
lien.php
8.43
KB
-rw----r--
lien_court.php
1.17
KB
-rw----r--
liens.php
680
B
-rw----r--
lister_objets.php
2.13
KB
-rw----r--
livrer_fichier.php
7.7
KB
-rw----r--
log.php
3.43
KB
-rw----r--
math.php
4.42
KB
-rw----r--
meta.php
9.09
KB
-rw----r--
minipres.php
3.7
KB
-rw----r--
modeles.php
1.42
KB
-rw----r--
modifier.php
11.09
KB
-rw----r--
nfslock.php
11.47
KB
-rw----r--
notifications.php
5.76
KB
-rw----r--
pipelines.php
7.83
KB
-rw----r--
pipelines_ecrire.php
12.04
KB
-rw----r--
plonger.php
3.98
KB
-rw----r--
plugin.php
47.39
KB
-rw----r--
precharger_article.php
2.26
KB
-rw----r--
precharger_objet.php
7.2
KB
-rw----r--
prepare_recherche.php
5.72
KB
-rw----r--
preselectionner_parent_nouvel_...
2.19
KB
-rw----r--
presentation.php
8.63
KB
-rw----r--
presentation_mini.php
8.28
KB
-rw----r--
presenter_enfants.php
6.75
KB
-rw----r--
puce_statut.php
11.94
KB
-rw----r--
queue.php
20.62
KB
-rw----r--
recherche_to_array.php
8.15
KB
-rw----r--
rechercher.php
11.05
KB
-rw----r--
roles.php
12.12
KB
-rw----r--
rubriques.php
28.48
KB
-rw----r--
securiser_action.php
11.99
KB
-rw----r--
selectionner.php
5.27
KB
-rw----r--
session.php
21.59
KB
-rw----r--
simplexml_to_array.php
2.84
KB
-rw----r--
surligne.php
4.14
KB
-rw----r--
svg.php
19.55
KB
-rw----r--
texte.php
11.82
KB
-rw----r--
texte_mini.php
23.49
KB
-rw----r--
traduire.php
11.26
KB
-rw----r--
urls.php
11.05
KB
-rw----r--
utils.php
107.33
KB
-rw----r--
xml.php
7.47
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : puce_statut.php
<?php /***************************************************************************\ * SPIP, Système de publication pour l'internet * * * * Copyright © avec tendresse depuis 2001 * * Arnaud Martin, Antoine Pitrou, Philippe Rivière, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribué sous licence GNU/GPL. * \***************************************************************************/ /** * Gestion des puces de statut sur les objets * ainsi que des puces de changement rapide de statut. * * @package SPIP\Core\PuceStatut **/ if (!defined('_ECRIRE_INC_VERSION')) { return; } if (!defined('_ACTIVER_PUCE_RAPIDE')) { /** * Activer le changement rapide de statut sur les listes d'objets ? * * Peut ralentir un site sur des listes très longues. * * @var bool **/ define('_ACTIVER_PUCE_RAPIDE', true); } /** * Afficher la puce statut d'un objet * * Utilise une fonction spécifique pour un type d'objet si elle existe, tel que * puce_statut_$type_dist(), sinon tente avec puce_statut_changement_rapide(). * * @see puce_statut_changement_rapide() * * @param int $id_objet * Identifiant de l'objet * @param string $statut * Statut actuel de l'objet * @param int $id_parent * Identifiant du parent * @param string $type * Type d'objet * @param bool $ajax * Indique s'il ne faut renvoyer que le coeur du menu car on est * dans une requete ajax suite à un post de changement rapide * @param bool $menu_rapide * Indique si l'on peut changer le statut, ou si on l'affiche simplement * @return string * Code HTML de l'image de puce de statut à insérer (et du menu de changement si présent) */ function inc_puce_statut_dist( $id_objet, $statut, $id_parent, $type, $ajax = false, $menu_rapide = _ACTIVER_PUCE_RAPIDE ) { static $f_puce_statut = []; $type = objet_type($type); // cas prioritaire : fonction perso, qui permet aussi de gerer les cas historiques if (!isset($f_puce_statut[$type]) or is_null($f_puce_statut[$type])) { $f_puce_statut[$type] = charger_fonction($type, 'puce_statut', true); } if ($f_puce_statut[$type]) { return $f_puce_statut[$type]($id_objet, $statut, $id_parent, $type, $ajax, $menu_rapide); } // si statut_image trouve quelque chose (et '' est quelque chose) // composer une puce, avec si possible changement rapide elseif (!is_null($puce = puce_statut_changement_rapide($id_objet, $statut, $id_parent, $type, $ajax, $menu_rapide))) { return $puce; } // sinon fausse puce avec le type de l'image else { return http_img_pack("$type-16.png", ''); } } /** * Récuperer l'image correspondant au statut pour un objet éditorial indiqué * * Retrouve l'image correspondant au statut, telle que declarée dans * `declarer_tables_objets_sql` sous la forme : * * ``` * array( * 'imagepardefaut.png', * 'statut1' => 'imagestatut1.png', * 'statut2' => 'imagestatut2.png', * ... * ) * ``` * * Mettre une chaine vide pour ne pas avoir d'image pour un statut particulier. * * Si rien n'est declaré et que le statut est dans un des cas connus habituels * (prepa, prop, publie, refuse, poubelle), alors on renvoie l'image par défaut pour ce statut * * @param string $objet * @param string $statut * @return string|null * null si pas capable de déterminer l'image */ function statut_image($objet, $statut) { $src = null; $table = table_objet_sql($objet); $desc = lister_tables_objets_sql($table); if (isset($desc['statut_images'])) { // si une declaration statut_images // mais rien pour le statut demande, ne rien afficher $src = ''; if (isset($desc['statut_images'][$statut])) { $src = $desc['statut_images'][$statut]; } // sinon image par defaut ? elseif (isset($desc['statut_images'][0])) { $src = $desc['statut_images'][0]; } } else { switch ($statut) { case 'prepa': $src = 'puce-preparer-xx.svg?12px'; break; case 'prop': $src = 'puce-proposer-xx.svg?12px'; break; case 'publie': $src = 'puce-publier-xx.svg?12px'; break; case 'refuse': $src = 'puce-refuser-xx.svg?12px'; break; case 'poubelle': case 'poub': $src = 'puce-supprimer-xx.svg?12px'; break; } } return $src; } /** * Récupérer le titre correspondant au statut pour un objet éditorial indiqué * * Retrouve le titre correspondant au statut, tel qu'il a été declaré dans * `declarer_tables_objets_sql` sous la forme : * * ``` * array( * 'titre par defaut', * 'statut1' => 'titre statut 1', * 'statut2' => 'titre statut 2', * ... * ) * ``` * * Mettre une chaine vide pour ne pas avoir de titre pour un statut particulier. * * Si rien n'est declaré et que le statut est dans un des cas connus habituels * (prepa, prop, publie, refuse, poubelle), alors on renvoie le texte par défaut pour ce statut * * @param string $objet * @param string $statut * @return string */ function statut_titre($objet, $statut) { $titre = ''; $table = table_objet_sql($objet); $desc = lister_tables_objets_sql($table); if (isset($desc['statut_titres'])) { // si une declaration statut_titres // mais rien pour le statut demande, ne rien afficher if (isset($desc['statut_titres'][$statut])) { $titre = $desc['statut_titres'][$statut]; } // sinon image par defaut ? elseif (isset($desc['statut_titres'][0])) { $titre = $desc['statut_titres'][0]; } } else { switch ($statut) { case 'prepa': $titre = 'texte_statut_en_cours_redaction'; break; case 'prop': $titre = 'texte_statut_propose_evaluation'; break; case 'publie': $titre = 'texte_statut_publie'; break; case 'refuse': $titre = 'texte_statut_refuse'; break; case 'poubelle': case 'poub': $titre = 'texte_statut_poubelle'; break; } } return $titre ? _T($titre) : ''; } /** * Recuperer le texte correspondant au choix de statut, tel que declare dans * declarer_tables_objets_sql * sous la forme * array('statut1'=>'texte statut 1','statut2'=>'texte statut 2' ...) * mettre une chaine vide pour ne pas proposer un statut * les statuts seront proposes dans le meme ordre que dans la declaration * * si rien de declare et que le statut est dans les cas connus (prepa, prop, publie, refuse, poubelle) * renvoyer le texte par defaut * * @param string $objet * @param string $statut * @return string */ function statut_texte_instituer($objet, $statut) { $texte = ''; $table = table_objet_sql($objet); $desc = lister_tables_objets_sql($table); if (isset($desc['statut_textes_instituer'])) { // si une declaration statut_titres // mais rien pour le statut demande, ne rien afficher if (isset($desc['statut_textes_instituer'][$statut])) { $texte = $desc['statut_textes_instituer'][$statut]; } } else { switch ($statut) { case 'prepa': $texte = 'texte_statut_en_cours_redaction'; break; case 'prop': $texte = 'texte_statut_propose_evaluation'; break; case 'publie': $texte = 'texte_statut_publie'; break; case 'refuse': $texte = 'texte_statut_refuse'; break; case 'poubelle': case 'poub': $texte = 'texte_statut_poubelle'; break; } } return $texte ? _T($texte) : ''; } /** * Afficher la puce statut d'un auteur * * Ne semble plus servir : desactive * Hack de compatibilite: les appels directs ont un $type != 'auteur' * si l'auteur ne peut pas se connecter * * @param int $id * @param string $statut * @param int $id_parent * @param string $type * @param string $ajax * @param bool $menu_rapide * @return string */ function puce_statut_auteur_dist($id, $statut, $id_parent, $type, $ajax = '', $menu_rapide = _ACTIVER_PUCE_RAPIDE) { $img = statut_image('auteur', $statut); if (!$img) { return ''; } $alt = statut_titre('auteur', $statut); $fond = ''; $titre = ''; /* if ($type != 'auteur') { $img2 = chemin_image('del-16.png'); $titre = _T('titre_image_redacteur'); $fond = http_style_background($img2, 'top left no-repeat;'); } else { } */ return http_img_pack($img, $alt, $fond, $alt); } function puce_statut_rubrique_dist($id, $statut, $id_rubrique, $type, $ajax = '', $menu_rapide = _ACTIVER_PUCE_RAPIDE) { return http_img_pack('rubrique-16.png', ''); } /** * Retourne le contenu d'une puce avec changement de statut possible * si on en a l'autorisation, sinon simplement l'image de la puce * * @param int $id * Identifiant de l'objet * @param string $statut * Statut actuel de l'objet * @param int $id_rubrique * Identifiant du parent, une rubrique * @param string $type * Type d'objet * @param bool $ajax * Indique s'il ne faut renvoyer que le coeur du menu car on est * dans une requete ajax suite à un post de changement rapide * @param bool $menu_rapide * Indique si l'on peut changer le statut, ou si on l'affiche simplement * @return string * Code HTML de l'image de puce de statut à insérer (et du menu de changement si présent) **/ function puce_statut_changement_rapide( $id, $statut, $id_rubrique, $type = 'article', $ajax = false, $menu_rapide = _ACTIVER_PUCE_RAPIDE ) { $src = statut_image($type, $statut); if (!$src) { return $src; } if ( !$id or !_SPIP_AJAX or !$menu_rapide ) { $ajax_node = ''; } else { $ajax_node = " class='imgstatut$type$id'"; } $t = statut_titre($type, $statut); $inser_puce = http_img_pack($src, $t, $ajax_node, $t); if (!$ajax_node) { return $inser_puce; } $table = table_objet_sql($type); $desc = lister_tables_objets_sql($table); if (!isset($desc['statut_textes_instituer'])) { return $inser_puce; } if (!function_exists('autoriser')) { include_spip('inc/autoriser'); } // cas ou l'on a un parent connu (devrait disparaitre au profit du second cas plus generique) if ($id_rubrique) { if (!autoriser('publierdans', 'rubrique', $id_rubrique)) { return $inser_puce; } } // si pas d'id_rubrique fourni, tester directement instituer type avec le statut publie else { if (!autoriser('instituer', $type, $id, null, ['statut' => 'publie'])) { return $inser_puce; } } $coord = array_flip(array_keys($desc['statut_textes_instituer'])); if (!isset($coord[$statut])) { return $inser_puce; } $unit = 18/*widh de img*/ + 0/*padding*/ ; $margin = 0; /* marge a gauche + droite */ $zero = 0 /*border*/ + $margin / 2 + 0 /*padding*/ ; $clip = $zero + ($unit * $coord[$statut]); if ($ajax) { $width = $unit * (is_countable($desc['statut_textes_instituer']) ? count($desc['statut_textes_instituer']) : 0) + $margin; $out = "<span class='puce_objet_fixe $type'>" . $inser_puce . '</span>' . "<span class='puce_objet_popup $type statutdecal$type$id' style='width:{$width}px;margin-left:-{$clip}px;'>"; $i = 0; foreach ($desc['statut_textes_instituer'] as $s => $t) { $out .= afficher_script_statut($id, $type, -$zero - $i++ * $unit, statut_image($type, $s), $s, _T($t)); } $out .= '</span>'; return $out; } else { $nom = 'puce_statut_'; $action = generer_url_ecrire('puce_statut', '', true); $lang_dir = lang_dir(lang_typo()); return "<span class='puce_objet $type' id='$nom$type$id' dir='$lang_dir' data-puce-nom='$nom' data-puce-type='$type' data-puce-id='$id' data-puce-action='$action'>" . $inser_puce . '</span>'; } } function afficher_script_statut($id, $type, $n, $img, $statut, $titre, $act = '') { $h = generer_action_auteur('instituer_objet', "$type-$id-$statut"); $t = supprimer_tags($titre); return "<a href=\"#\" data-puce-id=\"$id\" data-puce-type=\"$type\" data-puce-decal=\"$n\" data-puce-action=\"$h\" title=\"$t\"$act>" . http_img_pack($img, $t) . '</a>'; } // compat // La couleur du statut function puce_statut($statut, $atts = '') { $src = statut_image('article', $statut); if (!$src) { return ''; } return http_img_pack($src, statut_titre('article', $statut), $atts); }
Close