westdc-zf1/application/admin/views/scripts/user/up.phtml

55 lines
2.1 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin/">后台首页</a>');
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="hidden-sm hidden-xs col-md-2">
<?= $this->partial('user/left.phtml'); ?>
</div>
<div class="col-md-10 col-sm-12">
<?php if ($this->msg or $this->messages) :?>
<div id="message" class="alert alert-info">
<?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<p><?php echo $msg; ?></p>
<?php endforeach;endif; ?>
</div>
<?php endif; ?>
<div class="form-group">
<form method="post" class="form-horizontal">
<input type="hidden" name="id" value="<?php echo $this->infos['id']; ?>" />
<input type="hidden" name="submit" value="1" />
<div class="form-group">
<label class="col-md-2 col-sm-2 col-xs-3 control-label">姓名</label>
<div class="col-md-7 col-sm-7 col-xs-6">
<p class="form-control-static"><?php echo $this->infos['realname']; ?></p>
</div>
</div>
<div class="form-group">
<label class="col-md-2 col-sm-2 col-xs-3 control-label">单位</label>
<div class="col-md-7 col-sm-7 col-xs-6">
<p class="form-control-static"><?php echo $this->infos['unit']; ?></p>
</div>
</div>
<div class="form-group">
<label class="col-md-2 col-sm-2 col-xs-3 control-label">专长</label>
<div class="col-md-7 col-sm-7 col-xs-6">
<textarea name="speciality" class="form-control" rows="4" ></textarea>
</div>
</div>
<div class="form-group">
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="submit" value="提交" class="btn btn-primary pull-right" />
</div>
</div>
</form>
</div>
</div>
</div>