* Flunker is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Flunker is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Flunker. If not, see <http://www.gnu.org/licenses/>. */ require_once './inc/flunker_api.php'; if (!isset($_SESSION['list_guild']) || empty($_SESSION['list_guild'])) { $_SESSION['error'] = html_err_lost_session(); session_write_close(); header('Location: index.php?'); } if (isset($_GET['room']) == true) { $_SESSION['room_type'] = $_GET['room']; } $room_type = $_SESSION['room_type']; $possibility_of_order = unserialize($_SESSION[$room_type]['possibility_and_order_of_sorters']); $nb_activated_sorters = (int) $_SESSION[$room_type]['nb_activated_sorters']; $filter_form = $_SESSION[$room_type]['filter_form']; $last_filter_line = $_SESSION[$room_type]['last_filter_line']; $nb_items = $_SESSION[$room_type]['nb_items']; ?> <!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="<?php
* * Flunker is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Flunker. If not, see <http://www.gnu.org/licenses/>. */ require_once './inc/flunker_api.php'; //ryzom_log_start('Flunker'); if (!isset($_SESSION['list_guild']) || empty($_SESSION['list_guild'])) { header('Content-type: text/plain; charset=utf-8'); echo ' <div class="error"> ' . html_err_lost_session(true) . ' </div>'; exit; } if (!empty($_POST['room'])) { $room = $_POST['room']; } else { $room = 'armory'; } @(include dirname(__FILE__) . '/local/' . $_SESSION['lang'] . '.code_' . $room . '.php'); $items = $_SESSION[$room]['items']; $possibility_of_order = unserialize($_SESSION[$room]['possibility_and_order_of_sorters']); if (!empty($_POST['order'])) { $sortway = array(); if (!empty($_POST['sortway'])) { $sortway = $_POST['sortway'];