불필한 const varname -> string 대체 제거.

필요할 곳은 나중에 처리하는 것으로.
This commit is contained in:
2018-03-19 22:26:07 +09:00
parent c44b836e3e
commit 280e81250c
17 changed files with 46 additions and 96 deletions
+7 -7
View File
@@ -43,7 +43,7 @@ var serverLoginTemplate = "\
";
function Entrance_Import() {
ImportAction(HOME+I+ENTRANCE+W+MANAGE+W+ACTION);
ImportAction("../i_entrance/manage/Action.js");
EntranceManage_Import();
}
@@ -62,7 +62,7 @@ function Entrance_Update() {
function Entrance_UpdateServer() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+SERVERLIST+POST, {
"../i_entrance/serverListPost.php", {
},
function(response, textStatus) {
if(response.result == "SUCCESS") {
@@ -87,10 +87,10 @@ function Entrance_drawServerList(serverInfos){
return true;
}
var serverPath = '../'+serverInfo.name;
var serverPath = "../"+serverInfo.name;
$.getJSON('../'+serverInfo.name+'/j_server_basic_info.php',{}, function(result){
$.getJSON("../"+serverInfo.name+'/j_server_basic_info.php',{}, function(result){
console.log(result);
console.log(result.game);
if(!result.game){
@@ -168,12 +168,12 @@ function Entrance_Manage() {
function Entrance_Logout() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+LOGOUT+POST, {
"../i_entrance/logoutPost.php", {
},
function(response, textStatus) {
if(response.result == "SUCCESS") {
Popup_WaitHide();
ReplaceFrame(HOME);
ReplaceFrame("../");
} else {
Popup_WaitShow("로그아웃 실패!");
}
@@ -184,7 +184,7 @@ function Entrance_Logout() {
$(function(){
ImportView("body", "../i_popup/Frame.php");
//ImportView("body", FRAME);
//ImportView("body", "Frame.php");
Popup_Import();
Popup_Init();
+7 -7
View File
@@ -78,7 +78,7 @@ function Entrance_AdminChangeNotice() {
Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+ADMIN+POST, {
"../i_entrance/adminPost.php", {
action: 'notice',
notice: notice
},
@@ -101,7 +101,7 @@ function modifyServerStatus(caller, action) {
Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+ADMIN+POST, {
"../i_entrance/adminPost.php", {
server: server,
action: action
},
@@ -111,7 +111,7 @@ function modifyServerStatus(caller, action) {
if(action == 'reset') {
ReplaceFrame(response.installURL);
} else {
Replace(ENTRANCE+PHP);
Replace("entrance.php");
}
} else {
Popup_WaitShow(response.msg);
@@ -125,23 +125,23 @@ function modifyServerStatus(caller, action) {
function Entrance_AdminNPCLogin(caller) {
var $caller = $(caller);
var serverDir = $caller.parents('tr').data('server_name');
location.href = serverDir+W+'npc_login'+PHP;
location.href = serverDir+"/npc_login.php";
}
function Entrance_AdminNPCCreate(caller) {
var $caller = $(caller);
var serverDir = $caller.parents('tr').data('server_name');
location.href = serverDir+W+'npc_join'+PHP;
location.href = serverDir+"/npc_join.php";
}
function Entrance_AdminClosedLogin(caller) {
var $caller = $(caller);
var serverDir = $caller.parents('tr').data('server_name');
location.href = serverDir+W+'npc_login'+PHP;
location.href = serverDir+"/npc_login.php";
}
function Entrance_AdminOpen119(caller) {
var $caller = $(caller);
var serverDir = $caller.parents('tr').data('server_name');
location.href = serverDir+W+'_119'+PHP;
location.href = serverDir+"/_119.php";
}
+3 -3
View File
@@ -44,7 +44,7 @@ $userGrade = $member['GRADE'];
</head>
<body>
<?php include(MANAGE.W.FRAME); ?>
<?php include("manage".W."Frame.php"); ?>
<?php
if($member['GRADE'] >= 6) {
include('member/Frame.php');
@@ -100,8 +100,8 @@ if($userGrade >= 6){
<div id="user_info">
<div class="bg2 section_title with_border">계 정 관 리</div>
<div class="center_ordered_items with_border bg0">
<input id="btn_user_manage" class="with_skin" type="button" value="비밀번호 & 전콘 & 탈퇴">
<input id="btn_logout" class="with_skin" type="button" value="로 그 아 웃">
<button id="btn_user_manage" class="with_skin">비밀번호 &amp; 전콘 &amp; 탈퇴</button>
<button id="btn_logout" class="with_skin">로 그 아 웃</button>
</div>
</div>
+5 -5
View File
@@ -20,7 +20,7 @@ function EntranceManage_Init() {
function EntranceManage_Update() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+MANAGE+W+'Get.php', {
"../../i_entrance/manage/Get.php", {
},
function(response, textStatus) {
if(response.result == "SUCCESS") {
@@ -82,7 +82,7 @@ function EntranceManage_ChangePw() {
Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+MANAGE+W+"password"+POST, {
"../../i_entrance/manage/passwordPost.php", {
pw: hex_md5(pw+""+pw),
newPw: hex_md5(pw1+""+pw1)
},
@@ -112,7 +112,7 @@ function EntranceManage_DeleteIcon() {
Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+MANAGE+W+"delete"+POST, {
"../../i_entrance/manage/deletePost.php", {
},
function(response, textStatus) {
Popup_WaitShow(response.msg, function() {
@@ -138,13 +138,13 @@ function EntranceManage_Quit() {
Popup_Confirm('정말 탈퇴하시겠습니까?', function() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+MANAGE+W+"quit"+POST, {
"../../i_entrance/manage/quitPost.php", {
pw: hex_md5(pw+""+pw)
},
function(response, textStatus) {
if(response.result == "SUCCESS") {
Popup_WaitShow(response.msg, function() {
ReplaceFrame(HOME);
ReplaceFrame("../../");
});
} else {
Popup_WaitShow(response.msg, function() {
+2 -2
View File
@@ -42,7 +42,7 @@ function EntranceMember_Order() {
function EntranceMember_UpdateMember(select) {
Popup_Wait(function() {
GetJSON(
HOME+I+ENTRANCE+W+MEMBER+W+GET, {
"../../i_entrance/member/Get.php", {
select: select
},
function(response, textStatus) {
@@ -67,7 +67,7 @@ function EntranceMember_Post(select) {
Popup_Confirm('정말 실행하시겠습니까?', function() {
Popup_Wait(function() {
PostJSON(
HOME+I+ENTRANCE+W+MEMBER+W+POST, {
"../../i_entrance/member/Post.php", {
select: select,
no: no
},
+2 -2
View File
@@ -3,8 +3,8 @@ require_once('_common.php');
?>
<script type="text/javascript">
ImportStyle("<?=ROOT;?>"+W+I+ENTRANCE+W+MEMBER+W+STYLE);
ImportAction("<?=ROOT;?>"+W+I+ENTRANCE+W+MEMBER+W+ACTION);
ImportStyle("<?=ROOT;?>/i_entrance/member/Style.css");
ImportAction("<?=ROOT;?>/i_entrance/member/Action.js");
EntranceMember_Import();
EntranceMember_Init();
</script>
+2
View File
@@ -0,0 +1,2 @@
<?php