From 3fb646e14af3523bd24829ecb1befba8d4911edc Mon Sep 17 00:00:00 2001
From: dabai <dabai@yazhai.co>
Date: Mon, 19 Oct 2020 14:55:13 +0800
Subject: [PATCH] 自动下载 lala52 53渠道 增加统计

---
 download.html   |   4 ++++
 download52.html | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 download53.html | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 364 insertions(+)
 create mode 100644 download52.html
 create mode 100644 download53.html

diff --git a/download.html b/download.html
index b57861b..4dfffc3 100644
--- a/download.html
+++ b/download.html
@@ -24,6 +24,10 @@
     	
     	if(url_get_params2().icid.indexOf('lala51')>-1){
     		window.location.href = 'download51.html'+location.search;
+    	} else if(url_get_params2().icid.indexOf('lala52')>-1){
+    		window.location.href = 'download52.html'+location.search;
+    	} else if(url_get_params2().icid.indexOf('lala53')>-1){
+    		window.location.href = 'download53.html'+location.search;
     	}
     	function url_get_params2() {
 				var url = location.href;
diff --git a/download52.html b/download52.html
new file mode 100644
index 0000000..e4e636c
--- /dev/null
+++ b/download52.html
@@ -0,0 +1,180 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
+	<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176823854-4"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-176823854-4');
+</script>
+   <meta charset="UTF-8">
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="keywords" content="foot fetish,foot worship,foot tickle,Foot Seen,Video streaming">
+    <meta name="description" content="">
+    <meta content="telephone=no" name="format-detection">
+    <meta name="wap-font-scale" content="no">
+    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+		<meta content="telephone=no" name="format-detection">
+    <script src="https://www.footseen.com/js/fsize.js"></script>
+    <link rel="stylesheet" href="https://www.footseen.com/css/swiper.min.css">
+    <link rel="stylesheet" href="https://www.footseen.com/css/base2.css">
+    <link rel="stylesheet" href="https://www.footseen.com/css/inedx.css">
+    <link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
+    <title>Foot Seen</title>
+</head>
+<body>
+	<div class="main">
+		<span class="langTitle"><img src="https://www.footseen.com/img/down2.png"/><font></font></span>
+		<div class="langList">
+			<p data-lang="2">繁體中文</p>
+			<p data-lang="1">English</p>
+			<p data-lang="7">العربية</p>
+		</div>
+		<img src="https://www.footseen.com/img/logo.png" class="logo" />
+		<a class="topUp"></a>
+		<div id="iosDown" class="iosDown heartbeat"></div>
+		<img src="https://www.footseen.com/img/live.png" class="live" />
+		<div class="swiper-container hide">
+			<div class="swiper-wrapper">
+				<div class="swiper-slide">
+					<img src="https://www.footseen.com/img/img1_cn.png"/>
+				</div>
+				<div class="swiper-slide">
+					<img src="https://www.footseen.com/img/img2_cn.png"/>
+				</div>
+				<div class="swiper-slide">
+					<img src="https://www.footseen.com/img/img3_cn.png"/>
+				</div>
+			</div>
+			<div class="swiper-pagination"></div>
+		</div>
+	</div>
+</body>
+<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script>
+<script src="https://www.footseen.com/js/swiper.min.js"></script>
+<script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202003301517" ></script>
+<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script>
+
+<script type="text/javascript">
+
+			function url_get_params() {
+			var url = location.href;
+			var theRequest = new Object();
+			if(url.indexOf("?") != -1) {
+				var str = url.substr(url.indexOf("?") + 1);
+				strs = str.split("&");
+				for(var i = 0; i < strs.length; i++) {
+					theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
+				}
+			}
+			return theRequest;
+		}
+			
+		if( url_get_params().icid!=undefined){
+			var params = url_get_params().icid.replace(/(^\s*)|(\s*$)/g, "");
+		} else {
+			var params = '';
+		}
+		
+		var iosData = '';
+		var andoridData = '';
+		if(params != undefined && params.length>0){		
+			//定义设备号
+			if(params.substring(0,3) == 'ios'){
+				iosData = params;
+				andoridData = params.substring(3,params.length);
+			} else {
+				iosData = 'ios'+params;
+				andoridData = params;
+			}
+		} else {
+			iosData = 'iosfts';
+			andoridData = 'fts';
+		}
+		
+		console.log(iosData,andoridData)
+		var ua = window.navigator.userAgent.toLowerCase();
+		if(/iphone|ipad|ipod/.test(ua)){
+			var data = {
+				icid:iosData
+			}
+			if(iosData.indexOf('iosftscps')>-1){
+				new OpenInstall({
+			      appKey: "dzxj4c",
+			      preferWakeup: true,
+			      mask: function () {	
+			          return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
+			      },
+			      onready: function () {
+			          var m = this, button = document.getElementById("iosDown");
+			          m.schemeWakeup();
+								button.onclick = function () {
+						              m.wakeupOrInstall();
+						              return false;
+						          }
+									return false;
+					      }
+				}, data);
+			} else {				
+				new OpenInstall({
+			      appKey: "dzxj4c",
+			      preferWakeup: true,
+			      mask: function () {	
+			          return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
+			      },
+			      onready: function () {
+			          var m = this, button = document.getElementById("iosDown");
+			          m.schemeWakeup();
+					setTimeout(function () {
+			              m.wakeupOrInstall();
+			          },2000)
+					button.onclick = function () {
+			              m.wakeupOrInstall();
+			              return false;
+			          }
+						return false;
+			      }
+				}, data);
+			}
+		} else {
+			setTimeout(function(){
+				toDown();
+			
+				$('.iosDown').on('click',function(){
+					toDown();
+				})
+			},800)
+		}
+	
+		function toDown(){
+			var obj = {};
+			
+			for(var i=1;i<=100;i++){
+				obj['lala'+add0(i)] = 'https://zhibocdn.yabolive.net/apk/nf/footseen'+add0(i)+'.apk';
+				if(i<=20){
+					obj['ftscps'+i] = 'https://zhibocdn.yazhaiyabo.com/apk/nf/ftscps'+i+'.apk';
+				}
+			}
+			console.log(obj)
+			if(obj[andoridData]!=undefined){
+				window.location.href = obj[andoridData]
+			} else {
+				window.location.href = 'https://www.footseen.com/apk';
+			}
+		}
+	$('.topUp').on('click',function(){
+			window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'+'&gofrom=web&cidStr=h5_footseengw';
+		})
+	
+	function add0(m) {
+			return m < 10 ? '0' + m + "" : m + ""
+		}
+</script>
+</html>
diff --git a/download53.html b/download53.html
new file mode 100644
index 0000000..e8d532c
--- /dev/null
+++ b/download53.html
@@ -0,0 +1,180 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
+	<!-- Global site tag (gtag.js) - Google Analytics -->
+	<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176823854-5"></script>
+	<script>
+	  window.dataLayer = window.dataLayer || [];
+	  function gtag(){dataLayer.push(arguments);}
+	  gtag('js', new Date());
+	
+	  gtag('config', 'UA-176823854-5');
+	</script>
+   <meta charset="UTF-8">
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="keywords" content="foot fetish,foot worship,foot tickle,Foot Seen,Video streaming">
+    <meta name="description" content="">
+    <meta content="telephone=no" name="format-detection">
+    <meta name="wap-font-scale" content="no">
+    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+		<meta content="telephone=no" name="format-detection">
+    <script src="https://www.footseen.com/js/fsize.js"></script>
+    <link rel="stylesheet" href="https://www.footseen.com/css/swiper.min.css">
+    <link rel="stylesheet" href="https://www.footseen.com/css/base2.css">
+    <link rel="stylesheet" href="https://www.footseen.com/css/inedx.css">
+    <link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css">
+    <title>Foot Seen</title>
+</head>
+<body>
+	<div class="main">
+		<span class="langTitle"><img src="https://www.footseen.com/img/down2.png"/><font></font></span>
+		<div class="langList">
+			<p data-lang="2">繁體中文</p>
+			<p data-lang="1">English</p>
+			<p data-lang="7">العربية</p>
+		</div>
+		<img src="https://www.footseen.com/img/logo.png" class="logo" />
+		<a class="topUp"></a>
+		<div id="iosDown" class="iosDown heartbeat"></div>
+		<img src="https://www.footseen.com/img/live.png" class="live" />
+		<div class="swiper-container hide">
+			<div class="swiper-wrapper">
+				<div class="swiper-slide">
+					<img src="https://www.footseen.com/img/img1_cn.png"/>
+				</div>
+				<div class="swiper-slide">
+					<img src="https://www.footseen.com/img/img2_cn.png"/>
+				</div>
+				<div class="swiper-slide">
+					<img src="https://www.footseen.com/img/img3_cn.png"/>
+				</div>
+			</div>
+			<div class="swiper-pagination"></div>
+		</div>
+	</div>
+</body>
+<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script>
+<script src="https://www.footseen.com/js/swiper.min.js"></script>
+<script type="text/javascript" src="https://www.footseen.com/js/langIos.js?v=202003301517" ></script>
+<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script>
+
+<script type="text/javascript">
+
+			function url_get_params() {
+			var url = location.href;
+			var theRequest = new Object();
+			if(url.indexOf("?") != -1) {
+				var str = url.substr(url.indexOf("?") + 1);
+				strs = str.split("&");
+				for(var i = 0; i < strs.length; i++) {
+					theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
+				}
+			}
+			return theRequest;
+		}
+			
+		if( url_get_params().icid!=undefined){
+			var params = url_get_params().icid.replace(/(^\s*)|(\s*$)/g, "");
+		} else {
+			var params = '';
+		}
+		
+		var iosData = '';
+		var andoridData = '';
+		if(params != undefined && params.length>0){		
+			//定义设备号
+			if(params.substring(0,3) == 'ios'){
+				iosData = params;
+				andoridData = params.substring(3,params.length);
+			} else {
+				iosData = 'ios'+params;
+				andoridData = params;
+			}
+		} else {
+			iosData = 'iosfts';
+			andoridData = 'fts';
+		}
+		
+		console.log(iosData,andoridData)
+		var ua = window.navigator.userAgent.toLowerCase();
+		if(/iphone|ipad|ipod/.test(ua)){
+			var data = {
+				icid:iosData
+			}
+			if(iosData.indexOf('iosftscps')>-1){
+				new OpenInstall({
+			      appKey: "dzxj4c",
+			      preferWakeup: true,
+			      mask: function () {	
+			          return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
+			      },
+			      onready: function () {
+			          var m = this, button = document.getElementById("iosDown");
+			          m.schemeWakeup();
+								button.onclick = function () {
+						              m.wakeupOrInstall();
+						              return false;
+						          }
+									return false;
+					      }
+				}, data);
+			} else {				
+				new OpenInstall({
+			      appKey: "dzxj4c",
+			      preferWakeup: true,
+			      mask: function () {	
+			          return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
+			      },
+			      onready: function () {
+			          var m = this, button = document.getElementById("iosDown");
+			          m.schemeWakeup();
+					setTimeout(function () {
+			              m.wakeupOrInstall();
+			          },2000)
+					button.onclick = function () {
+			              m.wakeupOrInstall();
+			              return false;
+			          }
+						return false;
+			      }
+				}, data);
+			}
+		} else {
+			setTimeout(function(){
+				toDown();
+			
+				$('.iosDown').on('click',function(){
+					toDown();
+				})
+			},800)
+		}
+	
+		function toDown(){
+			var obj = {};
+			
+			for(var i=1;i<=100;i++){
+				obj['lala'+add0(i)] = 'https://zhibocdn.yabolive.net/apk/nf/footseen'+add0(i)+'.apk';
+				if(i<=20){
+					obj['ftscps'+i] = 'https://zhibocdn.yazhaiyabo.com/apk/nf/ftscps'+i+'.apk';
+				}
+			}
+			console.log(obj)
+			if(obj[andoridData]!=undefined){
+				window.location.href = obj[andoridData]
+			} else {
+				window.location.href = 'https://www.footseen.com/apk';
+			}
+		}
+	$('.topUp').on('click',function(){
+			window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'+'&gofrom=web&cidStr=h5_footseengw';
+		})
+	
+	function add0(m) {
+			return m < 10 ? '0' + m + "" : m + ""
+		}
+</script>
+</html>
--
libgit2 0.25.0