Commit 4e9df53f authored by Arnaud ABELARD's avatar Arnaud ABELARD
Browse files

initial version

parent eae940d7
```php
<?
require("dellAsset.class.php");
$tag = $_GET['tag'];
if(!$tag) $tag="B41284J";
$matos = new dellAsset(array("tag" => $tag));
if(!$matos->ServiceTag) die($matos->errormsg);
print "Service tag: ".$matos->ServiceTag."<br>";
print "Modele: ".$matos->SystemModel."<Br>";
print "Type: ".$matos->SystemType."<br>";
print "Date de livraison: ".$matos->SystemShipDate."<br><br>";
print "Garanties:<br>";
foreach($matos->Warranties as $warranty) {
print "Nom: ".$warranty->ServiceLevelDescription."<br>";
#print "<pre>".print_r($warranty,1)."</pre>";
print "Date de debut: ".$warranty->StartDate."<br>";
print "Date de fin: ".$warranty->EndDate."<br>";
print "Status: ".$warranty->EntitlementType."<br>";
print "<br>";
}
?>
```
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment