janisetnies Posted February 10, 2007 Report Share Posted February 10, 2007 Taisu savām vajadzībām admin paneli! Viss ir, vienīgi nesaprotu kā uztaisīt, lai kad augšā ir menu un apakšā rāda sadaļas, kad augšā nospiež pogu jaunumi atveras pakašā jaunumi.php! Kā sadalīt lapu divās daļās un lai augšā stāv nemainīgi bet apakša spiežot pogas mainas? Paldies! Link to comment Share on other sites More sharing options...
tiy Posted February 10, 2007 Report Share Posted February 10, 2007 frame Link to comment Share on other sites More sharing options...
hackerman Posted February 10, 2007 Report Share Posted February 10, 2007 Man gan liekas, ka tā ir switch fcija... Link to comment Share on other sites More sharing options...
janisetnies Posted February 10, 2007 Author Report Share Posted February 10, 2007 Kaut ko vairāk? Kādu piemēru! Esmu iesācējs! Link to comment Share on other sites More sharing options...
tiy Posted February 10, 2007 Report Share Posted February 10, 2007 (edited) Kapec nevar norefreshot visu labu? Sadali lapu (frame) divas dalas, ta ka tas ir php my admin tikai horizontali, un pie pogas uzliec <a href="page.php?id=sadalas id" target="frame lapas nosaukums". Bet labak teisi bez frame, ar include("page_id.php") utt Edited February 10, 2007 by tiy Link to comment Share on other sites More sharing options...
hackerman Posted February 10, 2007 Report Share Posted February 10, 2007 switch($_GET['id']) { case 'jaunumi': include('news.php'); break; case 'admin': include('admincp.php'); break; default: echo ''; break; } Apmēram tā... Link to comment Share on other sites More sharing options...
janisetnies Posted February 10, 2007 Author Report Share Posted February 10, 2007 īsti nesapratu kā proves notiek! Tātad mna ir admin.php kas atveras no login.php tur paradas augša (augsa.php) pogas: jaunumi (jaunumi.php) raksit (raksti.php) informacija (informācija.php) un apakšā kur sākumā radas apaksa.php, kad uzspiež uz pogas jaunumi atveras pakašā jaunumi.php utt. Varbūt kāds var vēl sīkāk izskaidrot kā panākt? kas pogām kas ar pašu galveno admin.php utt. Link to comment Share on other sites More sharing options...
march Posted February 10, 2007 Report Share Posted February 10, 2007 (edited) Vai tiešām tas menu ir tik drausmīgi liels, ka rodas lielas probl�“mas, ja ielād�“ to menu katru reizi? Kaut vai ar include var ievietot to menu katrā failā. Edited February 10, 2007 by march Link to comment Share on other sites More sharing options...
janisetnies Posted February 11, 2007 Author Report Share Posted February 11, 2007 Sataisiju visu izmantojot menu ielādēt katrā sadaļā ar include! Link to comment Share on other sites More sharing options...
Recommended Posts