--- index.php
+++ index.php
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
/** |
3 | 3 |
* @var $connStatus |
4 | 4 |
*/ |
5 |
- ini_set("display_errors", 1); |
|
5 |
+ ini_set("display_errors", 0); |
|
6 | 6 |
include("config/db.config.php"); |
7 | 7 |
?> |
8 | 8 |
<!doctype html> |
--- updateWrite.php
+++ updateWrite.php
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 |
#contents {font-weight: bold; padding-left: 10px;} |
27 | 27 |
#file {padding-left: 60px;} |
28 | 28 |
#textarea {width: 98%; height: 200px; background-color: white; margin: 0 auto;} |
29 |
- .btnS {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px;} |
|
29 |
+ .btnS {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px; float: right;} |
|
30 | 30 |
.btnS:hover {background-color: black;} |
31 | 31 |
</style> |
32 | 32 |
</head> |
--- view.php
+++ view.php
... | ... | @@ -84,11 +84,11 @@ |
84 | 84 |
<button class="btnS" id="btnDelete" onclick="deleteCheck()">삭제</button> |
85 | 85 |
<button class="btnS" id="btnList" onclick="location.href='main.php?&option=<?php echo $_GET['option']?>&searchText=<?php echo $text?>'">목록</button> |
86 | 86 |
</div> |
87 |
- |
|
88 | 87 |
<div id="answerSector"> |
89 | 88 |
<form action="config/reply.php?whereValue=<?php echo $num; ?>&option=<?php echo $_GET['option'] ?>&searchText=<?php echo $text ?>" method="post"> |
90 | 89 |
작성자 : <input type="text" name="answerWriter"><br> |
91 |
- 댓글 : <textarea id="answerText" name="answerText"></textarea><br> |
|
90 |
+ <p>댓글 :<textarea id="answerText" name="answerText"></textarea></p> |
|
91 |
+ <br> |
|
92 | 92 |
비밀번호 : <input class="pwText" type="password" name="pw" placeholder="only number"> |
93 | 93 |
비밀번호 확인 : <input class="pwText" type="password" name="pwCheck" placeholder="only number"> |
94 | 94 |
<input class="btnS" type="submit" value="확인"> |
... | ... | @@ -117,7 +117,6 @@ |
117 | 117 |
} |
118 | 118 |
?> |
119 | 119 |
</div> |
120 |
- |
|
121 | 120 |
</div> |
122 | 121 |
</body> |
123 | 122 |
</html>(No newline at end of file) |
--- write.php
+++ write.php
... | ... | @@ -25,10 +25,8 @@ |
25 | 25 |
#text1 {width: 250px; float: right;} |
26 | 26 |
#text2 {width: 250px; float: right;} |
27 | 27 |
#text3 {width: 500px; height: 250px; float: right;} |
28 |
- #btnWrite {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px;} |
|
29 |
- #btnList {font-weight: bolder; background-color: darkslategrey; border-style: none; color: white; height: 30px; width: 50px;} |
|
30 |
- #btnWrite:hover {background-color: black;} |
|
31 |
- #btnList:hover {background-color: black;} |
|
28 |
+ .btn {font-weight: bolder; background-color: darkslategrey; border: black solid; color: white; height: 30px; width: 50px; float: right;} |
|
29 |
+ .btn:hover {background-color: black;} |
|
32 | 30 |
#textareaHeight {height: 250px;} |
33 | 31 |
</style> |
34 | 32 |
</head> |
... | ... | @@ -42,18 +40,14 @@ |
42 | 40 |
<div id="title"><h1>글 쓰기</h1></div> |
43 | 41 |
<hr id="hr"> |
44 | 42 |
<div id="contents"> |
45 |
- |
|
46 | 43 |
<form id="form" method="post" action="config/insert.php" enctype="multipart/form-data"> |
47 |
- |
|
48 | 44 |
<p>작성자 : <input id="text1" type="text" name="writer"></p> |
49 | 45 |
제목 : <input id="text2" type="text" name="title" placeholder="최대 50자"> |
50 | 46 |
<p id="textareaHeight">글 : <textarea id="text3" name="contents" placeholder="최대 500자"></textarea></p> |
51 | 47 |
<input type="file" name="uploadFile"><br> |
52 |
- <input type="submit" id="btnWrite" value="작성"> |
|
53 |
- |
|
48 |
+ <input type="submit" class="btn" value="작성"> |
|
54 | 49 |
</form> |
55 |
- |
|
56 |
- <button id="btnList" onclick="location.href='main.php'">목록</button> |
|
50 |
+ <button class="btn" onclick="location.href='main.php'">목록</button> |
|
57 | 51 |
|
58 | 52 |
</div> |
59 | 53 |
</div> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?