コード例 #1
0
ファイル: default.view.php プロジェクト: google2013/myqee
echo $static_url;
?>
weather_location@2x.png);}
.big-screen .calender-num span{background-image:url(<?php 
echo $static_url;
?>
weather_nums@2x.png);}
}
</style>
<div id="weather-and-calendar-div">
    <div id="weather-div">
        <div id="weather-show-div"></div>
        <div id="weather-setting-div" style="display:none;">
            <div style="padding:16px 25px 0 25px;"><h3 style="padding-bottom:10px">设置我的位置</h3>
            <?php 
echo Form::select(null, Weather::city_array_for_select(), '', array('id' => 'weather-select', 'style' => 'width:100%;'));
?>
            <input class="btn btn-success" type="button" id="weather-setting-ok" value="确定完成" style="width:100%;margin-bottom:8px;" /> <input style="width:100%;margin-bottom:8px;" class="btn" type="button" id="weather-setting-cancel" value="取消" /></div>
        </div>
    </div>
    <div id="calendar-div"></div>
</div>

<script type="text/javascript">
(function(){
var chinese_calendar = function(today)
{
    function DaysNumberofDate(DateGL)
    {
        return parseInt((Date.parse(DateGL)-Date.parse(DateGL.getFullYear()+"/1/1"))/86400000)+1;
    }