You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
include '../functions.php';
|
|
|
|
|
|
|
|
if(!isset($_COOKIE['fp'])) yimian__setFp();
|
|
|
|
|
|
|
|
session_start();
|
|
|
|
|
|
|
|
if(isset($_REQUEST['from'])){
|
|
|
|
$_SESSION['s_from']=$_REQUEST['from'];
|
|
|
|
}
|
|
|
|
if(isset($_COOKIE['fp']))
|
|
|
|
{
|
|
|
|
$res=db__getData(db__connect(),"fp","fp",$_COOKIE['fp']);
|
|
|
|
|
|
|
|
if($res[0]['usr'])
|
|
|
|
{
|
|
|
|
$result=db__getData(db__connect(),"user","tel",$res[0]['usr']);
|
|
|
|
echo "<script>alert('这只设备已被".$result[0]['name']."霸占啦~');window.location.href='https://login.yimian.xyz/goBack.php'</script>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
yimian__header("Yimian Login","Login,Yimian,IoTcat,User","Page for old user to login or new user to sign up.");
|
|
|
|
js__jquery();
|
|
|
|
css__easyVer();
|
|
|
|
css__cleverLogin();
|
|
|
|
js__device();
|
|
|
|
yimian__headerEnd();
|
|
|
|
|
|
|
|
echo file_get_contents("https://cdn.yimian.xyz/clever-login/index.html");
|
|
|
|
|
|
|
|
js__cleverLogin();
|
|
|
|
yimian__simpleFooter();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|