2013-03-15 04:16:07 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('我的账户');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
?>
|
2013-04-07 08:41:10 +00:00
|
|
|
|
<div class="row">
|
2013-03-15 04:16:07 +00:00
|
|
|
|
<div class="span3">
|
|
|
|
|
<div class="well sidebar-nav">
|
|
|
|
|
<?= $this->partial('account/left.phtml'); ?>
|
|
|
|
|
</div><!--/.well -->
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
<div class="span9">
|
|
|
|
|
<h3>修改账户信息</h3>
|
|
|
|
|
<hr />
|
|
|
|
|
<?php if(!empty($this->msg)) { ?>
|
|
|
|
|
<?php if(!empty($this->jump_url)) {?>
|
|
|
|
|
<div class="alert <?= $this->AlertType;?>">
|
|
|
|
|
<a data-dismiss="alert" class="close">×</a>
|
|
|
|
|
<?php echo $this->msg ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php if(!empty($this->jump_url)) { ?>
|
|
|
|
|
<br /><a href="<?= $this->jump_url ?>">如果页面没有自动跳转请点击这里</a>
|
|
|
|
|
<script language="javascript">setTimeout("self.location='<?php echo $this->jump_url ?>'",3000);</script>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php }else{?>
|
|
|
|
|
<?php if(!empty($this->error)) { ?>
|
|
|
|
|
<div class="alert alert-block alert-error fade in" id="Alert-error-box">
|
|
|
|
|
<a class="close" data-dismiss="alert" href="#">×</a>
|
|
|
|
|
<?php if(!is_array($this->error)) { ?><h4 class="alert-heading"><?= $this->error ?></h4><?php } else { ?>
|
|
|
|
|
<ul>
|
|
|
|
|
<?php foreach($this->error as $v) { ?>
|
|
|
|
|
<li><?= $v ?></li>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</ul>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<form action="/account/edit" method="post" class="form-horizontal">
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">头像</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<img src="<?= $this->avatar ?>" class="img-polaroid">
|
2018-05-12 07:42:11 +00:00
|
|
|
|
<span class="help-inline">您的头像信息使用<a href="https://cn.gravatar.com/">Gravatar</a>头像信息<br />请使用时空三极环境大数据平台注册的Email账号在<a href="https://cn.gravatar.com/">Gravatar</a>网站设置头像<br />设置好头像后重新登录网站即可更新头像</span>
|
2013-03-15 04:16:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">真实姓名</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="text" name="realname" value="<?php echo empty($this->info['realname']) ? "":$this->info['realname']; ?>" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">工作单位</label>
|
|
|
|
|
<div class="controls">
|
2013-12-26 13:33:29 +00:00
|
|
|
|
<input type="text" name="unit" value="<?php echo empty($this->info['unit']) ? "":$this->info['unit']; ?>" class="input-block-level" />
|
2013-03-15 04:16:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">联系地址</label>
|
|
|
|
|
<div class="controls">
|
2013-12-26 13:33:29 +00:00
|
|
|
|
<input type="text" name="address" value="<?php echo empty($this->info['address']) ? "":$this->info['address']; ?>" class="input-block-level" />
|
2013-03-15 04:16:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">联系电话</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="text" name="phone" value="<?php echo empty($this->info['phone']) ? "":$this->info['phone']; ?>" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">邮编</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="text" name="postcode" value="<?php echo empty($this->info['postcode']) ? "":$this->info['postcode']; ?>" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">项目类型</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<select id="project_type" name="project_type">
|
|
|
|
|
<?php if(!empty($this->projectType)) { ?>
|
|
|
|
|
<?php foreach($this->projectType as $k=>$v) { ?>
|
|
|
|
|
<?php if(empty($this->info['project_type'])) {?>
|
|
|
|
|
<?php if($v == "") { ?>
|
|
|
|
|
<option value="<?= $v ?>" selected="selected"><?= $k ?></option>
|
|
|
|
|
<?php }else { ?>
|
|
|
|
|
<option value="<?= $v ?>"><?= $k ?></option>
|
|
|
|
|
<?php }
|
|
|
|
|
} else {?>
|
|
|
|
|
<?php if($v == $this->info['project_type']) { ?>
|
|
|
|
|
<option value="<?= $v ?>" selected="selected"><?= $k ?></option>
|
|
|
|
|
<?php }else { ?>
|
|
|
|
|
<option value="<?= $v ?>"><?= $k ?></option>
|
|
|
|
|
<?php }
|
|
|
|
|
}?>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">项目编号</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="text" name="project_id" value="<?php echo empty($this->info['project_id']) ? "":$this->info['project_id']; ?>" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">项目名称</label>
|
|
|
|
|
<div class="controls">
|
2013-12-26 13:33:29 +00:00
|
|
|
|
<input type="text" name="project_title" value="<?php echo empty($this->info['project_title']) ? "":$this->info['project_title']; ?>" class="input-block-level" />
|
2013-03-15 04:16:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group ">
|
|
|
|
|
<label class="control-label">项目简介</label>
|
|
|
|
|
<div class="controls">
|
2013-12-26 13:33:29 +00:00
|
|
|
|
<textarea name="project" class="input-block-level"><?php echo empty($this->info['project']) ? "":$this->info['project']; ?></textarea>
|
2013-03-15 04:16:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<input type="hidden" name="submit" value="submit" />
|
|
|
|
|
<button type="submit" class="btn btn-primary">确定</button>
|
|
|
|
|
<button type="button" class="btn">取消</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
</div><!--/row-->
|