Example #1
0
            <tr>
                <td style="width:105px;text-align: left;"><img src="<?php 
            echo $image->imageData->getLink(175, 100);
            ?>
" alt="image" /></td>
                <td>
                    <table>
                        <tr>
                            <td><label>Sección:<br /><?php 
            echo the_section($image->section, $image->image, $sections);
            ?>
</label></td>
                        </tr>
                        <tr>
                            <td><label>Enlace:<br /><?php 
            echo the_link($image->url, $image->image);
            ?>
</label></td>
                        </tr>
                    </table>
                </td>
                <td>&nbsp;</td>
                <td><a href="#" onclick="move('<?php 
            echo $image->image;
            ?>
', 'up', '<?php 
            echo $image->section;
            ?>
'); return false;">[&uarr;]</a></td>
                <td><a href="#" onclick="move('<?php 
            echo $image->image;
Example #2
0
        printf(_r('Favicon for %s'), get_the_feed_name());
        ?>
" style="width:16px; height:16px;" />
		<span class="time"><?php 
        the_time('format=H:i');
        ?>
</span>
		<span class="title" title="<?php 
        _e('Click to expand/collapse item');
        ?>
"><?php 
        the_title();
        ?>
</span>
		<span class="source"><a href="<?php 
        the_link();
        ?>
">&#187; <?php 
        printf(_r('Post from %s'), get_the_feed_name());
        ?>
 <img src="<?php 
        echo template_file_load('application_double.png');
        ?>
" alt="<?php 
        _e('Visit off-site link');
        ?>
" /></a></span>
<?php 
        if (has_enclosure()) {
            ?>
		<span class="enclosure"><?php 
Example #3
0
      	<?php 
if (have_link()) {
    while (have_link()) {
        the_link();
        echo '<hr size="1" color="#F1F6FB" style="margin-top: 0;margin-bottom: 0"><p align="right" dir="rtl"><span style="font-size: 8pt"><b>' . the_date() . "</b><br><br>";
        while (link_in_day()) {
            the_link_day();
            ?>

		
			
		 

<div class="span8 links ">
<img src="http://www.google.com/s2/favicons?domain=<?php 
            echo the_link();
            ?>
" width="16" height="16" class="favicons" />
<h2 itemprop="headline"><a href="<?php 
            echo the_url();
            ?>
" target="_blank" itemprop="url" rel="bookmark"><?php 
            echo the_title();
            ?>
</a></h2>
<div class="linkdetail">
<a href="links/domain/yjc.html" class="siteicon" itemprop="publisher copyrightHolder sourceOrganization provider"><?php 
            echo the_id();
            ?>
</a><a href="links/cat/5/%d9%88%db%8c%d8%af%d8%a6%d9%88%20%d9%88%20%d8%aa%d8%b5%d9%88%db%8c%d8%b1.html" class="caticon" rel="tag" itemprop="keywords">ویدئو و تصویر</a><a href="links/user/dyana.html" class="usericon" itemprop="author"> <?php 
            echo the_date();
Example #4
0
    public static function rss2()
    {
        header('Content-Type: application/rss+xml; charset=' . get_option('encoding', 'utf-8'), true);
        echo '<?xml version="1.0" encoding="' . get_option('encoding', 'utf-8') . '"?' . '>';
        ?>

<!-- Generated by Lilina/<?php 
        echo LILINA_CORE_VERSION;
        ?>
 -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	<?php 
        do_action('rss2_ns');
        ?>
>

<channel>
	<title><?php 
        echo get_option('sitename');
        ?>
</title>
	<link><?php 
        echo get_option('baseurl');
        ?>
</link>
	<description><?php 
        echo get_option('sitename');
        ?>
</description>
	<atom:link href="<?php 
        echo get_option('baseurl');
        ?>
rss.php" rel="self" type="application/rss+xml" />
	<?php 
        //Need to fix this
        ?>
	<pubDate><?php 
        echo date('D, d M Y H:i:s +0000');
        ?>
</pubDate>
	<generator>http://getlilina.org/?v=<?php 
        echo LILINA_CORE_VERSION;
        ?>
</generator>
	<language><?php 
        echo get_option('lang');
        ?>
</language>
	<?php 
        do_action('rss2_head');
        if (has_items()) {
            while (has_items()) {
                the_item();
                ?>
	<item>
		<title><![CDATA[<?php 
                the_title();
                ?>
]]></title>
		<link><?php 
                the_link();
                ?>
</link>
		<pubDate><?php 
                the_date(array('format' => 'D, d M Y H:i:s +0000'));
                ?>
</pubDate>
		<?php 
                //Not entirely accurate; uses the feed name, not the author
                ?>
		<dc:creator><?php 
                the_feed_name();
                ?>
</dc:creator>

		<guid isPermaLink="false"><?php 
                the_id();
                ?>
</guid>
		<description><![CDATA[<?php 
                the_summary();
                ?>
]]></description>
		<content:encoded><![CDATA[<?php 
                the_content();
                ?>
]]></content:encoded>
		<?php 
                do_action('rss2_item');
                ?>
	</item>
	<?php 
            }
        }
        ?>
</channel>
</rss>
<?php 
    }
Example #5
0
		<div id="content">
			<h1 id="page-title"><?php /*the_page_title();*/ ?>Hello</h1>
			<div id="content-quicklinks"><?php /* Nothing yet */ ?></div>
			<ul>
<?php
// We call it with false as a parameter to avoid incrementing the item number
if(has_items(false)) {
		while(has_items()): the_item();
?>
				<li class="feed-<?php the_feed_id(); ?> item" id="item-<?php the_id(); ?>">
					<div class="title-bar">
						<div class="main-section">
							<h3 class="title" id="title-<?php the_id(); ?>"><?php the_title(); ?></h3>
							&nbsp;
							<div class="excerpt"><p><?php the_summary(200) ?></p></div>
							<div class="read"><a href="<?php the_link(); ?>">Continue reading on the original site.</a></div>
						</div>
						<div class="secondary-section">
							<span class="feed"><?php the_feed_name() ?></span>
							<span class="date"><?php the_date('format=l d F, Y H:i'); ?></span>
						</div>
						<div class="clearer"></div>
					</div>
					<div class="content" id="content-<?php the_id(); ?>">
						<?php the_content(); ?>
					</div>
					<div class="action-bar">
						<?php action_bar('before=&after= | '); ?>
						<?php the_enclosure(); ?>
					</div>
				</li><?php