SHOW:
|
|
- or go back to the newest paste.
1 | <?php get_header(); ?> | |
2 | <div class="contentLayout"> | |
3 | <div class="content"> | |
4 | <div class="breadcrumb"> | |
5 | <?php | |
6 | if(function_exists('bcn_display')) | |
7 | { | |
8 | bcn_display(); | |
9 | } | |
10 | ?> | |
11 | </div> | |
12 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
13 | <?php | |
14 | $prev_link = get_previous_post_link('« %link'); | |
15 | $next_link = get_next_post_link('%link »'); | |
16 | ?> | |
17 | <?php if ($prev_link || $next_link): ?> | |
18 | <div class="Post"> | |
19 | <div class="Post-body"> | |
20 | <div class="Post-inner article"> | |
21 | ||
22 | <div class="PostContent"> | |
23 | ||
24 | <div class="navigation"> | |
25 | <div class="alignleft"><?php echo $prev_link; ?></div> | |
26 | <div class="alignright"><?php echo $next_link; ?></div> | |
27 | </div> | |
28 | ||
29 | </div> | |
30 | <div class="cleared"></div> | |
31 | ||
32 | ||
33 | </div> | |
34 | ||
35 | </div> | |
36 | </div> | |
37 | ||
38 | <?php endif; ?> | |
39 | <div class="Post"> | |
40 | <div class="Post-body"> | |
41 | <div class="Post-inner article"> | |
42 | <h2 class="PostHeaderIcon-wrapper"> | |
43 | <img src="<?php bloginfo('template_url'); ?>/images/PostHeaderIcon.png" width="32" height="32" alt="PostHeaderIcon" /> | |
44 | <span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"> | |
45 | <?php the_title(); ?> | |
46 | </a></span> | |
47 | </h2> | |
48 | <?php $icons = array(); ?> | |
49 | <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('F jS, Y', 'kubrick')) ?> | |
50 | <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="20" height="20" alt="PostAuthorIcon" /> | |
51 | <?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php _e('Author', 'kubrick'); ?>"><?php the_author() ?></a> | |
52 | <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (current_user_can('edit_post', $post->ID)): ?><?php ob_start(); ?><?php edit_post_link(__('Edit', 'kubrick'), ''); ?> | |
53 | <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?> | |
54 | <div class="PostHeaderIcons metadata-icons"> | |
55 | <?php echo implode(' | ', $icons); ?> | |
56 | ||
57 | </div> | |
58 | <?php endif; ?> | |
59 | <div class="PostContent"> | |
60 | <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?> | |
61 | - | <!-- Яндекс.Директ --> |
61 | + | /div> |
62 | - | <script type="text/javascript"> |
62 | + | |
63 | - | //<![CDATA[ |
63 | + | |
64 | - | yandex_partner_id = 62389; |
64 | + | |
65 | - | yandex_site_bg_color = 'FFFFFF'; |
65 | + | |
66 | - | yandex_site_charset = 'windows-1251'; |
66 | + | |
67 | - | yandex_ad_format = 'direct'; |
67 | + | |
68 | - | yandex_font_size = 0.9; |
68 | + | |
69 | - | yandex_direct_type = 'flat'; |
69 | + | |
70 | - | yandex_direct_limit = 2; |
70 | + | |
71 | - | yandex_direct_header_bg_color = 'CC9966'; |
71 | + | |
72 | - | yandex_direct_title_color = '996600'; |
72 | + | |
73 | - | yandex_direct_url_color = '996600'; |
73 | + | |
74 | - | yandex_direct_all_color = '000000'; |
74 | + | |
75 | - | yandex_direct_text_color = '000000'; |
75 | + | |
76 | - | yandex_direct_hover_color = 'CC9966'; |
76 | + | |
77 | - | yandex_direct_favicon = true; |
77 | + | |
78 | - | document.write('<sc'+'ript type="text/javascript" src="http://an.yandex.ru/system/context.js"></sc'+'ript>'); |
78 | + | |
79 | - | //]]> |
79 | + | |
80 | - | </script> |
80 | + | |
81 | ||
82 | </div> | |
83 | ||
84 | </div> | |
85 | </div> | |
86 | ||
87 | <?php if ($prev_link || $next_link): ?> | |
88 | <div class="Post"> | |
89 | <div class="Post-body"> | |
90 | <div class="Post-inner article"> | |
91 | ||
92 | <div class="PostContent"> | |
93 | ||
94 | <div class="navigation"> | |
95 | <div class="alignleft"><?php echo $prev_link; ?></div> | |
96 | <div class="alignright"><?php echo $next_link; ?></div> | |
97 | </div> | |
98 | ||
99 | </div> | |
100 | <div class="cleared"></div> | |
101 | ||
102 | ||
103 | </div> | |
104 | ||
105 | </div> | |
106 | </div> | |
107 | ||
108 | <?php endif; ?> | |
109 | <?php comments_template(); ?> | |
110 | <?php endwhile; ?> | |
111 | <?php else: ?> | |
112 | <p><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></p> | |
113 | <?php endif; ?> | |
114 | ||
115 | </div> | |
116 | <div class="sidebar1"> | |
117 | <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> | |
118 | </div> | |
119 | ||
120 | </div> | |
121 | <div class="cleared"></div> | |
122 | ||
123 | <?php get_footer(); ?> |