[php] <?php $showvid = get_option('timecafe_showvid'); if($showvid): ?>
<div id="video">
<p>
<?php $timecafe_video = get_option('timecafe_video'); echo stripslashes($timecafe_video); ?>
</p>
</div>
<div id="sidebarfeat">
<h2>Ultimo articolo dallo <?php $timecafe_featured5 = get_option('timecafe_featured5'); echo stripslashes($timecafe_featured5); ?>
</h2>
<p><a href="www .sito" target="_blank"><img src=" //h24notizie. com/" align="aligncenter" width="250" height="200" border="0" /></a> </p>
<?php $timecafe_featured5 = get_option('timecafe_featured5'); ?><?php $timecafe_featpost4 = get_option('timecafe_featpost4'); ?>
<?php $recent = new WP_Query('category_name=' . $timecafe_featured5 . '&showposts=' . $timecafe_featpost4 . ''); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "Thumbnail", true) ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img class="sidepostimg" src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img class="sidepostimg" src="<?php bloginfo('template_url'); ?>/images/Thumbnail.png" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
<?php the_content_limit(50, " read more "); ?><div class="clear"></div>
<?php endwhile; ?>
<div class="clear"></div>
</div>
<p>
<?php endif; ?>
<a href="facebook" target="_blank"><img src="sito"></a>
</p>
<div id="homesidebar">
<?php global $user_ID, $user_identity, $user_level ?>
<?php if ( $user_level >= 1 ) : ?>
<h2>Admin Panel</h2>
<ul>
<li><a href="<?php bloginfo('url') ?>/wp-admin/themes.php?page=functions.php">Theme Settings</a></li>
<li><a href="<?php bloginfo('url') ?>/wp-admin/">Go to dashboard</a></li>
<li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">Make new post</a></li>
<li><a href="<?php bloginfo('url') ?>/wp-admin/page-new.php">Make new page</a></li>
<li><a href="<?php bloginfo('url') ?>/wp-admin/profile.php">View profile</a></li>
</ul>
<?php endif // $user_level >= 1 ?>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('HomePage Sidebar') ) : else : ?>
<h2>Latest Articles</h2>
<ul>
<?php get_archives('postbypost', 10); ?>
</ul>
<h2>Links</h2>
<ul>
<?php get_links(-1, '<li>', '</li>', ' - '); ?>
</ul>
<?php endif; ?>
</div>[/php]