You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
2.2 KiB
PHTML
111 lines
2.2 KiB
PHTML
8 years ago
|
<div class="row-fluid">
|
||
|
<div class="span2">
|
||
|
|
||
|
<?php echo $nav_view; ?>
|
||
|
|
||
|
</div>
|
||
|
<div class="span10">
|
||
|
|
||
|
<?php if (isset($lastEditList)){ ?>
|
||
|
<table class="table table-striped">
|
||
|
<caption>最新编辑</caption>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="span1">#</th>
|
||
|
<th class="span8">标题</th>
|
||
|
<th class="span1">时间</th>
|
||
|
<th class="span1">操作</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<?php
|
||
|
foreach ($lastEditList as $key => $item){
|
||
|
?>
|
||
|
<tr>
|
||
|
<td><?php echo $key+1; ?></td>
|
||
|
<td><?php echo $item->ic_url_title; ?></td>
|
||
|
<td><?php echo date('m/d/Y',strtotime($item->ic_datetime)); ?></td>
|
||
|
<td><a href="<?php echo site_url('information/edit/' . $item->is_id); ?>" >编辑</a></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<?php } ?>
|
||
|
|
||
|
|
||
|
|
||
|
<?php if (isset($search_list)){ ?>
|
||
|
<table class="table table-striped">
|
||
|
<caption>搜索结果</caption>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="span1">#</th>
|
||
|
<th class="span8">标题</th>
|
||
|
<th class="span1">时间</th>
|
||
|
<th class="span1">操作</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<?php
|
||
|
foreach ($search_list as $key => $item){
|
||
|
?>
|
||
|
<tr>
|
||
|
<td><?php echo $key+1; ?></td>
|
||
|
<td><?php echo $item->ic_url_title; ?></td>
|
||
|
<td><?php echo date('m/d/Y',strtotime($item->ic_datetime)); ?></td>
|
||
|
<td><a href="<?php echo site_url('information/edit/' . $item->is_id); ?>" >编辑</a></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<?php } ?>
|
||
|
|
||
|
|
||
|
<?php if (isset($cityList)){ ?>
|
||
|
<table class="table table-striped">
|
||
|
<caption>城市列表</caption>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="span1">字母</th>
|
||
|
<th class="span11">标题</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
|
||
|
<?php for ($i = 65; $i <= 90; $i++) {?>
|
||
|
<tr>
|
||
|
<td><?php echo chr($i); ?></td>
|
||
|
<td>
|
||
|
|
||
|
<?php
|
||
|
foreach ($cityList as $item)
|
||
|
{
|
||
|
if (substr($item->CII_Code, 0, 1) == chr($i))
|
||
|
{
|
||
|
?>
|
||
|
<a href="<?php echo site_url('city/' . $item->CII_SN); ?>"><?php echo $item->CII2_Name; ?></a> ,
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<?php } ?>
|
||
|
|
||
|
<?php
|
||
|
if (isset($seo_form_view))
|
||
|
{
|
||
|
echo $seo_form_view;
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|