Your IP : 216.73.216.240


Current Path : /home/juvelize/www/administrator/components/com_myrssreader/views/rsslist/tmpl/
Upload File :
Current File : /home/juvelize/www/administrator/components/com_myrssreader/views/rsslist/tmpl/default.php

<?php 
/**
* @package      My RSS Reader
* @copyright    Copyright (C) 2010 FalsinSoft. All rights reserved.
* @license      GNU/GPL
* @website      http://falsinsoft-joomla.blogspot.com
* @email        falsinsoft@gmail.com
* 
*/

defined('_JEXEC') or die('Restricted access'); 

JHTML::_('behavior.tooltip');
JHTML::_('script', 'progressbar.js', 'administrator/components/com_myrssreader/js/');
JHTML::_('script', 'rss_checker.js', 'administrator/components/com_myrssreader/js/');

?>    

<script type="text/javascript">
RSSList = [<?php
for($n = count($this->rss_full_id_list), $i = 0; $i < $n; $i++)
{
	echo $this->rss_full_id_list[$i];
	if(($i+1) < $n) echo ",";
}
?>];
MaxFeeds = <?php echo $this->max_feeds_per_rss; ?>;
RootPath = '<?php echo JURI::root(); ?>';
ErrorMessage = '<?php echo JText::_('COM_MYRSSREADER_RSSLIST_ERRORMESSAGE'); ?>';
</script>

<form action="index.php" method="post" name="adminForm">

<table width="100%"><tr>
<th align="left" width="100">
<button type="button" id="check_all_rss_button" style="width:200px; font-size:13px;" onclick="CheckAllRSS();">
<?php echo JText::_('COM_MYRSSREADER_RSSLIST_CHECKALLRSSNOW'); ?>
</button>
</th>
<th width="10"></th>
<th align="left">
<span id="check_all_rss_progress"></span>
</th>
<th align="right">
<?php echo $this->category_selection; ?>
</th>
</tr></table>

<br />

<div id="editcell">
    <table class="adminlist" width="100%">
    <thead>
    <tr>
    <th width="20">
        <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->rss_list); ?>);" />
    </th>
    <th>
        <?php echo JText::_('COM_MYRSSREADER_RSSLIST_RSSLIST'); ?>
    </th>
    <th width="100">
        <?php echo JText::_('COM_MYRSSREADER_RSSLIST_CATEGORY'); ?>
    </th> 
    <th width="20">
        <?php echo JText::_('COM_MYRSSREADER_PUBLISHED'); ?>
    </th> 
    </tr>         
    </thead>
	<tbody>
    <?php
    for($i = 0, $n = count($this->rss_list); $i < $n; $i++)
    {
        $rss_item = $this->rss_list[$i];
					
        $checked    = JHTML::_('grid.checkedout', $rss_item, $i);
        $published  = JHTML::_('grid.published', $rss_item, $i, 'tick.png', 'publish_x.png', 'rss_');
		        
        echo "\t<tr>\n";
        echo "\t<td>".$checked."</td>\n";
        echo "\t<td><a href=\"index.php?option=com_myrssreader&task=rss_edit&cid[]=".$rss_item->id."\" title=\"".JText::_('Edit RSS')."\">";
		echo $rss_item->title;
		echo "</a></td>\n";        
		echo "\t<td align=\"center\" nowrap=\"nowrap\">".$rss_item->category."</td>\n";
        echo "\t<td align=\"center\">".$published."</td>\n";
        echo "\t</tr>\n";
    }
    ?>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="10">
				<?php echo $this->pagination->getListFooter(); ?>
			</td>
		</tr>
	</tfoot>
	</table>
	<?php echo $this->model->ShowDonationAdvise(); ?>
</div>

<input type="hidden" name="option" value="com_myrssreader" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHTML::_('form.token'); ?>

</form>