$sqlcc="SELECT * FROM ustmenu1 where menu_aktif=1 order by menu_kodu"; $sorgucc=mysql_query($sqlcc); $kaysayc=mysql_num_rows($sorgucc); for ($pj = 0; $pj < $kaysayc; $pj=$pj+1) { $menu_kodu=mysql_result($sorgucc,$pj,0); $menu_adi=mysql_result($sorgucc,$pj,1); $menu_link=mysql_result($sorgucc,$pj,2); $menu_alt=mysql_result($sorgucc,$pj,3); if ($menu_alt==0 and $pj==0) { echo "
' . $menu_adi . '
'; } if ($menu_alt==0 and $pj!==0) { echo '
' . $menu_adi . '
'; } if ($menu_alt!=0) { //Alt Menüleri Okuyacağız echo '
' . $menu_adi . '
'; $sqldd="SELECT * FROM ustmenu2 WHERE ust_menu_kodu=" . $menu_kodu . " and menu_aktif=1 order by menu_alt"; $sorgudd=mysql_query($sqldd); $kaysayd=mysql_num_rows($sorgudd); for ($pd = 0; $pd < $kaysayd; $pd=$pd+1) { $alt_menu_adi=mysql_result($sorgudd,$pd,2); $alt_menu_link=mysql_result($sorgudd,$pd,3); echo '
' . $alt_menu_adi . '
'; } echo '
'; } } ?>
2024-11-08 16:12:51
1
2024-11-08 15:59:02
0
Benim İçin Çal
2024-11-08 15:58:08
2
Ve müzik
2024-11-08 15:57:11
2
2024-11-08 15:52:27
1
Çalarken de Uyunurmu
2024-11-08 15:40:53
2
Ve Müzik
2024-11-08 15:33:49
2
2024-11-08 15:32:11
1
Sonraki Grup
// Twitter ?>