$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-10-04 23:26:54
1
Harika Görünüyor
2024-10-04 23:19:50
2
Can eriği sever misiniz?
2024-10-04 23:18:00
0
Bögürtlen isteyen
2024-10-04 23:07:54
1
Dallar kiraz,hava sıcak.Yaz canım...
2024-10-04 22:09:28
1
2024-10-04 21:38:58
2
2024-10-04 18:58:43
3
2024-10-04 17:30:28
0
Sonraki Grup
// Twitter ?>