PageSourceSearch

https://www.rhinotuning.com/static/themes/default/blog/default/js/blog.js?v=54.0243

js rhinotuning.com collected 2026-10-04 01:58:43 UTC 7,563 bytes, 214 lines download raw bytes

1/*
2Powered by ueeshop.com		http://www.ueeshop.com
3广州联雅网络科技有限公司		020-83226791
4*/
5$(function(){
6	$('#b_header .rightbar .menu').on('touchend',function(){
7		$(this).parent().toggleClass('current');
8	});
9	if($('#blog_list').size()){
10		//列表加载
11		var page=1;
12		var loading=0;
13		var load_list=function(){
14			if(!loading){
15				loading=1;
16				$.get('?', 'do_action=action.blog_list_loading&date='+date+'&Keyword='+Keyword+'&CateId='+CateId+'&Tags='+Tags+'&page='+page, function(data){
17					if(data.ret=1){
18						var html='';
19						for(var key in data.msg[0]){
20							html+='<div class="container">';
21								html+='<div class="item">';
22									html+='<div class="para">By '+data.msg[0][key].Author+' | <span>'+data.msg[0][key].Day+'</span> '+data.msg[0][key].YearMonth+' | <span>'+data.msg[0][key].Comments+'</span> Comments</div>';
23									html+='<h2><a href="'+data.msg[0][key].Url+'" target="_blank">'+data.msg[0][key].Title+'</a></h2>';
24									html+='<div class="bg"></div>';
25									html+='<div class="con">'+data.msg[0][key].BriefDescription+'</div>';
26									if(data.msg[0][key].PicPath){
27										html+='<div class="img"><img src="'+data.msg[0][key].PicPath+'" /></div>';
28									}
29									html+='<div class="line"></div>';
30									html+='<a href="'+data.msg[0][key].Url+'" target="_blank" class="read">READ MORE</a>';
31								html+='</div>';
32							html+='</div>';
33							html+='<div class="spacing"></div>';
34						}
35						if(!data.msg[0].length && page==1){	//没有内容
36							html+='<div class="container">';
37								html+='<div class="item">';
38									html+='<div class="con">No Data!</div>';
39								html+='</div>';
40							html+='</div>';
41						}
42						$('#blog_list').append(html);
43						if(data.msg[2]==data.msg[3] || (!data.msg[0].length && page==1)) $('.blog_list_more').remove();
44						page++;
45					}
46					loading=0;
47				}, 'json');
48				
49			}
50		}
51		load_list();
52		$('.blog_list_more').click(function(){load_list();});
53	}
54	//评论加载
55	if($('.review_content').size()){
56		var review_page=1;
57		var review_loading=0;
58		var load_review=function(){
59			if(!review_loading){
60				review_loading=1;
61				$.post('?', 'do_action=action.blog_review_loading&AId='+$('input[name=AId]').val()+'&page='+review_page, function(data){
62					if(data.ret==1){
63						var html='';
64						for(var key in data.msg[0]){
65							html+='<div class="name">'+data.msg[0][key].Name+'</div>';
66							html+='<div class="box">';
67								html+='<div class="txt">'+data.msg[0][key].Content+'</div>';
68								if(data.msg[0][key]['Reply']){
69									html+='<div class="blank6"></div>';
70									html+='<div class="txt"><span>Re:</span>'+data.msg[0][key]['Reply']+'</div>';	
71								}
72								html+='<div class="date">'+data.msg[0][key].AccTime+'</div>';
73							html+='</div>';
74						}
75						$('.review_content').append(html);
76						if(data.msg[2]==data.msg[3]) $('.review .more').remove();
77						review_page++;
78					}
79					review_loading=0;
80				}, 'json');
81			}	
82		}
83		load_review();
84		$('.review .more').click(function(){load_review();});
85	}
86	$('.form form').submit(function(){return false;});
87	$('.form input:submit').click(function(){
88		if(global_obj.check_form($('*[notnull]'), $('*[format]'))){return false;};
89		$('.form input:submit').attr('disabled', true);
90        if(!$('.form .ver_code').hasClass('completed')){
91            global_obj.new_win_alert(lang_obj.verification.ver_error);
92            return false;
93        }
94		$.post('?', $('.form form').serializeArray(), function(data){
95			if (data.ret!=1){
96				$('.form input:submit').removeAttr('disabled');
97				global_obj.new_win_alert(data.msg);
98			}else{
99				global_obj.new_win_alert(data.msg, function(){
100					window.location=window.location.href;
101				}, '', undefined, '');
102			}
103		}, 'json');
104	});
105	$('.share_toolbox .share_s_btn').on('click', function(){//分享
106		var $obj=$('.share_toolbox');
107		if(!$(this).hasClass('share_s_more')){
108			$(this).shareThis($(this).attr('data'), $obj.attr('data-title'), $obj.attr('data-url'));
109		}
110	});
111})
112
113//分享插件
114$.fn.shareThis=function(type, title, url){
115	var image=back_url=encode_url="";
116	if(url==undefined){
117		url=window.location.href;
118	}
119	if(url.indexOf("#")>0){
120		url=url.substring(0, url.indexOf("#"));
121	}
122	if(type=="pinterest" && $(".container .con img:eq(0)").length){
123		image=$(".container .con img:eq(0)").attr("src");
124		if(image.indexOf('ueeshop.ly200-cdn.com')!=-1){
125			image=$(".container .con img:eq(0)").attr("src");
126		}else{
127			image=window.location.protocol+'//'+window.location.host+$(".container .con img:eq(0)").attr("src");
128		}
129	}
130	if(image!="" && image!=undefined){
131		image=encodeURIComponent(image);
132	}
133	e_url=encodeURIComponent(url);
134	title=encodeURIComponent(title);
135	switch(type){
136		case "delicious":
137			back_url = "https://delicious.com/post?title=" + title + "&url=" + e_url;
138			break;
139		case "digg":
140			back_url = "http://digg.com/submit?phase=2&url=" + e_url + "&title=" + title + "&bodytext=&topic=tech_deals";
141			break;
142		case "reddit":
143			back_url = "http://reddit.com/submit?url=" + e_url + "&title=" + title;
144			break;
145		case "furl":
146			back_url = "http://www.furl.net/savedialog.jsp?t=" + title + "&u=" + e_url;
147			break;
148		case "rawsugar":
149			back_url = "http://www.rawsugar.com/home/extensiontagit/?turl=" + e_url + "&tttl=" + title;
150			break;
151		case "stumbleupon":
152			back_url = "http://www.stumbleupon.com/submit?url=" + e_url + "&title=" + title;
153			break;
154		case "blogmarks":
155			break;
156		case "facebook":
157			back_url = "http://www.facebook.com/share.php?src=bm&v=4&u=" + e_url + "&t=" + title;
158			break;
159		case "technorati":
160			back_url = "http://technorati.com/faves?sub=favthis&add=" + e_url;
161			break;
162		case "spurl":
163			back_url = "http://www.spurl.net/spurl.php?v=3&title=" + title + "&url=" + e_url;
164			break;
165		case "simpy":
166			back_url = "http://www.simpy.com/simpy/LinkAdd.do?title=" + title + "&href=" + e_url;
167			break;
168		case "ask":
169			break;
170		case "google":
171			back_url = "http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=" + e_url + "&title=" + title;
172			break;
173		case "netscape":
174			back_url = "http://www.netscape.com/submit/?U=" + e_url + "&T=" + title + "&C=";
175			break;
176		case "slashdot":
177			back_url = "http://slashdot.org/bookmark.pl?url=" + url + "&title=" + title;
178			break;
179		case "backflip":
180			back_url = "http://www.backflip.com/add_page_pop.ihtml?title=" + title + "&url=" + e_url;
181			break;
182		case "bluedot":
183			back_url = "http://bluedot.us/Authoring.aspx?u=" + e_url + "&t=" + title;
184			break;
185		case "kaboodle":
186			back_url = "http://www.kaboodle.com/za/selectpage?p_pop=false&pa=url&u=" + e_url;
187			break;
188		case "squidoo":
189			back_url = "http://www.squidoo.com/lensmaster/bookmark?" + e_url;
190			break;
191		case "twitter":
192			back_url = "https://twitter.com/intent/tweet?status=" + title + ":+" + e_url;
193			break;
194		case "pinterest":
195			back_url = "http://pinterest.com/pin/create/button/?url=" + e_url + "&media=" + image + "&description=" + title;
196			break;
197		case "vk":
198			back_url = "http://vk.com/share.php?url=" + url;
199			break;
200		case "bluedot":
201			back_url = "http://blinkbits.com/bookmarklets/save.php?v=1&source_url=" + e_url + "&title=" + title;
202			break;
203		case "blinkList":
204			back_url = "http://blinkbits.com/bookmarklets/save.php?v=1&source_url=" + e_url + "&title=" + title;
205			break;
206		case "linkedin":
207			back_url = "http://www.linkedin.com/cws/share?url=" + e_url + "&title=" + title;
208			break;
209		case "googleplus":
210			back_url = "https://plus.google.com/share?url=" + e_url;
211			break;
212	}
213	window.open(back_url, "bookmarkWindow");
214}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.