198 lines
6.4 KiB
PHP
198 lines
6.4 KiB
PHP
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:41:"./template/pc/rainbow/article\listdd.html";i:1551432349;s:53:"D:\littleTiger\template\pc\rainbow\public\header.html";i:1551430143;s:53:"D:\littleTiger\template\pc\rainbow\public\footer.html";i:1551327277;}*/ ?>
|
|
<head>
|
|
<style>
|
|
.shop-body {
|
|
padding-top: 100px;
|
|
height: 150px;
|
|
}
|
|
|
|
.shop-body .img {
|
|
float: left;
|
|
margin-left: 260px;
|
|
margin-top: -50px;
|
|
}
|
|
|
|
.shop-body .title {
|
|
font-weight: bold;
|
|
font-size: 18px;
|
|
margin-left: 500px;
|
|
margin-top: -30px;
|
|
height: 40px;
|
|
width: 1050px;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
.shop-body .title_cha {
|
|
float: right;
|
|
height: 40px;
|
|
width: 100px;
|
|
margin-top: -25px;
|
|
letter-spacing: 6px;
|
|
}
|
|
|
|
.shop-body .content {
|
|
margin-left: 500px;
|
|
margin-top: 10px;
|
|
width: 1050px;
|
|
height: 70px;
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="/public/static/csse/index.css" />
|
|
<meta charset="utf-8" />
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<div class="shop-head" id="head">
|
|
<div class="pic">
|
|
<a href="/index.php/Home/index/index.html">
|
|
<img src="/public/images/huzi.jpg" />
|
|
</a>
|
|
</div>
|
|
|
|
<div class="search">
|
|
<form style="width: 100%" id="searchFor" name="" method="get" action="<?php echo U('Home/Goods/search'); ?>">
|
|
|
|
<input autocomplete="off" name="q" id="q" value="<?php echo \think\Request::instance()->param('q'); ?>" type="text" class=" flex1 search_input" placeholder="请输入您要搜索的素材"/>
|
|
<input type="submit" value=" " class="search_btn"/>
|
|
</form>
|
|
</div>
|
|
<div class="menu" >
|
|
小虎子家
|
|
</div>
|
|
|
|
<div class="menuse" >
|
|
关于小虎子
|
|
</div>
|
|
|
|
<a href="/Home/Illustrations/illustrations.html">
|
|
<div class="menuse" >
|
|
插图,绘本定制
|
|
</div>
|
|
</a>
|
|
<div class="menuse" >
|
|
插画课程
|
|
</div>
|
|
<a href="/Home/Aboutus/connect/connect.html">
|
|
<div class="menuse">
|
|
联系我们
|
|
</div>
|
|
</a>
|
|
<div class="login">
|
|
<div class="login_left">
|
|
<a href="<?php echo U('Home/User/reg'); ?>" style="color: white;text-decoration:none;">
|
|
注册</a>
|
|
|
|
</div>
|
|
<div class="login_right">
|
|
<a href="<?php echo U('Home/User/login'); ?>" style="color: white;text-decoration:none;">登录</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
<?php
|
|
|
|
$md5_key = md5("select * from `__PREFIX__article_cat` where cat_id = 2 order by sort_order asc");
|
|
$result_name = $sql_result_v = S("sql_".$md5_key);
|
|
if(empty($sql_result_v))
|
|
{
|
|
$result_name = $sql_result_v = \think\Db::query("select * from `__PREFIX__article_cat` where cat_id = 2 order by sort_order asc");
|
|
S("sql_".$md5_key,$sql_result_v,1);
|
|
}
|
|
foreach($sql_result_v as $k=>$v): ?>
|
|
<dl>
|
|
|
|
<!--<dt><?php echo $v[cat_name]; ?></dt>-->
|
|
<?php
|
|
|
|
$md5_key = md5("select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5");
|
|
$result_name = $sql_result_v2 = S("sql_".$md5_key);
|
|
if(empty($sql_result_v2))
|
|
{
|
|
$result_name = $sql_result_v2 = \think\Db::query("select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5");
|
|
S("sql_".$md5_key,$sql_result_v2,1);
|
|
}
|
|
foreach($sql_result_v2 as $k2=>$v2): ?>
|
|
<!--<dd ><img src="<?php echo $v2[thumb]; ?>"></dd>-->
|
|
<div class="shop-body">
|
|
<dd class="img"><img style="max-width:100%;max-height:100%;" src="<?php echo $v2[thumb]; ?>"></dd>
|
|
<dd class="title"><a href="<?php echo U('Home/Article/detail',array('article_id'=>$v2[article_id])); ?>"><?php echo $v2[title]; ?></a>
|
|
<dd class="title_cha"><?php echo $v2[keywords]; ?></dd>
|
|
<dd class="content"><a href="<?php echo U('Home/Article/detail',array('article_id'=>$v2[article_id])); ?>"><?php echo $v2[description]; ?></a>
|
|
</dd>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
|
|
</dl>
|
|
<?php endforeach; ?>
|
|
<html>
|
|
<link rel="stylesheet" type="text/css" href="/public/static/style.css"/>
|
|
<link rel="stylesheet" type="text/css" href="/public/static/base1.css"/>
|
|
<div class="footer mw19210">
|
|
<div class="topinfo bg6666661">
|
|
<div class="mw13010 ptb701">
|
|
<div class="left">
|
|
<img class="tige" src="/public/images/index-01_39.jpg">
|
|
</div>
|
|
<div class="center">
|
|
<div>
|
|
<ul class ="ul1">
|
|
<li>
|
|
<img class="img1" src="/public/images/index_03.jpg">
|
|
<p>www.dlxiaohuzi.com</p>
|
|
</li>
|
|
<li>
|
|
<img class="img1" src="/public/images/index_05.jpg">
|
|
<p>2808510795</p>
|
|
</li>
|
|
<li>
|
|
<img class="img1" src="/public/images/index_07.jpg">
|
|
<p>2808510795@qq.com</p>
|
|
</li>
|
|
<li>
|
|
<img class="img1" src="/public/images/index_12.jpg">
|
|
<p>沈阳市和平区民主路亚洲时尚公寓1#4楼</p>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="right">
|
|
<div>
|
|
<img src="/public/images/ewm.png">
|
|
<p>关注小虎子微信公众号</p>
|
|
</div>
|
|
<div>
|
|
<img src="/public/images/ewm.png">
|
|
<p>加小虎子微信好友</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footerinfo bgdc25291 h651 lh651">
|
|
<div class="mw11501">
|
|
<p class="psize">注册声明 版权声明</p>
|
|
<p class="psize" style="margin-left: 3%">Copyright ©2013-2018 小虎子插图素材网</p>
|
|
<p class="psize">辽ICP备10011451号-6辽宁工商 安全实名验证 信用网站</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</html>
|
|
|
|
</body>
|