ASong2U_Web/wp-content/themes/score/social.php

63 lines
3.8 KiB
PHP

<!--Begin Social Wrapper-->
<div id="social-wrapper">
<!--Begin Scroller Content-->
<?php if($theme_scroller_display != "Disable") { ?>
<div id="scroller">
<?php if($theme_scroller_title) { ?><span id="scroller-title"><?php echo do_shortcode($theme_scroller_title); ?><span class="scroller-bullet">&rsaquo;&rsaquo;</span></span><?php } ?>
<?php if($theme_scroller_display == "Scrolling") { ?>
<marquee id="scroller-marquee" direction="left" behavior="scroll" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=8">
<?php } else { ?>
<span id="scroller-marquee">
<?php } ?>
<?php if($theme_scroller_text) { ?><span id="scroller-text"><?php echo stripslashes(do_shortcode($theme_scroller_text)); ?></span><?php } ?>
<?php query_posts("cat=$theme_scroller_cats&posts_per_page=$theme_scroller_posts"); if (have_posts()) : while (have_posts()) : the_post(); ?><span class="scroller-bullet">&#8226;</span><a href="<?php the_permalink(); ?>" title="<?php bloginfo('name'); ?>"><?php the_title(); ?></a><?php endwhile; endif; wp_reset_query(); ?>
<?php if($theme_scroller_display == "Scrolling") { ?>
</marquee>
<?php } else { ?>
</span>
<?php } ?>
</div>
<?php } ?>
<!--End Scroller Content-->
<!--Begin Social Icons-->
<?php if($theme_rss_button == "0" OR $theme_twitter OR $theme_facebook OR $theme_digg OR $theme_delicious OR $theme_dribbble OR $theme_youtube OR $theme_vimeo OR $theme_linkedin OR $theme_googleplus) { ?>
<div id="social-icons">
<?php if($theme_rss_button == "1") {} else { ?><a href="<?php if($theme_rss) { ?><?php echo($theme_rss); ?><?php } else { ?><?php bloginfo('rss2_url'); ?><?php } ?>" class="rss-icon" title="<?php _e('RSS Feed', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_twitter) { ?><a href="<?php echo $theme_twitter; ?>" class="twitter-icon" title="<?php _e('Twitter', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_facebook) { ?><a href="<?php echo $theme_facebook; ?>" class="facebook-icon" title="<?php _e('Facebook', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_digg) { ?><a href="<?php echo $theme_digg; ?>" class="digg-icon" title="<?php _e('Digg', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_delicious) { ?><a href="<?php echo $theme_delicious; ?>" class="delicious-icon" title="<?php _e('Delicious', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_dribbble) { ?><a href="<?php echo $theme_dribbble; ?>" class="dribbble-icon" title="<?php _e('Dribbble', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_youtube) { ?><a href="<?php echo $theme_youtube; ?>" class="youtube-icon" title="<?php _e('YouTube', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_vimeo) { ?><a href="<?php echo $theme_vimeo; ?>" class="vimeo-icon" title="<?php _e('Vimeo', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_linkedin) { ?><a href="<?php echo $theme_linkedin; ?>" class="linkedin-icon" title="<?php _e('LinkedIn', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php if($theme_googleplus) { ?><a href="<?php echo $theme_googleplus; ?>" class="googleplus-icon" title="<?php _e('Google+', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
<?php echo stripslashes($theme_additional_social_icons); ?>
</div>
<?php } ?>
<!--End Social Icons-->
</div>
<!--End Social Wrapper-->