Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="" method="post">
- Heslo: <input id="author" name="geslo" type="author" value="" size="100" /><br />
- <input name="submit" type="submit" id="submit" value="Přihlášení" />
- </form>
- <?
- {
- session_start();
- session_register("heslo");
- echo $_SESSION["heslo"];
- }
- if ($_POST["geslo"] == "mellon")
- {
- session_start();
- session_register("heslo");
- $_SESSION["heslo"]="mellon";
- echo "už nezapisuji";
- }
- if ($_SESSION["heslo"] == "mellon")
- echo '
- <br />
- <h2>Administrace stránek</h2>
- <br /><br />
- <b>Vkládání příspěvků</b>
- <form action="obsah/admin1.php" method="post">
- Kategorie: <input id="author" name="skupina" type="author" value="" size="100" /><br />
- Nadpis:<input id="author" name="nadpis" type="author" value="" size="100" /><br /><br />
- Obsah:<br /><textarea id="comment" name="obsah" class="comment-textarea"></textarea><br />
- <br />
- <p class="comment-note">
- <code><a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> </code></p>
- <br />
- Obrázek:<br /><textarea id="comment" name="obr" class="comment-textarea"></textarea><br />
- <input name="submit" type="submit" id="submit" value="Vložit" />
- </form>
- '
- ?>
Add Comment
Please, Sign In to add comment