source: pmb4.2/trunk/fuentes/pmb/print_doc_dsi.php @ 819

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

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 2.1 KB
Line 
1<?php
2// +--------------------------------------------------------------------------+
3// | PMB est sous licence GPL, la réutilisation du code est cadrée            |
4// +--------------------------------------------------------------------------+
5// $Id: print_doc_dsi.php,v 1.5 2014-06-02 13:21:26 dgoron Exp $
6
7//Impression DSI
8
9$base_path = ".";
10$base_auth = "DSI_AUTH";
11$base_title = "\$msg[dsi_menu_title]";
12$base_nobody=1;
13$base_noheader=1;
14
15
16require($base_path."/includes/init.inc.php");
17
18require_once($class_path."/mono_display.class.php");
19require_once($include_path."/notice_authors.inc.php");
20require_once($include_path."/notice_categories.inc.php");
21require_once($class_path."/author.class.php");
22require_once($class_path."/editor.class.php");
23require_once($include_path."/isbn.inc.php");
24require_once($class_path."/collection.class.php");
25require_once($class_path."/subcollection.class.php");
26require_once($class_path."/serie.class.php");
27require_once($include_path."/explnum.inc.php");
28require_once($class_path."/category.class.php");
29require_once($class_path."/indexint.class.php");
30require_once($class_path."/search.class.php");
31require_once($class_path."/serial_display.class.php");
32
33include_once("$class_path/bannette.class.php");
34include_once("$class_path/equation.class.php");
35include_once("$class_path/classements.class.php");
36require_once("$class_path/docs_location.class.php");
37require_once("./dsi/func_abo.inc.php");
38require_once("./dsi/func_pro.inc.php");
39require_once("./dsi/func_common.inc.php");
40require_once("./dsi/func_clas.inc.php");
41require_once("./dsi/func_equ.inc.php");
42require_once("./dsi/func_diff.inc.php");
43
44if (!$id_bannette) die( "<script>self.close();</script>" );
45
46if (!isset($suite)) $suite = "gen_document";
47
48$bannette = new bannette($id_bannette) ;
49$bannette->construit_diff() ;
50
51header("Content-Disposition: attachment; filename=bibliographie.doc;");
52header('Content-type: application/msword'); 
53header("Expires: 0");
54header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
55header("Pragma: public");
56echo $bannette->document_diffuse;
57//print pmb_bidi($bannette->document_diffuse) ;
58
Note: See TracBrowser for help on using the repository browser.