css 기본틀 추가

bar() 함수 수정. 막대 수정
This commit is contained in:
2018-01-29 22:04:50 +09:00
parent 01eef993fb
commit a4ecf23dd0
4 changed files with 8 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
@charset "UTF-8";
+1
View File
@@ -0,0 +1 @@
@charset "UTF-8";
+2 -2
View File
@@ -46,8 +46,8 @@ function bar($per, $skin=1, $h=7) {
$per = round($per, 1);
if($per < 1 || $per > 99) { $per = round($per); }
$str1 = "<td width={$per}% background={$images}/pb{$h2}.gif>&nbsp;</td>";
$str2 = "<td width=*% background={$images}/pr{$h2}.gif>&nbsp;</td>";
$str1 = "<td width={$per}% background={$images}/pb{$h2}.gif></td>";
$str2 = "<td width=*% background={$images}/pr{$h2}.gif></td>";
if($per <= 0) { $str1 = ""; }
elseif($per >= 100) { $str2 = ""; }
if($skin == 0) {
+4 -1
View File
@@ -57,10 +57,13 @@ $scenario = getScenario();
<html>
<head>
<title>메인</title>
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<meta charset="UTF-8">
<link rel=stylesheet href=stylesheet.php?<?=$me['skin'];?> type=text/css>
<script src="../e_lib/jquery-3.2.1.min.js"></script>
<script src="js/main.js"></script>
<link href="css/common.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<?php require('analytics.php'); ?>
</head>
<body oncontextmenu='return false'>