<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-
-require_once("xorg.inc.php");
-
require_once('user.func.inc.php');
function is_ax_key_missing() {
$userax = Array();
$userax['matricule_ax'] = $matricule_ax;
-
+
$userax['nom'] = strtoupper($ancien->Nom_patr());
$userax['nom_usage'] = strtoupper($ancien->Nom_usuel());
if ($userax['nom_usage'] == $userax['nom']) $userax['nom_usage'] = '';
$userax['corps'] = $ancien->Corps();
$userax['corps_grade'] = $ancien->Grade();
} */
- $userax['adr_pro'] = array();
-
+ $userax['adr_pro'] = array();
+
for ($i = 0; $i < $ancien->Num_Activite(); $i++) {
$jobax = array();
$jobax['entreprise'] = $ancien->Entreprise($i);
if ($ancien->Mobile($i)) $userax['mobile'] = $ancien->Mobile($i);
$userax['adr'][$i] = $adrax;
}
-
+
/* $userax['formation'] = array();
for($i=$ancien->Num_formation() - 1; $i >= 0; $i--)
$userax['formation'][$i] = $ancien->Formation($i);*/