js, html에서 참조하는 이미지 경로 수정
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
|
||||
<!-- 스타일 -->
|
||||
<link type="text/css" rel="stylesheet" href="../e_lib/bootstrap.min.css">
|
||||
<link type="text/css" rel="stylesheet" href='../d_shared/common.css'>
|
||||
<link type="text/css" rel="stylesheet" href='../css/admin_member.css'>
|
||||
|
||||
<script type="text/javascript" src='../js/common.js'></script>
|
||||
<script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script>
|
||||
<script type="text/javascript" src="../e_lib/bootstrap.bundle.min.js"></script>
|
||||
<script src='../d_shared/common_path.js'></script>
|
||||
<script type="text/javascript" src='../js/common.js'></script>
|
||||
<script type="text/javascript" src='../js/func.js'></script>
|
||||
|
||||
<script type="text/javascript" src='../js/admin_member.js'></script>
|
||||
|
||||
@@ -12,7 +12,7 @@ $db = RootDB::db();
|
||||
$member = $db->queryFirstRow('SELECT `id`, `name`, `grade`, `picture` FROM `MEMBER` WHERE `NO` = %i', $userID);
|
||||
|
||||
if(!$member['picture']){
|
||||
$picture = ServConfig::$sharedIconPath.'/default.jpg';
|
||||
$picture = ServConfig::getSharedIconPath().'/default.jpg';
|
||||
}
|
||||
else{
|
||||
$picture = $member['picture'];
|
||||
@@ -26,7 +26,7 @@ else{
|
||||
$picture = AppConf::getUserIconPathWeb().'/'.$picture;
|
||||
}
|
||||
else{
|
||||
$picture = ServConfig::$sharedIconPath.'/'.$picture;
|
||||
$picture = ServConfig::getSharedIconPath().'/'.$picture;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ foreach($db->query('SELECT member.*, max(member_log.date) as loginDate from memb
|
||||
$icon = AppConf::getUserIconPathWeb().'/'.$member['PICTURE'];
|
||||
}
|
||||
else{
|
||||
$icon = ServConfig::$sharedIconPath.'/'.$member['PICTURE'];
|
||||
$icon = ServConfig::getSharedIconPath().'/'.$member['PICTURE'];
|
||||
}
|
||||
|
||||
$userList[] = [
|
||||
|
||||
@@ -65,7 +65,7 @@ if(!is_uploaded_file($image['tmp_name'])) {
|
||||
|
||||
while(true){
|
||||
$newPicName = dechex(rand(0x000000f,0xfffffff)).$newExt;
|
||||
$dest = ROOT.'/d_pic/'.$newPicName;
|
||||
$dest = AppConf::getUserIconPathFS().$newPicName;
|
||||
if(file_exists($dest)){
|
||||
continue;
|
||||
}
|
||||
|
||||
+19
-18
@@ -1,22 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>계정 관리</title>
|
||||
|
||||
<!-- 스타일 -->
|
||||
<link type="text/css" rel="stylesheet" href='../d_shared/common.css'>
|
||||
<link type="text/css" rel="stylesheet" href='../css/config.css'>
|
||||
<link type="text/css" rel="stylesheet" href='../css/user_info.css'>
|
||||
|
||||
<!-- 액션 -->
|
||||
<script type="text/javascript" src='../js/common.js'></script>
|
||||
<script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script>
|
||||
<script type="text/javascript" src='../e_lib/sha512.min.js'></script>
|
||||
<script type="text/javascript" src='../js/func.js'></script>
|
||||
<script type="text/javascript" src='../js/user_info.js'></script>
|
||||
</head>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>계정 관리</title>
|
||||
|
||||
<!-- 스타일 -->
|
||||
<link type="text/css" rel="stylesheet" href='../d_shared/common.css'>
|
||||
<link type="text/css" rel="stylesheet" href='../css/config.css'>
|
||||
<link type="text/css" rel="stylesheet" href='../css/user_info.css'>
|
||||
|
||||
<!-- 액션 -->
|
||||
<script src='../d_shared/common_path.js'></script>
|
||||
<script type="text/javascript" src='../js/common.js'></script>
|
||||
<script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script>
|
||||
<script type="text/javascript" src='../e_lib/sha512.min.js'></script>
|
||||
<script type="text/javascript" src='../js/func.js'></script>
|
||||
<script type="text/javascript" src='../js/user_info.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="user_info_container">
|
||||
<table class="bg0" id="user_info_table">
|
||||
@@ -95,8 +96,8 @@
|
||||
<tr>
|
||||
<th class="bg1">전용<br>아이콘</th>
|
||||
<td colspan="2" style="height:64px;">
|
||||
<img width="64px" height="64px" id="slot_icon" src="../../image/default.jpg">
|
||||
<img width="64px" height="64px" id="slot_new_icon" src="../../image/default.jpg">
|
||||
<img width="64px" height="64px" id="slot_icon">
|
||||
<img width="64px" height="64px" id="slot_new_icon">
|
||||
</td>
|
||||
<td colspan="3" style="position:relative;" >
|
||||
<form name="change_icon_form" id="change_icon_form" method="post" enctype="multipart/form-data">
|
||||
|
||||
Reference in New Issue
Block a user