require_once('includes/global.php'); require_once('includes/mysqli_connection_db.php'); DEFINE('PAGE_TITLE','CMS'); $id = (isset($_GET['id']) && $_GET['id'] != "")? base64_decode($_GET['id']):''; $query1 = $pdo->prepare("SELECT CONT.* FROM contents CONT INNER JOIN cms_categories CMSCAT ON CONT.cms_category_id = CMSCAT.cms_category_id where CMSCAT.cms_category_code = :i"); $result = $query1->execute(array("i"=>$id)); //$query .= " WHERE CMSCAT.cms_category_code = '".$id."'"; $row =$query1->fetchAll(PDO::FETCH_ASSOC); /*echo '
'; print_r($row);*/ @extract($row[0]); $photo_path = "admin/app/webroot/files/banner/".$banner; ?>The Marine Products Exports Development Authority (MPEDA)