source: pmb4.2/trunk/fuentes/pmb/circ/pret_ajax/confirm_pret.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 740 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: confirm_pret.inc.php,v 1.3 2012-02-29 15:41:05 dbellamy Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once($class_path."/ajax_pret.class.php");
10// init de la class
11$expl = new do_pret();
12       
13if ( is_array($id_expl)) {
14        foreach($id_expl as $id) {
15
16                $status= $expl->confirm_pret($id_empr, $id, $short_loan);               
17        }
18        ajax_http_send_response("$status","text/xml"); 
19} else {
20        $status = $expl->confirm_pret($id_empr, $id_expl, $short_loan);
21        ajax_http_send_response("$status","text/xml");
22}
23?>
Note: See TracBrowser for help on using the repository browser.