Merge lp:~yoboy-leguesh/ubuntu-party/up_newtheme into lp:ubuntu-party
- up_newtheme
- Merge into trunk
Proposed by
YoBoY
Status: | Merged |
---|---|
Approved by: | YoBoY |
Approved revision: | 3 |
Merged at revision: | 3 |
Proposed branch: | lp:~yoboy-leguesh/ubuntu-party/up_newtheme |
Merge into: | lp:ubuntu-party |
Diff against target: |
17984 lines (+17481/-0) 62 files modified
wp-content/themes/arthemia/404.php (+21/-0) wp-content/themes/arthemia/archive.php (+75/-0) wp-content/themes/arthemia/comments.php (+121/-0) wp-content/themes/arthemia/footer.php (+38/-0) wp-content/themes/arthemia/functions.php (+41/-0) wp-content/themes/arthemia/header.php (+57/-0) wp-content/themes/arthemia/index.php (+118/-0) wp-content/themes/arthemia/page.php (+33/-0) wp-content/themes/arthemia/pagenavi-css.css (+69/-0) wp-content/themes/arthemia/query.php (+1320/-0) wp-content/themes/arthemia/scripts/timthumb.php (+379/-0) wp-content/themes/arthemia/search.php (+64/-0) wp-content/themes/arthemia/searchform.php (+6/-0) wp-content/themes/arthemia/sidebar.php (+44/-0) wp-content/themes/arthemia/single.php (+52/-0) wp-content/themes/arthemia/style.css (+831/-0) wp-content/themes/ubuntu-party_light/.tag-conferences.php (+63/-0) wp-content/themes/ubuntu-party_light/404.php (+21/-0) wp-content/themes/ubuntu-party_light/archive.php (+75/-0) wp-content/themes/ubuntu-party_light/comments.php (+118/-0) wp-content/themes/ubuntu-party_light/footer.php (+16/-0) wp-content/themes/ubuntu-party_light/functions.php (+88/-0) wp-content/themes/ubuntu-party_light/header.php (+76/-0) wp-content/themes/ubuntu-party_light/images/icons/applications-internet.svg (+232/-0) wp-content/themes/ubuntu-party_light/images/icons/applications-multimedia.svg (+485/-0) wp-content/themes/ubuntu-party_light/images/icons/applications-photography.svg (+1124/-0) wp-content/themes/ubuntu-party_light/images/icons/applications-simulation.svg (+512/-0) wp-content/themes/ubuntu-party_light/images/icons/audio-input-microphone.svg (+239/-0) wp-content/themes/ubuntu-party_light/images/icons/audio-player.svg (+131/-0) wp-content/themes/ubuntu-party_light/images/icons/camera-photo.svg (+977/-0) wp-content/themes/ubuntu-party_light/images/icons/camera-web.svg (+406/-0) wp-content/themes/ubuntu-party_light/images/icons/computer.svg (+1592/-0) wp-content/themes/ubuntu-party_light/images/icons/contact-new.svg (+461/-0) wp-content/themes/ubuntu-party_light/images/icons/dialog-apply.svg (+91/-0) wp-content/themes/ubuntu-party_light/images/icons/document-properties.svg (+118/-0) wp-content/themes/ubuntu-party_light/images/icons/document-save-as.svg (+516/-0) wp-content/themes/ubuntu-party_light/images/icons/document-save-lucid.svg (+643/-0) wp-content/themes/ubuntu-party_light/images/icons/document-save.svg (+463/-0) wp-content/themes/ubuntu-party_light/images/icons/edit-delete.svg (+143/-0) wp-content/themes/ubuntu-party_light/images/icons/edit-find.svg (+235/-0) wp-content/themes/ubuntu-party_light/images/icons/gconf-editor.svg (+450/-0) wp-content/themes/ubuntu-party_light/images/icons/gtk-edit.svg (+243/-0) wp-content/themes/ubuntu-party_light/images/icons/preferences-desktop-sound.svg (+418/-0) wp-content/themes/ubuntu-party_light/images/icons/system-users.svg (+305/-0) wp-content/themes/ubuntu-party_light/images/icons/up_facebook.svg (+110/-0) wp-content/themes/ubuntu-party_light/images/icons/up_flickr.svg (+100/-0) wp-content/themes/ubuntu-party_light/images/icons/up_identica.svg (+220/-0) wp-content/themes/ubuntu-party_light/images/icons/up_rss.svg (+125/-0) wp-content/themes/ubuntu-party_light/images/icons/up_twitter.svg (+125/-0) wp-content/themes/ubuntu-party_light/images/icons/up_wikio.svg (+87/-0) wp-content/themes/ubuntu-party_light/index.php (+150/-0) wp-content/themes/ubuntu-party_light/page.php (+33/-0) wp-content/themes/ubuntu-party_light/pagenavi-css.css (+69/-0) wp-content/themes/ubuntu-party_light/query.php (+1320/-0) wp-content/themes/ubuntu-party_light/scripts/config.include.php (+70/-0) wp-content/themes/ubuntu-party_light/scripts/timthumb.php (+379/-0) wp-content/themes/ubuntu-party_light/search.php (+62/-0) wp-content/themes/ubuntu-party_light/searchform.php (+5/-0) wp-content/themes/ubuntu-party_light/sidebar-footer.php (+112/-0) wp-content/themes/ubuntu-party_light/sidebar.php (+46/-0) wp-content/themes/ubuntu-party_light/single.php (+57/-0) wp-content/themes/ubuntu-party_light/style.css (+901/-0) |
To merge this branch: | bzr merge lp:~yoboy-leguesh/ubuntu-party/up_newtheme |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Party WebApps Developpers | Pending | ||
Review via email: mp+48440@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'wp-content/themes/arthemia' |
2 | === added file 'wp-content/themes/arthemia/404.php' |
3 | --- wp-content/themes/arthemia/404.php 1970-01-01 00:00:00 +0000 |
4 | +++ wp-content/themes/arthemia/404.php 2011-02-03 09:51:14 +0000 |
5 | @@ -0,0 +1,21 @@ |
6 | +<?php get_header(); ?> |
7 | + |
8 | + <div id="content"> |
9 | + |
10 | + <div class="post"> |
11 | + |
12 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » 404 Not Found</span> |
13 | + |
14 | + <h2 class="title">Error 404 - Not Found</h2> |
15 | + |
16 | + <div class="entry clearfloat"> |
17 | + <p>Ooops, I cannot find you the page you are looking for. You may try to search my site another keyword or use the navigation on your right to browse my site.</p> |
18 | + |
19 | + </div> |
20 | + |
21 | + </div> |
22 | + |
23 | + </div> |
24 | + |
25 | +<?php get_sidebar(); ?> |
26 | +<?php get_footer(); ?> |
27 | |
28 | === added file 'wp-content/themes/arthemia/archive.php' |
29 | --- wp-content/themes/arthemia/archive.php 1970-01-01 00:00:00 +0000 |
30 | +++ wp-content/themes/arthemia/archive.php 2011-02-03 09:51:14 +0000 |
31 | @@ -0,0 +1,75 @@ |
32 | +<?php get_header(); ?> |
33 | + |
34 | + <div id="content"> |
35 | + |
36 | + <?php if (have_posts()) : ?> |
37 | + |
38 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » Archive</span> |
39 | + |
40 | + <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> |
41 | + |
42 | + <?php /* If this is a category archive */ if (is_category()) { ?><h2 class="title">Articles in the <?php single_cat_title(); ?> Category</h2> |
43 | + |
44 | + <?php /* If this is a tagged archive */ } elseif (is_tag()) { ?> <h2 class="title">Articles tagged with: <?php single_tag_title(); ?></h2> |
45 | + |
46 | + <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h2 class="title">Articles Archive for <?php the_time('j F Y'); ?></h2> |
47 | + |
48 | + <?php /* If this is a monthly archive */ } elseif (is_month()) { ?><h2 class="title">Articles Archive for <?php the_time('F Y'); ?></h2> |
49 | + |
50 | + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> |
51 | + <h2 class="title">Articles Archive for Year <?php the_time('Y'); ?></h2> |
52 | + |
53 | + <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> |
54 | + <h2 class="title">The Archives</h2> |
55 | + <?php } ?> |
56 | + |
57 | + <div id="archive"> |
58 | + |
59 | + <?php while (have_posts()) : the_post(); ?> |
60 | + |
61 | + <div class="clearfloat"> |
62 | + <h3 class=cat_title><?php the_category(', '); ?> »</h3> |
63 | + <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> |
64 | + <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> |
65 | + |
66 | + <div class="spoiler"> |
67 | + <?php $values = get_post_custom_values("Image"); |
68 | + if (isset($values[0])) { ?> |
69 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
70 | + <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
71 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100" |
72 | +alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a> |
73 | + <?php } ?> |
74 | + |
75 | + <?php the_excerpt(); ?> |
76 | + </div> |
77 | + |
78 | + </div> |
79 | + |
80 | + <?php endwhile; ?> |
81 | + |
82 | + <div class="navigation"> |
83 | + |
84 | + <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } |
85 | + else { ?> |
86 | + |
87 | + <div class="right"><?php next_posts_link('Next Page »') ?></div> |
88 | + <div class="left"><?php previous_posts_link('« Previous Page') ?></div> |
89 | + <?php } ?> |
90 | + |
91 | + |
92 | + </div> |
93 | + |
94 | + <?php else : ?> |
95 | + |
96 | + <h2 class="title">No posts found. Try a different search?</h2> |
97 | + |
98 | + <?php endif; ?> |
99 | + |
100 | + </div> |
101 | + |
102 | + </div> |
103 | + |
104 | + |
105 | +<?php get_sidebar(); ?> |
106 | +<?php get_footer(); ?> |
107 | |
108 | === added file 'wp-content/themes/arthemia/comments.php' |
109 | --- wp-content/themes/arthemia/comments.php 1970-01-01 00:00:00 +0000 |
110 | +++ wp-content/themes/arthemia/comments.php 2011-02-03 09:51:14 +0000 |
111 | @@ -0,0 +1,121 @@ |
112 | +<?php // Do not delete these lines |
113 | + if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) |
114 | + die ('Please do not load this page directly. Thanks!'); |
115 | + |
116 | + if (!empty($post->post_password)) { // if there's a password |
117 | + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie |
118 | + ?> |
119 | + |
120 | + <p class="nocomments">This post is password protected. Enter the password to view comments.</p> |
121 | + |
122 | + <?php |
123 | + return; |
124 | + } |
125 | + } |
126 | + |
127 | +?> |
128 | + |
129 | +<!-- You can start editing here. --> |
130 | + |
131 | + |
132 | +<?php if ($comments) : ?> |
133 | + <h3 id="comments"><?php comments_number('No Comment', 'One Comment', '% Comments' );?> <a href="#respond" title="<?php _e("Leave a comment"); ?>">»</a></h3> |
134 | +<ul class="commentlist"> |
135 | + |
136 | + <?php foreach ($comments as $comment) : ?> |
137 | + |
138 | +<?php |
139 | +$isByAuthor = false; |
140 | +if($comment->comment_author_email == get_the_author_email()) { |
141 | +$isByAuthor = true; |
142 | +}?> |
143 | + <div class="commentlist"> |
144 | + |
145 | + <li id="comment-<?php comment_ID() ?>" <?php if($isByAuthor ) { echo 'class="my_comment"';} ?>> |
146 | + |
147 | + <div class="clearfloat"> |
148 | + |
149 | + <?php echo get_avatar( $comment, $size = '55' ); ?> |
150 | + |
151 | + |
152 | + <div class="commenttext"> |
153 | + <cite><strong><?php comment_author_link() ?> <?php if($isByAuthor ) { echo '(author)';} ?> </strong> said: </cite> |
154 | + |
155 | + <?php if ($comment->comment_approved == '0') : ?> |
156 | + <em>Your comment is awaiting moderation.</em> |
157 | + <?php endif; ?> |
158 | + <?php comment_text() ?> |
159 | + </div> |
160 | + |
161 | + |
162 | + </div> |
163 | + |
164 | + <div class="commentmetadata"># <?php comment_date('j F Y') ?> at <?php comment_time() ?> </div> |
165 | + </li> |
166 | + |
167 | + |
168 | + <?php endforeach; /* end for each comment */ ?> |
169 | +</ul> |
170 | + |
171 | + |
172 | + <?php else : // this is displayed if there are no comments so far ?> |
173 | + |
174 | + <?php if ('open' == $post->comment_status) : ?> |
175 | + <!-- If comments are open, but there are no comments. --> |
176 | + |
177 | + <?php else : // comments are closed ?> |
178 | + <!-- If comments are closed. --> |
179 | + <p class="nocomments">Comments are closed.</p> |
180 | + |
181 | + <?php endif; ?> |
182 | +<?php endif; ?> |
183 | + |
184 | + |
185 | +<?php if ('open' == $post->comment_status) : ?> |
186 | + |
187 | + |
188 | +<h3 id="respond">Leave your response!</h3> |
189 | + |
190 | +<?php if ( get_option('comment_registration') && !$user_ID ) : ?> |
191 | +<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p> |
192 | +<?php else : ?> |
193 | + |
194 | +<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> |
195 | + |
196 | +<?php if ( $user_ID ) : ?> |
197 | + |
198 | +<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></p> |
199 | + |
200 | +<?php else : ?> |
201 | + |
202 | +<p>Add your comment below, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site. You can also <?php comments_rss_link('subscribe to these comments'); ?> via RSS.</p> |
203 | + |
204 | +<p>Be nice. Keep it clean. Stay on topic. No spam.</p> |
205 | + |
206 | +<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" class="field" /> |
207 | +<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p> |
208 | + |
209 | +<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" class="field" /> |
210 | +<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p> |
211 | + |
212 | +<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" class="field" /> |
213 | +<label for="url"><small>Website (optional)</small></label></p> |
214 | + |
215 | +<?php endif; ?> |
216 | + |
217 | +<p><textarea name="comment" id="comment" cols="100%" rows="15" tabindex="4"></textarea></p> |
218 | +<p>You can use these tags:<br/><code><?php echo allowed_tags(); ?></code></p> |
219 | +<p>This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at <a href="http://www.gravatar.com">Gravatar</a>.</p> |
220 | + |
221 | +<p><input name="submit" class="searchbutton" type="submit" id="submit" tabindex="5" value="Submit Comment" /> |
222 | +<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> |
223 | +</p> |
224 | +<?php do_action('comment_form', $post->ID); ?> |
225 | + |
226 | +</form> |
227 | + |
228 | +<?php endif; // If registration required and not logged in ?> |
229 | + |
230 | +<?php endif; ?> |
231 | + |
232 | + |
233 | |
234 | === added file 'wp-content/themes/arthemia/footer.php' |
235 | --- wp-content/themes/arthemia/footer.php 1970-01-01 00:00:00 +0000 |
236 | +++ wp-content/themes/arthemia/footer.php 2011-02-03 09:51:14 +0000 |
237 | @@ -0,0 +1,38 @@ |
238 | +</div> |
239 | + |
240 | +<div id="front-popular" class="clearfloat"> |
241 | + |
242 | +<div id="recentpost" class="clearfloat"> |
243 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(5) ) : ?> |
244 | +<?php endif; ?></div> |
245 | + |
246 | +<div id="mostcommented" class="clearfloat"> |
247 | +<h3>Most Commented</h3> |
248 | +<ul><?php $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5"); foreach ($result as $topfive) { $postid = $topfive->ID; $title = $topfive->post_title; $commentcount = $topfive->comment_count; if ($commentcount != 0) { ?> <li><a href="<?php echo get_permalink($postid); ?>" title="<?php echo $title ?>"><?php echo $title ?></a></li> <?php } } ?> |
249 | +</ul> |
250 | + |
251 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(6) ) : ?> |
252 | +<?php endif; ?> |
253 | +</div> |
254 | + |
255 | +<div id="recent_comments" class="clearfloat"> |
256 | +<?php if (function_exists('get_most_viewed')): ?> |
257 | +<h3>Most Viewed</h3> |
258 | +<ul> |
259 | + <?php get_most_viewed('post',5); ?> |
260 | +</ul> |
261 | +<?php endif; ?> |
262 | + |
263 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(7) ) : ?> |
264 | +<?php endif; ?> |
265 | +</div> |
266 | +</div> |
267 | + |
268 | +<div id="footer"> <?php wp_footer(); ?> Powered by <a href="http://wordpress.org/">WordPress</a> | <?php if ( is_user_logged_in() ) { ?> <?php wp_register('', ''); ?> | <?php } ?> <?php wp_loginout(); ?> | <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> | <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a> | <a href="http://michaelhutagalung.com/2008/05/arthemia-magazine-blog-wordpress-theme-released/" target="_blank">Arthemia</a> theme by <a href="http://michaelhutagalung.com" target="_blank">Michael Hutagalung</a> |
269 | + |
270 | +<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> |
271 | + |
272 | +</div> |
273 | + |
274 | +</body> |
275 | +</html> |
276 | \ No newline at end of file |
277 | |
278 | === added file 'wp-content/themes/arthemia/functions.php' |
279 | --- wp-content/themes/arthemia/functions.php 1970-01-01 00:00:00 +0000 |
280 | +++ wp-content/themes/arthemia/functions.php 2011-02-03 09:51:14 +0000 |
281 | @@ -0,0 +1,41 @@ |
282 | +<?php if ( function_exists('register_sidebar') ) |
283 | +{ |
284 | +register_sidebar(array('name' => 'Sidebar Top','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
285 | +register_sidebar(array('name' => 'Sidebar Left','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
286 | +register_sidebar(array('name' => 'Sidebar Right','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
287 | +register_sidebar(array('name' => 'Sidebar Bottom','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
288 | +register_sidebar(array('name' => 'Footer Left','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
289 | +register_sidebar(array('name' => 'Footer Center','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
290 | +register_sidebar(array('name' => 'Footer Right','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
291 | +} |
292 | + |
293 | + |
294 | +remove_filter('get_the_excerpt', 'wp_trim_excerpt'); |
295 | +add_filter('get_the_excerpt', 'custom_trim_excerpt'); |
296 | + |
297 | +remove_filter('get_the_excerpt', 'wp_trim_excerpt'); |
298 | +add_filter('get_the_excerpt', 'custom_trim_excerpt'); |
299 | + |
300 | +function custom_trim_excerpt($text) { // Fakes an excerpt if needed |
301 | +global $post; |
302 | + if ( '' == $text ) { |
303 | + $text = get_the_content(''); |
304 | + |
305 | + $text = strip_shortcodes( $text ); |
306 | + |
307 | + $text = apply_filters('the_content', $text); |
308 | + $text = str_replace(']]>', ']]>', $text); |
309 | + $text = strip_tags($text); |
310 | + $excerpt_length = apply_filters('excerpt_length', 90); |
311 | + $words = explode(' ', $text, $excerpt_length + 1); |
312 | + if (count($words) > $excerpt_length) { |
313 | + array_pop($words); |
314 | + array_push($words, '...'); |
315 | + $text = implode(' ', $words); |
316 | + } |
317 | + } |
318 | + return $text; |
319 | +} |
320 | + |
321 | + |
322 | +?> |
323 | \ No newline at end of file |
324 | |
325 | === added file 'wp-content/themes/arthemia/header.php' |
326 | --- wp-content/themes/arthemia/header.php 1970-01-01 00:00:00 +0000 |
327 | +++ wp-content/themes/arthemia/header.php 2011-02-03 09:51:14 +0000 |
328 | @@ -0,0 +1,57 @@ |
329 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
330 | +<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
331 | + |
332 | +<head profile="http://gmpg.org/xfn/11"> |
333 | +<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
334 | + |
335 | +<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> |
336 | + |
337 | +<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> |
338 | + |
339 | +<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
340 | +<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> |
341 | +<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> |
342 | +<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> |
343 | + |
344 | +<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> |
345 | + |
346 | + |
347 | +<link rel="icon" href="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/favicon.ico" /> |
348 | +<link rel="shortcut icon" href="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/favicon.ico" /> |
349 | + |
350 | +<?php wp_head(); ?> |
351 | + |
352 | +</head> |
353 | +<body> |
354 | + |
355 | +<div id="head" class="clearfloat"> |
356 | + |
357 | +<div class="clearfloat"> |
358 | + <div id="logo" class="left"> |
359 | + <a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" width="177px" height="39px" alt="" /></a> |
360 | + <div id="tagline"><?php bloginfo('description'); ?></div> |
361 | + </div> |
362 | + |
363 | + <div class="right"> |
364 | + <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/wide.jpg" alt="" width="468px" height="60px" /> |
365 | + </div> |
366 | + |
367 | +</div> |
368 | + |
369 | +<div id="navbar" class="clearfloat"> |
370 | + |
371 | +<ul id="page-bar" class="left clearfloat"> |
372 | + |
373 | +<li><a href="<?php echo get_option('home'); ?>/">Home</a></li> |
374 | + |
375 | +<?php wp_list_pages('sort_column=menu_order&title_li='); ?> |
376 | + |
377 | +</ul> |
378 | + |
379 | +<?php include (TEMPLATEPATH . '/searchform.php'); ?> |
380 | + |
381 | +</div> |
382 | + |
383 | +</div> |
384 | + |
385 | +<div id="page" class="clearfloat"> |
386 | \ No newline at end of file |
387 | |
388 | === added directory 'wp-content/themes/arthemia/images' |
389 | === added directory 'wp-content/themes/arthemia/images/banners' |
390 | === added file 'wp-content/themes/arthemia/images/banners/square.jpg' |
391 | Binary files wp-content/themes/arthemia/images/banners/square.jpg 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/banners/square.jpg 2011-02-03 09:51:14 +0000 differ |
392 | === added file 'wp-content/themes/arthemia/images/banners/wide.jpg' |
393 | Binary files wp-content/themes/arthemia/images/banners/wide.jpg 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/banners/wide.jpg 2011-02-03 09:51:14 +0000 differ |
394 | === added file 'wp-content/themes/arthemia/images/bottombar.png' |
395 | Binary files wp-content/themes/arthemia/images/bottombar.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/bottombar.png 2011-02-03 09:51:14 +0000 differ |
396 | === added file 'wp-content/themes/arthemia/images/category.png' |
397 | Binary files wp-content/themes/arthemia/images/category.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/category.png 2011-02-03 09:51:14 +0000 differ |
398 | === added file 'wp-content/themes/arthemia/images/divider.png' |
399 | Binary files wp-content/themes/arthemia/images/divider.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/divider.png 2011-02-03 09:51:14 +0000 differ |
400 | === added file 'wp-content/themes/arthemia/images/favicon.ico' |
401 | Binary files wp-content/themes/arthemia/images/favicon.ico 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/favicon.ico 2011-02-03 09:51:14 +0000 differ |
402 | === added file 'wp-content/themes/arthemia/images/featured.png' |
403 | Binary files wp-content/themes/arthemia/images/featured.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/featured.png 2011-02-03 09:51:14 +0000 differ |
404 | === added file 'wp-content/themes/arthemia/images/headline.png' |
405 | Binary files wp-content/themes/arthemia/images/headline.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/headline.png 2011-02-03 09:51:14 +0000 differ |
406 | === added directory 'wp-content/themes/arthemia/images/icons' |
407 | === added file 'wp-content/themes/arthemia/images/icons/feedicon.png' |
408 | Binary files wp-content/themes/arthemia/images/icons/feedicon.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/icons/feedicon.png 2011-02-03 09:51:14 +0000 differ |
409 | === added file 'wp-content/themes/arthemia/images/logo.png' |
410 | Binary files wp-content/themes/arthemia/images/logo.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/logo.png 2011-02-03 09:51:14 +0000 differ |
411 | === added file 'wp-content/themes/arthemia/images/magnify.gif' |
412 | Binary files wp-content/themes/arthemia/images/magnify.gif 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/magnify.gif 2011-02-03 09:51:14 +0000 differ |
413 | === added file 'wp-content/themes/arthemia/images/navbar.png' |
414 | Binary files wp-content/themes/arthemia/images/navbar.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/navbar.png 2011-02-03 09:51:14 +0000 differ |
415 | === added directory 'wp-content/themes/arthemia/images/sociable' |
416 | === added file 'wp-content/themes/arthemia/images/sociable/delicious.png' |
417 | Binary files wp-content/themes/arthemia/images/sociable/delicious.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/delicious.png 2011-02-03 09:51:14 +0000 differ |
418 | === added file 'wp-content/themes/arthemia/images/sociable/digg.png' |
419 | Binary files wp-content/themes/arthemia/images/sociable/digg.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/digg.png 2011-02-03 09:51:14 +0000 differ |
420 | === added file 'wp-content/themes/arthemia/images/sociable/facebook.png' |
421 | Binary files wp-content/themes/arthemia/images/sociable/facebook.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/facebook.png 2011-02-03 09:51:14 +0000 differ |
422 | === added file 'wp-content/themes/arthemia/images/sociable/newsvine.png' |
423 | Binary files wp-content/themes/arthemia/images/sociable/newsvine.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/newsvine.png 2011-02-03 09:51:14 +0000 differ |
424 | === added file 'wp-content/themes/arthemia/images/sociable/reddit.png' |
425 | Binary files wp-content/themes/arthemia/images/sociable/reddit.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/reddit.png 2011-02-03 09:51:14 +0000 differ |
426 | === added file 'wp-content/themes/arthemia/images/sociable/stumbleupon.png' |
427 | Binary files wp-content/themes/arthemia/images/sociable/stumbleupon.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/stumbleupon.png 2011-02-03 09:51:14 +0000 differ |
428 | === added file 'wp-content/themes/arthemia/images/sociable/technorati.png' |
429 | Binary files wp-content/themes/arthemia/images/sociable/technorati.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/technorati.png 2011-02-03 09:51:14 +0000 differ |
430 | === added file 'wp-content/themes/arthemia/images/sociable/yahoomyweb.png' |
431 | Binary files wp-content/themes/arthemia/images/sociable/yahoomyweb.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sociable/yahoomyweb.png 2011-02-03 09:51:14 +0000 differ |
432 | === added file 'wp-content/themes/arthemia/images/sub.png' |
433 | Binary files wp-content/themes/arthemia/images/sub.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/images/sub.png 2011-02-03 09:51:14 +0000 differ |
434 | === added file 'wp-content/themes/arthemia/index.php' |
435 | --- wp-content/themes/arthemia/index.php 1970-01-01 00:00:00 +0000 |
436 | +++ wp-content/themes/arthemia/index.php 2011-02-03 09:51:14 +0000 |
437 | @@ -0,0 +1,118 @@ |
438 | +<?php get_header(); ?> |
439 | + |
440 | + <?php if(!is_paged()) { ?> |
441 | + |
442 | + <div id="top" class="clearfloat"> |
443 | + |
444 | + <div id="headline"> |
445 | + <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/headline.png" width="75px" height="21px" alt="" /> |
446 | + <?php query_posts("showposts=1&category_name=Headline"); ?> |
447 | + <?php while (have_posts()) : the_post(); ?> |
448 | + |
449 | + <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> |
450 | + <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> |
451 | + <?php $values = get_post_custom_values("Headline");?> |
452 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
453 | +<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
454 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=300&h=275&zc=1&q=100" |
455 | +alt="<?php the_title(); ?>" class="left" width="300px" height="275px" /></a> |
456 | + <?php the_excerpt(); ?> |
457 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read the full story »</a> |
458 | + <?php endwhile; ?> |
459 | + </div> |
460 | + |
461 | + <div id="featured"> |
462 | + |
463 | + <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/featured.png" width="72px" height="17px" alt="" /> |
464 | + |
465 | + <?php query_posts("showposts=4&category_name=Featured"); $i = 1; ?> |
466 | + |
467 | + |
468 | + <?php while (have_posts()) : the_post(); ?> |
469 | + <div class="clearfloat"> |
470 | + <?php $values = get_post_custom_values("Image"); |
471 | + if (isset($values[0])) { ?> |
472 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
473 | + <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
474 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=100&h=65&zc=1&q=100" |
475 | +alt="<?php the_title(); ?>" class="left" width="100px" height="65px" /></a> |
476 | + <?php } ?> |
477 | + <div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a> |
478 | +<div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> |
479 | + |
480 | +</div> |
481 | + </div> |
482 | + |
483 | + <?php endwhile; ?> |
484 | + |
485 | + </div> |
486 | + |
487 | +</div> |
488 | + |
489 | + <div id="middle" class="clearfloat"> |
490 | + <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/category.png" class="clearfloat" alt="" /> |
491 | + <?php $display_categories = array(5,6,7,8,11); $i = 1; |
492 | + foreach ($display_categories as $category) { ?> |
493 | + |
494 | + <div id="cat-<?php echo $i; ?>" class="category"> |
495 | + <?php query_posts("showposts=1&cat=$category")?> |
496 | + <span class="cat_title"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></span> |
497 | + <a href="<?php echo get_category_link($category);?>"><?php echo category_description($category); ?></a> |
498 | + </div> |
499 | + |
500 | + <?php $i++; ?> |
501 | + <?php } ?> |
502 | + |
503 | + </div> |
504 | + |
505 | + <?php } ?> |
506 | + |
507 | + <div id="bottom" class="clearfloat"> |
508 | + |
509 | + <div id="front-list"> |
510 | + |
511 | + <?php |
512 | + $page = (get_query_var('paged')) ? get_query_var('paged') : 1; |
513 | + query_posts("cat=-27,-28&paged=$page&posts_per_page=5"); ?> |
514 | + |
515 | + <?php while (have_posts()) : the_post(); ?> |
516 | + |
517 | + <div class="clearfloat"> |
518 | + <h3 class=cat_title><?php the_category(', '); ?> »</h3> |
519 | + <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> |
520 | + <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> |
521 | + |
522 | + <div class="spoiler"> |
523 | + <?php $values = get_post_custom_values("Image"); |
524 | + if (isset($values[0])) { ?> |
525 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
526 | + <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
527 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100" |
528 | +alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a> |
529 | + <?php } ?> |
530 | + |
531 | + <?php the_excerpt(); ?> |
532 | + </div> |
533 | + |
534 | + </div> |
535 | + |
536 | + <?php endwhile; ?> |
537 | + |
538 | + <div class="navigation"> |
539 | + <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } |
540 | + else { ?> |
541 | + |
542 | + <div class="right"><?php next_posts_link('Next Page »') ?></div> |
543 | + <div class="left"><?php previous_posts_link('« Previous Page') ?></div> |
544 | + <?php } ?> |
545 | + |
546 | + </div> |
547 | + |
548 | + </div> |
549 | + |
550 | + |
551 | + <?php get_sidebar(); ?> |
552 | + |
553 | + </div> |
554 | + |
555 | +<?php get_footer(); ?> |
556 | |
557 | === added file 'wp-content/themes/arthemia/page.php' |
558 | --- wp-content/themes/arthemia/page.php 1970-01-01 00:00:00 +0000 |
559 | +++ wp-content/themes/arthemia/page.php 2011-02-03 09:51:14 +0000 |
560 | @@ -0,0 +1,33 @@ |
561 | +<?php get_header(); ?> |
562 | + |
563 | + <div id="content"> |
564 | + |
565 | + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
566 | + |
567 | + <div class="post" id="post_<?php the_ID(); ?>"> |
568 | + |
569 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » <?php the_title(); ?></span> |
570 | + |
571 | + <h2 class="title"><?php the_title(); ?></h2> |
572 | + |
573 | + <div class="entry clearfloat"> |
574 | + <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> |
575 | + |
576 | + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> |
577 | + |
578 | + </div> |
579 | + |
580 | + <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> |
581 | + |
582 | + </div> |
583 | + |
584 | + <div id="comments"> |
585 | + <?php comments_template(); ?> |
586 | + </div> |
587 | + |
588 | + <?php endwhile; endif; ?> |
589 | + |
590 | + </div> |
591 | + |
592 | +<?php get_sidebar(); ?> |
593 | +<?php get_footer(); ?> |
594 | |
595 | === added file 'wp-content/themes/arthemia/pagenavi-css.css' |
596 | --- wp-content/themes/arthemia/pagenavi-css.css 1970-01-01 00:00:00 +0000 |
597 | +++ wp-content/themes/arthemia/pagenavi-css.css 2011-02-03 09:51:14 +0000 |
598 | @@ -0,0 +1,69 @@ |
599 | +/* |
600 | ++----------------------------------------------------------------+ |
601 | +| | |
602 | +| WordPress 2.5 Plugin: WP-PageNavi 2.30 | |
603 | +| Copyright (c) 2008 Lester "GaMerZ" Chan | |
604 | +| | |
605 | +| File Written By: | |
606 | +| - Lester "GaMerZ" Chan | |
607 | +| - http://lesterchan.net | |
608 | +| | |
609 | +| File Information: | |
610 | +| - Page Navigation CSS Style | |
611 | +| - wp-content/plugins/wp-pagenavi/pagenavi-css.css | |
612 | +| | |
613 | ++----------------------------------------------------------------+ |
614 | +*/ |
615 | + |
616 | + |
617 | +.wp-pagenavi a, .wp-pagenavi a:link { |
618 | + padding: 2px 4px 2px 4px; |
619 | + margin: 2px; |
620 | + text-decoration: none; |
621 | + border: 1px solid #3c78a7; |
622 | + color: #3c78a7; |
623 | + background-color: #FFFFFF; |
624 | +} |
625 | +.wp-pagenavi a:visited { |
626 | + padding: 2px 4px 2px 4px; |
627 | + margin: 2px; |
628 | + text-decoration: none; |
629 | + border: 1px solid #3c78a7; |
630 | + color: #3c78a7; |
631 | + background-color: #FFFFFF; |
632 | +} |
633 | +.wp-pagenavi a:hover { |
634 | + border: 1px solid #303030; |
635 | + color: #303030; |
636 | + background-color: #FFFFFF; |
637 | +} |
638 | +.wp-pagenavi a:active { |
639 | + padding: 2px 4px 2px 4px; |
640 | + margin: 2px; |
641 | + text-decoration: none; |
642 | + border: 1px solid #3c78a7; |
643 | + color: #3c78a7; |
644 | + background-color: #FFFFFF; |
645 | +} |
646 | +.wp-pagenavi span.pages { |
647 | + padding: 2px 4px 2px 4px; |
648 | + margin: 2px 2px 2px 2px; |
649 | + color: #303030; |
650 | + border: 1px solid #303030; |
651 | + background-color: #FFFFFF; |
652 | +} |
653 | +.wp-pagenavi span.current { |
654 | + padding: 2px 4px 2px 4px; |
655 | + margin: 2px; |
656 | + font-weight: bold; |
657 | + border: 1px solid #303030; |
658 | + color: #303030; |
659 | + background-color: #FFFFFF; |
660 | +} |
661 | +.wp-pagenavi span.extend { |
662 | + padding: 2px 4px 2px 4px; |
663 | + margin: 2px; |
664 | + border: 1px solid #303030; |
665 | + color: #303030; |
666 | + background-color: #FFFFFF; |
667 | +} |
668 | \ No newline at end of file |
669 | |
670 | === added file 'wp-content/themes/arthemia/query.php' |
671 | --- wp-content/themes/arthemia/query.php 1970-01-01 00:00:00 +0000 |
672 | +++ wp-content/themes/arthemia/query.php 2011-02-03 09:51:14 +0000 |
673 | @@ -0,0 +1,1320 @@ |
674 | +<?php |
675 | + |
676 | +/* |
677 | + * The Big Query. |
678 | + */ |
679 | + |
680 | +function get_query_var($var) { |
681 | + global $wp_query; |
682 | + |
683 | + return $wp_query->get($var); |
684 | +} |
685 | + |
686 | +function set_query_var($var, $value) { |
687 | + global $wp_query; |
688 | + |
689 | + return $wp_query->set($var, $value); |
690 | +} |
691 | + |
692 | +function &query_posts($query) { |
693 | + unset($GLOBALS['wp_query']); |
694 | + $GLOBALS['wp_query'] =& new WP_Query(); |
695 | + return $GLOBALS['wp_query']->query($query); |
696 | +} |
697 | + |
698 | +/* |
699 | + * Query type checks. |
700 | + */ |
701 | + |
702 | +function is_admin () { |
703 | + global $wp_query; |
704 | + |
705 | + return ($wp_query->is_admin || (strpos($_SERVER['REQUEST_URI'], 'wp-admin/') !== false)); |
706 | +} |
707 | + |
708 | +function is_archive () { |
709 | + global $wp_query; |
710 | + |
711 | + return $wp_query->is_archive; |
712 | +} |
713 | + |
714 | +function is_attachment () { |
715 | + global $wp_query; |
716 | + |
717 | + return $wp_query->is_attachment; |
718 | +} |
719 | + |
720 | +function is_author ($author = '') { |
721 | + global $wp_query; |
722 | + |
723 | + if ( !$wp_query->is_author ) |
724 | + return false; |
725 | + |
726 | + if ( empty($author) ) |
727 | + return true; |
728 | + |
729 | + $author_obj = $wp_query->get_queried_object(); |
730 | + |
731 | + if ( $author == $author_obj->ID ) |
732 | + return true; |
733 | + elseif ( $author == $author_obj->nickname ) |
734 | + return true; |
735 | + elseif ( $author == $author_obj->user_nicename ) |
736 | + return true; |
737 | + |
738 | + return false; |
739 | +} |
740 | + |
741 | +function is_category ($category = '') { |
742 | + global $wp_query; |
743 | + |
744 | + if ( !$wp_query->is_category ) |
745 | + return false; |
746 | + |
747 | + if ( empty($category) ) |
748 | + return true; |
749 | + |
750 | + $cat_obj = $wp_query->get_queried_object(); |
751 | + |
752 | + if ( $category == $cat_obj->cat_ID ) |
753 | + return true; |
754 | + else if ( $category == $cat_obj->cat_name ) |
755 | + return true; |
756 | + elseif ( $category == $cat_obj->category_nicename ) |
757 | + return true; |
758 | + |
759 | + return false; |
760 | +} |
761 | + |
762 | +function is_comments_popup () { |
763 | + global $wp_query; |
764 | + |
765 | + return $wp_query->is_comments_popup; |
766 | +} |
767 | + |
768 | +function is_date () { |
769 | + global $wp_query; |
770 | + |
771 | + return $wp_query->is_date; |
772 | +} |
773 | + |
774 | +function is_day () { |
775 | + global $wp_query; |
776 | + |
777 | + return $wp_query->is_day; |
778 | +} |
779 | + |
780 | +function is_feed () { |
781 | + global $wp_query; |
782 | + |
783 | + return $wp_query->is_feed; |
784 | +} |
785 | + |
786 | +function is_home () { |
787 | + global $wp_query; |
788 | + |
789 | + return $wp_query->is_home; |
790 | +} |
791 | + |
792 | +function is_month () { |
793 | + global $wp_query; |
794 | + |
795 | + return $wp_query->is_month; |
796 | +} |
797 | + |
798 | +function is_page ($page = '') { |
799 | + global $wp_query; |
800 | + |
801 | + if ( !$wp_query->is_page ) |
802 | + return false; |
803 | + |
804 | + if ( empty($page) ) |
805 | + return true; |
806 | + |
807 | + $page_obj = $wp_query->get_queried_object(); |
808 | + |
809 | + if ( $page == $page_obj->ID ) |
810 | + return true; |
811 | + elseif ( $page == $page_obj->post_title ) |
812 | + return true; |
813 | + else if ( $page == $page_obj->post_name ) |
814 | + return true; |
815 | + |
816 | + return false; |
817 | +} |
818 | + |
819 | +function is_paged () { |
820 | + global $wp_query; |
821 | + |
822 | + return $wp_query->is_paged; |
823 | +} |
824 | + |
825 | +function is_plugin_page() { |
826 | + global $plugin_page; |
827 | + |
828 | + if ( isset($plugin_page) ) |
829 | + return true; |
830 | + |
831 | + return false; |
832 | +} |
833 | + |
834 | +function is_preview() { |
835 | + global $wp_query; |
836 | + |
837 | + return $wp_query->is_preview; |
838 | +} |
839 | + |
840 | +function is_robots() { |
841 | + global $wp_query; |
842 | + |
843 | + return $wp_query->is_robots; |
844 | +} |
845 | + |
846 | +function is_search () { |
847 | + global $wp_query; |
848 | + |
849 | + return $wp_query->is_search; |
850 | +} |
851 | + |
852 | +function is_single ($post = '') { |
853 | + global $wp_query; |
854 | + |
855 | + if ( !$wp_query->is_single ) |
856 | + return false; |
857 | + |
858 | + if ( empty( $post) ) |
859 | + return true; |
860 | + |
861 | + $post_obj = $wp_query->get_queried_object(); |
862 | + |
863 | + if ( $post == $post_obj->ID ) |
864 | + return true; |
865 | + elseif ( $post == $post_obj->post_title ) |
866 | + return true; |
867 | + elseif ( $post == $post_obj->post_name ) |
868 | + return true; |
869 | + |
870 | + return false; |
871 | +} |
872 | + |
873 | +function is_singular() { |
874 | + global $wp_query; |
875 | + |
876 | + return $wp_query->is_singular; |
877 | +} |
878 | + |
879 | +function is_time () { |
880 | + global $wp_query; |
881 | + |
882 | + return $wp_query->is_time; |
883 | +} |
884 | + |
885 | +function is_trackback () { |
886 | + global $wp_query; |
887 | + |
888 | + return $wp_query->is_trackback; |
889 | +} |
890 | + |
891 | +function is_year () { |
892 | + global $wp_query; |
893 | + |
894 | + return $wp_query->is_year; |
895 | +} |
896 | + |
897 | +function is_404 () { |
898 | + global $wp_query; |
899 | + |
900 | + return $wp_query->is_404; |
901 | +} |
902 | + |
903 | +/* |
904 | + * The Loop. Post loop control. |
905 | + */ |
906 | + |
907 | +function have_posts() { |
908 | + global $wp_query; |
909 | + |
910 | + return $wp_query->have_posts(); |
911 | +} |
912 | + |
913 | +function in_the_loop() { |
914 | + global $wp_query; |
915 | + |
916 | + return $wp_query->in_the_loop; |
917 | +} |
918 | + |
919 | +function rewind_posts() { |
920 | + global $wp_query; |
921 | + |
922 | + return $wp_query->rewind_posts(); |
923 | +} |
924 | + |
925 | +function the_post() { |
926 | + global $wp_query; |
927 | + |
928 | + $wp_query->the_post(); |
929 | +} |
930 | + |
931 | +/* |
932 | + * Comments loop. |
933 | + */ |
934 | + |
935 | +function have_comments() { |
936 | + global $wp_query; |
937 | + return $wp_query->have_comments(); |
938 | +} |
939 | + |
940 | +function the_comment() { |
941 | + global $wp_query; |
942 | + return $wp_query->the_comment(); |
943 | +} |
944 | + |
945 | +/* |
946 | + * WP_Query |
947 | + */ |
948 | + |
949 | +class WP_Query { |
950 | + var $query; |
951 | + var $query_vars = array(); |
952 | + var $queried_object; |
953 | + var $queried_object_id; |
954 | + var $request; |
955 | + |
956 | + var $posts; |
957 | + var $post_count = 0; |
958 | + var $current_post = -1; |
959 | + var $in_the_loop = false; |
960 | + var $post; |
961 | + |
962 | + var $comments; |
963 | + var $comment_count = 0; |
964 | + var $current_comment = -1; |
965 | + var $comment; |
966 | + |
967 | + var $found_posts = 0; |
968 | + var $max_num_pages = 0; |
969 | + |
970 | + var $is_single = false; |
971 | + var $is_preview = false; |
972 | + var $is_page = false; |
973 | + var $is_archive = false; |
974 | + var $is_date = false; |
975 | + var $is_year = false; |
976 | + var $is_month = false; |
977 | + var $is_day = false; |
978 | + var $is_time = false; |
979 | + var $is_author = false; |
980 | + var $is_category = false; |
981 | + var $is_search = false; |
982 | + var $is_feed = false; |
983 | + var $is_comment_feed = false; |
984 | + var $is_trackback = false; |
985 | + var $is_home = false; |
986 | + var $is_404 = false; |
987 | + var $is_comments_popup = false; |
988 | + var $is_admin = false; |
989 | + var $is_attachment = false; |
990 | + var $is_singular = false; |
991 | + var $is_robots = false; |
992 | + var $is_posts_page = false; |
993 | + |
994 | + function init_query_flags() { |
995 | + $this->is_single = false; |
996 | + $this->is_page = false; |
997 | + $this->is_archive = false; |
998 | + $this->is_date = false; |
999 | + $this->is_year = false; |
1000 | + $this->is_month = false; |
1001 | + $this->is_day = false; |
1002 | + $this->is_time = false; |
1003 | + $this->is_author = false; |
1004 | + $this->is_category = false; |
1005 | + $this->is_search = false; |
1006 | + $this->is_feed = false; |
1007 | + $this->is_comment_feed = false; |
1008 | + $this->is_trackback = false; |
1009 | + $this->is_home = false; |
1010 | + $this->is_404 = false; |
1011 | + $this->is_paged = false; |
1012 | + $this->is_admin = false; |
1013 | + $this->is_attachment = false; |
1014 | + $this->is_singular = false; |
1015 | + $this->is_robots = false; |
1016 | + $this->is_posts_page = false; |
1017 | + } |
1018 | + |
1019 | + function init () { |
1020 | + unset($this->posts); |
1021 | + unset($this->query); |
1022 | + $this->query_vars = array(); |
1023 | + unset($this->queried_object); |
1024 | + unset($this->queried_object_id); |
1025 | + $this->post_count = 0; |
1026 | + $this->current_post = -1; |
1027 | + $this->in_the_loop = false; |
1028 | + |
1029 | + $this->init_query_flags(); |
1030 | + } |
1031 | + |
1032 | + // Reparse the query vars. |
1033 | + function parse_query_vars() { |
1034 | + $this->parse_query(''); |
1035 | + } |
1036 | + |
1037 | + function fill_query_vars($array) { |
1038 | + $keys = array( |
1039 | + 'error' |
1040 | + , 'm' |
1041 | + , 'p' |
1042 | + , 'subpost' |
1043 | + , 'subpost_id' |
1044 | + , 'attachment' |
1045 | + , 'attachment_id' |
1046 | + , 'name' |
1047 | + , 'hour' |
1048 | + , 'static' |
1049 | + , 'pagename' |
1050 | + , 'page_id' |
1051 | + , 'second' |
1052 | + , 'minute' |
1053 | + , 'hour' |
1054 | + , 'day' |
1055 | + , 'monthnum' |
1056 | + , 'year' |
1057 | + , 'w' |
1058 | + , 'category_name' |
1059 | + , 'author_name' |
1060 | + , 'feed' |
1061 | + , 'tb' |
1062 | + , 'paged' |
1063 | + , 'comments_popup' |
1064 | + , 'preview' |
1065 | + ); |
1066 | + |
1067 | + foreach ($keys as $key) { |
1068 | + if ( !isset($array[$key])) |
1069 | + $array[$key] = ''; |
1070 | + } |
1071 | + |
1072 | + return $array; |
1073 | + } |
1074 | + |
1075 | + // Parse a query string and set query type booleans. |
1076 | + function parse_query ($query) { |
1077 | + if ( !empty($query) || !isset($this->query) ) { |
1078 | + $this->init(); |
1079 | + if ( is_array($query) ) |
1080 | + $this->query_vars = $query; |
1081 | + else |
1082 | + parse_str($query, $this->query_vars); |
1083 | + $this->query = $query; |
1084 | + } |
1085 | + |
1086 | + $this->query_vars = $this->fill_query_vars($this->query_vars); |
1087 | + $qv = &$this->query_vars; |
1088 | + |
1089 | + if ( ! empty($qv['robots']) ) { |
1090 | + $this->is_robots = true; |
1091 | + return; |
1092 | + } |
1093 | + |
1094 | + if ('404' == $qv['error']) { |
1095 | + $this->is_404 = true; |
1096 | + if ( !empty($query) ) { |
1097 | + do_action_ref_array('parse_query', array(&$this)); |
1098 | + } |
1099 | + return; |
1100 | + } |
1101 | + |
1102 | + $qv['p'] = (int) $qv['p']; |
1103 | + $qv['page_id'] = (int) $qv['page_id']; |
1104 | + $qv['year'] = (int) $qv['year']; |
1105 | + $qv['monthnum'] = (int) $qv['monthnum']; |
1106 | + $qv['day'] = (int) $qv['day']; |
1107 | + $qv['w'] = (int) $qv['w']; |
1108 | + $qv['m'] = (int) $qv['m']; |
1109 | + if ( '' != $qv['hour'] ) $qv['hour'] = (int) $qv['hour']; |
1110 | + if ( '' != $qv['minute'] ) $qv['minute'] = (int) $qv['minute']; |
1111 | + if ( '' != $qv['second'] ) $qv['second'] = (int) $qv['second']; |
1112 | + |
1113 | + // Compat. Map subpost to attachment. |
1114 | + if ( '' != $qv['subpost'] ) |
1115 | + $qv['attachment'] = $qv['subpost']; |
1116 | + if ( '' != $qv['subpost_id'] ) |
1117 | + $qv['attachment_id'] = $qv['subpost_id']; |
1118 | + |
1119 | + $qv['attachment_id'] = (int) $qv['attachment_id']; |
1120 | + |
1121 | + if ( ('' != $qv['attachment']) || !empty($qv['attachment_id']) ) { |
1122 | + $this->is_single = true; |
1123 | + $this->is_attachment = true; |
1124 | + } elseif ( '' != $qv['name'] ) { |
1125 | + $this->is_single = true; |
1126 | + } elseif ( $qv['p'] ) { |
1127 | + $this->is_single = true; |
1128 | + } elseif ( ('' != $qv['hour']) && ('' != $qv['minute']) &&('' != $qv['second']) && ('' != $qv['year']) && ('' != $qv['monthnum']) && ('' != $qv['day']) ) { |
1129 | + // If year, month, day, hour, minute, and second are set, a single |
1130 | + // post is being queried. |
1131 | + $this->is_single = true; |
1132 | + } elseif ( '' != $qv['static'] || '' != $qv['pagename'] || !empty($qv['page_id']) ) { |
1133 | + $this->is_page = true; |
1134 | + $this->is_single = false; |
1135 | + } elseif ( !empty($qv['s']) ) { |
1136 | + $this->is_search = true; |
1137 | + } else { |
1138 | + // Look for archive queries. Dates, categories, authors. |
1139 | + |
1140 | + if ( '' != $qv['second'] ) { |
1141 | + $this->is_time = true; |
1142 | + $this->is_date = true; |
1143 | + } |
1144 | + |
1145 | + if ( '' != $qv['minute'] ) { |
1146 | + $this->is_time = true; |
1147 | + $this->is_date = true; |
1148 | + } |
1149 | + |
1150 | + if ( '' != $qv['hour'] ) { |
1151 | + $this->is_time = true; |
1152 | + $this->is_date = true; |
1153 | + } |
1154 | + |
1155 | + if ( $qv['day'] ) { |
1156 | + if (! $this->is_date) { |
1157 | + $this->is_day = true; |
1158 | + $this->is_date = true; |
1159 | + } |
1160 | + } |
1161 | + |
1162 | + if ( $qv['monthnum'] ) { |
1163 | + if (! $this->is_date) { |
1164 | + $this->is_month = true; |
1165 | + $this->is_date = true; |
1166 | + } |
1167 | + } |
1168 | + |
1169 | + if ( $qv['year'] ) { |
1170 | + if (! $this->is_date) { |
1171 | + $this->is_year = true; |
1172 | + $this->is_date = true; |
1173 | + } |
1174 | + } |
1175 | + |
1176 | + if ( $qv['m'] ) { |
1177 | + $this->is_date = true; |
1178 | + if (strlen($qv['m']) > 9) { |
1179 | + $this->is_time = true; |
1180 | + } else if (strlen($qv['m']) > 7) { |
1181 | + $this->is_day = true; |
1182 | + } else if (strlen($qv['m']) > 5) { |
1183 | + $this->is_month = true; |
1184 | + } else { |
1185 | + $this->is_year = true; |
1186 | + } |
1187 | + } |
1188 | + |
1189 | + if ('' != $qv['w']) { |
1190 | + $this->is_date = true; |
1191 | + } |
1192 | + |
1193 | + if ( empty($qv['cat']) || ($qv['cat'] == '0') ) { |
1194 | + $this->is_category = false; |
1195 | + } else { |
1196 | + if (strpos($qv['cat'], '-') !== false) { |
1197 | + $this->is_category = false; |
1198 | + } else { |
1199 | + $this->is_category = true; |
1200 | + } |
1201 | + } |
1202 | + |
1203 | + if ( '' != $qv['category_name'] ) { |
1204 | + $this->is_category = true; |
1205 | + } |
1206 | + |
1207 | + if ( empty($qv['author']) || ($qv['author'] == '0') ) { |
1208 | + $this->is_author = false; |
1209 | + } else { |
1210 | + $this->is_author = true; |
1211 | + } |
1212 | + |
1213 | + if ( '' != $qv['author_name'] ) { |
1214 | + $this->is_author = true; |
1215 | + } |
1216 | + |
1217 | + if ( ($this->is_date || $this->is_author || $this->is_category) ) |
1218 | + $this->is_archive = true; |
1219 | + } |
1220 | + |
1221 | + if ( '' != $qv['feed'] ) |
1222 | + $this->is_feed = true; |
1223 | + |
1224 | + if ( '' != $qv['tb'] ) |
1225 | + $this->is_trackback = true; |
1226 | + |
1227 | + if ( '' != $qv['paged'] ) |
1228 | + $this->is_paged = true; |
1229 | + |
1230 | + if ( '' != $qv['comments_popup'] ) |
1231 | + $this->is_comments_popup = true; |
1232 | + |
1233 | + // if we're previewing inside the write screen |
1234 | + if ('' != $qv['preview']) |
1235 | + $this->is_preview = true; |
1236 | + |
1237 | + if ( strpos($_SERVER['PHP_SELF'], 'wp-admin/') !== false ) |
1238 | + $this->is_admin = true; |
1239 | + |
1240 | + if ( false !== strpos($qv['feed'], 'comments-') ) { |
1241 | + $qv['feed'] = str_replace('comments-', '', $qv['feed']); |
1242 | + $qv['withcomments'] = 1; |
1243 | + } |
1244 | + |
1245 | + $this->is_singular = $this->is_single || $this->is_page || $this->is_attachment; |
1246 | + |
1247 | + if ( $this->is_feed && ( !empty($qv['withcomments']) || ( empty($qv['withoutcomments']) && $this->is_singular ) ) ) |
1248 | + $this->is_comment_feed = true; |
1249 | + |
1250 | + if ( !( $this->is_singular || $this->is_archive || $this->is_search || $this->is_feed || $this->is_trackback || $this->is_404 || $this->is_admin || $this->is_comments_popup ) ) |
1251 | + $this->is_home = true; |
1252 | + |
1253 | + // Correct is_* for page_on_front and page_for_posts |
1254 | + if ( $this->is_home && ( empty($this->query) || $qv['preview'] == 'true' ) && 'page' == get_option('show_on_front') && get_option('page_on_front') ) { |
1255 | + $this->is_page = true; |
1256 | + $this->is_home = false; |
1257 | + $qv['page_id'] = get_option('page_on_front'); |
1258 | + } |
1259 | + |
1260 | + if ( '' != $qv['pagename'] ) { |
1261 | + $this->queried_object =& get_page_by_path($qv['pagename']); |
1262 | + if ( !empty($this->queried_object) ) |
1263 | + $this->queried_object_id = (int) $this->queried_object->ID; |
1264 | + else |
1265 | + unset($this->queried_object); |
1266 | + |
1267 | + if ( 'page' == get_option('show_on_front') && isset($this->queried_object_id) && $this->queried_object_id == get_option('page_for_posts') ) { |
1268 | + $this->is_page = false; |
1269 | + $this->is_home = true; |
1270 | + $this->is_posts_page = true; |
1271 | + } |
1272 | + } |
1273 | + |
1274 | + if ( $qv['page_id'] ) { |
1275 | + if ( 'page' == get_option('show_on_front') && $qv['page_id'] == get_option('page_for_posts') ) { |
1276 | + $this->is_page = false; |
1277 | + $this->is_home = true; |
1278 | + $this->is_posts_page = true; |
1279 | + } |
1280 | + } |
1281 | + |
1282 | + if ( $this->is_posts_page && !$qv['withcomments'] ) |
1283 | + $this->is_comment_feed = false; |
1284 | + |
1285 | + $this->is_singular = $this->is_single || $this->is_page || $this->is_attachment; |
1286 | + // Done correcting is_* for page_on_front and page_for_posts |
1287 | + |
1288 | + if ( !empty($query) ) |
1289 | + do_action_ref_array('parse_query', array(&$this)); |
1290 | + } |
1291 | + |
1292 | + function set_404() { |
1293 | + $is_feed = $this->is_feed; |
1294 | + |
1295 | + $this->init_query_flags(); |
1296 | + $this->is_404 = true; |
1297 | + |
1298 | + $this->is_feed = $is_feed; |
1299 | + } |
1300 | + |
1301 | + function get($query_var) { |
1302 | + if (isset($this->query_vars[$query_var])) { |
1303 | + return $this->query_vars[$query_var]; |
1304 | + } |
1305 | + |
1306 | + return ''; |
1307 | + } |
1308 | + |
1309 | + function set($query_var, $value) { |
1310 | + $this->query_vars[$query_var] = $value; |
1311 | + } |
1312 | + |
1313 | + function &get_posts() { |
1314 | + global $wpdb, $pagenow, $user_ID; |
1315 | + |
1316 | + do_action_ref_array('pre_get_posts', array(&$this)); |
1317 | + |
1318 | + // Shorthand. |
1319 | + $q = &$this->query_vars; |
1320 | + |
1321 | + $q = $this->fill_query_vars($q); |
1322 | + |
1323 | + // First let's clear some variables |
1324 | + $distinct = ''; |
1325 | + $whichcat = ''; |
1326 | + $whichauthor = ''; |
1327 | + $whichpage = ''; |
1328 | + $result = ''; |
1329 | + $where = ''; |
1330 | + $limits = ''; |
1331 | + $join = ''; |
1332 | + $search = ''; |
1333 | + $groupby = ''; |
1334 | + |
1335 | + if ( !isset($q['post_type']) ) |
1336 | + $q['post_type'] = 'post'; |
1337 | + $post_type = $q['post_type']; |
1338 | + if ( !isset($q['posts_per_page']) || $q['posts_per_page'] == 0 ) |
1339 | + $q['posts_per_page'] = get_option('posts_per_page'); |
1340 | + if ( isset($q['showposts']) && $q['showposts'] ) { |
1341 | + $q['showposts'] = (int) $q['showposts']; |
1342 | + $q['posts_per_page'] = $q['showposts']; |
1343 | + } |
1344 | + if ( (isset($q['posts_per_archive_page']) && $q['posts_per_archive_page'] != 0) && ($this->is_archive || $this->is_search) ) |
1345 | + $q['posts_per_page'] = $q['posts_per_archive_page']; |
1346 | + if ( !isset($q['nopaging']) ) { |
1347 | + if ($q['posts_per_page'] == -1) { |
1348 | + $q['nopaging'] = true; |
1349 | + } else { |
1350 | + $q['nopaging'] = false; |
1351 | + } |
1352 | + } |
1353 | + if ( $this->is_feed ) { |
1354 | + $q['posts_per_page'] = get_option('posts_per_rss'); |
1355 | + $q['nopaging'] = false; |
1356 | + } |
1357 | + $q['posts_per_page'] = (int) $q['posts_per_page']; |
1358 | + if ( $q['posts_per_page'] < -1 ) |
1359 | + $q['posts_per_page'] = abs($q['posts_per_page']); |
1360 | + else if ( $q['posts_per_page'] == 0 ) |
1361 | + $q['posts_per_page'] = 1; |
1362 | + |
1363 | + if ( $this->is_home && (empty($this->query) || $q['preview'] == 'true') && ( 'page' == get_option('show_on_front') ) && get_option('page_on_front') ) { |
1364 | + $this->is_page = true; |
1365 | + $this->is_home = false; |
1366 | + $q['page_id'] = get_option('page_on_front'); |
1367 | + } |
1368 | + |
1369 | + if (isset($q['page'])) { |
1370 | + $q['page'] = trim($q['page'], '/'); |
1371 | + $q['page'] = (int) $q['page']; |
1372 | + $q['page'] = abs($q['page']); |
1373 | + } |
1374 | + |
1375 | + $add_hours = intval(get_option('gmt_offset')); |
1376 | + $add_minutes = intval(60 * (get_option('gmt_offset') - $add_hours)); |
1377 | + $wp_posts_post_date_field = "post_date"; // "DATE_ADD(post_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"; |
1378 | + |
1379 | + // If a month is specified in the querystring, load that month |
1380 | + if ( $q['m'] ) { |
1381 | + $q['m'] = '' . preg_replace('|[^0-9]|', '', $q['m']); |
1382 | + $where .= ' AND YEAR(post_date)=' . substr($q['m'], 0, 4); |
1383 | + if (strlen($q['m'])>5) |
1384 | + $where .= ' AND MONTH(post_date)=' . substr($q['m'], 4, 2); |
1385 | + if (strlen($q['m'])>7) |
1386 | + $where .= ' AND DAYOFMONTH(post_date)=' . substr($q['m'], 6, 2); |
1387 | + if (strlen($q['m'])>9) |
1388 | + $where .= ' AND HOUR(post_date)=' . substr($q['m'], 8, 2); |
1389 | + if (strlen($q['m'])>11) |
1390 | + $where .= ' AND MINUTE(post_date)=' . substr($q['m'], 10, 2); |
1391 | + if (strlen($q['m'])>13) |
1392 | + $where .= ' AND SECOND(post_date)=' . substr($q['m'], 12, 2); |
1393 | + } |
1394 | + |
1395 | + if ( '' != $q['hour'] ) |
1396 | + $where .= " AND HOUR(post_date)='" . $q['hour'] . "'"; |
1397 | + |
1398 | + if ( '' != $q['minute'] ) |
1399 | + $where .= " AND MINUTE(post_date)='" . $q['minute'] . "'"; |
1400 | + |
1401 | + if ( '' != $q['second'] ) |
1402 | + $where .= " AND SECOND(post_date)='" . $q['second'] . "'"; |
1403 | + |
1404 | + if ( $q['year'] ) |
1405 | + $where .= " AND YEAR(post_date)='" . $q['year'] . "'"; |
1406 | + |
1407 | + if ( $q['monthnum'] ) |
1408 | + $where .= " AND MONTH(post_date)='" . $q['monthnum'] . "'"; |
1409 | + |
1410 | + if ( $q['day'] ) |
1411 | + $where .= " AND DAYOFMONTH(post_date)='" . $q['day'] . "'"; |
1412 | + |
1413 | + if ('' != $q['name']) { |
1414 | + $q['name'] = sanitize_title($q['name']); |
1415 | + $where .= " AND post_name = '" . $q['name'] . "'"; |
1416 | + } else if ('' != $q['pagename']) { |
1417 | + if ( isset($this->queried_object_id) ) |
1418 | + $reqpage = $this->queried_object_id; |
1419 | + else { |
1420 | + $reqpage = get_page_by_path($q['pagename']); |
1421 | + if ( !empty($reqpage) ) |
1422 | + $reqpage = $reqpage->ID; |
1423 | + else |
1424 | + $reqpage = 0; |
1425 | + } |
1426 | + |
1427 | + if ( ('page' != get_option('show_on_front') ) || ( $reqpage != get_option('page_for_posts') ) ) { |
1428 | + $q['pagename'] = str_replace('%2F', '/', urlencode(urldecode($q['pagename']))); |
1429 | + $page_paths = '/' . trim($q['pagename'], '/'); |
1430 | + $q['pagename'] = sanitize_title(basename($page_paths)); |
1431 | + $q['name'] = $q['pagename']; |
1432 | + $where .= " AND (ID = '$reqpage')"; |
1433 | + } |
1434 | + } elseif ('' != $q['attachment']) { |
1435 | + $q['attachment'] = str_replace('%2F', '/', urlencode(urldecode($q['attachment']))); |
1436 | + $attach_paths = '/' . trim($q['attachment'], '/'); |
1437 | + $q['attachment'] = sanitize_title(basename($attach_paths)); |
1438 | + $q['name'] = $q['attachment']; |
1439 | + $where .= " AND post_name = '" . $q['attachment'] . "'"; |
1440 | + } |
1441 | + |
1442 | + if ( $q['w'] ) |
1443 | + $where .= " AND WEEK(post_date, 1)='" . $q['w'] . "'"; |
1444 | + |
1445 | + if ( intval($q['comments_popup']) ) |
1446 | + $q['p'] = intval($q['comments_popup']); |
1447 | + |
1448 | + // If an attachment is requested by number, let it supercede any post number. |
1449 | + if ( $q['attachment_id'] ) |
1450 | + $q['p'] = $q['attachment_id']; |
1451 | + |
1452 | + // If a post number is specified, load that post |
1453 | + if ( $q['p'] ) |
1454 | + $where = ' AND ID = ' . $q['p']; |
1455 | + |
1456 | + if ( $q['page_id'] ) { |
1457 | + if ( ('page' != get_option('show_on_front') ) || ( $q['page_id'] != get_option('page_for_posts') ) ) { |
1458 | + $q['p'] = $q['page_id']; |
1459 | + $where = ' AND ID = ' . $q['page_id']; |
1460 | + } |
1461 | + } |
1462 | + |
1463 | + // If a search pattern is specified, load the posts that match |
1464 | + if ( !empty($q['s']) ) { |
1465 | + // added slashes screw with quote grouping when done early, so done later |
1466 | + $q['s'] = stripslashes($q['s']); |
1467 | + if ($q['sentence']) { |
1468 | + $q['search_terms'] = array($q['s']); |
1469 | + } |
1470 | + else { |
1471 | + preg_match_all('/".*?("|$)|((?<=[\\s",+])|^)[^\\s",+]+/', $q[s], $matches); |
1472 | + $q['search_terms'] = array_map(create_function('$a', 'return trim($a, "\\"\'\\n\\r ");'), $matches[0]); |
1473 | + } |
1474 | + $n = ($q['exact']) ? '' : '%'; |
1475 | + $searchand = ''; |
1476 | + foreach((array)$q['search_terms'] as $term) { |
1477 | + $term = addslashes_gpc($term); |
1478 | + $search .= "{$searchand}((post_title LIKE '{$n}{$term}{$n}') OR (post_content LIKE '{$n}{$term}{$n}'))"; |
1479 | + $searchand = ' AND '; |
1480 | + } |
1481 | + $term = addslashes_gpc($q['s']); |
1482 | + if (!$q['sentence'] && count($q['search_terms']) > 1 && $q['search_terms'][0] != $q['s'] ) |
1483 | + $search .= " OR (post_title LIKE '{$n}{$term}{$n}') OR (post_content LIKE '{$n}{$term}{$n}')"; |
1484 | + |
1485 | + if ( !empty($search) ) |
1486 | + $search = " AND ({$search}) "; |
1487 | + } |
1488 | + |
1489 | + // Category stuff |
1490 | + |
1491 | + if ( empty($q['cat']) || ($q['cat'] == '0') || |
1492 | + // Bypass cat checks if fetching specific posts |
1493 | + $this->is_singular ) { |
1494 | + $whichcat = ''; |
1495 | + } else { |
1496 | + $q['cat'] = ''.urldecode($q['cat']).''; |
1497 | + $q['cat'] = addslashes_gpc($q['cat']); |
1498 | + $join = " LEFT JOIN $wpdb->post2cat ON ($wpdb->posts.ID = $wpdb->post2cat.post_id) "; |
1499 | + $cat_array = preg_split('/[,\s]+/', $q['cat']); |
1500 | + $in_cats = $out_cats = $out_posts = ''; |
1501 | + foreach ( $cat_array as $cat ) { |
1502 | + $cat = intval($cat); |
1503 | + $in = (strpos($cat, '-') !== false) ? false : true; |
1504 | + $cat = trim($cat, '-'); |
1505 | + if ( $in ) |
1506 | + $in_cats .= "$cat, " . get_category_children($cat, '', ', '); |
1507 | + else |
1508 | + $out_cats .= "$cat, " . get_category_children($cat, '', ', '); |
1509 | + } |
1510 | + $in_cats = substr($in_cats, 0, -2); |
1511 | + $out_cats = substr($out_cats, 0, -2); |
1512 | + if ( strlen($in_cats) > 0 ) |
1513 | + $in_cats = " AND $wpdb->post2cat.category_id IN ($in_cats)"; |
1514 | + if ( strlen($out_cats) > 0 ) { |
1515 | + $ids = $wpdb->get_col("SELECT post_id FROM $wpdb->post2cat WHERE $wpdb->post2cat.category_id IN ($out_cats)"); |
1516 | + if ( is_array($ids) && count($ids > 0) ) { |
1517 | + foreach ( $ids as $id ) |
1518 | + $out_posts .= "$id, "; |
1519 | + $out_posts = substr($out_posts, 0, -2); |
1520 | + } |
1521 | + if ( strlen($out_posts) > 0 ) |
1522 | + $out_cats = " AND $wpdb->posts.ID NOT IN ($out_posts)"; |
1523 | + else |
1524 | + $out_cats = ''; |
1525 | + } |
1526 | + $whichcat = $in_cats . $out_cats; |
1527 | + $groupby = "{$wpdb->posts}.ID"; |
1528 | + } |
1529 | + |
1530 | + // Category stuff for nice URLs |
1531 | + if ( '' != $q['category_name'] ) { |
1532 | + $reqcat = get_category_by_path($q['category_name']); |
1533 | + $q['category_name'] = str_replace('%2F', '/', urlencode(urldecode($q['category_name']))); |
1534 | + $cat_paths = '/' . trim($q['category_name'], '/'); |
1535 | + $q['category_name'] = sanitize_title(basename($cat_paths)); |
1536 | + |
1537 | + $cat_paths = '/' . trim(urldecode($q['category_name']), '/'); |
1538 | + $q['category_name'] = sanitize_title(basename($cat_paths)); |
1539 | + $cat_paths = explode('/', $cat_paths); |
1540 | + $cat_path = ''; |
1541 | + foreach ( (array) $cat_paths as $pathdir ) |
1542 | + $cat_path .= ( $pathdir != '' ? '/' : '' ) . sanitize_title($pathdir); |
1543 | + |
1544 | + //if we don't match the entire hierarchy fallback on just matching the nicename |
1545 | + if ( empty($reqcat) ) |
1546 | + $reqcat = get_category_by_path($q['category_name'], false); |
1547 | + |
1548 | + if ( !empty($reqcat) ) |
1549 | + $reqcat = $reqcat->cat_ID; |
1550 | + else |
1551 | + $reqcat = 0; |
1552 | + |
1553 | + $q['cat'] = $reqcat; |
1554 | + |
1555 | + $tables = ", $wpdb->post2cat, $wpdb->categories"; |
1556 | + $join = " LEFT JOIN $wpdb->post2cat ON ($wpdb->posts.ID = $wpdb->post2cat.post_id) LEFT JOIN $wpdb->categories ON ($wpdb->post2cat.category_id = $wpdb->categories.cat_ID) "; |
1557 | + $whichcat = " AND category_id IN ({$q['cat']}, "; |
1558 | + $whichcat .= get_category_children($q['cat'], '', ', '); |
1559 | + $whichcat = substr($whichcat, 0, -2); |
1560 | + $whichcat .= ")"; |
1561 | + $groupby = "{$wpdb->posts}.ID"; |
1562 | + } |
1563 | + |
1564 | + |
1565 | + |
1566 | + // Author/user stuff |
1567 | + |
1568 | + if ( empty($q['author']) || ($q['author'] == '0') ) { |
1569 | + $whichauthor=''; |
1570 | + } else { |
1571 | + $q['author'] = ''.urldecode($q['author']).''; |
1572 | + $q['author'] = addslashes_gpc($q['author']); |
1573 | + if (strpos($q['author'], '-') !== false) { |
1574 | + $eq = '!='; |
1575 | + $andor = 'AND'; |
1576 | + $q['author'] = explode('-', $q['author']); |
1577 | + $q['author'] = ''.intval($q['author'][1]); |
1578 | + } else { |
1579 | + $eq = '='; |
1580 | + $andor = 'OR'; |
1581 | + } |
1582 | + $author_array = preg_split('/[,\s]+/', $q['author']); |
1583 | + $whichauthor .= ' AND (post_author '.$eq.' '.intval($author_array[0]); |
1584 | + for ($i = 1; $i < (count($author_array)); $i = $i + 1) { |
1585 | + $whichauthor .= ' '.$andor.' post_author '.$eq.' '.intval($author_array[$i]); |
1586 | + } |
1587 | + $whichauthor .= ')'; |
1588 | + } |
1589 | + |
1590 | + // Author stuff for nice URLs |
1591 | + |
1592 | + if ('' != $q['author_name']) { |
1593 | + if (strpos($q['author_name'], '/') !== false) { |
1594 | + $q['author_name'] = explode('/',$q['author_name']); |
1595 | + if ($q['author_name'][count($q['author_name'])-1]) { |
1596 | + $q['author_name'] = $q['author_name'][count($q['author_name'])-1];#no trailing slash |
1597 | + } else { |
1598 | + $q['author_name'] = $q['author_name'][count($q['author_name'])-2];#there was a trailling slash |
1599 | + } |
1600 | + } |
1601 | + $q['author_name'] = sanitize_title($q['author_name']); |
1602 | + $q['author'] = $wpdb->get_var("SELECT ID FROM $wpdb->users WHERE user_nicename='".$q['author_name']."'"); |
1603 | + $whichauthor .= ' AND (post_author = '.intval($q['author']).')'; |
1604 | + } |
1605 | + |
1606 | + $where .= $search.$whichcat.$whichauthor; |
1607 | + |
1608 | + if ( empty($q['order']) || ((strtoupper($q['order']) != 'ASC') && (strtoupper($q['order']) != 'DESC')) ) |
1609 | + $q['order'] = 'DESC'; |
1610 | + |
1611 | + // Order by |
1612 | + if ( empty($q['orderby']) ) { |
1613 | + $q['orderby'] = 'post_date '.$q['order']; |
1614 | + } else { |
1615 | + // Used to filter values |
1616 | + $allowed_keys = array('author', 'date', 'category', 'title', 'modified', 'menu_order'); |
1617 | + $q['orderby'] = urldecode($q['orderby']); |
1618 | + $q['orderby'] = addslashes_gpc($q['orderby']); |
1619 | + $orderby_array = explode(' ',$q['orderby']); |
1620 | + if ( empty($orderby_array) ) |
1621 | + $orderby_array[] = $q['orderby']; |
1622 | + $q['orderby'] = ''; |
1623 | + for ($i = 0; $i < count($orderby_array); $i++) { |
1624 | + // Only allow certain values for safety |
1625 | + $orderby = $orderby_array[$i]; |
1626 | + if ( 'menu_order' != $orderby ) |
1627 | + $orderby = 'post_' . $orderby; |
1628 | + if ( in_array($orderby_array[$i], $allowed_keys) ) |
1629 | + $q['orderby'] .= (($i == 0) ? '' : ',') . "$orderby {$q['order']}"; |
1630 | + } |
1631 | + if ( empty($q['orderby']) ) |
1632 | + $q['orderby'] = 'post_date '.$q['order']; |
1633 | + } |
1634 | + |
1635 | + if ( $this->is_attachment ) { |
1636 | + $where .= " AND (post_type = 'attachment')"; |
1637 | + } elseif ($this->is_page) { |
1638 | + $where .= " AND (post_type = 'page')"; |
1639 | + } elseif ($this->is_single) { |
1640 | + $where .= " AND (post_type = 'post')"; |
1641 | + } else { |
1642 | + $where .= " AND (post_type = '$post_type' AND (post_status = 'publish'"; |
1643 | + |
1644 | + if ( is_admin() ) |
1645 | + $where .= " OR post_status = 'future' OR post_status = 'draft'"; |
1646 | + |
1647 | + if ( is_user_logged_in() ) { |
1648 | + if ( 'post' == $post_type ) |
1649 | + $cap = 'read_private_posts'; |
1650 | + else |
1651 | + $cap = 'read_private_pages'; |
1652 | + |
1653 | + if ( current_user_can($cap) ) |
1654 | + $where .= " OR post_status = 'private'"; |
1655 | + else |
1656 | + $where .= " OR post_author = $user_ID AND post_status = 'private'"; |
1657 | + } |
1658 | + |
1659 | + $where .= '))'; |
1660 | + } |
1661 | + |
1662 | + // Apply filters on where and join prior to paging so that any |
1663 | + // manipulations to them are reflected in the paging by day queries. |
1664 | + $where = apply_filters('posts_where', $where); |
1665 | + $join = apply_filters('posts_join', $join); |
1666 | + |
1667 | + // Paging |
1668 | + if ( empty($q['nopaging']) && !$this->is_singular ) { |
1669 | + $page = abs(intval($q['paged'])); |
1670 | + if (empty($page)) { |
1671 | + $page = 1; |
1672 | + } |
1673 | + |
1674 | + if ( empty($q['offset']) ) { |
1675 | + $pgstrt = ''; |
1676 | + $pgstrt = (intval($page) -1) * $q['posts_per_page'] . ', '; |
1677 | + $limits = 'LIMIT '.$pgstrt.$q['posts_per_page']; |
1678 | + } else { // we're ignoring $page and using 'offset' |
1679 | + $q['offset'] = abs(intval($q['offset'])); |
1680 | + $pgstrt = $q['offset'] . ', '; |
1681 | + $limits = 'LIMIT ' . $pgstrt . $q['posts_per_page']; |
1682 | + } |
1683 | + } |
1684 | + |
1685 | + // Comments feeds |
1686 | + if ( $this->is_comment_feed && ( $this->is_archive || $this->is_search || !$this->is_singular ) ) { |
1687 | + if ( $this->is_archive || $this->is_search ) { |
1688 | + $cjoin = "LEFT JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) $join "; |
1689 | + $cwhere = "WHERE comment_approved = '1' $where"; |
1690 | + $cgroupby = "GROUP BY $wpdb->comments.comment_id"; |
1691 | + } else { // Other non singular e.g. front |
1692 | + $cjoin = "LEFT JOIN $wpdb->posts ON ( $wpdb->comments.comment_post_ID = $wpdb->posts.ID )"; |
1693 | + $cwhere = "WHERE post_status = 'publish' AND comment_approved = '1'"; |
1694 | + $cgroupby = ''; |
1695 | + } |
1696 | + |
1697 | + $cjoin = apply_filters('comment_feed_join', $cjoin); |
1698 | + $cwhere = apply_filters('comment_feed_where', $cwhere); |
1699 | + $cgroupby = apply_filters('comment_feed_groupby', $cgroupby); |
1700 | + |
1701 | + $this->comments = (array) $wpdb->get_results("SELECT $distinct $wpdb->comments.* FROM $wpdb->comments $cjoin $cwhere $cgroupby ORDER BY comment_date_gmt DESC LIMIT " . get_option('posts_per_rss')); |
1702 | + $this->comment_count = count($this->comments); |
1703 | + |
1704 | + $post_ids = array(); |
1705 | + |
1706 | + foreach ($this->comments as $comment) |
1707 | + $post_ids[] = (int) $comment->comment_post_ID; |
1708 | + |
1709 | + $post_ids = join(',', $post_ids); |
1710 | + $join = ''; |
1711 | + if ( $post_ids ) |
1712 | + $where = "AND $wpdb->posts.ID IN ($post_ids) "; |
1713 | + else |
1714 | + $where = "AND 0"; |
1715 | + } |
1716 | + |
1717 | + // Apply post-paging filters on where and join. Only plugins that |
1718 | + // manipulate paging queries should use these hooks. |
1719 | + $where = apply_filters('posts_where_paged', $where); |
1720 | + $groupby = apply_filters('posts_groupby', $groupby); |
1721 | + if ( ! empty($groupby) ) |
1722 | + $groupby = 'GROUP BY ' . $groupby; |
1723 | + $join = apply_filters('posts_join_paged', $join); |
1724 | + $orderby = apply_filters('posts_orderby', $q['orderby']); |
1725 | + $distinct = apply_filters('posts_distinct', $distinct); |
1726 | + $fields = apply_filters('posts_fields', "$wpdb->posts.*"); |
1727 | + $limits = apply_filters( 'post_limits', $limits ); |
1728 | + $found_rows = ''; |
1729 | + if ( !empty($limits) ) |
1730 | + $found_rows = 'SQL_CALC_FOUND_ROWS'; |
1731 | + |
1732 | + $request = " SELECT $found_rows $distinct $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby ORDER BY $orderby $limits"; |
1733 | + $this->request = apply_filters('posts_request', $request); |
1734 | + |
1735 | + $this->posts = $wpdb->get_results($this->request); |
1736 | + |
1737 | + if ( $this->is_comment_feed && $this->is_singular ) { |
1738 | + $cjoin = apply_filters('comment_feed_join', ''); |
1739 | + $cwhere = apply_filters('comment_feed_where', "WHERE comment_post_ID = {$this->posts[0]->ID} AND comment_approved = '1'"); |
1740 | + $comments_request = "SELECT $wpdb->comments.* FROM $wpdb->comments $cjoin $cwhere ORDER BY comment_date_gmt DESC LIMIT " . get_option('posts_per_rss'); |
1741 | + $this->comments = $wpdb->get_results($comments_request); |
1742 | + $this->comment_count = count($this->comments); |
1743 | + } |
1744 | + |
1745 | + if ( !empty($limits) ) { |
1746 | + $found_posts_query = apply_filters( 'found_posts_query', 'SELECT FOUND_ROWS()' ); |
1747 | + $this->found_posts = $wpdb->get_var( $found_posts_query ); |
1748 | + $this->found_posts = apply_filters( 'found_posts', $this->found_posts ); |
1749 | + $this->max_num_pages = ceil($this->found_posts / $q['posts_per_page']); |
1750 | + } |
1751 | + |
1752 | + // Check post status to determine if post should be displayed. |
1753 | + if ( !empty($this->posts) && ($this->is_single || $this->is_page) ) { |
1754 | + $status = get_post_status($this->posts[0]); |
1755 | + //$type = get_post_type($this->posts[0]); |
1756 | + if ( ('publish' != $status) ) { |
1757 | + if ( ! is_user_logged_in() ) { |
1758 | + // User must be logged in to view unpublished posts. |
1759 | + $this->posts = array(); |
1760 | + } else { |
1761 | + if ('draft' == $status) { |
1762 | + // User must have edit permissions on the draft to preview. |
1763 | + if (! current_user_can('edit_post', $this->posts[0]->ID)) { |
1764 | + $this->posts = array(); |
1765 | + } else { |
1766 | + $this->is_preview = true; |
1767 | + $this->posts[0]->post_date = current_time('mysql'); |
1768 | + } |
1769 | + } else if ('future' == $status) { |
1770 | + $this->is_preview = true; |
1771 | + if (!current_user_can('edit_post', $this->posts[0]->ID)) { |
1772 | + $this->posts = array ( ); |
1773 | + } |
1774 | + } else { |
1775 | + if (! current_user_can('read_post', $this->posts[0]->ID)) |
1776 | + $this->posts = array(); |
1777 | + } |
1778 | + } |
1779 | + } |
1780 | + } |
1781 | + |
1782 | + $this->posts = apply_filters('the_posts', $this->posts); |
1783 | + |
1784 | + update_post_caches($this->posts); |
1785 | + |
1786 | + $this->post_count = count($this->posts); |
1787 | + if ($this->post_count > 0) { |
1788 | + $this->post = $this->posts[0]; |
1789 | + } |
1790 | + |
1791 | + return $this->posts; |
1792 | + } |
1793 | + |
1794 | + function next_post() { |
1795 | + |
1796 | + $this->current_post++; |
1797 | + |
1798 | + $this->post = $this->posts[$this->current_post]; |
1799 | + return $this->post; |
1800 | + } |
1801 | + |
1802 | + function the_post() { |
1803 | + global $post; |
1804 | + $this->in_the_loop = true; |
1805 | + $post = $this->next_post(); |
1806 | + setup_postdata($post); |
1807 | + |
1808 | + if ( $this->current_post == 0 ) // loop has just started |
1809 | + do_action('loop_start'); |
1810 | + } |
1811 | + |
1812 | + function have_posts() { |
1813 | + if ($this->current_post + 1 < $this->post_count) { |
1814 | + return true; |
1815 | + } elseif ($this->current_post + 1 == $this->post_count) { |
1816 | + do_action('loop_end'); |
1817 | + // Do some cleaning up after the loop |
1818 | + $this->rewind_posts(); |
1819 | + } |
1820 | + |
1821 | + $this->in_the_loop = false; |
1822 | + return false; |
1823 | + } |
1824 | + |
1825 | + function rewind_posts() { |
1826 | + $this->current_post = -1; |
1827 | + if ($this->post_count > 0) { |
1828 | + $this->post = $this->posts[0]; |
1829 | + } |
1830 | + } |
1831 | + |
1832 | + function next_comment() { |
1833 | + $this->current_comment++; |
1834 | + |
1835 | + $this->comment = $this->comments[$this->current_comment]; |
1836 | + return $this->comment; |
1837 | + } |
1838 | + |
1839 | + function the_comment() { |
1840 | + global $comment; |
1841 | + |
1842 | + $comment = $this->next_comment(); |
1843 | + |
1844 | + if ($this->current_comment == 0) { |
1845 | + do_action('comment_loop_start'); |
1846 | + } |
1847 | + } |
1848 | + |
1849 | + function have_comments() { |
1850 | + if ($this->current_comment + 1 < $this->comment_count) { |
1851 | + return true; |
1852 | + } elseif ($this->current_comment + 1 == $this->comment_count) { |
1853 | + $this->rewind_comments(); |
1854 | + } |
1855 | + |
1856 | + return false; |
1857 | + } |
1858 | + |
1859 | + function rewind_comments() { |
1860 | + $this->current_comment = -1; |
1861 | + if ($this->comment_count > 0) { |
1862 | + $this->comment = $this->comments[0]; |
1863 | + } |
1864 | + } |
1865 | + |
1866 | + function &query($query) { |
1867 | + $this->parse_query($query); |
1868 | + return $this->get_posts(); |
1869 | + } |
1870 | + |
1871 | + function get_queried_object() { |
1872 | + if (isset($this->queried_object)) { |
1873 | + return $this->queried_object; |
1874 | + } |
1875 | + |
1876 | + $this->queried_object = NULL; |
1877 | + $this->queried_object_id = 0; |
1878 | + |
1879 | + if ($this->is_category) { |
1880 | + $cat = $this->get('cat'); |
1881 | + $category = &get_category($cat); |
1882 | + $this->queried_object = &$category; |
1883 | + $this->queried_object_id = (int) $cat; |
1884 | + } else if ($this->is_posts_page) { |
1885 | + $this->queried_object = & get_page(get_option('page_for_posts')); |
1886 | + $this->queried_object_id = (int) $this->queried_object->ID; |
1887 | + } else if ($this->is_single) { |
1888 | + $this->queried_object = $this->post; |
1889 | + $this->queried_object_id = (int) $this->post->ID; |
1890 | + } else if ($this->is_page) { |
1891 | + $this->queried_object = $this->post; |
1892 | + $this->queried_object_id = (int) $this->post->ID; |
1893 | + } else if ($this->is_author) { |
1894 | + $author_id = (int) $this->get('author'); |
1895 | + $author = get_userdata($author_id); |
1896 | + $this->queried_object = $author; |
1897 | + $this->queried_object_id = $author_id; |
1898 | + } |
1899 | + |
1900 | + return $this->queried_object; |
1901 | + } |
1902 | + |
1903 | + function get_queried_object_id() { |
1904 | + $this->get_queried_object(); |
1905 | + |
1906 | + if (isset($this->queried_object_id)) { |
1907 | + return $this->queried_object_id; |
1908 | + } |
1909 | + |
1910 | + return 0; |
1911 | + } |
1912 | + |
1913 | + function WP_Query ($query = '') { |
1914 | + if (! empty($query)) { |
1915 | + $this->query($query); |
1916 | + } |
1917 | + } |
1918 | +} |
1919 | + |
1920 | + |
1921 | +// Redirect old slugs |
1922 | +function wp_old_slug_redirect () { |
1923 | + global $wp_query; |
1924 | + if ( is_404() && '' != $wp_query->query_vars['name'] ) : |
1925 | + global $wpdb; |
1926 | + |
1927 | + $query = "SELECT post_id FROM $wpdb->postmeta, $wpdb->posts WHERE ID = post_id AND meta_key = '_wp_old_slug' AND meta_value='" . $wp_query->query_vars['name'] . "'"; |
1928 | + |
1929 | + // if year, monthnum, or day have been specified, make our query more precise |
1930 | + // just in case there are multiple identical _wp_old_slug values |
1931 | + if ( '' != $wp_query->query_vars['year'] ) |
1932 | + $query .= " AND YEAR(post_date) = '{$wp_query->query_vars['year']}'"; |
1933 | + if ( '' != $wp_query->query_vars['monthnum'] ) |
1934 | + $query .= " AND MONTH(post_date) = '{$wp_query->query_vars['monthnum']}'"; |
1935 | + if ( '' != $wp_query->query_vars['day'] ) |
1936 | + $query .= " AND DAYOFMONTH(post_date) = '{$wp_query->query_vars['day']}'"; |
1937 | + |
1938 | + $id = (int) $wpdb->get_var($query); |
1939 | + |
1940 | + if ( !$id ) |
1941 | + return; |
1942 | + |
1943 | + $link = get_permalink($id); |
1944 | + |
1945 | + if ( !$link ) |
1946 | + return; |
1947 | + |
1948 | + wp_redirect($link, '301'); // Permanent redirect |
1949 | + exit; |
1950 | + endif; |
1951 | +} |
1952 | + |
1953 | + |
1954 | +// |
1955 | +// Private helper functions |
1956 | +// |
1957 | + |
1958 | +// Setup global post data. |
1959 | +function setup_postdata($post) { |
1960 | + global $id, $postdata, $authordata, $day, $page, $pages, $multipage, $more, $numpages, $wp_query; |
1961 | + global $pagenow; |
1962 | + |
1963 | + $id = (int) $post->ID; |
1964 | + |
1965 | + $authordata = get_userdata($post->post_author); |
1966 | + |
1967 | + $day = mysql2date('d.m.y', $post->post_date); |
1968 | + $currentmonth = mysql2date('m', $post->post_date); |
1969 | + $numpages = 1; |
1970 | + $page = get_query_var('page'); |
1971 | + if ( !$page ) |
1972 | + $page = 1; |
1973 | + if ( is_single() || is_page() ) |
1974 | + $more = 1; |
1975 | + $content = $post->post_content; |
1976 | + if ( preg_match('/<!--nextpage-->/', $content) ) { |
1977 | + if ( $page > 1 ) |
1978 | + $more = 1; |
1979 | + $multipage = 1; |
1980 | + $content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content); |
1981 | + $content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content); |
1982 | + $content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content); |
1983 | + $pages = explode('<!--nextpage-->', $content); |
1984 | + $numpages = count($pages); |
1985 | + } else { |
1986 | + $pages[0] = $post->post_content; |
1987 | + $multipage = 0; |
1988 | + } |
1989 | + return true; |
1990 | +} |
1991 | + |
1992 | +?> |
1993 | + |
1994 | |
1995 | === added file 'wp-content/themes/arthemia/screenshot.png' |
1996 | Binary files wp-content/themes/arthemia/screenshot.png 1970-01-01 00:00:00 +0000 and wp-content/themes/arthemia/screenshot.png 2011-02-03 09:51:14 +0000 differ |
1997 | === added directory 'wp-content/themes/arthemia/scripts' |
1998 | === added directory 'wp-content/themes/arthemia/scripts/cache' |
1999 | === added file 'wp-content/themes/arthemia/scripts/timthumb.php' |
2000 | --- wp-content/themes/arthemia/scripts/timthumb.php 1970-01-01 00:00:00 +0000 |
2001 | +++ wp-content/themes/arthemia/scripts/timthumb.php 2011-02-03 09:51:14 +0000 |
2002 | @@ -0,0 +1,379 @@ |
2003 | +<?php |
2004 | + |
2005 | +// TimThumb script created by Tim McDaniels and Darren Hoyt with tweaks by Ben Gillbanks |
2006 | +// http://code.google.com/p/timthumb/ |
2007 | + |
2008 | +// MIT License: http://www.opensource.org/licenses/mit-license.php |
2009 | + |
2010 | +/* Parameters allowed: */ |
2011 | + |
2012 | +// w: width |
2013 | +// h: height |
2014 | +// zc: zoom crop (0 or 1) |
2015 | +// q: quality (default is 75 and max is 100) |
2016 | + |
2017 | +// HTML example: <img src="/scripts/timthumb.php?src=/images/whatever.jpg&w=150&h=200&zc=1" alt="" /> |
2018 | + |
2019 | +if( !isset( $_REQUEST[ "src" ] ) ) { |
2020 | + die( "no image specified" ); |
2021 | +} |
2022 | + |
2023 | +// clean params before use |
2024 | +$src = clean_source( $_REQUEST[ "src" ] ); |
2025 | + |
2026 | +// set document root |
2027 | +$doc_root = get_document_root($src); |
2028 | + |
2029 | +// get path to image on file system |
2030 | +$src = $doc_root . '/' . $src; |
2031 | + |
2032 | +$new_width = preg_replace( "/[^0-9]+/", "", get_request( 'w', 100 ) ); |
2033 | +$new_height = preg_replace( "/[^0-9]+/", "", get_request( 'h', 100 ) ); |
2034 | +$zoom_crop = preg_replace( "/[^0-9]+/", "", get_request( 'zc', 1 ) ); |
2035 | +$quality = preg_replace( "/[^0-9]+/", "", get_request( 'q', 80 ) ); |
2036 | + |
2037 | +// set path to cache directory (default is ./cache) |
2038 | +// this can be changed to a different location |
2039 | +$cache_dir = './cache'; |
2040 | + |
2041 | +// get mime type of src |
2042 | +$mime_type = mime_type( $src ); |
2043 | + |
2044 | +// check to see if this image is in the cache already |
2045 | +check_cache( $cache_dir, $mime_type ); |
2046 | + |
2047 | +// make sure that the src is gif/jpg/png |
2048 | +if( !valid_src_mime_type( $mime_type ) ) { |
2049 | + $error = "Invalid src mime type: $mime_type"; |
2050 | + die( $error ); |
2051 | +} |
2052 | + |
2053 | +// check to see if GD function exist |
2054 | +if(!function_exists('imagecreatetruecolor')) { |
2055 | + $error = "GD Library Error: imagecreatetruecolor does not exist"; |
2056 | + die( $error ); |
2057 | +} |
2058 | + |
2059 | +if(strlen($src) && file_exists( $src ) ) { |
2060 | + |
2061 | + // open the existing image |
2062 | + $image = open_image( $mime_type, $src ); |
2063 | + if( $image === false ) { die( 'Unable to open image : ' . $src ); } |
2064 | + |
2065 | + // Get original width and height |
2066 | + $width = imagesx( $image ); |
2067 | + $height = imagesy( $image ); |
2068 | + |
2069 | + // don't allow new width or height to be greater than the original |
2070 | + if( $new_width > $width ) { $new_width = $width; } |
2071 | + if( $new_height > $height ) { $new_height = $height; } |
2072 | + |
2073 | + // generate new w/h if not provided |
2074 | + if( $new_width && !$new_height ) { |
2075 | + $new_height = $height * ( $new_width / $width ); |
2076 | + } |
2077 | + elseif($new_height && !$new_width) { |
2078 | + $new_width = $width * ( $new_height / $height ); |
2079 | + } |
2080 | + elseif(!$new_width && !$new_height) { |
2081 | + $new_width = $width; |
2082 | + $new_height = $height; |
2083 | + } |
2084 | + |
2085 | + // create a new true color image |
2086 | + $canvas = imagecreatetruecolor( $new_width, $new_height ); |
2087 | + |
2088 | + if( $zoom_crop ) { |
2089 | + |
2090 | + $src_x = $src_y = 0; |
2091 | + $src_w = $width; |
2092 | + $src_h = $height; |
2093 | + |
2094 | + $cmp_x = $width / $new_width; |
2095 | + $cmp_y = $height / $new_height; |
2096 | + |
2097 | + // calculate x or y coordinate and width or height of source |
2098 | + |
2099 | + if ( $cmp_x > $cmp_y ) { |
2100 | + |
2101 | + $src_w = round( ( $width / $cmp_x * $cmp_y ) ); |
2102 | + $src_x = round( ( $width - ( $width / $cmp_x * $cmp_y ) ) / 2 ); |
2103 | + |
2104 | + } |
2105 | + elseif ( $cmp_y > $cmp_x ) { |
2106 | + |
2107 | + $src_h = round( ( $height / $cmp_y * $cmp_x ) ); |
2108 | + $src_y = round( ( $height - ( $height / $cmp_y * $cmp_x ) ) / 2 ); |
2109 | + |
2110 | + } |
2111 | + |
2112 | + imagecopyresampled( $canvas, $image, 0, 0, $src_x, $src_y, $new_width, $new_height, $src_w, $src_h ); |
2113 | + |
2114 | + } |
2115 | + else { |
2116 | + |
2117 | + // copy and resize part of an image with resampling |
2118 | + imagecopyresampled( $canvas, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height ); |
2119 | + |
2120 | + } |
2121 | + |
2122 | + // output image to browser based on mime type |
2123 | + show_image( $mime_type, $canvas, $quality, $cache_dir ); |
2124 | + |
2125 | + // remove image from memory |
2126 | + imagedestroy( $canvas ); |
2127 | + |
2128 | +} else { |
2129 | + |
2130 | + if( strlen( $src ) ) { |
2131 | + echo $src . ' not found.'; |
2132 | + } else { |
2133 | + echo 'no source specified.'; |
2134 | + } |
2135 | + |
2136 | +} |
2137 | + |
2138 | +function show_image ( $mime_type, $image_resized, $quality, $cache_dir ) { |
2139 | + |
2140 | + // check to see if we can write to the cache directory |
2141 | + $is_writable = 0; |
2142 | + $cache_file_name = $cache_dir . '/' . get_cache_file(); |
2143 | + |
2144 | + if( touch( $cache_file_name ) ) { |
2145 | + // give 666 permissions so that the developer |
2146 | + // can overwrite web server user |
2147 | + chmod( $cache_file_name, 0666 ); |
2148 | + $is_writable = 1; |
2149 | + } |
2150 | + else { |
2151 | + $cache_file_name = NULL; |
2152 | + header( 'Content-type: ' . $mime_type ); |
2153 | + } |
2154 | + |
2155 | + if( stristr( $mime_type, 'gif' ) ) { |
2156 | + |
2157 | + imagegif( $image_resized, $cache_file_name ); |
2158 | + |
2159 | + } elseif( stristr( $mime_type, 'jpeg' ) ) { |
2160 | + |
2161 | + imagejpeg( $image_resized, $cache_file_name, $quality ); |
2162 | + |
2163 | + } elseif( stristr( $mime_type, 'png' ) ) { |
2164 | + |
2165 | + $quality = $quality / 10; |
2166 | + if($quality == 10) { |
2167 | + $quality = 9; |
2168 | + } |
2169 | + imagepng( $image_resized, $cache_file_name, $quality ); |
2170 | + |
2171 | + } |
2172 | + |
2173 | + if( $is_writable ) { |
2174 | + show_cache_file( $cache_dir, $mime_type ); |
2175 | + } |
2176 | + |
2177 | + exit; |
2178 | + |
2179 | +} |
2180 | + |
2181 | +function get_request( $property, $default = 0 ) { |
2182 | + |
2183 | + if( isset($_REQUEST[$property]) ) { |
2184 | + return $_REQUEST[$property]; |
2185 | + } else { |
2186 | + return $default; |
2187 | + } |
2188 | + |
2189 | +} |
2190 | + |
2191 | +function open_image ( $mime_type, $src ) { |
2192 | + |
2193 | + if( stristr( $mime_type, 'gif' ) ) { |
2194 | + |
2195 | + $image = imagecreatefromgif( $src ); |
2196 | + |
2197 | + } elseif( stristr( $mime_type, 'jpeg' ) ) { |
2198 | + |
2199 | + @ini_set('gd.jpeg_ignore_warning', 1); |
2200 | + $image = imagecreatefromjpeg( $src ); |
2201 | + |
2202 | + } elseif( stristr( $mime_type, 'png' ) ) { |
2203 | + |
2204 | + $image = imagecreatefrompng( $src ); |
2205 | + |
2206 | + } |
2207 | + |
2208 | + return $image; |
2209 | + |
2210 | +} |
2211 | + |
2212 | +function mime_type ( $file ) { |
2213 | + |
2214 | + $os = strtolower(php_uname()); |
2215 | + $mime_type = ''; |
2216 | + |
2217 | + // use PECL fileinfo to determine mime type |
2218 | + if( function_exists( 'finfo_open' ) ) { |
2219 | + $finfo = finfo_open( FILEINFO_MIME ); |
2220 | + $mime_type = finfo_file( $finfo, $file ); |
2221 | + finfo_close( $finfo ); |
2222 | + } |
2223 | + |
2224 | + // try to determine mime type by using unix file command |
2225 | + // this should not be executed on windows |
2226 | + if( !valid_src_mime_type( $mime_type ) && !(eregi('windows', php_uname()))) { |
2227 | + if( preg_match( "/freebsd|linux/", $os ) ) { |
2228 | + $mime_type = trim ( @shell_exec( 'file -bi $file' ) ); |
2229 | + } |
2230 | + } |
2231 | + |
2232 | + // use file's extension to determine mime type |
2233 | + if( !valid_src_mime_type( $mime_type ) ) { |
2234 | + $frags = split( "\.", $file ); |
2235 | + $ext = strtolower( $frags[ count( $frags ) - 1 ] ); |
2236 | + $types = array( |
2237 | + 'jpg' => 'image/jpeg', |
2238 | + 'jpeg' => 'image/jpeg', |
2239 | + 'png' => 'image/png', |
2240 | + 'gif' => 'image/gif' |
2241 | + ); |
2242 | + if( strlen( $ext ) && strlen( $types[$ext] ) ) { |
2243 | + $mime_type = $types[ $ext ]; |
2244 | + } |
2245 | + |
2246 | + // if no extension provided, default to jpg |
2247 | + if( !strlen( $ext ) && !valid_src_mime_type( $mime_type ) ) { |
2248 | + $mime_type = 'image/jpeg'; |
2249 | + } |
2250 | + } |
2251 | + return $mime_type; |
2252 | + |
2253 | +} |
2254 | + |
2255 | +function valid_src_mime_type ( $mime_type ) { |
2256 | + |
2257 | + if( preg_match( "/jpg|jpeg|gif|png/i", $mime_type ) ) { return 1; } |
2258 | + return 0; |
2259 | + |
2260 | +} |
2261 | + |
2262 | +function check_cache ( $cache_dir, $mime_type ) { |
2263 | + |
2264 | + // make sure cache dir exists |
2265 | + if( !file_exists( $cache_dir ) ) { |
2266 | + // give 777 permissions so that developer can overwrite |
2267 | + // files created by web server user |
2268 | + mkdir( $cache_dir ); |
2269 | + chmod( $cache_dir, 0777 ); |
2270 | + } |
2271 | + |
2272 | + show_cache_file( $cache_dir, $mime_type ); |
2273 | + |
2274 | +} |
2275 | + |
2276 | +function show_cache_file ( $cache_dir, $mime_type ) { |
2277 | + |
2278 | + $cache_file = $cache_dir . '/' . get_cache_file(); |
2279 | + |
2280 | + if( file_exists( $cache_file ) ) { |
2281 | + |
2282 | + if( isset( $_SERVER[ "HTTP_IF_MODIFIED_SINCE" ] ) ) { |
2283 | + |
2284 | + // check for updates |
2285 | + $if_modified_since = preg_replace( '/;.*$/', '', $_SERVER[ "HTTP_IF_MODIFIED_SINCE" ] ); |
2286 | + $gmdate_mod = gmdate( 'D, d M Y H:i:s', filemtime( $cache_file ) ); |
2287 | + |
2288 | + if( strstr( $gmdate_mod, 'GMT' ) ) { |
2289 | + $gmdate_mod .= " GMT"; |
2290 | + } |
2291 | + |
2292 | + if ( $if_modified_since == $gmdate_mod ) { |
2293 | + header( "HTTP/1.1 304 Not Modified" ); |
2294 | + exit; |
2295 | + } |
2296 | + |
2297 | + } |
2298 | + |
2299 | + $fileSize = filesize( $cache_file ); |
2300 | + |
2301 | + // send headers then display image |
2302 | + header( "Content-Type: " . $mime_type ); |
2303 | + header( "Accept-Ranges: bytes" ); |
2304 | + header( "Last-Modified: " . gmdate( 'D, d M Y H:i:s', filemtime( $cache_file ) ) . " GMT" ); |
2305 | + header( "Content-Length: " . $fileSize ); |
2306 | + header( "Cache-Control: max-age=9999, must-revalidate" ); |
2307 | + header( "Etag: " . md5($fileSize . $gmdate_mod) ); |
2308 | + header( "Expires: " . gmdate( "D, d M Y H:i:s", time() + 9999 ) . "GMT" ); |
2309 | + readfile( $cache_file ); |
2310 | + exit; |
2311 | + |
2312 | + } |
2313 | + |
2314 | +} |
2315 | + |
2316 | +function get_cache_file () { |
2317 | + |
2318 | + global $quality; |
2319 | + |
2320 | + static $cache_file; |
2321 | + if(!$cache_file) { |
2322 | + $frags = split( "\.", $_REQUEST['src'] ); |
2323 | + $ext = strtolower( $frags[ count( $frags ) - 1 ] ); |
2324 | + if(!valid_extension($ext)) { $ext = 'jpg'; } |
2325 | + $cachename = get_request( 'src', 'timthumb' ) . get_request( 'w', 100 ) . get_request( 'h', 100 ) . get_request( 'zc', 1 ) . get_request( 'q', 80 ); |
2326 | + $cache_file = md5( $cachename ) . '.' . $ext; |
2327 | + } |
2328 | + return $cache_file; |
2329 | + |
2330 | +} |
2331 | + |
2332 | +function valid_extension ($ext) { |
2333 | + |
2334 | + if( preg_match( "/jpg|jpeg|png|gif/i", $ext ) ) return 1; |
2335 | + return 0; |
2336 | + |
2337 | +} |
2338 | + |
2339 | +function clean_source ( $src ) { |
2340 | + |
2341 | + // remove http/ https/ ftp |
2342 | + $src = preg_replace("/^((ht|f)tp(s|):\/\/)/i", "", $src); |
2343 | + // remove domain name from the source url |
2344 | + $host = $_SERVER["HTTP_HOST"]; |
2345 | + $src = str_replace($host, "", $src); |
2346 | + $host = str_replace("www.", "", $host); |
2347 | + $src = str_replace($host, "", $src); |
2348 | + |
2349 | + //$src = preg_replace( "/(?:^\/+|\.{2,}\/+?)/", "", $src ); |
2350 | + //$src = preg_replace( '/^\w+:\/\/[^\/]+/', '', $src ); |
2351 | + |
2352 | + // don't allow users the ability to use '../' |
2353 | + // in order to gain access to files below document root |
2354 | + |
2355 | + // src should be specified relative to document root like: |
2356 | + // src=images/img.jpg or src=/images/img.jpg |
2357 | + // not like: |
2358 | + // src=../images/img.jpg |
2359 | + $src = preg_replace( "/\.\.+\//", "", $src ); |
2360 | + |
2361 | + return $src; |
2362 | + |
2363 | +} |
2364 | + |
2365 | +function get_document_root ($src) { |
2366 | + if( @file_exists( $_SERVER['DOCUMENT_ROOT'] . '/' . $src ) ) { |
2367 | + return $_SERVER['DOCUMENT_ROOT']; |
2368 | + } |
2369 | + // the relative paths below are useful if timthumb is moved outside of document root |
2370 | + // specifically if installed in wordpress themes like mimbo pro: |
2371 | + // /wp-content/themes/mimbopro/scripts/timthumb.php |
2372 | + $paths = array( '..', '../..', '../../..', '../../../..' ); |
2373 | + foreach( $paths as $path ) { |
2374 | + if( @file_exists( $path . '/' . $src ) ) { |
2375 | + return $path; |
2376 | + } |
2377 | + } |
2378 | + |
2379 | +} |
2380 | + |
2381 | +?> |
2382 | \ No newline at end of file |
2383 | |
2384 | === added file 'wp-content/themes/arthemia/search.php' |
2385 | --- wp-content/themes/arthemia/search.php 1970-01-01 00:00:00 +0000 |
2386 | +++ wp-content/themes/arthemia/search.php 2011-02-03 09:51:14 +0000 |
2387 | @@ -0,0 +1,64 @@ |
2388 | +<?php get_header(); ?> |
2389 | + |
2390 | + <div id="content"> |
2391 | + |
2392 | + <?php if (have_posts()) : ?> |
2393 | + |
2394 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » Search</span> |
2395 | + |
2396 | + <h2 class="title">Search <strong>Results</strong></h2> |
2397 | + |
2398 | + <div id="archive"> |
2399 | + |
2400 | + <?php while (have_posts()) : the_post(); ?> |
2401 | + |
2402 | + <div class="clearfloat"> |
2403 | + <h3 class="cat_title"><?php the_category(', '); ?> »</h3> |
2404 | + <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> |
2405 | + <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> |
2406 | + |
2407 | + <div class="spoiler"> |
2408 | + <?php $values = get_post_custom_values("Image"); |
2409 | + if (isset($values[0])) { ?> |
2410 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
2411 | + <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
2412 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100" |
2413 | +alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a> |
2414 | + <?php } ?> |
2415 | + |
2416 | + <?php the_excerpt(); ?> |
2417 | + </div> |
2418 | + |
2419 | + </div> |
2420 | + |
2421 | + |
2422 | +<?php endwhile; ?> |
2423 | + |
2424 | + <div class="navigation"> |
2425 | + <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } |
2426 | + else { ?> |
2427 | + |
2428 | + <div class="right"><?php next_posts_link('Next Page »') ?></div> |
2429 | + <div class="left"><?php previous_posts_link('« Previous Page') ?></div> |
2430 | + <?php } ?> |
2431 | + |
2432 | + </div> |
2433 | + |
2434 | + </div> |
2435 | + |
2436 | + <?php else : ?> |
2437 | + |
2438 | + |
2439 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » Not Found</span> |
2440 | + <h2 class="title">No posts found. Try a different search?</h2> |
2441 | + |
2442 | + |
2443 | + <?php endif; ?> |
2444 | + |
2445 | + </div> |
2446 | + |
2447 | + |
2448 | + |
2449 | + |
2450 | +<?php get_sidebar(); ?> |
2451 | +<?php get_footer(); ?> |
2452 | |
2453 | === added file 'wp-content/themes/arthemia/searchform.php' |
2454 | --- wp-content/themes/arthemia/searchform.php 1970-01-01 00:00:00 +0000 |
2455 | +++ wp-content/themes/arthemia/searchform.php 2011-02-03 09:51:14 +0000 |
2456 | @@ -0,0 +1,6 @@ |
2457 | +<form method="get" id="searchform" class="left" action="<?php bloginfo('url'); ?>/"> |
2458 | +<div> |
2459 | +<input type="text" value="Search the archive..." value="<?php the_search_query(); ?>" name="s" id="s" onfocus="this.value=''" title="Enter the terms you wish to search for." /><input type="image" src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/magnify.gif" id="searchsubmit" /> |
2460 | + |
2461 | +</div> |
2462 | +</form> |
2463 | \ No newline at end of file |
2464 | |
2465 | === added file 'wp-content/themes/arthemia/sidebar.php' |
2466 | --- wp-content/themes/arthemia/sidebar.php 1970-01-01 00:00:00 +0000 |
2467 | +++ wp-content/themes/arthemia/sidebar.php 2011-02-03 09:51:14 +0000 |
2468 | @@ -0,0 +1,44 @@ |
2469 | +<div id="sidebar"> |
2470 | + |
2471 | +<div id="sidebar-ads"> |
2472 | +<img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/square.jpg" alt="" width="300px" height="250px" /> |
2473 | + |
2474 | +</div> |
2475 | + |
2476 | +<div id="sidebar-top"> |
2477 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?> |
2478 | + |
2479 | +<?php endif; ?> |
2480 | +</div> |
2481 | + |
2482 | + |
2483 | +<div id="sidebar-middle" class="clearfloat"> |
2484 | +<div id="sidebar-left"> |
2485 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?> |
2486 | +<?php endif; ?> |
2487 | +<ul><?php wp_list_bookmarks('categorize=0&category=17&title_li=0&show_images=0&show_description=0&orderby=name'); ?></ul> |
2488 | +</div> |
2489 | + |
2490 | +<div id="sidebar-right"> |
2491 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?> |
2492 | + |
2493 | +<h3>Blogroll</h3> |
2494 | +<ul> |
2495 | +<li><a href="http://colorlabsproject.com/themes/arthemia-premium/">Arthemia Premium</a></li> |
2496 | +<li><a href="http://colorlabsproject.com/">Colorlabs Project</a></li> |
2497 | +<li><a href="http://michaelhutagalung.com/">Michael Hutagalung</a></li> |
2498 | +<li><a href="http://www.wordpress.org/">WordPress.org</a></li> |
2499 | +<li><a href="http://codex.wordpress.org/">WordPress Codex</a></li> |
2500 | +<li><a href="http://www.wordpress.com/">WordPress.com</a></li> |
2501 | +</ul> |
2502 | +<?php endif; ?> |
2503 | +</div> |
2504 | + |
2505 | +</div> |
2506 | + |
2507 | +<div id="sidebar-bottom"> |
2508 | +<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(4) ) : ?> |
2509 | +<?php endif; ?> </div> |
2510 | + |
2511 | + |
2512 | +</div> |
2513 | \ No newline at end of file |
2514 | |
2515 | === added file 'wp-content/themes/arthemia/single.php' |
2516 | --- wp-content/themes/arthemia/single.php 1970-01-01 00:00:00 +0000 |
2517 | +++ wp-content/themes/arthemia/single.php 2011-02-03 09:51:14 +0000 |
2518 | @@ -0,0 +1,52 @@ |
2519 | +<?php get_header(); ?> |
2520 | + |
2521 | + <div id="content"> |
2522 | + |
2523 | + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
2524 | + |
2525 | + <div class="post" id="post-<?php the_ID(); ?>"> |
2526 | + |
2527 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » <?php the_category(', ') ?></span> |
2528 | + |
2529 | + <h2 class="title"><?php the_title(); ?></h2> |
2530 | + |
2531 | + <div id="stats"> |
2532 | +<span><?php the_time('j F Y') ?></span> |
2533 | +<span><?php if(function_exists('the_views')) { the_views(); } ?></span> |
2534 | +<span><?php comments_number('No Comment', 'One Comment', '% Comments' );?></span></div> |
2535 | + |
2536 | + |
2537 | + <div class="entry clearfloat"> |
2538 | + |
2539 | + <?php the_content('Read the rest of this entry »'); ?> |
2540 | + |
2541 | + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> |
2542 | + |
2543 | + </div> |
2544 | + |
2545 | + <div id="tools"> |
2546 | +<div style="float:left;"><a href=" http://digg.com/submit?phase=2&url= <?php the_permalink();?>&title=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/digg.png" title="Digg this!"></a><a href=" http://del.icio.us/post?v=4&noui&jump=close |
2547 | +&url=<?php the_permalink();?> |
2548 | +&title=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/delicious.png" title="Add to del.icio.us!"></a><a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/stumbleupon.png" title="Stumble this!"></a><a href=" http://technorati.com/faves?add=<?php echo get_option('home'); ?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/technorati.png" title="Add to Techorati!"></a><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/facebook.png" title="Share on Facebook!"></a><a href=" http://www.newsvine.com/_tools/seed&save? u=<?php the_permalink();?>&h=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/newsvine.png" title="Seed Newsvine!"></a><a href=" http://reddit.com/submit?url= |
2549 | +<?php the_permalink();?>&title=<?php the_title();?>" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/reddit.png" title="Reddit!"></a><a href=" http://myweb.yahoo.com/myresults/bookmarklet? t=<?php the_title();?>&u=<?php the_permalink();?>&ei=UTF" target="_blank"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/sociable/yahoomyweb.png" title="Add to Yahoo!"></a> |
2550 | +</div> |
2551 | + |
2552 | + <div style="float:right;display:block;"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div> |
2553 | + </div> |
2554 | + |
2555 | + </div> |
2556 | + |
2557 | + <div id="comments"> |
2558 | + <?php comments_template(); ?> |
2559 | + </div> |
2560 | + |
2561 | + <?php endwhile; else: ?> |
2562 | + |
2563 | + <p>Sorry, no posts matched your criteria.</p> |
2564 | + |
2565 | + <?php endif; ?> |
2566 | + |
2567 | + </div> |
2568 | + |
2569 | +<?php get_sidebar(); ?> |
2570 | +<?php get_footer(); ?> |
2571 | \ No newline at end of file |
2572 | |
2573 | === added file 'wp-content/themes/arthemia/style.css' |
2574 | --- wp-content/themes/arthemia/style.css 1970-01-01 00:00:00 +0000 |
2575 | +++ wp-content/themes/arthemia/style.css 2011-02-03 09:51:14 +0000 |
2576 | @@ -0,0 +1,831 @@ |
2577 | +/* |
2578 | +Theme Name: Arthemia |
2579 | +Theme URI: http://michaelhutagalung.com/2008/05/arthemia-magazine-blog-wordpress-theme-released/ |
2580 | +Description: <a href="http://michaelhutagalung.com/2008/05/arthemia-magazine-blog-wordpress-theme-released/">Arthemia</a> theme is combining a magazine and a weblog into one; it is not too magazine-ish nor too blog-ish. Designed for Wordpress. Gravatar support included along with automatic thumbnail resizer. |
2581 | +Version: 1.0 |
2582 | +Author: Michael Jubel Hutagalung |
2583 | +Author URI: http://michaelhutagalung.com/2008/05/arthemia-magazine-blog-wordpress-theme-released/ |
2584 | + |
2585 | +The CSS, XHTML and design is released under GPL: |
2586 | +http://www.opensource.org/licenses/gpl-license.php |
2587 | +*/ |
2588 | + |
2589 | + |
2590 | +/* HTML Elements */ |
2591 | +* { |
2592 | + margin:0; |
2593 | + padding:0; |
2594 | + } |
2595 | + |
2596 | +body { |
2597 | + font: 100% Arial, Helvetica; |
2598 | + background: #FFF; |
2599 | + color: #333; |
2600 | + } |
2601 | + |
2602 | +p { |
2603 | + margin: 15px 0; |
2604 | + } |
2605 | + |
2606 | +a:link, a:visited { |
2607 | + color: #3c78a7; |
2608 | + text-decoration:none |
2609 | + } |
2610 | + |
2611 | +a:hover, a:active { |
2612 | + color: #3c78a7; |
2613 | + text-decoration:underline; |
2614 | + } |
2615 | + |
2616 | +a img { |
2617 | + border:0; |
2618 | + } |
2619 | + |
2620 | +code { |
2621 | + font: 1.0em 'Courier New', Courier, Fixed; |
2622 | + background:#ececec; |
2623 | + } |
2624 | + |
2625 | +acronym, abbr, span.caps { |
2626 | + font-size: 0.9em; |
2627 | + letter-spacing: .07em; |
2628 | + cursor: help; |
2629 | + } |
2630 | + |
2631 | +acronym, abbr { |
2632 | + border-bottom: 1px dashed #999; |
2633 | + } |
2634 | + |
2635 | +blockquote { |
2636 | + padding: 10px 10px 0 10px; |
2637 | + border-top: 1px solid #ddd; |
2638 | + border-bottom: 1px solid #ddd; |
2639 | + background: #eee; |
2640 | + font:1.0em Arial; |
2641 | + line-height:1.5em; |
2642 | + margin:10px 0px; |
2643 | + } |
2644 | + |
2645 | +select { |
2646 | + width: 130px; |
2647 | + } |
2648 | + |
2649 | + |
2650 | + |
2651 | +/* Structure */ |
2652 | + |
2653 | + |
2654 | +#head { |
2655 | + width:960px; |
2656 | + margin:0px auto; |
2657 | + margin-top:15px; |
2658 | + padding:0px; |
2659 | + font-size:0.7em; |
2660 | + } |
2661 | + |
2662 | + |
2663 | +#page { |
2664 | + width:940px; |
2665 | + margin:0px auto; |
2666 | + padding:10px; |
2667 | + background:#ececec; |
2668 | + font-size:0.7em; |
2669 | + } |
2670 | + |
2671 | +.left, .alignleft { |
2672 | + float:left; |
2673 | + } |
2674 | + |
2675 | +.right, .alignright { |
2676 | + float:right; |
2677 | + } |
2678 | + |
2679 | + |
2680 | +/* Navigation Bar*/ |
2681 | +#navbar { |
2682 | + margin:0 auto; |
2683 | + margin-top:15px; |
2684 | + padding:0px 10px; |
2685 | + text-transform:uppercase; |
2686 | + background:#2c2c2c url(images/navbar.png); |
2687 | + } |
2688 | + |
2689 | +#page-bar { |
2690 | + width:722px; |
2691 | + } |
2692 | + |
2693 | +#page-bar ul { |
2694 | + list-style: none; |
2695 | + } |
2696 | + |
2697 | +#page-bar li { |
2698 | + float:left; |
2699 | + list-style:none; |
2700 | + cursor: pointer; |
2701 | + display:block; |
2702 | + border-right:1px solid #333; |
2703 | + } |
2704 | + |
2705 | +#page-bar li:hover { |
2706 | + background: #3c78a7; |
2707 | + } |
2708 | + |
2709 | + |
2710 | +#page-bar a, #page-bar a:visited { |
2711 | + margin: 0px; |
2712 | + padding:10px 16px; |
2713 | + font-weight:bold; |
2714 | + color:#FFF; |
2715 | + display:block; |
2716 | + } |
2717 | + |
2718 | +#page-bar a:hover { |
2719 | + text-decoration:none; |
2720 | + display:block; |
2721 | + } |
2722 | + |
2723 | +#searchform { |
2724 | + width:194px; |
2725 | + float:right; |
2726 | + text-align:right; |
2727 | + padding-top:8px; |
2728 | + margin-right:10px; |
2729 | + } |
2730 | + |
2731 | +/* Dropdown Menus */ |
2732 | +#page-bar li { |
2733 | + float: left; |
2734 | + margin: 0px; |
2735 | + padding: 0px; |
2736 | + } |
2737 | + |
2738 | +#page-bar li li { |
2739 | + float: left; |
2740 | + margin: 0px; |
2741 | + padding: 0px; |
2742 | + width: 122px; |
2743 | + text-transform:none; |
2744 | + } |
2745 | + |
2746 | +#page-bar li li a, #page-bar li li a:link, #page-bar li li a:visited { |
2747 | + background: #2B2B2B; |
2748 | + width: 122px; |
2749 | + float: none; |
2750 | + margin: 0px; |
2751 | + padding: 5px 10px 5px 18px; |
2752 | + border-top: 1px solid #C0C0C0; |
2753 | + } |
2754 | + |
2755 | +#page-bar li li a:hover, #page-bar li li a:active { |
2756 | + background: #666666; |
2757 | + padding: 5px 10px 5px 18px; |
2758 | + } |
2759 | + |
2760 | +#page-bar li ul { |
2761 | + position: absolute; |
2762 | + width: 10em; |
2763 | + left: -999em; |
2764 | + } |
2765 | + |
2766 | +#page-bar li:hover ul { |
2767 | + left: auto; |
2768 | + display: block; |
2769 | + } |
2770 | + |
2771 | +#page-bar li:hover ul, #page-bar li.sfhover ul { |
2772 | + left: auto; |
2773 | + } |
2774 | + |
2775 | + |
2776 | +/* Text*/ |
2777 | + |
2778 | +h1 { |
2779 | + font:3.5em Arial; |
2780 | + font-weight:bold; |
2781 | + letter-spacing:-0.08em; |
2782 | + } |
2783 | + |
2784 | +h2 { |
2785 | + font:2.3em Georgia, "Times New Roman"; |
2786 | + } |
2787 | + |
2788 | +h3 { |
2789 | + font:1.3em Arial; |
2790 | + margin-bottom:3px; |
2791 | + color:#3c78a7; |
2792 | + font-weight:bold; |
2793 | + } |
2794 | + |
2795 | +h4 { |
2796 | + font:1.0em Arial; |
2797 | + } |
2798 | + |
2799 | +h3.cat_title, h3.cat_title a { |
2800 | + color:#333; |
2801 | + letter-spacing:-0.05em; |
2802 | + font-size:0.85em; |
2803 | + } |
2804 | + |
2805 | +h3#respond { |
2806 | + margin-top:0px; |
2807 | + padding-top:20px; |
2808 | + } |
2809 | + |
2810 | +h3#comments { |
2811 | + margin-top:32px; |
2812 | + padding-left:0px; |
2813 | + } |
2814 | + |
2815 | +h3.authors { |
2816 | + margin-top:15px; |
2817 | + } |
2818 | + |
2819 | +/* Index Page*/ |
2820 | + |
2821 | +#logo { |
2822 | + width:350px; |
2823 | + } |
2824 | + |
2825 | +#tagline { |
2826 | + margin-top:5px; |
2827 | + font-size:1em; |
2828 | + color:#333; |
2829 | + } |
2830 | + |
2831 | +#top { |
2832 | + padding:0; |
2833 | + } |
2834 | + |
2835 | +#headline { |
2836 | + width:590px; |
2837 | + float:left; |
2838 | + background:#fff; |
2839 | + padding:10px; |
2840 | + font-size:1.05em; |
2841 | + line-height:1.5em; |
2842 | + margin:0; |
2843 | + } |
2844 | + |
2845 | +#headline div.title { |
2846 | + font-weight:bold; |
2847 | + font:2.4em Georgia; |
2848 | + letter-spacing:-0.05em; |
2849 | + display:block; |
2850 | + padding-bottom:5px; |
2851 | + } |
2852 | + |
2853 | +#headline div.meta { |
2854 | + display:block; |
2855 | + margin-top:-5px; |
2856 | + padding-bottom:2px; |
2857 | + } |
2858 | + |
2859 | +#headline p { |
2860 | + padding-bottom:15px; |
2861 | + } |
2862 | + |
2863 | +#featured { |
2864 | + width:300px; |
2865 | + background:#fff; |
2866 | + float:right; |
2867 | + padding:10px 10px 9px 10px; |
2868 | + } |
2869 | + |
2870 | +#featured .clearfloat { |
2871 | + margin-top:7px; |
2872 | + margin-bottom:8px; |
2873 | + } |
2874 | + |
2875 | +#featured .info { |
2876 | + margin-top:5px; |
2877 | + padding-top:5px; |
2878 | + float:right; |
2879 | + width:180px; |
2880 | + } |
2881 | + |
2882 | +#featured .title { |
2883 | + font-weight:bold; |
2884 | + } |
2885 | + |
2886 | +#headline a img, #featured a img { |
2887 | + border:1px solid #ccc; |
2888 | + margin-top:5px; |
2889 | + margin-right:10px; |
2890 | + padding:2px; |
2891 | + } |
2892 | + |
2893 | + |
2894 | +#middle { |
2895 | + width: 920px; |
2896 | + background:#fff; |
2897 | + float:right; |
2898 | + padding:10px; |
2899 | + margin:10px 0; |
2900 | + } |
2901 | + |
2902 | +.category { |
2903 | + width:164px; |
2904 | + float:left; |
2905 | + border-top:8px solid #333; |
2906 | + margin:0px; |
2907 | + padding:5px 10px 10px 10px; |
2908 | + background:#fff; |
2909 | + } |
2910 | + |
2911 | +.category p { |
2912 | + margin:0; |
2913 | + } |
2914 | + |
2915 | +#cat-1, #cat-3, #cat-5 {border-top:8px solid #333333;} |
2916 | +#cat-2, #cat-4 {border-top:8px solid #3c78a7;} |
2917 | + |
2918 | +.category span.cat_title, #front-popular h3, #front-list .cat_title, #archive .cat_title { |
2919 | + text-transform:lowercase; |
2920 | + margin:0; |
2921 | + font-weight:bold; |
2922 | + font-size:1.5em; |
2923 | + letter-spacing:-0.05em; |
2924 | + } |
2925 | + |
2926 | +#front-popular h3 { |
2927 | + color:#fff; |
2928 | + } |
2929 | + |
2930 | +.category a { |
2931 | + color:#333; |
2932 | + display:block; |
2933 | + background:none; |
2934 | + } |
2935 | + |
2936 | +.category a:hover { |
2937 | + background:none; |
2938 | + color:#fff; |
2939 | + text-decoration:none; |
2940 | + } |
2941 | + |
2942 | +#cat-1:hover, #cat-3:hover, #cat-5:hover {background:#333333; color:#fff; } |
2943 | +#cat-2:hover, #cat-4:hover {background:#3c78a7; color:#fff; } |
2944 | +#cat-1:hover a, #cat-3:hover a, #cat-5:hover a {background:#333333; color:#fff; } |
2945 | +#cat-2:hover a, #cat-4:hover a {background:#3c78a7; color:#fff; } |
2946 | + |
2947 | +#bottom { |
2948 | + width: 940px; |
2949 | + } |
2950 | + |
2951 | +#front-list { |
2952 | + width:590px; |
2953 | + background:#fff; |
2954 | + padding:10px; |
2955 | + font-size:1.05em; |
2956 | + line-height:1.75em; |
2957 | + float:left; |
2958 | + } |
2959 | + |
2960 | +#archive { |
2961 | + padding-top:15px; |
2962 | + font-size:1.05em; |
2963 | + line-height:1.75em; |
2964 | + } |
2965 | + |
2966 | +#front-list blockquote { |
2967 | + padding: 0px 10px 0 10px; |
2968 | + } |
2969 | + |
2970 | +#front-list .title, #archive .title { |
2971 | + font-weight:bold; |
2972 | + font:2.0em Georgia; |
2973 | + letter-spacing:-0.05em; |
2974 | + } |
2975 | + |
2976 | +#front-list .clearfloat, #archive .clearfloat { |
2977 | + padding-bottom:10px; |
2978 | + border-bottom:1px dotted #ccc; |
2979 | + margin-bottom:10px; |
2980 | + } |
2981 | + |
2982 | +#front-list .spoiler, #archive .spoiler { |
2983 | + display:block; |
2984 | + margin-top:3px; |
2985 | + } |
2986 | + |
2987 | +#front-list p, #archive p { |
2988 | + margin:0px; |
2989 | + padding:0px; |
2990 | + } |
2991 | + |
2992 | +.author { |
2993 | + font-size:0.8em; |
2994 | + font-weight:bold; |
2995 | + } |
2996 | + |
2997 | +.meta { |
2998 | + font-size:0.8em; |
2999 | + color:#333; |
3000 | + } |
3001 | + |
3002 | +.meta a { |
3003 | + color:#333; |
3004 | + } |
3005 | + |
3006 | +#headline p, #featured p { |
3007 | + margin:0; |
3008 | + } |
3009 | + |
3010 | + |
3011 | +/* Content Page*/ |
3012 | + |
3013 | +#content { |
3014 | + width:590px; |
3015 | + background:#fff; |
3016 | + padding:10px; |
3017 | + font-size:1.05em; |
3018 | + line-height:1.75em; |
3019 | + float:left; |
3020 | + min-height:400px; |
3021 | + } |
3022 | + |
3023 | +#content .breadcrumbs, #content .breadcrumbs a { |
3024 | + font-weight:bold; |
3025 | + color:#333; |
3026 | + } |
3027 | + |
3028 | +#content h2.title { |
3029 | + font:2.2em Georgia; |
3030 | + font-weight:bold; |
3031 | + letter-spacing:-0.05em; |
3032 | + border-bottom:1px solid #ddd; |
3033 | + border-top:3px solid #ddd; |
3034 | + padding:5px 0px; |
3035 | + } |
3036 | + |
3037 | +.post { |
3038 | + font-size:1.05em; |
3039 | + line-height:1.75em; |
3040 | + } |
3041 | + |
3042 | +.post p { |
3043 | + margin-top:0px; |
3044 | + } |
3045 | + |
3046 | +.post .clearfloat { |
3047 | + border-bottom:1px dotted #ccc; |
3048 | + margin:10px 0px; |
3049 | + } |
3050 | + |
3051 | +.post ul, .post ol, #front-list ul, #front-list ol { |
3052 | + margin-bottom:15px; |
3053 | + } |
3054 | + |
3055 | +.post ul li, #front-list ul li { |
3056 | + list-style:square; |
3057 | + margin-left:30px; |
3058 | + } |
3059 | + |
3060 | +.post ol li, #front-list ol li { |
3061 | + list-style:decimal; |
3062 | + margin-left:30px; |
3063 | + } |
3064 | + |
3065 | +.post ol li ul li, #front-list ol li ul li { |
3066 | + list-style:square; |
3067 | + margin-left:20px; |
3068 | + } |
3069 | + |
3070 | +.post img, .post a img, #front-list img, #archive img { |
3071 | + border:1px solid #ccc; |
3072 | + margin:0 10px 5px 0; |
3073 | + padding:2px; |
3074 | + } |
3075 | + |
3076 | +.post .ads { |
3077 | + margin-top:10px; |
3078 | + } |
3079 | + |
3080 | +.entry { |
3081 | + margin-top:20px; |
3082 | + } |
3083 | + |
3084 | +#stats { |
3085 | + margin-top:0px; |
3086 | + padding:4px 0px; |
3087 | + text-transform:uppercase; |
3088 | + font:0.8em Arial; |
3089 | + display:block; |
3090 | + } |
3091 | + |
3092 | +#stats span { |
3093 | + padding: 0px 20px 0px 0px; |
3094 | + } |
3095 | + |
3096 | +#stats span a:hover { |
3097 | + background:none; |
3098 | + } |
3099 | + |
3100 | +#stats span a { |
3101 | + color:#333; |
3102 | + } |
3103 | + |
3104 | +#stats img, #nav img { |
3105 | + border:0px; |
3106 | + margin:0px; |
3107 | + padding:0px; |
3108 | + } |
3109 | + |
3110 | +#tools { |
3111 | + width:590px; |
3112 | + height:25px; |
3113 | + font-size:0.95em; |
3114 | + } |
3115 | + |
3116 | +#tools a:hover { |
3117 | + background:none; |
3118 | + } |
3119 | + |
3120 | +.navigation { |
3121 | + padding:5px 0px; |
3122 | + text-align:Center; |
3123 | + } |
3124 | + |
3125 | +/* Sidebar*/ |
3126 | +#sidebar { |
3127 | + width:320px; |
3128 | + float:right; |
3129 | + margin:0px 0px 0px 0px; |
3130 | + } |
3131 | + |
3132 | +#sidebar h3 { |
3133 | + font:1.1em Arial; |
3134 | + font-weight:bold; |
3135 | + background:#333; |
3136 | + color:#fff; |
3137 | + margin:10px 0px 5px 0px; |
3138 | + padding:3px 10px; |
3139 | + } |
3140 | + |
3141 | +#sidebar-top, #sidebar-bottom { |
3142 | + width:300px; |
3143 | + float:right; |
3144 | + padding:0px 10px 10px 10px; |
3145 | + background:#fff; |
3146 | + } |
3147 | + |
3148 | +#sidebar-bottom, #sidebar-middle { |
3149 | + margin-top:10px; |
3150 | + } |
3151 | + |
3152 | +#sidebar-middle { |
3153 | + width:320px; |
3154 | + float:right; |
3155 | + } |
3156 | + |
3157 | +#sidebar-left { |
3158 | + width:135px; |
3159 | + padding:0px 10px 10px 10px; |
3160 | + float:left; |
3161 | + background:#fff; |
3162 | + } |
3163 | + |
3164 | +#sidebar-right { |
3165 | + width:135px; |
3166 | + padding:0px 10px 10px 10px; |
3167 | + float:right; |
3168 | + background:#fff; |
3169 | + } |
3170 | + |
3171 | + |
3172 | +#sidebar li { |
3173 | + list-style:none; |
3174 | + border-bottom:1px dotted #ccc; |
3175 | + display:block; |
3176 | + padding:2px 0px 2px 13px; |
3177 | + background:url(images/sub.png) no-repeat 0 0px; |
3178 | + } |
3179 | + |
3180 | +#sidebar li ul li:last-child{ |
3181 | + list-style:none; |
3182 | + border-bottom:0px dotted #ccc; |
3183 | + display:block; |
3184 | + padding:2px 0px 0px 13px; |
3185 | + background:url(images/sub.png) no-repeat 0 0px; |
3186 | + } |
3187 | + |
3188 | +#sidebar-ads { |
3189 | + width:300px; |
3190 | + float:right; |
3191 | + margin-bottom:10px; |
3192 | + padding:10px; |
3193 | + background:#fff; |
3194 | + } |
3195 | + |
3196 | + |
3197 | +/* Form Elements */ |
3198 | + |
3199 | +select { |
3200 | + border:1px solid #333; |
3201 | + width:100% |
3202 | + } |
3203 | + |
3204 | +.field { |
3205 | + padding: 2px; |
3206 | + border:1px solid #333; |
3207 | + background:#fff; |
3208 | + font-size:1.0em; |
3209 | + } |
3210 | + |
3211 | +#s { |
3212 | + padding:1px; |
3213 | + font-size:1.0em; |
3214 | + width:150px; |
3215 | + } |
3216 | + |
3217 | +#searchsubmit { |
3218 | + padding-left:5px; |
3219 | + } |
3220 | + |
3221 | +#commentform input { |
3222 | + width: 140px; |
3223 | + margin: 5px 5px 1px 0; |
3224 | + } |
3225 | + |
3226 | +#commentform textarea { |
3227 | + width: 99%; |
3228 | + margin-top:5px; |
3229 | + } |
3230 | + |
3231 | + |
3232 | + |
3233 | +/* Comments*/ |
3234 | + |
3235 | +.commentlist cite { |
3236 | + font-style:normal; |
3237 | + margin-bottom:4px; |
3238 | + display:block; |
3239 | + } |
3240 | + |
3241 | +.commentlist blockquote { |
3242 | + background:#ededed; |
3243 | + } |
3244 | + |
3245 | +.commentlist li { |
3246 | + padding: 10px 0px 10px 0px; |
3247 | + list-style:none; |
3248 | + margin-bottom:3px; |
3249 | + } |
3250 | + |
3251 | +.commentlist li li { |
3252 | + background:none; |
3253 | + border:none; |
3254 | + list-style:square; |
3255 | + margin:3px 0 3px 20px; |
3256 | + padding:3px 0; |
3257 | + } |
3258 | + |
3259 | +.commenttext { |
3260 | + padding: 10px 10px 0px 10px; |
3261 | + background:#f2f2f2; |
3262 | + border-top:1px solid #ddd; |
3263 | + border-bottom: 1px solid #ddd; |
3264 | + width:495px; |
3265 | + float:right |
3266 | + } |
3267 | + |
3268 | +.commentlist cite strong { |
3269 | + font-size:1.1em; |
3270 | + } |
3271 | + |
3272 | +li.my_comment { |
3273 | + background: #FFF; |
3274 | + border:none; |
3275 | + } |
3276 | + |
3277 | +li.my_comment cite strong { |
3278 | + font-size: 1.3em; |
3279 | + color:#313228; |
3280 | + } |
3281 | + |
3282 | +#commentform small { |
3283 | + background:#FFF; |
3284 | + font-weight:bold; |
3285 | + padding:0; |
3286 | + } |
3287 | + |
3288 | +.commentmetadata { |
3289 | + color:#4d4d4d; |
3290 | + display: block; |
3291 | + margin-top:3px; |
3292 | + text-align:right; |
3293 | + font-size:0.9em; |
3294 | + } |
3295 | + |
3296 | +.commentmetadata a, .commentmetadata a:visited { |
3297 | + color:#959382; |
3298 | + } |
3299 | + |
3300 | +.commentlist small { |
3301 | + background:#e9e9e9; |
3302 | + } |
3303 | + |
3304 | +.avatar { |
3305 | + border:1px solid #bbb; |
3306 | + margin:0px 10px 0px 0px; |
3307 | + float:left; |
3308 | + padding:2px; |
3309 | + width:55px; |
3310 | + height:55px; |
3311 | + } |
3312 | + |
3313 | +#comment { |
3314 | + width:590px; |
3315 | + background:#fff; |
3316 | + } |
3317 | + |
3318 | +/* Footer*/ |
3319 | + |
3320 | +#front-popular { |
3321 | + font-size:0.7em; |
3322 | + color:#fff; |
3323 | + width: 940px; |
3324 | + background:#2c2c2c url(images/bottombar.png) bottom no-repeat; |
3325 | + margin: 0 auto; |
3326 | + padding:10px; |
3327 | + } |
3328 | + |
3329 | +#recentpost, #mostcommented { |
3330 | + width:280px; |
3331 | + float:left; |
3332 | + padding:10px; |
3333 | + border:1px solid #fff; |
3334 | + } |
3335 | + |
3336 | +#mostcommented { |
3337 | + margin-left:17px; |
3338 | + } |
3339 | + |
3340 | +#recent_comments { |
3341 | + width:280px; |
3342 | + float:right; |
3343 | + padding:10px; |
3344 | + border:1px solid #fff; |
3345 | + } |
3346 | + |
3347 | +#recentpost a, #mostcommented a, #recent_comments a { |
3348 | + color:#fff; |
3349 | + } |
3350 | + |
3351 | +#recentpost ul, #mostcommented ul, #recent_comments ul { |
3352 | + margin-top:5px; |
3353 | + } |
3354 | + |
3355 | +#recentpost ul li, #mostcommented ul li, #recent_comments ul li { |
3356 | + list-style:none; |
3357 | + border-top:1px dotted #fff; |
3358 | + padding:5px; |
3359 | + display:block; |
3360 | + } |
3361 | + |
3362 | +#recentpost ul li:hover, #mostcommented ul li:hover, #recent_comments ul li:hover { |
3363 | + background:#3c78a7; |
3364 | + color:#fff; |
3365 | + } |
3366 | + |
3367 | +#recentpost ul li:first-child, #mostcommented ul li:first-child, #recent_comments ul li:first-child { |
3368 | + border-top:0px dotted #fff; |
3369 | + } |
3370 | + |
3371 | + |
3372 | +#footer { |
3373 | + margin: 0 auto; |
3374 | + width: 960px; |
3375 | + font-size:0.6em; |
3376 | + padding-top:10px; |
3377 | + padding-bottom:10px; |
3378 | + } |
3379 | + |
3380 | + |
3381 | +/* Float Properties*/ |
3382 | + |
3383 | +.clearfloat:after { |
3384 | + content:"."; |
3385 | + display:block; |
3386 | + height:0; |
3387 | + clear:both; |
3388 | + visibility:hidden; |
3389 | + } |
3390 | + |
3391 | +.clearfloat { |
3392 | + display: inline-block; |
3393 | + } |
3394 | + |
3395 | + |
3396 | +/* Hides from IE-mac \*/ |
3397 | +* html .clearfloat { |
3398 | + height:1%; |
3399 | + } |
3400 | + |
3401 | +*+html .clearfloat { |
3402 | + height:1%; |
3403 | + } |
3404 | + |
3405 | +.clearfloat { |
3406 | + display:block; |
3407 | + } |
3408 | \ No newline at end of file |
3409 | |
3410 | === added directory 'wp-content/themes/ubuntu-party_light' |
3411 | === added file 'wp-content/themes/ubuntu-party_light/.tag-conferences.php' |
3412 | --- wp-content/themes/ubuntu-party_light/.tag-conferences.php 1970-01-01 00:00:00 +0000 |
3413 | +++ wp-content/themes/ubuntu-party_light/.tag-conferences.php 2011-02-03 09:51:14 +0000 |
3414 | @@ -0,0 +1,63 @@ |
3415 | +<?php get_header(); ?> |
3416 | + <div id="content"> |
3417 | + |
3418 | + <?php if (have_posts()) : ?> |
3419 | + |
3420 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Accueil</a> » Archive</span> |
3421 | + |
3422 | + <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> |
3423 | +<img src="/wp-content/themes/arthemia_ubuntu-fr/picto_tags/photo_<?php echo sanitize_title(single_tag_title('', FALSE));?>.jpg" style="float:right;width:200px" alt=""/> |
3424 | +<h2 class="title"><?php single_tag_title(); ?></h2> |
3425 | + |
3426 | + <div id="archive"> |
3427 | + |
3428 | + <?php while (have_posts()) : the_post(); ?> |
3429 | + |
3430 | + <div class="clearfloat"> |
3431 | + |
3432 | + <h3 class=cat_title><?php the_category(', '); ?> »</h3> |
3433 | + <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> |
3434 | + |
3435 | + <div class="spoiler"> |
3436 | + <?php $values = get_post_custom_values("Image"); |
3437 | + if (isset($values[0])) { ?> |
3438 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
3439 | + <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
3440 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100" |
3441 | +alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a> |
3442 | + <?php } ?> |
3443 | + <?php get_metas($post->ID)?> |
3444 | + <?php get_pictotags($post->ID);?> |
3445 | + |
3446 | + <?php the_excerpt(); ?> |
3447 | + </div> |
3448 | + |
3449 | + </div> |
3450 | + |
3451 | + <?php endwhile; ?> |
3452 | + |
3453 | + <div class="navigation"> |
3454 | + |
3455 | + <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } |
3456 | + else { ?> |
3457 | + |
3458 | + <div class="right"><?php next_posts_link('Next Page »') ?></div> |
3459 | + <div class="left"><?php previous_posts_link('« Previous Page') ?></div> |
3460 | + <?php } ?> |
3461 | + |
3462 | + |
3463 | + </div> |
3464 | + |
3465 | + <?php else : ?> |
3466 | + |
3467 | + <h2 class="title">No posts found. Try a different search?</h2> |
3468 | + |
3469 | + <?php endif; ?> |
3470 | + |
3471 | + </div> |
3472 | + |
3473 | + </div> |
3474 | + |
3475 | + |
3476 | +<?php get_sidebar(); ?> |
3477 | +<?php get_footer(); ?> |
3478 | |
3479 | === added file 'wp-content/themes/ubuntu-party_light/404.php' |
3480 | --- wp-content/themes/ubuntu-party_light/404.php 1970-01-01 00:00:00 +0000 |
3481 | +++ wp-content/themes/ubuntu-party_light/404.php 2011-02-03 09:51:14 +0000 |
3482 | @@ -0,0 +1,21 @@ |
3483 | +<?php get_header(); ?> |
3484 | + |
3485 | + <div id="content"> |
3486 | + |
3487 | + <div class="post"> |
3488 | + |
3489 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Accueil</a> » 404 Not Found</span> |
3490 | + |
3491 | + <h2 class="title">Error 404 - Not Found</h2> |
3492 | + |
3493 | + <div class="entry clearfloat"> |
3494 | + <p>Ooops, I cannot find you the page you are looking for. You may try to search my site another keyword or use the navigation on your right to browse my site.</p> |
3495 | + |
3496 | + </div> |
3497 | + |
3498 | + </div> |
3499 | + |
3500 | + </div> |
3501 | + |
3502 | +<?php get_sidebar(); ?> |
3503 | +<?php get_footer(); ?> |
3504 | |
3505 | === added file 'wp-content/themes/ubuntu-party_light/archive.php' |
3506 | --- wp-content/themes/ubuntu-party_light/archive.php 1970-01-01 00:00:00 +0000 |
3507 | +++ wp-content/themes/ubuntu-party_light/archive.php 2011-02-03 09:51:14 +0000 |
3508 | @@ -0,0 +1,75 @@ |
3509 | +<?php get_header(); ?> |
3510 | + |
3511 | + <div id="content"> |
3512 | + |
3513 | + <?php if (have_posts()) : ?> |
3514 | + |
3515 | + <span class="breadcrumbs"><a href="<?php echo get_option('home'); ?>/">Home</a> » Archive</span> |
3516 | + |
3517 | + <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> |
3518 | + |
3519 | + <?php /* If this is a category archive */ if (is_category()) { ?><h2 class="title">Articles in the <?php single_cat_title(); ?> Category</h2> |
3520 | + |
3521 | + <?php /* If this is a tagged archive */ } elseif (is_tag()) { ?> <h2 class="title">Articles tagged with: <?php single_tag_title(); ?></h2> |
3522 | + |
3523 | + <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h2 class="title">Articles Archive for <?php the_time('j F Y'); ?></h2> |
3524 | + |
3525 | + <?php /* If this is a monthly archive */ } elseif (is_month()) { ?><h2 class="title">Articles Archive for <?php the_time('F Y'); ?></h2> |
3526 | + |
3527 | + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> |
3528 | + <h2 class="title">Articles Archive for Year <?php the_time('Y'); ?></h2> |
3529 | + |
3530 | + <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> |
3531 | + <h2 class="title">The Archives</h2> |
3532 | + <?php } ?> |
3533 | + |
3534 | + <div id="archive"> |
3535 | + |
3536 | + <?php while (have_posts()) : the_post(); ?> |
3537 | + |
3538 | + <div class="clearfloat"> |
3539 | + <h3 class=cat_title><?php the_category(', '); ?> »</h3> |
3540 | + <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> |
3541 | + <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> |
3542 | + |
3543 | + <div class="spoiler"> |
3544 | + <?php $values = get_post_custom_values("Image"); |
3545 | + if (isset($values[0])) { ?> |
3546 | + <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> |
3547 | + <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php |
3548 | +$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=150&h=150&zc=1&q=100" |
3549 | +alt="<?php the_title(); ?>" class="left" width="150px" height="150px" /></a> |
3550 | + <?php } ?> |
3551 | + |
3552 | + <?php the_excerpt(); ?> |
3553 | + </div> |
3554 | + |
3555 | + </div> |
3556 | + |
3557 | + <?php endwhile; ?> |
3558 | + |
3559 | + <div class="navigation"> |
3560 | + |
3561 | + <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } |
3562 | + else { ?> |
3563 | + |
3564 | + <div class="right"><?php next_posts_link('Next Page »') ?></div> |
3565 | + <div class="left"><?php previous_posts_link('« Previous Page') ?></div> |
3566 | + <?php } ?> |
3567 | + |
3568 | + |
3569 | + </div> |
3570 | + |
3571 | + <?php else : ?> |
3572 | + |
3573 | + <h2 class="title">No posts found. Try a different search?</h2> |
3574 | + |
3575 | + <?php endif; ?> |
3576 | + |
3577 | + </div> |
3578 | + |
3579 | + </div> |
3580 | + |
3581 | + |
3582 | +<?php get_sidebar(); ?> |
3583 | +<?php get_footer(); ?> |
3584 | |
3585 | === added file 'wp-content/themes/ubuntu-party_light/comments.php' |
3586 | --- wp-content/themes/ubuntu-party_light/comments.php 1970-01-01 00:00:00 +0000 |
3587 | +++ wp-content/themes/ubuntu-party_light/comments.php 2011-02-03 09:51:14 +0000 |
3588 | @@ -0,0 +1,118 @@ |
3589 | +<?php // Do not delete these lines |
3590 | + if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) |
3591 | + die ('Merci de ne pas charger cette page de cette facon !'); |
3592 | + |
3593 | + if (!empty($post->post_password)) { // if there's a password |
3594 | + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie |
3595 | + ?> |
3596 | + |
3597 | + <p class="nocomments">Ce post est prot&eactue;gé, mot de passe requis.</p> |
3598 | + |
3599 | + <?php |
3600 | + return; |
3601 | + } |
3602 | + } |
3603 | + |
3604 | +?> |
3605 | + |
3606 | +<!-- You can start editing here. --> |
3607 | + |
3608 | + |
3609 | +<?php if ($comments) : ?> |
3610 | + <h3 id="comments"><?php comments_number('0 commentaire', '1 commentaire', '% commentaires' );?> <a href="#respond" title="Laisser un commentaire">»</a></h3> |
3611 | +<ul class="commentlist"> |
3612 | + |
3613 | + <?php foreach ($comments as $comment) : ?> |
3614 | + |
3615 | +<?php |
3616 | +$isByAuthor = false; |
3617 | +if($comment->comment_author_email == get_the_author_email()) { |
3618 | +$isByAuthor = true; |
3619 | +}?> |
3620 | + <div class="commentlist"> |
3621 | + |
3622 | + <li id="comment-<?php comment_ID() ?>" <?php if($isByAuthor ) { echo 'class="my_comment"';} ?>> |
3623 | + |
3624 | + <div class="clearfloat"> |
3625 | + |
3626 | + <?php echo get_avatar( $comment, $size = '55' ); ?> |
3627 | + |
3628 | + |
3629 | + <div class="commenttext"> |
3630 | + <cite><strong><?php comment_author_link() ?> <?php if($isByAuthor ) { echo '(author)';} ?> </strong> said: </cite> |
3631 | + |
3632 | + <?php if ($comment->comment_approved == '0') : ?> |
3633 | + <em>Votre commentaire est en attente de validation.</em> |
3634 | + <?php endif; ?> |
3635 | + <?php comment_text() ?> |
3636 | + </div> |
3637 | + |
3638 | + |
3639 | + </div> |
3640 | + |
3641 | + <div class="commentmetadata"># <?php comment_date('j F Y') ?> at <?php comment_time() ?> </div> |
3642 | + </li> |
3643 | + |
3644 | + |
3645 | + <?php endforeach; /* end for each comment */ ?> |
3646 | +</ul> |
3647 | + |
3648 | + |
3649 | + <?php else : // this is displayed if there are no comments so far ?> |
3650 | + |
3651 | + <?php if ('open' == $post->comment_status) : ?> |
3652 | + <!-- If comments are open, but there are no comments. --> |
3653 | + |
3654 | + <?php else : // comments are closed ?> |
3655 | + <!-- If comments are closed. --> |
3656 | + <p class="nocomments">Les commentaires sont fermés.</p> |
3657 | + |
3658 | + <?php endif; ?> |
3659 | +<?php endif; ?> |
3660 | + |
3661 | + |
3662 | +<?php if ('open' == $post->comment_status) : ?> |
3663 | + |
3664 | + |
3665 | +<h3 id="respond">Réagisssez, commentez !</h3> |
3666 | + |
3667 | +<?php if ( get_option('comment_registration') && !$user_ID ) : ?> |
3668 | +<p>Vous devez vous <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">identifier</a> pour commenter.</p> |
3669 | +<?php else : ?> |
3670 | + |
3671 | +<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> |
3672 | + |
3673 | +<?php if ( $user_ID ) : ?> |
3674 | + |
3675 | +<p>Idenfifié : <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Deconnexion »</a></p> |
3676 | + |
3677 | +<?php else : ?> |
3678 | + |
3679 | +<p>Ajoutez votre commentaire ci-dessous, ou <a href="<?php trackback_url(true); ?>" rel="trackback">faites tourner</a> sur votre site. Vous pouvez aussi <?php comments_rss_link('suivre ces commentaires'); ?> via le flux RSS.</p> |
3680 | + |
3681 | +<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" class="field" /> |
3682 | +<label for="author"><small>Nom <?php if ($req) echo "(required)"; ?></small></label></p> |
3683 | + |
3684 | +<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" class="field" /> |
3685 | +<label for="email"><small>E-Mail (non publi´) <?php if ($req) echo "(requis)"; ?></small></label></p> |
3686 | + |
3687 | +<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" class="field" /> |
3688 | +<label for="url"><small>Site web (optionel)</small></label></p> |
3689 | + |
3690 | +<?php endif; ?> |
3691 | + |
3692 | +<p><textarea name="comment" id="comment" cols="100%" rows="15" tabindex="4"></textarea></p> |
3693 | +<p>Marquage permis :<br/><code><?php echo allowed_tags(); ?></code></p> |
3694 | + |
3695 | +<p><input name="submit" class="searchbutton" type="submit" id="submit" tabindex="5" value="Envoyer" /> |
3696 | +<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> |
3697 | +</p> |
3698 | +<?php do_action('comment_form', $post->ID); ?> |
3699 | + |
3700 | +</form> |
3701 | + |
3702 | +<?php endif; // If registration required and not logged in ?> |
3703 | + |
3704 | +<?php endif; ?> |
3705 | + |
3706 | + |
3707 | |
3708 | === added file 'wp-content/themes/ubuntu-party_light/footer.php' |
3709 | --- wp-content/themes/ubuntu-party_light/footer.php 1970-01-01 00:00:00 +0000 |
3710 | +++ wp-content/themes/ubuntu-party_light/footer.php 2011-02-03 09:51:14 +0000 |
3711 | @@ -0,0 +1,16 @@ |
3712 | +</div> |
3713 | +<?php |
3714 | + /* A sidebar in the footer? Yep. You can can customize |
3715 | + * your footer with four columns of widgets. |
3716 | + */ |
3717 | + get_sidebar( 'footer' ); |
3718 | +?> |
3719 | + |
3720 | +<div id="footer"> <?php wp_footer(); ?> Propulsé par <a href="http://wordpress.org/">WordPress</a> | <?php if ( is_user_logged_in() ) { ?> <?php wp_register('', ''); ?> | <?php } ?> <?php wp_loginout(); ?> | <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> | <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a> | Inspiré du thème <a href="http://michaelhutagalung.com/2008/05/arthemia-magazine-blog-wordpress-theme-released/" target="_blank">Arthemia</a> de <a href="http://michaelhutagalung.com" target="_blank">Michael Hutagalung</a> |
3721 | + |
3722 | +<!-- <?php echo $moostik_page; ?> <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> |
3723 | + |
3724 | +</div> |
3725 | + |
3726 | +</body> |
3727 | +</html> |
3728 | |
3729 | === added file 'wp-content/themes/ubuntu-party_light/functions.php' |
3730 | --- wp-content/themes/ubuntu-party_light/functions.php 1970-01-01 00:00:00 +0000 |
3731 | +++ wp-content/themes/ubuntu-party_light/functions.php 2011-02-03 09:51:14 +0000 |
3732 | @@ -0,0 +1,88 @@ |
3733 | +<?php if ( function_exists('register_sidebar') ) |
3734 | +{ |
3735 | +register_sidebar(array('name' => 'Sidebar Top','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
3736 | +register_sidebar(array('name' => 'Sidebar Left','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
3737 | +register_sidebar(array('name' => 'Sidebar Right','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
3738 | +register_sidebar(array('name' => 'Sidebar Bottom','before_widget' => '','after_widget' => '','before_title' => '<h3>','after_title' => '</h3>')); |
3739 | + register_sidebar( array( |
3740 | + 'name' => 'Footer zone 1', |
3741 | + 'id' => 'footer1', |
3742 | + 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', |
3743 | + 'after_widget' => '</li>', |
3744 | + 'before_title' => '<h3 class="widget-title">', |
3745 | + 'after_title' => '</h3>', |
3746 | + ) ); |
3747 | + |
3748 | + // Area 4, located in the footer. Empty by default. |
3749 | + register_sidebar( array( |
3750 | + 'name' => 'Footer zone 2', |
3751 | + 'id' => 'footer2', |
3752 | + 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', |
3753 | + 'after_widget' => '</li>', |
3754 | + 'before_title' => '<h3 class="widget-title">', |
3755 | + 'after_title' => '</h3>', |
3756 | + ) ); |
3757 | + |
3758 | + // Area 5, located in the footer. Empty by default. |
3759 | + register_sidebar( array( |
3760 | + 'name' => 'Footer zone 3', |
3761 | + 'id' => 'footer3', |
3762 | + 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', |
3763 | + 'after_widget' => '</li>', |
3764 | + 'before_title' => '<h3 class="widget-title">', |
3765 | + 'after_title' => '</h3>', |
3766 | + ) ); |
3767 | + |
3768 | + // Area 6, located in the footer. Empty by default. |
3769 | + register_sidebar( array( |
3770 | + 'name' => 'Footer zone 4', |
3771 | + 'id' => 'footer4', |
3772 | + 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', |
3773 | + 'after_widget' => '</li>', |
3774 | + 'before_title' => '<h3 class="widget-title">', |
3775 | + 'after_title' => '</h3>', |
3776 | + ) ); |
3777 | + |
3778 | + // Area 6, located in the footer. Empty by default. |
3779 | + register_sidebar( array( |
3780 | + 'name' => 'Footer zone 5', |
3781 | + 'id' => 'footer5', |
3782 | + 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', |
3783 | + 'after_widget' => '</li>', |
3784 | + 'before_title' => '<h3 class="widget-title">', |
3785 | + 'after_title' => '</h3>', |
3786 | + ) ); |
3787 | +} |
3788 | + |
3789 | + if ( function_exists( 'add_theme_support' ) ) |
3790 | + add_theme_support('post-thumbnails'); |
3791 | + |
3792 | +remove_filter('get_the_excerpt', 'wp_trim_excerpt'); |
3793 | +add_filter('get_the_excerpt', 'custom_trim_excerpt'); |
3794 | + |
3795 | +remove_filter('get_the_excerpt', 'wp_trim_excerpt'); |
3796 | +add_filter('get_the_excerpt', 'custom_trim_excerpt'); |
3797 | + |
3798 | +function custom_trim_excerpt($text) { // Fakes an excerpt if needed |
3799 | +global $post; |
3800 | + if ( '' == $text ) { |
3801 | + $text = get_the_content(''); |
3802 | + |
3803 | + $text = strip_shortcodes( $text ); |
3804 | + |
3805 | + $text = apply_filters('the_content', $text); |
3806 | + $text = str_replace(']]>', ']]>', $text); |
3807 | + $text = strip_tags($text); |
3808 | + $excerpt_length = apply_filters('excerpt_length', 90); |
3809 | + $words = explode(' ', $text, $excerpt_length + 1); |
3810 | + if (count($words) > $excerpt_length) { |
3811 | + array_pop($words); |
3812 | + array_push($words, '...'); |
3813 | + $text = implode(' ', $words); |
3814 | + } |
3815 | + } |
3816 | + return $text; |
3817 | +} |
3818 | + |
3819 | + |
3820 | +?> |
3821 | |
3822 | === added file 'wp-content/themes/ubuntu-party_light/header.php' |
3823 | --- wp-content/themes/ubuntu-party_light/header.php 1970-01-01 00:00:00 +0000 |
3824 | +++ wp-content/themes/ubuntu-party_light/header.php 2011-02-03 09:51:14 +0000 |
3825 | @@ -0,0 +1,76 @@ |
3826 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3827 | +<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
3828 | + |
3829 | +<head profile="http://gmpg.org/xfn/11"> |
3830 | + <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
3831 | + |
3832 | + <title><?php bloginfo('name'); wp_title(); ?></title> |
3833 | + <script type="text/javascript" |
3834 | + src="http://m3.moostik.net/js/?pseudo=ubuntuparty&cpt=<?php echo sanitize_title(wp_title('', false)); ?>&option=invisible"> |
3835 | + </script> |
3836 | + <noscript><img src="http://m3.moostik.net/img/?pseudo=ubuntuparty&cpt=<?php echo sanitize_title(wp_title('', false)); ?>&option=invisible" |
3837 | + border="0" alt="[]" /></noscript> |
3838 | + |
3839 | + <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> |
3840 | + |
3841 | + <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
3842 | + <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> |
3843 | + <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> |
3844 | + <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> |
3845 | + |
3846 | + <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> |
3847 | + |
3848 | + |
3849 | + <link rel="icon" href="<?=bloginfo('template_url') ?>/images/favicon.ico" /> |
3850 | + <link rel="shortcut icon" href="<?=bloginfo('template_url') ?>/images/favicon.ico" /> |
3851 | + |
3852 | + <?php wp_head(); ?> |
3853 | + |
3854 | +</head> |
3855 | +<body> |
3856 | + |
3857 | + <!-- Header --> |
3858 | + <div id="head" class="clearfloat"> |
3859 | + <div id="gullbar" class="clearfloat"> |
3860 | + <ul> |
3861 | + <li><a href="http://www.ubuntu-fr.org/">ubuntu-fr</a></li> |
3862 | + <li><a href="http://www.ubuntu-dijon.org/">Dijon</a></li> |
3863 | + <li><a href="http://www.ubuntu-lyon.org/">Lyon</a></li> |
3864 | + <li><a href="http://www.ubuntu-paris.org/">Paris</a></li> |
3865 | + <li><a href="http://www.ubuntu-sarrebourg.com/">Sarrebourg</a></li> |
3866 | + </ul> |
3867 | + <!-- include searchform --> |
3868 | + <?php include (TEMPLATEPATH . '/searchform.php'); ?> |
3869 | + </div> |
3870 | + |
3871 | + <div class="clearfloat"> |
3872 | + <div id="logo" class="left" style="padding-top:15px;"> |
3873 | + <a href="<?php echo get_option('home'); ?>/"><img src="<?=bloginfo('template_url') ?>/images/ubuntu-party_logo.png" alt="" /></a> |
3874 | + <div id="tagline"><?php bloginfo('description'); ?></div> |
3875 | + </div> |
3876 | + <div id="followbar" class="right clearfloat"> |
3877 | + <ul> |
3878 | + <li><a href="<?php echo get_option('home'); ?>/wp-rss2.php"><img src="<?=bloginfo('template_url') ?>/images/icons/up_rss.png" style="border: none;" alt="<?php echo get_option('home'); ?>/wp-rss2.php" title="Suivez nous sur RSS"/></a></li> |
3879 | + <li><a href="http://www.wikio.fr/subscribe?url=http%3A%2F%2Fubuntu-party.org%2Ffeed"><img src="<?=bloginfo('template_url') ?>/images/icons/up_wikio.png" style="border: none;" alt="http://www.wikio.fr" title="Suivez nous sur wikio"/></a></li> |
3880 | + <li><a href="http://www.flickr.com/groups/ubuntu-party/"><img src="<?=bloginfo('template_url') ?>/images/icons/up_flickr.png" alt="http://www.flickr.com/groups/ubuntu-party/" title="Suivez nous sur flickr" width="64" height="64" /></a></li> |
3881 | + <li><a href="http://www.facebook.com/group.php?v=wall&ref=search&gid=35789743178"><img src="<?=bloginfo('template_url') ?>/images/icons/up_facebook.png" alt="http://www.facebook.com/pages/Ubuntu/6723083591" title="Suivez nous sur facebook" width="64" height="64" /></a></li> |
3882 | + <li><a href="http://identi.ca/ubuntuparty"><img src="<?=bloginfo('template_url') ?>/images/icons/up_identica.png" alt="http://identi.ca/ubuntuparty" title="Suivez nous sur identi.ca" width="64" height="64" /></a></li> |
3883 | + <li><a href="http://twitter.com/ubuntuparty"><img src="<?=bloginfo('template_url') ?>/images/icons/up_twitter.png" alt="http://twitter.com/ubuntuparty" title="Suivez nous sur twitter" width="64" height="64" /></a></li> |
3884 | + </ul> |
3885 | + </div> |
3886 | + </div> |
3887 | + |
3888 | + <!-- sub menu for article display --> |
3889 | + <?php if (is_single() or !empty($_GET['cattt'])){?> |
3890 | + <div id="navbar" class="clearfloat"> |
3891 | + <ul id="secondpage-bar" class="left clearfloat"> |
3892 | + <?php the_category()?> |
3893 | + </ul> |
3894 | + </div> |
3895 | + <?php }?> |
3896 | + <!-- end of sub menu --> |
3897 | + |
3898 | + </div> |
3899 | + |
3900 | + <!-- Content --> |
3901 | + <div id="page" class="clearfloat"> |
3902 | |
3903 | === added directory 'wp-content/themes/ubuntu-party_light/images' |
3904 | === added file 'wp-content/themes/ubuntu-party_light/images/back.10.04.png' |
3905 | Binary files wp-content/themes/ubuntu-party_light/images/back.10.04.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/back.10.04.png 2011-02-03 09:51:14 +0000 differ |
3906 | === added file 'wp-content/themes/ubuntu-party_light/images/back.9.10.png' |
3907 | Binary files wp-content/themes/ubuntu-party_light/images/back.9.10.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/back.9.10.png 2011-02-03 09:51:14 +0000 differ |
3908 | === added file 'wp-content/themes/ubuntu-party_light/images/back.png' |
3909 | Binary files wp-content/themes/ubuntu-party_light/images/back.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/back.png 2011-02-03 09:51:14 +0000 differ |
3910 | === added file 'wp-content/themes/ubuntu-party_light/images/backup_favicon.ico' |
3911 | Binary files wp-content/themes/ubuntu-party_light/images/backup_favicon.ico 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/backup_favicon.ico 2011-02-03 09:51:14 +0000 differ |
3912 | === added directory 'wp-content/themes/ubuntu-party_light/images/banners' |
3913 | === added file 'wp-content/themes/ubuntu-party_light/images/banners/banniereadm4.png' |
3914 | Binary files wp-content/themes/ubuntu-party_light/images/banners/banniereadm4.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/banners/banniereadm4.png 2011-02-03 09:51:14 +0000 differ |
3915 | === added file 'wp-content/themes/ubuntu-party_light/images/banners/sl2009.png' |
3916 | Binary files wp-content/themes/ubuntu-party_light/images/banners/sl2009.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/banners/sl2009.png 2011-02-03 09:51:14 +0000 differ |
3917 | === added file 'wp-content/themes/ubuntu-party_light/images/banners/square.jpg' |
3918 | Binary files wp-content/themes/ubuntu-party_light/images/banners/square.jpg 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/banners/square.jpg 2011-02-03 09:51:14 +0000 differ |
3919 | === added file 'wp-content/themes/ubuntu-party_light/images/banners/ubuntu-party_309x60.png' |
3920 | Binary files wp-content/themes/ubuntu-party_light/images/banners/ubuntu-party_309x60.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/banners/ubuntu-party_309x60.png 2011-02-03 09:51:14 +0000 differ |
3921 | === added file 'wp-content/themes/ubuntu-party_light/images/banners/wide.jpg' |
3922 | Binary files wp-content/themes/ubuntu-party_light/images/banners/wide.jpg 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/banners/wide.jpg 2011-02-03 09:51:14 +0000 differ |
3923 | === added file 'wp-content/themes/ubuntu-party_light/images/bottombar.png' |
3924 | Binary files wp-content/themes/ubuntu-party_light/images/bottombar.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/bottombar.png 2011-02-03 09:51:14 +0000 differ |
3925 | === added file 'wp-content/themes/ubuntu-party_light/images/category.png' |
3926 | Binary files wp-content/themes/ubuntu-party_light/images/category.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/category.png 2011-02-03 09:51:14 +0000 differ |
3927 | === added file 'wp-content/themes/ubuntu-party_light/images/divider.png' |
3928 | Binary files wp-content/themes/ubuntu-party_light/images/divider.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/divider.png 2011-02-03 09:51:14 +0000 differ |
3929 | === added file 'wp-content/themes/ubuntu-party_light/images/favicon.ico' |
3930 | Binary files wp-content/themes/ubuntu-party_light/images/favicon.ico 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/favicon.ico 2011-02-03 09:51:14 +0000 differ |
3931 | === added file 'wp-content/themes/ubuntu-party_light/images/featured.png' |
3932 | Binary files wp-content/themes/ubuntu-party_light/images/featured.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/featured.png 2011-02-03 09:51:14 +0000 differ |
3933 | === added file 'wp-content/themes/ubuntu-party_light/images/headline.png' |
3934 | Binary files wp-content/themes/ubuntu-party_light/images/headline.png 1970-01-01 00:00:00 +0000 and wp-content/themes/ubuntu-party_light/images/headline.png 2011-02-03 09:51:14 +0000 differ |
3935 | === added directory 'wp-content/themes/ubuntu-party_light/images/icons' |
3936 | === added file 'wp-content/themes/ubuntu-party_light/images/icons/applications-internet.svg' |
3937 | --- wp-content/themes/ubuntu-party_light/images/icons/applications-internet.svg 1970-01-01 00:00:00 +0000 |
3938 | +++ wp-content/themes/ubuntu-party_light/images/icons/applications-internet.svg 2011-02-03 09:51:14 +0000 |
3939 | @@ -0,0 +1,232 @@ |
3940 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
3941 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> |
3942 | + |
3943 | +<svg |
3944 | + xmlns:svg="http://www.w3.org/2000/svg" |
3945 | + xmlns="http://www.w3.org/2000/svg" |
3946 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
3947 | + version="1.0" |
3948 | + width="48" |
3949 | + height="48" |
3950 | + id="svg2"> |
3951 | + <defs |
3952 | + id="defs4"> |
3953 | + <linearGradient |
3954 | + id="linearGradient6326"> |
3955 | + <stop |
3956 | + id="stop6328" |
3957 | + style="stop-color:#debc8c;stop-opacity:1" |
3958 | + offset="0" /> |
3959 | + <stop |
3960 | + id="stop6330" |
3961 | + style="stop-color:#f4ac72;stop-opacity:1" |
3962 | + offset="1" /> |
3963 | + </linearGradient> |
3964 | + <linearGradient |
3965 | + id="linearGradient3156"> |
3966 | + <stop |
3967 | + id="stop3158" |
3968 | + style="stop-color:#ffffff;stop-opacity:1" |
3969 | + offset="0" /> |
3970 | + <stop |
3971 | + id="stop3160" |
3972 | + style="stop-color:#ffffff;stop-opacity:0" |
3973 | + offset="1" /> |
3974 | + </linearGradient> |
3975 | + <linearGradient |
3976 | + id="linearGradient6493"> |
3977 | + <stop |
3978 | + id="stop6495" |
3979 | + style="stop-color:#4580d4;stop-opacity:1" |
3980 | + offset="0" /> |
3981 | + <stop |
3982 | + id="stop6497" |
3983 | + style="stop-color:#114796;stop-opacity:1" |
3984 | + offset="1" /> |
3985 | + </linearGradient> |
3986 | + <linearGradient |
3987 | + id="linearGradient4103"> |
3988 | + <stop |
3989 | + id="stop4105" |
3990 | + style="stop-color:#70adfb;stop-opacity:1" |
3991 | + offset="0" /> |
3992 | + <stop |
3993 | + id="stop4107" |
3994 | + style="stop-color:#3465a4;stop-opacity:1" |
3995 | + offset="1" /> |
3996 | + </linearGradient> |
3997 | + <linearGradient |
3998 | + id="linearGradient8838"> |
3999 | + <stop |
4000 | + id="stop8840" |
4001 | + style="stop-color:#000000;stop-opacity:1" |
4002 | + offset="0" /> |
4003 | + <stop |
4004 | + id="stop8842" |
4005 | + style="stop-color:#000000;stop-opacity:0" |
4006 | + offset="1" /> |
4007 | + </linearGradient> |
4008 | + <radialGradient |
4009 | + cx="62.625" |
4010 | + cy="4.625" |
4011 | + r="10.625" |
4012 | + fx="62.625" |
4013 | + fy="4.625" |
4014 | + id="radialGradient5729" |
4015 | + xlink:href="#linearGradient8838" |
4016 | + gradientUnits="userSpaceOnUse" |
4017 | + gradientTransform="matrix(1,0,0,0.341176,0,3.047059)" /> |
4018 | + <linearGradient |
4019 | + x1="24.335312" |
4020 | + y1="61.852856" |
4021 | + x2="28.290144" |
4022 | + y2="20.663898" |
4023 | + id="linearGradient5745" |
4024 | + xlink:href="#linearGradient3156" |
4025 | + gradientUnits="userSpaceOnUse" /> |
4026 | + <linearGradient |
4027 | + x1="27.888655" |
4028 | + y1="-0.81503254" |
4029 | + x2="28.290144" |
4030 | + y2="20.663898" |
4031 | + id="linearGradient5747" |
4032 | + xlink:href="#linearGradient3156" |
4033 | + gradientUnits="userSpaceOnUse" /> |
4034 | + <linearGradient |
4035 | + x1="28.220636" |
4036 | + y1="-2.3103411" |
4037 | + x2="28.290144" |
4038 | + y2="20.663898" |
4039 | + id="linearGradient5749" |
4040 | + xlink:href="#linearGradient3156" |
4041 | + gradientUnits="userSpaceOnUse" /> |
4042 | + <linearGradient |
4043 | + x1="30.501778" |
4044 | + y1="55.647495" |
4045 | + x2="29.724815" |
4046 | + y2="24.653727" |
4047 | + id="linearGradient5751" |
4048 | + xlink:href="#linearGradient3156" |
4049 | + gradientUnits="userSpaceOnUse" /> |
4050 | + <radialGradient |
4051 | + cx="22.944935" |
4052 | + cy="11.222695" |
4053 | + r="14" |
4054 | + fx="22.944935" |
4055 | + fy="4.7612267" |
4056 | + id="radialGradient5537" |
4057 | + xlink:href="#linearGradient3156" |
4058 | + gradientUnits="userSpaceOnUse" |
4059 | + gradientTransform="matrix(1.3571044,0.01021839,-0.00631345,0.8384895,-10.874695,1.3057951)" /> |
4060 | + <radialGradient |
4061 | + cx="22.125" |
4062 | + cy="10.874998" |
4063 | + r="20" |
4064 | + fx="22.125" |
4065 | + fy="10.874998" |
4066 | + id="radialGradient5540" |
4067 | + xlink:href="#linearGradient3156" |
4068 | + gradientUnits="userSpaceOnUse" |
4069 | + gradientTransform="matrix(1.0099925,-0.1119962,0.05668752,0.5112133,-5.8375646,1.7934718)" /> |
4070 | + <radialGradient |
4071 | + cx="20.038782" |
4072 | + cy="12.610249" |
4073 | + r="22.463524" |
4074 | + fx="20.038782" |
4075 | + fy="12.610249" |
4076 | + id="radialGradient5551" |
4077 | + xlink:href="#linearGradient4103" |
4078 | + gradientUnits="userSpaceOnUse" |
4079 | + gradientTransform="matrix(1.9524671,-0.05018139,0.03650944,1.4214826,-20.408334,-5.9089096)" /> |
4080 | + <linearGradient |
4081 | + x1="29.01346" |
4082 | + y1="29" |
4083 | + x2="29.75" |
4084 | + y2="50" |
4085 | + id="linearGradient5553" |
4086 | + xlink:href="#linearGradient6493" |
4087 | + gradientUnits="userSpaceOnUse" |
4088 | + gradientTransform="translate(-5.0000016,-6)" /> |
4089 | + <radialGradient |
4090 | + cx="26" |
4091 | + cy="15.240479" |
4092 | + r="15.074549" |
4093 | + fx="26" |
4094 | + fy="15.240479" |
4095 | + id="radialGradient6332" |
4096 | + xlink:href="#linearGradient6326" |
4097 | + gradientUnits="userSpaceOnUse" |
4098 | + gradientTransform="matrix(2.2554569,0,-2.1857407e-8,2.0564463,-32.641879,-17.341228)" /> |
4099 | + </defs> |
4100 | + <g |
4101 | + id="layer1"> |
4102 | + <g |
4103 | + id="g6334"> |
4104 | + <path |
4105 | + d="m 73.25,4.625 c 0,2.0020323 -4.756974,3.6250001 -10.625,3.6250001 C 56.756974,8.2500001 52,6.6270323 52,4.625 52,2.6229677 56.756974,0.99999989 62.625,0.99999989 c 5.868026,0 10.625,1.62296781 10.625,3.62500011 l 0,0 z" |
4106 | + transform="matrix(1.9262213,0,0,2.1088276,-97.163508,29.602172)" |
4107 | + id="path8836" |
4108 | + style="opacity:0.4;fill:url(#radialGradient5729);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.49589729;marker:none;visibility:visible;display:inline;overflow:visible" /> |
4109 | + <path |
4110 | + d="m 44.500921,23 c 0,11.316512 -9.178384,20.500922 -20.487463,20.500922 -11.30908,0 -20.4874629,-9.18441 -20.4874629,-20.500922 0,-11.316509 9.1783829,-20.5009224 20.4874629,-20.5009224 11.309079,0 20.487463,9.1844134 20.487463,20.5009224 z" |
4111 | + id="path1307" |
4112 | + style="fill:url(#radialGradient5551);fill-opacity:1;stroke:url(#linearGradient5553);stroke-width:0.99815506;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> |
4113 | + <path |
4114 | + d="M 43.219099,19.337303 43.03226,20.057842 C 42.479353,19.598341 41.858575,19.21192 41.228194,18.808339 l -1.383757,0.143595 -1.264237,-1.007844 0,1.247283 1.083135,0.577996 0.720932,0.57578 0.963449,-0.768406 c 0.242517,0.320344 0.481723,0.640687 0.722585,0.961031 l 0,0.95998 -1.08479,0.864133 -1.985167,0.961031 -1.503445,1.058044 -0.963448,-0.770739 0.481724,-0.864133 -0.961957,-0.768403 -1.62462,-2.448926 -1.383757,-1.103574 -0.362204,0.287307 0.54314,1.393213 1.021718,0.816269 c 0.583533,1.18798 1.160774,2.323424 1.927064,3.458986 1.188253,0 2.30847,-0.08896 3.48861,-0.193795 l 0,0.672677 -1.443683,2.497372 -1.323998,1.05571 -1.083133,1.634872 c 0,0.896122 0,1.792244 0,2.688249 l 0.362204,1.058043 -0.601411,0.478882 -1.325653,0.576827 -1.383756,0.816269 1.14455,0.912115 -1.564859,0.962198 0.300623,0.622477 -2.347372,1.874314 -1.563204,0 -1.323998,0.576828 -0.843926,0 0,-0.768404 -0.358894,-1.539144 c -0.465667,-0.964534 -0.950536,-1.92218 -1.443684,-2.879825 0,-0.70688 0.05976,-1.406872 0.119686,-2.113636 l 0.603068,-0.95998 -0.843929,-1.153773 0.06142,-1.584674 -1.14455,-0.912115 0.572274,-1.32025 -0.931169,-0.745056 -1.626273,0 -0.541485,-0.432068 -1.62462,0.721124 -0.661169,-0.529547 -1.5051,0.912582 c -1.02172,-0.816853 -2.045094,-1.633121 -3.068303,-2.44939 L 13.07,22.841935 l 1.083137,-1.151436 -0.601412,-0.479933 1.322342,-2.210651 c 1.086444,-0.953092 2.221227,-1.867425 3.369089,-2.785143 l 2.046584,-0.384204 2.285956,-0.191576 1.564859,0.288473 2.226032,1.583506 0.78251,-0.623643 1.081479,-0.09573 2.046584,0.479932 1.564861,0 1.083134,-0.672675 0.481723,-0.479932 -1.08479,-0.479932 -1.80572,-0.09573 c -0.501093,-0.490204 -0.966759,-1.005508 -1.561715,-1.441076 l -0.603065,0.191574 -0.240865,1.249502 -1.083133,-0.864131 -0.239207,-0.962199 -1.20282,-0.670338 -0.48338,0 1.20431,0.959978 -0.481723,0.864134 -0.961959,0.191576 0.60141,-0.864134 -1.084791,-0.383036 -0.960303,-0.768403 -1.807377,0.287304 -0.239206,0.383036 -1.083134,0.481099 -0.601411,1.056877 -1.503445,0.527797 -0.662824,-0.527797 -0.720932,0 0,-1.729435 1.564859,-0.576829 1.20282,0 -0.242517,-0.671507 -0.960303,-0.672675 1.62313,-0.240609 0.902032,-0.719371 0.720931,-0.8653012 1.325654,0 -0.362206,-0.6715064 0.843929,-0.3842031 0,0.7684043 1.804066,0.2873052 1.804067,-1.0557095 0.121174,-0.481099 1.563205,-0.7678216 c -0.56582,0.049618 -1.131638,0.08604 -1.684545,0.1921611 l 0,-0.8651834 0.601409,-0.9605654 -0.601409,0 -1.321678,0.8641345 -0.362207,0.4805153 0.362207,0.673259 -0.603067,1.1514366 -0.96196,-0.3842011 -0.840618,-0.6715065 -1.325651,0.6715065 -0.481725,-1.5362228 2.285956,-1.0562945 0,-0.5768291 L 25.223524,4.7847867 27.509479,4.4 l 1.56486,0.3847867 2.166268,0.9599803 -1.564858,0 1.564858,1.1526075 1.202823,-0.9599824 c 0,0 4.786235,2.4031505 7.258281,5.7266459 2.405352,3.233831 3.412213,6.909414 3.517388,7.673265 z" |
4115 | + id="path4023" |
4116 | + style="opacity:0.5;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" /> |
4117 | + <path |
4118 | + d="M 43.219099,18.237303 43.03226,18.957842 C 42.479353,18.498341 41.858575,18.11192 41.228194,17.708339 l -1.383757,0.143595 -1.264237,-1.007844 0,1.247283 1.083135,0.577996 0.720932,0.57578 0.963449,-0.768406 c 0.242517,0.320344 0.481723,0.640687 0.722585,0.961031 l 0,0.95998 -1.08479,0.864133 -1.985167,0.961031 -1.503445,1.058044 -0.963448,-0.770739 0.481724,-0.864133 -0.961957,-0.768403 -1.62462,-2.448926 -1.383757,-1.103574 -0.362204,0.287307 0.54314,1.393213 1.021718,0.816269 c 0.583533,1.18798 1.160774,2.323424 1.927064,3.458986 1.188253,0 2.30847,-0.08896 3.48861,-0.193795 l 0,0.672677 -1.443683,2.497372 -1.323998,1.05571 -1.083133,1.634872 c 0,0.896122 0,1.792244 0,2.688249 l 0.362204,1.058043 -0.601411,0.478882 -1.325653,0.576827 -1.383756,0.816269 1.14455,0.912115 -1.564859,0.962198 0.300623,0.622477 -2.347372,1.874314 -1.563204,0 -1.323998,0.576828 -0.843926,0 0,-0.768404 -0.358894,-1.539144 c -0.465667,-0.964534 -0.950536,-1.92218 -1.443684,-2.879825 0,-0.70688 0.05976,-1.406872 0.119686,-2.113636 l 0.603068,-0.95998 -0.843929,-1.153773 0.06142,-1.584674 -1.14455,-0.912115 0.572274,-1.32025 -0.931169,-0.745056 -1.626273,0 -0.541485,-0.432068 -1.62462,0.721124 -0.661169,-0.529547 -1.5051,0.912582 c -1.02172,-0.816853 -2.045094,-1.633121 -3.068303,-2.44939 L 13.07,21.741935 l 1.083137,-1.151436 -0.601412,-0.479933 1.322342,-2.210651 c 1.086444,-0.953092 2.221227,-1.867425 3.369089,-2.785143 l 2.046584,-0.384204 2.285956,-0.191576 1.564859,0.288473 2.226032,1.583506 0.78251,-0.623643 1.081479,-0.09573 2.046584,0.479932 1.564861,0 1.083134,-0.672675 0.481723,-0.479932 -1.08479,-0.479932 -1.80572,-0.09573 c -0.501093,-0.490204 -0.966759,-1.005508 -1.561715,-1.441076 l -0.603065,0.191574 -0.240865,1.249502 -1.083133,-0.864131 -0.239207,-0.962199 -1.20282,-0.670338 -0.48338,0 1.20431,0.959978 -0.481723,0.864134 -0.961959,0.191576 0.60141,-0.864134 -1.084791,-0.383036 -0.960303,-0.768403 -1.807377,0.287304 -0.239206,0.383036 -1.083134,0.481099 -0.601411,1.056877 -1.503445,0.527797 -0.662824,-0.527797 -0.720932,0 0,-1.729435 1.564859,-0.576829 1.20282,0 -0.242517,-0.671507 -0.960303,-0.672675 1.62313,-0.240609 0.902032,-0.719371 0.720931,-0.8653012 1.325654,0 -0.362206,-0.6715064 0.843929,-0.3842031 0,0.7684043 1.804066,0.2873052 1.804067,-1.0557095 0.121174,-0.481099 1.563205,-0.7678216 c -0.56582,0.049618 -1.131638,0.08604 -1.684545,0.1921611 l 0,-0.8651834 0.601409,-0.9605654 -0.601409,0 -1.321678,0.8641345 -0.362207,0.4805153 0.362207,0.673259 -0.603067,1.1514366 -0.96196,-0.3842011 -0.840618,-0.6715065 -1.325651,0.6715065 -0.481725,-1.5362228 2.285956,-1.0562945 0,-0.5768291 L 25.223524,3.6847867 27.509479,3.3 l 1.56486,0.3847867 2.166268,0.9599803 -1.564858,0 1.564858,1.1526075 1.202823,-0.9599824 c 0,0 4.786235,2.4031505 7.258281,5.7266459 2.405352,3.233831 3.412213,6.909414 3.517388,7.673265 z" |
4119 | + id="path6628" |
4120 | + style="fill:url(#radialGradient6332);fill-opacity:1;fill-rule:nonzero;stroke:none" /> |
4121 | + <path |
4122 | + d="m 43.501763,23 c 0,10.764976 -8.736791,19.501764 -19.501765,19.501764 C 13.235024,42.501764 4.4982338,33.764976 4.4982338,23 c 0,-10.764974 8.7367902,-19.5017646 19.5017642,-19.5017646 10.764974,0 19.501765,8.7367906 19.501765,19.5017646 z" |
4123 | + id="path3164" |
4124 | + style="opacity:0.4;fill:none;stroke:url(#radialGradient5540);stroke-width:0.99647081;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> |
4125 | + <path |
4126 | + d="m 42.999998,16.746704 c 0,7.114117 -8.512001,11.02908 -18.999999,11.02908 -10.488002,0 -19.0000006,-3.914963 -19.0000006,-11.02908 C 4.9999984,9.632588 13.511997,2 23.999999,2 34.487997,2 42.999998,9.632588 42.999998,16.746704 z" |
4127 | + id="path3154" |
4128 | + style="opacity:0.4;fill:url(#radialGradient5537);fill-opacity:1;stroke:none" /> |
4129 | + <path |
4130 | + d="m 46,24.25 c 0,9.664983 -7.835017,17.5 -17.5,17.5 -9.664983,0 -17.5,-7.835017 -17.5,-17.5 0,-9.664983 7.835017,-17.5 17.5,-17.5 9.664983,0 17.5,7.835017 17.5,17.5 l 0,0 z" |
4131 | + transform="matrix(1.076193,-0.2912862,0.1952728,0.7143165,-11.182741,14.979481)" |
4132 | + id="path2218" |
4133 | + style="opacity:0.6;fill:none;stroke:url(#linearGradient5745);stroke-width:1.09524393;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> |
4134 | + <path |
4135 | + d="m 46,24.25 c 0,9.664983 -7.835017,17.5 -17.5,17.5 -9.664983,0 -17.5,-7.835017 -17.5,-17.5 0,-9.664983 7.835017,-17.5 17.5,-17.5 9.664983,0 17.5,7.835017 17.5,17.5 l 0,0 z" |
4136 | + transform="matrix(1.1247273,-0.00679075,0.00112312,0.7429216,-7.8873839,2.6776872)" |
4137 | + id="path2230" |
4138 | + style="opacity:0.6;fill:none;stroke:url(#linearGradient5747);stroke-width:1.0902828;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> |
4139 | + <path |
4140 | + d="m 46,24.25 c 0,9.664983 -7.835017,17.5 -17.5,17.5 -9.664983,0 -17.5,-7.835017 -17.5,-17.5 0,-9.664983 7.835017,-17.5 17.5,-17.5 9.664983,0 17.5,7.835017 17.5,17.5 l 0,0 z" |
4141 | + transform="matrix(-0.09940095,-1.1197712,0.6946105,-0.03998764,8.1749534,56.475018)" |
4142 | + id="path2234" |
4143 | + style="opacity:0.6;fill:none;stroke:url(#linearGradient5749);stroke-width:1.12890089;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> |
4144 | + <path |
4145 | + d="m 46,24.25 c 0,9.664983 -7.835017,17.5 -17.5,17.5 -9.664983,0 -17.5,-7.835017 -17.5,-17.5 0,-9.664983 7.835017,-17.5 17.5,-17.5 9.664983,0 17.5,7.835017 17.5,17.5 l 0,0 z" |
4146 | + transform="matrix(-0.1600777,-1.1032472,0.4856389,0.01692093,16.935466,54.089297)" |
4147 | + id="path2240" |
4148 | + style="fill:none;stroke:url(#linearGradient5751);stroke-width:1.36711621;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> |
4149 | + <path |
4150 | + d="m 31.375,37.875 c 0,0.966498 -0.783502,1.75 -1.75,1.75 -0.966498,0 -1.75,-0.783502 -1.75,-1.75 0,-0.966498 0.783502,-1.75 1.75,-1.75 0.966498,0 1.75,0.783502 1.75,1.75 l 0,0 z" |
4151 | + transform="matrix(0.7873429,-0.2144143,0.2141677,0.7882494,1.2604149,11.541737)" |
4152 | + id="path2255" |
4153 | + style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke:none" /> |
4154 | + <path |
4155 | + d="m 31.375,37.875 c 0,0.966498 -0.783502,1.75 -1.75,1.75 -0.966498,0 -1.75,-0.783502 -1.75,-1.75 0,-0.966498 0.783502,-1.75 1.75,-1.75 0.966498,0 1.75,0.783502 1.75,1.75 l 0,0 z" |
4156 | + transform="matrix(0.6748654,-0.1837837,0.2141677,0.7882494,-14.193998,12.29353)" |
4157 | + id="path2275" |
4158 | + style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke:none" /> |
4159 | + <path |
4160 | + d="m 31.375,37.875 c 0,0.966498 -0.783502,1.75 -1.75,1.75 -0.966498,0 -1.75,-0.783502 -1.75,-1.75 0,-0.966498 0.783502,-1.75 1.75,-1.75 0.966498,0 1.75,0.783502 1.75,1.75 l 0,0 z" |
4161 | + transform="matrix(0.7873429,-0.2144143,0.324169,0.6373544,-8.3660962,-9.8985024)" |
4162 | + id="path2283" |
4163 | + style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke:none" /> |
4164 | + <path |
4165 | + d="m 31.375,37.875 c 0,0.966498 -0.783502,1.75 -1.75,1.75 -0.966498,0 -1.75,-0.783502 -1.75,-1.75 0,-0.966498 0.783502,-1.75 1.75,-1.75 0.966498,0 1.75,0.783502 1.75,1.75 l 0,0 z" |
4166 | + transform="matrix(0.7873429,-0.2144143,-0.01326253,0.7292459,-10.705973,-10.742804)" |
4167 | + id="path2291" |
4168 | + style="opacity:0.5;fill:#ffffff;fill-opacity:1;stroke:none" /> |
4169 | + </g> |
4170 | + </g> |
4171 | +</svg> |
4172 | |
4173 | === added file 'wp-content/themes/ubuntu-party_light/images/icons/applications-multimedia.svg' |
4174 | --- wp-content/themes/ubuntu-party_light/images/icons/applications-multimedia.svg 1970-01-01 00:00:00 +0000 |
4175 | +++ wp-content/themes/ubuntu-party_light/images/icons/applications-multimedia.svg 2011-02-03 09:51:14 +0000 |
4176 | @@ -0,0 +1,485 @@ |
4177 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
4178 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> |
4179 | + |
4180 | +<svg |
4181 | + xmlns:dc="http://purl.org/dc/elements/1.1/" |
4182 | + xmlns:cc="http://creativecommons.org/ns#" |
4183 | + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
4184 | + xmlns:svg="http://www.w3.org/2000/svg" |
4185 | + xmlns="http://www.w3.org/2000/svg" |
4186 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
4187 | + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
4188 | + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
4189 | + width="48px" |
4190 | + height="48px" |
4191 | + id="svg3943" |
4192 | + version="1.1" |
4193 | + inkscape:version="0.47 r22583" |
4194 | + sodipodi:docname="applications-multimedia.svg"> |
4195 | + <defs |
4196 | + id="defs3945"> |
4197 | + <radialGradient |
4198 | + inkscape:collect="always" |
4199 | + xlink:href="#linearGradient7067" |
4200 | + id="radialGradient3011" |
4201 | + gradientUnits="userSpaceOnUse" |
4202 | + gradientTransform="matrix(0.9584434,-0.1715415,0.033651,0.9119853,5.8299551,5.1403631)" |
4203 | + cx="17.058823" |
4204 | + cy="41.058823" |
4205 | + fx="14.68769" |
4206 | + fy="37.45607" |
4207 | + r="5.7384715" /> |
4208 | + <linearGradient |
4209 | + id="linearGradient7067"> |
4210 | + <stop |
4211 | + id="stop7069" |
4212 | + style="stop-color:white;stop-opacity:1" |
4213 | + offset="0" /> |
4214 | + <stop |
4215 | + id="stop7071" |
4216 | + style="stop-color:white;stop-opacity:0" |
4217 | + offset="1" /> |
4218 | + </linearGradient> |
4219 | + <linearGradient |
4220 | + inkscape:collect="always" |
4221 | + xlink:href="#linearGradient2372" |
4222 | + id="linearGradient3014" |
4223 | + gradientUnits="userSpaceOnUse" |
4224 | + gradientTransform="matrix(0.3228678,0,0,0.3243297,19.695285,-29.783826)" |
4225 | + x1="28.503141" |
4226 | + y1="137.53885" |
4227 | + x2="26.256771" |
4228 | + y2="125.39074" /> |
4229 | + <linearGradient |
4230 | + id="linearGradient2372"> |
4231 | + <stop |
4232 | + id="stop2374" |
4233 | + style="stop-color:white;stop-opacity:1" |
4234 | + offset="0" /> |
4235 | + <stop |
4236 | + id="stop2376" |
4237 | + style="stop-color:white;stop-opacity:0.34482759" |
4238 | + offset="1" /> |
4239 | + </linearGradient> |
4240 | + <radialGradient |
4241 | + inkscape:collect="always" |
4242 | + xlink:href="#linearGradient3668" |
4243 | + id="radialGradient3017" |
4244 | + gradientUnits="userSpaceOnUse" |
4245 | + gradientTransform="matrix(1.0091641,-0.1636283,0.02202691,0.9432895,23.014711,0.9649117)" |
4246 | + cx="17.058823" |
4247 | + cy="41.058823" |
4248 | + fx="14.757765" |
4249 | + fy="37.841019" |
4250 | + r="5.7384715" /> |
4251 | + <linearGradient |
4252 | + id="linearGradient3668"> |
4253 | + <stop |
4254 | + id="stop3670" |
4255 | + style="stop-color:white;stop-opacity:1" |
4256 | + offset="0" /> |
4257 | + <stop |
4258 | + id="stop3672" |
4259 | + style="stop-color:white;stop-opacity:0" |
4260 | + offset="1" /> |
4261 | + </linearGradient> |
4262 | + <linearGradient |
4263 | + inkscape:collect="always" |
4264 | + xlink:href="#linearGradient2372" |
4265 | + id="linearGradient3020" |
4266 | + gradientUnits="userSpaceOnUse" |
4267 | + gradientTransform="matrix(0.4456368,0,0,0.3243297,34.628984,-32.463266)" |
4268 | + x1="28.739122" |
4269 | + y1="144.11652" |
4270 | + x2="26.256771" |
4271 | + y2="125.39074" /> |
4272 | + <radialGradient |
4273 | + inkscape:collect="always" |
4274 | + xlink:href="#linearGradient5060" |
4275 | + id="radialGradient3024" |
4276 | + gradientUnits="userSpaceOnUse" |
4277 | + gradientTransform="matrix(0.04772373,0,0,0.02325004,0.7606733,23.481385)" |
4278 | + cx="605.71429" |
4279 | + cy="486.64789" |
4280 | + fx="605.71429" |
4281 | + fy="486.64789" |
4282 | + r="117.14286" /> |
4283 | + <linearGradient |
4284 | + id="linearGradient5060"> |
4285 | + <stop |
4286 | + id="stop5062" |
4287 | + style="stop-color:black;stop-opacity:1" |
4288 | + offset="0" /> |
4289 | + <stop |
4290 | + id="stop5064" |
4291 | + style="stop-color:black;stop-opacity:0" |
4292 | + offset="1" /> |
4293 | + </linearGradient> |
4294 | + <linearGradient |
4295 | + inkscape:collect="always" |
4296 | + xlink:href="#linearGradient3461" |
4297 | + id="linearGradient3027" |
4298 | + gradientUnits="userSpaceOnUse" |
4299 | + x1="16.722891" |
4300 | + y1="3" |
4301 | + x2="16.722891" |
4302 | + y2="35.055153" /> |
4303 | + <linearGradient |
4304 | + id="linearGradient3461"> |
4305 | + <stop |
4306 | + id="stop3463" |
4307 | + style="stop-color:white;stop-opacity:1" |
4308 | + offset="0" /> |
4309 | + <stop |
4310 | + id="stop3465" |
4311 | + style="stop-color:white;stop-opacity:0" |
4312 | + offset="1" /> |
4313 | + </linearGradient> |
4314 | + <radialGradient |
4315 | + inkscape:collect="always" |
4316 | + xlink:href="#linearGradient259" |
4317 | + id="radialGradient3036" |
4318 | + gradientUnits="userSpaceOnUse" |
4319 | + gradientTransform="matrix(0.7979932,0,0,0.8388723,-1.9637331,-0.4310554)" |
4320 | + cx="33.966679" |
4321 | + cy="35.736916" |
4322 | + fx="33.966679" |
4323 | + fy="35.736916" |
4324 | + r="86.70845" /> |
4325 | + <linearGradient |
4326 | + id="linearGradient259"> |
4327 | + <stop |
4328 | + id="stop260" |
4329 | + style="stop-color:#828282;stop-opacity:1" |
4330 | + offset="0" /> |
4331 | + <stop |
4332 | + id="stop261" |
4333 | + style="stop-color:#434343;stop-opacity:1" |
4334 | + offset="1" /> |
4335 | + </linearGradient> |
4336 | + <linearGradient |
4337 | + inkscape:collect="always" |
4338 | + xlink:href="#linearGradient3582" |
4339 | + id="linearGradient3038" |
4340 | + gradientUnits="userSpaceOnUse" |
4341 | + x1="33" |
4342 | + y1="36.014702" |
4343 | + x2="33" |
4344 | + y2="2" /> |
4345 | + <linearGradient |
4346 | + id="linearGradient3582"> |
4347 | + <stop |
4348 | + id="stop3584" |
4349 | + style="stop-color:#333;stop-opacity:1" |
4350 | + offset="0" /> |
4351 | + <stop |
4352 | + id="stop3586" |
4353 | + style="stop-color:#5a5a5a;stop-opacity:1" |
4354 | + offset="1" /> |
4355 | + </linearGradient> |
4356 | + <radialGradient |
4357 | + inkscape:collect="always" |
4358 | + xlink:href="#linearGradient259" |
4359 | + id="radialGradient3042" |
4360 | + gradientUnits="userSpaceOnUse" |
4361 | + gradientTransform="matrix(0.7979406,0,0,0.8394112,-1.9632013,-0.4324909)" |
4362 | + cx="33.966679" |
4363 | + cy="35.736916" |
4364 | + fx="33.966679" |
4365 | + fy="35.736916" |
4366 | + r="86.70845" /> |
4367 | + <linearGradient |
4368 | + inkscape:collect="always" |
4369 | + xlink:href="#linearGradient3582" |
4370 | + id="linearGradient3044" |
4371 | + gradientUnits="userSpaceOnUse" |
4372 | + x1="6" |
4373 | + y1="36" |
4374 | + x2="6" |
4375 | + y2="1.9852973" /> |
4376 | + <linearGradient |
4377 | + inkscape:collect="always" |
4378 | + xlink:href="#linearGradient7012-661-145-733-759-865-745-661-970-94" |
4379 | + id="linearGradient3049" |
4380 | + gradientUnits="userSpaceOnUse" |
4381 | + gradientTransform="matrix(1.6465384,0,0,1.5556175,-2.2508569,1.0175998)" |
4382 | + x1="12.872127" |
4383 | + y1="0.62145692" |
4384 | + x2="12.872127" |
4385 | + y2="22.486652" /> |
4386 | + <linearGradient |
4387 | + id="linearGradient7012-661-145-733-759-865-745-661-970-94"> |
4388 | + <stop |
4389 | + offset="0" |
4390 | + style="stop-color:#f0c178;stop-opacity:1" |
4391 | + id="stop3618" /> |
4392 | + <stop |
4393 | + offset="0.5" |
4394 | + style="stop-color:#e18941;stop-opacity:1" |
4395 | + id="stop3270" /> |
4396 | + <stop |
4397 | + offset="1" |
4398 | + style="stop-color:#ec4f18;stop-opacity:1" |
4399 | + id="stop3620" /> |
4400 | + </linearGradient> |
4401 | + <linearGradient |
4402 | + inkscape:collect="always" |
4403 | + xlink:href="#linearGradient3390-178-986-453" |
4404 | + id="linearGradient3051" |
4405 | + gradientUnits="userSpaceOnUse" |
4406 | + x1="12.248152" |
4407 | + y1="34.992569" |
4408 | + x2="12.248152" |
4409 | + y2="1.9999406" /> |
4410 | + <linearGradient |
4411 | + id="linearGradient3390-178-986-453"> |
4412 | + <stop |
4413 | + offset="0" |
4414 | + style="stop-color:#bb2b12;stop-opacity:1" |
4415 | + id="stop3624" /> |
4416 | + <stop |
4417 | + offset="1" |
4418 | + style="stop-color:#cd7233;stop-opacity:1" |
4419 | + id="stop3626" /> |
4420 | + </linearGradient> |
4421 | + <radialGradient |
4422 | + inkscape:collect="always" |
4423 | + xlink:href="#linearGradient5060" |
4424 | + id="radialGradient3054" |
4425 | + gradientUnits="userSpaceOnUse" |
4426 | + gradientTransform="matrix(-0.04772373,0,0,0.02325004,35.239332,23.481385)" |
4427 | + cx="605.71429" |
4428 | + cy="486.64789" |
4429 | + fx="605.71429" |
4430 | + fy="486.64789" |
4431 | + r="117.14286" /> |
4432 | + <linearGradient |
4433 | + id="linearGradient5048"> |
4434 | + <stop |
4435 | + id="stop5050" |
4436 | + style="stop-color:black;stop-opacity:0" |
4437 | + offset="0" /> |
4438 | + <stop |
4439 | + id="stop5056" |
4440 | + style="stop-color:black;stop-opacity:1" |
4441 | + offset="0.5" /> |
4442 | + <stop |
4443 | + id="stop5052" |
4444 | + style="stop-color:black;stop-opacity:0" |
4445 | + offset="1" /> |
4446 | + </linearGradient> |
4447 | + <linearGradient |
4448 | + y2="609.50507" |
4449 | + x2="302.85715" |
4450 | + y1="366.64789" |
4451 | + x1="302.85715" |
4452 | + gradientTransform="matrix(0.04772373,0,0,0.02325004,0.7512812,23.481385)" |
4453 | + gradientUnits="userSpaceOnUse" |
4454 | + id="linearGradient3941" |
4455 | + xlink:href="#linearGradient5048" |
4456 | + inkscape:collect="always" /> |
4457 | + </defs> |
4458 | + <sodipodi:namedview |
4459 | + id="base" |
4460 | + pagecolor="#ffffff" |
4461 | + bordercolor="#666666" |
4462 | + borderopacity="1.0" |
4463 | + inkscape:pageopacity="0.0" |
4464 | + inkscape:pageshadow="2" |
4465 | + inkscape:zoom="7" |
4466 | + inkscape:cx="24" |
4467 | + inkscape:cy="24" |
4468 | + inkscape:current-layer="layer1" |
4469 | + showgrid="true" |
4470 | + inkscape:grid-bbox="true" |
4471 | + inkscape:document-units="px" |
4472 | + inkscape:window-width="603" |
4473 | + inkscape:window-height="484" |
4474 | + inkscape:window-x="417" |
4475 | + inkscape:window-y="198" |
4476 | + inkscape:window-maximized="0" /> |
4477 | + <metadata |
4478 | + id="metadata3948"> |
4479 | + <rdf:RDF> |
4480 | + <cc:Work |
4481 | + rdf:about=""> |
4482 | + <dc:format>image/svg+xml</dc:format> |
4483 | + <dc:type |
4484 | + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
4485 | + <dc:title></dc:title> |
4486 | + </cc:Work> |
4487 | + </rdf:RDF> |
4488 | + </metadata> |
4489 | + <g |
4490 | + id="layer1" |
4491 | + inkscape:label="Layer 1" |
4492 | + inkscape:groupmode="layer"> |
4493 | + <rect |
4494 | + style="opacity:0.40206185;fill:url(#linearGradient3941);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" |
4495 | + id="rect4173" |
4496 | + y="32.005966" |
4497 | + x="6.4781284" |
4498 | + height="5.6464386" |
4499 | + width="23.043743" /> |
4500 | + <path |
4501 | + style="opacity:0.40206185;fill:url(#radialGradient3054);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" |
4502 | + id="path5018" |
4503 | + d="m 6.4781291,32.006159 c 0,0 0,5.646126 0,5.646126 -2.4576543,0.01063 -5.9414111,-1.26501 -5.9414111,-2.823426 0,-1.558415 2.7425566,-2.8227 5.9414111,-2.8227 l 0,0 z" /> |
4504 | + <rect |
4505 | + style="fill:url(#linearGradient3049);fill-opacity:1;stroke:url(#linearGradient3051);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" |
4506 | + id="rect3457" |
4507 | + y="2.5" |
4508 | + x="8.5071878" |
4509 | + ry="0" |
4510 | + rx="0" |
4511 | + height="32.985138" |
4512 | + width="18.985626" /> |
4513 | + <path |
4514 | + style="fill:none;stroke:#333333;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" |
4515 | + id="path3460" |
4516 | + d="m 9.471651,19.5 17.002975,0" /> |
4517 | + <path |
4518 | + style="opacity:0.36637932;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" |
4519 | + id="path3360" |
4520 | + d="m 9.5,20.5 c 5.664886,0 11.329772,0 16.994658,0" /> |
4521 | + <path |
4522 | + style="fill:url(#radialGradient3042);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3044);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" |
4523 | + id="path3385" |
4524 | + d="m 8.5,2.5074512 c 0,4.0618815 0,27.3642538 0,32.9920968 -1.6841386,0 -3.0977465,0 -4.7818853,0 -0.4093483,-0.390643 -0.098075,-1.16623 -0.1953367,-1.71926 0,-10.361089 0,-20.722176 0,-31.0832633 l 0.057087,-0.1341705 0.1382497,-0.055403 0,0 c 1.7528453,0 3.0290401,0 4.7818853,0 z" /> |
4525 | + <rect |
4526 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4527 | + id="rect3480" |
4528 | + y="4" |
4529 | + x="5" |
4530 | + height="2" |
4531 | + width="2" /> |
4532 | + <path |
4533 | + style="fill:url(#radialGradient3036);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3038);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" |
4534 | + id="rect15391" |
4535 | + d="m 27.5,35.477909 c 0,-2.18751 0,-30.0678991 0,-32.9709099 1.68284,0 3.138905,0 4.801972,0 0.236084,0 0.195348,1.035716 0.195348,1.7181563 0,10.3544346 2e-6,20.7088676 2e-6,31.0633006 -0.402548,0.397014 -1.201764,0.09512 -1.771651,0.189453 -1.134326,0 -2.091345,0 -3.225671,0 z" /> |
4536 | + <rect |
4537 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4538 | + id="rect2917" |
4539 | + y="32" |
4540 | + x="29" |
4541 | + height="2" |
4542 | + width="2" /> |
4543 | + <rect |
4544 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4545 | + id="rect2915" |
4546 | + y="28" |
4547 | + x="29" |
4548 | + height="2" |
4549 | + width="2" /> |
4550 | + <rect |
4551 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4552 | + id="rect2913" |
4553 | + y="24" |
4554 | + x="29" |
4555 | + height="2" |
4556 | + width="2" /> |
4557 | + <rect |
4558 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4559 | + id="rect2911" |
4560 | + y="20" |
4561 | + x="29" |
4562 | + height="2" |
4563 | + width="2" /> |
4564 | + <rect |
4565 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4566 | + id="rect2909" |
4567 | + y="8" |
4568 | + x="29" |
4569 | + height="2" |
4570 | + width="2" /> |
4571 | + <rect |
4572 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4573 | + id="rect2907" |
4574 | + y="4" |
4575 | + x="29" |
4576 | + height="2" |
4577 | + width="2" /> |
4578 | + <rect |
4579 | + style="opacity:0.4;fill:none;stroke:url(#linearGradient3027);stroke-width:1.00000012;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" |
4580 | + id="rect2689" |
4581 | + y="3.5" |
4582 | + x="4.5" |
4583 | + ry="0" |
4584 | + rx="0" |
4585 | + height="31.000002" |
4586 | + width="27" /> |
4587 | + <path |
4588 | + style="opacity:0.40206185;fill:url(#radialGradient3024);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" |
4589 | + id="path5058" |
4590 | + d="m 29.521871,32.006159 c 0,0 0,5.646126 0,5.646126 2.457654,0.01063 5.941413,-1.26501 5.941411,-2.823426 0,-1.558415 -2.742557,-2.8227 -5.941411,-2.8227 l 0,0 z" /> |
4591 | + <path |
4592 | + style="fill:#4d4d4d;fill-opacity:1;stroke:#333333;stroke-width:1.00000012;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" |
4593 | + id="path3406" |
4594 | + d="m 45.745598,7.4929592 c -6.00729,0.9606681 -12.031218,1.8233986 -18.033799,2.8086058 -1.63378,0.819876 -1.049147,2.902162 -1.154413,4.371015 -1e-6,6.355079 0,12.710159 0,19.065238 -4.194736,-0.934895 -9.035848,2.33778 -9.071714,6.783396 -0.188862,2.854893 2.565665,5.220454 5.336743,4.958998 3.756296,-0.19264 7.194805,-3.831353 6.792605,-7.716726 -1e-6,-6.35577 0,-13.702017 0,-20.057787 4.954052,-0.714335 9.897511,-1.499993 14.851364,-2.215678 -2e-6,4.899456 0,10.789389 0,15.688845 -4.019561,-1.157997 -8.855706,1.496573 -9.521772,5.740205 -0.556934,2.500827 1.190623,5.014395 3.577672,5.729118 4.468295,1.464696 9.466325,-2.855247 8.939333,-7.474862 -0.01247,-8.665068 0.03763,-17.330162 0,-25.9952042 C 47.356612,8.31683 46.683717,7.4494092 45.745598,7.4929592 z" /> |
4595 | + <path |
4596 | + style="opacity:0.4;fill:url(#linearGradient3020);fill-opacity:1;fill-rule:evenodd;stroke:none" |
4597 | + id="path3996" |
4598 | + d="m 44.985349,31.631101 0.05939,-16.521838 c 0.625919,-0.08136 0.0961,-0.01312 0.940128,-0.134964 0.01157,3.086113 0.01586,5.164719 0.01586,16.820143 0,0.08673 -0.36454,-0.04353 -1.015381,-0.163341 l 3e-6,0 z" /> |
4599 | + <path |
4600 | + style="opacity:0.6;fill:url(#radialGradient3017);fill-opacity:1;stroke:none" |
4601 | + id="path2716" |
4602 | + d="m 46.92532,35.918255 c 0,2.944787 -2.592745,5.773341 -5.791059,6.317752 -3.198314,0.544411 -5.79106,-1.401478 -5.79106,-4.346265 0,-2.944788 2.592746,-5.773344 5.79106,-6.317755 3.198314,-0.544411 5.791059,1.40148 5.791059,4.346268 z" /> |
4603 | + <path |
4604 | + style="opacity:0.4;fill:url(#linearGradient3014);fill-opacity:1;fill-rule:evenodd;stroke:none" |
4605 | + id="path2720" |
4606 | + d="m 27.061539,34.460235 0,-22.470944 c 0,0 0.116979,-1.246824 1.175361,-1.251121 0.09195,0.159264 17.856106,-2.8821066 17.856106,-2.8821066 0,0 0.679799,1.1032273 -7.002371,2.2066916 -10.934447,1.570619 -11.029096,1.633211 -11.029096,2.761868 0,3.329156 0,10.042721 0,22.164668 -0.235102,-0.200621 -0.528466,-0.409243 -1,-0.529056 l 0,0 z" /> |
4607 | + <path |
4608 | + style="opacity:0.6;fill:url(#radialGradient3011);fill-opacity:1;stroke:none" |
4609 | + id="path2712" |
4610 | + d="m 29.06154,38.705709 c 0,2.848254 -2.462433,5.584085 -5.499999,6.11065 -3.037567,0.526565 -5.500001,-1.355536 -5.500001,-4.203791 0,-2.848254 2.462434,-5.584087 5.500001,-6.110652 3.037566,-0.526565 5.499999,1.355538 5.499999,4.203793 z" /> |
4611 | + <rect |
4612 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4613 | + id="rect2893" |
4614 | + y="8" |
4615 | + x="5" |
4616 | + height="2" |
4617 | + width="2" /> |
4618 | + <rect |
4619 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4620 | + id="rect2895" |
4621 | + y="12" |
4622 | + x="5" |
4623 | + height="2" |
4624 | + width="2" /> |
4625 | + <rect |
4626 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4627 | + id="rect2897" |
4628 | + y="16" |
4629 | + x="5" |
4630 | + height="2" |
4631 | + width="2" /> |
4632 | + <rect |
4633 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4634 | + id="rect2899" |
4635 | + y="20" |
4636 | + x="5" |
4637 | + height="2" |
4638 | + width="2" /> |
4639 | + <rect |
4640 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4641 | + id="rect2901" |
4642 | + y="24" |
4643 | + x="5" |
4644 | + height="2" |
4645 | + width="2" /> |
4646 | + <rect |
4647 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4648 | + id="rect2903" |
4649 | + y="28" |
4650 | + x="5" |
4651 | + height="2" |
4652 | + width="2" /> |
4653 | + <rect |
4654 | + style="fill:#ffffff;fill-opacity:1;stroke:none" |
4655 | + id="rect2905" |
4656 | + y="32" |
4657 | + x="5" |
4658 | + height="2" |
4659 | + width="2" /> |
4660 | + </g> |
4661 | +</svg> |
4662 | |
4663 | === added file 'wp-content/themes/ubuntu-party_light/images/icons/applications-photography.svg' |
4664 | --- wp-content/themes/ubuntu-party_light/images/icons/applications-photography.svg 1970-01-01 00:00:00 +0000 |
4665 | +++ wp-content/themes/ubuntu-party_light/images/icons/applications-photography.svg 2011-02-03 09:51:14 +0000 |
4666 | @@ -0,0 +1,1124 @@ |
4667 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
4668 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> |
4669 | + |
4670 | +<svg |
4671 | + xmlns:svg="http://www.w3.org/2000/svg" |
4672 | + xmlns="http://www.w3.org/2000/svg" |
4673 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
4674 | + version="1.0" |
4675 | + width="48" |
4676 | + height="48" |
4677 | + id="svg5954"> |
4678 | + <defs |
4679 | + id="defs5956"> |
4680 | + <radialGradient |
4681 | + cx="605.71429" |
4682 | + cy="486.64789" |
4683 | + r="117.14286" |
4684 | + fx="605.71429" |
4685 | + fy="486.64789" |
4686 | + id="radialGradient5928" |
4687 | + xlink:href="#linearGradient5060" |
4688 | + gradientUnits="userSpaceOnUse" |
4689 | + gradientTransform="matrix(0.0628545,0,0,0.02058823,1.294955,34.451367)" /> |
4690 | + <linearGradient |
4691 | + id="linearGradient5048"> |
4692 | + <stop |
4693 | + id="stop5050" |
4694 | + style="stop-color:#000000;stop-opacity:0" |
4695 | + offset="0" /> |
4696 | + <stop |
4697 | + id="stop5056" |
4698 | + style="stop-color:#000000;stop-opacity:1" |
4699 | + offset="0.5" /> |
4700 | + <stop |
4701 | + id="stop5052" |
4702 | + style="stop-color:#000000;stop-opacity:0" |
4703 | + offset="1" /> |
4704 | + </linearGradient> |
4705 | + <linearGradient |
4706 | + x1="302.85715" |
4707 | + y1="366.64789" |
4708 | + x2="302.85715" |
4709 | + y2="609.50507" |
4710 | + id="linearGradient5931" |
4711 | + xlink:href="#linearGradient5048" |
4712 | + gradientUnits="userSpaceOnUse" |
4713 | + gradientTransform="matrix(0.0628545,0,0,0.02058823,1.2825853,34.451367)" /> |
4714 | + <linearGradient |
4715 | + id="linearGradient5060"> |
4716 | + <stop |
4717 | + id="stop5062" |
4718 | + style="stop-color:#000000;stop-opacity:1" |
4719 | + offset="0" /> |
4720 | + <stop |
4721 | + id="stop5064" |
4722 | + style="stop-color:#000000;stop-opacity:0" |
4723 | + offset="1" /> |
4724 | + </linearGradient> |
4725 | + <radialGradient |
4726 | + cx="605.71429" |
4727 | + cy="486.64789" |
4728 | + r="117.14286" |
4729 | + fx="605.71429" |
4730 | + fy="486.64789" |
4731 | + id="radialGradient5934" |
4732 | + xlink:href="#linearGradient5060" |
4733 | + gradientUnits="userSpaceOnUse" |
4734 | + gradientTransform="matrix(-0.0628545,0,0,0.02058823,46.705044,34.451367)" /> |
4735 | + <linearGradient |
4736 | + id="linearGradient18344"> |
4737 | + <stop |
4738 | + id="stop18346" |
4739 | + style="stop-color:#2f3537;stop-opacity:1" |
4740 | + offset="0" /> |
4741 | + <stop |
4742 | + id="stop18354" |
4743 | + style="stop-color:#8a8e8e;stop-opacity:1" |
4744 | + offset="0.30000001" /> |
4745 | + <stop |
4746 | + id="stop18348" |
4747 | + style="stop-color:#2f3537;stop-opacity:1" |
4748 | + offset="1" /> |
4749 | + </linearGradient> |
4750 | + <linearGradient |
4751 | + x1="8.5625" |
4752 | + y1="4.646832" |
4753 | + x2="8.5625" |
4754 | + y2="45.818478" |
4755 | + id="linearGradient5809" |
4756 | + xlink:href="#linearGradient18344" |
4757 | + gradientUnits="userSpaceOnUse" |
4758 | + gradientTransform="translate(-52.000001,7.0000005)" /> |
4759 | + <linearGradient |
4760 | + id="linearGradient5428"> |
4761 | + <stop |
4762 | + id="stop5430" |
4763 | + style="stop-color:#7a7c7c;stop-opacity:1" |
4764 | + offset="0" /> |
4765 | + <stop |
4766 | + id="stop5432" |
4767 | + style="stop-color:#33393a;stop-opacity:1" |
4768 | + offset="1" /> |
4769 | + </linearGradient> |
4770 | + <radialGradient |
4771 | + cx="76.16552" |
4772 | + cy="14.781876" |
4773 | + r="20.999798" |
4774 | + fx="76.16552" |
4775 | + fy="14.781876" |
4776 | + id="radialGradient5807" |
4777 | + xlink:href="#linearGradient5428" |
4778 | + gradientUnits="userSpaceOnUse" |
4779 | + gradientTransform="matrix(4.2066413,1.9378961e-8,0,0.140195,-296.2355,17.11562)" /> |
4780 | + <linearGradient |
4781 | + id="linearGradient25793"> |
4782 | + <stop |
4783 | + id="stop25795" |
4784 | + style="stop-color:#f0f0f4;stop-opacity:1" |
4785 | + offset="0" /> |
4786 | + <stop |
4787 | + id="stop25819" |
4788 | + style="stop-color:#eeeeec;stop-opacity:1" |
4789 | + offset="0.03744119" /> |
4790 | + <stop |
4791 | + id="stop25817" |
4792 | + style="stop-color:#eeeeec;stop-opacity:0.69594592" |
4793 | + offset="0.39254159" /> |
4794 | + <stop |
4795 | + id="stop25803" |
4796 | + style="stop-color:#a1a29f;stop-opacity:1" |
4797 | + offset="0.90799886" /> |
4798 | + <stop |
4799 | + id="stop25799" |
4800 | + style="stop-color:#555753;stop-opacity:1" |
4801 | + offset="1" /> |
4802 | + </linearGradient> |
4803 | + <linearGradient |
4804 | + x1="697.91443" |
4805 | + y1="327.78354" |
4806 | + x2="700.41443" |
4807 | + y2="496.33771" |
4808 | + id="linearGradient5925" |
4809 | + xlink:href="#linearGradient25793" |
4810 | + gradientUnits="userSpaceOnUse" |
4811 | + gradientTransform="matrix(0.153917,0,0,0.1533016,-86.753591,-31.249728)" /> |
4812 | + <linearGradient |
4813 | + id="linearGradient26816"> |
4814 | + <stop |
4815 | + id="stop26818" |
4816 | + style="stop-color:#ffffff;stop-opacity:1" |
4817 | + offset="0" /> |
4818 | + <stop |
4819 | + id="stop26820" |
4820 | + style="stop-color:#eeeeec;stop-opacity:0" |
4821 | + offset="1" /> |
4822 | + </linearGradient> |
4823 | + <radialGradient |
4824 | + cx="400.29608" |
4825 | + cy="127.65469" |
4826 | + r="2.0221689" |
4827 | + fx="400.29608" |
4828 | + fy="127.65469" |
4829 | + id="radialGradient5813" |
4830 | + xlink:href="#linearGradient26816" |
4831 | + gradientUnits="userSpaceOnUse" |
4832 | + gradientTransform="matrix(1.0866792,3.1905354e-5,-1.447372e-5,0.51096512,-405.46832,-42.408687)" /> |
4833 | + <linearGradient |
4834 | + id="linearGradient26830"> |
4835 | + <stop |
4836 | + id="stop26832" |
4837 | + style="stop-color:#ffffff;stop-opacity:1" |
4838 | + offset="0" /> |
4839 | + <stop |
4840 | + id="stop26834" |
4841 | + style="stop-color:#ffffff;stop-opacity:0" |
4842 | + offset="1" /> |
4843 | + </linearGradient> |
4844 | + <radialGradient |
4845 | + cx="399.8783" |
4846 | + cy="127.24747" |
4847 | + r="2.0221689" |
4848 | + fx="399.8783" |
4849 | + fy="127.24747" |
4850 | + id="radialGradient5815" |
4851 | + xlink:href="#linearGradient26830" |
4852 | + gradientUnits="userSpaceOnUse" |
4853 | + gradientTransform="matrix(0.94200013,-0.09311826,0.12194193,0.43760956,-362.48757,4.8425169)" /> |
4854 | + <linearGradient |
4855 | + id="linearGradient18403"> |
4856 | + <stop |
4857 | + id="stop18405" |
4858 | + style="stop-color:#eeeeec;stop-opacity:1" |
4859 | + offset="0" /> |
4860 | + <stop |
4861 | + id="stop18407" |
4862 | + style="stop-color:#eeeeec;stop-opacity:0" |
4863 | + offset="1" /> |
4864 | + </linearGradient> |
4865 | + <radialGradient |
4866 | + cx="427.79684" |
4867 | + cy="33.604549" |
4868 | + r="74.907745" |
4869 | + fx="427.79684" |
4870 | + fy="33.604549" |
4871 | + id="radialGradient5821" |
4872 | + xlink:href="#linearGradient18403" |
4873 | + gradientUnits="userSpaceOnUse" |
4874 | + gradientTransform="matrix(-0.44826684,0.10225395,-0.0817078,-0.35819255,231.53676,-7.9557424)" /> |
4875 | + <linearGradient |
4876 | + id="linearGradient26168"> |
4877 | + <stop |
4878 | + id="stop26170" |
4879 | + style="stop-color:#eeeeec;stop-opacity:1" |
4880 | + offset="0" /> |
4881 | + <stop |
4882 | + id="stop26172" |
4883 | + style="stop-color:#eeeeec;stop-opacity:0" |
4884 | + offset="1" /> |
4885 | + </linearGradient> |
4886 | + <radialGradient |
4887 | + cx="502.53064" |
4888 | + cy="217.46133" |
4889 | + r="74.907745" |
4890 | + fx="502.53064" |
4891 | + fy="217.46133" |
4892 | + id="radialGradient5823" |
4893 | + xlink:href="#linearGradient26168" |
4894 | + gradientUnits="userSpaceOnUse" |
4895 | + gradientTransform="matrix(0.10491544,-0.07283053,0.0358709,0.05700892,-24.172091,61.54156)" /> |
4896 | + <linearGradient |
4897 | + id="linearGradient26128"> |
4898 | + <stop |
4899 | + id="stop26130" |
4900 | + style="stop-color:#eeeeec;stop-opacity:0.9527027" |
4901 | + offset="0" /> |
4902 | + <stop |
4903 | + id="stop26146" |
4904 | + style="stop-color:#eeeeec;stop-opacity:0" |
4905 | + offset="0.47988781" /> |
4906 | + <stop |
4907 | + id="stop26148" |
4908 | + style="stop-color:#eeeeec;stop-opacity:0.99324322" |
4909 | + offset="0.5229584" /> |
4910 | + <stop |
4911 | + id="stop26132" |
4912 | + style="stop-color:#eeeeec;stop-opacity:0" |
4913 | + offset="0.63153976" /> |
4914 | + <stop |
4915 | + id="stop26134" |
4916 | + style="stop-color:#eeeeec;stop-opacity:0.23529412" |
4917 | + offset="0.7383545" /> |
4918 | + <stop |
4919 | + id="stop26136" |
4920 | + style="stop-color:#ffffff;stop-opacity:0.71621621" |
4921 | + offset="0.83400774" /> |
4922 | + <stop |
4923 | + id="stop26142" |
4924 | + style="stop-color:#f6f6f5;stop-opacity:0.27027026" |
4925 | + offset="0.90514386" /> |
4926 | + <stop |
4927 | + id="stop26144" |
4928 | + style="stop-color:#f2f2f0;stop-opacity:0.27702704" |
4929 | + offset="0.90514386" /> |
4930 | + <stop |
4931 | + id="stop26138" |
4932 | + style="stop-color:#eeeeec;stop-opacity:0" |
4933 | + offset="1" /> |
4934 | + </linearGradient> |
4935 | + <radialGradient |
4936 | + cx="459.45273" |
4937 | + cy="170.414" |
4938 | + r="74.907745" |
4939 | + fx="459.45273" |
4940 | + fy="170.414" |
4941 | + id="radialGradient5825" |
4942 | + xlink:href="#linearGradient26128" |
4943 | + gradientUnits="userSpaceOnUse" |
4944 | + gradientTransform="matrix(0.15094015,-2.3254373e-8,1.3012887e-8,0.1246858,-39.412358,10.189308)" /> |
4945 | + <linearGradient |
4946 | + id="linearGradient26021"> |
4947 | + <stop |
4948 | + id="stop26023" |
4949 | + style="stop-color:#eeeeec;stop-opacity:0" |
4950 | + offset="0" /> |
4951 | + <stop |
4952 | + id="stop26029" |
4953 | + style="stop-color:#eeeeec;stop-opacity:0.49803922" |
4954 | + offset="0.86670214" /> |
4955 | + <stop |
4956 | + id="stop26025" |
4957 | + style="stop-color:#eeeeec;stop-opacity:0" |
4958 | + offset="1" /> |
4959 | + </linearGradient> |
4960 | + <radialGradient |
4961 | + cx="449.88171" |
4962 | + cy="165.51567" |
4963 | + r="74.907745" |
4964 | + fx="449.88171" |
4965 | + fy="165.51567" |
4966 | + id="radialGradient5827" |
4967 | + xlink:href="#linearGradient26021" |
4968 | + gradientUnits="userSpaceOnUse" |
4969 | + gradientTransform="matrix(0,-0.09650319,0.10560543,0,12.520644,73.487475)" /> |
4970 | + <linearGradient |
4971 | + id="linearGradient26120"> |
4972 | + <stop |
4973 | + id="stop26122" |
4974 | + style="stop-color:#2e3436;stop-opacity:0" |
4975 | + offset="0" /> |
4976 | + <stop |
4977 | + id="stop26124" |
4978 | + style="stop-color:#2e3436;stop-opacity:0" |
4979 | + offset="0.47336468" /> |
4980 | + <stop |
4981 | + id="stop26126" |
4982 | + style="stop-color:#0f1112;stop-opacity:1" |
4983 | + offset="1" /> |
4984 | + </linearGradient> |
4985 | + <radialGradient |
4986 | + cx="529.39941" |
4987 | + cy="95.381569" |
4988 | + r="74.907745" |
4989 | + fx="529.39941" |
4990 | + fy="95.381569" |
4991 | + id="radialGradient5829" |
4992 | + xlink:href="#linearGradient26120" |
4993 | + gradientUnits="userSpaceOnUse" |
4994 | + gradientTransform="matrix(0,0.10037161,-0.10095912,0,39.629636,-21.627207)" /> |
4995 | + <linearGradient |
4996 | + x1="469.35895" |
4997 | + y1="126.83501" |
4998 | + x2="280.0184" |
4999 | + y2="225.83026" |
5000 | + id="linearGradient5831" |
The diff has been truncated for viewing.