<?php include "lib/Getstatic.php"; include "web_admin/admin-lib/AdminController.php"; $gs = new Getstatic(); $ac = new AdminController(); $url = $gs->baseUrl(); include "includes/paginate.php"; $productLists = $ac->getProductListsClient(); if (isset($_POST['btn_subscribe'])) { $email = $_POST["email_subscribe"]; if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $emailErr = "Invalid email format"; echo "<div class=\"alert alert-danger\"><strong>Info!</strong> Please Use Valid Email Address.</div>"; } else { $ac->addSubscriber($email, $_SERVER['REMOTE_ADDR']); } } ?> <html> <head> <title>Lights</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <!--Required Styles--> <link rel="shortcut icon" type="image/png" href="<?php echo $url; ?> images/logo.png"/> <link rel="stylesheet" href="<?php echo $url;
<!--test for update--> <?php include "lib/Getstatic.php"; $gs = new Getstatic(); $base_url = $gs->home_base_url(); ?> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Electronics Suppliers</title> <link rel="shortcut icon" type="image/png" href="images/logo.png"/> <link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?> styles/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?> styles/font-awesome.css"> <link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?> styles/electronics.css"> <link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?> styles/templatemo_misc.css">