爱上海

英语作文:My friend

爱上海小学英语作文:My good friend is Tommy. He is shorter and thinner than me. He’s good at basketball and he likes to eat meat. He likes to play games, too!He is very generous. And sometimes he shares some food with me and lends me some books. He is very strong. He lives in Xiangshan so he is good at swimming. He sometimes doesn’t do his homework after class so he has to do his homework in the evening. We are friends so I accompany him to do it. We get along well though we sometimes fight each other. We are a good pair of friends.

爱上海

"; var footstr=" "; // 获取打印内容 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');