?>
分</li>
		<li>分享文章到腾讯微博:	<?php 
    echo weixin_robot_get_setting('weixin_ShareWeibo_credit');
    ?>
分</li>
		<li>每天最多:			<?php 
    echo weixin_robot_get_setting('weixin_day_credit_limit');
    ?>
分</li>
	</ul>
<?php 
} else {
    ?>
	<p><strong>你现在共有 <?php 
    echo weixin_robot_get_credit($weixin_openid);
    ?>
 积分</strong>:</p>
	<ul class="buttons">
		<li><a href="<?php 
    echo home_url('?weixin_user&profile&credit_rule=1');
    ?>
" class=button>查看积分规则</a></li>
		<li><a href="<?php 
    echo home_url('?weixin_user&profile&update=1');
    ?>
" class=button>修改个人资料</a></li>
	</ul>
	
	<p><strong>积分历史</strong>:</p>
	<table cellspacing="0" cellpadding="6" width="98%">
function weixin_robot_checkin_reply()
{
    if (isset($_GET['yixin'])) {
        global $wechatObj;
        echo sprintf($wechatObj->get_textTpl(), '易信不支持签到和积分系统。');
        $wechatObj->set_response('checkin');
        wpjam_do_weixin_custom_keyword();
    }
    global $wechatObj;
    $weixin_openid = $wechatObj->get_fromUsername();
    $credit_change = weixin_robot_daily_credit_checkin($weixin_openid);
    $credit = weixin_robot_get_credit($weixin_openid);
    if ($credit_change === false) {
        $checkin_reply = apply_filters('weixin_checkined', '你在24小时内已经签到过了。你现在共有[credit]积分!', $weixin_openid);
    } else {
        $checkin_reply = apply_filters('weixin_checkin_success', '签到成功,添加 [credit_change]积分。你现在共有[credit]积分!', $weixin_openid);
    }
    $checkin_reply = str_replace(array('[credit_change]', '[credit]'), array($credit_change, $credit), $checkin_reply);
    echo sprintf($wechatObj->get_textTpl(), $checkin_reply);
    $wechatObj->set_response('checkin');
    do_action('weixin_checkin', $credit_change);
}