class subscribe { public $email; public $s; public $sdate; function subs($email, $sdate) { // Fixed: Explicitly named database table columns (adjust 'email' and 'sdate' columns if named differently in your database) $q = "insert into newsletter(email, sdate) values ('$email', '$sdate')"; $db = new dboperation1(); $db->getconnection(); $rs = $db->insertquery($q); return $rs; } function viewnews() { $q = "select * from newsletter"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } } class contact { public $cname; public $cemail; public $cphone; public $ccompany; public $cmsg; public $cdate; function coninst($cname, $cemail, $cphone, $ccompany, $cmsg, $cdate) { $q = "insert into contact(cname, cemail, cphone, ccompany, cmsg, cdate) values ('$cname', '$cemail', '$cphone', '$ccompany', '$cmsg', '$cdate')"; $db = new dboperation1(); $db->getconnection(); $rs = $db->insertquery($q); return $rs; } function viewenquiry() { $q = "select * from contact"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } } class category { function getmaincatlist() { $q = "select * from category"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } function returnmaincat($cid) { $q = "select * from category where cid='$cid'"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } // Fixed: Safely closed the function } // Fixed: Safely closed the category class ?>
<p class="marketingContent" style="box-sizing: border-box; border: 0px; margin: 1em 0px; padding: 0px; font-size: 1.5em; color: #3c3c3c; font-family: Raleway, sans-serif;">The RIDGID® micro DM-100 Digital Multimeter sets the new standard for troubleshooting most of the electrical problems! Featuring a double molded water-resistant (1m) IP67 housing, the micro DM-100 is also drop-proof and perfectly suitable for use in the harshest jobsite conditions.</p>
<p class="marketingContent" style="box-sizing: border-box; border: 0px; margin: 1em 0px; padding: 0px; font-size: 1.5em; color: #3c3c3c; font-family: Raleway, sans-serif;">The micro DM-100 is a True RMS and AutoRanging unit, providing the most accurate and fast measurements in all applications. It features 11 different electrical functions ranging from AC/DC Voltage & Current (1000V) to Temperature measurements. The micro DM-100 is also rated for industrial use (CAT III-1000V & IV-600V) and features an Extra Large Backlit LCD display for easy and clear readings.</p>
<p class="marketingContent" style="box-sizing: border-box; border: 0px; margin: 1em 0px; padding: 0px; font-size: 1.5em; color: #3c3c3c; font-family: Raleway, sans-serif;">The micro DM-100 is supplied in a soft carrying case with double-molded test leads, Type K temperature probe and a 9V battery.</p>
<p class="marketingContent" style="box-sizing: border-box; border: 0px; margin: 1em 0px; padding: 0px; font-size: 1.5em; color: #3c3c3c; font-family: Raleway, sans-serif;"><strong>FEATURES</strong></p>
<ul class="bullet" style="box-sizing: border-box; border: 0px; margin: 1em 0px 1em -1.5em; padding: 0px 0px 0px 40px; list-style: square outside none; font-size: 1.4em; color: #3c3c3c; font-family: Raleway, sans-serif;">
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">IP 67 waterproof & drop-proof</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">11 functions in one</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">True RMS / AutoRanging</li>
</ul>