Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashiSN committed Dec 11, 2016
1 parent c009021 commit 41cc468
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 26 deletions.
14 changes: 3 additions & 11 deletions chunithm.php
Expand Up @@ -65,6 +65,7 @@

<meta charset="UTF-8" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=420">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" CONTENT="no-cache">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
Expand All @@ -79,6 +80,7 @@
<link rel="stylesheet" href="https://chunithm-net.com/mobile/common/css/common.css" />
<link rel="stylesheet" href="https://chunithm-net.com/mobile/common/css/contents.css" />
<link rel="stylesheet" href="/chunithm/lib/chunithm.css?var=3.6.3" />
<script src="/common/js/jquery-3.1.1.min.js" ></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script type="text/javascript">
//Google-Analytics
Expand Down Expand Up @@ -171,17 +173,7 @@
sort_button_show();
echo $BestRateDisp;
}
?>
<p style="font-size:15px">スポンサーリンク</p>
<!-- Chunical -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9431951784509175"
data-ad-slot="7530328449"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
?>
<div style="margin-top:15px;font-size:15px">CHUNITHM Rate Calculator by Akashi_SN <a href="https://twitter.com/Akashi_SN" class="twitter-follow-button" data-show-count="false">Follow @Akashi_SN</a></div>
</body>
</html>
56 changes: 42 additions & 14 deletions common.php
Expand Up @@ -721,14 +721,14 @@ function RecentRateDisp($UserData){
</div>
</div>
<p style="font-size:15px">スポンサーリンク</p>
<!-- Chunical.5 -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:100px"
data-ad-client="ca-pub-9431951784509175"
data-ad-slot="4179909243"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Chunical.5 -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:100px"
data-ad-client="ca-pub-9431951784509175"
data-ad-slot="4179909243"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div class="frame01 w460">
<div class="frame01_inside w450">
<h2 style="margin-top:10px;" id="page_title">RECENT枠外</h2>
Expand Down Expand Up @@ -852,11 +852,11 @@ function get(){
<div class="narrow_block clearfix">
<div id="simue">
<span>譜面定数</span>
<input id="baserate" type="text" style="width:70px" value="'.$baserate.'"/>
<input id="baserate" type="text" style="width:20%" value="'.$baserate.'"/>
<span>の曲をスコア</span>
<input id="score" type="text" style="width:90px" value="'.$score.'"/>
<input id="score" type="text" style="width:20%" value="'.$score.'"/>
<br>
<p>でRECENT枠を埋めたとき<button class="buttons" style="margin-left:10px" onClick="get();">計算</button></p>
<p>でRECENT枠を埋めたとき<button class="buttons" style="font-size:13px" onClick="get();">計算</button></p>
<span>到達可能レート</span>
<input id="maxrate" type="text" style="width:70px" value="'.$maxrate.'">
</div>
Expand All @@ -866,7 +866,26 @@ function get(){
</div>
</div>
</div>
</div>';
</div>
<script type="text/javascript" charset="utf-8" >
$(function() {
if (navigator.userAgent.indexOf(\'iPhone\') > 0 || navigator.userAgent.indexOf(\'iPad\') > 0 || navigator.userAgent.indexOf(\'iPod\') > 0 || navigator.userAgent.indexOf(\'Android\') > 0) {
$("#ad").hide()
}
});
</script>
<div id="ad">
<p style="font-size:15px">スポンサーリンク</p>
<!-- Chunical -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9431951784509175"
data-ad-slot="7530328449"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>';
return $tool;
}

Expand Down Expand Up @@ -924,8 +943,7 @@ function graph($UserData) {
$RecentRate .= ']';
}
$graph = '
<div id="Graph" style="margin-bottom:10px;width:650px"></div>
<script src="/common/js/jquery-3.1.1.min.js" ></script>
<div id="Graph" style="margin-bottom:10px;width:600px"></div>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script type="text/javascript">
Expand Down Expand Up @@ -975,6 +993,16 @@ function graph($UserData) {
}]
});
});
</script>
<p style="font-size:15px">スポンサーリンク</p>
<!-- Chunical -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-9431951784509175"
data-ad-slot="7530328449"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>';

return $graph;
Expand Down
3 changes: 3 additions & 0 deletions lib/chunithm.css
Expand Up @@ -4,6 +4,9 @@ html{height:100%;margin:0 auto;padding:0;display:table;}
}
@media screen and (max-width:480px){#rank img{height:14px;margin:0px 0px 0px 0;}
}
body {
-webkit-text-size-adjust: 100%;
}
.buttons{font-size:16px;font-family:Arial;font-weight:bold;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;border:1px solid #dcdcdc;padding:10px 20px;text-decoration:none;background:-moz-linear-gradient(center top, #fffaff 23%, #dfdfdf 82%);background:-ms-linear-gradient(top, #fffaff 23%, #dfdfdf 82%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffaff', endColorstr='#dfdfdf');background:-webkit-gradient(linear, left top, left bottom, color-stop(23%, #fffaff), color-stop(82%, #dfdfdf));background-color:#fffaff;color:#736e73;display:inline-block;text-shadow:1px 1px 0px #ffffff;-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;box-shadow:inset 1px 1px 0px 0px #ffffff;margin-bottom:10px;}.buttons:hover{background:-moz-linear-gradient(center top, #dfdfdf 23%, #fffaff 82%);background:-ms-linear-gradient(top, #dfdfdf 23%, #fffaff 82%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#fffaff');background:-webkit-gradient(linear, left top, left bottom, color-stop(23%, #dfdfdf), color-stop(82%, #fffaff));background-color:#dfdfdf;}.buttons:active{position:relative;top:1px;}
.more {
font-weight: bold;
Expand Down
92 changes: 91 additions & 1 deletion lib/chunithm.json
Expand Up @@ -178,18 +178,23 @@
261,
262,
263,
264,
267,
270,
273,
276,
278,
279,
280,
281,
282,
286,
287,
288,
291,
292,
293,
296,
298,
299,
300,
Expand All @@ -198,6 +203,9 @@
307,
308,
309,
313,
314,
315,
316,
317,
318,
Expand All @@ -208,6 +216,8 @@
323,
324,
325,
326,
327,
330,
331,
336
Expand Down Expand Up @@ -1048,7 +1058,7 @@
"MusicName": "Gustav Battle",
"Images": "img\/f63fab30a7b6f160.jpg",
"BaseRate": {
"ex": 11.7,
"ex": 11.8,
"mas": 13
}
},
Expand Down Expand Up @@ -1953,5 +1963,85 @@
"BaseRate": {
"mas": 12.3
}
},
"327": {
"MusicID": 327,
"MusicName": "JULIAN",
"Images": "img\/17c363c1fd2fa7d1.jpg",
"BaseRate": {
"mas": 12.7
}
},
"326": {
"MusicID": 326,
"MusicName": "Sakura Fubuki",
"Images": "img\/fd01fc38e38042e3.jpg",
"BaseRate": {
"mas": 12.5
}
},
"291": {
"MusicID": 291,
"MusicName": "Kronos",
"Images": "img\/9c5e71b3588dbc70.jpg",
"BaseRate": {
"mas": 12.4
}
},
"264": {
"MusicID": 264,
"MusicName": "My Dearest Song",
"Images": "img\/f44c6b628889f8ec.jpg",
"BaseRate": {
"mas": 12.2
}
},
"315": {
"MusicID": 315,
"MusicName": "オラシオン",
"Images": "img\/fa70cc77f963cdba.jpg",
"BaseRate": {
"mas": 11.3
}
},
"313": {
"MusicID": 313,
"MusicName": "ひだまりデイズ",
"Images": "img\/5ac018495d6f01a5.jpg",
"BaseRate": {
"mas": 11.4
}
},
"296": {
"MusicID": 296,
"MusicName": "かくしん的☆めたまるふぉ~ぜっ!",
"Images": "img\/76535cf4c728f2af.jpg",
"BaseRate": {
"mas": 12.1
}
},
"314": {
"MusicID": 314,
"MusicName": "This game",
"Images": "img\/5fb63e847a057938.jpg",
"BaseRate": {
"mas": 11.8
}
},
"282": {
"MusicID": 282,
"MusicName": "アカツキアライヴァル",
"Images": "img\/4a51a3a5dc24c579.jpg",
"BaseRate": {
"mas": 11.7
}
},
"280": {
"MusicID": 280,
"MusicName": "リモコン",
"Images": "img\/f78d1487c34efa6e.jpg",
"BaseRate": {
"mas": 11.8
}
}
}

0 comments on commit 41cc468

Please sign in to comment.