Since we were born as a little baby, we get help from others all the time. Our parents raise us, our teachers teach us and our friends company us. Therefore, it’s important for us to be grateful to those people who give us a hand. Being grateful is a way to show them our appreciation and our love. No one in the world is supposed to love us without any conditions. Moreover, Being grateful to others and to what you get can lead you are ready to help others, too. I think this is the most important impact on people that being grateful. If we are all show our appreciation to others and then help others, we could build a friendly and harmonious society.
"; // 获取打印内容 var newstr=document.all.item(printpage).innerHTML; var oldstr=document.body.innerHTML; // 打印预览和选择打印区域 document.body.innerHTML=headstr+newstr+footstr; window.print(); // 恢复原来的页面内容 document.body.innerHTML=oldstr; } //顶 function checkTop(flag,url){ jQuery.ajax({ url:url, success:function(data){ if(data == 1){//可以顶 if(flag == 1){//顶 if(jQuery("#showlab").length>0){ var preNum = parseInt(jQuery("#showlab").html()); jQuery("#showlab").html(preNum+1); } } else if(flag == 2){ if(jQuery("#steponlab").length>0){ var preNum = parseInt(jQuery("#steponlab").html()); jQuery("#steponlab").html(preNum+1); } } } else if(data == 0){//顶过了 alert('你已经投过票了,请不要重复投票'); } } }); } function setTop(productId, auditLevel) { /** * 1 取出cookie_id的值 * 2 判断key = productId的这个cookie是否存在 * 3 比较两个值是否相等 */ if (auditLevel != 1 && auditLevel != 20) { return; } var productIdValue = getCookie2008_1(productId); var cookieIdValue = getCookie2008_1("cookie_id"); if (cookieIdValue == null) { alert("\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301cookie\u529f\u80fd,\u8bf7\u786e\u8ba4!"); return; } var url = "/jsp_cn/jquery/end/update_message.jsp?pid=" + productId + "&flag=top_new&date=" + new Date().getTime(); if (productIdValue == null || productIdValue == "") { //没有顶过 setCookie2008_1(productId, cookieIdValue, 60 * 24 * 365); checkTop(1,url); //jQuery("#a5").load(url); } else { if (productIdValue != cookieIdValue) { //该用户没有顶过 setCookie2008_1(productId, cookieIdValue, 60 * 24 * 365); checkTop(1,url); } else { alert("\u4f60\u5df2\u7ecf\u6295\u8fc7\u7968\u4e86\uff0c\u8bf7\u4e0d\u8981\u91cd\u590d\u6295\u7968"); } } shareEvent(productId, 14); } //踩 function setStepon(productId, auditLevel) { if (auditLevel != 1 && auditLevel != 20) { return; } var productIdValue = getCookie2008_1(productId); var cookieIdValue = getCookie2008_1("cookie_id"); if (cookieIdValue == null) { alert("\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301cookie\u529f\u80fd,\u8bf7\u786e\u8ba4!"); return; } var url = "/jsp_cn/jquery/end/update_message.jsp?pid=" + productId + "&flag=stepon_new&date=" + new Date().getTime(); if (productIdValue == null) { //没有顶过 setCookie2008_1(productId, cookieIdValue, 60 * 24 * 365); checkTop(2,url); //jQuery("#a5").load(url); } else { if (productIdValue != cookieIdValue) { //该用户没有顶过 setCookie2008_1(productId, cookieIdValue, 60 * 24 * 365); checkTop(2,url); //jQuery("#a5").load(url); } else { alert("\u4f60\u5df2\u7ecf\u6295\u8fc7\u7968\u4e86\uff0c\u8bf7\u4e0d\u8981\u91cd\u590d\u6295\u7968"); } } } function shareEvent(id,type){ var url = "/app/my/docin/share?id=" + id + "&type=" + type; jQuery("#a5").load(url); } //广告代码 docin_adload('62','view_adv_1'); docin_adload('63','view_adv_2'); //docin_adload('64','view_adv_3'); //docin_adload('65','view_adv_4'); docin_adload('66','view_adv_5'); docin_adload('146','view_adv_6'); docin_adload('68','view_adv_7'); //docin_adload('69','view_adv_8'); //docin_adload('70','adv_title_left');