source: trunk/www.guidonia.net/wp/wp-content/themes/facebook/single.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 2.2 KB
Line 
1<?php get_header(); ?>
2<!--#content:start-->
3 <div id="content">
4
5 <?php // adsense google per ogni articolo
6 ?>
7 <center><script type="text/javascript"><!--
8 google_ad_client = "pub-9331412477710099";
9 /* 468x60, creato 08/09/09 guidonia news */
10 google_ad_slot = "5754872158";
11 google_ad_width = 468;
12 google_ad_height = 60;
13 //-->
14 </script>
15 <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
16 </script></center>
17
18
19
20
21 <?php if (have_posts()) : ?>
22 <?php while (have_posts()) : the_post(); ?>
23 <div class="entry" id="post-<?php the_ID(); ?>">
24 <?php
25
26 if(!!get_option('crybook_aside_cat') and in_category(get_option('crybook_aside_cat'))) : ?>
27 <p><strong><a href="<?php the_permalink() ?>"><?php echo $post->post_title; ?></a></strong> &mdash; <?php echo $post->post_content; ?> <span class="aside-date"><?php the_date(); ?></span></p>
28 <div class="meta-footer">
29 <ul>
30 <?php edit_post_link(__('Edit'), '<li>', '</li>'); ?>
31 </ul>
32 <div class="clear-left"></div>
33 </div>
34
35 <?php else : ?>
36 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
37 <p class="meta-header"><?php _e("Ricevuto il"); ?> <?php the_time('d F , Y') ?> in <?php the_category(',') ?> da <?php the_author() ?> <?php edit_post_link(__('<span class="edit">Edit</a>')); ?></p>
38 <?php
39
40 the_content(__(''));
41
42 ?>
43
44 <div class="meta-footer">
45 <ul>
46 <?php edit_post_link(__('Edit'), '<li>', '</li>'); ?>
47 </ul>
48 <div class="clear-left"></div>
49 </div>
50 <?php endif; ?>
51
52 </div>
53
54 <?php comments_template(); ?>
55
56 <?php endwhile; ?>
57 <?php else: ?>
58 <p>Sorry, nessun post con questo criterio.</p>
59 <?php endif; ?>
60
61 </div>
62<!--#content:end-->
63<?php get_sidebar(); ?>
64<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.