Open-AudIT https://www.open-audit.org/phpBB3/ |
|
system_summary.php warranty links [done] https://www.open-audit.org/phpBB3/viewtopic.php?f=9&t=1101 |
Page 1 of 1 |
Author: | imacs [ Thu Jul 27, 2006 7:08 am ] |
Post subject: | system_summary.php warranty links [done] |
This will add a warranty and driver download link to your system summary page. Line 51: [code]echo "<tr><td>$l_mdl / $l_srl #: </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 #: </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 #: </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 #: </td><td>" . $myrow["system_model"] . " / " . $myrow["system_id_number"] . "</td></tr>\n"; }[/code] |
Page 1 of 1 | All times are UTC + 10 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |