$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 '
'; } } ?>
MUTLULUĞUN RESMİ - İLETİŞİM FORMU
// Twitter ?>