Browse Source

我的足迹

master
林一峰 7 years ago
parent
commit
ed96eb6dff
  1. 38
      app/Http/Controllers/Weixin/CartController.php
  2. 61
      app/Http/Controllers/Weixin/UserController.php
  3. 100
      app/Http/Model/UserGoodsHistory.php
  4. 20
      resources/views/home2/404.blade.php
  5. 1
      resources/views/home2/common/footer.blade.php
  6. 5
      resources/views/home2/common/header.blade.php
  7. 62
      resources/views/home2/index/category.blade.php
  8. 57
      resources/views/home2/index/category2.blade.php
  9. 60
      resources/views/home2/index/detail.blade.php
  10. 66
      resources/views/home2/index/index.blade.php
  11. 171
      resources/views/home2/index/login.blade.php
  12. 8
      resources/views/home2/index/page.blade.php
  13. 35
      resources/views/home2/index/search.blade.php
  14. 9
      resources/views/home2/index/sitemap.blade.php
  15. 62
      resources/views/home2/index/tag.blade.php
  16. 58
      resources/views/home2/index/tag2.blade.php
  17. 57
      resources/views/home2/index/tag3.blade.php
  18. 7
      resources/views/home2/index/tags.blade.php
  19. 20
      resources/views/home3/404.blade.php
  20. 1
      resources/views/home3/common/footer.blade.php
  21. 5
      resources/views/home3/common/header.blade.php
  22. 124
      resources/views/home3/index/category.blade.php
  23. 57
      resources/views/home3/index/category2.blade.php
  24. 122
      resources/views/home3/index/detail.blade.php
  25. 126
      resources/views/home3/index/index.blade.php
  26. 171
      resources/views/home3/index/login.blade.php
  27. 121
      resources/views/home3/index/page.blade.php
  28. 177
      resources/views/home3/index/product.blade.php
  29. 123
      resources/views/home3/index/productcat.blade.php
  30. 35
      resources/views/home3/index/search.blade.php
  31. 9
      resources/views/home3/index/sitemap.blade.php
  32. 62
      resources/views/home3/index/tag.blade.php
  33. 58
      resources/views/home3/index/tag2.blade.php
  34. 57
      resources/views/home3/index/tag3.blade.php
  35. 7
      resources/views/home3/index/tags.blade.php
  36. 169
      resources/views/weixin/cart/index.blade.php
  37. 4
      resources/views/weixin/common/footer.blade.php
  38. 26
      resources/views/weixin/index/index.blade.php
  39. 302
      resources/views/weixin/user/index.blade.php
  40. 35
      resources/views/weixin/user/userGoodsHistory.blade.php
  41. 15
      routes/web.php

38
app/Http/Controllers/Weixin/CartController.php

@ -0,0 +1,38 @@
<?php
namespace App\Http\Controllers\Weixin;
use App\Http\Controllers\Weixin\CommonController;
use Illuminate\Http\Request;
class CartController extends CommonController
{
public function __construct()
{
parent::__construct();
}
//商品列表
public function index(Request $request)
{
if($request->input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');}
if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');}
if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');}
if($request->input('status', '') != ''){$data['status'] = $request->input('status');}
if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');}
if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');}
if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;}
if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;}
//商品列表
$postdata = array(
'limit' => 10,
'offset' => 0
);
$url = env('APP_API_URL')."/goods_list";
$goods_list = curl_request($url,$postdata,'GET');
$data['goods_list'] = $goods_list['data']['list'];
return view('weixin.cart.index', $data);
}
}

61
app/Http/Controllers/Weixin/UserController.php

@ -0,0 +1,61 @@
<?php
namespace App\Http\Controllers\Weixin;
use App\Http\Controllers\Weixin\CommonController;
use Illuminate\Http\Request;
class UserController extends CommonController
{
public function __construct()
{
parent::__construct();
}
//个人中心
public function index(Request $request)
{
if($request->input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');}
if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');}
if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');}
if($request->input('status', '') != ''){$data['status'] = $request->input('status');}
if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');}
if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');}
if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;}
if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;}
//商品列表
$postdata = array(
'limit' => 10,
'offset' => 0
);
$url = env('APP_API_URL')."/goods_list";
$goods_list = curl_request($url,$postdata,'GET');
$data['goods_list'] = $goods_list['data']['list'];
return view('weixin.user.index', $data);
}
//浏览记录
public function userGoodsHistory(Request $request)
{
if($request->input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');}
if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');}
if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');}
if($request->input('status', '') != ''){$data['status'] = $request->input('status');}
if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');}
if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');}
if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;}
if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;}
//商品列表
$postdata = array(
'limit' => 10,
'offset' => 0
);
$url = env('APP_API_URL')."/goods_list";
$goods_list = curl_request($url,$postdata,'GET');
$data['goods_list'] = $goods_list['data']['list'];
return view('weixin.user.userGoodsHistory', $data);
}
}

100
app/Http/Model/UserGoodsHistory.php

@ -0,0 +1,100 @@
<?php
namespace App\Http\Model;
class UserGoodsHistory extends BaseModel
{
//用户优惠券
protected $table = 'user_goods_history';
public $timestamps = false;
/**
* 不能被批量赋值的属性
*
* @var array
*/
protected $guarded = [];
//获取列表
public static function getList(array $param)
{
extract($param); //参数:limit,offset
$limit = isset($limit) ? $limit : 10;
$offset = isset($offset) ? $offset : 0;
$model = new UserGoodsHistory;
if(isset($user_id)){$where['user_id'] = $user_id;}
if(isset($goods_id)){$where['goods_id'] = $goods_id;}
if(isset($where)){$model = $model->where($where);}
$res['count'] = $model->count();
$res['list'] = array();
if($res['count']>0)
{
$res['list'] = $model->skip($offset)->take($limit)->orderBy('id','desc')->get();
}
else
{
return false;
}
return $res;
}
public static function getOne(array $param)
{
extract($param); //参数
$where['id'] = $id;
return self::where($where)->first();
}
public static function add(array $data)
{
if (!self::where($data)->first())
{
$data['add_time'] = time();
return self::insertGetId($data);
}
return false;
}
public static function modify($where, array $data)
{
if (self::where($where)->update($data) !== false)
{
return true;
}
return false;
}
//删除一条记录
public static function remove($id)
{
if (self::whereIn('id', explode(',', $id))->delete() === false)
{
return false;
}
return true;
}
//清空我的足迹
public static function clear($user_id)
{
if (self::where('user_id',$user_id)->delete() === false)
{
return false;
}
return true;
}
}

20
resources/views/home2/404.blade.php

@ -1,20 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>您访问的页面不存在或已被删除!</title>
<style type="text/css">
*{padding:0;margin:0;}
body{background:#fff;font-family:'微软雅黑';color:#333;font-size:16px;}
.system-message{padding:24px 48px;margin:5% auto 0 auto;width:600px;}
.system-message h1{font-size:100px;font-weight:normal;line-height:120px;margin-bottom:12px;}
.system-message .jump{padding-top:10px}
.system-message .jump a{color:#333;}
.system-message .success,.system-message .error{line-height:1.8em;font-size:36px}
.system-message .detail{font-size:14px;line-height:20px;margin-top:12px;}
</style>
</head><body>
<div class="system-message">
<h1>:(</h1>
<p class="error">您访问的页面不存在或已被删除!</p>
<p class="detail"><a href="<?php echo route('home');?>">返回首页</a></p>
</div>
</body></html>

1
resources/views/home2/common/footer.blade.php

@ -1 +0,0 @@
<div id="footer" class="box">&copy; <?php echo sysconfig('CMS_WEBNAME'); ?> 部分文章来源于网络,如果侵犯了您的权益,请<a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a>。<a target="_blank" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/sitemap.xml">网站地图</a><div class="m-auto"><script>count_js();</script></div></div>

5
resources/views/home2/common/header.blade.php

@ -1,5 +0,0 @@
<div id="header"><div id="navlink" class="box"><a class="webname" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/"><?php echo sysconfig('CMS_WEBNAME'); ?></a><span class="nav">
<?php $posts = dataList('arctype', ['expression'=>[['pid','=',0]], 'orderby'=>['sortrank', 'desc']]); if($posts){foreach ($posts as $row) { ?>
<a href="<?php echo get_front_url(array('catid'=>$row['id'],'type'=>'list')); ?>"><?php echo $row['name']; ?></a>
<?php }} ?>
<script>navjs();</script></span><form method="get" target="_blank" class="m-sch fr" name="formsearch" action="<?php echo sysconfig('CMS_BASEHOST'); ?>/plus/search.php"><input class="sch-txt" name="q" type="text" value="搜索 按Enter键" onfocus="if(value=='搜索 按Enter键') {value=''}" onblur="if(value=='') {value='搜索 按Enter键'}"></form><div class="cl"></div></div></div>

62
resources/views/home2/index/category.blade.php

@ -1,62 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" media="all"><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><div class="zinfo"><h1><?php echo $post['name']; ?></h1><?php if(!empty($post['content'])){echo '<div class="zdes">'.$post['content'].'</div>';} ?></div><div id="lad1"><script>ljs1();</script></div>
<?php if(!empty($posts)){foreach($posts as $row){ ?><div class="list"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?>
<strong class="tit"><a href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank"><?php echo $row['title']; ?></a></strong><p><?php echo mb_strcut($row['description'],0,150,'UTF-8'); ?>..</p>
<div class="info"><span class="fl"><em><?php echo date("m-d H:i",$row['pubdate']); ?></em></span><span class="fr"><em><?php echo $row['click']; ?></em>人阅读</span></div><div class="cl"></div></div><?php }} ?><div id="lad2"><script>ljs2();</script></div>
<div class="pages"><ul><?php echo $pagenav; ?></ul><div class="cl"></div></div><div id="lad3"><script>ljs3();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h3>热门文章</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['id'],"tuijian"=>1));if($posts){foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php }} ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h3>猜你喜欢</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['id'],"orderby"=>'rand()'));if($posts){foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php }} ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo sysconfig('CMS_BASEHOST'); ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

57
resources/views/home2/index/category2.blade.php

@ -1,57 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><h1 class="arct"><?php echo $post["typename"]; ?></h1>
<div class="content"><?php echo $post["content"]; ?></div><div id="lad1"><script>ljs1();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h3>热门文章</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['id'],"tuijian"=>1));if($posts){foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php }} ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h3>猜你喜欢</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['id'],"orderby"=>'rand()'));if($posts){foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php }} ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo sysconfig('CMS_BASEHOST'); ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

60
resources/views/home2/index/detail.blade.php

@ -1,60 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(!empty($post['seotitle'])){echo $post['seotitle'];}elseif(!empty($post['writer'])){echo $post['writertitle'].'_'.sysconfig('CMS_WEBNAME');}else{echo $post['title'].'_'.sysconfig('CMS_WEBNAME');} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" media="all"><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:id/]{/dede:type}/id{dede:field name='aid' /}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640">
<h1 class="arct"><?php echo $post["title"]; ?></h1><div class="timely"><?php if(!empty($post['writer'])){ echo '<span id="awriter">'.$post['writer'].'</span> '; } ?><span id="atime"><?php echo date("Y-m-d H:i",$post['pubdate']); ?></span> <?php if(!empty($post['source'])){ ?><?php echo '<span id="asource">'.$post['source'].'</span> '; ?><?php } ?><span id="aclick">阅读:<?php echo $post["click"]; ?>次</span> <span id="akeyword">关键词:<?php echo $post["keywords"]; ?></span></div><div class="dad1"><script>djs1();</script></div>
<div class="content"><?php echo $post["body"]; ?><div class="dad2"><script>djs2();</script></div>
<div class="dinfo"><span class="fr">下一篇:<?php if($pre){ ?><a href="<?php echo get_front_url(array("id"=>$pre['id'],"catid"=>$pre["typeid"],"type"=>'content')); ?>"><?php echo $pre["title"]; ?></a><?php }else{echo '没有了';} ?></span><div class="cl"></div></div>
</div><div class="dad3"><script>djs3(<?php echo $post["id"]; ?>);</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h3>近期文章</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['typeid']; ?>,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['typeid'],"expression"=>[['id', '<', $pre?$pre['id']:$post["id"]]]));if($posts){foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php }} ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h3>猜你喜欢</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['typeid']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['typeid'],"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo sysconfig('CMS_BASEHOST'); ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

66
resources/views/home2/index/index.blade.php

@ -1,66 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.nbnbk.com/"><link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.nbnbk.com/" />
<title><?php echo sysconfig('CMS_SEOTITLE'); ?></title><meta name="keywords" content="<?php echo sysconfig('CMS_KEYWORDS'); ?>" /><meta name="description" content="<?php echo sysconfig('CMS_DESCRIPTION'); ?>" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" media="all"><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script>uaredirect("http://m.nbnbk.com/");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640">
<?php $posts=arclist(array("row"=>11,"tuijian"=>array('<>',1)));foreach($posts as $row){ ?><div class="list"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?>
<strong class="tit"><a href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank"><?php echo $row['title']; ?></a></strong><p><?php echo mb_strcut($row['description'],0,150,'UTF-8'); ?>..</p>
<div class="info"><span class="fl"><?php if(!empty($row['writer'])){ echo '<i>'.$row['writer'].'</i>'; }elseif(!empty($row['source'])){ echo '<i>'.$row['source'].'</i>'; } ?><em><?php echo date("m-d H:i",$row['pubdate']); ?></em></span><span class="fr"><em><?php echo $row['click']; ?></em>人阅读</span></div><div class="cl"></div></div><?php } ?>
<div id="iad3"><script>ijs3();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>文章排行</h2><a href="javascript:getmore({PageSize:5,tuijian:1,mode:1,orderby:'rand()',_token:'{{ csrf_token() }}'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,mode:2,orderby:'rand()',_token:'{{ csrf_token() }}'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><div class="stith"><strong>友情链接</strong></div><div class="cl"></div></div>
<div class="rtags mt10"><?php $posts=flinklist(array("row"=>5));foreach($posts as $row){ ?><a href="<?php echo $row->url; ?>"><?php echo $row->webname; ?></a><?php } ?></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo sysconfig('CMS_BASEHOST'); ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

171
resources/views/home2/index/login.blade.php

@ -1,171 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1">
<title>后台登录</title>
<link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/admin.css"><script src="/js/jquery.min.js"></script><script src="/js/ad.js"></script></head><body>
<style>
body {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
color: #888;
line-height: 30px;
text-align: center;
background-color: #000;
}
.form-box {
margin-top: 35px;
}
.form-top {
overflow: hidden;
padding: 0 25px 15px 25px;
background: #fff;
-moz-border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
text-align: left;
}
.form-top-left {
float: left;
width: 75%;
padding-top: 25px;
}
.form-top-left h3 { margin-top: 0;
font-size: 22px;
font-weight: 300;
color: #555;
line-height: 30px;}
.form-top-right {
float: left;
width: 25%;
padding-top: 5px;margin-top:15px;
font-size: 66px;
color: #ddd;
text-align: right;
}
.form-bottom {
padding: 25px 25px 30px 25px;
background: #eee;
-moz-border-radius: 0 0 4px 4px; -webkit-border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
text-align: left;
}
.form-bottom form textarea {
height: 100px;
}
.form-bottom form button.btn {
width: 100%;
}
.form-bottom form .input-error {
border-color: #4aaf51;
}
.social-login {
margin-top: 35px;
}
.social-login h3 {
color: #fff;
}
.social-login-buttons {
margin-top: 25px;
}
input[type="text"], input[type="password"], textarea, textarea.form-control {
height: 50px;
margin: 0;
padding: 0 20px;
vertical-align: middle;
background: #f8f8f8;
border: 3px solid #ddd;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-weight: 300;
line-height: 50px;
color: #888;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
-o-transition: all .3s;
-moz-transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s;
}
button.btn {
height: 50px;
margin: 0;
padding: 0 20px;
vertical-align: middle;
background: #4aaf51;
border: 0;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-weight: 300;
line-height: 50px;
color: #fff;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
text-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
-o-transition: all .3s;
-moz-transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s;
}
button.btn:hover { opacity: 0.6; color: #fff; }
</style>
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-sm-offset-3 form-box">
<div class="form-top">
<div class="form-top-left">
<h3>后台登录</h3>
<p>请输入您的用户名、密码:</p>
</div>
<div class="form-top-right">
<i class="glyphicon glyphicon-user"></i>
</div>
</div>
<div class="form-bottom">
<form method="post" action="/dologin" class="login-form" role="form">
<div class="form-group">
<label class="sr-only" for="form-username">Username</label>
<input type="text" id="username" name="username" placeholder="用户名/邮箱/手机号..." class="form-username form-control">
</div>
<div class="form-group">
<label class="sr-only" for="form-password">Password</label>
<input type="password" id="pwd" name="pwd" placeholder="输入密码..." class="form-password form-control">
</div>
<button type="submit" class="btn">立即登录</button>
</form>
</div>
</div>
</div>
</div>
<script>
$('.login-form input[type="text"], .login-form input[type="password"], .login-form textarea').on('focus', function() {
$(this).removeClass('input-error');
});
$('.login-form').on('submit', function(e) {
$(this).find('input[type="text"], input[type="password"], textarea').each(function(){
if( $(this).val() == "" ) {
e.preventDefault();
$(this).addClass('input-error');
}
else {
$(this).removeClass('input-error');
}
});
});
</script>
<script src="/js/bootstrap.min.js"></script></body></html>

8
resources/views/home2/index/page.blade.php

@ -1,8 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=">
<title><?php if(empty($post["seotitle"])){echo $post["title"];}else{echo $post["seotitle"];} ?>_<?php echo sysconfig('CMS_WEBNAME'); ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" media="all"><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:id/]{/dede:type}/id{dede:field name='aid' /}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10">
<h1 class="arct" style="text-align:center"><?php echo $post["title"]; ?></h1><div class="dad1"><script>djs1();</script></div>
<div class="content"><?php echo $post["body"]; ?><div class="dad2"><script>djs2();</script></div></div>
</div><!-- box end -->@include('home.common.footer')</body></html>

35
resources/views/home2/index/search.blade.php

@ -1,35 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>搜索结果_<?php echo sysconfig('CMS_WEBNAME'); ?></title>
<link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/style.css"><script src="/js/jquery.min.js"></script><script src="/js/bootstrap.min.js"></script></head><body>
@include('home.common.header')
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-9">
<div class="bread"><a href="/"><?php echo CMS_INDEXNAME; ?></a> > <?php echo '搜索结果'; ?></div>
<h1 class="page-header">搜索结果</h1>
<?php foreach($posts as $row){ ?><div class="list"><?php if(!empty($row['litpic'])){echo '<a class="limg" href="'.get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')).'"><img alt="'.$row["title"].'" src="'.$row["litpic"].'"></a>';} ?>
<strong class="tit"><a href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank"><?php echo $row['title']; ?></a></strong><p><?php echo mb_strcut($row['description'],0,160,'utf-8'); ?></p>
<div class="info"><span class="fl"><?php $taglist=taglist($row['id']);foreach($taglist as $row){ ?><a target="_blank" href="<?php echo get_front_url(array("tagid"=>$row['id'],"type"=>'tags')); ?>"><?php echo $row['tag']; ?></a><?php } ?><em><?php echo date("Y-m-d",$row["pubdate"]); ?></em></span><span class="fr"><em><?php echo $row['click']; ?></em>人阅读</span></div><div class="cl"></div></div><?php } ?>
<div class="pages"><ul><?php echo $pagenav; ?></ul><div class="cl"></div></div>
</div><!--/.col-xs-12.col-sm-9-->
<div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar">
<div class="panel panel-info">
<div class="panel-heading">热门推荐</div>
<div class="list-group"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
<a class="list-group-item" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><?php } ?>
</div>
</div>
</div><!--/.sidebar-offcanvas-->
</div><!--/row-->
</div><!-- /.container -->
@include('home.common.footer')</body></html>

9
resources/views/home2/index/sitemap.blade.php

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc><?php echo sysconfig('CMS_BASEHOST'); ?>/</loc><changefreq>daily</changefreq><priority>1.0</priority></url>
<url><loc><?php echo sysconfig('CMS_BASEHOST'); ?>/contact.html</loc></url>
<?php $posts=arclist(array("row"=>300));foreach($posts as $row){ ?><url><loc><?php echo sysconfig('CMS_BASEHOST'); ?><?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?></loc><lastmod><?php echo date("Y-m-d",$row['pubdate']); ?></lastmod><changefreq>monthly</changefreq></url><?php } ?>
<?php $posts=arclist(array("row"=>100,"orderby"=>'rand()'));foreach($posts as $row){ ?><url><loc><?php echo sysconfig('CMS_BASEHOST'); ?><?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?></loc><lastmod><?php echo date("Y-m-d",$row['pubdate']); ?></lastmod><changefreq>monthly</changefreq></url><?php } ?>
<?php $posts=dataList("arctype");foreach($posts as $row){ ?><url><loc><?php echo sysconfig('CMS_BASEHOST'); ?><?php echo get_front_url(array("catid"=>$row['id'],"type"=>'list')); ?></loc></url><?php } ?>
</urlset>

62
resources/views/home2/index/tag.blade.php

@ -1,62 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><div class="zinfo"><h1><?php echo $post["tag"]; ?></h1><?php if(!empty($post['content'])){echo '<div class="zdes">'.$post['content'].'</div>';} ?></div><div id="lad1"><script>ljs1();</script></div>
<?php if(!empty($posts)){foreach($posts as $row){ ?><div class="list"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?>
<strong class="tit"><a href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank"><?php echo $row['title']; ?></a></strong><p><?php echo mb_strcut($row['description'],0,150,'UTF-8'); ?>..</p>
<div class="info"><span class="fl"><em><?php echo date("m-d H:i",$row['pubdate']); ?></em></span><span class="fr"><em><?php echo $row['click']; ?></em>人阅读</span></div><div class="cl"></div></div><?php }} ?><div id="lad2"><script>ljs2();</script></div>
<div class="pages"><ul><?php echo $pagenav; ?></ul><div class="cl"></div></div><div id="lad3"><script>ljs3();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>相关推荐</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo CMS_BASEHOST; ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

58
resources/views/home2/index/tag2.blade.php

@ -1,58 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><div class="zinfo"><h1><?php echo $post["tag"]; ?></h1><?php if(!empty($post['content'])){echo '<div class="zdes">'.$post['content'].'</div>';} ?></div><div id="lad1"><script>ljs1();</script></div>
<?php if(!empty($posts)){foreach($posts as $row){ ?><h2 class="tagarct"><?php echo $row["title"]; ?></h2><div class="content"><?php echo $row["body"]; ?></div><?php }} ?><div id="lad2"><script>ljs2();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>相关推荐</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo CMS_BASEHOST; ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

57
resources/views/home2/index/tag3.blade.php

@ -1,57 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><h1 class="arct"><?php echo $post["tag"]; ?></h1>
<div class="content"><?php echo $post["content"]; ?></div><div id="lad1"><script>ljs1();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>相关推荐</h2><a href="javascript:getmore({PageSize:5,tuijian:1,mode:1,orderby:'rand()',_token:'{{ csrf_token() }}'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,mode:2,orderby:'rand()',_token:'{{ csrf_token() }}'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo CMS_BASEHOST; ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

7
resources/views/home2/index/tags.blade.php

@ -1,7 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com/cat{dede:type}[field:id/]{/dede:type}/id{dede:field name='aid' /}">
<title>笔记本电脑相关知识_<?php echo sysconfig('CMS_WEBNAME'); ?></title><meta name="keywords" content="" /><meta name="description" content="" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:id/]{/dede:type}/id{dede:field name='aid' /}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10">
<div class="ws-tag"><?php $posts=tagslist(); foreach($posts as $row) { ?>
<a target="_blank" href="<?php echo get_front_url(array("type"=>"tags","tagid"=>$row["id"])); ?>"><?php echo $row['tag']; ?></a>&nbsp;<?php } ?></div>
</div><!-- box end -->@include('home.common.footer')</body></html>

20
resources/views/home3/404.blade.php

@ -1,20 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>您访问的页面不存在或已被删除!</title>
<style type="text/css">
*{padding:0;margin:0;}
body{background:#fff;font-family:'微软雅黑';color:#333;font-size:16px;}
.system-message{padding:24px 48px;margin:5% auto 0 auto;width:600px;}
.system-message h1{font-size:100px;font-weight:normal;line-height:120px;margin-bottom:12px;}
.system-message .jump{padding-top:10px}
.system-message .jump a{color:#333;}
.system-message .success,.system-message .error{line-height:1.8em;font-size:36px}
.system-message .detail{font-size:14px;line-height:20px;margin-top:12px;}
</style>
</head><body>
<div class="system-message">
<h1>:(</h1>
<p class="error">您访问的页面不存在或已被删除!</p>
<p class="detail"><a href="<?php echo route('home');?>">返回首页</a></p>
</div>
</body></html>

1
resources/views/home3/common/footer.blade.php

@ -1 +0,0 @@
<div id="footer" class="box">&copy; <?php echo sysconfig('CMS_WEBNAME'); ?> 部分文章来源于网络,如果侵犯了您的权益,请<a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a>。<a target="_blank" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/sitemap.xml">网站地图</a><div class="m-auto"><script>count_js();</script></div></div>

5
resources/views/home3/common/header.blade.php

@ -1,5 +0,0 @@
<div id="header"><div id="navlink" class="box"><a class="webname" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/"><?php echo sysconfig('CMS_WEBNAME'); ?></a><span class="nav">
<?php $posts = dataList('arctype', ['expression'=>[['pid','=',0]], 'orderby'=>['sortrank', 'desc']]); if($posts){foreach ($posts as $row) { ?>
<a href="<?php echo get_front_url(array('catid'=>$row['id'],'type'=>'list')); ?>"><?php echo $row['name']; ?></a>
<?php }} ?>
<script>navjs();</script></span><form method="get" target="_blank" class="m-sch fr" name="formsearch" action="<?php echo sysconfig('CMS_BASEHOST'); ?>/plus/search.php"><input class="sch-txt" name="q" type="text" value="搜索 按Enter键" onfocus="if(value=='搜索 按Enter键') {value=''}" onblur="if(value=='') {value='搜索 按Enter键'}"></form><div class="cl"></div></div></div>

124
resources/views/home3/index/category.blade.php

@ -1,124 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?></title>
<meta name="keywords" content="<?php echo $post['keywords']; ?>">
<meta name="description" content="<?php echo $post['description']; ?>">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bxslider.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bxslider.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/common.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.js"></script><link rel="stylesheet" href="/css/share_style0_16.css"></head><body>
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location="wap_index.asp";}}}catch(err){}</script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/lanrenzhijia.css" rel="stylesheet" type="text/css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<div id="online_qq_layer" style="z-index:1000;"><div id="online_qq_tab"><div class="online_icon"><a title="" id="floatShow" style="display:none" href="javascript:void(0);">&nbsp;</a><a title="" id="floatHide" style="display:block" href="javascript:void(0);">&nbsp;</a></div></div><div id="onlineService" style="display: block;"><div class="online_windows overz"><div class="online_w_top"></div><div class="online_w_c overz"><div class="online_bar expand" id="onlineSort1"><h2><a onclick="changeOnline(1)">在线客服</a></h2><div class="online_content overz" id="onlineType1" style="display: block;"><ul class="overz"><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=12345678&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售前咨询</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=987654321&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售后服务</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=11223344&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">加盟代理</a></li><li><a title="点击这里给我发消息" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid=taobao&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" target="_blank" class="ww_icon">淘宝客服</a></li></ul></div></div><div class="online_bar collapse2" id="onlineSort2"><h2><a onclick="changeOnline(2)">电话客服</a></h2><div class="online_content overz" id="onlineType2" style="display: none;"><ul class="overz"><li>010-10086</li><li>010-10010</li></ul></div></div><div class="online_bar collapse2" id="onlineSort3"><h2><a onclick="changeOnline(3)">网站二维码</a></h2><div class="online_content overz" id="onlineType3" style="display: none;"><ul class="overz"><img src="images/index.png" width="120"></ul></div></div><div class="online_bar collapse2" id="onlineSort4"><h2><a onclick="changeOnline(4)">微信公众号</a></h2><div class="online_content overz" id="onlineType4" style="display: none;"><ul class="overz"><img src="images/20150921144410012.jpg" width="120"></ul></div></div></div><div class="online_w_bottom"></div></div></div></div>
<div class="toolbar"><a href="" class="toolbar-item toolbar-item-feedback"></a><a href="javascript:scroll(0,0)" class="toolbar-item toolbar-item-top"></a></div>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/language-selector.css" rel="stylesheet" type="text/css">
<header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9"> <a href="/"><img src="/images/20160820232652166.png" class="logo" alt=""></a> </div>
<div id="topsearch" class="col-xs-12 col-sm-3 col-md-3">
<form id="searchform" name="formsearch" action="" method="post">
<div class="input-group search_group">
<input type="text" name="keyword" class="form-control input-sm" placeholder="在这里搜索">
<span class="input-group-btn"> <a href="javascript:searchform.submit();" class="btn btn-sm mysearch_btn" type="button"> </a> </span> </div>
</form>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<span id="small_search" class="glyphicon glyphicon-search" aria-hidden="true"></span> <span class="glyphicon glyphicon-home home-btn" style="cursor: pointer"></span> <a class="navbar-brand" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">导航菜单</a> </div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li class="dropdown"> <a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">网站首页</a></li>
<li class="dropdown"> <a href="<?php echo route('productcat', ['cat'=>1]); ?>">产品展示</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>2]); ?>">案例中心</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>1]); ?>">新闻中心</a></li>
<li class="dropdown"> <a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a></li></ul>
</div>
</div>
</nav>
<div class="flash">
<ul class="bxslider"><li><a href="#"><img src="/images/20161108163633172.jpg" /></a></li><li><a href="#"><img src="/images/20161108163616914.jpg" /></a></li></ul>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
adaptiveHeight: true,
infiniteLoop: true,
hideControlOnEnd: true,
auto:true
});
</script>
</header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
<div class="list_box">
<h1 class="left_h1"><?php echo $post['typename']; ?></h1>
<ul class="list_news">
<?php if(!empty($posts)){foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php }} ?>
</ul><div class="cl"></div>
<div class="pages"><ul><?php echo $pagenav; ?></ul><div class="cl"></div></div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">
<h3 class="left_h1">栏目导航</h3>
<ul class="left_nav_ul" id="firstpane">
<?php $posts=dataList('arctype', ['expression'=>[['reid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?>
<li><a class="biglink" href="<?php echo route('home_category',['cat'=>$row['id']]); ?>"><?php echo $row['typename']; ?></a><ul class="left_snav_ul menu_body"></ul></li>
<?php }} ?>
</ul>
</div>
<div class="left_news">
<h3 class="left_h1">热门推荐</h3>
<ul class="index_news">
<?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php } ?>
</ul>
</div>
<div class="index_contact">
<h3 class="about_h1">联系我们</h3>
<span class="about_span">CONTACT US</span>
<p style="padding-top:20px;">地址:上海市xx区xx路xx广场x号<br>
电话:86-021-xxxxxxxx<br>
传真:86-021-xxxxxxxxxxxxxxxx<br>
邮箱:xxxxxxxxx@qq.com<br>
网址:www.xxxxxx.com<br></p>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer_nav">
<div class="foot_nav btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="http://s66.demo.s-cms.cn/html/news/list-7.html#"> <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span> 分享</a>
<div class="dropdown-menu webshare">
<div class="bdsharebuttonbox bdshare-button-style0-16" style="display: inline-block" data-bd-bind="1483004650129"><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_more" data-cmd="more"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
</div>
</div>
<div class="foot_nav"><a href="tel:"><span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机</a></div>
<div class="foot_nav"><a id="gotocate" href="http://s66.demo.s-cms.cn/html/news/list-7.html#"><span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true"></span>分类</a></div>
<div class="foot_nav"><a id="gototop" href="http://s66.demo.s-cms.cn/html/news/list-7.html#"><span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部</a></div>
</nav>
<footer>
<div class="copyright">
<p>COPYRIGHT © 2009-2011,WWW.YOURNAME.COM,ALL RIGHTS RESERVED版权所有 © 您的公司名称</p>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="images/online.css">
<script type="text/javascript" src="images/online.js.下载"></script>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
</body></html>

57
resources/views/home3/index/category2.blade.php

@ -1,57 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><h1 class="arct"><?php echo $post["typename"]; ?></h1>
<div class="content"><?php echo $post["content"]; ?></div><div id="lad1"><script>ljs1();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h3>热门文章</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['id'],"tuijian"=>1));if($posts){foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php }} ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h3>猜你喜欢</h3><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"typeid"=>$post['id'],"orderby"=>'rand()'));if($posts){foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php }} ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo sysconfig('CMS_BASEHOST'); ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

122
resources/views/home3/index/detail.blade.php

@ -1,122 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php if(!empty($post["seotitle"])){ echo $post["seotitle"]; }else{ echo $post["title"]; } ?>-您的网站名称</title>
<meta name="description" content="<?php echo $post["description"]; ?>">
<meta name="keywords" content="<?php echo $post["keywords"]; ?>">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bxslider.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bxslider.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/common.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.js"></script><link rel="stylesheet" href="/css/share_style0_16.css"></head><body>
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location="wap_index.asp";}}}catch(err){}</script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/lanrenzhijia.css" rel="stylesheet" type="text/css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<div id="online_qq_layer" style="z-index:1000;"><div id="online_qq_tab"><div class="online_icon"><a title="" id="floatShow" style="display:none" href="javascript:void(0);">&nbsp;</a><a title="" id="floatHide" style="display:block" href="javascript:void(0);">&nbsp;</a></div></div><div id="onlineService" style="display: block;"><div class="online_windows overz"><div class="online_w_top"></div><div class="online_w_c overz"><div class="online_bar expand" id="onlineSort1"><h2><a onclick="changeOnline(1)">在线客服</a></h2><div class="online_content overz" id="onlineType1" style="display: block;"><ul class="overz"><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=12345678&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售前咨询</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=987654321&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售后服务</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=11223344&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">加盟代理</a></li><li><a title="点击这里给我发消息" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid=taobao&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" target="_blank" class="ww_icon">淘宝客服</a></li></ul></div></div><div class="online_bar collapse2" id="onlineSort2"><h2><a onclick="changeOnline(2)">电话客服</a></h2><div class="online_content overz" id="onlineType2" style="display: none;"><ul class="overz"><li>010-10086</li><li>010-10010</li></ul></div></div><div class="online_bar collapse2" id="onlineSort3"><h2><a onclick="changeOnline(3)">网站二维码</a></h2><div class="online_content overz" id="onlineType3" style="display: none;"><ul class="overz"><img src="/images/index.png" width="120"></ul></div></div><div class="online_bar collapse2" id="onlineSort4"><h2><a onclick="changeOnline(4)">微信公众号</a></h2><div class="online_content overz" id="onlineType4" style="display: none;"><ul class="overz"><img src="/images/20150921144410012.jpg" width="120"></ul></div></div></div><div class="online_w_bottom"></div></div></div></div>
<div class="toolbar"><a href="" class="toolbar-item toolbar-item-feedback"></a><a href="javascript:scroll(0,0)" class="toolbar-item toolbar-item-top"></a></div>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/language-selector.css" rel="stylesheet" type="text/css">
<header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9"> <a href="/"><img src="/images/20160820232652166.png" class="logo" alt=""></a> </div>
<div id="topsearch" class="col-xs-12 col-sm-3 col-md-3">
<form id="searchform" name="formsearch" action="" method="post">
<div class="input-group search_group">
<input type="text" name="keyword" class="form-control input-sm" placeholder="在这里搜索">
<span class="input-group-btn"> <a href="javascript:searchform.submit();" class="btn btn-sm mysearch_btn" type="button"> </a> </span> </div>
</form>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<span id="small_search" class="glyphicon glyphicon-search" aria-hidden="true"></span> <span class="glyphicon glyphicon-home home-btn" style="cursor: pointer"></span> <a class="navbar-brand" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">导航菜单</a> </div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li class="dropdown"> <a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">网站首页</a></li>
<li class="dropdown"> <a href="<?php echo route('productcat', ['cat'=>1]); ?>">产品展示</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>2]); ?>">案例中心</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>1]); ?>">新闻中心</a></li>
<li class="dropdown"> <a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a></li></ul>
</div>
</div>
</nav>
<div class="flash">
<ul class="bxslider"><li><a href="#"><img src="/images/20161108163633172.jpg" /></a></li><li><a href="#"><img src="/images/20161108163616914.jpg" /></a></li></ul>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
adaptiveHeight: true,
infiniteLoop: true,
hideControlOnEnd: true,
auto:true
});
</script>
</header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
<div class="list_box">
<h2 class="left_h1"><?php echo $post["typename"]; ?></h2>
<div class="contents">
<h1 class="contents_title"><?php echo $post["title"]; ?></h1>
<?php echo $post["body"]; ?>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">
<h3 class="left_h1">栏目导航</h3>
<ul class="left_nav_ul" id="firstpane">
<?php $posts=dataList('arctype', ['expression'=>[['reid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?>
<li><a class="biglink" href="<?php echo route('home_category',['cat'=>$row['id']]); ?>"><?php echo $row['typename']; ?></a><ul class="left_snav_ul menu_body"></ul></li>
<?php }} ?>
</ul>
</div>
<div class="left_news">
<h3 class="left_h1">热门推荐</h3>
<ul class="index_news">
<?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php } ?>
</ul>
</div>
<div class="index_contact">
<h3 class="about_h1">联系我们</h3>
<span class="about_span">CONTACT US</span>
<p style="padding-top:20px;">地址:上海市xx区xx路xx广场x号<br>
电话:86-021-xxxxxxxx<br>
传真:86-021-xxxxxxxxxxxxxxxx<br>
邮箱:xxxxxxxxx@qq.com<br>
网址:www.xxxxxx.com<br></p>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer_nav">
<div class="foot_nav btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="http://s66.demo.s-cms.cn/html/about/2.html#"> <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span> 分享</a>
<div class="dropdown-menu webshare">
<div class="bdsharebuttonbox bdshare-button-style0-16" style="display: inline-block" data-bd-bind="1482978575641"><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_more" data-cmd="more"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
</div>
</div>
<div class="foot_nav"><a href="tel:"><span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机</a></div>
<div class="foot_nav"><a id="gotocate" href="http://s66.demo.s-cms.cn/html/about/2.html#"><span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true"></span>分类</a></div>
<div class="foot_nav"><a id="gototop" href="http://s66.demo.s-cms.cn/html/about/2.html#"><span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部</a></div>
</nav>
<footer>
<div class="copyright">
<p>COPYRIGHT © 2009-2011,WWW.YOURNAME.COM,ALL RIGHTS RESERVED版权所有 © 您的公司名称</p>
<p class="copyright_p"><a href="" target="_blank" title="51.La 网站流量统计系统">站长统计</a></p>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="/images/online.css">
<script type="text/javascript" src="/images/online.js"></script>
</body></html>

126
resources/views/home3/index/index.blade.php

@ -1,126 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>您的网站名称</title>
<meta name="description" content="请用一段语句通顺的话来描述您的网站定位,字数不超过200字。">
<meta name="keywords" content="关键词1,关键词2,关键词3,关键词4,关键词5">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bxslider.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bxslider.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/common.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.js"></script><link rel="stylesheet" href="css/share_style0_16.css"></head><body>
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location="wap_index.asp";}}}catch(err){}</script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/lanrenzhijia.css" rel="stylesheet" type="text/css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<div id="online_qq_layer" style="z-index:1000;"><div id="online_qq_tab"><div class="online_icon"><a title="" id="floatShow" style="display:none" href="javascript:void(0);">&nbsp;</a><a title="" id="floatHide" style="display:block" href="javascript:void(0);">&nbsp;</a></div></div><div id="onlineService" style="display: block;"><div class="online_windows overz"><div class="online_w_top"></div><div class="online_w_c overz"><div class="online_bar expand" id="onlineSort1"><h2><a onclick="changeOnline(1)">在线客服</a></h2><div class="online_content overz" id="onlineType1" style="display: block;"><ul class="overz"><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=12345678&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售前咨询</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=987654321&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售后服务</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=11223344&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">加盟代理</a></li><li><a title="点击这里给我发消息" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid=taobao&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" target="_blank" class="ww_icon">淘宝客服</a></li></ul></div></div><div class="online_bar collapse2" id="onlineSort2"><h2><a onclick="changeOnline(2)">电话客服</a></h2><div class="online_content overz" id="onlineType2" style="display: none;"><ul class="overz"><li>010-10086</li><li>010-10010</li></ul></div></div><div class="online_bar collapse2" id="onlineSort3"><h2><a onclick="changeOnline(3)">网站二维码</a></h2><div class="online_content overz" id="onlineType3" style="display: none;"><ul class="overz"><img src="images/index.png" width="120"></ul></div></div><div class="online_bar collapse2" id="onlineSort4"><h2><a onclick="changeOnline(4)">微信公众号</a></h2><div class="online_content overz" id="onlineType4" style="display: none;"><ul class="overz"><img src="images/20150921144410012.jpg" width="120"></ul></div></div></div><div class="online_w_bottom"></div></div></div></div>
<div class="toolbar"><a href="" class="toolbar-item toolbar-item-feedback"></a><a href="javascript:scroll(0,0)" class="toolbar-item toolbar-item-top"></a></div>
<link href="css/language-selector.css" rel="stylesheet" type="text/css">
<header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9"> <a href="/"><img src="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/20160820232652166.png" class="logo" alt=""></a> </div>
<div id="topsearch" class="col-xs-12 col-sm-3 col-md-3">
<form id="searchform" name="formsearch" action="" method="post">
<div class="input-group search_group">
<input type="text" name="keyword" class="form-control input-sm" placeholder="在这里搜索">
<span class="input-group-btn"> <a href="javascript:searchform.submit();" class="btn btn-sm mysearch_btn" type="button"> </a> </span> </div>
</form>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<span id="small_search" class="glyphicon glyphicon-search" aria-hidden="true"></span> <span class="glyphicon glyphicon-home home-btn" style="cursor: pointer"></span> <a class="navbar-brand" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">导航菜单</a> </div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li class="dropdown"> <a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">网站首页</a></li>
<li class="dropdown"> <a href="<?php echo route('productcat', ['cat'=>1]); ?>">产品展示</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>2]); ?>">案例中心</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>1]); ?>">新闻中心</a></li>
<li class="dropdown"> <a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a></li></ul>
</div>
</div>
</nav>
<div class="flash">
<ul class="bxslider"><li><a href="#"><img src="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/20161108163633172.jpg" /></a></li><li><a href="#"><img src="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/20161108163616914.jpg" /></a></li></ul>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
adaptiveHeight: true,
infiniteLoop: true,
hideControlOnEnd: true,
auto:true
});
</script>
</header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="about_box"> <h1 class="about_h1">公司简介</h1> <span class="about_span">Itroduction</span> <section> <img align="left" src="/images/20161108163706251.png" alt="公司简介"> <p class="about_contents"> XXX有限公司是于1966年为了通过试验评价技术的支援以提高产业技术而成 立的试验评价机构,是和先进(发达)国家的试验、认证机构进行交流和合作的大韩民国代表性机构。为了保护本国产业的各种认证制度日渐完善,为保护消费者安 全和环境的各种制度的重要性日趋增加,KTL为适应形势的发展,从产品开发到获得认证的整个阶段提供支援,以帮助企业提高技术能力以及拥有更强的竞争力。为了两国企业间和认证机构和客户间的有..</p> <a href="/page/about" class="about_more">查看详细 &gt;&gt;</a> <section> </section></section></div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="index_product">
<h1 class="about_h1">产品展示</h1>
<span class="about_span">PRODUCT DISPLAY</span>
<div class="product_list">
<?php $posts=dataList('product',array("row"=>4));if($posts){foreach($posts as $row){ ?>
<div class="col-sm-4 col-md-3 col-mm-6 product_img"><a href="<?php echo route('product',['id'=>$row['id']]); ?>"> <img src="<?php echo $row['litpic']; ?>" style="width: 261px;" class="opacity_img" alt="<?php echo $row['title']; ?>"></a><p class="product_title"><a href="/product<?php echo $row['typeid']; ?>/id<?php echo $row['id']; ?>"></a></p></div>
<?php }} ?>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-7">
<div class="news_box">
<h1 class="about_h1">新闻中心</h1>
<span class="about_span">NEWS CENTER</span>
<ul class="index_news">
<?php $posts=arclist(array("row"=>6,"tuijian"=>array('<>',1)));foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php } ?>
</ul>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-5">
<div class="index_contact">
<h1 class="about_h1">联系我们</h1>
<span class="about_span">CONTACT US</span>
<p style="padding-top:20px;">地址:上海市xx区xx路xx广场x号<br>
电话:86-021-xxxxxxxx<br>
传真:86-021-xxxxxxxxxxxxxxxx<br>
邮箱:xxxxxxxxx@qq.com<br>
网址:www.xxxxxx.com<br></p>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer_nav">
<div class="foot_nav btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="http://s66.demo.s-cms.cn/#"> <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span> 分享</a>
<div class="dropdown-menu webshare">
<div class="bdsharebuttonbox bdshare-button-style0-16" style="display: inline-block" data-bd-bind="1482888324373"><a href="http://s66.demo.s-cms.cn/#" class="bds_more" data-cmd="more"></a><a href="http://s66.demo.s-cms.cn/#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="http://s66.demo.s-cms.cn/#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="http://s66.demo.s-cms.cn/#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="http://s66.demo.s-cms.cn/#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="http://s66.demo.s-cms.cn/#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
</div>
</div>
<div class="foot_nav"><a href="tel:"><span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机</a></div>
<div class="foot_nav"><a id="gotocate" href="http://s66.demo.s-cms.cn/#"><span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true"></span>分类</a></div>
<div class="foot_nav"><a id="gototop" href="http://s66.demo.s-cms.cn/#"><span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部</a></div>
</nav>
<footer>
<div class="copyright">
<p>COPYRIGHT © 2009-2011,WWW.YOURNAME.COM,ALL RIGHTS RESERVED版权所有 © 您的公司名称</p>
<p class="copyright_p"><a href="http://www.51.la/?18651498" target="_blank" title="51.La 网站流量统计系统">站长统计</a></p>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="css/online.css">
</body></html>

171
resources/views/home3/index/login.blade.php

@ -1,171 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1">
<title>后台登录</title>
<link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/admin.css"><script src="/js/jquery.min.js"></script><script src="/js/ad.js"></script></head><body>
<style>
body {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
color: #888;
line-height: 30px;
text-align: center;
background-color: #000;
}
.form-box {
margin-top: 35px;
}
.form-top {
overflow: hidden;
padding: 0 25px 15px 25px;
background: #fff;
-moz-border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
text-align: left;
}
.form-top-left {
float: left;
width: 75%;
padding-top: 25px;
}
.form-top-left h3 { margin-top: 0;
font-size: 22px;
font-weight: 300;
color: #555;
line-height: 30px;}
.form-top-right {
float: left;
width: 25%;
padding-top: 5px;margin-top:15px;
font-size: 66px;
color: #ddd;
text-align: right;
}
.form-bottom {
padding: 25px 25px 30px 25px;
background: #eee;
-moz-border-radius: 0 0 4px 4px; -webkit-border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
text-align: left;
}
.form-bottom form textarea {
height: 100px;
}
.form-bottom form button.btn {
width: 100%;
}
.form-bottom form .input-error {
border-color: #4aaf51;
}
.social-login {
margin-top: 35px;
}
.social-login h3 {
color: #fff;
}
.social-login-buttons {
margin-top: 25px;
}
input[type="text"], input[type="password"], textarea, textarea.form-control {
height: 50px;
margin: 0;
padding: 0 20px;
vertical-align: middle;
background: #f8f8f8;
border: 3px solid #ddd;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-weight: 300;
line-height: 50px;
color: #888;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
-o-transition: all .3s;
-moz-transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s;
}
button.btn {
height: 50px;
margin: 0;
padding: 0 20px;
vertical-align: middle;
background: #4aaf51;
border: 0;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-weight: 300;
line-height: 50px;
color: #fff;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
text-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
-o-transition: all .3s;
-moz-transition: all .3s;
-webkit-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s;
}
button.btn:hover { opacity: 0.6; color: #fff; }
</style>
<div class="container-fluid">
<div class="row">
<div class="col-sm-6 col-sm-offset-3 form-box">
<div class="form-top">
<div class="form-top-left">
<h3>后台登录</h3>
<p>请输入您的用户名、密码:</p>
</div>
<div class="form-top-right">
<i class="glyphicon glyphicon-user"></i>
</div>
</div>
<div class="form-bottom">
<form method="post" action="/dologin" class="login-form" role="form">
<div class="form-group">
<label class="sr-only" for="form-username">Username</label>
<input type="text" id="username" name="username" placeholder="用户名/邮箱/手机号..." class="form-username form-control">
</div>
<div class="form-group">
<label class="sr-only" for="form-password">Password</label>
<input type="password" id="pwd" name="pwd" placeholder="输入密码..." class="form-password form-control">
</div>
<button type="submit" class="btn">立即登录</button>
</form>
</div>
</div>
</div>
</div>
<script>
$('.login-form input[type="text"], .login-form input[type="password"], .login-form textarea').on('focus', function() {
$(this).removeClass('input-error');
});
$('.login-form').on('submit', function(e) {
$(this).find('input[type="text"], input[type="password"], textarea').each(function(){
if( $(this).val() == "" ) {
e.preventDefault();
$(this).addClass('input-error');
}
else {
$(this).removeClass('input-error');
}
});
});
</script>
<script src="/js/bootstrap.min.js"></script></body></html>

121
resources/views/home3/index/page.blade.php

@ -1,121 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php if(!empty($post["seotitle"])){ echo $post["seotitle"]; }else{ echo $post["title"]; } ?>-您的网站名称</title>
<meta name="description" content="<?php echo $post["description"]; ?>">
<meta name="keywords" content="<?php echo $post["keywords"]; ?>">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bxslider.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bxslider.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/common.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.js"></script><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/share_style0_16.css"></head><body>
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location="wap_index.asp";}}}catch(err){}</script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/lanrenzhijia.css" rel="stylesheet" type="text/css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<div id="online_qq_layer" style="z-index:1000;"><div id="online_qq_tab"><div class="online_icon"><a title="" id="floatShow" style="display:none" href="javascript:void(0);">&nbsp;</a><a title="" id="floatHide" style="display:block" href="javascript:void(0);">&nbsp;</a></div></div><div id="onlineService" style="display: block;"><div class="online_windows overz"><div class="online_w_top"></div><div class="online_w_c overz"><div class="online_bar expand" id="onlineSort1"><h2><a onclick="changeOnline(1)">在线客服</a></h2><div class="online_content overz" id="onlineType1" style="display: block;"><ul class="overz"><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=12345678&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售前咨询</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=987654321&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售后服务</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=11223344&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">加盟代理</a></li><li><a title="点击这里给我发消息" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid=taobao&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" target="_blank" class="ww_icon">淘宝客服</a></li></ul></div></div><div class="online_bar collapse2" id="onlineSort2"><h2><a onclick="changeOnline(2)">电话客服</a></h2><div class="online_content overz" id="onlineType2" style="display: none;"><ul class="overz"><li>010-10086</li><li>010-10010</li></ul></div></div><div class="online_bar collapse2" id="onlineSort3"><h2><a onclick="changeOnline(3)">网站二维码</a></h2><div class="online_content overz" id="onlineType3" style="display: none;"><ul class="overz"><img src="/images/index.png" width="120"></ul></div></div><div class="online_bar collapse2" id="onlineSort4"><h2><a onclick="changeOnline(4)">微信公众号</a></h2><div class="online_content overz" id="onlineType4" style="display: none;"><ul class="overz"><img src="/images/20150921144410012.jpg" width="120"></ul></div></div></div><div class="online_w_bottom"></div></div></div></div>
<div class="toolbar"><a href="" class="toolbar-item toolbar-item-feedback"></a><a href="javascript:scroll(0,0)" class="toolbar-item toolbar-item-top"></a></div>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/language-selector.css" rel="stylesheet" type="text/css">
<header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9"> <a href="/"><img src="/images/20160820232652166.png" class="logo" alt=""></a> </div>
<div id="topsearch" class="col-xs-12 col-sm-3 col-md-3">
<form id="searchform" name="formsearch" action="" method="post">
<div class="input-group search_group">
<input type="text" name="keyword" class="form-control input-sm" placeholder="在这里搜索">
<span class="input-group-btn"> <a href="javascript:searchform.submit();" class="btn btn-sm mysearch_btn" type="button"> </a> </span> </div>
</form>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<span id="small_search" class="glyphicon glyphicon-search" aria-hidden="true"></span> <span class="glyphicon glyphicon-home home-btn" style="cursor: pointer"></span> <a class="navbar-brand" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">导航菜单</a> </div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li class="dropdown"> <a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">网站首页</a></li>
<li class="dropdown"> <a href="<?php echo route('productcat', ['cat'=>1]); ?>">产品展示</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>2]); ?>">案例中心</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>1]); ?>">新闻中心</a></li>
<li class="dropdown"> <a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a></li></ul>
</div>
</div>
</nav>
<div class="flash">
<div class="bx-wrapper" style="max-width: 100%;"><div class="bx-viewport" style="width: 100%; overflow: hidden; position: relative; height: 502px;"><ul class="bxslider" style="width: 415%; position: relative; transition-duration: 0s; transform: translate3d(-3166px, 0px, 0px);"><li style="float: left; list-style: none; position: relative; width: 1583px;" class="bx-clone"><a href="http://s66.demo.s-cms.cn/html/about/2.html#"><img src="/images/20161108163633172.jpg"></a></li><li style="float: left; list-style: none; position: relative; width: 1583px;"><a href="http://s66.demo.s-cms.cn/html/about/2.html#"><img src="/images/20161108163616914.jpg"></a></li><li style="float: left; list-style: none; position: relative; width: 1583px;"><a href="http://s66.demo.s-cms.cn/html/about/2.html#"><img src="/images/20161108163633172.jpg"></a></li><li style="float: left; list-style: none; position: relative; width: 1583px;" class="bx-clone"><a href="http://s66.demo.s-cms.cn/html/about/2.html#"><img src="/images/20161108163616914.jpg"></a></li></ul></div><div class="bx-controls bx-has-pager bx-has-controls-direction"><div class="bx-pager bx-default-pager"><div class="bx-pager-item"><a href="http://s66.demo.s-cms.cn/html/about/2.html" data-slide-index="0" class="bx-pager-link">1</a></div><div class="bx-pager-item"><a href="http://s66.demo.s-cms.cn/html/about/2.html" data-slide-index="1" class="bx-pager-link active">2</a></div></div><div class="bx-controls-direction"><a class="bx-prev" href="http://s66.demo.s-cms.cn/html/about/2.html">Prev</a><a class="bx-next" href="http://s66.demo.s-cms.cn/html/about/2.html">Next</a></div></div></div>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
adaptiveHeight: true,
infiniteLoop: true,
hideControlOnEnd: true,
auto:true
});
</script>
</header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
<div class="list_box">
<h1 class="left_h1"><?php echo $post["title"]; ?></h1>
<div class="contents">
<?php echo $post["body"]; ?>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">
<h3 class="left_h1">栏目导航</h3>
<ul class="left_nav_ul" id="firstpane">
<?php $posts=dataList('page',array("row"=>5));if($posts){foreach($posts as $row){ ?>
<li><a class="biglink" href="<?php echo route('singlepage',['id'=>$row['filename']]); ?>"><?php echo $row['title']; ?></a><ul class="left_snav_ul menu_body"></ul></li>
<?php }} ?>
</ul>
</div>
<div class="left_news">
<h3 class="left_h1">新闻中心</h3>
<ul class="index_news">
<?php $posts=dataList('article',array("row"=>5));if($posts){foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php }} ?>
</ul>
</div>
<div class="index_contact">
<h3 class="about_h1">联系我们</h3>
<span class="about_span">CONTACT US</span>
<p style="padding-top:20px;">地址:上海市xx区xx路xx广场x号<br>
电话:86-021-xxxxxxxx<br>
传真:86-021-xxxxxxxxxxxxxxxx<br>
邮箱:xxxxxxxxx@qq.com<br>
网址:www.xxxxxx.com<br></p>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer_nav">
<div class="foot_nav btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="http://s66.demo.s-cms.cn/html/about/2.html#"> <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span> 分享</a>
<div class="dropdown-menu webshare">
<div class="bdsharebuttonbox bdshare-button-style0-16" style="display: inline-block" data-bd-bind="1482978575641"><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_more" data-cmd="more"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
</div>
</div>
<div class="foot_nav"><a href="tel:"><span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机</a></div>
<div class="foot_nav"><a id="gotocate" href="http://s66.demo.s-cms.cn/html/about/2.html#"><span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true"></span>分类</a></div>
<div class="foot_nav"><a id="gototop" href="http://s66.demo.s-cms.cn/html/about/2.html#"><span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部</a></div>
</nav>
<footer>
<div class="copyright">
<p>COPYRIGHT © 2009-2011,WWW.YOURNAME.COM,ALL RIGHTS RESERVED版权所有 © 您的公司名称</p>
<p class="copyright_p"><a href="" target="_blank" title="51.La 网站流量统计系统">站长统计</a></p>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/online.css">
<script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/images/online.js"></script>
</body></html>

177
resources/views/home3/index/product.blade.php

@ -1,177 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php if(!empty($post["seotitle"])){ echo $post["seotitle"]; }else{ echo $post["title"]; } ?>-您的网站名称</title>
<meta name="description" content="<?php echo $post["description"]; ?>">
<meta name="keywords" content="<?php echo $post["keywords"]; ?>">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bxslider.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bxslider.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/common.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.js"></script><link rel="stylesheet" href="/css/share_style0_16.css"></head><body>
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location="wap_index.asp";}}}catch(err){}</script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/lanrenzhijia.css" rel="stylesheet" type="text/css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<div id="online_qq_layer" style="z-index:1000;"><div id="online_qq_tab"><div class="online_icon"><a title="" id="floatShow" style="display:none" href="javascript:void(0);">&nbsp;</a><a title="" id="floatHide" style="display:block" href="javascript:void(0);">&nbsp;</a></div></div><div id="onlineService" style="display: block;"><div class="online_windows overz"><div class="online_w_top"></div><div class="online_w_c overz"><div class="online_bar expand" id="onlineSort1"><h2><a onclick="changeOnline(1)">在线客服</a></h2><div class="online_content overz" id="onlineType1" style="display: block;"><ul class="overz"><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=12345678&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售前咨询</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=987654321&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售后服务</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=11223344&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">加盟代理</a></li><li><a title="点击这里给我发消息" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid=taobao&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" target="_blank" class="ww_icon">淘宝客服</a></li></ul></div></div><div class="online_bar collapse2" id="onlineSort2"><h2><a onclick="changeOnline(2)">电话客服</a></h2><div class="online_content overz" id="onlineType2" style="display: none;"><ul class="overz"><li>010-10086</li><li>010-10010</li></ul></div></div><div class="online_bar collapse2" id="onlineSort3"><h2><a onclick="changeOnline(3)">网站二维码</a></h2><div class="online_content overz" id="onlineType3" style="display: none;"><ul class="overz"><img src="/images/index.png" width="120"></ul></div></div><div class="online_bar collapse2" id="onlineSort4"><h2><a onclick="changeOnline(4)">微信公众号</a></h2><div class="online_content overz" id="onlineType4" style="display: none;"><ul class="overz"><img src="/images/20150921144410012.jpg" width="120"></ul></div></div></div><div class="online_w_bottom"></div></div></div></div>
<div class="toolbar"><a href="" class="toolbar-item toolbar-item-feedback"></a><a href="javascript:scroll(0,0)" class="toolbar-item toolbar-item-top"></a></div>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/language-selector.css" rel="stylesheet" type="text/css">
<header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9"> <a href="/"><img src="/images/20160820232652166.png" class="logo" alt=""></a> </div>
<div id="topsearch" class="col-xs-12 col-sm-3 col-md-3">
<form id="searchform" name="formsearch" action="" method="post">
<div class="input-group search_group">
<input type="text" name="keyword" class="form-control input-sm" placeholder="在这里搜索">
<span class="input-group-btn"> <a href="javascript:searchform.submit();" class="btn btn-sm mysearch_btn" type="button"> </a> </span> </div>
</form>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<span id="small_search" class="glyphicon glyphicon-search" aria-hidden="true"></span> <span class="glyphicon glyphicon-home home-btn" style="cursor: pointer"></span> <a class="navbar-brand" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">导航菜单</a> </div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li class="dropdown"> <a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">网站首页</a></li>
<li class="dropdown"> <a href="<?php echo route('productcat', ['cat'=>1]); ?>">产品展示</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>2]); ?>">案例中心</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>1]); ?>">新闻中心</a></li>
<li class="dropdown"> <a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a></li></ul>
</div>
</div>
</nav>
<div class="flash">
<ul class="bxslider"><li><a href="#"><img src="/images/20161108163633172.jpg" /></a></li><li><a href="#"><img src="/images/20161108163616914.jpg" /></a></li></ul>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
adaptiveHeight: true,
infiniteLoop: true,
hideControlOnEnd: true,
auto:true
});
</script>
</header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
<div class="list_box">
<h2 class="left_h1"><?php echo $post["name"]; ?></h2>
<div class="col-sm-12 col-md-6 showpic_box">
<div class="bx-wrapper" style="max-width: 100%;"><div class="bx-viewport" style="width: 100%; overflow: hidden; position: relative; height: 394px;"><ul class="showpic_flash" style="width: 615%; position: relative; transition-duration: 0s; transform: translate3d(-394px, 0px, 0px);"><li style="float: left; list-style: none; position: relative; width: 394px;" class="bx-clone"><a class="example-image-link" href="images/20160820093414328.jpg" data-lightbox="example-set" target="_blank"><img class="example-image" src="<?php echo $post['litpic']; ?>" alt=""></a></li>
<li style="float: left; list-style: none; position: relative; width: 394px;"><a class="example-image-link" href="images/20151019123415039.jpg" data-lightbox="example-set" target="_blank"><img class="example-image" src="<?php echo $post['litpic']; ?>" alt=""></a></li><li style="float: left; list-style: none; position: relative; width: 394px;"><a class="example-image-link" href="images/20160820093401423.jpg" data-lightbox="example-set" target="_blank"><img class="example-image" src="images/20160820093401423.jpg" alt=""></a></li><li style="float: left; list-style: none; position: relative; width: 394px;"><a class="example-image-link" href="images/20160820093407425.jpg" data-lightbox="example-set" target="_blank"><img class="example-image" src="images/20160820093407425.jpg" alt=""></a></li><li style="float: left; list-style: none; position: relative; width: 394px;"><a class="example-image-link" href="images/20160820093414328.jpg" data-lightbox="example-set" target="_blank"><img class="example-image" src="images/20160820093414328.jpg" alt=""></a></li>
<li style="float: left; list-style: none; position: relative; width: 394px;" class="bx-clone"><a class="example-image-link" href="images/20151019123415039.jpg" data-lightbox="example-set" target="_blank"><img class="example-image" src="images/20151019123415039.jpg" alt=""></a></li></ul></div><div class="bx-controls bx-has-controls-direction"><div class="bx-controls-direction"><a class="bx-prev" href="http://s66.demo.s-cms.cn/html/product/84.html">Prev</a><a class="bx-next" href="http://s66.demo.s-cms.cn/html/product/84.html">Next</a></div></div></div>
<div id="pic-page">
<a data-slide-index="0" href="images/20151019123415039.jpg" class="active"><img src="images/20151019123415039.jpg"></a><a data-slide-index="1" href="images/20160820093401423.jpg"><img src="images/20160820093401423.jpg"></a><a data-slide-index="2" href="images/20160820093407425.jpg"><img src="images/20160820093407425.jpg"></a><a data-slide-index="3" href="images/20160820093414328.jpg"><img src="images/20160820093414328.jpg"></a>
</div>
</div>
<div class="col-sm-12 col-md-6 proinfo_box">
<h1 class="product_h1"><?php echo $post["title"]; ?></h1>
<ul class="product_info">
<li style="line-height:300%"><style>input[type="radio"]{display:none;}label{padding:1px 5px;cursor: pointer; border:#CCCCCC solid 2px;-moz-border-radius: 3px; -webkit-border-radius: 3px;border-radius:3px;}label.checked{border:#ff0000 solid 2px;-moz-border-radius:3px;-webkit-border-radius: 3px;border-radius:3px;color:#FF0000;}</style><script>$(function() {$('label').click(function(){var radioId = $(this).attr('name');var aa = $(this).attr('aa');$('[aa="'+aa+'"]').removeAttr('class') ;$(this).attr('class','checked');$('#'+radioId).attr('checked', 'checked');});});</script><script>function check(){if(document.getElementById('0_0').checked||document.getElementById('0_1').checked||document.getElementById('0_2').checked||document.getElementById('0_3').checked){}else{alert('请选择商品属性');return false;}
if(document.getElementById('1_0').checked||document.getElementById('1_1').checked||document.getElementById('1_2').checked||document.getElementById('1_3').checked){}else{alert('请选择商品属性');return false;}
if(document.getElementById('2_0').checked||document.getElementById('2_1').checked||document.getElementById('2_2').checked||document.getElementById('2_3').checked){}else{alert('请选择商品属性');return false;}
}</script><script>function shuaxin(){if(document.getElementById('0_0').checked){sp0=0}
if(document.getElementById('0_1').checked){sp0=0}
if(document.getElementById('0_2').checked){sp0=0}
if(document.getElementById('0_3').checked){sp0=100}
if(document.getElementById('1_0').checked){sp1=0}
if(document.getElementById('1_1').checked){sp1=1000}
if(document.getElementById('1_2').checked){sp1=2000}
if(document.getElementById('1_3').checked){sp1=3000}
if(document.getElementById('2_0').checked){sp2=100}
if(document.getElementById('2_1').checked){sp2=0}
if(document.getElementById('2_2').checked){sp2=100}
if(document.getElementById('2_3').checked){sp2=200}
document.getElementById('price').innerHTML=(3000+sp0+sp1+sp2).toFixed(2);document.getElementById('P_price').value=3000+sp0+sp1+sp2;}</script><b>价格:</b> <span id="price" style="font-size:20px;color:#ff0000;"><?php echo $post['price']; ?></span>元<br><form action="http://s66.demo.s-cms.cn/buy.asp?action=input" method="post"><b>运营商</b> <input type="radio" name="scvvvvv_0" id="0_0" value="移动" onchange="shuaxin()"> <label for="0_0" aa="scvvvvv_0" style="line-height:150%;">移动</label> <input type="radio" name="scvvvvv_0" id="0_1" value="联通" onchange="shuaxin()"> <label for="0_1" aa="scvvvvv_0" style="line-height:150%;">联通</label> <input type="radio" name="scvvvvv_0" id="0_2" value="电信" onchange="shuaxin()"> <label for="0_2" aa="scvvvvv_0" style="line-height:150%;">电信</label> <input type="radio" name="scvvvvv_0" id="0_3" value="全网通" onchange="shuaxin()"> <label for="0_3" aa="scvvvvv_0" style="line-height:150%;" class="checked">全网通</label> <br><b>容量</b> <input type="radio" name="scvvvvv_1" id="1_0" value="16G" onchange="shuaxin()"> <label for="1_0" aa="scvvvvv_1" style="line-height:150%;">16G</label> <input type="radio" name="scvvvvv_1" id="1_1" value="32G" onchange="shuaxin()"> <label for="1_1" aa="scvvvvv_1" style="line-height:150%;">32G</label> <input type="radio" name="scvvvvv_1" id="1_2" value="64G" onchange="shuaxin()"> <label for="1_2" aa="scvvvvv_1" style="line-height:150%;" class="checked">64G</label> <input type="radio" name="scvvvvv_1" id="1_3" value="128G" onchange="shuaxin()"> <label for="1_3" aa="scvvvvv_1" style="line-height:150%;">128G</label> <br><b>颜色</b> <input type="radio" name="scvvvvv_2" id="2_0" value="银色" onchange="shuaxin()"> <label for="2_0" aa="scvvvvv_2" style="line-height:150%;">银色</label> <input type="radio" name="scvvvvv_2" id="2_1" value="灰色" onchange="shuaxin()"> <label for="2_1" aa="scvvvvv_2" style="line-height:150%;">灰色</label> <input type="radio" name="scvvvvv_2" id="2_2" value="土豪金" onchange="shuaxin()"> <label for="2_2" aa="scvvvvv_2" style="line-height:150%;">土豪金</label> <input type="radio" name="scvvvvv_2" id="2_3" value="玫瑰金" onchange="shuaxin()"> <label for="2_3" aa="scvvvvv_2" style="line-height:150%;">玫瑰金</label> <br><b>购买数量:</b><input type="button" style="height:25px; width:25px; margin:0 5px 0 5px;line-height:100%;" value="-" onclick="javascript:if(this.form.amount.value&gt;=2){this.form.amount.value--;}"><input type="text" name="no" value="1" style="border-top:1px solid #ABADB3;border-left:1px solid #ABADB3;border-right:1px solid #ddd;border-bottom:1px solid #ddd;height:24px;width:100px;padding:0 5px;line-height:100%;" id="amount"><input type="button" style="height:25px; width:25px; margin:0 5px 0 5px;line-height:100%;" value="+" id="plus" onclick="javascript:this.form.amount.value++;"><br><input type="hidden" name="P_id" value="84"><input type="hidden" name="P_price" id="P_price" value=""><input type="submit" value="提交订单" onclick="return check()" style="width:100px;height:30px; border:hidden; background-color:#FF9900; color:#FFFFFF; font-family:&quot;微软雅黑&quot;; font-size:15px;line-height:100%;"></form></li>
</ul>
</div>
<div class="product_con"><?php echo $post["body"]; ?></div>
<div class="point">
<ul>
<li style="float: right">下一个:<?php if($pre){ ?><a href="<?php echo get_front_url(array("id"=>$pre['id'],"catid"=>$pre["typeid"],"type"=>'content')); ?>"><?php echo $pre["title"]; ?></a><?php }else{echo '没有了';} ?></li>
</ul>
</div>
</div>
<div class="list_related">
<h1 class="left_h1">热门产品</h1>
<div class="product_list related_list">
<ul>
<?php $posts=dataList('product');foreach($posts as $row){ ?>
<li class="col-sm-3 col-md-3"><a href="<?php echo route('product',['id'=>$row['id']]); ?>"><img src="<?php echo $row['litpic']; ?>" alt="<?php echo $row['title']; ?>" style="width: 100%"></a></li>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">
<h3 class="left_h1">栏目导航</h3>
<ul class="left_nav_ul" id="firstpane">
<?php $posts=dataList('arctype', ['expression'=>[['reid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?>
<li><a class="biglink" href="<?php echo route('home_category',['cat'=>$row['id']]); ?>"><?php echo $row['name']; ?></a><ul class="left_snav_ul menu_body"></ul></li>
<?php }} ?>
</ul>
</div>
<div class="left_news">
<h3 class="left_h1">热门推荐</h3>
<ul class="index_news">
<?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php } ?>
</ul>
</div>
<div class="index_contact">
<h3 class="about_h1">联系我们</h3>
<span class="about_span">CONTACT US</span>
<p style="padding-top:20px;">地址:上海市xx区xx路xx广场x号<br>
电话:86-021-xxxxxxxx<br>
传真:86-021-xxxxxxxxxxxxxxxx<br>
邮箱:xxxxxxxxx@qq.com<br>
网址:www.xxxxxx.com<br></p>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer_nav">
<div class="foot_nav btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="http://s66.demo.s-cms.cn/html/about/2.html#"> <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span> 分享</a>
<div class="dropdown-menu webshare">
<div class="bdsharebuttonbox bdshare-button-style0-16" style="display: inline-block" data-bd-bind="1482978575641"><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_more" data-cmd="more"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="http://s66.demo.s-cms.cn/html/about/2.html#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
</div>
</div>
<div class="foot_nav"><a href="tel:"><span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机</a></div>
<div class="foot_nav"><a id="gotocate" href="http://s66.demo.s-cms.cn/html/about/2.html#"><span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true"></span>分类</a></div>
<div class="foot_nav"><a id="gototop" href="http://s66.demo.s-cms.cn/html/about/2.html#"><span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部</a></div>
</nav>
<footer>
<div class="copyright">
<p>COPYRIGHT © 2009-2011,WWW.YOURNAME.COM,ALL RIGHTS RESERVED版权所有 © 您的公司名称</p>
<p class="copyright_p"><a href="" target="_blank" title="51.La 网站流量统计系统">站长统计</a></p>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="/images/online.css">
<script type="text/javascript" src="/images/online.js"></script>
</body></html>

123
resources/views/home3/index/productcat.blade.php

@ -1,123 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?></title>
<meta name="keywords" content="<?php echo $post['keywords']; ?>">
<meta name="description" content="<?php echo $post['description']; ?>">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bxslider.css" rel="stylesheet">
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/style.css" rel="stylesheet">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bxslider.min.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/common.js"></script>
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.js"></script><link rel="stylesheet" href="/css/share_style0_16.css"></head><body>
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){window.location="wap_index.asp";}}}catch(err){}</script>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/lanrenzhijia.css" rel="stylesheet" type="text/css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<div id="online_qq_layer" style="z-index:1000;"><div id="online_qq_tab"><div class="online_icon"><a title="" id="floatShow" style="display:none" href="javascript:void(0);">&nbsp;</a><a title="" id="floatHide" style="display:block" href="javascript:void(0);">&nbsp;</a></div></div><div id="onlineService" style="display: block;"><div class="online_windows overz"><div class="online_w_top"></div><div class="online_w_c overz"><div class="online_bar expand" id="onlineSort1"><h2><a onclick="changeOnline(1)">在线客服</a></h2><div class="online_content overz" id="onlineType1" style="display: block;"><ul class="overz"><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=12345678&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售前咨询</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=987654321&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">售后服务</a></li><li><a title="点击这里给我发消息" href="http://wpa.qq.com/msgrd?v=3&amp;uin=11223344&amp;site=qq&amp;menu=yes" target="_blank" class="qq_icon">加盟代理</a></li><li><a title="点击这里给我发消息" href="http://www.taobao.com/webww/ww.php?ver=3&amp;touid=taobao&amp;siteid=cntaobao&amp;status=1&amp;charset=utf-8" target="_blank" class="ww_icon">淘宝客服</a></li></ul></div></div><div class="online_bar collapse2" id="onlineSort2"><h2><a onclick="changeOnline(2)">电话客服</a></h2><div class="online_content overz" id="onlineType2" style="display: none;"><ul class="overz"><li>010-10086</li><li>010-10010</li></ul></div></div><div class="online_bar collapse2" id="onlineSort3"><h2><a onclick="changeOnline(3)">网站二维码</a></h2><div class="online_content overz" id="onlineType3" style="display: none;"><ul class="overz"><img src="images/index.png" width="120"></ul></div></div><div class="online_bar collapse2" id="onlineSort4"><h2><a onclick="changeOnline(4)">微信公众号</a></h2><div class="online_content overz" id="onlineType4" style="display: none;"><ul class="overz"><img src="images/20150921144410012.jpg" width="120"></ul></div></div></div><div class="online_w_bottom"></div></div></div></div>
<div class="toolbar"><a href="" class="toolbar-item toolbar-item-feedback"></a><a href="javascript:scroll(0,0)" class="toolbar-item toolbar-item-top"></a></div>
<link href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/language-selector.css" rel="stylesheet" type="text/css">
<header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9"> <a href="/"><img src="/images/20160820232652166.png" class="logo" alt=""></a> </div>
<div id="topsearch" class="col-xs-12 col-sm-3 col-md-3">
<form id="searchform" name="formsearch" action="" method="post">
<div class="input-group search_group">
<input type="text" name="keyword" class="form-control input-sm" placeholder="在这里搜索">
<span class="input-group-btn"> <a href="javascript:searchform.submit();" class="btn btn-sm mysearch_btn" type="button"> </a> </span> </div>
</form>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<span id="small_search" class="glyphicon glyphicon-search" aria-hidden="true"></span> <span class="glyphicon glyphicon-home home-btn" style="cursor: pointer"></span> <a class="navbar-brand" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">导航菜单</a> </div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li class="dropdown"> <a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">网站首页</a></li>
<li class="dropdown"> <a href="<?php echo route('productcat', ['cat'=>1]); ?>">产品展示</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>2]); ?>">案例中心</a></li>
<li class="dropdown"> <a href="<?php echo route('home_category', ['cat'=>1]); ?>">新闻中心</a></li>
<li class="dropdown"> <a href="<?php echo route('singlepage', ['id'=>'contact']); ?>">联系我们</a></li></ul>
</div>
</div>
</nav>
<div class="flash">
<ul class="bxslider"><li><a href="#"><img src="/images/20161108163633172.jpg" /></a></li><li><a href="#"><img src="/images/20161108163616914.jpg" /></a></li></ul>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
adaptiveHeight: true,
infiniteLoop: true,
hideControlOnEnd: true,
auto:true
});
</script>
</header>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
<div class="list_box">
<h1 class="left_h1"><?php echo $post['name']; ?></h1>
<ul class="list_news">
<?php if(!empty($posts)){foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row->id]); ?>"><?php echo $row->title; ?></a><span class="news_time"><?php echo date('Y-m-d',$row->pubdate); ?></span></li>
<?php }} ?>
</ul><div class="cl"></div>
<div class="pages"><ul>{{ $posts->links() }}</ul><div class="cl"></div></div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">
<h3 class="left_h1">栏目导航</h3>
<ul class="left_nav_ul" id="firstpane">
<?php $posts=dataList('arctype', ['expression'=>[['pid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?>
<li><a class="biglink" href="<?php echo route('home_category',['cat'=>$row['id']]); ?>"><?php echo $row['name']; ?></a><ul class="left_snav_ul menu_body"></ul></li>
<?php }} ?>
</ul>
</div>
<div class="left_news">
<h3 class="left_h1">热门推荐</h3>
<ul class="index_news">
<?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?>
<li><a href="<?php echo route('home_detail',['id'=>$row['id']]); ?>"><?php echo $row['title']; ?></a><span class="news_time"><?php echo date('Y-m-d',$row['pubdate']); ?></span></li>
<?php } ?>
</ul>
</div>
<div class="index_contact">
<h3 class="about_h1">联系我们</h3>
<span class="about_span">CONTACT US</span>
<p style="padding-top:20px;">地址:上海市xx区xx路xx广场x号<br>
电话:86-021-xxxxxxxx<br>
传真:86-021-xxxxxxxxxxxxxxxx<br>
邮箱:xxxxxxxxx@qq.com<br>
网址:www.xxxxxx.com<br></p>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer_nav">
<div class="foot_nav btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="http://s66.demo.s-cms.cn/html/news/list-7.html#"> <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span> 分享</a>
<div class="dropdown-menu webshare">
<div class="bdsharebuttonbox bdshare-button-style0-16" style="display: inline-block" data-bd-bind="1483004650129"><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_more" data-cmd="more"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="http://s66.demo.s-cms.cn/html/news/list-7.html#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
</div>
</div>
<div class="foot_nav"><a href="tel:"><span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机</a></div>
<div class="foot_nav"><a id="gotocate" href="http://s66.demo.s-cms.cn/html/news/list-7.html#"><span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true"></span>分类</a></div>
<div class="foot_nav"><a id="gototop" href="http://s66.demo.s-cms.cn/html/news/list-7.html#"><span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部</a></div>
</nav>
<footer>
<div class="copyright">
<p>COPYRIGHT © 2009-2011,WWW.YOURNAME.COM,ALL RIGHTS RESERVED版权所有 © 您的公司名称</p>
</div>
</footer>
<link rel="stylesheet" type="text/css" href="images/online.css">
<script type="text/javascript" src="images/online.js.下载"></script>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
</body></html>

35
resources/views/home3/index/search.blade.php

@ -1,35 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>搜索结果_<?php echo sysconfig('CMS_WEBNAME'); ?></title>
<link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/style.css"><script src="/js/jquery.min.js"></script><script src="/js/bootstrap.min.js"></script></head><body>
@include('home.common.header')
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-9">
<div class="bread"><a href="/"><?php echo CMS_INDEXNAME; ?></a> > <?php echo '搜索结果'; ?></div>
<h1 class="page-header">搜索结果</h1>
<?php foreach($posts as $row){ ?><div class="list"><?php if(!empty($row['litpic'])){echo '<a class="limg" href="'.get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')).'"><img alt="'.$row["title"].'" src="'.$row["litpic"].'"></a>';} ?>
<strong class="tit"><a href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank"><?php echo $row['title']; ?></a></strong><p><?php echo mb_strcut($row['description'],0,160,'utf-8'); ?></p>
<div class="info"><span class="fl"><?php $taglist=taglist($row['id']);foreach($taglist as $row){ ?><a target="_blank" href="<?php echo get_front_url(array("tagid"=>$row['id'],"type"=>'tags')); ?>"><?php echo $row['tag']; ?></a><?php } ?><em><?php echo date("Y-m-d",$row["pubdate"]); ?></em></span><span class="fr"><em><?php echo $row['click']; ?></em>人阅读</span></div><div class="cl"></div></div><?php } ?>
<div class="pages"><ul><?php echo $pagenav; ?></ul><div class="cl"></div></div>
</div><!--/.col-xs-12.col-sm-9-->
<div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar">
<div class="panel panel-info">
<div class="panel-heading">热门推荐</div>
<div class="list-group"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
<a class="list-group-item" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><?php } ?>
</div>
</div>
</div><!--/.sidebar-offcanvas-->
</div><!--/row-->
</div><!-- /.container -->
@include('home.common.footer')</body></html>

9
resources/views/home3/index/sitemap.blade.php

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc><?php echo sysconfig('CMS_BASEHOST'); ?>/</loc><changefreq>daily</changefreq><priority>1.0</priority></url>
<url><loc><?php echo sysconfig('CMS_BASEHOST'); ?>/contact.html</loc></url>
<?php $posts=arclist(array("row"=>300));foreach($posts as $row){ ?><url><loc><?php echo sysconfig('CMS_BASEHOST'); ?><?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?></loc><lastmod><?php echo date("Y-m-d",$row['pubdate']); ?></lastmod><changefreq>monthly</changefreq></url><?php } ?>
<?php $posts=arclist(array("row"=>100,"orderby"=>'rand()'));foreach($posts as $row){ ?><url><loc><?php echo sysconfig('CMS_BASEHOST'); ?><?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?></loc><lastmod><?php echo date("Y-m-d",$row['pubdate']); ?></lastmod><changefreq>monthly</changefreq></url><?php } ?>
<?php $posts=dataList("arctype");foreach($posts as $row){ ?><url><loc><?php echo sysconfig('CMS_BASEHOST'); ?><?php echo get_front_url(array("catid"=>$row['id'],"type"=>'list')); ?></loc></url><?php } ?>
</urlset>

62
resources/views/home3/index/tag.blade.php

@ -1,62 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><div class="zinfo"><h1><?php echo $post["tag"]; ?></h1><?php if(!empty($post['content'])){echo '<div class="zdes">'.$post['content'].'</div>';} ?></div><div id="lad1"><script>ljs1();</script></div>
<?php if(!empty($posts)){foreach($posts as $row){ ?><div class="list"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?>
<strong class="tit"><a href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank"><?php echo $row['title']; ?></a></strong><p><?php echo mb_strcut($row['description'],0,150,'UTF-8'); ?>..</p>
<div class="info"><span class="fl"><em><?php echo date("m-d H:i",$row['pubdate']); ?></em></span><span class="fr"><em><?php echo $row['click']; ?></em>人阅读</span></div><div class="cl"></div></div><?php }} ?><div id="lad2"><script>ljs2();</script></div>
<div class="pages"><ul><?php echo $pagenav; ?></ul><div class="cl"></div></div><div id="lad3"><script>ljs3();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>相关推荐</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo CMS_BASEHOST; ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

58
resources/views/home3/index/tag2.blade.php

@ -1,58 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><div class="zinfo"><h1><?php echo $post["tag"]; ?></h1><?php if(!empty($post['content'])){echo '<div class="zdes">'.$post['content'].'</div>';} ?></div><div id="lad1"><script>ljs1();</script></div>
<?php if(!empty($posts)){foreach($posts as $row){ ?><h2 class="tagarct"><?php echo $row["title"]; ?></h2><div class="content"><?php echo $row["body"]; ?></div><?php }} ?><div id="lad2"><script>ljs2();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>相关推荐</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,_token:'{{ csrf_token() }}',typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo CMS_BASEHOST; ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

57
resources/views/home3/index/tag3.blade.php

@ -1,57 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com<?php echo GetCurUrl(); ?>">
<title><?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?></title><meta name="keywords" content="<?php echo $post["keywords"]; ?>" /><meta name="description" content="<?php echo $post["description"]; ?>" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:ID /]{/dede:type}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640"><h1 class="arct"><?php echo $post["tag"]; ?></h1>
<div class="content"><?php echo $post["content"]; ?></div><div id="lad1"><script>ljs1();</script></div></div><!-- fl_640 end -->
<div class="fr_300"><div id="rad1"><script>rjs1();</script></div>
<div class="side"><div class="stit"><h2>相关推荐</h2><a href="javascript:getmore({PageSize:5,tuijian:1,mode:1,orderby:'rand()',_token:'{{ csrf_token() }}'});" class="more">换一换</a><div class="cl"></div></div>
<ul class="uli chs" id="xglist"><?php $posts=arclist(array("row"=>5,"tuijian"=>1));foreach($posts as $row){ ?><li><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a></li><?php } ?></ul><div class="cl"></div></div>
<div id="rad3"><script>rjs3();</script></div>
<div class="side"><div class="stit"><h2>猜你喜欢</h2><a href="javascript:getmore({PageSize:5,mode:2,orderby:'rand()',_token:'{{ csrf_token() }}'});" class="more">换一换</a><div class="cl"></div></div>
<div class="uli2" id="xglike"><?php $posts=arclist(array("row"=>5,"orderby"=>'rand()'));foreach($posts as $row){ ?><div class="suli"><?php if(!empty($row['litpic'])){ ?><a class="limg" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><img alt="<?php echo $row['title']; ?>" src="<?php echo $row['litpic']; ?>"></a><?php } ?><a target="_blank" href="<?php echo get_front_url(array("id"=>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?></a><div class="sulii"><?php if(!empty($row['writer'])){echo '<span class="time">'.$row['writer'].'</span>';}elseif(!empty($row['source'])){echo '<span class="time">'.$row['source'].'</span>';} ?> 阅读(<?php echo $row['click']; ?>)</div><div class="cl"></div></div><?php } ?><div class="cl"></div></div></div>
<div id="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->
<script>
function getmore(condition)
{
var url = "<?php echo CMS_BASEHOST; ?>/api/listarc";
//var typeid = "";
$.post(url,condition,function(res){
if(res.code==0)
{
var json = res.data; //数组
var str = '';
$.each(json, function (index) {
//循环获取数据
//var title = json[index].title;
if(condition.mode==1)
{
str = str + '<li><a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a></li>';
}
else if(condition.mode==2)
{
var litpic = '';if(json[index].litpic!==''){litpic = '<a class="limg" href="'+json[index].url+'"><img alt="'+json[index].title+'" src="'+json[index].litpic+'"></a>';}
str = str + '<div class="suli">'+litpic+'<a target="_blank" href="'+json[index].url+'">'+json[index].title+'</a><div class="sulii">阅读('+json[index].click+')</div><div class="cl"></div></div>';
}
});
if(str!='' && str!=null && condition.mode==1)
{
$('#xglist').html(str);
}
else if(str!='' && str!=null && condition.mode==2)
{
$('#xglike').html(str);
}
}
else
{
}
},'json');
}
</script>
@include('home.common.footer')</body></html>

7
resources/views/home3/index/tags.blade.php

@ -1,7 +0,0 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta http-equiv="Cache-Control" content="no-siteapp" /><meta http-equiv="Cache-Control" content="no-transform" /><meta name="mobile-agent" content="format=xhtml;url=http://m.bnbni.com/cat{dede:type}[field:id/]{/dede:type}/id{dede:field name='aid' /}">
<title>笔记本电脑相关知识_<?php echo sysconfig('CMS_WEBNAME'); ?></title><meta name="keywords" content="" /><meta name="description" content="" /><link rel="stylesheet" href="<?php echo CMS_BASEHOST; ?>/images/style.css" media="all"><script type="text/javascript" src="<?php echo CMS_BASEHOST; ?>/js/ad.js"></script><script>uaredirect("http://m.bnbni.com/cat{dede:type}[field:id/]{/dede:type}/id{dede:field name='aid' /}");</script></head><body><script>site();</script>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10">
<div class="ws-tag"><?php $posts=tagslist(); foreach($posts as $row) { ?>
<a target="_blank" href="<?php echo get_front_url(array("type"=>"tags","tagid"=>$row["id"])); ?>"><?php echo $row['tag']; ?></a>&nbsp;<?php } ?></div>
</div><!-- box end -->@include('home.common.footer')</body></html>

169
resources/views/weixin/cart/index.blade.php

@ -0,0 +1,169 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>购物车 - 商城</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script>
<meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body>
<div class="classreturn loginsignup">
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div>
<div class="ds-in-bl tit center"><span>购物车</span></div>
<div class="ds-in-bl nav_menu"><a href="javascript:void(0);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/class1.png" alt="菜单"></a></div>
</div>
<div class="flool tpnavf cl">
<div class="nav_list">
<ul>
<a href="<?php echo route('weixin'); ?>"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/home_icon.png"><p>首页</p></li></a>
<a href="/Weixin/index.php?m=Store&amp;a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/brand_icon.png"><p>分类</p></li></a>
<a href="/Weixin/index.php?m=Cart&amp;a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a>
<a href="/Weixin/index.php?m=User&amp;a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon.png"><p>个人中心</p></li></a></ul>
<div class="cl"></div>
</div>
</div>
<div class="cart_list">
<!--商品列表-s-->
<div class="sc_list" id="cart_list_13">
<div class="radio-img">
<div class="radio fl ">
<!--商品勾选按钮-->
<span onclick="checkGoods(this)" class="che">
<i>
<input name="checkItem" type="checkbox" style="display:none;" value="13">
</i>
</span>
</div>
<div class="shopimg fl">
<a href="/index.php/Mobile/Goods/goodsInfo/id/135.html">
<!--商品图片-->
<img src="<?php echo env('APP_URL'); ?>/images/weixin/goods_thumb_135_200_200.jpeg">
</a>
</div>
</div>
<div class="deleshow">
<div class="deletes">
<!--商品名-->
<p class="tit">重庆电信手机卡电话卡语音卡选靓号3G4G卡内部5折卡低资费(飞)</p>
<!--删除按钮-->
<a href="javascript:void(0);" class="delescj deleteGoods" data-cart-id="13"><img src="<?php echo env('APP_URL'); ?>/images/weixin/dele.png"></a>
</div>
<!--商品属性,规格-->
<p class="weight">合约套餐:乐享4G套餐59元</p>
<div class="prices">
<p class="sc_pri fl">
<!--商品单价-->
<span></span><span>54.28</span>
</p>
<!--加减数量-->
<div class="plus fr get_mp">
<span class="mp_minous disable">-</span>
<span class="mp_mp">
<input name="changeQuantity_13" type="text" id="changeQuantity_13" value="1" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" class="input-num">
</span>
<span class="mp_plus">+</span>
</div>
</div>
</div>
</div>
<!--商品列表-e-->
<!--商品列表-s-->
<div class="sc_list" id="cart_list_13">
<div class="radio-img">
<div class="radio fl ">
<!--商品勾选按钮-->
<span onclick="checkGoods(this)" class="che">
<i>
<input name="checkItem" type="checkbox" style="display:none;" value="13">
</i>
</span>
</div>
<div class="shopimg fl">
<a href="/index.php/Mobile/Goods/goodsInfo/id/135.html">
<!--商品图片-->
<img src="<?php echo env('APP_URL'); ?>/images/weixin/goods_thumb_135_200_200.jpeg">
</a>
</div>
</div>
<div class="deleshow">
<div class="deletes">
<!--商品名-->
<p class="tit">重庆电信手机卡电话卡语音卡选靓号3G4G卡内部5折卡低资费(飞)</p>
<!--删除按钮-->
<a href="javascript:void(0);" class="delescj deleteGoods" data-cart-id="13"><img src="<?php echo env('APP_URL'); ?>/images/weixin/dele.png"></a>
</div>
<!--商品属性,规格-->
<p class="weight">合约套餐:乐享4G套餐59元</p>
<div class="prices">
<p class="sc_pri fl">
<!--商品单价-->
<span></span><span>54.28</span>
</p>
<!--加减数量-->
<div class="plus fr get_mp">
<span class="mp_minous disable">-</span>
<span class="mp_mp">
<input name="changeQuantity_13" type="text" id="changeQuantity_13" value="1" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" class="input-num">
</span>
<span class="mp_plus">+</span>
</div>
</div>
</div>
</div>
<!--商品列表-e-->
<!--提交栏-s-->
<div class="foohi foohiext">
<div class="payit ma-to-20 payallb">
<div class="radio fl">
<span class="che alltoggle checkFull" onclick="checkGoods(this)">
<i></i>
</span>
<span class="all">全选</span>
</div>
<div class="fr">
<a href="javascript:void(0);" onclick="cart_submit();">去结算</a>
</div>
<div class="youbia">
<p><span class="pmo">总计:</span><span></span><span id="total_fee">919.08</span></p>
</div>
</div>
</div>
<!--提交栏-e-->
<script type="text/javascript">
$(document).ready(function(){
initDecrement();
initCheckBox();
});
</script>
</div>
<!--购物车没有商品-start-->
<div class="cart_list">
<div class="nonenothing">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/nothing.png">
<p>购物车暂无商品</p>
<a href="/index.php/Mobile/Index/index.html">去逛逛</a>
</div>
</div>
<br><br>
<!--猜你喜欢-start-->
<div class="floor">
<div class="banner_headline">
<div class="tit">
<h4>猜你喜欢</h4>
</div>
</div>
<div class="likeshop">
<ul class="goods_list">
<li><a href="detail.html"><img alt="1" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">美女真空凸点诱惑</p><div class="goods_price"><b>100.00</b></div></div></a></li>
<li><a href="detail.html"><img alt="2" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">性感小骚货在床上</p><div class="goods_price"><b>100.00</b></div></div></a></li>
<li><a href="detail.html"><img alt="3" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">小野猫嫩模大尺度写真</p><div class="goods_price"><b>100.00</b></div></div></a></li>
<li><a href="detail.html"><img alt="4" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">韩国嫩模的逆天身材</p><div class="goods_price"><b>100.00</b></div></div></a></li>
<li><a href="detail.html"><img alt="5" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">推女郎林夕图片</p><div class="goods_price"><b>100.00</b></div></div></a></li>
<li><a href="detail.html"><img alt="6" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">性感闺蜜艺术照</p><div class="goods_price"><b>100.00</b></div></div></a></li>
</ul>
</div>
</div>
<!--购物车没有商品-end-->
</body></html>

4
resources/views/weixin/common/footer.blade.php

@ -4,8 +4,8 @@
<ul>
<a href="<?php echo route('weixin'); ?>"><li class="on"><img src="<?php echo env('APP_URL'); ?>/images/weixin/home_icon2.png"><p>首页</p></li></a>
<a href="categoryList.html"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/brand_icon.png"><p>分类</p></li></a>
<a href="cart.html"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a>
<a href="my.html"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon.png"><p>个人中心</p></li></a></ul>
<a href="<?php echo route('weixin'); ?>/cart"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a>
<a href="<?php echo route('weixin'); ?>/user"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon.png"><p>个人中心</p></li></a></ul>
</div>
</div>
<!--底部导航-end-->

26
resources/views/weixin/index/index.blade.php

@ -201,5 +201,31 @@ function messageNotice(message)
</script>
<!--猜您喜欢-end-->
<!--猜您喜欢-start-->
<div class="floor guesslike">
<div class="banner_tit"><img src="images/weixin/ind_52.jpg" alt="猜您喜欢"/></div>
<ul class="goods_list_s cl">
<a href="http://www.baidu.com"><li><span class="goods_thumb"><img alt="决定基金业绩的主要因素" src="images/weixin/goods_thumb_400_400.jpeg"></span>
<div class="goods_info"><p class="goods_tit">买基金要因素决定基金业绩的主要因素决定基金业绩的主要因素决定基金业绩的主要因素</p>
<p class="goods_price"><b>100.00</b></p>
<p class="goods_des">库存:10</p>
</div>
</li></a>
<a href="http://www.baidu.com"><li><span class="goods_thumb"><img alt="决定基金业绩的主要因素" src="images/weixin/goods_thumb_400_400.jpeg"></span>
<div class="goods_info"><p class="goods_tit">买基金的好处</p>
<p class="goods_price"><b>100.00</b></p>
<p class="goods_des">库存:10</p>
</div>
</li></a>
<a href="http://www.baidu.com"><li><span class="goods_thumb"><img alt="决定基金业绩的主要因素" src="images/weixin/goods_thumb_400_400.jpeg"></span>
<div class="goods_info"><p class="goods_tit">买基金的好处</p>
<p class="goods_price"><b>100.00</b></p>
<p class="goods_des">库存:10</p>
</div>
</li></a>
</ul>
</div>
<!--猜您喜欢-end-->
@include('weixin.common.footer')
</body></html>

302
resources/views/weixin/user/index.blade.php

@ -0,0 +1,302 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>商城</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script></head><body>
<div class="myhearder">
<div class="person">
<!--<a href="">-->
<div class="fl personicon">
<div class="personicon">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/user68.jpg">
</div>
</div>
<div class="fl lors">
<span>15280719357</span>
</div>
<!--</a>-->
</div>
<div class="set">
<!--设置-->
<a class="setting" href="/index.php/Mobile/User/userinfo.html"><i></i></a>
<!--我的留言-->
<a class="massage" href="/index.php/mobile/User/message_notice.html"><i></i></a>
</div>
<div class="scgz">
<ul>
<li>
<a href="/index.php/Mobile/User/collect_list.html">
<h2>1</h2>
<p>我的收藏</p>
</a>
</li>
<li>
<a href="/index.php/Mobile/User/message_notice.html">
<h2>0</h2>
<p>消息通知</p>
</a>
</li>
</ul>
</div>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/bjm.jpg" width="100%" height="100%" class="user_bg">
</div>
<div class="floor my g4">
<div class="content">
<!--订单管理模块-s-->
<div class="floor myorder ma-to-20 p">
<div class="content30">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/mlist.png">
<span>我的订单</span>
</div>
<div class="fr">
<a href="/index.php/Mobile/User/order_list.html">
<span>全部订单</span>
<i class="Mright"></i>
</a>
</div>
</div>
</div>
</div>
<div class="floor floor_order">
<ul>
<li>
<a href="/index.php/Mobile/User/order_list/type/WAITPAY.html">
<span>0</span>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/q1.png" alt="">
<p>待付款</p>
</a>
</li>
<li>
<a href="/index.php/Mobile/User/wait_receive/type/WAITRECEIVE.html">
<span>0</span>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/q2.png" alt="">
<p>待收货</p>
</a>
</li>
<li>
<a href="/index.php/Mobile/User/comment/status/0.html">
<span>0</span>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/q3.png" alt="">
<p>待评价</p>
</a>
</li>
<li>
<a href="/index.php/Mobile/User/return_goods_list/type/1.html">
<span>0</span>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/q4.png" alt="">
<p>退款/退货</p>
</a>
</li>
</ul>
</div>
<!--订单管理模块-e-->
<!--资金管理-s-->
<div class="floor myorder ma-to-20 p">
<div class="content30">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/mwallet.png">
<span>我的钱包</span>
</div>
<div class="fr">
<!--<a href="bankrollmm.html">-->
<a href="/index.php/Mobile/User/account.html">
<span>资金管理</span>
<i class="Mright"></i>
</a>
</div>
</div>
</div>
</div>
<div class="floor w3">
<ul>
<li>
<a href="/index.php/Mobile/User/account.html">
<h2>0.00</h2>
<p>余额</p>
</a>
</li>
<li>
<a href="/index.php/Mobile/User/coupon.html">
<h2>0</h2>
<p>优惠券</p>
</a>
</li>
<li>
<a href="/index.php/Mobile/User/points_list.html">
<h2>100</h2>
<p>积分</p>
</a>
</li>
</ul>
</div>
<!--资金管理-e-->
<div class="floor list7 ma-to-20">
<div class="myorder p">
<div class="content30">
<a href="javascript:void(0);" onclick="alert('请购买商业正版哦!');">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/w1.png">
<span>我的分销</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="/index.php/Mobile/User/comment/status/1.html">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/w2.png">
<span>我的评价</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="/index.php/Mobile/Goods/integralMall.html">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/w5.png">
<span>积分商城</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="/index.php/Mobile/Activity/coupon_list.html">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/w7.png">
<span>领券中心</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="<?php echo route('weixin_user_goods_history'); ?>">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/w3.png">
<span>我的足迹</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="<?php echo route('weixin_user_address_list'); ?>">
<div class="order">
<div class="fl">
<img src="<?php echo env('APP_URL'); ?>/images/weixin/w8.png">
<span>地址管理</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<!--
<div class="myorder p">
<div class="content30">
<a href="">
<div class="order">
<div class="fl">
<img src="images/w3.png"/>
<span>我的预售</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="">
<div class="order">
<div class="fl">
<img src="images/w4.png"/>
<span>我的拼团</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="">
<div class="order">
<div class="fl">
<img src="images/w6.png"/>
<span>帮助中心</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
<div class="myorder p">
<div class="content30">
<a href="">
<div class="order">
<div class="fl">
<img src="images/w7.png"/>
<span>意见反馈</span>
</div>
<div class="fr">
<i class="Mright"></i>
</div>
</div>
</a>
</div>
</div>
-->
</div>
</div>
<div class="setting">
<div class="close">
<a href="/index.php/Mobile/User/logout.html" id="logout">安全退出</a>
</div>
</div>
</div>
@include('weixin.common.footer')
</body></html>

35
resources/views/weixin/user/userGoodsHistory.blade.php

@ -0,0 +1,35 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>商城</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script></head><body>
<div class="classreturn loginsignup">
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div>
<div class="ds-in-bl tit center"><span>我的足迹</span></div>
<div class="ds-in-bl nav_menu"><a href="javascript:void(0);" style="color:#999;">清空</a></div>
</div>
<div class="floor">
<ul class="goods_list_s cl">
<li><a href="http://www.baidu.com"><span class="goods_thumb"><img alt="决定基金业绩的主要因素" src="<?php echo env('APP_URL'); ?>/images/weixin/goods_thumb_400_400.jpeg"></span></a>
<div class="goods_info"><p class="goods_tit">买基金要因素决定基金业绩的主要因素决定基金业绩的主要因素决定基金业绩的主要因素</p>
<p class="goods_price"><b>100.00</b></p>
<p class="goods_des fr">删除</p>
</div>
</li>
<li><a href="http://www.baidu.com"><span class="goods_thumb"><img alt="决定基金业绩的主要因素" src="<?php echo env('APP_URL'); ?>/images/weixin/goods_thumb_400_400.jpeg"></span></a>
<div class="goods_info"><p class="goods_tit">买基金要因素决定基金业绩的主要因素决定基金业绩的主要因素决定基金业绩的主要因素</p>
<p class="goods_price"><b>100.00</b></p>
<p class="goods_des fr">删除</p>
</div>
</li>
<li><a href="http://www.baidu.com"><span class="goods_thumb"><img alt="决定基金业绩的主要因素" src="<?php echo env('APP_URL'); ?>/images/weixin/goods_thumb_400_400.jpeg"></span></a>
<div class="goods_info"><p class="goods_tit">买基金要因素决定基金业绩的主要因素决定基金业绩的主要因素决定基金业绩的主要因素</p>
<p class="goods_price"><b>100.00</b></p>
<p class="goods_des fr">删除</p>
</div>
</li>
</ul>
</div>
@include('weixin.common.footer')
</body></html>

15
routes/web.php

@ -56,17 +56,22 @@ Route::group(['namespace' => 'Home'], function () {
Route::group(['prefix' => 'weixin', 'namespace' => 'Weixin'], function () {
Route::get('/', 'IndexController@index')->name('weixin');
Route::get('/page404', 'IndexController@page404')->name('weixin_page404'); //404页面
Route::get('/tags', 'IndexController@tags')->name('weixin_tags');
Route::get('/search', 'IndexController@search')->name('weixin_search'); //搜索页面
Route::get('/p/{id}', 'IndexController@detail')->name('weixin_article_detail'); //文章详情页
Route::get('/cat{cat}', 'IndexController@category')->name('weixin_article_category'); //分类页
Route::get('/tag{tag}', 'IndexController@tag')->name('weixin_tag'); //标签页
Route::get('/page/{id}', 'IndexController@page')->name('weixin_singlepage'); //单页
Route::get('/goods/{id}', 'IndexController@goods')->name('weixin_goods_detail'); //商品详情页
Route::get('/goodslist', 'GoodsController@goodslist')->name('weixin_goods_list'); //产品分类页
Route::get('/goodstype{cat}', 'IndexController@goodstype')->name('weixin_goodstype'); //产品分类页
Route::get('/sitemap.xml', 'IndexController@sitemap')->name('weixin_sitemap');//sitemap
Route::get('/user', 'UserController@index')->name('weixin_user');
Route::get('/user_goods_history', 'UserController@userGoodsHistory')->name('weixin_user_goods_history');
Route::get('/cart', 'CartController@index')->name('weixin_cart');
Route::get('/user_address_list', 'AddressController@index')->name('weixin_user_address_list');
Route::get('/test', 'IndexController@test')->name('weixin_test'); //测试
});

Loading…
Cancel
Save