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><span style="color: #3c3c3c; font-family: Raleway, sans-serif; font-size: 15px; line-height: 21px;">The 5 watt SeekTech ST-305 Line Transmitter lets you energize metallic lines for tracing.</span></p>
<p><strong><span style="color: #3c3c3c; font-family: Raleway, sans-serif; font-size: 15px; line-height: 21px;">FEATURES</span></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;">Lightweight and compact transmitter that delivers up to 5 watts of power.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Can transmit two frequencies simultaneously.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Audio feedback confirms a good circuit before beginning a trace.</li>
</ul>