init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
37
scripts/ajax/ue_iloscan2.php
Normal file
37
scripts/ajax/ue_iloscan2.php
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
error_reporting(E_ALL); ini_set('display_errors', 0);
|
||||
//echo'<pre>'; print_r($row); echo'</pre>';
|
||||
|
||||
$url='https://api.ilonexs.de/php/schnittstellen_url.php?api=MbL~9X2kZU~&schnittstelle=4&belegnr='.$_POST['lab'].'&';
|
||||
$xml = simplexml_load_file($url);
|
||||
|
||||
// echo'<pre>'; print_r($xml); echo'</pre>';
|
||||
|
||||
for ($i = 0; $i <= 100; $i++ ) {
|
||||
if (strlen($xml->pod[$i]->liefername)<2) { break; }
|
||||
|
||||
$iloonline[$i]['datum'] =$xml->pod[$i]->datum;
|
||||
$iloonline[$i]['status'] =$xml->pod[$i]->status;
|
||||
$iloonline[$i]['collie'] =$xml->pod[$i]->collie;
|
||||
$iloonline[$i]['empfaenger'] =$xml->pod[$i]->empfaenger;
|
||||
$iloonline[$i]['beschreibung'] =$xml->pod[$i]->beschreibung;
|
||||
}
|
||||
$template->assign('data2', $iloonline);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$template->assign('content', 'tpl/ajax/ue_iloscan2.tpl');
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue