Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("../template/header.php");
- ?>
- <h2>여기는 로그인 페이지입니다.</h2>
- <form action="write_ok.php" method="post" enctype="multipart/form-data">
- <div class="form-group">
- <label for="username">이름</label>
- <input type="text" name="username" id="username" required placeholder="이름을 입력하세요!" class="form-control" value="<?php echo $loginname;?>" readonly>
- <input type="hidden" name="userid" value="<?php echo $loginid;?>">
- </div>
- <div class="form-group">
- <label for="title">제목</label>
- <input type="text" name="title" id="title" required placeholder="제목을 입력하세요!" class="form-control">
- </div>
- <div class="form-group">
- <label for="content">본문</label>
- <textarea name="content" id="content" required class="form-control" rows="15"></textarea>
- </div>
- <div class="form-group">
- <label for="upfile">파일</label>
- <input type="file" name="upfile" id="upfile" class="form-control">
- </div>
- <button class="btn btn-primary">글등록</button>
- </form>
- <?php
- include("../template/footer.php");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement