Rev | Line | |
---|
[44] | 1 | <?php
|
---|
| 2 | $feed_uri = get_option('crybook_feed_uri');
|
---|
| 3 |
|
---|
| 4 | if(!$feed_uri or $feed_uri == '') :
|
---|
| 5 | $feed_uri = get_bloginfo('rss2_url');
|
---|
| 6 | else :
|
---|
| 7 | $feed_uri = 'http://feeds.feedburner.com/' . $feed_uri;
|
---|
| 8 | endif;
|
---|
| 9 |
|
---|
| 10 | $feed_email = get_option('crybook_feed_id');
|
---|
| 11 | if($feed_email or $feed_email != '') :
|
---|
| 12 | $feed_email = " or <a href='http://www.feedburner.com/fb/a/emailverifySubmit?feedId=".$feed_email."&loc=en_US'>e-mail</a>";
|
---|
| 13 | endif;
|
---|
| 14 | ?>
|
---|
| 15 | <div id="sidebar">
|
---|
| 16 | <p id="switcher">
|
---|
| 17 | <a href="/" onclick="setActiveStyleSheet('default'); return false;" id="blue" title="Blue">Blue</a>
|
---|
| 18 | <a href="/" onclick="setActiveStyleSheet('pink'); return false;" id="pink" title="Pink">Pink</a>
|
---|
| 19 | <a href="/" onclick="setActiveStyleSheet('green'); return false;" id="green" title="Green">Green</a>
|
---|
| 20 | <a href="/" onclick="setActiveStyleSheet('purple'); return false;" id="purple" title="Purple">Purple</a>
|
---|
| 21 | <a href="/" onclick="setActiveStyleSheet('red'); return false;" id="red" title="Red">Red</a>
|
---|
| 22 | </p>
|
---|
| 23 | <div class="about box">
|
---|
| 24 | <?php query_posts('pagename=about'); ?>
|
---|
| 25 | <?php while (have_posts()) : the_post(); ?>
|
---|
| 26 | <h3><?php _e('About'); ?></h3>
|
---|
| 27 | <p><?php echo get_avatar( get_the_author_id(), '80', ''); ?> <?php echo get_option('crybook_about_site'); ?></p>
|
---|
| 28 | <div class="clear"></div>
|
---|
| 29 |
|
---|
| 30 | <?php endwhile; ?>
|
---|
| 31 | </div>
|
---|
| 32 | <div class="feeds"><?php echo get_option('crybook_feed_count'); ?><?php echo (get_option('crybook_feed_enable') === 'yes' ? '. ' : '');?>Puoi rimanere aggornato via <a href="<?php echo $feed_uri; ?>">feed rss</a><?php echo $feed_email; ?>.</div>
|
---|
| 33 |
|
---|
| 34 | <div class="col">
|
---|
| 35 | <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-left')) : ?>
|
---|
| 36 |
|
---|
| 37 | <?php endif; ?>
|
---|
| 38 | </div>
|
---|
| 39 | <div class="col2">
|
---|
| 40 | <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-right')) : ?>
|
---|
| 41 |
|
---|
| 42 | <?php endif; ?>
|
---|
| 43 | </div>
|
---|
| 44 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.