1 Star 0 Fork 0

jinmandou/blog

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
head.html 2.27 KB
Copy Edit Raw Blame History
jinmandou authored 2017-02-09 18:03 +08:00 . 百度教程上的一个例子,童老师的
<div id="header_wrap">
<div id="header">
<div style="float: left; width: 310px;">
<h1>
<a href="/" title="宽屏大气文章类--41天鹰模板">宽屏大气文章类--41天鹰模板</a>
<div class="" id="logo-sub-class">
</div>
</h1>
</div>
<div id="navi">
<ul id="jsddm">
<li><a class="navi_home" href="{:url('index/index')}">首页</a></li>
{volist name="cateres" id="cate"}
<li><a {if condition="$cate['children'] neq 0"} class="havechild" {/if} href="http://127.0.0.1/bick/public/index.php/index/{if condition="$cate['type'] eq 1"}artlist{elseif condition="$cate['type'] eq 3" /}imglist{else /}page{/if}/index/cateid/{$cate.id}">{$cate.catename}</a>
{if condition="$cate['children'] neq 0"}
<ul>
<?php foreach ($cate['children'] as $k2 => $v2):?>
<li><a href="http://127.0.0.1/bick/public/index.php/index/{if condition="$v2['type'] eq 1"}artlist{elseif condition="$v2['type'] eq 3" /}imglist{else /}page{/if}/index/cateid/{$v2.id}"><?php echo $v2['catename'];?></a></li>
<?php endforeach;?>
</ul>
{/if}
</li>
{/volist}
</ul>
<div style="clear: both;">
</div>
</div>
<div style="float: right; width: 209px;">
<div class="widget" style="height: 30px; padding-top: 20px;">
<div style="float: left;">
<form name="formsearch" action="{:url('search/index')}" method="get">
<input name="keywords" type="text" style="background-color: #000000;padding-left: 10px; font-size: 12px;font-family: 'Microsoft Yahei'; color: #999999;height: 29px; width: 160px; border: solid 1px #666666; line-height: 28px;" id="go" value="在这里搜索..." onfocus="if(this.value=='在这里搜索...'){this.value='';}" onblur="if(this.value==''){this.value='在这里搜索...';}" />
</form>
</div>
<div style="float: left;">
<img src="__INDEX__/images/search-new.png" id="imgSearch" style="cursor: pointer; margin: 0px;
padding: 0px;" onclick="subForm()" /></div>
<div style="clear: both;">
</div>
</div>
</div>
</div>
</div>
</div>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/jvbaopen/blog.git
git@gitee.com:jvbaopen/blog.git
jvbaopen
blog
blog
20c24ba6e052d46493fa4ce481021de2d3f5720e

Search