include("patch/require.php"); $db_host = 'localhost'; $db_user = 'hassanli_Hassan'; $db_pass = 'password@Hassan'; $db_dbase = 'hassanli_hassanDbbase'; // mysqli_connect() $link = mysqli_connect($db_host, $db_user,$db_pass ,$db_dbase); if(isset($_GET['Me'])){ $MenH = urldecode($_GET['Me']); $functions = new Functions(); $mn_ID = $functions->getAtrib('cms_menus','Id',"Where Href='$MenH'"); }else {$MenH=''; $mn_ID='';} $pg_QR = mysqli_query($link,"select * from cms_pages where Menu='$mn_ID' limit 1"); $pg_RQ = mysqli_fetch_array($pg_QR); $pg_T = stripcslashes($pg_RQ['Page_title']); $Page_desc = stripcslashes($pg_RQ['Page_desc']); $seo_T = stripcslashes($pg_RQ['Seo_title']); $seo_K = stripcslashes($pg_RQ['Seo_keyword']); $seo_D = stripcslashes($pg_RQ['Seo_desc']); ?>