生肖信息维护
parent
7ce925b753
commit
41ce2300e8
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (!defined('BASEPATH'))
|
||||||
|
exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class China_zodiac extends CI_Controller {
|
||||||
|
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
# code...
|
||||||
|
}
|
||||||
|
|
||||||
|
public function edit_zodiac($zodiac)
|
||||||
|
{
|
||||||
|
$this->load->view('zodiac_edit');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,78 @@
|
|||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span2">
|
||||||
|
|
||||||
|
<?php echo $nav_view; ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="span10" style="padding-right:20px;">
|
||||||
|
<?php if(!empty($un_active_list)){ ?>
|
||||||
|
<legend>待审核作者</legend>
|
||||||
|
<table class="table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="span1">用户ID</th>
|
||||||
|
<th class="span2">名字</th>
|
||||||
|
<th class="span2">中文名</th>
|
||||||
|
<th class="span1">性别</th>
|
||||||
|
<th class="span2">邮箱</th>
|
||||||
|
<th class="span2">注册时间</th>
|
||||||
|
<th class="span1">站点</th>
|
||||||
|
<th class="span1">操作</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php foreach($un_active_list as $a){ ?>
|
||||||
|
<tr class="info">
|
||||||
|
<td><?php echo $a->a_id; ?></td>
|
||||||
|
<td><?php echo $a->a_name; ?></td>
|
||||||
|
<td><?php echo $a->a_name_cn; ?></td>
|
||||||
|
<td><?php echo $a->a_gender; ?></td>
|
||||||
|
<td><a href="mailto:<?php echo $a->a_email; ?>"><?php echo $a->a_email; ?></a></td>
|
||||||
|
<td><?php echo date('m/d/Y',strtotime($a->a_datetime)); ?></td>
|
||||||
|
<td><?php echo $a->a_sitecode; ?></td>
|
||||||
|
<td><a href="<?php echo site_url('author/edit_author/'.$a->a_id); ?>">查看</a></td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<?php } ?>
|
||||||
|
<legend>已审核作者</legend>
|
||||||
|
<table class="table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="span1">用户ID</th>
|
||||||
|
<th class="span2">名字</th>
|
||||||
|
<th class="span2">中文名</th>
|
||||||
|
<th class="span1">性别</th>
|
||||||
|
<th class="span2">邮箱</th>
|
||||||
|
<th class="span2">注册时间</th>
|
||||||
|
<th class="span1">站点</th>
|
||||||
|
<th class="span1">操作</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php foreach($author_list as $author){ ?>
|
||||||
|
<tr>
|
||||||
|
<td><?php echo $author->a_id; ?></td>
|
||||||
|
<td><?php echo $author->a_name; ?></td>
|
||||||
|
<td><?php echo $author->a_name_cn; ?></td>
|
||||||
|
<td><?php echo $author->a_gender; ?></td>
|
||||||
|
<td><a href="mailto:<?php echo $author->a_email; ?>"><?php echo $author->a_email; ?></a></td>
|
||||||
|
<td><?php echo date('m/d/Y',strtotime($author->a_datetime)); ?></td>
|
||||||
|
<td><?php echo $author->a_sitecode; ?></td>
|
||||||
|
<td><a href="<?php echo site_url('author/edit_author/'.$author->a_id); ?>">查看</a></td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue