|
@@ -1,171 +1,178 @@
|
1
|
|
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
|
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
|
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
|
-<head>
|
5
|
|
- {Gelato_includes}
|
6
|
|
- <title>{Page_Title}</title>
|
7
|
|
- <!--[if IE]>
|
8
|
|
- <style type="text/css">
|
9
|
|
- div.post div.quote span.quote big.quote {
|
10
|
|
- line-height: 40px;
|
11
|
|
- }
|
12
|
|
- </style>
|
13
|
|
- <![endif]-->
|
14
|
|
-</head>
|
15
|
|
-<body>
|
16
|
|
- <div id="container">
|
17
|
|
- <a href="{URL_Tumble}/rss.php"><img src="{URL_Tumble}/themes/{Template_name}/img/rss.gif" id="rss" alt="RSS" title="RSS" /></a>
|
18
|
|
-
|
19
|
|
- <h1><a href="{URL_Tumble}/">{Title}</a></h1>
|
20
|
|
-
|
21
|
|
- <div id="description">
|
22
|
|
- {Description}
|
23
|
|
- </div>
|
24
|
|
-
|
25
|
|
- {if {$isAuthenticated}}
|
26
|
|
- <div style="padding:4px; border:solid 2px #bbb; display:inline; background-color:#ddd; position:absolute; top:3px; right:3px;">
|
27
|
|
- <b>Hi, {User}.</b>
|
28
|
|
- <a target="_top" href="{URL_Tumble}/admin/index.php">Add/Edit my posts</a>
|
29
|
|
- <a target="_top" href="{URL_Tumble}/admin/close.php">Sign out</a>
|
30
|
|
- </div>
|
31
|
|
- {/if}
|
32
|
|
-
|
33
|
|
- {if {$error}}
|
34
|
|
- <div class="error">{$error}</div>
|
35
|
|
- {else}
|
36
|
|
- {block {$rows} as {$row}}
|
37
|
|
- <div class="date">
|
38
|
|
- {$row.Date_Added}
|
39
|
|
- </div>
|
40
|
|
- {if {$row.postType}==1}
|
41
|
|
- <div class="post">
|
42
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
43
|
|
-
|
44
|
|
- <div class="regular">
|
45
|
|
- <h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
46
|
|
- {$row.Body}
|
47
|
|
- </div>
|
48
|
|
- </div>
|
49
|
|
- {elseif {$row.postType}==2}
|
50
|
|
- <div class="post">
|
51
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
52
|
|
- <div class="photo">
|
53
|
|
- <a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a><br/>
|
54
|
|
- <div class="caption">{$row.Caption}</div>
|
55
|
|
- </div>
|
56
|
|
- </div>
|
57
|
|
- {elseif {$row.postType}==3}
|
58
|
|
- <div class="post">
|
59
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
60
|
|
- <div class="quote">
|
61
|
|
- <span class="quote"><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</span>
|
62
|
|
- <div class="source">— {$row.Source}</div>
|
63
|
|
- </div>
|
64
|
|
- </div>
|
65
|
|
- {elseif {$row.postType}==4}
|
66
|
|
- <div class="post">
|
67
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
68
|
|
- <div class="link">
|
69
|
|
- » <a href="{$row.URL}">{$row.Name}</a>
|
70
|
|
- <div class="description">{$row.Description}</div>
|
71
|
|
- </div>
|
72
|
|
- </div>
|
73
|
|
- {elseif {$row.postType}==5}
|
74
|
|
- <div class="post">
|
75
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
76
|
|
- <div class="conversation">
|
77
|
|
- ...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
78
|
|
- {$row.Conversation}
|
79
|
|
- </div>
|
80
|
|
- </div>
|
81
|
|
- {elseif {$row.postType}==6}
|
82
|
|
- <div class="post">
|
83
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
84
|
|
- <div class="video">
|
85
|
|
- {$row.Video}
|
86
|
|
- <div class="caption">{$row.Caption}</div>
|
87
|
|
- </div>
|
88
|
|
- </div>
|
89
|
|
- {elseif {$row.postType}==7}
|
90
|
|
- <div class="post">
|
91
|
|
- <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
92
|
|
- <div class="video">
|
93
|
|
- {$row.Mp3}
|
94
|
|
- <div class="caption">{$row.Caption}</div>
|
95
|
|
- </div>
|
96
|
|
- </div>
|
97
|
|
- {/if}
|
98
|
|
-
|
99
|
|
- {if !{$id_post}}
|
100
|
|
- <div class="totalComments">
|
101
|
|
- <h3>Posted by {$row.User} - <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) comments</a></h3>
|
102
|
|
- </div>
|
103
|
|
- {/if}
|
104
|
|
- {/block}
|
105
|
|
-
|
106
|
|
- {if {$id_post}}
|
107
|
|
- <div class="containerComments">
|
108
|
|
- <h3 id="comments">{$row.Comments_Number} answers to “{$row.Post_Title}”</h3>
|
109
|
|
- <ol class="commentlist">
|
110
|
|
- {block {$comments} as {$comment}}
|
111
|
|
- <li class="alt" id="comment-{$comment.Id_Comment}">
|
112
|
|
- <cite>
|
113
|
|
- <a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>
|
114
|
|
- {$comment.Comment_Author} said:
|
115
|
|
- </cite>
|
116
|
|
- <br />
|
117
|
|
- <span class="timestampComment"> at {$comment.Date}</span><br /><br />
|
118
|
|
- {$comment.Comment}
|
119
|
|
- <br /><br />
|
120
|
|
- </li>
|
121
|
|
- {/block}
|
122
|
|
- </ol>
|
123
|
|
- </div>
|
124
|
|
-
|
125
|
|
- <div class="containerFormComments">
|
126
|
|
- <h3 id="respond">Add your comment</h3>
|
127
|
|
-
|
128
|
|
- <form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
|
129
|
|
- <p>
|
130
|
|
- <label for="username">
|
131
|
|
- <small>Name:</small>
|
132
|
|
- </label>
|
133
|
|
- <input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
|
134
|
|
- </p>
|
135
|
|
- <p>
|
136
|
|
- <label for="email">
|
137
|
|
- <small>E-mail:</small>
|
138
|
|
- </label>
|
139
|
|
- <input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
|
140
|
|
- </p>
|
141
|
|
- <p>
|
142
|
|
- <label for="web">
|
143
|
|
- <small>Website:</small>
|
144
|
|
- </label>
|
145
|
|
- <input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
|
146
|
|
- </p>
|
147
|
|
- <p>
|
148
|
|
- <textarea name="content" id="content" cols="100" rows="10" tabindex="4"></textarea>
|
149
|
|
- </p>
|
150
|
|
- <p>
|
151
|
|
- <span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;"><a href="http://hobix.com/textile/">Textile</a> syntax is supported.</span>
|
152
|
|
- <p>
|
153
|
|
- <input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
|
154
|
|
- </p>
|
155
|
|
- <p>
|
156
|
|
- <input name="id_post" id="id_post" value="{id_post}" type="hidden" />
|
157
|
|
- <input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
|
158
|
|
- </p>
|
159
|
|
- </form>
|
160
|
|
- </div>
|
161
|
|
- {else}
|
162
|
|
- {pagination}
|
163
|
|
- {/if}
|
164
|
|
- {/if}
|
165
|
|
- </div>
|
166
|
|
- <div id="footer">
|
167
|
|
- subscribe via <a href="{URL_Tumble}/rss.php">rss</a> /
|
168
|
|
- powered by <a href="http://www.gelatocms.com/">gelato cms</a>
|
169
|
|
- </div>
|
170
|
|
-</body>
|
|
1
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+<head>
|
|
5
|
+ {Gelato_includes}
|
|
6
|
+ <title>{Page_Title}</title>
|
|
7
|
+ <!--[if IE]>
|
|
8
|
+ <style type="text/css">
|
|
9
|
+ div.post div.quote span.quote big.quote {
|
|
10
|
+ line-height: 40px;
|
|
11
|
+ }
|
|
12
|
+ </style>
|
|
13
|
+ <![endif]-->
|
|
14
|
+</head>
|
|
15
|
+<body>
|
|
16
|
+ <div id="container">
|
|
17
|
+ <a href="{URL_Tumble}/rss.php"><img src="{URL_Tumble}/themes/{Template_name}/img/rss.gif" id="rss" alt="RSS" title="RSS" /></a>
|
|
18
|
+
|
|
19
|
+ <h1><a href="{URL_Tumble}/">{Title}</a></h1>
|
|
20
|
+
|
|
21
|
+ <div id="description">
|
|
22
|
+ {Description}
|
|
23
|
+ </div>
|
|
24
|
+
|
|
25
|
+ {if {$isAuthenticated}}
|
|
26
|
+ <div style="padding:4px; border:solid 2px #bbb; display:inline; background-color:#ddd; position:absolute; top:3px; right:3px;">
|
|
27
|
+ <b>Hi, {User}.</b>
|
|
28
|
+ <a target="_top" href="{URL_Tumble}/admin/index.php">Add/Edit my posts</a>
|
|
29
|
+ <a target="_top" href="{URL_Tumble}/admin/close.php">Sign out</a>
|
|
30
|
+ </div>
|
|
31
|
+ {/if}
|
|
32
|
+
|
|
33
|
+ {if {$error}}
|
|
34
|
+ <div class="error">{$error}</div>
|
|
35
|
+ {else}
|
|
36
|
+ {block {$rows} as {$row}}
|
|
37
|
+ <div class="date">
|
|
38
|
+ {$row.Date_Added}
|
|
39
|
+ </div>
|
|
40
|
+ {if {$row.postType}==1}
|
|
41
|
+ <div class="post">
|
|
42
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
43
|
+
|
|
44
|
+ <div class="regular">
|
|
45
|
+ <h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
|
46
|
+ {$row.Body}
|
|
47
|
+ </div>
|
|
48
|
+ </div>
|
|
49
|
+ {elseif {$row.postType}==2}
|
|
50
|
+ <div class="post">
|
|
51
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
52
|
+ <div class="photo">
|
|
53
|
+ <a {$row.Effect}><img src="{$row.PhotoURL}" alt="{$row.PhotoAlt}" /></a><br/>
|
|
54
|
+ <div class="caption">{$row.Caption}</div>
|
|
55
|
+ </div>
|
|
56
|
+ </div>
|
|
57
|
+ {elseif {$row.postType}==3}
|
|
58
|
+ <div class="post">
|
|
59
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
60
|
+ <div class="quote">
|
|
61
|
+ <span class="quote"><big class="quote"><a href="{$row.Permalink}">“</a></big> {$row.Quote}</span>
|
|
62
|
+ <div class="source">— {$row.Source}</div>
|
|
63
|
+ </div>
|
|
64
|
+ </div>
|
|
65
|
+ {elseif {$row.postType}==4}
|
|
66
|
+ <div class="post">
|
|
67
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
68
|
+ <div class="link">
|
|
69
|
+ » <a href="{$row.URL}">{$row.Name}</a>
|
|
70
|
+ <div class="description">{$row.Description}</div>
|
|
71
|
+ </div>
|
|
72
|
+ </div>
|
|
73
|
+ {elseif {$row.postType}==5}
|
|
74
|
+ <div class="post">
|
|
75
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
76
|
+ <div class="conversation">
|
|
77
|
+ ...<h2><a href="{$row.Permalink}">{$row.Title}</a></h2>
|
|
78
|
+ {$row.Conversation}
|
|
79
|
+ </div>
|
|
80
|
+ </div>
|
|
81
|
+ {elseif {$row.postType}==6}
|
|
82
|
+ <div class="post">
|
|
83
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
84
|
+ <div class="video">
|
|
85
|
+ {$row.Video}
|
|
86
|
+ <div class="caption">{$row.Caption}</div>
|
|
87
|
+ </div>
|
|
88
|
+ </div>
|
|
89
|
+ {elseif {$row.postType}==7}
|
|
90
|
+ <div class="post">
|
|
91
|
+ <a href="{$row.Permalink}"><img src="{URL_Tumble}/themes/tumblr/img/link.gif" class="permalink" alt="Permalink"/></a>
|
|
92
|
+ <div class="video">
|
|
93
|
+ {$row.Mp3}
|
|
94
|
+ <div class="caption">{$row.Caption}</div>
|
|
95
|
+ </div>
|
|
96
|
+ </div>
|
|
97
|
+ {/if}
|
|
98
|
+
|
|
99
|
+ {if !{$id_post}}
|
|
100
|
+ <div class="totalComments">
|
|
101
|
+ <h3>Posted by {$row.User} - <a href="{$row.Permalink}#comments">( {$row.Comments_Number} ) comments</a></h3>
|
|
102
|
+ </div>
|
|
103
|
+ {/if}
|
|
104
|
+ {/block}
|
|
105
|
+
|
|
106
|
+ {if {$id_post}}
|
|
107
|
+ <div class="containerComments">
|
|
108
|
+ <h3 id="comments">{$row.Comments_Number} answers to “{$row.Post_Title}”</h3>
|
|
109
|
+ <ol class="commentlist">
|
|
110
|
+ {block {$comments} as {$comment}}
|
|
111
|
+ <li class="alt" id="comment-{$comment.Id_Comment}">
|
|
112
|
+ <cite>
|
|
113
|
+ <a href="#comment-{$comment.Id_Comment}" title="Comment permalink">#</a>
|
|
114
|
+ {$comment.Comment_Author} said:
|
|
115
|
+ </cite>
|
|
116
|
+ <br />
|
|
117
|
+ <span class="timestampComment"> at {$comment.Date}</span><br /><br />
|
|
118
|
+ {$comment.Comment}
|
|
119
|
+ <br /><br />
|
|
120
|
+ </li>
|
|
121
|
+ {/block}
|
|
122
|
+ </ol>
|
|
123
|
+ </div>
|
|
124
|
+
|
|
125
|
+ <div class="containerFormComments">
|
|
126
|
+ <h3 id="respond">Add your comment</h3>
|
|
127
|
+
|
|
128
|
+ <form action="{Form_Action}" method="post" name="commentForm" id="commentForm">
|
|
129
|
+ <p>
|
|
130
|
+ <label for="username">
|
|
131
|
+ <small>Name:</small>
|
|
132
|
+ </label>
|
|
133
|
+ <input name="username" id="username" value="{whois.User_Cookie}" size="22" tabindex="1" type="text" />
|
|
134
|
+ </p>
|
|
135
|
+ <p>
|
|
136
|
+ <label for="email">
|
|
137
|
+ <small>E-mail:</small>
|
|
138
|
+ </label>
|
|
139
|
+ <input name="email" id="email" value="{whois.Email_Cookie}" size="22" tabindex="2" type="text" />
|
|
140
|
+ </p>
|
|
141
|
+ <p>
|
|
142
|
+ <label for="web">
|
|
143
|
+ <small>Website:</small>
|
|
144
|
+ </label>
|
|
145
|
+ <input name="web" id="web" value="{whois.Web_Cookie}" size="22" tabindex="3" type="text" />
|
|
146
|
+ </p>
|
|
147
|
+ <p>
|
|
148
|
+ <textarea name="content" id="content" cols="100" rows="10" tabindex="4"></textarea>
|
|
149
|
+ </p>
|
|
150
|
+ <p>
|
|
151
|
+ <span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;">
|
|
152
|
+ Some HTML allowed:<br />
|
|
153
|
+
|
|
154
|
+ <code>
|
|
155
|
+ <blockquote> <code> <em> <strong> <a>
|
|
156
|
+ </code>
|
|
157
|
+ </span>
|
|
158
|
+ </p>
|
|
159
|
+ <p>
|
|
160
|
+ <input type="submit" value="Add comment" name="btnAdd" id="btnAdd" tabindex="5" />
|
|
161
|
+ </p>
|
|
162
|
+ <p>
|
|
163
|
+ <input name="id_post" id="id_post" value="{id_post}" type="hidden" />
|
|
164
|
+ <input name="comment_date" id="comment_date" value="{Date_Added}" type="hidden" />
|
|
165
|
+ </p>
|
|
166
|
+ </form>
|
|
167
|
+ </div>
|
|
168
|
+ {else}
|
|
169
|
+ {pagination}
|
|
170
|
+ {/if}
|
|
171
|
+ {/if}
|
|
172
|
+ </div>
|
|
173
|
+ <div id="footer">
|
|
174
|
+ subscribe via <a href="{URL_Tumble}/rss.php">rss</a> /
|
|
175
|
+ powered by <a href="http://www.gelatocms.com/">gelato cms</a>
|
|
176
|
+ </div>
|
|
177
|
+</body>
|
171
|
178
|
</html>
|