Example #1
0
<?php

use blog\components\StaticService;
use blog\components\UrlService;
use common\components\DataHelper;
StaticService::includeAppCssStatic("/css/wap/wechat_wall/sign.css", \blog\assets\MarketAsset::className());
StaticService::includeAppJsStatic("http://res.wx.qq.com/open/js/jweixin-1.0.0.js", \blog\assets\MarketAsset::className());
StaticService::includeAppJsStatic("/js/wap/wechat_wall/sign.js", \blog\assets\MarketAsset::className());
?>
<div class="user_info">
    <p><img src="<?php 
echo $user_info['avatar'];
?>
" alt="" /></p>
    <p><?php 
echo DataHelper::encode($user_info['nickname']);
?>
</p>
</div>
<div class="checkin_info">
    <p class="t1">恭喜您上墙成功!</p>
    <p class="t2">关闭本页面直接发送“<span style="font-weight: bold;color: #ff0000;font-size: large;">#消息内容</span>”即可参与互动哦!</p>
</div>
<a href="javascript:void(0)" id="close_checkin_window" class="button">关闭本页面</a>

<input type="hidden" name="can_award_user" value="">
Example #2
0
<?php

use blog\assets\MarketAsset;
use blog\components\UrlService;
use blog\components\StaticService;
use common\components\DataHelper;
use common\service\GlobalUrlService;
MarketAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no" searchtype="map">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="shortcut icon" href="<?php 
echo GlobalUrlService::buildStaticUrl("/images/icon.png");
?>
">
    <link rel="icon" href="<?php 
echo GlobalUrlService::buildStaticUrl("/images/icon.png");
?>
">
    <title><?php 
echo DataHelper::encode($this->title);
?>
</title>
    <?php