diff options
Diffstat (limited to 'theme/css/blog.php')
-rw-r--r-- | theme/css/blog.php | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/theme/css/blog.php b/theme/css/blog.php new file mode 100644 index 0000000..b4b80d0 --- /dev/null +++ b/theme/css/blog.php | |||
@@ -0,0 +1,209 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css/blog.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | |||
25 | ?> | ||
26 | |||
27 | div.post { | ||
28 | clear: both; | ||
29 | padding-top: 15px; | ||
30 | } | ||
31 | |||
32 | span.back-post { | ||
33 | float: left; | ||
34 | font-size: 0.9em; | ||
35 | } | ||
36 | |||
37 | span.next-post { | ||
38 | float: right; | ||
39 | font-size: 0.9em; | ||
40 | } | ||
41 | |||
42 | div.post-date-1 { | ||
43 | width: 45px; | ||
44 | height: 49px; | ||
45 | float: left; | ||
46 | background: url(/theme/images/date-bg-1.gif) no-repeat; | ||
47 | } | ||
48 | |||
49 | div.post-date-0 { | ||
50 | width: 45px; | ||
51 | height: 49px; | ||
52 | float: left; | ||
53 | } | ||
54 | |||
55 | div.post-date-0 span.post-month { | ||
56 | color: #999999; | ||
57 | font-size: 18px; | ||
58 | } | ||
59 | |||
60 | span.post-month { | ||
61 | font-size: 11px; | ||
62 | text-transform: uppercase; | ||
63 | color: #FFFFFF; | ||
64 | text-align: center; | ||
65 | display: block; | ||
66 | line-height: 11px; | ||
67 | padding-top: 2px; | ||
68 | margin-left: -3px; | ||
69 | } | ||
70 | |||
71 | span.post-day { | ||
72 | font-size: 18px; | ||
73 | text-transform: uppercase; | ||
74 | color: #999999; | ||
75 | text-align: center; | ||
76 | display: block; | ||
77 | line-height: 18px; | ||
78 | padding-top: 7px; | ||
79 | margin-left: -3px; | ||
80 | } | ||
81 | |||
82 | div.post-title { | ||
83 | float: left; | ||
84 | margin-left: 10px; | ||
85 | width: 500px; /* 430px */ | ||
86 | } | ||
87 | |||
88 | div.entry { | ||
89 | clear: both; | ||
90 | padding-top: 10px; | ||
91 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
92 | } | ||
93 | |||
94 | <?php | ||
95 | |||
96 | $getupdates = "SELECT * FROM updates"; | ||
97 | $getupdates2 = mysql_query($getupdates); | ||
98 | $i=0; | ||
99 | $k=0; | ||
100 | while ($getupdates3[$i] = mysql_fetch_array($getupdates2)) | ||
101 | { | ||
102 | $j=0; | ||
103 | for ($j=0;$j<$k;$j++) | ||
104 | { | ||
105 | if ($authors[$j] == $getupdates3[$i]['author']) | ||
106 | { | ||
107 | break; | ||
108 | } | ||
109 | } | ||
110 | if ($j==$k) | ||
111 | { | ||
112 | $authors[$k] = $getupdates3[$i]['author']; | ||
113 | $k++; | ||
114 | } | ||
115 | $i++; | ||
116 | } | ||
117 | $i=0; | ||
118 | for ($i=0;$i<$k;$i++) | ||
119 | { | ||
120 | ?> | ||
121 | span.post-cat-<?php echo($authors[$i]); ?> { | ||
122 | background: url(/theme/images/authors/<?php echo($authors[$i]); ?>.ico) no-repeat; | ||
123 | padding-left: 20px; | ||
124 | float: left; | ||
125 | font-size: 95%; | ||
126 | color: #999999; | ||
127 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
128 | } | ||
129 | |||
130 | <?php | ||
131 | } | ||
132 | |||
133 | ?> | ||
134 | span.post-comment { | ||
135 | background: url(/theme/images/icons/comment.png) no-repeat; | ||
136 | padding-left: 20px; | ||
137 | float: right; | ||
138 | font-size: 95%; | ||
139 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
140 | } | ||
141 | |||
142 | span.mini-add-comment { | ||
143 | background: url(/theme/images/icons/comment_add.png) no-repeat; | ||
144 | padding-left: 18px; | ||
145 | float: right; | ||
146 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
147 | } | ||
148 | |||
149 | span.post-comments { | ||
150 | background: url(/theme/images/icons/comments.png) no-repeat; | ||
151 | padding-left: 20px; | ||
152 | float: right; | ||
153 | font-size: 95%; | ||
154 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
155 | } | ||
156 | |||
157 | span.post-tag-1 { | ||
158 | background: url(/theme/images/icons/tag.png) no-repeat; | ||
159 | padding-left: 20px; | ||
160 | margin-left: 90px; | ||
161 | float: left; | ||
162 | font-size: 95%; | ||
163 | color: #999999; | ||
164 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
165 | text-transform: capitalize; | ||
166 | } | ||
167 | |||
168 | span.post-tag-2 { | ||
169 | background: url(/theme/images/icons/tag.png) no-repeat; | ||
170 | padding-left: 20px; | ||
171 | margin-left: 75px; | ||
172 | float: left; | ||
173 | font-size: 95%; | ||
174 | color: #999999; | ||
175 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
176 | text-transform: capitalize; | ||
177 | } | ||
178 | |||
179 | span.post-tag-3 { | ||
180 | background: url(/theme/images/icons/tag.png) no-repeat; | ||
181 | padding-left: 20px; | ||
182 | margin-left: 35px; | ||
183 | float: left; | ||
184 | font-size: 95%; | ||
185 | color: #999999; | ||
186 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
187 | text-transform: capitalize; | ||
188 | } | ||
189 | |||
190 | div.post-date-2 { | ||
191 | width: 45px; | ||
192 | height: 49px; | ||
193 | float: left; | ||
194 | background: url(/theme/images/date-bg-2.gif) no-repeat; | ||
195 | } | ||
196 | |||
197 | div.post-date-3 { | ||
198 | width: 45px; | ||
199 | height: 49px; | ||
200 | float: left; | ||
201 | background: url(/theme/images/date-bg-3.gif) no-repeat; | ||
202 | } | ||
203 | |||
204 | div.post-date-4 { | ||
205 | width: 45px; | ||
206 | height: 49px; | ||
207 | float: left; | ||
208 | background: url(/theme/images/date-bg-4.gif) no-repeat; | ||
209 | } | ||