about summary refs log tree commit diff stats
path: root/theme/css/blog.php
blob: e19d7df56c4487a079c866576e82f6dd8659a8b7 (plain) (blame)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Bui
<?php
/*
       444444444  
      4::::::::4  
     4:::::::::4  
    4::::44::::4  
   4::::4 4::::4   Four Island
  4::::4  4::::4  
 4::::4   4::::4   Written and maintained by Starla Insigna
4::::444444::::444
4::::::::::::::::4  theme/css/blog.php
4444444444:::::444
          4::::4   Please do not use, reproduce or steal the
          4::::4   contents of this file without explicit
          4::::4   permission from Hatkirby.
        44::::::44
        4::::::::4
        4444444444
*/

if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}

require('headerproc.php');
include_once('../../security/config.php');
include_once('../includes/db.php');

?>

div.post {
 clear: both;
 padding-top: 15px;
}

span.back-post {
 float: left;
 font-size: 0.9em;
}

span.back-post:before {
 content: "\ab\a0";
}

span.next-post {
 float: right;
 font-size: 0.9em;
}

span.next-post:after {
 content: "\a0\bb";
}

div.post-date-1 {
 width: 45px;
 height: 49px;
 float: left;
 background: url(/theme/images/date-bg-1.gif) no-repeat;
}

div.post-date-0 {
 width: 45px;
 height: 49px;
 float: left;
}

div.post-date-0 span.post-month {
 color: #999999;
 font-size: 18px;
}

span.post-month {
 font-size: 11px;
 text-transform: uppercase;
 color: #FFFFFF;
 text-align: center;
 display: block;
 line-height: 11px;
 padding-top: 2px;
 margin-left: -3px;
}

span.post-day {
 font-size: 18px;
 text-transform: uppercase;
 color: #999999;
 text-align: center;
 display: block;
 line-height: 18px;
 padding-top: 7px;
 margin-left: -3px;
}

div.post-title {
 float: left;
 margin-left: 10px;
 width: 90%; /* 500px */
}

div.entry {
 clear: both;
 padding-top: 10px;
 /*font-size: 75%;
 line-height: 150%;*/
}

div.entry ol,
div.entry ul,
a[name|="comment"]+div.bubble ol,
a[name|="comment"]+div.bubble ul {
 margin-left: 3em;
}

<?php

$getupdates = "SELECT * FROM updates";
$getupdates2 = mysql_query($getupdates);
$i=0;
$k=0;
while ($getupdates3[$i] = mysql_fetch_array($getupdates2))
{
	$j=0;
	for ($j=0;$j<$k;$j++)
	{
		if ($authors[$j] == $getupdates3[$i]['author'])
		{
			break;
		}
	}
	if ($j==$k)
	{
		$authors[$k] = $getupdates3[$i]['author'];
		$k++;
	}
	$i++;
}
$i=0;
for ($i=0;$i<$k;$i++)
{
?>
span.post-cat-<?php echo($authors[$i]); ?> {
 background: url(/theme/images/authors/<?php echo($authors[$i]); ?>.ico) no-repeat;
 padding-left: 20px;
 float: left;
 font-size: 95%;
 color: #999999;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
}

<?php
}

?>
span.post-comment {
 background: url(/theme/images/icons/comment.png) no-repeat;
 padding-left: 20px;
 float: right;
 font-size: 95%;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
}

span.mini-add-comment {
 background: url(/theme/images/icons/comment_add.png) no-repeat;
 padding-left: 18px;
 float: right;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
}

span.post-comments {
 background: url(/theme/images/icons/comments.png) no-repeat;
 padding-left: 20px;
 float: right;
 font-size: 95%;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
}

span.post-tag-1 {
 background: url(/theme/images/icons/tag.png) no-repeat;
 padding-left: 20px;
 margin-left: 90px;
 float: left;
 font-size: 95%;
 color: #999999;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
 text-transform: capitalize;
}

span.post-tag-2 {
 background: url(/theme/images/icons/tag.png) no-repeat;
 padding-left: 20px;
 margin-left: 75px;
 float: left;
 font-size: 95%;
 color: #999999;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
 text-transform: capitalize;
}

span.post-tag-3 {
 background: url(/theme/images/icons/tag.png) no-repeat;
 padding-left: 20px;
 margin-left: 35px;
 float: left;
 font-size: 95%;
 color: #999999;
 font: 75%/150% Arial, "Trebuchet MS", Tahoma;
 text-transform: capitalize;
}

div.post-date-2 {
 width: 45px;
 height: 49px;	
 float: left;
 background: url(/theme/images/date-bg-2.gif) no-repeat;
}

div.post-date-3 {
 width: 45px;
 height: 49px;
 float: left;
 background: url(/theme/images/date-bg-3.gif) no-repeat;
}

div.post-date-4 {
 width: 45px;
 height: 49px;
 float: left;
 background: url(/theme/images/date-bg-4.gif) no-repeat;
}

span.post-vote {
 float: right;
 position: relative;
 top: -.5em;
 right: 1em;
}

span.post-rating {
 font-size: big;
}

span.post-action-done {
        opacity: 0.2;
}
s="p">($template,'<!--BEGIN ' . $bname . '-->'); $end = strpos($template,'<!--END ' . $bname . '-->'); $template = str_replace(substr($template,$start,$end-$start+strlen($bname)+11),'',$template); } $template = preg_replace('/<!--([^>]*)-->/','',$template); echo($template); } function parseBlock(&$template, $bname, $block) { while (strpos($template,'<!--BEGIN ' . $bname . '-->') !== FALSE) { $start = strpos($template,'<!--BEGIN ' . $bname . '-->'); $end = strpos($template,'<!--END ' . $bname . '-->'); $gencont = substr($template,$start+strlen($bname)+13,$end-$start-strlen($bname)-13); $blockcont = ''; foreach ($block as $lname => $blocktags) { if ($lname != 'count') { $scrcont = $gencont; foreach ($blocktags as $name => $value) { if (!is_array($value)) { $scrcont = str_replace('<!--' . $bname . '.' . $name . '-->',$value,$scrcont); } else { $this->parseBlock($scrcont, $bname . '.' . $name, $value); } } $blockcont .= $scrcont; } } $template = str_replace(substr($template,$start,$end-$start+strlen($bname)+11),$blockcont,$template); } } } ?>