<?php
|
header("Content-Type: text/html; charset=utf-8");
|
$CarLicense=empty($_REQUEST['CarLicense'])!=false ? "" : addslashes($_REQUEST['CarLicense']);
|
$Vidno_ID=empty($_REQUEST['Vidno_ID'])!=false ? "" : addslashes($_REQUEST['Vidno_ID']);
|
if(!empty($Vidno_ID)){
|
//用户登录
|
$api_url='http://v1.966120.com.cn:8088/StandardApiAction_login.action?account=966120&password=cms966120';
|
//echo $api_url;//exit;
|
$api_info=file_get_contents($api_url);
|
$api_info=json_decode($api_info,true);
|
$result = $api_info["result"];
|
if ($result!=0) {header("Location: /"); exit;}
|
$JSESSIONID = $api_info["JSESSIONID"];
|
//$Vidno_ID="446707110";
|
}else{
|
header("Location: /login.php"); exit;
|
|
}
|
$channel=1;
|
?>
|
<html><head></head><body>
|
<table style="width: 1200px">
|
<tr style="height: 400px;">
|
<td><iframe id="iframe" src="http://v1.966120.com.cn:8088/808gps/open/hls/index.html?lang=zh&devIdno=<?php echo $Vidno_ID;?>&jsession=<?php echo $JSESSIONID;?>&close=10&channel=0" width="600px" height="400px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
|
</td>
|
<td><iframe id="iframe" src="http://v1.966120.com.cn:8088/808gps/open/hls/index.html?lang=zh&devIdno=<?php echo $Vidno_ID;?>&jsession=<?php echo $JSESSIONID;?>&close=10&channel=1" width="600px" height="400px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
|
</td>
|
</tr>
|
<tr style="height: 400px;">
|
<td><iframe id="iframe" src="http://v1.966120.com.cn:8088/808gps/open/hls/index.html?lang=zh&devIdno=<?php echo $Vidno_ID;?>&jsession=<?php echo $JSESSIONID;?>&close=10&channel=2" width="600px" height="400px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
|
</td>
|
<td><iframe id="iframe" src="http://v1.966120.com.cn:8088/808gps/open/hls/index.html?lang=zh&devIdno=<?php echo $Vidno_ID;?>&jsession=<?php echo $JSESSIONID;?>&close=10&channel=3" width="600px" height="400px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
|
</td>
|
</tr>
|
</table>
|
|
</body></html>
|