PATH:
home
/
letacommog
/
letaweb
/
admin
/
widgets
/
views
/
modules
<?php Yii::import('application.classes.rss.idna_convert', true); Yii::import('application.classes.rss.simplepie', true); $url = $this->url; $numberdisplay = (int) $this->display; $cache_path = Yii::getPathofAlias('application_site.rss_cache'); if(!@file_exists($cache_path)) @mkdir($cache_path); $feed = new SimplePie($url, $cache_path); try { $feed->handle_content_type(); $i = $numberdisplay; if(isset($feed->error)) { ?> <div class="alert alert-warning"> <?php echo $feed->error; ?> </div> <?php } else { $feeds = $feed->get_items(0, $i); if(sizeof($feeds) > 0) { ?> <div class="feed" url="<?php echo $this->url;?>" display="<?php echo $this->display;?>"> <?php foreach ($feeds as $item):?> <div class="feeditem"> <div class="title" ><a href="<?php echo $item->get_permalink(); ?>" target="_blank"><?php echo $item->get_title(); ?></a></div> <div class="feedcontent"> <?php echo strip_tags($item->get_content()); ?> </div> </div> <?php endforeach; ?> </div> <?php } else{ ?> <div class="alert alert-warning"> <?php echo Yii::t('No results found.'); ?> </div> <?php } } } catch(Exception $e) { ?> <div class="alert alert-warning"> <?php echo $e->getMessage(); ?> </div> <?php } ?>
[+]
..
[-] contactform.php
[edit]
[-] ihover.php
[edit]
[-] modal.php
[edit]
[-] news_slideshow.php
[edit]
[-] news_gallery_item1.php
[edit]
[-] facebookvideo.php
[edit]
[-] social_buttons.php
[edit]
[-] share_buttons_item0.php
[edit]
[-] audio_player.php
[edit]
[-] mini_news_list_item5.php
[edit]
[-] simplelist.php
[edit]
[+]
contactform
[-] spacer.php
[edit]
[-] newsdetail_item3.php
[edit]
[-] share_buttons.php
[edit]
[-] cycleslider.php
[edit]
[-] facebookcomment.php
[edit]
[-] video.php
[edit]
[-] linklist.php
[edit]
[-] newslist.php
[edit]
[-] newsdetail_item2.php
[edit]
[-] facebooklike.php
[edit]
[-] newscategory.php
[edit]
[-] newscomment.php
[edit]
[-] mini_news_list_item4.php
[edit]
[-] recentnews_item.php
[edit]
[-] news_gallery_item0.php
[edit]
[-] share_buttons_item1.php
[edit]
[-] share_buttons_item6.php
[edit]
[-] image.php
[edit]
[-] pricetable.php
[edit]
[-] gallery.php
[edit]
[-] menu_functions.php
[edit]
[-] youtube.php
[edit]
[-] newscomment_item.php
[edit]
[-] statcounter.php
[edit]
[-] icon.php
[edit]
[-] facebookpost.php
[edit]
[-] facebookpage.php
[edit]
[+]
script
[+]
productlist
[-] menu.php
[edit]
[-] flash.php
[edit]
[-] typedtext.php
[edit]
[-] news_monthlist.php
[edit]
[-] countdown.php
[edit]
[-] carousel.php
[edit]
[+]
newslist
[-] iframe.php
[edit]
[-] newsdetail_item1.php
[edit]
[-] linklist_functions.php
[edit]
[-] rssfeed.php
[edit]
[-] navbar.php
[edit]
[-] embed.php
[edit]
[-] infobox.php
[edit]
[-] common_functions.php
[edit]
[-] infobanner.php
[edit]
[-] html.php
[edit]
[-] share_buttons_item5.php
[edit]
[-] text.php
[edit]
[-] share_buttons_item2.php
[edit]
[-] newsdetail.php
[edit]
[-] title.php
[edit]
[-] mailchimp.php
[edit]
[-] recentnews.php
[edit]
[-] testmodule.php
[edit]
[-] slideshow.php
[edit]
[-] button.php
[edit]
[-] newscomment_form.php
[edit]
[-] googlemap.php
[edit]
[-] backtotop.php
[edit]
[-] alert.php
[edit]
[-] fancytext.php
[edit]
[-] tagcloud.php
[edit]
[-] facebooksend.php
[edit]
[-] ecommerce_top_bar.php
[edit]
[-] news_gallery_item2.php
[edit]
[-] share_buttons_item3.php
[edit]
[-] newscomment_reply_form.php
[edit]
[-] share_buttons_item4.php
[edit]
[-] infotable.php
[edit]
[-] progress_bar.php
[edit]
[-] newsdetail_item0.php
[edit]
[-] line.php
[edit]
[-] news_gallery.php
[edit]