uawdijnntqw1x1x1
IP : 216.73.217.34
Hostname : webm019.cluster129.gra.hosting.ovh.net
Kernel : Linux webm019.cluster129.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
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
checkyd
/
www
/
local
/
.
/
..
/
plugins-dist
/
petitions
/
action
/
traiter_lot_signature.php
/
/
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2020 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * \***************************************************************************/ if (!defined("_ECRIRE_INC_VERSION")) { return; } function action_traiter_lot_signature_dist($arg = null) { if (is_null($arg)) { $securiser_action = charger_fonction('securiser_action', 'inc'); $arg = $securiser_action(); } /** * $arg contient l'action relancer/supprimer/valider * les id sont dans un tableau non signe ids[] */ if (preg_match(",^(\w+)$,", $arg, $match) and in_array($statut = $match[1], array('relancer', 'supprimer', 'valider')) and autoriser('modererlot', 'petition') ) { $where = ''; if (intval($id_petition = _request('id_petition'))) { $where = "id_petition=" . intval($id_petition); // pour relancer ou valider on ne prend que celles en attente if (in_array($statut, array('relancer', 'valider'))) { $where .= " AND statut!='publie' AND statut!='poubelle'"; } } else { $ids = _request('ids'); if (is_array($ids)) { $ids = array_map('intval', $ids); $where = sql_in('id_signature', $ids); } } if ($where) { $rows = sql_allfetsel("id_signature", "spip_signatures", $where); if (!count($rows)) { return; } $rows = array_map('reset', $rows); if ($action = charger_fonction($statut . "_signature", 'action', true)) { foreach ($rows as $id_signature) { $action($id_signature); } } } } }
/home/checkyd/www/local/./../plugins-dist/petitions/action/traiter_lot_signature.php