infobless.html 2.26 KB
{template 'common/header'}
<div class="main">
    <ul class="nav nav-tabs">
        <li{if $_GPC['do'] == 'manager'} class="active"{/if}><a href="{php echo $this->createWebUrl('manager');}">喜帖管理</a>
        <li{if $_GPC['do'] == 'infolist'} class="active"{/if}><a href="{php echo $this->createWebUrl('infolist', array('sid'=>$sid));}">赴宴名单</a>
        <li{if $_GPC['do'] == 'infobless'} class="active"{/if}><a href="{php echo $this->createWebUrl('infobless', array('sid'=>$sid));}">收到祝福</a></li>
    </ul>
    <div class="panel panel-info">
        <div class="panel-heading">筛选</div>
        <div class="panel-body">
            <form action="./index.php" method="get" class="form-horizontal" role="form">
                <input type="hidden" name="c" value="site" />
                <input type="hidden" name="a" value="entry" />
                <input type="hidden" name="m" value="lxy_marry" />
                <input type="hidden" name="do" value="infobless" />
                <input type="hidden" name="sid" value="{$sid}" />
                <div class="form-group">
                    <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">姓名</label>
                    <div class="col-sm-8 col-lg-9">
                          <input class="form-control" name="keyword" id="" type="text" value="{$_GPC['keyword']}">
                    </div>
                     <div class=" col-xs-12 col-sm-2 col-lg-2">
                        <button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class="panel panel-default">
		<div class="panel-body table-responsive">
			<table class="table table-hover">
				<thead class="navbar-inner">
				<tr>
					<th style="width:100px;">姓名</th>
					<th style="width:100px;">电话</th>
					<th style="width:300px;">祝福留言</th>
				</tr>
				</thead>
				<tbody>
				{loop $list $item}
				<tr>
					<td>{$item['name']}</td>
					<td>{php echo $item['tel']}</td>
					<td>{$item['zhufu']}</td>
				</tr>
				{/loop}
				</tbody>
				<tr>
					<td colspan="3">
						<input name="token" type="hidden" value="{$_W['token']}" />
					</td>
				</tr>
			</table>
		</div>
    </div>
	{$pager}
</div>