Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
viewicard.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * View virtual document
9  *
10  * @author Anakeen 2000
11  * @version $Id: viewicard.php,v 1.5 2005/03/08 17:53:56 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage GED
15  */
16 /**
17  */
18 
19 include_once ("FDL/freedom_util.php");
20 include_once ("FDL/fdl_xml.php");
21 
22 // -----------------------------------
23 function viewicard(&$action)
24 {
25  global $action;
26  // Get All Parameters
27  $xml = GetHttpVars("xml");
28  $famid = GetHttpVars("famid");
29  $dbaccess = $action->GetParam("FREEDOM_DB");
30 
31  $action->lay->Set("TITLE", $idoc->title);
32  // print(base64_decode(trim($xml)));
33  $idoc = fromxml($dbaccess, $xml, $famid, true);
34  $idoc->SetTitle($idoc->title);
35 
36  redirect($action, GetHttpVars("redirect_app", "FDL") , GetHttpVars("redirect_act", "IMPCARD&dochead=no&id=" . $idoc->id) , $action->GetParam("CORE_STANDURL"));
37 }
38 ?>
← centre documentaire © anakeen - published under CC License - Dynacase