csdn 代码泄漏

http://www.csdn.net/rollingnews.html 

csdn 代码泄漏_第1张图片

<div class="content" style="padding:15px 0 0;">
		<div class="left">
			<h1 class="tit_3"><span class="fr"><a href="/rss_rollingnews.html" target="_blank" class="rss">订阅本页RSS</a></span><a href="/rollingnews.html">滚动</a></h1>

			<div class="news_list" id="news_list">	
			<cms:arclist regionid="6d3f8b3b-77ea-4457-aef6-d63ae849eea8" pager="1" pagesize="70" titlelen="100" infolen="390">
			</cms:arclist>
			<?php  $data=$cc2066c526cebd25e0bdcbfcdb4058b73["contents"] ;
				foreach($data as $key=>$row){
					$cc2066c526cebd25e0bdcbfcdb4058b73["contents"][$key]["createtime"]=cdate($row["createtime"]);		
					$cc2066c526cebd25e0bdcbfcdb4058b73["contents"][$key]["time"]=date("Y-m-d",$row["createtime"]);						
			}
			$all=$cc2066c526cebd25e0bdcbfcdb4058b73["contents"];	
			$dataarray = array();
				$i = 0;
				foreach($all as $key=>$value){
				$dataarray[$value['time']][$i]['id'] = $value['id'];
				$dataarray[$value['time']][$i]['name'] = $value['name'];
				$dataarray[$value['time']][$i]['author'] = $value['author'];
				//$dataarray[$value['time']][$i]['shorttitle'] = $value['shorttitle'];
				$dataarray[$value['time']][$i]['title'] = $value['title'];
				$dataarray[$value['time']][$i]['imageurl'] = $value['imageurl'];
				$dataarray[$value['time']][$i]['createtime'] = $value['createtime'];
				$dataarray[$value['time']][$i]['lastupdatetime'] = $value['lastupdatetime'];
				$dataarray[$value['time']][$i]['description'] = $value['description'];
				//$dataarray[$value['time']][$i]['click'] = $value['click'];
				//$dataarray[$value['time']][$i]['source'] = $value['source'];
		 	    //$dataarray[$value['time']][$i]['keywords'] = $value['keywords'];
				//$dataarray[$value['time']][$i]['columnname'] = $value['columnname'];
				//$dataarray[$value['time']][$i]['commentcount'] = $value['commentcount'];
				//$dataarray[$value['time']][$i]['filename'] = $value['filename'];
			    $dataarray[$value['time']][$i]['link'] = $value['link'];
				$dataarray[$value['time']][$i]['time'] = $value['time'];
				$i++;
				} 
			 ?> 		
			 <?php //var_dump($dataarray['2012-11-23']); ?>	 
			 <?php foreach($dataarray as $key=>$value){  ?>

				<dl>
				<dt><?php echo $key; ?></dt>
				<dd>
					<ul>
				<?php foreach($value as $k=>$val): ?>
				
					<?php if($val['time'] == $key): ?>
					<li>
						<span class="time"><?php  echo $val['createtime'] ;?></span><a target="_blank"   href="<?php  echo $val['link'] ;?>"  title='<?php echo $val['title']?>'><?php  echo $val['title'] ;?></a>
					</li>
					<?php endif; ?>
					
				<?php endforeach; ?>
				</ul>
				</dd>
				</dl>
				    
			 <?php  }  ?>
			</div>  
			<div class="page_nav">
				<cms:pager>
			</div>
			
			
		</div>


你可能感兴趣的:(csdn 代码泄漏)