Exemplo n.º 1
0
<div class="page-header">
	<h1><?php 
echo $group['name'];
?>
</h1>
</div>

<div class="content">
	<div class="alert-message block-message warning">
		<a class="close" href="#"></a>
		<?php 
echo $group['logo'];
?>

		<?php 
echo YiicmsHelper::CMarkdown($group->intro);
?>

		<div class="cdate">创建于 <?php 
echo YiicmsHelper::friendlyDate('m-d H:i', $group['ctime']);
?>
</div>
		<div class="member_op clearfix"> 
			<?php 
if ($this->module->isGroupMember) {
    ?>
				我是这个小组的成员 
				<?php 
    echo CHtml::link('> 退出小组', array('group/quit', 'gid' => $group['id']), array('class' => 'a_confirm_link', 'data-title' => '真的要退出小组吗?'));
    ?>
			<?php 
Exemplo n.º 2
0
 
							<a href="<?php 
        echo $this->createUrl('/space/index', array('uid' => $topic['uid']));
        ?>
"  class="tips">
								<?php 
        echo $post->user->getUserName();
        ?>
							</a>
						</h4>
						<div id="comment_<?php 
        echo $post['id'];
        ?>
" class="">
	                    <?php 
        echo YiicmsHelper::CMarkdown($post->content);
        ?>
						</div>
						<textarea id="comment_txt_<?php 
        echo $topic['id'];
        ?>
" style="display:none;">子非鱼,焉知鱼之乐。</textarea>
						<div id="operate_<?php 
        echo $topic['id'];
        ?>
" class="operate">
							<?php 
        if ($topic['lock'] == 1 || empty($actor_level) || 1) {
            ?>
   <?php 
        } else {
Exemplo n.º 3
0
if (!empty($month)) {
    $model = $month;
    $items = '';
    $pre = 'month';
    ?>
	<dt><span class="label important">每月运程</span> <?php 
    #if(empty($month)) echo '暂无'; else  $this->widget('WStarRating',array('object_type'=>'astro_month','object_id'=>$month->primaryKey));
    ?>
</dt>
	<dd>
		<div id="month-tabs">
		<?php 
    $arr = array('sum_content' => '总体', 'money_content' => '财运', 'love_content' => '恋爱', 'relax_way' => '放松方式', 'luck_way' => '幸运星');
    foreach ($arr as $attr => $title) {
        $star_attr = str_replace('_content', '', $attr);
        $content = YiicmsHelper::CMarkdown($model->{$attr});
        $item = array('title' => $title, 'id' => $pre . '_' . $attr, 'content' => $content);
        $items[$title] = $item;
    }
    $this->widget('BootTabs', array('type' => 'tabs', 'tabs' => $items));
    ?>
		</div>
	</dd>
	<?php 
}
?>
</dl>
</div>

<div class="sidebar">
	<?php