<ul class="listxrss">
	<?php if($this->newsRss) {  ?>
		<?php for($i=0;$i<$this->countResult;$i++) {
			if($this->newsRss[$i]) {
				?>
	<li>
		<a href="<?php echo $this->newsRss[$i]->link; ?>" title="<?php echo  $this->newsRss[$i]->title; ?>" class="listtitle" target="_blank">
			<?php echo  $this->newsRss[$i]->title; ?>
		</a>
		<span>
			<?php echo  $this->newsRss[$i]->pubDate; ?>
		</span>
		<p>
			<?php echo  $this->newsRss[$i]->description; ?>
		</p>
	</li>
			<?php }
		} ?>
	<?php } elseif($this->atomRss) {  ?>
		<?php for($i=0;$i<$this->countResult;$i++) {
			if($this->atomRss[$i]) {
				?>
	<li>
		<a href="<?php echo $this->atomRss[$i]['link']; ?>" title="<?php echo  $this->atomRss[$i]['title']; ?>" class="listtitle" target="_blank">
			<?php echo  $this->atomRss[$i]['title']; ?>
		</a>
		<span>
			<?php echo  $this->atomRss[$i]['pubDate']; ?>
		</span>
		<p>
			<?php echo  $this->atomRss[$i]['content']; ?>
		</p>
	</li>
	<?php } } ?>
	
	<?php } elseif($this->calendarRss) {  ?>
		<?php for($i=0;$i<$this->countResult;$i++) {
			if($this->calendarRss[$i]) { ?>
	<li>
		<a href="<?php echo $this->calendarRss[$i]['link']; ?>" title="<?php echo  $this->calendarRss[$i]['title']; ?>" class="listtitle" target="_blank">
		<?php echo  $this->calendarRss[$i]['title']; ?>
		</a>
		<p>
		 <?php echo  $this->calendarRss[$i]['content']; ?>
		</p>
	</li>
<?php
	} } }else { ?>
	Wrong RSS URL address. Make sure you do not have "http://" or "https://" in the URL addreess.
	<?php	} ?>
</ul>

