Include("../ai/manager/lib/conn.php"); function menu($menu_id) { $strSQL_alt = "select * from sayfalar where ex!='1' and root='".$menu_id."' and id not in ('151') order by sirano "; $sql_alt = mysql_query($strSQL_alt); $numrows_alt = mysql_num_rows($sql_alt); $strSQL = "select * from sayfalar where ex!='1' and id='".$menu_id."' and id not in ('151') order by sirano "; $sql = mysql_query($strSQL); $row = mysql_fetch_assoc($sql); if($numrows_alt>0) { if($menu_id != 0) { print '