林一峰 7 years ago
parent
commit
935d3dec7b
  1. 56
      app/Common/function.php
  2. 2
      app/Http/Controllers/Admin/ProductController.php
  3. 5
      app/Http/Controllers/Api/IndexController.php
  4. 60
      app/Http/Controllers/Home/IndexController.php
  5. 184
      public/css/bxslider.css
  6. 16
      public/css/common.css
  7. 300
      public/css/language-selector.css
  8. 218
      public/css/lanrenzhijia.css
  9. 907
      public/css/style3.css
  10. BIN
      public/images/0.png
  11. BIN
      public/images/1.png
  12. BIN
      public/images/20160820232652166.png
  13. BIN
      public/images/20161108163616914.jpg
  14. BIN
      public/images/20161108163633172.jpg
  15. BIN
      public/images/20161108163706251.png
  16. BIN
      public/images/index.png
  17. BIN
      public/images/left_li.gif
  18. BIN
      public/images/li.png
  19. BIN
      public/images/online_bg.png
  20. BIN
      public/images/title_line.jpg
  21. BIN
      public/images/toolbar.png
  22. BIN
      public/images/top_bg.jpg
  23. BIN
      public/images/w1.png
  24. 10
      public/js/bxslider.min.js
  25. 61
      public/js/common.js
  26. 44
      public/js/jquery.KinSlideshow-1.2.1.min.js
  27. 70
      public/js/online.js
  28. BIN
      public/uploads/2017/06/201706041951031181.jpg
  29. BIN
      public/uploads/2017/06/201706042011354141.jpg
  30. BIN
      public/uploads/2017/06/201706042012428057.jpg
  31. BIN
      public/uploads/2017/06/201706042013331349.jpg
  32. 132
      resources/org/phpAnalysis/demo.php
  33. BIN
      resources/org/phpAnalysis/dict/base_dic_full.dic
  34. 175411
      resources/org/phpAnalysis/dict/not-build/base_dic_full.txt
  35. 25
      resources/org/phpAnalysis/dict/readme.txt
  36. 17
      resources/org/phpAnalysis/dict/words_addons.dic
  37. 32
      resources/org/phpAnalysis/dict_build.php
  38. 1137
      resources/org/phpAnalysis/phpAnalysis.php
  39. 458
      resources/org/phpAnalysis/readme/license.txt
  40. 16
      resources/org/phpAnalysis/readme/readme.txt
  41. 4
      resources/views/admin/article/index.blade.php
  42. 4
      resources/views/admin/category/index.blade.php
  43. 4
      resources/views/admin/product/add.blade.php
  44. 8
      resources/views/admin/product/index.blade.php
  45. 4
      resources/views/admin/producttype/add.blade.php
  46. 4
      resources/views/admin/producttype/index.blade.php
  47. 2
      resources/views/home/common/footer.blade.php
  48. 6
      resources/views/home/common/header.blade.php
  49. 4
      resources/views/home/index/category.blade.php
  50. 4
      resources/views/home/index/category2.blade.php
  51. 4
      resources/views/home/index/detail.blade.php
  52. 12
      resources/views/home/index/index.blade.php
  53. 4
      resources/views/home/index/tag.blade.php
  54. 4
      resources/views/home/index/tag2.blade.php
  55. 4
      resources/views/home/index/tag3.blade.php
  56. 20
      resources/views/home3/404.blade.php
  57. 1
      resources/views/home3/common/footer.blade.php
  58. 5
      resources/views/home3/common/header.blade.php
  59. 124
      resources/views/home3/index/category.blade.php
  60. 57
      resources/views/home3/index/category2.blade.php
  61. 122
      resources/views/home3/index/detail.blade.php
  62. 126
      resources/views/home3/index/index.blade.php
  63. 171
      resources/views/home3/index/login.blade.php
  64. 121
      resources/views/home3/index/page.blade.php
  65. 177
      resources/views/home3/index/product.blade.php
  66. 123
      resources/views/home3/index/productcat.blade.php
  67. 35
      resources/views/home3/index/search.blade.php
  68. 9
      resources/views/home3/index/sitemap.blade.php
  69. 62
      resources/views/home3/index/tag.blade.php
  70. 58
      resources/views/home3/index/tag2.blade.php
  71. 57
      resources/views/home3/index/tag3.blade.php
  72. 7
      resources/views/home3/index/tags.blade.php
  73. 13
      routes/web.php

56
app/Common/function.php

@ -2,16 +2,24 @@
// 公共函数文件
//获取数据
function dataList($modelname, $where = '', $orderby = '', $field = '*', $size = 15, $page = 1)
function dataList($modelname, $where = [], $size = 15, $page = 1)
{
$model = \DB::table($modelname);
//查询条件
if($where!=''){$model = $model->where($where);}
//排序
if($orderby!='')
$page = 1;$skip = 0;
if(isset($where['limit'])){$limit=explode(',',$where['limit']); $skip = $limit[0]; $size = $limit[1];}else{if(isset($where['row'])){$size = $where['row'];}} // 参数格式:$where['limit'] = '2,10';$where['row'] = 10;
//原生sql
if(isset($where['sql']))
{
$model = $model->whereRaw($where['sql']);
}
//排序
if(isset($where['orderby']))
{
$orderby = $where['orderby'];
if($orderby == 'rand()')
{
$model = $model->orderBy(\DB::raw('rand()'));
@ -31,11 +39,28 @@ function dataList($modelname, $where = '', $orderby = '', $field = '*', $size =
}
}
}
//要返回的字段
if($field!='*'){$model = $model->select(\DB::raw($field));}
else
{
$model = $model->orderBy('id', 'desc');
}
$skip = ($page-1)*$size;
//要返回的字段
if(isset($where['field'])){$model = $model->select(\DB::raw($where['field']));}
//查询条件
$where = function ($query) use ($where) {
if(isset($where['expression']))
{
foreach($where['expression'] as $row)
{
$query->where($row[0], $row[1], $row[2]);
}
}
};
if(!empty($where)){$model = $model->where($where);}
if($skip==0){$skip = ($page-1)*$size;}
return object_to_array($model->skip($skip)->take($size)->get());
}
@ -163,7 +188,7 @@ function arclist(array $param)
if(!empty($where)){$model = $model->where($where);}
//排序
//原生sql
if(isset($param['sql']))
{
$model = $model->whereRaw($param['sql']);
@ -219,7 +244,7 @@ function tagslist($param="")
if(isset($param['limit'])){$limit=$param['limit'];}else{if(isset($param['row'])){$limit=$param['row'];}}
if(isset($param['orderby'])){$orderby=$param['orderby'];}else{$orderby='id desc';}
return db("tagindex")->field('content',true)->select();
return \DB::table("tagindex")->get();
}
/**
@ -230,10 +255,7 @@ function tagslist($param="")
*/
function flinklist($param="")
{
if(isset($param['row'])){$limit=$param['row'];}else{$limit="";}
if(isset($param['orderby'])){$orderby=$param['orderby'];}else{$orderby='id desc';}
return db("friendlink")->order($orderby)->limit($limit)->select();
return \DB::table("friendlink")->orderBy('rank','desc')->take($param['row'])->get();
}
/**
@ -531,7 +553,7 @@ function cut_str($string, $sublen=250, $omitted = '', $start=0, $code='UTF-8')
//PhpAnalysis获取中文分词
function get_keywords($keyword)
{
Vendor('phpAnalysis.phpAnalysis');
require_once(resource_path('org/phpAnalysis/phpAnalysis.php'));
//import("Vendor.phpAnalysis.phpAnalysis");
//初始化类
PhpAnalysis::$loadInit = false;

2
app/Http/Controllers/Admin/ProductController.php

@ -78,7 +78,7 @@ class ProductController extends CommonController
unset($_POST["_token"]);
if(isset($_POST['editorValue'])){unset($_POST['editorValue']);}
if(DB::table('product')->insert($_POST))
if(DB::table('product')->insert(array_filter($_POST)))
{
success_jump('添加成功!', route('admin_product'));
}

5
app/Http/Controllers/Api/IndexController.php

@ -32,10 +32,11 @@ class IndexController extends CommonController
$mname = request('mname','article');
$model = DB::table($mname);
if($where){$model->where($where);}
if($where){$model = $model->where($where);}
if($orderby == 'rand()'){$model = $model->orderBy(\DB::raw('rand()'));}else{$model = $model->orderBy($orderby[0], $orderby[1]);}
$count = $model->count();
$list = object_to_array($model->orderBy($orderby[0], $orderby[1])->skip($skip)->take($PageSize)->get());
$list = object_to_array($model->skip($skip)->take($PageSize)->get());
if(!empty($list) && $PageIndex<=10)
{

60
app/Http/Controllers/Home/IndexController.php

@ -185,6 +185,66 @@ class IndexController extends CommonController
return view('home.index.'.$post['template'], $data);
}
//商品列表页
public function productcat($cat, $page=0)
{
$pagenow = $page;
if(empty($cat) || !preg_match('/[0-9]+/',$cat)){error_jump('您访问的页面不存在或已被删除!', route('page404'));}
$post = object_to_array(DB::table('product_type')->where('id', $cat)->first(), 1);if(empty($post)){error_jump('您访问的页面不存在或已被删除!', route('page404'));}
$data['post'] = $post;
$subcat="";$sql="";
$post2 = object_to_array(DB::table('product_type')->select('id')->where('reid', $cat)->get());
if(!empty($post2)){foreach($post2 as $row){$subcat=$subcat."typeid=".$row["id"]." or ";}}
$subcat=$subcat."typeid=".$cat;
$data['sql'] = $subcat;
$counts = DB::table("product")->whereRaw($subcat)->count();
if($counts>sysconfig('CMS_MAXARC')){$counts=sysconfig('CMS_MAXARC');dd($counts);}
$pagesize = sysconfig('CMS_PAGESIZE');$page=0;
if($counts % $pagesize){//取总数据量除以每页数的余数
$pages = intval($counts/$pagesize) + 1; //如果有余数,则页数等于总数据量除以每页数的结果取整再加一,如果没有余数,则页数等于总数据量除以每页数的结果
}else{$pages = $counts/$pagesize;}
if(!empty($pagenow)){if($pagenow==1 || $pagenow>$pages){error_jump('您访问的页面不存在或已被删除!', route('page404'));}$page = $pagenow-1;$nextpage=$pagenow+1;$previouspage=$pagenow-1;}else{$page = 0;$nextpage=2;$previouspage=0;}
$data['page'] = $page;
$data['pages'] = $pages;
$data['counts'] = $counts;
$start = $page*$pagesize;
$data['posts'] = DB::table('article')->whereRaw($subcat)->paginate($pagesize); //获取列表
if($post['templist']=='category2'){if(!empty($pagenow)){error_jump('您访问的页面不存在或已被删除!', route('page404'));}}
return view('home.index.'.$post['templist'], $data);
}
//商品详情页
public function product($id)
{
if(empty($id) || !preg_match('/[0-9]+/',$id)){error_jump('您访问的页面不存在或已被删除!', route('page404'));}
$post = object_to_array(DB::table('product')->where('id', $id)->first(), 1);if(empty($post)){error_jump('您访问的页面不存在或已被删除!', route('page404'));}$post['typename'] = DB::table('arctype')->where('id', $post['typeid'])->value('typename');
if($post)
{
$cat = $post['typeid'];
$post['body'] = ReplaceKeyword($post['body']);
if(!empty($post['writer'])){$post['writertitle']=$post['title'].' '.$post['writer'];}
$data['post'] = $post;
$data['pre'] = get_article_prenext(array('aid'=>$post["id"],'typeid'=>$post["typeid"],'type'=>"pre"));
}
else
{
error_jump('您访问的页面不存在或已被删除!', route('page404'));
}
$post = object_to_array(DB::table('product_type')->where('id', $cat)->first(), 1);
return view('home.index.'.$post['temparticle'], $data);
}
//sitemap页面
public function sitemap()

184
public/css/bxslider.css

@ -0,0 +1,184 @@
/* AB模版网 做最好的织梦整站模板下载网站 */
/* 网址:Www.AdminBuy.Cn */
/* 图标大全:Sc.AdminBuy.Cn 专业建站素材网站 */
/* QQ:9490489 */
/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* /bxslider.com
*
* Written by: Steven Wanderski, 2014
* /stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* /bxcreative.com
*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
position: relative;
/*margin: 0 auto 60px;*/
margin: 0 auto 0px;
padding: 0;
*zoom: 1;
}
.bx-wrapper img {
max-width: 100%;
display: block;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
/* -moz-box-shadow: 0 0 5px #ccc;
-webkit-box-shadow: 0 0 5px #ccc;
box-shadow: 0 0 5px #ccc;
border: 5px solid #fff;
left: -5px;
background: #fff;*/
/*fix other elements on the page moving (on Chrome)*/
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
position: absolute;
bottom: -30px;
width: 100%;
}
/* LOADER */
.bx-wrapper .bx-loading {
min-height: 50px;
background: url(../images/bx_loader.gif) center center no-repeat #fff;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
text-align: center;
font-size: .85em;
font-family: Arial;
font-weight: bold;
color: #666;
padding-top: 20px;
}
.bx-wrapper .bx-pager .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
/*background: #303c4b;*/
border: 1px solid #fff;
text-indent: -9999px;
display: block;
width: 15px;
height: 15px;
margin: 0 3px;
outline: 0;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
background: #fff;
border: 1px solid #fff;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
left: 10px;
background: url(../images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
right: 10px;
background: url(../images/controls.png) no-repeat -43px -32px;
}
.bx-wrapper .bx-prev:hover {
background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
position: absolute;
top: 50%;
margin-top: -16px;
outline: 0;
width: 32px;
height: 32px;
text-indent: -9999px;
z-index: 999;
}
.bx-wrapper .bx-controls-direction a.disabled {
display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
display: block;
text-indent: -9999px;
width: 10px;
height: 11px;
outline: 0;
background: url(../images/controls.png) -86px -11px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover, .bx-wrapper .bx-controls-auto .bx-start.active {
background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
display: block;
text-indent: -9999px;
width: 9px;
height: 11px;
outline: 0;
background: url(../images/controls.png) -86px -44px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover, .bx-wrapper .bx-controls-auto .bx-stop.active {
background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
text-align: left;
width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
right: 0;
width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
position: absolute;
bottom: 0;
left: 0;
background: #666\9;
background: rgba(80, 80, 80, 0.75);
width: 100%;
}
.bx-wrapper .bx-caption span {
color: #fff;
font-family: Arial;
display: block;
font-size: .85em;
padding: 10px;
}

16
public/css/common.css

@ -0,0 +1,16 @@
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,dd,form,input,textarea,select,button{margin:0;padding:0;}em,i{font-style:normal;}
li,ul{list-style:none;}ul{zoom:1;}img{border:none;border:0;margin:0;padding:0;}.cl{clear:both;}.fl,.mfl{float:left;}.fr,.mfr{float:right;}.m-auto{margin:0 auto;}
.yaheis a,.yahei{font-family:Microsoft YaHei,"Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,tahoma,simsun,sans-serif;}
.clear{zoom:1;}.clear:after{content:"";display:block;clear:both;}.bgcolor{background-color:#01aef0;}.fcolor{color:#22ac38;}
.mt10{margin-top:10px;}.mb10{margin-bottom:10px;}.zcs a,.zc{color:#c39;}.reds a,.red{color:#22ac38;}.blues a,.blue{color:#0078b6;}.grey,.greys a{color:#999;}.chs a:hover{color:#22ac38;}
img:hover{filter:alpha(opacity=90);opacity:0.9;}
.box{width:960px;margin-left:auto;margin-right:auto;overflow:hidden;}
.fl_640{width:640px;float:left;overflow:hidden;}.fr_300{width:300px;float:right;overflow:hidden;}
.page,.pages{text-align:center;padding:15px 0px;}.page a:hover{background:#FF5E52;color:#fff;}
.page a{display:inline-block;height:32px;line-height:32px;padding:0 45px;font-size:14px;color:#fff;background:#22ac38;margin-right:8px;border-radius:3px;box-shadow:1px 1px 2px #eee;}
.pages li{display:inline-block;height:35px;line-height:35px;text-align:center;font-size:14px;color:#808080;background-color:#f4f4f4;padding-right:15px;padding-left:15px;margin-right:1px;*display:inline;}
.pages li a{color:#808080;}.pages .thisclass{background-color:#01aef0;color:#fff;}.pages .thisclass a{color:#fff;}
.pages li:hover,.pages li:hover a{background-color:#01aef0;color:#fff;}

300
public/css/language-selector.css

@ -0,0 +1,300 @@
/* IE5.5 hacks */
* html #lang_sel,
* html #lang_sel_list {
width: 12em;
}
* html #lang_sel a,
* html #lang_sel_list a {
width: 149px;
}
* html #lang_sel a:visited,
* html #lang_sel_list a:visited {
width: 149px;
}
* html #lang_sel ul ul,
* html #lang_sel_list ul {
top: 18px;
}
* html #lang_sel ul ul a,
* html #lang_sel_list ul a {
width: 150px;
}
* html #lang_sel ul ul a:visited,
* html #lang_sel_list ul a:visited {
width: 150px;
}
/* remove all the bullets, borders and padding from the default list styling */
#lang_sel {
height: 32px;
position: relative;
font-family: verdana, arial, sans-serif;
display: inline-block;
/* style the table so that it takes no part in the layout - required for IE to work */
/* style the top level hover */
}
#lang_sel ul {
padding: 0 !important;
margin: 0 !important;
list-style-type: none !important;
/* hide the sub levels and give them a positon absolute so that they take up no room */
}
#lang_sel ul li:hover ul, #lang_sel ul a:hover ul {
visibility: visible;
}
#lang_sel ul ul {
visibility: hidden;
position: absolute;
height: 0;
top: 25px;
left: 0;
border-top: 1px solid #cdcdcd;
}
#lang_sel ul ul a {
background: #ffffff;
color: #444444;
height: auto;
line-height: 1em;
padding: 5px 10px;
border-width: 0 1px 1px 1px;
}
#lang_sel ul ul a:visited {
background: #ffffff;
color: #444444;
height: auto;
line-height: 1em;
padding: 5px 10px;
border-width: 0 1px 1px 1px;
}
#lang_sel li {
float: left;
width: 95px;
position: relative;
padding: 0 !important;
margin: 0 !important;
list-style-type: none !important;
}
#lang_sel li:before {
content: '' !important;
}
#lang_sel a {
display: block;
font-size: 11px;
text-decoration: none !important;
color: #444444;
border: 1px solid #cdcdcd;
background: #fff;
padding-left: 10px;
line-height: 24px;
}
#lang_sel a:visited {
display: block;
font-size: 11px;
text-decoration: none !important;
color: #444444;
border: 1px solid #cdcdcd;
background: #fff;
padding-left: 10px;
line-height: 24px;
}
#lang_sel a.lang_sel_sel {
background: url(../img/nav-arrow-down.png) #fff right no-repeat;
color: #444;
}
#lang_sel a.lang_sel_sel:hover {
text-decoration: none;
color: #000;
}
#lang_sel table {
position: absolute;
top: 0;
left: 0;
border-collapse: collapse;
}
#lang_sel a:hover, #lang_sel ul ul a:hover, #lang_sel :hover > a, #lang_sel ul ul :hover > a {
color: #000;
background: #eee;
}
#lang_sel img.iclflag {
width: 18px;
height: 12px;
position: relative;
top: 1px;
display:inline;
float:none;
vertical-align: middle;
}
#lang_sel.icl_rtl {
text-align: right;
direction: rtl;
}
#lang_sel.icl_rtl .lang_sel_sel {
padding-right: 14px;
}
/* make the second level visible when hover on first level list OR link */
#lang_sel_footer {
margin: 0;
padding: 7px;
text-align: center;
font: 11px Verdana, sans-serif;
min-height: 15px;
clear: both;
background-color: #fff;
border: 1px solid #cdcdcd;
}
#lang_sel_footer ul {
list-style: none;
margin: 0;
padding: 0;
}
#lang_sel_footer ul li {
display: inline;
margin: 0 1px 0 0;
padding: 0;
white-space: nowrap;
line-height: 25px;
}
#lang_sel_footer ul li img {
position: relative;
top: 1px;
width: 18px;
height: 12px;
}
#lang_sel_footer ul li a {
text-decoration: none;
padding: 5px 10px;
}
#lang_sel_footer ul li a:visited {
text-decoration: none;
padding: 5px 10px;
}
#wpml_credit_footer {
width: 100%;
margin: 10px 0;
padding: 0;
text-align: center;
font-size: 11px;
}
/* remove all the bullets, borders and padding from the default list styling */
#lang_sel_list {
height: 32px;
position: relative;
z-index: 99;
font-family: verdana, arial, sans-serif;
/* style the table so that it takes no ppart in the layout - required for IE to work */
}
#lang_sel_list ul {
padding: 0 !important;
margin: 0 !important;
list-style-type: none !important;
}
#lang_sel_list ul li:hover ul, #lang_sel_list ul a:hover ul {
visibility: visible;
}
#lang_sel_list ul.lang_sel_list_vertical {
width: 149px;
}
#lang_sel_list ul a {
background: #ffffff;
color: #444444;
height: auto;
line-height: 1em;
}
#lang_sel_list li {
float: left;
position: relative;
padding: 0 !important;
margin: 0 !important;
list-style-type: none !important;
}
#lang_sel_list li:before {
content: '' !important;
}
#lang_sel_list a {
display: block;
font-size: 11px;
text-decoration: none !important;
color: #444444;
background: #fff;
line-height: 18px;
padding-left: 5px;
}
#lang_sel_list a:visited {
display: block;
font-size: 11px;
text-decoration: none !important;
color: #444444;
background: #fff;
line-height: 18px;
padding-left: 5px;
}
#lang_sel_list a.lang_sel_sel {
background-image: none;
color: #444;
}
#lang_sel_list a.lang_sel_sel:hover {
text-decoration: none;
color: #000;
}
#lang_sel_list.lang_sel_list_vertical {
width: 149px;
/* hide the sub levels and give them a positon absolute so that they take up no room */
}
#lang_sel_list.lang_sel_list_vertical ul {
/*visibility:hidden;position:absolute;*/
height: 0;
top: 19px;
left: 0;
border-top: 1px solid #cdcdcd;
}
#lang_sel_list.lang_sel_list_vertical ul a {
padding: 3px 10px;
}
#lang_sel_list.lang_sel_list_vertical li {
width: 149px;
}
#lang_sel_list.lang_sel_list_vertical a {
border: 1px solid #cdcdcd;
border-top-width: 0;
padding-left: 10px;
}
#lang_sel_list.lang_sel_list_vertical a:visited {
border: 1px solid #cdcdcd;
border-top-width: 0;
padding-left: 10px;
}
#lang_sel_list table {
position: absolute;
top: 0;
left: 0;
border-collapse: collapse;
}
#lang_sel_list img.iclflag {
width: 18px;
height: 12px;
position: relative;
top: 1px;
display:inline;
}
/* style the second level links */
#lang_sel_list_list ul a:visited {
background: #ffffff;
color: #444444;
height: auto;
line-height: 1em;
padding: 3px 10px;
}
/* reset menu img definitions */
.menu-item-language img.iclflag {
height: 12px !important;
width: 18px !important;
margin-bottom: 0 !important;
margin-right: 4px;
}

218
public/css/lanrenzhijia.css

@ -0,0 +1,218 @@
/* 代码整理:懒人之家 www.lanrenzhijia.com */
body {
font-family:"microsoft Yahei";
color:#666;
margin:0;
}
table, td {
font:12px/180% Arial, Helvetica, sans-serif, Verdana;
color:#666;
}
table {
border-collapse2:collapse2;
border-spacing:0;
empty-cells:show;
}
th, td {
border-collapse2:collapse2;
}
A:link {
text-decoration:none;
}
A:visited {
text-decoration:none;
}
A:hover {
text-decoration:none;
}
img {
border:0;
}
div, p, img, ul, li, form, input, label, span, dl, dt, dd {
margin:0;
padding:0;
font-family:microsoft yahei, Helvetica, sans-serif;
}
ol, ul, li {
list-style-type:none;
}
.overh {
overflow:auto;
zoom:1;
overflow-x:hidden;
overflow-y:hidden;
}
html {
-webkit-text-size-adjust:none;
}
input[type="submit"]::-moz-focus-inner {
border:none;
padding:0;
}
a {
blr:expression(this.onFocus=this.blur())
} /*for IE*/
a {
outline:none;
} /*for Firefox*/
h2 {
font-family:'Microsoft yahei';
font-weight:normal;
}
.overz {
font-size:12px;
overflow:auto;
zoom:1;
overflow-x:hidden;
overflow-y:hidden;
}
.overz A{ color:#666666;}
.overz h2{margin:0;
padding:0;
font-family:microsoft yahei, Helvetica, sans-serif;}
.mn_12 {
margin-bottom:12px;
}
/* 代码整理:懒人之家 www.lanrenzhijia.com */
.online_icon {
width:36px;
height:156px;
overflow:hidden;
font-family:'宋体';
}
.online_icon a {
display:block;
width:36px;
height:156px;
background:url(../images/online_bg.png) no-repeat;
_background:url(../images/online_bg_ie6.png) no-repeat;
}
.online_windows {
width:144px;
}
.online_w_top {
background:url(../images/online_bg.png) no-repeat -36px 0;
height:10px;
_background:url(../images/online_bg_ie6.png) no-repeat -36px 0;
_margin-bottom:-7px;
}
.online_w_c {
background:url(../images/online_bg.png) repeat-y 0 -185px;
padding:0 5px;
_background:url(../images/online_bg_ie6.png) repeat-y 0 -185px
}
.online_w_bottom {
background:url(../images/online_bg.png) repeat-y -36px -35px;
height:29px;
_background:url(../images/online_bg_ie6.png) repeat-y -36px -35px;
}
.online_content {
background:url(../images/online_bg.png) no-repeat -147px -185px;
padding-top:11px;
_background:url(../images/online_bg_ie6.png) no-repeat -147px -185px;
}
.online_content a.qq_icon {
background:url(../images/online_bg.png) no-repeat -37px -130px;
width:121px;
height:25px;
display:block;
margin:0 auto;
text-indent:30px;
line-height:23px;
cursor:pointer;
_background:url(../images/online_bg_ie6.png) no-repeat -37px -130px;
}
.online_content a.qq_icon:hover {
background-position:-159px -130px;
color:#FFF;
}
.online_content a.ww_icon {
background:url(../images/w1.png) no-repeat;
width:121px;
height:25px;
display:block;
margin:0 auto;
text-indent:30px;
line-height:23px;
cursor:pointer;
_background:url(../images/w1.png) no-repeat;
}
.online_content a.ww_icon:hover {
background:url(../images/w2.png) no-repeat;
color:#FFF;
}
.online_bar h2 {
background:url(../images/online_bg.png) repeat-x 0 -156px;
height:29px;
line-height:27px;
font-size:12px;
color:#666;
text-align:left;
_background:url(../images/online_bg_ie6.png) repeat-x 0 -156px;
}
.online_bar h2 a {
display:block;
padding-left:14px;
margin-left:6px;
cursor:pointer;
}
.expand h2 a {
background:url(../images/online_bg.png) no-repeat -36px -69px;
_background:url(../images/online_bg_ie6.png) no-repeat -36px -69px;
}
.collapse2 h2 a {
color:#666666;
background:url(../images/online_bg.png) no-repeat -36px -96px;
_background:url(../images/online_bg_ie6.png) no-repeat -36px -96px;
}
.expand h2 a:hover, .collapse2 h2 a:hover {
text-decoration:none;
color:#c81d04;
}
.online_content {
text-align:center;
border-bottom:1px solid #d0d0d0;
margin-bottom:1px;
}
.online_content ul li {
height:24px;
line-height:24px;
margin-bottom:4px;
font-family:'宋体';
}
.online_content ul li a:hover {
color:#c81d04;
}
/* 代码整理:懒人之家 www.lanrenzhijia.com */
#online_qq_layer {
position:fixed;
right:0px;
top:150px;
_position:absolute;
}
* html, * html body {
_background-attachment:fixed;
}
* html #online_qq_layer {
_bottom:auto;
_top:expression(eval(document.documentElement.scrollTop + 150));
}
#online_qq_tab {
float:left;
margin-top: 50px;
}
#onlineService {
float:left;
margin-left:-3px;
display:none;
}
#onlineType1, #onlineType2, #onlineType3, #onlineType4, #onlineType5, #onlineType6 {
display:none;
}
#onlineType1 {
display:block;
}
/* 代码整理:懒人之家 www.lanrenzhijia.com */

907
public/css/style3.css

@ -0,0 +1,907 @@
@import url(common.css);
body {
font-family: Arial, 'microsoft yahei', Helvetica, sans-serif;
color: #656464;
background: url(../images/top_bg.jpg) top center repeat-x #fff;
}
header {margin-top: 6px;}
.top_menu {
float: right;
font-size: 12px;
color: #9C9C9C;
width: 100%;
height: 38px;
border-bottom: 1px solid #dfe1e3;
}
.language {
float: right;
border-left: 1px solid #dfe1e3;
border-right: 1px solid #dfe1e3;
height: 38px;
padding: 8px 10px 0px 10px;
}
.top_name {
display: inline-block;
padding-top: 11px;
}
.logo {
margin-top: 10px;
max-width: 700px;
}
.flash img {
width: 100%
}
.flash ul.bxslider {
list-style: none;
}
.flash div.bx-pager {
bottom: 4%;
}
.flash div.bx-controls-direction {
display: none;
}
.main {
padding: 30px 0px 10px 0px;
}
.opacity_img {
border: 1px solid #eeeeee;
transition: border 0.4s;
}
.img-thumbnail:hover, .opacity_img:hover {
border: 1px solid #3477c8;
}
/*导航菜单*/
.navbar {
margin: 0px;
background-color: #fbfbfb;
border: 1px solid #e9e9e9;
border-left: 0px;
border-right: 0px;
}
.glyphicon-home:before {
color: #fff;
}
#app_menudown {
position: absolute;
top: 0px;
right: 0px;
font-size: 16px;
}
#app_menudown:hover {
background-color: #3477c8;
}
/*公司简介*/
.about_box {
background: url(../images/title_line.jpg) left 30px no-repeat;
margin: 30px 0px 0px 0px;
}
.about_h1 {
float: left;
font-size: 20px;
color: #013677;
margin: 0px;
}
.about_span {
float: left;
padding-top: 8px;
text-indent: 8px;
font-size: 12px;
color: rgb(125, 125, 125);
}
.about_box section {
clear: both;
padding: 18px 0px 0px 0px;
}
.about_box section img {
margin: 10px 20px 0px 0px;
max-width: 350px;
}
a.about_more {
color: #ffffff;
display: inline-block;
font-size: 12px;
padding: 6px 12px;
transition: background 0.3s;
background-color: #397dcf;
border-radius: 4px;
}
a.about_more:hover {
background-color: #9ac24b;
text-decoration: none;
}
.about_contents {
line-height: 31px;
padding: 3px 0px 5px 0px;
font-family: 'Microsoft YaHei';
}
/*产品搜索*/
.search_group {
float: right;
margin: 40px 0px 0px 0px;
}
.search_group {
}
.form-control {
border-radius: 0px;
box-shadow: none;
}
.mysearch_btn {
background-color: #397dcf;
color: #fff;
border-radius: 0px;
transition: background 0.3s;
}
.mysearch_btn:hover, .mysearch_btn:focus {
background-color: #9ac24b;
color: #fff;
}
#small_search {
float: right;
margin-top: 7px;
padding: 8px 13px;
font-size: 17px;
border-radius: 4px;
}
#small_search:hover, #small_search:focus {
cursor: pointer;
background-color: #dddddd;
}
/*首页产品*/
.index_product {
background: url(../images/title_line.jpg) left 30px no-repeat;
margin: 25px 0px 0px 0px;
}
.product_list {
clear: both;
padding: 35px 0px 0px 0px;
margin-right: -15px;
margin-left: -15px;
}
.product_list2 {
padding-top: 20px;
}
.product_img {
padding-left: 15px;
padding-right: 15px;
min-height: 190px;
}
.product_img img {
margin-right: auto;
margin-left: auto;
display: block;
max-height: 320px;
max-width: 100%;
height: auto;
margin-bottom: 10px;
padding: 0px 0px 0px 0px;
}
.product_title {
text-align: center;
padding: 0px 15px 0px 0px;
height: 40px;
}
.product_title a {
color: #656464;
transition: color 0.3s;
}
.product_title a:hover {
text-decoration: none;
color: #0064d4;
}
/*首页新闻*/
.news_box {
background: url(../images/title_line.jpg) left 30px no-repeat; /*border:1px solid #ccc;*/
margin: 20px 0px 30px 0px;
}
.index_news {
clear: both;
list-style: none;
margin: 0px;
padding: 15px 0px 0px 0px;
}
.index_news li {
color: #898989;
border-bottom: 1px dashed #ccc;
background: url(../images/li.png) no-repeat left 16px;
line-height: 21px;
padding: 10px 0px;
padding-left: 13px;
}
.index_news li a {
color: #656464;
}
.index_news li a:hover {
text-decoration: none;
color: #1260aa;
}
.news_time {
float: right;
}
.left_news {
clear: both;
}
.left_news ul {
padding: 0px 0px 12px 0px;
}
.left_news span.news_time {
display: none;
}
/*首页联系*/
.index_contact {
background: url(../images/title_line.jpg) left 30px no-repeat;
margin: 20px 0px 15px 0px;
}
.index_contact P {
clear: both;
}
.list_box {
clear: both;
padding: 10px 0px 0px 0px;
}
.path_title {
border: 1px solid #f2f2f2;
padding: 8px 19px;
overflow: hidden;
}
/*栏目导航*/
.left_nav {
clear: both;
padding-top: 10px;
}
.index_left_nav {
padding-top: 0px;
}
.left_h1 {
background: url(../images/title_line.jpg) left bottom no-repeat;
font-size: 22px;
display: block;
margin-top: 25px;
padding: 0px 0px 10px 0px;
color: #013677;
}
.left_nav_ul {
list-style: none;
margin: 0px;
padding: 0px;
margin: 15px 0px 0px 0px;
padding-bottom: 10px;
}
.left_nav_ul > li {
position: relative;
border-bottom: 1px solid #f2f2f2;
background: url(../images/left_li.gif) 6px 15px no-repeat;
padding: 8px 0px 8px 18px;
}
.left_nav_ul > li > a {
text-decoration: none;
color: #656464;
}
.left_nav_ul > li > a:hover, .left_nav_ul li a.left_active {
color: #01519e;
}
/*小类*/
ul.left_snav_ul {
list-style: none;
padding: 0px;
display: none;
padding-top: 8px;
}
ul.left_snav_ul > li {
margin: 0px;
padding: 5px 0px 5px 10px;
background: url(../images/left_sli.gif) 0px 13px no-repeat;
}
ul.left_snav_ul > li > a {
border: 0;
color: #797979;
padding: 5px 0px 5px 0px;
}
ul.left_snav_ul > li > a:hover {
text-decoration: none;
color: #01519e;
}
.menu_head {
cursor: pointer;
font: 600 18px/30px "Open Sans", sans-serif;
width: 35px;
text-align: center;
color: #303c4b;
display: inline-block;
position: absolute;
top: 3px;
right: 0px;
}
.menu_head:hover {
color: #46d8ad;
}
/*新闻列表*/
.list_news {
clear: both;
list-style: none;
margin: 0px;
padding: 6px 0px 20px 0px;
}
.list_news li {
color: #898989;
background: url(../images/li.png) no-repeat left 14px;
line-height: 22px;
padding: 8px 0px;
padding-left: 13px;
border-bottom: 1px dashed #e3e2e2;/*dotted*/
}
.list_news li a {
color: #303c4b;
}
.list_news li a:hover {
text-decoration: none;
color: #1260aa;
}
.contents {
clear: both;
padding: 6px 2px 0px 2px;
line-height: 28px;
overflow: auto;
}
.contents_title {
margin: 0px;
padding: 10px 0px;
text-align: center;
color: #000;
font-size: 18px;
color: #434343;
font-weight: bold;
line-height: 34px;
}
/*分页样式*/
.page {
clear: both;
margin: 20px 0px 0px 0px;
text-align: center;
}
.page a {
display: inline-block;
font-family: Arial;
font-size: 13px;
border: #dbdbdb 1px solid;
padding: 4px 9px;
margin: 2px;
margin-bottom: 5px;
color: #31363c;
text-decoration: none
}
.page a:hover, .page a:focus {
font-family: Arial;
font-size: 13px;
border: #000 1px solid;
padding: 4px 9px;
color: #fff;
background-color: #31363c;
}
.page .current {
font-family: Arial;
border: #000 1px solid;
font-size: 13px;
padding: 5px 9px;
color: #fff;
margin: 2px;
background-color: #31363c
}
/*产品展示*/
#pic-page {
text-align: center;
margin-top: 10px;
}
#pic-page a {
margin: 0 2px;
}
#pic-page a img {
width: 40px;
padding: 2px;
border: solid #ccc 1px;
margin-bottom: 5px;
}
#pic-page a:hover img, #pic-page a.active img {
border: solid #5280DD 1px;
}
.showpic_box, .proinfo_box {
margin: 30px 0px 20px 0px;
}
.product_h1 {
margin: 0px;
line-height: 22px;
font-size: 18px;
color: #145ca1;
padding-bottom: 10px;
border-bottom: 1px dotted #cccccc;
}
.product_info {
list-style: none;
padding: 0px;
margin-top: 10px;
}
.product_info li {
line-height: 24px;
padding-bottom: 12px;
}
.product_con {
clear: both;
border-top: 1px dotted #ccc;
margin: 10px 0px 20px 0px;
padding: 20px 0px 0px 0px;
line-height: 26px;
overflow: auto;
}
.related_h1 {
padding: 30px 0px 12px 0px;
color: #303c4b;
margin: 0px;
display: block;
font-weight: 300;
font-size: 24px;
border-bottom: 5px solid #f4f5f6;
font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.related_list {
padding-top: 12px;
}
.related_news {
padding-top: 0px;
clear: both;
}
.download_btn {
text-align: right;
margin: 10px 10px 20px 0px;
}
.page-btn {
background-color: #9ac24b;
border-radius: 0px;
border: none;
transition: background 0.3s;
}
.page-btn:hover, .page-btn:focus {
background-color: #31363c;
}
.grey-btn {
border-radius: 0px;
border: none;
background-color: #E8E8E8;
}
.grey-btn:hover, .grey-btn:focus {
background-color: #ccc;
}
.a2a_default_style {
display: inline-block;
}
/*在线留言订购*/
.feedback {
margin-top: 30px;
}
.form-horizontal .form-group {
margin-right: -10px;
margin-left: -10px;
}
.codeimg {
margin: 0px 0px -10px -18px;
}
/*上一个下一个*/
.point {
clear: both;
margin: 20px 0px 40px 0px;
padding-bottom: 40px;
line-height: 22px;
}
.point span.to_prev {
text-align: center;
}
.point span.to_prev a {
color: #0068b7;
}
.point span.to_prev a:hover {
color: #ea042b
}
.point span.to_next {
text-align: center;
}
.point span.to_next a {
color: #0068b7;
}
.point span.to_next a:hover {
color: #ea042b
}
/*标签样式*/
.tags {
margin: 8px 0px 10px 0px
}
.tags a {
margin: 0px 5px 8px 0px
}
.tags_list {
padding: 5px 10px 100px 10px
}
.tags_ul {
margin-top: 10px;
}
.tags_ul li {
line-height: 28px;
margin-bottom: 8px;
padding-bottom: 10px;
}
.tags_ul h3 {
font-size: 14px;
padding: 0px;
margin: 0px;
line-height: 20px;
}
.tags_ul p {
font-size: 13px;
padding: 0px;
margin: 0px;
color: #a0a0a0;
line-height: 20px;
padding-top: 8px;
}
/*网站地图*/
ul.ul_sitemap {
margin: 30px 0px 40px 30px;
}
ul.ul_sitemap li {
list-style: none;
line-height: 26px;
clear: both;
}
ul.ul_sitemap li a {
color: #7d7d7d;
}
li.small_li_sitemap {
clear: both;
padding-left: 12px;
}
li.small_li2_sitemap {
float: left;
padding-left: 20px;
}
#translate {
width: 180px;
margin: 0 auto;
}
#translate-this {
margin: 15px 0px 10px 0px;
}
/*底部信息*/
footer {
text-align: center;
background-color: #435669;
color: #AFB7BE;
padding: 30px 0px 20px 0px;
margin-top: 38px;
font-size: 12px;
}
.copyright {
line-height: 20px;
}
.copyright a {
color: #AFB7BE;
}
.foot_nav {
width: 25%;
float: left;
background-color: #fafafa;
text-align: center;
}
.foot_nav:hover, .foot_nav:focus {
background-color: #e4e4e4;
}
.foot_nav a {
color: #898989;
display: block;
}
.foot_nav a:hover, .foot_nav a:focus {
text-decoration: none;
}
.foot_nav span {
display: block;
padding: 3px 0px 0px 0px;
}
.webshare {
width: 230px;
padding: 5px;
}
.ewebshare {
width: 200px;
padding: 5px;
}
/*大屏幕*/
@media screen and (min-width: 769px) {
header {
}
.navbar {
margin-top: 10px;
min-height: 50px;
}
.navbar-nav > li {
border-right: 1px solid #e9e9e9;/*border-left: 1px solid #e9e9e9;*/
}
.navbar-nav > li:first-child {
border-left: 0;
}
.navbar-nav > li:last-child {
}
.navbar-nav > li > a {
text-align: center;
}
.navbar-default .navbar-nav > li > a {
line-height: 20px;
color: #787878;
padding: 15px 26px 15px 26px;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
background-color: #3477c8;
color: #fff;
border-top: 1px solid #3477c8;
margin-top: -1px;
border-bottom: 1px solid #3477c8;
margin-bottom: -1px;
}
.navbar-brand {
display: none;
}
.home-btn {
background: #3669AA;
color: #fff;
padding: 17px 17px 17px 17px;
font-size: 16px;
border-top: 2px solid #3477c8;
margin-top: -2px;
}
.navbar-default .navbar-nav-e > li > a {
font-weight: normal;
}
.nav_small {
background-color: #397dcf;
padding: 0;
border-radius: 0px;
border: none;
box-shadow: none;
}
.nav_small > li {
}
.nav_small > li > a {
line-height: 20px;
padding: 7px 0px;
text-align: center;
color: #fff;
font-size: 13px;
}
.nav_small > li > a:hover {
color: #fff;
background: #abcf63;
}
#app_menudown, #small_search {
display: none;
}
.index_left_nav, .footer_nav {
display: none;
}
}
/*小屏幕*/
@media screen and (max-width: 768px) {
.navbar {
margin-top: 10px;
}
.navbar-default .navbar-brand {
color: #787878;
font-size: 16px;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
color: #787878;
}
.navbar-toggle {
border: none;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
border: 1px solid #dddddd;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
}
.navbar-default .navbar-toggle .icon-bar {
}
.navbar-default .navbar-nav {
margin-top: 0px;
margin-bottom: 0px;
}
.navbar-default .navbar-nav > li {
}
.navbar-default .navbar-nav > li:last-child {
border: none;
}
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #787878;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
background-color: #3477c8;
color: #fff;
}
header {
}
.top_name, .home-btn {
display: none;
}
.language {
border-left: 0px;
border-right: 0px;
}
.about_box {
margin: 18px 0px 0px 0px;
}
.about_box section img {
margin: 10px 15px 0px 0px;
max-width: 180px
}
.about_contents {
line-height: 28px;
}
.search_group {
margin: 10px 0px 5px 0px;
}
#topsearch {
display: none;
}
.logo {
display: block;
margin: 0 auto;
margin-top: 13px;
max-width: 700px;
}
.flash div.bx-pager { /*display:none;*/
}
.left_h1 {
margin-top: 10px;
}
.list_related h1.left_h1 {
margin-top: 60px;
}
.product_con img, .contents img {
width: 100%;
}
.news_time {
display: none;
}
.footer_nav {
background-color: #fafafa;
}
#pic-page a img {
width: 35px;
}
#cmsFloatPanel {
display: none;
}
.point span.to_prev, .point span.to_next {
text-align: left;
padding-bottom: 8px;
}
.product_list2 {
}
footer {
margin-bottom: 50px;
}
}
@media screen and (max-width: 767px) {
.copyright_p {
display: none;
}
}
/*414px到768px*/
@media screen and (min-width:414px) and (max-width:768px) {
.col-mm-1, .col-mm-2, .col-mm-3, .col-mm-4, .col-mm-5, .col-mm-6, .col-mm-7, .col-mm-8, .col-mm-9, .col-mm-10, .col-mm-11, .col-mm-12 {
float: left;
}
.col-mm-12 {
width: 100%;
}
.col-mm-11 {
width: 91.66666667%;
}
.col-mm-10 {
width: 83.33333333%;
}
.col-mm-9 {
width: 75%;
}
.col-mm-8 {
width: 66.66666667%;
}
.col-mm-7 {
width: 58.33333333%;
}
.col-mm-6 {
width: 50%;
}
.col-mm-5 {
width: 41.66666667%;
}
.col-mm-4 {
width: 33.33333333%;
}
.col-mm-3 {
width: 25%;
}
.col-mm-2 {
width: 16.66666667%;
}
.col-mm-1 {
width: 8.33333333%;
}
.logo {
max-width: 400px;
}
}
@media screen and (max-width: 414px) {
.logo {
max-width: 280px;
}
}
.pagess {clear: both;margin: 20px;overflow: hidden;margin-left: 0px;text-align: center;font-size:12px}
.pagess ul li { display:inline-block;border: 1px solid #ccc;padding: 2px 9px;margin: 0 3px;line-height: 20px;background: #fff;color:#999}
.pagess ul li:hover{ background:#ccc; color:#fff;border: 1px solid #ccc}
.pagess ul li:hover a{color:#fff;}
.pagess ul li.thisclass {display: inline-block;border: 1px solid #ccc;padding: 2px 9px;margin: 0 3px;background: #ccc;color: #fff;}
.pagess ul li.thisclass a {color: #fff;}
.pagess ul li a{ display:block;color:#999}
.pagess ul li a:hover {color: #fff;}
#pager{text-align:center;}
#pager ul.pages {
display: block;
border: none;
text-transform: uppercase;
font-size: 12px;
margin: 10px 0 50px;
padding: 0;
font: normal 13px "Microsoft YaHei";
font-family: "Microsoft YaHei","微软雅黑","sans-serif";
}
#pager ul.pages li {
padding: 4px 7px;
text-decoration: none;
border-left-width: 0;
list-style: none;
background-color: #eee;
color: #888;
margin: 0 3px 0 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
display:inline;
}
#pager ul.pages li:hover {
color: #fff;
background-color: #bbbbbb;
}
#pager ul.pages li.pgNext {
}
#pager ul.pages li.pgEmpty {display: none /* border:1px solid #eee;color:#eee; */;
}
#pager ul.pages li.pgCurrent {
color: #fff;
font-weight: 700;
background-color: #bbbbbb;
}
.toolbar-item,.toolbar-layer{background:url(../images/toolbar.png) no-repeat;}
.toolbar{position:fixed;right:20px;bottom:50px; z-index:1000;}/*假设网页宽度为1200px,导航条在右侧悬浮*/
.toolbar-item{display:block;width:52px;height:52px;margin-top:1px;position:relative;-moz-transition:background-position 1s;-ms-transition:background-position 1s;-o-moz-transition:background-position 1s;-webkit-moz-transition:background-position 1s;transition:background-position 1s;}
.toolbar-item:hover .toolbar-layer{opacity:1;filter:alpha(opacity=100);transform:scale(1);-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);}
.toolbar-item-weixin{background-position:0 -798px;}
.toolbar-item-weixin:hover{background-position:0 -860px;}
.toolbar-item-weixin .toolbar-layer{height:212px;background-position:0 0;}
.toolbar-item-feedback{background-position:0 -426px;}
.toolbar-item-feedback:hover{background-position:0 -488px;}
.toolbar-item-app{background-position:0 -550px;}
.toolbar-item-app:hover{background-position:0 -612px;}
.toolbar-item-app .toolbar-layer{height:194px;background-position:0 -222px;}
.toolbar-item-top{background-position:0 -674px;}
.toolbar-item-top:hover{background-position:0 -736px;}
.toolbar-layer{position:absolute;right:46px;bottom:-10px;width:172px;opacity:0;filter:alpha(opacity=0);transform-origin: 95% 95%;-moz-transform-origin: 95% 95%;-ms-transform-origin: 95% 95%;-o-transform-origin: 95% 95%;-webkit-transform-origin: 95% 95%;transform:scale(0.01);-moz-transform:scale(0.01);-ms-transform:scale(0.01);-o-transform:scale(0.01);-webkit-transform:scale(0.01);transition:all 1s;-moz-transition:all 1s;-ms-transition:all 1s;-o-transition:all 1s;-webkit-transition:all 1s;}

BIN
public/images/0.png

Binary file not shown.

After

Width: 18  |  Height: 12  |  Size: 313 B

BIN
public/images/1.png

Binary file not shown.

After

Width: 18  |  Height: 12  |  Size: 600 B

BIN
public/images/20160820232652166.png

Binary file not shown.

After

Width: 178  |  Height: 60  |  Size: 13 KiB

BIN
public/images/20161108163616914.jpg

Binary file not shown.

After

Width: 1514  |  Height: 480  |  Size: 330 KiB

BIN
public/images/20161108163633172.jpg

Binary file not shown.

After

Width: 1514  |  Height: 480  |  Size: 161 KiB

BIN
public/images/20161108163706251.png

Binary file not shown.

After

Width: 270  |  Height: 206  |  Size: 61 KiB

BIN
public/images/index.png

Binary file not shown.

After

Width: 148  |  Height: 148  |  Size: 371 B

BIN
public/images/left_li.gif

Binary file not shown.

After

Width: 6  |  Height: 7  |  Size: 1.1 KiB

BIN
public/images/li.png

Binary file not shown.

After

Width: 8  |  Height: 8  |  Size: 121 B

BIN
public/images/online_bg.png

Binary file not shown.

After

Width: 281  |  Height: 985  |  Size: 18 KiB

BIN
public/images/title_line.jpg

Binary file not shown.

After

Width: 1300  |  Height: 3  |  Size: 1.9 KiB

BIN
public/images/toolbar.png

Binary file not shown.

After

Width: 172  |  Height: 912  |  Size: 8.2 KiB

BIN
public/images/top_bg.jpg

Binary file not shown.

After

Width: 1920  |  Height: 6  |  Size: 1.4 KiB

BIN
public/images/w1.png

Binary file not shown.

After

Width: 119  |  Height: 23  |  Size: 1.6 KiB

10
public/js/bxslider.min.js
File diff suppressed because it is too large
View File

61
public/js/common.js

@ -0,0 +1,61 @@
$(document).ready(function(){
//返回顶部
$("#gototop").click(function(){
$("html,body").animate({scrollTop :0}, 800);return false;
});
$("#gotocate").click(function(){
$("html,body").animate({scrollTop:$("#categories").offset().top},800);return false;
});
// 搜索
$("#small_search").click(function(){
$("#topsearch").slideToggle();
});
if($(window).width()>768){
//鼠标划过就展开子菜单
$('ul.nav li.dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).slideDown();
}, function() {
$(this).find('.dropdown-menu').stop(true, true).slideUp();
});
//scrollTop
// $(window).scroll(function(){
// var scrolls = $(window).scrollTop()
// if (scrolls > 10) {
// $(".navbar").addClass("small-nav")
// }else{
// $(".navbar").removeClass("small-nav")
// }
// });
}
//左侧导航菜单
// if ($("#firstpane .menu_body:eq(0)").text().replace(/[\r\n ]/g,"").length>0) {
// $("#firstpane .menu_body:eq(0)").show().prev().html("-").prev().addClass("left_active");
// };
/* $("ul.menu_body").each(function(){
if ($(this).text().replace(/[\r\n ]/g,"").length<=0) {$(this).prev().remove();} //去掉span
});
$("#firstpane span.menu_head").click(function(){
var spanatt = $(this).next("ul.menu_body").css('display');
if (spanatt == "block"){
var spantext = "+";
$(this).prev().removeClass("left_active");
}else{
var spantext = "-";
$(this).prev().addClass("left_active");
}
$(this).html(spantext).addClass("current").next("ul.menu_body").slideToggle(300).siblings("ul.menu_body");
});
$(".left_nav#categories .left_nav_ul li").each(function(){
if($(this).find("ul li").size()==0){
$(this).find(".menu_head").remove();
}
}); */
});

44
public/js/jquery.KinSlideshow-1.2.1.min.js
File diff suppressed because it is too large
View File

70
public/js/online.js

@ -0,0 +1,70 @@
$(function(){
// cms客服浮动面板
if($("#cmsFloatPanel"))
{
$("#cmsFloatPanel > .ctrolPanel > a.arrow").click(function(){$("html,body").animate({scrollTop :0}, 800);return false;});
var objServicePanel = $("#cmsFloatPanel > .servicePanel");
var objMessagePanel = $("#cmsFloatPanel > .messagePanel");
var objQrcodePanel = $("#cmsFloatPanel > .qrcodePanel");
var w_s = objServicePanel.outerWidth();
var w_m = objMessagePanel.outerWidth();
var w_q = objQrcodePanel.outerWidth();
$("#cmsFloatPanel .ctrolPanel > a.service").bind({
click : function(){return false;},
mouseover : function(){
objMessagePanel.stop().hide();objQrcodePanel.stop().hide();
if(objServicePanel.css("display") == "none"){
objServicePanel.css("width","0px").show();
objServicePanel.animate({"width" : w_s + "px"},600);
}
return false;
}
});
$(".servicePanel-inner > .serviceMsgPanel > .serviceMsgPanel-hd > a",objServicePanel).bind({
click : function(){
objServicePanel.animate({"width" : "0px"},600,function(){
objServicePanel.hide();
});
return false;
}
});
$("#cmsFloatPanel > .ctrolPanel > a.message").bind({
click : function(){return false;},
mouseover : function(){
objServicePanel.stop().hide();objQrcodePanel.stop().hide();
if(objMessagePanel.css("display") == "none"){
objMessagePanel.css("width","0px").show();
objMessagePanel.animate({"width" : w_m + "px"},600);
}
return false;
}
});
$(".messagePanel-inner > .formPanel > .formPanel-bd > a",objMessagePanel).bind({
click : function(){
objMessagePanel.animate({"width" : "0px"},600,function(){
objMessagePanel.stop().hide();
});
return false;
}
});
$("#cmsFloatPanel > .ctrolPanel > a.qrcode").bind({
click : function(){return false;},
mouseover : function(){
objServicePanel.stop().hide();objMessagePanel.stop().hide();
if(objQrcodePanel.css("display") == "none"){
objQrcodePanel.css("width","0px").show();
objQrcodePanel.animate({"width" : w_q + "px"},600);
}
return false;
}
});
$(".qrcodePanel-inner > .codePanel > .codePanel-hd > a",objQrcodePanel).bind({
click : function(){
objQrcodePanel.animate({"width" : "0px"},600,function(){
objQrcodePanel.stop().hide();
});
return false;
}
});
}
});

BIN
public/uploads/2017/06/201706041951031181.jpg

Binary file not shown.

After

Width: 400  |  Height: 300  |  Size: 72 KiB

BIN
public/uploads/2017/06/201706042011354141.jpg

Binary file not shown.

After

Width: 400  |  Height: 300  |  Size: 85 KiB

BIN
public/uploads/2017/06/201706042012428057.jpg

Binary file not shown.

After

Width: 400  |  Height: 300  |  Size: 81 KiB

BIN
public/uploads/2017/06/201706042013331349.jpg

Binary file not shown.

After

Width: 400  |  Height: 300  |  Size: 62 KiB

132
resources/org/phpAnalysis/demo.php

@ -0,0 +1,132 @@
<?php
// 严格开发模式
ini_set('display_errors', 'On');
ini_set('memory_limit', '64M');
error_reporting(E_ALL);
$t1 = $ntime = microtime(true);
$endtime = '未执行任何操作,不统计!';
function print_memory($rc, &$infostr)
{
global $ntime;
$cutime = microtime(true);
$etime = sprintf('%0.4f', $cutime - $ntime);
$m = sprintf('%0.2f', memory_get_usage()/1024/1024);
$infostr .= "{$rc}: &nbsp;{$m} MB 用时:{$etime} 秒<br />\n";
$ntime = $cutime;
}
header('Content-Type: text/html; charset=utf-8');
$memory_info = '';
print_memory('没任何操作', $memory_info);
require_once 'PhpAnalysis.class.php';
$str = (isset($_POST['source']) ? $_POST['source'] : '');
$loadtime = $endtime1 = $endtime2 = $slen = 0;
$do_fork = $do_unit = true;
$do_multi = $do_prop = $pri_dict = false;
if($str != '')
{
//岐义处理
$do_fork = empty($_POST['do_fork']) ? false : true;
//新词识别
$do_unit = empty($_POST['do_unit']) ? false : true;
//多元切分
$do_multi = empty($_POST['do_multi']) ? false : true;
//词性标注
$do_prop = empty($_POST['do_prop']) ? false : true;
//是否预载全部词条
$pri_dict = empty($_POST['pri_dict']) ? false : true;
$tall = microtime(true);
//初始化类
PhpAnalysis::$loadInit = false;
$pa = new PhpAnalysis('utf-8', 'utf-8', $pri_dict);
print_memory('初始化对象', $memory_info);
//载入词典
$pa->LoadDict();
print_memory('载入基本词典', $memory_info);
//执行分词
$pa->SetSource($str);
$pa->differMax = $do_multi;
$pa->unitWord = $do_unit;
$pa->StartAnalysis( $do_fork );
print_memory('执行分词', $memory_info);
$okresult = $pa->GetFinallyResult(' ', $do_prop);
print_memory('输出分词结果', $memory_info);
$pa_foundWordStr = $pa->foundWordStr;
$t2 = microtime(true);
$endtime = sprintf('%0.4f', $t2 - $t1);
$slen = strlen($str);
$slen = sprintf('%0.2f', $slen/1024);
$pa = '';
}
$teststr = "2010年1月,美国国际消费电子展 (CES)上,联想将展出一款基于ARM架构的新产品,这有可能是传统四大PC厂商首次推出的基于ARM架构的消费电子产品,也意味着在移动互联网和产业融合趋势下,传统的PC芯片霸主英特尔正在遭遇挑战。
11月12日,联想集团副总裁兼中国区总裁夏立向本报证实,联想基于ARM架构的新产品正在筹备中。
英特尔新闻发言人孟轶嘉表示,对第三方合作伙伴信息不便评论。
正面交锋
ARM内部人士透露,11月5日,ARM高级副总裁lanDrew参观了联想研究院,拜访了联想负责消费产品的负责人,进一步商讨基于ARM架构的新产品。ARM是英国芯片设计厂商,全球几乎95%的手机都采用ARM设计的芯片。
据悉,这是一款采用高通芯片(基于ARM架构)的新产品,高通产品市场总监钱志军表示,联想对此次项目很谨慎,对于产品细节不方便透露。
夏立告诉记者,联想研究院正在考虑多种方案,此款基于ARM架构的新产品应用邻域多样化,并不是替代传统的PC,而是更丰富的满足用户的需求。目前,客户调研还没有完成,“设计、研发更前瞻一些,最终还要看市场、用户接受程度。”";
?>
<!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>
</head>
<body>
<table width='90%' align='center'>
<tr>
<td>
<hr size='1' />
<form id="form1" name="form1" method="post" action="?ac=done" style="margin:0px;padding:0px;line-height:24px;">
<b>源文本:</b>&nbsp; <a href="dict_build_new.php" target="_blank">[更新词典]</a> <br/>
<textarea name="source" style="width:98%;height:150px;font-size:14px;"><?php echo (isset($_POST['source']) ? $_POST['source'] : $teststr); ?></textarea>
<br/>
<input type='checkbox' name='do_fork' value='1' <?php echo ($do_fork ? "checked='1'" : ''); ?>/>岐义处理
<input type='checkbox' name='do_unit' value='1' <?php echo ($do_unit ? "checked='1'" : ''); ?>/>新词识别
<input type='checkbox' name='do_multi' value='1' <?php echo ($do_multi ? "checked='1'" : ''); ?>/>多元切分
<input type='checkbox' name='do_prop' value='1' <?php echo ($do_prop ? "checked='1'" : ''); ?>/>词性标注
<input type='checkbox' name='pri_dict' value='1' <?php echo ($pri_dict ? "checked='1'" : ''); ?>/>预载全部词条
<br/>
<input type="submit" name="Submit" value="提交进行分词" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" name="Submit2" value="重设表单数据" />
</form>
<br />
<textarea name="result" id="result" style="width:98%;height:120px;font-size:14px;color:#555"><?php echo (isset($okresult) ? $okresult : ''); ?></textarea>
<br /><br />
<b>调试信息:</b>
<hr />
<font color='blue'>字串长度:</font><?php echo $slen; ?>K <font color='blue'>自动识别词:</font><?php echo (isset($pa_foundWordStr)) ? $pa_foundWordStr : ''; ?><br />
<hr />
<font color='blue'>内存占用及执行时间:</font>(表示完成某个动作后正在占用的内存)<hr />
<?php echo $memory_info; ?>
总用时:<?php echo $endtime; ?>
</td>
</tr>
</table>
</body>
</html>

BIN
resources/org/phpAnalysis/dict/base_dic_full.dic

Binary file not shown.

175411
resources/org/phpAnalysis/dict/not-build/base_dic_full.txt
File diff suppressed because it is too large
View File

25
resources/org/phpAnalysis/dict/readme.txt

@ -0,0 +1,25 @@
文件说明:
1、base_dic_full.dic
hash索引 -- 字典带有词频和词性标志。
2、words_addons.dic
s 开头的表示停止词 u 后缀词(地名后缀、数学单位等) n 前导词(姓、汉字数词等) a 后导词(地区,部门等)
3、 not-build/base_dic_full.txt
没编译过的词典源码
4、重新编译词典的方法:
<?php
header('Content-Type: text/html; charset=utf-8');
require_once('phpanalysis.class.php');
$pa = new PhpAnalysis('utf-8', 'utf-8', false);
$pa->MakeDict( sourcefile, 16 , 'dict/base_dic_full.dic');
echo "OK";
?>

17
resources/org/phpAnalysis/dict/words_addons.dic

@ -0,0 +1,17 @@
s:停止词
并,让,才,上,被,把,近,而,是,为,由,等,合,子,除,均,很,也,称,还,分,据,后,向,经,对,但,只,则,设,靠,至,到,将,及,与,或,来,了,从,说,就,的,和,在,方,以,已,有,都,给,要
n:姓或其它专用前缀词
新,肖,胡,罗,程,施,满,石,秦,苏,范,包,袁,许,舒,薛,蒋,董,白,田,季,丁,汪,段,梁,林,杜,杨,毛,江,熊,王,潘,沈,汤,谢,谭,韩,顾,雷,陈,阎,陆,马,高,龙,龚,黎,黄,魏,钱,钟,赵,邓,赖,贾,贺,邱,邵,郭,金,郝,郑,邹,李,武,余,夏,唐,朱,何,姚,孟,孙,孔,姜,周,吴,卢,单,刘,冯,史,叶,吕,候,傅,宋,任,文,戴,徐,张,万,方,曾,曹,易,廖,彭,常,尹,乔,于,康,崔,布,钟离,令狐,公冶,公孙,闻人,鲜于,上官,仲孙,万俟,东方,闾丘,长孙,诸葛,申屠,皇甫,尉迟,濮阳,澹台,欧阳,慕容,淳于,宗政,宇文,司徒,轩辕,单于,赫连,司空,太叔,夏侯,司马,公羊,勿,成吉,埃,哈
u:单位或专用后缀词
u‰,℃,℉,毛,段,步,毫,池,滴,派,洲,款,次,桩,档,桌,桶,梯,楼,棵,炮,点,盏,盆,界,盒,盘,眼,画,男,环,版,片,班,瓣,生,瓶,案,格,族,方,斤,日,时,期,月,曲,斗,文,指,拳,拨,掌,排,丈,撮,本,朵,栋,柜,柄,栏,株,根,样,架,枪,条,束,村,杯,枝,枚,石,码,辈,辆,轮,连,通,里,部,遍,转,车,言,角,袋,课,起,路,趟,重,针,项,顷,顶,顿,颗,首,餐,页,集,锅,钱,钟,门,间,隅,队,行,节,筐,笔,筒,箱,篮,篓,篇,章,站,磅,碟,碗,种,科,窝,秒,簇,米,脚,股,群,船,艇,色,艘,罐,级,粒,类,组,维,缸,缕,招,支,发,双,厘,口,句,台,只,厅,卷,包,勺,匙,匹,升,区,叶,号,地,圈,圆,场,块,堆,坪,团,回,吨,名,拍,员,周,副,剑,代,付,件,伏,份,人,亩,世,下,两,个,串,伙,位,划,分,列,则,剂,刻,刀,出,倍,例,元,克,册,具,声,听,幅,帧,房,批,师,岁,尾,尺,局,层,届,手,壶,成,张,截,户,扇,年,度,座,尊,幢,室,寸,头,宗,字,孔,所,女,套,拉,家,处,折,天,把,夜,担,號,个月,公斤,公分,公克,公担,公亩,公升,公尺,像素,月份,盎司,位数,公里,年级,点钟,克拉,英亩,平方,加仑,公顷,秒钟,千克,世纪,千米,分钟,海里,英寸,英尺,英里,年代,周年,小时,阶段,平米,立方米,立方码,平方米,平方码,平方厘米,立方英寸,立方厘米,立方分米,立方公尺,立方英尺,平方公尺,平方英尺,平方英寸,平方分米,平方公里,平方英里,百位,十位,百次,千次,千名,千亩,千里,千人,千台,千位,万次,万元,万里,万位,万件,万单,万个,万台,万名,万人,亿元,亿,万,千,萬
a:地名等后置词
语,署,苑,街,省,湖,乡,海,观,路,娃,山,阁,部,镇,江,河,厅,郡,厂,楼,园,区,党,井,亭,塔,县,家,市,弄,巷,寺,局,中路,村委,诺夫,斯基,维奇,村委会,机,型,率
c:数量前缀词
零,一,二,三,四,五,六,七,八,九,十,百,千,万,亿,第,半,几,俩,卅,两,壹,贰,叁,肆,伍,陆,柒,捌,玖,拾,伯,仟
t:省会等专用词
京,津,沪,渝,冀,豫,云,辽,黑,湘,皖,鲁,新,苏,浙,赣,鄂,桂,甘,晋,蒙,陕,吉,闽,贵,粤,青,藏,川,宁,琼

32
resources/org/phpAnalysis/dict_build.php

@ -0,0 +1,32 @@
<?php
//编译词库
ini_set('memory_limit', '128M');
error_reporting(E_ALL);
header('Content-Type: text/html; charset=utf-8');
require_once('phpanalysis.class.php');
$dicAddon = dirname(__FILE__).'/dict/not-build/base_dic_full.txt';
if( empty($_GET['ac']) )
{
echo "<div style='line-height:28px;'>请选择要进行的操作:<br />";
echo "1、<a href='?ac=make'>用原始文件(dict/not-build/base_dic_full.txt)生成一个标准词典;</a><br />";
echo "2、<a href='?ac=revert'>从默认词典(dict/base_dic_full.dic),反编译出原始文件。</a></div>";
exit();
}
if( $_GET['ac']=='make' )
{
PhpAnalysis::$loadInit = false;
$pa = new PhpAnalysis('utf-8', 'utf-8', false);
$pa->MakeDict( $dicAddon );
echo "完成词典创建!";
exit();
}
else
{
$pa = new PhpAnalysis('utf-8', 'utf-8', true);
$pa->ExportDict('base_dic_source.txt');
echo "完成反编译词典文件,生成的文件为:base_dic_source.txt !";
exit();
}
?>

1137
resources/org/phpAnalysis/phpAnalysis.php
File diff suppressed because it is too large
View File

458
resources/org/phpAnalysis/readme/license.txt

@ -0,0 +1,458 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS

16
resources/org/phpAnalysis/readme/readme.txt

@ -0,0 +1,16 @@
phpanalysis PHP无组件分词系统V2.01版
本程序遵循GPL协议,欢迎自由使用,作者:IT柏拉图 联系Email:2500875#qq.com
文件列表:
demo.php 演示程序
dict_build.php 词典编译程序
phpanalysis.class.php 核心类
/dict 词典文件
使用环境:
PHP >= PHP5.0
使用方法请见本人博客:
http://www.itgrass.com

4
resources/views/admin/article/index.blade.php

@ -17,7 +17,7 @@
</tr>
</thead>
<tbody>
<?php foreach($posts as $row){ ?>
<?php if($posts){foreach($posts as $row){ ?>
<tr>
<td><?php echo $row->id; ?></td>
<td><input name="arcID" type="checkbox" value="<?php echo $row->id; ?>" class="np"></td>
@ -25,7 +25,7 @@
<td><?php echo date('Y-m-d',$row->pubdate); ?></td>
<td><a href="/fladmin/article?id=<?php echo $row->typeid; ?>"><?php echo $row->typename; ?></a></td><td><?php echo $row->click; ?></td><td><a target="_blank" href="<?php echo get_front_url(array("type"=>"content","catid"=>$row->typeid,"id"=>$row->id)); ?>">预览</a>&nbsp;<a href="/fladmin/article/edit?id=<?php echo $row->id; ?>">修改</a>&nbsp;<a onclick="delconfirm('/fladmin/article/del?id=<?php echo $row->id; ?>')" href="javascript:;">删除</a></td>
</tr>
<?php } ?>
<?php }} ?>
<tr>
<td colspan="8">
<a href="javascript:selAll('arcID')" class="coolbg">反选</a>&nbsp;

4
resources/views/admin/category/index.blade.php

@ -10,12 +10,12 @@
<table class="table table-striped table-hover">
<thead><tr><th>ID</th><th>名称</th><th>文章数</th><th>别名</th><th>更新时间</th><th>操作</th></tr></thead>
<tbody id="cat-list">
<?php $catlist = category_tree(get_category('arctype',0));foreach($catlist as $row){ ?>
<?php $catlist = category_tree(get_category('arctype',0));if($catlist){foreach($catlist as $row){ ?>
<tr id="cat-<?php echo $row["id"]; ?>">
<td><?php echo $row["id"]; ?></td>
<td><a href="/fladmin/article?id=<?php echo $row["id"]; ?>"><?php for($i=0;$i<$row["deep"];$i++){echo "";}echo $row["typename"]; ?></a></td><td><?php echo catarcnum($row["id"],'article'); ?></td><td><?php echo $row["typedir"]; ?></td><td><?php echo date('Y-m-d',$row["addtime"]); ?></td>
<td><a href="<?php echo get_front_url(array("type"=>"list","catid"=>$row["id"])); ?>" target="_blank">预览</a> | <a href="/fladmin/article/add?catid=<?php echo $row["id"]; ?>">发布文章</a> | <a href="/fladmin/category/add?reid=<?php echo $row["id"]; ?>">增加子类</a> | <a href="/fladmin/category/edit?id=<?php echo $row["id"]; ?>">更改</a> | <a onclick="delconfirm('/fladmin/category/del?id=<?php echo $row["id"]; ?>')" href="javascript:;">删除</a></td>
</tr><?php } ?>
</tr><?php }} ?>
</tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 -->
</div></div><!-- 右边结束 --></div></div>
</body></html>

4
resources/views/admin/product/add.blade.php

@ -77,12 +77,12 @@ function upImage()
<td align="right">商品类目:</td>
<td>
<select name="typeid" id="typeid">
<?php $catlist = category_tree(get_category('product_type',0));foreach($catlist as $row){
<?php $catlist = category_tree(get_category('product_type',0));if($catlist){foreach($catlist as $row){
if($row["id"]==$catid){ ?>
<option selected="selected" value="<?php echo $row["id"]; ?>"><?php for($i=0;$i<$row["deep"];$i++){echo "";}echo $row["typename"]; ?></option>
<?php }else{ ?>
<option value="<?php echo $row["id"]; ?>"><?php for($i=0;$i<$row["deep"];$i++){echo "";}echo $row["typename"]; ?></option>
<?php }} ?>
<?php }}} ?>
</select>
</td>
</tr>

8
resources/views/admin/product/index.blade.php

@ -17,15 +17,15 @@
</tr>
</thead>
<tbody>
<?php foreach($posts as $row){ ?>
<?php if($posts){foreach($posts as $row){ ?>
<tr>
<td><?php echo $row->id; ?></td>
<td><input name="arcID" type="checkbox" value="<?php echo $row->id; ?>" class="np"></td>
<td><a href="/fladmin/product/edit?id=<?php echo $row->id; ?>"><?php echo $row->title; ?></a> <?php if(!empty($row->litpic)){echo "<small style='color:red'>[图]</small>";}if($row->tuijian==1){echo "<small style='color:#22ac38'>[荐]</small>";} ?> </td>
<td><?php echo date('Y-m-d',$row->pubdate); ?></td>
<td><a href="/fladmin/product?id=<?php echo $row->typeid; ?>"><?php echo $row->typename; ?></a></td><td><?php echo $row->click; ?></td><td><a target="_blank" href="<?php echo get_front_url(array("type"=>"content","catid"=>$row->typeid,"id"=>$row->id)); ?>">预览</a>&nbsp;<a href="/fladmin/product/edit?id=<?php echo $row->id; ?>">修改</a>&nbsp;<a onclick="delconfirm('/fladmin/product/del?id=<?php echo $row->id; ?>')" href="javascript:;">删除</a></td>
<td><a href="/fladmin/product?id=<?php echo $row->typeid; ?>"><?php echo $row->typename; ?></a></td><td><?php echo $row->click; ?></td><td><a target="_blank" href="<?php echo route('product',['id'=>$row->id]); ?>">预览</a>&nbsp;<a href="/fladmin/product/edit?id=<?php echo $row->id; ?>">修改</a>&nbsp;<a onclick="delconfirm('/fladmin/product/del?id=<?php echo $row->id; ?>')" href="javascript:;">删除</a></td>
</tr>
<?php } ?>
<?php }} ?>
<tr>
<td colspan="8">
<a href="javascript:selAll('arcID')" class="coolbg">反选</a>&nbsp;
@ -40,7 +40,7 @@
<form id="searcharc" class="navbar-form" action="/fladmin/product" method="get">
<select name="typeid" id="typeid" style="padding:6px 5px;vertical-align:middle;border:1px solid #DBDBDB;border-radius:4px;">
<option value="0">选择栏目...</option>
<?php $catlist = category_tree(get_category('product_type',0));foreach($catlist as $row){ ?><option value="<?php echo $row["id"]; ?>"><?php for($i=0;$i<$row["deep"];$i++){echo "—";}echo $row["typename"]; ?></option><?php } ?>
<?php $catlist = category_tree(get_category('product_type',0));if($catlist){foreach($catlist as $row){ ?><option value="<?php echo $row["id"]; ?>"><?php for($i=0;$i<$row["deep"];$i++){echo "—";}echo $row["typename"]; ?></option><?php }} ?>
</select>
<div class="form-group"><input type="text" name="keyword" id="keyword" class="form-control required" placeholder="搜索关键词..."></div>
<button type="submit" class="btn btn-info" value="Submit">搜索一下</button></form>

4
resources/views/admin/producttype/add.blade.php

@ -23,11 +23,11 @@
</tr>
<tr>
<td align="right">列表模板:</td>
<td><input name="templist" id="templist" type="text" value="productcategory" class="required" size="20"></td>
<td><input name="templist" id="templist" type="text" value="productcat" class="required" size="20"></td>
</tr>
<tr>
<td align="right">文章模板:</td>
<td><input name="temparticle" id="temparticle" type="text" value="productdetail" class="required" size="20"></td>
<td><input name="temparticle" id="temparticle" type="text" value="product" class="required" size="20"></td>
</tr>
<tr>
<td align="right" style="vertical-align:middle;">缩略图:</td>

4
resources/views/admin/producttype/index.blade.php

@ -10,7 +10,7 @@
<table class="table table-striped table-hover">
<thead><tr><th>ID</th><th>名称</th><th>商品数</th><th>别名</th><th>更新时间</th><th>操作</th></tr></thead>
<tbody id="cat-list">
<?php foreach($catlist as $row){ ?>
<?php if($catlist){foreach($catlist as $row){ ?>
<tr id="cat-<?php echo $row["id"]; ?>">
<td><?php echo $row["id"]; ?></td>
<td><a href="/fladmin/product?id=<?php echo $row["id"]; ?>"><?php for($i=0;$i<$row["deep"];$i++){echo "";}echo $row["typename"]; ?></a></td>
@ -18,7 +18,7 @@
<td><?php echo $row["typedir"]; ?></td>
<td><?php echo date('Y-m-d',$row["addtime"]); ?></td>
<td><a href="<?php echo get_front_url(array("type"=>"list","catid"=>$row["id"])); ?>" target="_blank">预览</a> | <a href="/fladmin/product/add?catid=<?php echo $row["id"]; ?>">发布商品</a> | <a href="/fladmin/producttype/add?reid=<?php echo $row["id"]; ?>">增加子类</a> | <a href="/fladmin/producttype/edit?id=<?php echo $row["id"]; ?>">更改</a> | <a onclick="delconfirm('/fladmin/producttype/del?id=<?php echo $row["id"]; ?>')" href="javascript:;">删除</a></td>
</tr><?php } ?>
</tr><?php }} ?>
</tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 -->
</div></div><!-- 右边结束 --></div></div>
</body></html>

2
resources/views/home/common/footer.blade.php

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

6
resources/views/home/common/header.blade.php

@ -1 +1,5 @@
<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"><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat1">笔记本电脑知识</a><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat2">笔记本推荐</a><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat3">笔记本系统</a><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>
<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'=>[['reid','=',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['typename']; ?></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>

4
resources/views/home/index/category.blade.php

@ -11,11 +11,11 @@
<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,typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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,typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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 -->

4
resources/views/home/index/category2.blade.php

@ -6,11 +6,11 @@
<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,typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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,typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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 -->

4
resources/views/home/index/detail.blade.php

@ -9,11 +9,11 @@
</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,typeid:<?php echo $post['typeid']; ?>,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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,typeid:<?php echo $post['typeid']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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 -->

12
resources/views/home/index/index.blade.php

@ -1,30 +1,26 @@
<!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>
<div id="header"><div id="navlink" class="box"><h1><a class="webname" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/"><?php echo sysconfig('CMS_WEBNAME'); ?></a></h1><span class="nav"><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat1">笔记本电脑知识</a><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat2">笔记本推荐</a><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat3">笔记本系统</a><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><div id="tad"><script>tjs();</script></div>
@include('home.common.header')<div id="tad"><script>tjs();</script></div>
<div class="box mt10"><div class="fl_640">
<div class="notice">苹果/ThinkPad笔记本电脑无须担心质量问题。</div>
<?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="iad2"><script>ijs2();</script></div><div class="pages"><ul><li><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat1">更多笔记本知识</a></li></ul><div class="cl"></div></div>
<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"><div class="stith"><strong>热门话题</strong></div><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/tags.html" target="_blank" class="more">更多</a><div class="cl"></div></div>
<div class="ws-tag"><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat5" target="_blank">重装系统</a><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/cat4" target="_blank">笔记本电脑配置知识</a></div></div>
<div class="side"><div class="stit"><h2>文章排行</h2><a href="javascript:getmore({PageSize:5,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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()'});" class="more">换一换</a><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"><a href="<?php echo sysconfig('CMS_BASEHOST'); ?>/">笔记本之家官网</a></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>

4
resources/views/home/index/tag.blade.php

@ -11,11 +11,11 @@
<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,typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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,typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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 -->

4
resources/views/home/index/tag2.blade.php

@ -7,11 +7,11 @@
<?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,typeid:<?php echo $post['id']; ?>,tuijian:1,mode:1,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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,typeid:<?php echo $post['id']; ?>,mode:2,orderby:'rand()'});" class="more">换一换</a><div class="cl"></div></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 -->

4
resources/views/home/index/tag3.blade.php

@ -6,11 +6,11 @@
<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()'});" class="more">换一换</a><div class="cl"></div></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()'});" class="more">换一换</a><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="rad2"><script>rjs2();</script></div></div><!-- fr_300 end --></div><!-- box end -->

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

@ -0,0 +1,20 @@
<!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

@ -0,0 +1 @@
<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

@ -0,0 +1,5 @@
<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'=>[['reid','=',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['typename']; ?></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

@ -0,0 +1,124 @@
<!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

@ -0,0 +1,57 @@
<!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

@ -0,0 +1,122 @@
<!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

@ -0,0 +1,126 @@
<!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

@ -0,0 +1,171 @@
<!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

@ -0,0 +1,121 @@
<!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

@ -0,0 +1,177 @@
<!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="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['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>

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

@ -0,0 +1,123 @@
<!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>{{ $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'=>[['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>

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

@ -0,0 +1,35 @@
<!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

@ -0,0 +1,9 @@
<?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

@ -0,0 +1,62 @@
<!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

@ -0,0 +1,58 @@
<!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

@ -0,0 +1,57 @@
<!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

@ -0,0 +1,7 @@
<!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>

13
routes/web.php

@ -35,13 +35,16 @@ Route::group(['namespace' => 'Home'], function () {
Route::get('/page404', 'IndexController@page404')->name('page404'); //404页面
Route::get('/tags', 'IndexController@tags')->name('tags');
Route::get('/search', 'IndexController@search');
Route::get('/p/{id}', 'IndexController@detail'); //详情页
Route::get('/p/{id}', 'IndexController@detail')->name('home_detail'); //详情页
Route::get('/cat{cat}/{page}', 'IndexController@category'); //分类页,分页
Route::get('/cat{cat}', 'IndexController@category'); //分类页
Route::get('/cat{cat}', 'IndexController@category')->name('home_category'); //分类页
Route::get('/tag{tag}/{page}', 'IndexController@tag'); //标签页,分页
Route::get('/tag{tag}', 'IndexController@tag'); //标签页
Route::get('/page/{id}', 'IndexController@page')->name('page'); //单页
Route::get('/sitemap.xml', 'IndexController@sitemap')->name('sitemap'); //sitemap
Route::get('/page/{id}', 'IndexController@page')->name('singlepage'); //单页
Route::get('/product/{id}', 'IndexController@product')->name('product'); //详情页
Route::get('/productcat{cat}/{page}', 'IndexController@productcat'); //产品分类页,分页
Route::get('/productcat{cat}', 'IndexController@productcat')->name('productcat'); //产品分类页
Route::get('/sitemap.xml', 'IndexController@sitemap')->name('sitemap'); //sitemap
Route::get('/aaa', function () {
dd('wap');
@ -154,7 +157,7 @@ Route::group(['prefix' => 'fladmin', 'namespace' => 'Admin', 'middleware' => ['w
//接口路由
Route::group(['prefix' => 'api', 'namespace' => 'Api', 'middleware' => ['web']], function () {
Route::get('/listarc', 'IndexController@listarc')->name('api_listarc');
Route::post('/listarc', 'IndexController@listarc')->name('api_listarc');
Route::get('/ccc', function () {
// 匹配 "/api/users" URL
});

Loading…
Cancel
Save