Location: PHPKode > projects > Gregarius > gregarius/themes/default/mobile/item.php
<?php
if (!isset($GLOBALS['__item__idx__'])) {
	$GLOBALS['__item__idx__']=0;
}
$cls = $GLOBALS['__item__idx__']++ % 2 ? 'e':'o';
?>
<div class="item <?php echo $cls; ?>">
<h4><a href="<?php
  $url = rss_item_url();
  if (substr($url,0,4) == 'http') {
    echo $url;
  } else {
    echo rss_item_pl_url();
  }
?>"><?php echo rss_item_title(); 
?></a></h4>
<h5><?php echo rss_item_date(); ?> <?php echo rss_item_author(); ?></h5>
<?php if (rss_item_has_enclosure()) { ?>
<h5><?php echo __('Enclosure:'); ?>&nbsp;[<a href="<?php echo rss_item_enclosure(); ?>"><?php echo __('download'); ?></a>]</h5>
<?php } ?>
<?php	if (rss_item_display_tags() && count($GLOBALS['rss']->currentItem->tags)) { ?>
<h5><a href="<?php echo rss_item_tagslink(); ?>"><?php echo __('Tags'); ?></a>:&nbsp;<span><?php echo rss_item_tags(); ?></span></h5>
<?php } ?>
<div class="content">
<?php echo rss_item_content(); ?>

<?php if(!hidePrivate()) { ?>
<div class="mobileform">
<label for="it_<?php print(rss_item_id()); ?>">State:</label>
<select id="it_<?php print(rss_item_id()); ?>" name="<?php print(rss_item_id()); ?>">
	<option value="mobile_read" <?php 
		if(!$GLOBALS['rss'] -> currentItem -> isSticky ) { 
			echo "selected=\"selected\""; 
		} ?>><?php print(__('Read')); ?></option>
	<option value="mobile_unread"><?php print(__('Unread')); ?></option>
	<option value="mobile_sticky" 	<?php
		  if( $GLOBALS['rss'] -> currentItem -> isSticky ) {
			echo "selected=\"selected\""; 
		  }
		?>><?php print(__('Sticky')); ?></option>
	<option value="mobile_flag" <?php
			if($GLOBALS['rss'] -> currentItem -> isFlag) {
				echo "selected=\"selected\"";
			}
		?>><?php print(__('Flagged')); ?></option>
</select>
</div>
<?php } ?>
</div>
</div>
Return current item: Gregarius