< type="text/javascript">var loginID = 'oliviachen117';var blogUrl = 'onlyolivia';var bid = '3358194';$(document).ready(function() {getHot('history');});function getHot(hotType){$.ajax({type: "GET",url: "/_theme/HotArticleExp.php",data: "type="+hotType+"&bid="+bid,dataType: "json",success: function(json){$(".hotArticleSide").html('');for (var i = 0; i < json.length; i++) {var strLocation = location.href;if (strLocation.match("blog.xuite.net") != null) {$(".hotArticleSide").append('
' + json[i].title + '');}else {$(".hotArticleSide").append('
' + json[i].title + '');}}if( json.length == 0)$(".hotArticleSide").append('今天生意不好喲~~');else {$("#ah_loading").hide();}}});}
oliviachen117's 新回應
< language="javascript" type="text/javascript">document.write(g_sidebar.ItemMessageList);
< language="javascript">
$(document).ready(function(){
$.ajax({
type: "GET",
url: "/_theme/MessageListExp.php?bid=3358194&msg_list_nums=10&loginID=oliviachen117&url=onlyolivia&ga="+(new Date()).getTime(),
async: false,
dataType: 'json',
success: getMessageList
});
});
function getMessageList(json){
var messageSideContent = "";
if(json.length > 0){
for(var i=0;i< json.length;i++){
messageSideContent = messageSideContent + '';
}
$("#new-comment-list").html(messageSideContent);
}
}
< language="javascript" type="text/javascript">
$(document).ready(function(){
$.ajax({
type: "GET",
url: '/_theme/CountSideExp.php?bid=3358194&ga='+(new Date()).getTime(),
dataType: 'json',
success: getCountSide
});
});
function getCountSide(json){
$("div#todayHit").html("本日人氣: "+json.now_hit);
$("div#totalHit").html("累積人氣: "+json.all_hit);
}
< language="javascript" type="text/javascript">document.write(g_sidebar.ItemCounter);
< language="javascript" type="text/javascript">document.write(g_sidebar.ItemVisitor);