<?php
get_header();
	global $post;  
    $weblink_url = get_post_meta( $post->ID, 'weblink_url', true ); 
	$weblink_desc = get_post_meta( $post->ID, 'weblink_desc', true );
?>
<div itemscope="" itemtype="http://schema.org/Article" class="stories" id="post-<?php the_ID(); ?>" >

			<div class="story_data">
				<div class="title" id="title-1974">
		<span itemprop="name">
		
			<h2 dir="ltr">
				<a href="<?php echo $weblink_url; ?>" rel="nofollow"><?php the_title(); ?></a>
			</h2>
		</span>	
			<span class="subtext">
				<span id="ls_avatar-1974"><img itemprop="image" src="h<?php echo plugin_dir_url( __FILE__ ) . 'img/avtar.png'; ?>" style="display : inline" width="32px" height="32px" alt="<?php the_author(); ?>" title="<?php the_author(); ?>"></span>				<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
				<span itemprop="name">
				<?php
				the_post();
				global $post;
				$a_id=$post->post_author;
				the_author_meta( 'user_nicename', $a_id ); ?>
				</span></span>
				<i class="fa fa-clock"></i>
				<span itemprop="datePublished"> <?php the_date(); ?></span>
				
				<i class="fa fa-folder"></i> 
					<?php $terms = wp_get_post_terms( $post->ID, array( 'category_weblink') ); ?>
						<?php
						$index = 0;
						foreach ( $terms as $term ) : 
						if($index) echo " , ";
						?>

							<p>
							<?php echo $term->name; $index = $index + 1 ;?></p>
					<?php endforeach; ?>
                    				
															<i class="fa fa-tag"></i>
																					<?php $terms = wp_get_post_terms( $post->ID, array( 'tag_weblink') ); ?>
																					<?php
																					$index = 0;
																					foreach ( $terms as $term ) : 
																					if($index) echo " , ";
																					?>
																					<p>
																						<?php echo $term->name; $index = $index + 1 ;?></p>
																				<?php endforeach; ?>
																				<!--
																					<a href="/search.php?search=uv+gullas&amp;tag=true" class="tag">uv gullas</a>
																												<a href="/search.php?search=college&amp;tag=true" class="tag">college</a>
																												<a href="/search.php?search=of+medicine&amp;tag=true" class="tag">of medicine</a>
																												<a href="/search.php?search=medical&amp;tag=true" class="tag">medical</a> -->
																										
									<i class="fa fa-globe"></i>
					<a href="<?php echo $weblink_url; ?>" rel="nofollow"><?php echo $weblink_url; ?></a>

												&nbsp;
												<!--
				<span id="ls_comments_url-1974">
											<i class="fa fa-comment"></i> <span id="linksummaryDiscuss"><a href="/story.php?title=mbbs-philippines-uv-gullas-college-of-medicine#discuss" class="comments">Discuss</a>&nbsp;</span>
																			</span> 
																			-->
			</span>
		</div><!-- /.title -->
	</div> <!-- /.story_data -->
	<span itemprop="articleBody">
	<div class="storycontent">
									
			<div class="news-body-text" id="ls_contents-1974" dir="ltr">
															
				<?php echo $weblink_desc; ?>
				<div class="clearboth"></div> 
                </div>
						</div><!-- /.storycontent -->
	</span>
	</div>
<?php
get_footer();
?>
	