I added these to openaudit where I work, as we have several of these machines. A drivers/support link probably isn't possible due to the way they decided to structure those pages. Also, I don't have any GTW based machine, so I don't know the vendor string it reports to add that in as well.
[code] elseif (preg_match("/BUYMPC/i", $myrow["system_vendor"]) || $myrow["system_vendor"] == "Omni Tech Corp") { if(isset($myrow["system_id_number"]) AND $myrow["system_id_number"]!="") { if ($myrow["system_vendor"] == "Omni Tech Corp") { echo " <a href='http://support.mpccorp.com/apps/complist.asp?SerialNo=OTC" . $myrow["system_id_number"] . "' onclick=\"this.target='_blank';\">".__("Warranty Information")."</a>"; } elseif (preg_match("/BUYMPC/i", $myrow["system_vendor"])) { echo " <a href='http://support.mpccorp.com/apps/complist.asp?SerialNo=" . $myrow["system_id_number"] . "' onclick=\"this.target='_blank';\">".__("Warranty Information")."</a>"; } $links_to_manu=1; } } [/code]
_________________ OA Server: Debian Squeeze w/ Apache2 Auditing: 700 Workstations, 250 or so Retail Terminals, about 75 Servers OS's: Windows XP/2003/2008/2008 R2/Vista/7, Debian LDAP: Active Directory 2008 R2
|