83 |
83 |
$odf->setVars('datecourte', date("d/m/Y"));
|
84 |
84 |
|
85 |
85 |
//L'installateur
|
86 |
|
$odf->setVars('installateursociete', $tab_rvd['RVD_CODE']);
|
87 |
|
$odf->setVars('installateuradresse', $tab_rvd['RVD_ADDRESS']);
|
88 |
|
$odf->setVars('installateurcp', $tab_rvd['RVD_CO']);
|
89 |
|
$odf->setVars('installateurville', $tab_rvd['RVD_CITY']);
|
90 |
|
$odf->setVars('installateuremail', $tab_rvd['RVD_EMAIL']);
|
91 |
|
$odf->setVars('installateurtel', $tab_rvd['RVD_PHONE']);
|
|
86 |
$odf->setVars('installateursociete', $tab_rvd['RVD_CODE'], true, 'UTF-8');
|
|
87 |
$odf->setVars('installateuradresse', $tab_rvd['RVD_ADDRESS'], true, 'UTF-8');
|
|
88 |
$odf->setVars('installateurcp', $tab_rvd['RVD_CO'], true, 'UTF-8');
|
|
89 |
$odf->setVars('installateurville', $tab_rvd['RVD_CITY'], true, 'UTF-8');
|
|
90 |
$odf->setVars('installateuremail', $tab_rvd['RVD_EMAIL'], true, 'UTF-8');
|
|
91 |
$odf->setVars('installateurtel', $tab_rvd['RVD_PHONE'], true, 'UTF-8');
|
92 |
92 |
|
93 |
93 |
//Le client
|
94 |
|
$odf->setVars('client', $tab_client["installation_name"]);
|
95 |
|
$odf->setVars('clientadresse', $tab_client["installation_address0"]);
|
96 |
|
$odf->setVars('clientcp', $tab_client["installation_postalcode"]);
|
97 |
|
$odf->setVars('clientville', $tab_client["installation_city"]);
|
98 |
|
$odf->setVars('clienttel', $tab_client["installation_phone"]);
|
99 |
|
$odf->setVars('clientmail', $tab_client["installation_email"]);
|
|
94 |
$odf->setVars('client', $tab_client["installation_name"], true, 'UTF-8');
|
|
95 |
$odf->setVars('clientadresse', $tab_client["installation_address0"], true, 'UTF-8');
|
|
96 |
$odf->setVars('clientcp', $tab_client["installation_postalcode"], true, 'UTF-8');
|
|
97 |
$odf->setVars('clientville', $tab_client["installation_city"], true, 'UTF-8');
|
|
98 |
$odf->setVars('clienttel', $tab_client["installation_phone"], true, 'UTF-8');
|
|
99 |
$odf->setVars('clientmail', $tab_client["installation_email"], true, 'UTF-8');
|
100 |
100 |
|
101 |
101 |
//abuledu.net
|
102 |
102 |
$odf->setVars('anetdip', "TODO");
|
103 |
103 |
$odf->setVars('anetdyn', "a venir");
|
104 |
104 |
|
105 |
105 |
//Internet
|
106 |
|
$odf->setVars('internetip', $tab_server["externalip"]);
|
107 |
|
$odf->setVars('internetfai', $tab_server["fai"]);
|
|
106 |
$odf->setVars('internetip', $tab_server["externalip"], true, 'UTF-8');
|
|
107 |
$odf->setVars('internetfai', $tab_server["fai"], true, 'UTF-8');
|
108 |
108 |
|
109 |
109 |
//wifi
|
110 |
|
$odf->setVars('wifimarque', $tab_wifi["wifimarque"]);
|
111 |
|
$odf->setVars('wifimodele', $tab_wifi["wifimodele"]);
|
112 |
|
$odf->setVars('wifiwpa', $tab_wifi["wifiwpa"]);
|
|
110 |
$odf->setVars('wifimarque', $tab_wifi["wifimarque"], true, 'UTF-8');
|
|
111 |
$odf->setVars('wifimodele', $tab_wifi["wifimodele"], true, 'UTF-8');
|
|
112 |
$odf->setVars('wifiwpa', $tab_wifi["wifiwpa"], true, 'UTF-8');
|
113 |
113 |
|
114 |
114 |
//serveur
|
115 |
|
$odf->setVars('serveurmarque', $tab_server["vendor"]);
|
116 |
|
$odf->setVars('serveurmodele', $tab_server["product"]);
|
|
115 |
$odf->setVars('serveurmarque', $tab_server["vendor"], true, 'UTF-8');
|
|
116 |
$odf->setVars('serveurmodele', $tab_server["product"], true, 'UTF-8');
|
117 |
117 |
if(trim($tab_server["serial"] != ""))
|
118 |
|
$odf->setVars('serveurserial', "(SERIAL #" . $tab_server["serial"] . ")");
|
|
118 |
$odf->setVars('serveurserial', "(SERIAL #" . $tab_server["serial"] . ")", true, 'UTF-8');
|
119 |
119 |
|
120 |
120 |
//abuladmin
|
121 |
|
$odf->setVars('abuladminpass', "TODO");
|
|
121 |
$odf->setVars('abuladminpass', "TODO", true, 'UTF-8');
|
122 |
122 |
|
123 |
123 |
//disque dur
|
124 |
124 |
// $odf->setVars('srvhddcount', count($tab_hdd));
|