Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
1381e76a
Commit
1381e76a
authored
Jun 30, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页
parent
49837612
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
22 deletions
+12
-22
userfun.php
e/class/userfun.php
+3
-1
index.html
index.html
+9
-21
notimg.gif
skin/default/images/notimg.gif
+0
-0
No files found.
e/class/userfun.php
View file @
1381e76a
...
@@ -13,7 +13,7 @@ function user_ibanshou($num)
...
@@ -13,7 +13,7 @@ function user_ibanshou($num)
$list
=
CourseList
::
getRecommendList
(
$num
);
$list
=
CourseList
::
getRecommendList
(
$num
);
$str
=
'<div class="learnning-course newest">
$str
=
'<div class="learnning-course newest">
<div class="tit">
最新
课程<span></span><a href="http://xue.ibanshou.cn/home/all-course">全部课程</a></div>
<div class="tit">
推荐
课程<span></span><a href="http://xue.ibanshou.cn/home/all-course">全部课程</a></div>
<div class="newest-list clearfix">'
;
<div class="newest-list clearfix">'
;
...
@@ -31,6 +31,8 @@ function user_ibanshou($num)
...
@@ -31,6 +31,8 @@ function user_ibanshou($num)
<ul class="news-list">'
;
<ul class="news-list">'
;
foreach
(
$thread
as
$val
)
{
foreach
(
$thread
as
$val
)
{
$val
[
'image'
]
=
$val
[
'image'
]
?
:
'/skin/default/images/notimg.gif'
;
$str
.=
"<li>
$str
.=
"<li>
<a href=
\"
{
$val
[
'url'
]
}
\"
>
<a href=
\"
{
$val
[
'url'
]
}
\"
>
<h3>
{
$val
[
'subject'
]
}
</h3>
<h3>
{
$val
[
'subject'
]
}
</h3>
...
...
index.html
View file @
1381e76a
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</div>
</div>
<div
class=
"learnning-course newest"
>
<div
class=
"learnning-course newest"
>
<div
class=
"tit"
>
最新
课程
<span></span><a
href=
"http://xue.ibanshou.cn/home/all-course"
>
全部课程
</a></div>
<div
class=
"tit"
>
推荐
课程
<span></span><a
href=
"http://xue.ibanshou.cn/home/all-course"
>
全部课程
</a></div>
<div
class=
"newest-list clearfix"
><div
class=
"learn-course-box"
>
<div
class=
"newest-list clearfix"
><div
class=
"learn-course-box"
>
<div
class=
"lc-img"
><a
href=
"http://ct.yunya.com/home/course-detail?courseId=37"
><img
<div
class=
"lc-img"
><a
href=
"http://ct.yunya.com/home/course-detail?courseId=37"
><img
src=
"http://deimg.c.xixia.cc/preview/14/af/53/vhc0QjF8zCEDRVLD5135.jpg-ym.preview"
></a></div>
src=
"http://deimg.c.xixia.cc/preview/14/af/53/vhc0QjF8zCEDRVLD5135.jpg-ym.preview"
></a></div>
...
@@ -101,28 +101,16 @@
...
@@ -101,28 +101,16 @@
</div></div></div><div
class=
"latest-news"
>
</div></div></div><div
class=
"latest-news"
>
<div
class=
"common-tit-index"
>
热门互动
</div>
<div
class=
"common-tit-index"
>
热门互动
</div>
<ul
class=
"news-list"
><li>
<ul
class=
"news-list"
><li>
<a
href=
"http://bbs.yunya.com/forum.php?mod=viewthread&tid=1
50
"
>
<a
href=
"http://bbs.yunya.com/forum.php?mod=viewthread&tid=1
67
"
>
<h3>
空调清洗
</h3>
<h3>
我对冰箱漏,堵的一点看法与处理(转)
</h3>
<p>
9
人已参与
</p>
<p>
3
人已参与
</p>
<img
src=
"
http://bbs.yunya.com/data/attachment/block/73/73fc0c6ae7fd405fa541110459114b06.jpg
"
>
<img
src=
"
/skin/default/images/notimg.gif
"
>
</a>
</a>
</li><li>
</li><li>
<a
href=
"http://bbs.yunya.com/forum.php?mod=viewthread&tid=146"
>
<a
href=
"http://bbs.yunya.com/forum.php?mod=viewthread&tid=18"
>
<h3>
教学篇:空调制冷系工作原理
</h3>
<h3>
解决冰堵的神器,很简单,谁用谁知道
</h3>
<p>
17人已参与
</p>
<p>
30人已参与
</p>
<img
src=
"http://bbs.yunya.com/data/attachment/block/05/0573c30327d38b798577e1ad9f9f055b.jpg"
>
<img
src=
"http://bbs.yunya.com/data/attachment/block/3f/3f0a9860abffca597be57ae748d68b99.jpg"
>
</a>
</li><li>
<a
href=
"http://bbs.yunya.com/forum.php?mod=viewthread&tid=142"
>
<h3>
解析压缩机结霜原因与处理
</h3>
<p>
12人已参与
</p>
<img
src=
"http://bbs.yunya.com/data/attachment/block/a5/a5b5748b56045493ee996cc6b1586998.jpg"
>
</a>
</li><li>
<a
href=
"http://bbs.yunya.com/forum.php?mod=viewthread&tid=33"
>
<h3>
分享:LG滚筒洗衣机(WD-A12115D)拆解全过程
</h3>
<p>
20人已参与
</p>
<img
src=
"http://bbs.yunya.com/data/attachment/block/4c/4ce0f4d5d11a085828a9b4f4eecd5441.jpg"
>
</a>
</a>
</li></ul></div>
</li></ul></div>
<div
class=
"foot-nav"
>
<div
class=
"foot-nav"
>
...
...
skin/default/images/notimg.gif
0 → 100644
View file @
1381e76a
1.64 KB
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