티스토리에서 방명록은 수정해야 할 것이 많지 않아서 금방 끝납니다.

거기다 글 본문에서 사용하던 코드들을 가지고 와서 사용하면 되기 때문에 더욱 쉽다!!

 

설명

방명록 자체가 내용이 별로 없습니다.

 

글 내용에서 작업했던 내용을 최대한 가지고 와서 사용합니다.

 

 

 

코드

내용이 '글 내용'과 거의 같아서 포인트가 없습니다. ㅎㅎㅎㅎ

 

bootstrap_tistory_006.txt

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!-- 2-5. 방명록 -->
<s_guest>
    <div class="guestbook">
        <h3>방명록</h3>
        <!-- 15-1. 방명록 글쓰기 -->
        <s_guest_input_form>
            <div class="guestWrite">
                <div class="input-group">
                    <span class="input-group-addon" id="basic-addon1">비밀글</span>
                    <lable class="form-control "><input type="checkbox" class="checkbox" id="guestsecret" name="secret" /></lable>
                </div>
                <s_guest_member>
                    <s_guest_form>
                        <div class="input-group">
                            <span class="input-group-addon" id="basic-addon1"> 이 름 </span>
                            <input type="text" class="form-control" aria-describedby="basic-addon1" name="[##_guest_input_name_##]" value="[##_guest_name_##]" />
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon" id="basic-addon1">패스워드</span>
                            <input type="password" class="form-control" aria-describedby="basic-addon1" name="[##_guest_input_password_##]" value="" />
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon" id="basic-addon1">홈페이지</span>
                            <input type="text" class="form-control " aria-describedby="basic-addon1" name="[##_guest_input_homepage_##]" value="[##_guest_homepage_##]" />
                        </div>
                    </s_guest_form>
                </s_guest_member>
                <p>
                    <textarea name="[##_guest_textarea_body_##]" class="form-control" cols="50" rows="6"> </textarea>
                </p>
                <p class="text-center">
                    <input type="submit" value="안부 남기기" onclick="[##_guest_onclick_submit_##]" class="btn btn-default submit" />
                </p>
            </div><!-- guestWrite close -->
        </s_guest_input_form>
        <!-- /15-1. 방명록 글쓰기 -->
        <!-- 15-2. 방명록 리스트 -->
        <s_guest_container>
            <div class="guestList">
                <ol class="list-group">
                    <s_guest_rep>
                        <li id="[##_guest_rep_id_##]" class="list-group-item">
                            <div class="[##_guest_rep_class_##]">
                                <strong>[##_guest_rep_name_##]</strong>
                                <small> [##_guest_rep_date_##]</small>
                                <span class="control">
                                    <a href="#" onclick="[##_guest_rep_onclick_delete_##]" class="btn btn-default btn-xs">&nbsp;<span>Edit/Delete</span></a>
                                    <a href="#" onclick="[##_guest_rep_onclick_reply_##]" class="btn btn-default btn-xs">&nbsp;<span>Reply</span></a>
                                </span>
                                <p>[##_guest_rep_desc_##]</p>
                            </div>
                            <s_guest_reply_container>
                                <ul class="list-group">
                                    <s_guest_reply_rep>
                                        <li id="[##_guest_rep_id_##]" class="list-group-item">
                                            <div class="[##_guest_rep_class_##]">
                                                <strong>[##_guest_rep_name_##]</strong>
                                                <small> [##_guest_rep_date_##]</small>
                                                <span class="control">
                                                    <a href="#" onclick="[##_guest_rep_onclick_delete_##]" class="btn btn-default btn-xs">&nbsp;<span>Edit/Delete</span></a>
                                                </span>
                                                <p>[##_guest_rep_desc_##]</p>
                                            </div>
                                        </li>
                                    </s_guest_reply_rep>
                                </ul>
                            </s_guest_reply_container>
                        </li>
                    </s_guest_rep>
                </ol>
            </div>
        </s_guest_container>
        <!-- /15-2. 방명록 리스트 -->
    </div>
</s_guest>
<!-- /2-5. 방명록 -->
cs

 

댓글 작성

이름
패스워드
홈페이지
비밀글

티스토리 툴바