예제 #1
0
     $html = '/' . $dir . '/index.html';
 } else {
     $html = '/' . $dir . '/index_' . ($ii + 1) . '.html';
 }
 $MyArticle = new Article();
 $MyArticle->CateId = $cateid_list;
 $cateList = $MyArticle->getArticListDate();
 /*
 			显示前后分页
 			非空显示
 			为空隐藏
 			//*/
 $pagenum = $pagenum_up = $ii + 1;
 //分页
 //$splitpage=addslashes(SplitPageFront($recordcount, $pagenum, $pagesize, 10));
 $splitpage = SplitPageFront($recordcount, $pagenum, $pagesize, 10);
 /*
 //文章列表
 if ($kind==0){
 //			$articlelist=addslashes(getArticleList($id, $pagesize, 70, 'id', 'DESC', 0, 3, 1, $ii*$pagesize, 0, 0, 0, 0, 1));
 	$articlelist=addslashes(getArticleList($cateid_list, $pagesize, 70, 'id', 'DESC', 0, 3, 1, $ii*$pagesize, 0, 0, 0, 0, 1));
 //				echo "<hr>文<hr>";
 }elseif($kind==1){
 	$articlelist=addslashes(getArticlePicList($cateid_list, $pagesize, 70, 'id', 'DESC', 80, 60, 1, 0, 3, 0, 0, $ii*$pagesize, 0, 0));
 //				echo "<hr>图文<hr>";
 }
 */
 //文章列表SEO
 //$articlelist_seo=str_replace('\"', '"', $articlelist.$splitpage.$navbar);
 /*//
 		echo "<hr>";
예제 #2
0
" alt="<?php 
        echo $tuan['title'];
        ?>
" /><h2><?php 
        echo subString($tuan['title'], 22);
        ?>
</h2><p>现价:<?php 
        echo $tuan['price'];
        ?>
元</p></a>
		<?php 
    }
}
?>
  </div>
    
  <div class="clear"></div>
  <p class="page">
  <?php 
echo SplitPageFront($recordcount, $pagenum, $pagesize);
?>
  (共<?php 
echo round($recordcount / $pagesize);
?>
页)</span></p>
  <div class="clear"></div>
</div>
<div id="footer">Copyright (C) 2010 Soutuan8 Inc. All rights reserved. </div>
<div style="visibility: hidden;"><script language="javascript" type="text/javascript" src="http://js.users.51.la/3895112.js"></script></div>
</body>
</html>