Add: admin new registered maestro account list, registered date
This commit is contained in:
@@ -97,6 +97,7 @@
|
|||||||
+ " <input type='text' class='maestro_id d-none' value='" + jsonList[i].maestroID + "'>"
|
+ " <input type='text' class='maestro_id d-none' value='" + jsonList[i].maestroID + "'>"
|
||||||
+ " <input type='text' class='col-sm' value='" + jsonList[i].maestroName + "'>"
|
+ " <input type='text' class='col-sm' value='" + jsonList[i].maestroName + "'>"
|
||||||
+ " <input type='text' class='col-sm' value='" + accoutType(jsonList[i].accountType) + "'>"
|
+ " <input type='text' class='col-sm' value='" + accoutType(jsonList[i].accountType) + "'>"
|
||||||
|
+ " <input type='text' class='col-sm' value='" + jsonList[i].acceptClausesDateTime.substring(0, 10) + "'>"
|
||||||
+ " <input type='button' class='col-sm-1' value='+' onClick='register(this)'>"
|
+ " <input type='button' class='col-sm-1' value='+' onClick='register(this)'>"
|
||||||
+ " <input type='button' class='col-sm-1' disabled value='-'>"
|
+ " <input type='button' class='col-sm-1' disabled value='-'>"
|
||||||
+ "</div>"
|
+ "</div>"
|
||||||
@@ -176,6 +177,7 @@
|
|||||||
<label class="col-form-label d-none">ID</label>
|
<label class="col-form-label d-none">ID</label>
|
||||||
<label class="col-form-label col-sm text-center">마에스트로 아이디</label>
|
<label class="col-form-label col-sm text-center">마에스트로 아이디</label>
|
||||||
<label class="col-form-label col-sm text-center">계정 타입</label>
|
<label class="col-form-label col-sm text-center">계정 타입</label>
|
||||||
|
<label class="col-form-label col-sm text-center">등록 날짜</label>
|
||||||
<label class="col-form-label col-sm-1 text-center"></label>
|
<label class="col-form-label col-sm-1 text-center"></label>
|
||||||
<label class="col-form-label col-sm-1 text-center"></label>
|
<label class="col-form-label col-sm-1 text-center"></label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ function get_maestro_list() {
|
|||||||
global $db_conn;
|
global $db_conn;
|
||||||
|
|
||||||
$query = "
|
$query = "
|
||||||
SELECT MaestroID, Name, AccountType
|
SELECT MaestroID, Name, AccountType, AcceptClausesDateTime
|
||||||
FROM maestro
|
FROM maestro
|
||||||
WHERE ActivateStatus=0
|
WHERE ActivateStatus=0
|
||||||
ORDER BY MaestroID DESC
|
ORDER BY MaestroID DESC
|
||||||
@@ -38,13 +38,14 @@ function get_maestro_list() {
|
|||||||
// $stmt->bind_param("iii", $maestroID, $startNo, $endNo);
|
// $stmt->bind_param("iii", $maestroID, $startNo, $endNo);
|
||||||
// $stmt->bind_param("ii", $maestroName, $startNo);
|
// $stmt->bind_param("ii", $maestroName, $startNo);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt->bind_result($maestroID, $name, $accountType);
|
$stmt->bind_result($maestroID, $name, $accountType, $acceptClausesDateTime);
|
||||||
|
|
||||||
$maestroList = array();
|
$maestroList = array();
|
||||||
while($stmt->fetch()) {
|
while($stmt->fetch()) {
|
||||||
$maestro["maestroID"] = $maestroID;
|
$maestro["maestroID"] = $maestroID;
|
||||||
$maestro["maestroName"] = $name;
|
$maestro["maestroName"] = $name;
|
||||||
$maestro["accountType"] = $accountType;
|
$maestro["accountType"] = $accountType;
|
||||||
|
$maestro["acceptClausesDateTime"] = $acceptClausesDateTime;
|
||||||
array_push($maestroList, $maestro);
|
array_push($maestroList, $maestro);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,7 +56,7 @@ function get_maestro_list_by_name($maestroName) {
|
|||||||
global $db_conn;
|
global $db_conn;
|
||||||
|
|
||||||
$query = "
|
$query = "
|
||||||
SELECT MaestroID, Name, AccountType
|
SELECT MaestroID, Name, AccountType, AcceptClausesDateTime
|
||||||
FROM maestro
|
FROM maestro
|
||||||
WHERE Name LIKE CONCAT('%', ?, '%') AND ActivateStatus=0
|
WHERE Name LIKE CONCAT('%', ?, '%') AND ActivateStatus=0
|
||||||
ORDER BY MaestroID DESC
|
ORDER BY MaestroID DESC
|
||||||
@@ -64,13 +65,14 @@ function get_maestro_list_by_name($maestroName) {
|
|||||||
// $stmt->bind_param("iii", $maestroID, $startNo, $endNo);
|
// $stmt->bind_param("iii", $maestroID, $startNo, $endNo);
|
||||||
$stmt->bind_param("s", $maestroName);
|
$stmt->bind_param("s", $maestroName);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt->bind_result($maestroID, $name, $accountType);
|
$stmt->bind_result($maestroID, $name, $accountType, $acceptClausesDateTime);
|
||||||
|
|
||||||
$maestroList = array();
|
$maestroList = array();
|
||||||
while($stmt->fetch()) {
|
while($stmt->fetch()) {
|
||||||
$maestro["maestroID"] = $maestroID;
|
$maestro["maestroID"] = $maestroID;
|
||||||
$maestro["maestroName"] = $name;
|
$maestro["maestroName"] = $name;
|
||||||
$maestro["accountType"] = $accountType;
|
$maestro["accountType"] = $accountType;
|
||||||
|
$maestro["acceptClausesDateTime"] = $acceptClausesDateTime;
|
||||||
array_push($maestroList, $maestro);
|
array_push($maestroList, $maestro);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user