hEiti Posted June 13, 2007 Report Share Posted June 13, 2007 Ideja tada * ir iframe vinja ieksha logins ielogojoties atveras profils profila ir 2 izejas uz forumu un foruma profilu (bet kad uzspiez talaka lapa atveras tani mazaja iframe) vai maz tas ir iespejams ar kkadu kodu palidzibu izdarit ta kad ja nospiez tad neatveras taja mazaja bet gan visa lielaja lapa? ...ceru kad ideju sapratat... Link to comment Share on other sites More sharing options...
Roze Posted June 13, 2007 Report Share Posted June 13, 2007 Ja es sapratu, tad vajag - target="_top" (pie linka vai formas action) Link to comment Share on other sites More sharing options...
hEiti Posted June 13, 2007 Author Report Share Posted June 13, 2007 idejiski echo "<form action=\"forums/login.php\" method=\"post\">"; echo ("<input type=\"hidden\" name=\"redirect\" value=\"." . $_SERVER['REQUEST_URI'] . "\">"); echo "Logins: <input type=\"text\" name=\"username\" size=\"18\" class=\"post\"><br>"; ?><br><? echo "Parole: <input type=\"password\" name=\"password\" size=\"18\" class=\"post\"><br>"; echo "<input type=\"checkbox\" name=\"autologin\">Automatiski"; echo "<input type=\"submit\" value=\"Ieiet\" name=\"login\" class=\"mainoption\">"; echo "<br>"; echo "<a href=\"forums/profile.php?mode=sendpassword\" class=\"menulinkactive\">Atgriest paroli /</a>"; echo "<a href=\"forums/profile.php?mode=register\" class=\"menulinkactive\"> Registreties</a>"; ta ir ta koda dalja kura tas ir vajadzigs visur kur ir a href tur :) man nav ne mazakas nojausmas par to ko pateici vai ir kads kas var man nedaudz palidzet? Link to comment Share on other sites More sharing options...
v3rb0 Posted June 13, 2007 Report Share Posted June 13, 2007 kāds labums no tiem echo un \" ? Link to comment Share on other sites More sharing options...
hEiti Posted June 13, 2007 Author Report Share Posted June 13, 2007 (edited) vinji parada talak ejosho pioem profila sadaljas to pagruti izskaidrot vnk gribu zinat vai var?? uztaisit ta? ka raxtiju pirms tam... cik saprotu runa iet par kko lidzigu shim <A HREF="selftarget.html" TARGET="_top">top</A> bet nevaru saprast ka tas notiekas Edited June 13, 2007 by hEiti Link to comment Share on other sites More sharing options...
Grey_Wolf Posted June 13, 2007 Report Share Posted June 13, 2007 <form action="forums/login.php" method="post" target="_TOP"> Link to comment Share on other sites More sharing options...
hEiti Posted June 13, 2007 Author Report Share Posted June 13, 2007 un ar linkiem bus shadi?? echo "<a href=\"forums/profile.php?mode=sendpassword\" class=\"menulinkactive\" TARGET="_top">Atgriest paroli /</a>"; Link to comment Share on other sites More sharing options...
andrisp Posted June 13, 2007 Report Share Posted June 13, 2007 Pamēģini ;) Btw, neizmanto echo, lai tikai izvadītu parastu html kodu. Jēga nekāda. Link to comment Share on other sites More sharing options...
hackerman Posted June 13, 2007 Report Share Posted June 13, 2007 un ar linkiem bus shadi?? echo "<a href=\"forums/profile.php?mode=sendpassword\" class=\"menulinkactive\" TARGET="_top">Atgriest paroli /</a>"; Pēdiņas nav jā'eskeipo? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted June 14, 2007 Report Share Posted June 14, 2007 maza piebilde par izvadiishanu ar echo: 1. nevajag aizmirst ka ir 2 veida pedinjas kas darbojas dazaadi.. ' netiek parbaudiits saturs, respektiivi ja buus pa vidu mainiigais tas netiks izvadiits: piem: ' text $mainiigais '; --> text $mainigais .... Lai tiktu izvadiits(izpildiits) jaraksta saadi ' text '. $mainigais . ' text '; " -> saturs tiks parbaudiits/apstradaats..... ------ 2. no taa varam secinaat ka ja pa vidu nav Daudz mainiigo tad izdeviigaak izmantot vienakarshaas peedinjas ( ' ) -------- hEiti --> tavaa gadijumaa buutu izdeviigaak rakstiit saadi(protams ja tik ljoti gribaas ar echo ) : echo '<a href="selftarget.html" target="_TOP">top</a>'; Kaa redzi pazuud esceiposhana un kods kljuust daudz lasaamaaks... + centies html tagus rakstiit ar MAZAJIEM burtiem --> savaadaak kad gribeesi paariet uz XHTML tad naaksies visu paarakstiit..... + un "_TOP" ir ar lielajiem ;) Link to comment Share on other sites More sharing options...
GedroX Posted June 14, 2007 Report Share Posted June 14, 2007 Tik pat labi var atribūtus likt vienkāršajās pēdiņās. Pēc standartiem tas ir atļauts, tikai reti kurš tā dara. :) Link to comment Share on other sites More sharing options...
v3rb0 Posted June 14, 2007 Report Share Posted June 14, 2007 vienkāršā valodā - http://www.w3schools.com/tags/tag_a.asp nekas nav teikts ka buzzwordam xhtml "_TOP" pēkšņi jāraksta ar UPPER case, tik tas, ka xhtml-strict tāds target vispār nav. Link to comment Share on other sites More sharing options...
Recommended Posts