<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2005 Joshua Dechant |
// | |
// | Portions Copyright (c) 2004 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | license@zen-cart.com so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: tpl_news_default.php v2.100 2005-02-01 dreamscape <dechantj@pop.belmont.edu>
//
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_LISTING));
?>
<div class="newslist">
<?php
// Oh no, no articles were found
if ($articlesNotFound == true) {
echo '<strong>'.TEXT_NO_NEWS_ARTICLES.'</strong>';
} else {
foreach ($article_array as $newsArticle) {
?>
<?php
if($newsArticle['articleName'] != ""){
?>
<div class="box5">
<a href="<?php echo zen_href_link(FILENAME_NEWS_ARTICLE,'article_id='.$newsArticle['articleId']) ?>">
<strong><?php echo $newsArticle['articleName']; ?></strong>
</a>
<div>
<?php echo substr($newsArticle['articleText'],0,600); ?>
<a href="<?php echo zen_href_link(FILENAME_NEWS_ARTICLE,'article_id='.$newsArticle['articleId']) ?>">más>></a>
</div>
</div>
<?php
}
?>
<?php
}
}
?>
</div>
没有合适的资源?快使用搜索试试~ 我知道了~
zen cart includes.rar
共5个文件
php:5个
5星 · 超过95%的资源 需积分: 9 17 下载量 185 浏览量
2011-09-16
09:36:54
上传
评论
收藏 5KB RAR 举报
温馨提示
includes.rarincludes.rarincludes.rarincludes.rar
资源推荐
资源详情
资源评论
收起资源包目录
includes.rar (5个子文件)
includes
templates
your_templates
templates
tpl_modules_news_list.php 2KB
template_default
templates
tpl_modules_news_list.php 3KB
extra_datafiles
news.php 2KB
modules
your_templates
news_listing.php 2KB
news_listing.php 2KB
共 5 条
- 1
资源评论
- 钱多多_1234562013-11-25不错 解决了我的问题 非常好
- flovez991002014-04-21现在找个新闻插件很难,都是乱七八糟的,难得在CSDN能找到哈
- a3420464462013-09-19不错 解决了我的问题 非常好
xubangwen2009
- 粉丝: 7
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功