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><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;">Single knob operation, very easy to use.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Leveling and alignment jobs done at the blink of an eye.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Instant projection of super-bright vertical and horizontal lines.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Laser type: Class 2, 630-670 nm.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Millimeter accuracy: 0,6 mm / 1 m.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Extended interior range of 30 meters.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Self-leveling range of ± 6°.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Protection rating: IP54.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Integrated 360° swivel base.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Packed in a rugged plastic carrying case.</li>
<li style="box-sizing: border-box; border: 0px; margin: 0px 0px 0.75em; padding: 0px;">Elevating tripod & laser enhancing glasses included for free!</li>
</ul>