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="PrsnttnCpy verticalGutter" style="margin: 0px 0px 10px; padding: 0px; text-align: justify; line-height: 14px; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px;">Loosen the mounting screw to <span class="Wrd" style="white-space: nowrap;">install—</span>the spade design eliminates the need to completely remove <span class="Wrd" style="white-space: nowrap;">it.</span>Terminals crimp onto wire and are made of tin-plated<span class="Wrd" style="white-space: nowrap;">copper.</span> UL listed and CSA <span class="Wrd" style="white-space: nowrap;">certified.</span></p>
<p class="PrsnttnCpy" style="margin: 0px; padding: 0px; text-align: justify; line-height: 14px; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px;"><span class="Wrd" style="white-space: nowrap;">Insulated—</span>Rated to 600 volts and <span class="Wrd" style="white-space: nowrap;">221° F.</span></p>
<p class="PrsnttnCpy" style="margin: 0px; padding: 0px; text-align: justify; line-height: 14px; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px;"> </p>