chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
//------------------------------------完成率环形图
|
||||
date_default_timezone_set('Asia/Shanghai');
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||
$wcl=$_GET["wcl"];
|
||||
$wcl_num=str_replace("%","",$wcl);
|
||||
if($wcl_num<10){
|
||||
if($wcl_num<1){
|
||||
$i=0;
|
||||
}else if($wcl_num<=2){
|
||||
$i=2;
|
||||
}else if($wcl_num<=4){
|
||||
$i=4;
|
||||
}else if($wcl_num<=6){
|
||||
$i=6;
|
||||
}else{
|
||||
$i=8;
|
||||
}
|
||||
$content="<div class='img'><img src=\"images/wcl_".$i.".jpg\"><div><div class='text'>".$wcl_num."%</div>";
|
||||
}else{
|
||||
$content="<div id=\"myStat\" style=\"width:100px;height:100px;\" data-foregroundColor=\"#f04021\" data-fontColor=\"#f04021\" data-percentageTextSize=\"30\" data-percent=\"".$wcl_num."\"></div>";
|
||||
$content.="<script> $(document).ready(function(){ $('#myStat').circliful();});</script>";
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>完成率-e订通</title>
|
||||
<style>
|
||||
body{padding:0px;margin:0px;background-color:#262428;}
|
||||
.img{position:absolute;left:0px;top:0px;width:100px;height:100px;}
|
||||
.text{position:absolute;left:0px;top:0px;width:100px;height:100px;text-align:center;line-height:100px;font-size:16px;color:#f04122;}
|
||||
</style>
|
||||
<?php if($wcl_num>=10){ ?>
|
||||
<script src="js/autocomplete/jquery-1.4.4.min.js"></script>
|
||||
<script src="js/jquery.circliful.min.js"></script>
|
||||
<?php } ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
echo $content;
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user