Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
鹿
鹿马108官网
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
鹿马108官网
Commits
bc11f9d7
Commit
bc11f9d7
authored
Mar 06, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addxx
parent
3a968890
Pipeline
#42
canceled with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
87 deletions
+75
-87
application/index/controller/Index.php
application/index/controller/Index.php
+6
-0
application/index/view/index/news.html
application/index/view/index/news.html
+22
-43
runtime/log/202103/06.log
runtime/log/202103/06.log
+24
-0
runtime/temp/14c38376baa1b64232d9271d27c63d32.php
runtime/temp/14c38376baa1b64232d9271d27c63d32.php
+23
-44
No files found.
application/index/controller/Index.php
View file @
bc11f9d7
...
@@ -4,6 +4,7 @@ namespace app\index\controller;
...
@@ -4,6 +4,7 @@ namespace app\index\controller;
use
app\common\controller\Frontend
;
use
app\common\controller\Frontend
;
use
think\facade\Request
;
use
think\facade\Request
;
use
think\Db
;
class
Index
extends
Frontend
class
Index
extends
Frontend
{
{
...
@@ -77,9 +78,14 @@ class Index extends Frontend
...
@@ -77,9 +78,14 @@ class Index extends Frontend
//新闻中心
//新闻中心
public
function
news
(){
public
function
news
(){
//获取当前方法名
//获取当前方法名
$newslist
=
Db
::
name
(
'news'
)
->
select
();
// var_dump($newslist);die;
$action
=
request
()
->
action
();
$action
=
request
()
->
action
();
$this
->
assign
(
'action'
,
$action
);
$this
->
assign
(
'action'
,
$action
);
$this
->
assign
(
'newslist'
,
$newslist
);
return
$this
->
view
->
fetch
();
return
$this
->
view
->
fetch
();
}
}
...
...
application/index/view/index/news.html
View file @
bc11f9d7
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
<section
class=
"newslist"
>
<section
class=
"newslist"
>
<div
class=
"newslistall"
>
<div
class=
"newslistall"
>
{foreach $newslist as $key=>$vo }
<div
class=
"container"
>
<div
class=
"container"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -32,42 +34,19 @@
...
@@ -32,42 +34,19 @@
<img
src=
"__CDN__/static/images/news/newss.jpg"
alt=
""
>
<img
src=
"__CDN__/static/images/news/newss.jpg"
alt=
""
>
</div>
</div>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<h5>
热烈欢迎南昌公益基金会领导到访总部考察!
</h5>
<h5>
{$vo.news_title}
</h5>
<p>
12月22日,南昌县昌南金控基金管理有限公司总经理程石良先生、江西高新创投泽信投资管理有限公司经理蔡小安先生等一行...
</p>
<p>
{$vo.news_title}
</p>
<span>
2020-06-15
</span>
</div>
</div>
</a>
</div>
<div
class=
"container"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<div
class=
"row"
>
<div
class=
"newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12"
>
<img
src=
"__CDN__/static/images/news/newss.jpg"
alt=
""
>
</div>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<h5>
热烈欢迎南昌公益基金会领导到访总部考察!
</h5>
<p>
12月22日,南昌县昌南金控基金管理有限公司总经理程石良先生、江西高新创投泽信投资管理有限公司经理蔡小安先生等一行...
</p>
<span>
2020-06-15
</span>
</div>
</div>
</a>
</div>
<div
class=
"container"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<div
class=
"row"
>
<div
class=
"newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12"
>
<img
src=
"__CDN__/static/images/news/newss.jpg"
alt=
""
>
</div>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<h5>
热烈欢迎南昌公益基金会领导到访总部考察!
</h5>
<p>
12月22日,南昌县昌南金控基金管理有限公司总经理程石良先生、江西高新创投泽信投资管理有限公司经理蔡小安先生等一行...
</p>
<span>
2020-06-15
</span>
<span>
2020-06-15
</span>
</div>
</div>
</div>
</div>
</a>
</a>
</div>
</div>
<div
class=
"container"
>
{/foreach}
<!-- <div class="container">
<a href="newsdataile.html" class="newsitems">
<a href="newsdataile.html" class="newsitems">
<div class="row">
<div class="row">
<div class="newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12">
<div class="newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12">
...
@@ -80,7 +59,7 @@
...
@@ -80,7 +59,7 @@
</div>
</div>
</div>
</div>
</a>
</a>
</div>
</div>
-->
<div
class=
"pages"
>
<div
class=
"pages"
>
<nav
aria-label=
"..."
class=
"pagesnavas"
>
<nav
aria-label=
"..."
class=
"pagesnavas"
>
...
...
runtime/log/202103/06.log
View file @
bc11f9d7
...
@@ -10,3 +10,27 @@
...
@@ -10,3 +10,27 @@
---------------------------------------------------------------
---------------------------------------------------------------
[ 2021-03-06T15:50:02+08:00 ] 127.0.0.1 GET www.fa.com/index.html
[ 2021-03-06T15:50:02+08:00 ] 127.0.0.1 GET www.fa.com/index.html
[ error ] [0]语法解析错误: syntax error, unexpected ';'
[ error ] [0]语法解析错误: syntax error, unexpected ';'
---------------------------------------------------------------
[ 2021-03-06T16:36:53+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [2]json_decode() expects parameter 1 to be string, array given
---------------------------------------------------------------
[ 2021-03-06T16:37:00+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [8]未定义变量: action
---------------------------------------------------------------
[ 2021-03-06T16:37:30+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [8]Array to string conversion
---------------------------------------------------------------
[ 2021-03-06T16:37:31+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [8]Array to string conversion
---------------------------------------------------------------
[ 2021-03-06T16:37:31+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [8]Array to string conversion
---------------------------------------------------------------
[ 2021-03-06T16:37:40+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [8]Array to string conversion
---------------------------------------------------------------
[ 2021-03-06T16:37:45+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [0]语法解析错误: syntax error, unexpected ';'
---------------------------------------------------------------
[ 2021-03-06T16:38:13+08:00 ] 127.0.0.1 GET www.fa.com/news.html
[ error ] [8]Array to string conversion
runtime/temp/14c38376baa1b64232d9271d27c63d32.php
View file @
bc11f9d7
<?php
if
(
!
defined
(
'THINK_PATH'
))
exit
();
/*a:3:{s:79:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\news.html";i:16150
17364
;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615017144;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/
?>
<?php
if
(
!
defined
(
'THINK_PATH'
))
exit
();
/*a:3:{s:79:"D:\phpstudy_pro\WWW\www.fa.com\public/../application/index\view\index\news.html";i:16150
20168
;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\topnav.html";i:1615017144;s:72:"D:\phpstudy_pro\WWW\www.fa.com\application\index\view\layout\footer.html";i:1615017258;}*/
?>
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"zh-cn"
>
<html
lang=
"zh-cn"
>
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
...
@@ -83,6 +83,8 @@
...
@@ -83,6 +83,8 @@
<section
class=
"newslist"
>
<section
class=
"newslist"
>
<div
class=
"newslistall"
>
<div
class=
"newslistall"
>
<?php
foreach
(
$newslist
as
$key
=>
$vo
)
:
?>
<div
class=
"container"
>
<div
class=
"container"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -90,42 +92,19 @@
...
@@ -90,42 +92,19 @@
<img
src=
"/static/images/news/newss.jpg"
alt=
""
>
<img
src=
"/static/images/news/newss.jpg"
alt=
""
>
</div>
</div>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<h5>
热烈欢迎南昌公益基金会领导到访总部考察!
</h5>
<h5>
<?php
echo
$vo
[
'news_title'
];
?>
</h5>
<p>
12月22日,南昌县昌南金控基金管理有限公司总经理程石良先生、江西高新创投泽信投资管理有限公司经理蔡小安先生等一行...
</p>
<p>
<?php
echo
$vo
[
'news_title'
];
?>
</p>
<span>
2020-06-15
</span>
</div>
</div>
</a>
</div>
<div
class=
"container"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<div
class=
"row"
>
<div
class=
"newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12"
>
<img
src=
"/static/images/news/newss.jpg"
alt=
""
>
</div>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<h5>
热烈欢迎南昌公益基金会领导到访总部考察!
</h5>
<p>
12月22日,南昌县昌南金控基金管理有限公司总经理程石良先生、江西高新创投泽信投资管理有限公司经理蔡小安先生等一行...
</p>
<span>
2020-06-15
</span>
</div>
</div>
</a>
</div>
<div
class=
"container"
>
<a
href=
"newsdataile.html"
class=
"newsitems"
>
<div
class=
"row"
>
<div
class=
"newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12"
>
<img
src=
"/static/images/news/newss.jpg"
alt=
""
>
</div>
<div
class=
"newsitems_right col-xl-9 col-lg-9 col-md-8 col-sm-7 col-12"
>
<h5>
热烈欢迎南昌公益基金会领导到访总部考察!
</h5>
<p>
12月22日,南昌县昌南金控基金管理有限公司总经理程石良先生、江西高新创投泽信投资管理有限公司经理蔡小安先生等一行...
</p>
<span>
2020-06-15
</span>
<span>
2020-06-15
</span>
</div>
</div>
</div>
</div>
</a>
</a>
</div>
</div>
<div
class=
"container"
>
<?php
endforeach
;
?>
<!-- <div class="container">
<a href="newsdataile.html" class="newsitems">
<a href="newsdataile.html" class="newsitems">
<div class="row">
<div class="row">
<div class="newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12">
<div class="newsitems_left col-xl-3 col-lg-3 col-md-4 col-sm-5 col-12">
...
@@ -138,7 +117,7 @@
...
@@ -138,7 +117,7 @@
</div>
</div>
</div>
</div>
</a>
</a>
</div>
</div>
-->
<div
class=
"pages"
>
<div
class=
"pages"
>
<nav
aria-label=
"..."
class=
"pagesnavas"
>
<nav
aria-label=
"..."
class=
"pagesnavas"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment