Ejemplo n.º 1
0
				<div class="form-group">
					<label>
							封面图片
					</label>
					<div id="pub-imgadd">
						<img class="default-img" src="<?php 
if (mc_fmimg($_GET['id'])) {
    echo mc_fmimg($_GET['id']);
} else {
    echo mc_theme_url() . '/img/upload.jpg';
}
?>
">
						<input type="hidden" name="fmimg" value="<?php 
if (mc_fmimg($_GET['id'])) {
    echo mc_fmimg($_GET['id']);
} else {
    echo mc_theme_url() . '/img/upload.jpg';
}
?>
">
					</div>
				</div>
			</div>
			</form>
		</div>
	</div>
	<script charset="utf-8" src="<?php 
echo mc_site_url();
?>
/Kindeditor/kindeditor-min.js"></script>
Ejemplo n.º 2
0
					</li>
					<?php 
}
?>
					<div class="clearfix"></div>
				</ol>
				<div id="article-list">
					<?php 
foreach ($page as $val) {
    ?>
							<div class="thumbnail">
								<a href="<?php 
    echo mc_get_url($val['id']);
    ?>
" class="img-div"><img src="<?php 
    echo mc_fmimg($val['id']);
    ?>
" alt="<?php 
    echo $val['title'];
    ?>
"></a>
								<div class="caption">
									<h3 class="mt-0">
										<a href="<?php 
    echo mc_get_url($val['id']);
    ?>
"><?php 
    echo $val['title'];
    ?>
</a>
									</h3>
Ejemplo n.º 3
0
foreach ($page as $val) {
    ?>
	<?php 
    $author = mc_author_id($val['id']);
    $group_id = mc_get_meta($val['id'], 'group');
    ?>
	<header id="group-head" class="hidden-xs">
		<div class="container">
			<div class="row">
				<div class="col-sm-8">
					<h1>
						<a id="logo" class="pull-left img-div" href="<?php 
    echo mc_get_url(mc_get_meta($val['id'], 'group'));
    ?>
"><img src="<?php 
    echo mc_fmimg(mc_get_meta($val['id'], 'group'));
    ?>
"></a>
						<a href="<?php 
    echo U('post/group/single?id=' . mc_get_meta($val['id'], 'group'));
    ?>
" class="pull-left title"><?php 
    echo mc_get_page_field(mc_get_meta($val['id'], 'group'), 'title');
    ?>
</a>
					</h1>
				</div>
				<div class="col-sm-4">
					
				</div>
			</div>
Ejemplo n.º 4
0
">
				            </div>
				        </div>
				        <p class="help-block">
				            点击上传新头像
				        </p>
				    </div>
				    <div class="form-group">
				        <label>
				            个人空间背景
				        </label>
				        <div class="row" id="pub-imgadd2">
				            <div class="col-sm-6" id="pub-imgadd-btn2">
				                <img class="default-img" src="<?php 
if (mc_fmimg(mc_user_id())) {
    echo mc_fmimg(mc_user_id());
} else {
    echo mc_theme_url() . '/img/user_bg.jpg';
}
?>
">
				            </div>
				        </div>
				        <p class="help-block">
				            点击更换个人空间头部背景
				        </p>
				    </div>
				    <div class="form-group">
				        <label>
				            签名
				        </label>
Ejemplo n.º 5
0
            }
            ?>
								<?php 
        } elseif ($key == 'perform') {
            ?>
									<?php 
            if ($value == 'xihuan' || $value == 'shoucang') {
                ?>
										<?php 
                if ($type == 'pro') {
                    ?>
										<p><a href="<?php 
                    echo mc_get_url($page_id);
                    ?>
"><img src="<?php 
                    echo mc_fmimg($page_id);
                    ?>
"</a></p>
										<?php 
                } else {
                    ?>
										<p><?php 
                    echo mc_cut_str(strip_tags(mc_magic_out(mc_get_page_field($page_id, 'content'))), 250);
                    ?>
</p>
										<?php 
                }
                ?>
									<?php 
            }
            ?>