Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Thu Mar 28, 2024 11:58 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Thu Jul 27, 2006 7:08 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
This will add a warranty and driver download link to your system summary page.

Line 51:

[code]echo "<tr><td>$l_mdl / $l_srl #:&nbsp;</td><td>" . $myrow["system_model"] . " / " . $myrow["system_id_number"] . "<td></tr>\n";[/code]


replace line 51 with:

[code] if ($myrow["system_vendor"] == "Dell Inc." || $myrow["system_vendor"] == "Dell Computer Corporation") {
echo "<tr><td>$l_mdl / $l_srl #:&nbsp;</td><td>" . $myrow["system_model"] . " / " . $myrow["system_id_number"] . " (<a href='http://support.dell.com/support/topics/global.aspx/support/my_systems_info/en/details?c=us&cs=usbsdt1&servicetag=" . $myrow["system_id_number"] . "' target=_blank>Warranty Information</a> / <a href='http://support.dell.com/support/downloads/index.aspx?c=us&l=en&s=gen&servicetag=" . $myrow["system_id_number"] . "' target=_blank>Drivers & Software</a>)</td></tr>\n";
}
elseif ($myrow["system_vendor"] == "Compaq") {
echo "<tr><td>$l_mdl / $l_srl #:&nbsp;</td><td>" . $myrow["system_model"] . " / " . $myrow["system_id_number"] . " (<a href='http://www4.itrc.hp.com/service/ewarranty/warrantyResults.do?BODServiceID=NA&RegisteredPurchaseDate=&country=GB&productNumber=&serialNumber1=" . $myrow["system_id_number"] . "' target=_blank>Warranty Information</a> / <a href='http://h20180.www2.hp.com/apps/Lookup?h_lang=en&h_cc=uk&cc=uk&h_page=hpcom&lang=en&h_client=S-A-R135-1&h_pagetype=s-002&h_query=" . $myrow["system_model"] . "' target=_blank>Drivers & Software</a>)</td></tr>\n";
}
else {
echo "<tr><td>$l_mdl / $l_srl #:&nbsp;</td><td>" . $myrow["system_model"] . " / " . $myrow["system_id_number"] . "</td></tr>\n";
}[/code]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group