source: pmb4.1/trunk/fuentes/pmb/circ/retour.inc.php @ 478

Last change on this file since 478 was 478, checked in by mabarracus, 4 years ago

copy trusty code 4.1

  • Property svn:executable set to *
File size: 978 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: retour.inc.php,v 1.33 2010-07-06 10:08:48 ngantier Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once("$class_path/emprunteur.class.php");
10require_once("$class_path/serial_display.class.php");
11require_once("$class_path/comptes.class.php");
12require_once("$class_path/amende.class.php");
13require_once("$include_path/resa.inc.php");
14require_once("$class_path/expl_to_do.class.php");
15
16// gestion des retours
17if ($_GET['cb_expl']) {
18        $form_cb_expl=$_GET['cb_expl'];
19        $_GET['cb_expl']='';
20        $confirmed=1;
21} else {
22        if ($pmb_confirm_retour) $confirmed=0;
23                else $confirmed=1;
24}       
25
26$expl=new expl_to_do($form_cb_expl);
27
28if($form_cb_expl) {
29        $expl->do_form_retour($action_piege,$piege_resa);
30}
31print $expl->cb_tmpl.$expl->expl_form;
32
Note: See TracBrowser for help on using the repository browser.