<li class="list-group-item" id="mc-page-<?php echo $val['id']; ?> "> <div class="row"> <div class="col-sm-6 col-md-7 col-lg-8"> <div class="media"> <?php $author = mc_get_meta($val['id'], 'author', true); ?> <a class="pull-left img-div" href="<?php echo mc_get_url($author); ?> "> <img width="40" class="media-object" src="<?php echo mc_user_avatar($author); ?> " alt="<?php echo mc_user_display_name($author); ?> "> </a> <div class="media-body"> <h4 class="media-heading"> <a href="<?php echo mc_get_url($val['id']); ?> "><?php echo $val['title']; ?> </a>
if (mc_comment_count($page_id)) { ?> <?php foreach ($comment as $val) { ?> <div class="media" id="comment-<?php echo $val['id']; ?> "> <div class="media-left"> <a class="img-div img-circle" href="<?php echo U('user/index/index?id=' . $val['user_id']); ?> "> <img class="media-object" src="<?php echo mc_user_avatar($val['user_id']); ?> " alt="<?php echo mc_user_display_name($val['user_id']); ?> "> </a> </div> <div class="media-body"> <h4 class="media-heading"> <a href="<?php echo U('user/index/index?id=' . $val['user_id']); ?> "><?php echo mc_user_display_name($val['user_id']); ?>
<div class="row"> <div class="col-lg-12"> <div id="user-header" class="media" style="background-image: url(<?php if (mc_fmimg($_GET['id'])) { echo mc_fmimg($_GET['id']); } else { echo mc_theme_url() . '/img/user_bg.jpg'; } ?> );"> <a class="pull-left img-div" href="<?php echo U('user/index/index?id=' . $_GET['id']); ?> "> <img class="media-object" src="<?php echo mc_user_avatar($_GET['id']); ?> " alt="<?php echo mc_user_display_name($_GET['id']); ?> "> </a> <div class="media-body"> <h4 class="media-heading"> <?php echo mc_user_display_name($_GET['id']); ?> <?php echo mc_guanzhu_btn($_GET['id']); ?>
不修改密码无需填写,请务必牢记您的密码 </p> </div> <div class="form-group"> <label> 头像 </label> <div class="row"> <div class="col-sm-2" id="pub-logoadd"> <img class="default-img" src="<?php echo mc_user_avatar(mc_user_id()); ?> "> <input type="hidden" name="user_avatar" id="pub-input2" value="<?php if (mc_user_avatar(mc_user_id())) { echo mc_user_avatar(mc_user_id()); } else { echo mc_theme_url(); ?> /img/avatar.png<?php } ?> "> <input type="file" id="picfile" onchange="readFile(this,2)" /> </div> </div> <p class="help-block"> 点击上传新头像 </p> </div><script> function readFile(obj,id){