示例#1
0
			$desc = str_replace(' ','',func::stripHTML($readFeed['description']));				
			if(empty($desc)) {
				$desc = '<span class="empty">'._t('설명이 없습니다.').'</span>';
			}						
			$posts = FeedItem::getFeedItemsByFeedId($read,10);					
?>
<div class="wrap">
	<div class="read_item read_item1">
		<?php echo drawAdminBoxBegin('item_wrap');?>
			<div id="read_item1" class="item">
				<h2><?php echo $readFeed['title'];?></h2>
				<div class="extra">		
				
					<?php echo _t('수집일');?> : <span class="date"><?php echo date('y.m.d H:i:s', $readFeed['created']);?></span> <span class="date_text">(<?php echo $date;?>)</span> &nbsp;
					<?php echo _t('주소');?> : <a href="<?php echo $readFeed['blogURL'];?>" target="_blank"><?php echo Func::longURLtoShort($readFeed['blogURL'],35,20,15);?></a> <br />

					<?php echo _t('마지막업데이트');?> : <span class="date"><?php echo date('y.m.d H:i:s', $readFeed['lastUpdate']);?></span> <span class="date_text">(<?php echo $date2;?>)</span> 
					&nbsp;
					<?php echo _t('수집된 글수');?> :  <span class="count"><?php echo $readFeed['feedCount'];?></span>
				</div>
				<div class="data">	
<?php
			if($noVerifier) {
?>
				<div class="verifier_wrap">
					<div class="no_verifier">
						<?php echo _t('이 블로그는 현재 인증이 되지 않은 블로그입니다.<br />인증되지 않은 블로그는 업데이트 되지않습니다.');?>
					</div>

					<div class="verifier_note">
示例#2
0
			$date = Func::dateToString($readFeedItem['written']);
			$medias = Media::getMediasByFeedItemId($readFeedItem['id']);
			$desc = str_replace('&nbsp;','',func::stripHTML($readFeedItem['description']));				
			if(empty($desc)) {
				$desc = '<span class="empty">'._t('내용이 비어있거나 HTML로만 작성되어 있습니다.').'</span>';
			}							
?>
<div class="wrap">
	<div class="read_item read_item1">
		<?php echo drawAdminBoxBegin('item_wrap');?>
			<div id="read_item1" class="item">
				<h2><?php echo $readFeedItem['title'];?></h2>
				<div class="extra">		
				
					<?php echo _t('수집일');?> : <span class="date"><?php echo date('y.m.d H:i:s', $readFeedItem['written']);?></span> <span class="date_text">(<?php echo $date;?>)</span> &nbsp;
					<?php echo _t('주소');?> : <a href="<?php echo $readFeedItem['permalink'];?>" target="_blank"><?php echo Func::longURLtoShort($readFeedItem['permalink'],34,24,10);?></a>
				</div>
				<div class="data">	
<?php
			if(count($medias)>0) {
?>
					<div class="thumbnail">
<?php
					foreach($medias as $media) {
						$thumbnailFile = '';
						if ((substr($media['thumbnail'], 0, 7) != 'http://')) {
							if (!is_file(ROOT . '/cache/thumbnail/' . $media['thumbnail'])) { 
								$thumbnailFile = '';
							} else {
								$thumbnailFile = str_replace('/cache/thumbnail//', '/cache/thumbnail/', $service['path']. '/cache/thumbnail/'.$media['thumbnail']);			
							}