Commit d4fafaef authored by Anthony.Suerte's avatar Anthony.Suerte

Developer Tools and Transaction Logs Enhancements

parent 539bd659
<?php
require_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
/**
*
* @author Anton
*
*/
class DevComponents extends System {
public function __construct(){
parent::__construct();
}
/**
*
* @param string $devKey
* @return array
*/
public function getDevCred($devKey){
return $this -> getRowData($this -> accessSelect("SELECT_DEV_CREDENTIAL", [$devKey]), NO_COUNT);
}
/**
*
* @param string $devSettingId
* @return array
*/
public function getDevSetting($devSettingId){
return $this -> getRowData($this -> accessSelect("SELECT_DEV_SETTING", [$devSettingId]), NO_COUNT);
}
/**
*
* @param string $fetcherStr
* @return array[]
*/
public function getResults($fetcherStr){
return $this -> rawSQL($fetcherStr);
}
/**
*
* @param string $devSettingId
* @param string $newValue
*/
public function updateDevSetting($devSettingId, $newValue){
$this -> accessModify("UPDATE_DEV_SETTING", [
$devSettingId,
$newValue
], false);
}
/**
*
* @param string $devKey
*/
public function updateDevCredExecution($devKey){
$this -> accessModify("UPDATE_DEV_CREDENTIAL_EXECUTION", [
$devKey,
date("Y-m-d H:i:s")
], false);
}
/**
*
* @param string $string
* @return boolean
*/
public function isJSON($string){
return is_string($string)
&& is_array(json_decode($string, true))
&& (json_last_error() == JSON_ERROR_NONE) ? true : false;
}
}
\ No newline at end of file
This diff is collapsed.
<?php
include_once('config.php');
include_once(SYSTEM_LOGICS.'developer/controller.php');
$logic = new ControlDeveloper();
$logic -> action();
<?php
include_once('config.php');
include_once(SYSTEM_LOGICS.'developer/controller.php');
$logic = new ControlDeveloper();
$logic -> action();
...@@ -201,6 +201,10 @@ ...@@ -201,6 +201,10 @@
if($this -> checkAdminUserAccess('ADVT', array(''))){ if($this -> checkAdminUserAccess('ADVT', array(''))){
?> ?>
<li><a href="advertisements">Advertisements</a></li> <li><a href="advertisements">Advertisements</a></li>
<?php }
if($this -> checkAdminUserAccess('DEVF', array(''))){
?>
<li><a href="developer">Developer Options</a></li>
<?php } <?php }
?> ?>
</ul> </ul>
......
<?php
$page_title = "Developers Option";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<div class="aside-heading">
<div class="btns">
<input type="button" id="btnNewCredential" name="btnNewCredential" value="Register" class="btn bg-default px70 hi22"/>&nbsp;
<input type="button" id="btnSearch" name="btnNewCredential" value="Search" class="btn bg-default px60 hi22"/>&nbsp;
</div>
</div>
<form id="searchForm" action="" method="post">
<table class="conditions fontS w100p">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>Utility Key</th>
<td><input type="text" id="sDevKey" name="sDevKey" value="<?=$this -> getFieldValue("sDevKey")?>" class="w100p"></td>
</tr>
<tr>
<th>Execution Counter</th>
<td><input type="text" id="sExecutionCounter" name="sExecutionCounter" value="<?=$this -> getFieldValue("sExecutionCounter")?>" class="w100p"></td>
</tr>
<tr>
<td colspan="2" class="divider"><hr /></td>
</tr>
<tr>
<td colspan="2">
<span class="th">Date of Expiration</span>
<?php $this -> dispDateRangeFlg("expireDateSearch"); ?>
<input type="text" id="expireDateFrom" name="expireDateFrom" value="<?=$this -> getFieldValue("expireDateFrom")?>" class="px110"> -
<input type="text" id="expireDateTo" name="expireDateTo" value="<?=$this -> getFieldValue("expireDateTo")?>" class="px110">
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">Date of Last Execution</span>
<?php $this -> dispDateRangeFlg("executionDateSearch"); ?>
<input type="text" id="executionDateFrom" name="executionDateFrom" value="<?=$this -> getFieldValue("executionDateFrom")?>" class="px110"> -
<input type="text" id="executionDateTo" name="executionDateTo" value="<?=$this -> getFieldValue("executionDateTo")?>" class="px110">
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">Date of Create Time</span>
<?php $this -> dispDateRangeFlg("createDateSearch"); ?>
<input type="text" id="createDateFrom" name="createDateFrom" value="<?=$this -> getFieldValue("createDateFrom")?>" class="px110"> -
<input type="text" id="createDateTo" name="createDateTo" value="<?=$this -> getFieldValue("createDateTo")?>" class="px110">
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">Date of Last Update</span>
<?php $this -> dispDateRangeFlg("updateDateSearch"); ?>
<input type="text" id="updateDateFrom" name="updateDateFrom" value="<?=$this -> getFieldValue("updateDateFrom")?>" class="px110"> -
<input type="text" id="updateDateTo" name="updateDateTo" value="<?=$this -> getFieldValue("updateDateTo")?>" class="px110">
</td>
</tr>
</table>
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
<?php $this -> dispPager(); ?>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="POST">
<table class="table col bdr default odd w100p fontXS calign">
<thead>
<tr>
<th class="w4p">Utlity Key</th>
<th class="w4p">Secret Key</th>
<th class="w4p">Expiration Date</th>
<th class="w4p">Execution Counter</th>
<th class="w4p">Last Execution Time</th>
<th class="w4p">Date Created</th>
<th class="w4p">Last Update</th>
<th class="w9p" aria-hidden="true"></th>
</tr>
</thead>
<tbody>
<?php $this -> echoList(); ?>
</tbody>
</table>
<input type="hidden" name="type" id="type"/>
<input type="hidden" name="developer_key" id="developer_key"/>
</form>
<div class="article-bottom">
<?php $this -> dispPager(); ?>
</div>
</article>
</div>
</div>
<input type="hidden" id="confirm_delete_devcred" value="Are you sure you want to delete a dev credential?"/>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "Change Passcode [{$this -> getFieldValue("devKey")}]";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<form id="searchForm" action="" method="post">
<div class="aside-heading">
<div class="btns">
</div>
</div>
<p class="calign">
</p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="POST">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>New Passcode</th>
<td>
<input type="password" id="passcode" name="passcode" class="w30p"/>
</td>
</tr>
<tr>
<th>Confirm Passcode</th>
<td>
<input type="password" id="confirm_passcode" name="confirm_passcode" class="w30p">
</td>
</tr>
</table>
<p class="calign">
<input type="button" id="btnBackEdit" value="Back" class="btn bg-default px80 hi25"/>&emsp;
<input type="button" id="btnSavePasscode" value="Save" class="btn bg-grad px80 hi25">
</p>
<input type="hidden" value="action" id="type" name="type" />
<input type="hidden" id="developer_key" name="developer_key" value="<?=$this -> getFieldValue("devKey")?>"/>
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "Edit Developer Credential";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<div class="aside-heading">
<div class="btns">
<input type="button" id="btnChangePasscode" name="btnChangePasscode" value="Change Passcode"
class="btn bg-default px120 hi22"/>&nbsp;
</div>
</div>
<p class="calign">
</p>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="post">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>Developer Key</th>
<td>
<input type="text" id="dkey_view"
value="<?=$this->getFieldValue("devKey")?>" class="w30p" disabled="disabled">
<input type="hidden" value="<?=$this->getFieldValue("devKey")?>" id="developer_key" name="developer_key">
</td>
</tr>
<tr>
<th>Expiration Date</th>
<td>
<input type="text" id="expiration_date" name="expiration_date"
value="<?=$this->getFieldValue("expirationDate")?>" class="w30p">
</td>
</tr>
<tr>
<th>IP Addresses</th>
<td>
<textarea id="ipAddresses" name="ipAddresses" rows="10" cols="50"><?=$this -> getFieldValue("ipAddresses")?></textarea>
</td>
</tr>
</table>
<input type="hidden" value="action" id="type" name="type" />
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<p class="calign">
<a href="" class="btn bg-default">&laquo; Back</a>&emsp;
<input type="button" id="btnSave" value="Save" class="btn bg-grad px80 hi25">
</p>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "Add New Credential";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<form id="searchForm" action="" method="post">
<div class="aside-heading">
<div class="btns">
</div>
</div>
<p class="calign">
</p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="post">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>Developer Key</th>
<td>
<input type="text" id="developer_key" name="developer_key"
value="<?=$this->getFieldValue("devKey")?>" class="w30p">
</td>
</tr>
<tr>
<th>Passcode</th>
<td>
<input type="password" id="passcode" name="passcode"
value="<?=$this->getFieldValue("passcode")?>" class="w30p" autocomplete="new-password">
</td>
</tr>
<tr>
<th>Confirm Passcode</th>
<td>
<input type="password" id="confirm_passcode" name="confirm_passcode"
value="<?=$this->getFieldValue("confirmPasscode")?>" class="w30p">
</td>
</tr>
<tr>
<th>Expiration Date</th>
<td>
<input type="text" id="expiration_date" name="expiration_date"
value="<?=$this->getFieldValue("expirationDate")?>" class="w30p">
</td>
</tr>
</table>
<input type="hidden" value="action" id="type" name="type" />
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<p class="calign">
<a href="" class="btn bg-default">&laquo; Back</a>&emsp;
<input type="button" id="btnConfirm" value="Confirm" class="btn bg-grad px80 hi25">
</p>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "Confirm New Developer Credential";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<form id="searchForm" action="" method="post">
<div class="aside-heading">
<div class="btns">
</div>
</div>
<p class="calign">
</p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<form id="acForm" action="" method="post">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>Developer Key</th>
<td>
<?=$this->getFieldValue("devKey")?>
<input type="hidden" id="developer_key" name="developer_key"
value="<?=$this->getFieldValue("devKey")?>" class="w30p"/>
</td>
</tr>
<tr>
<th>Passcode</th>
<td>
<code>Hidden Information</code>
</td>
</tr>
<tr>
<th>Confirm Passcode</th>
<td>
<code>Hidden Information</code>
</td>
</tr>
<tr>
<th>Expiration Date</th>
<td>
<?=$this->getFieldValue("expirationDate")?>
<input type="hidden" id="expiration_date" name="expiration_date"
value="<?=$this->getFieldValue("expirationDate")?>" class="w30p"/>
</td>
</tr>
</table>
<input type="hidden" id="passcode" name="passcode" value="<?=$_SESSION["dev_cred_passcode"]?>" />
<input type="hidden" id="passcode" name="confirm_passcode" value="<?=$_SESSION["dev_cred_passcode"]?>" />
<input type="hidden" id="type" name="type" />
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<p class="calign">
<input type="button" id="btnBackInput" value="Back" class="btn bg-default px80 hi25"/>&emsp;
<input type="button" id="btnAddNewCred" value="Create" class="btn bg-grad px80 hi25">
</p>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
...@@ -306,4 +306,19 @@ function postAction(target, params) { ...@@ -306,4 +306,19 @@ function postAction(target, params) {
, dataType: 'json' , dataType: 'json'
, data: params , data: params
}); });
} }
\ No newline at end of file
$.fn.inputFilter = function(inputFilter) {
return this.on("input keydown keyup mousedown mouseup select contextmenu drop", function() {
if (inputFilter(this.value)) {
this.oldValue = this.value;
this.oldSelectionStart = this.selectionStart;
this.oldSelectionEnd = this.selectionEnd;
} else if (this.hasOwnProperty("oldValue")) {
this.value = this.oldValue;
this.setSelectionRange(this.oldSelectionStart, this.oldSelectionEnd);
} else {
this.value = "";
}
});
};
\ No newline at end of file
$(function(){
$("#btnNewCredential").click(function(e){
$("#type").val("new_dev_credential")
submitForm()
})
$("#btnBackInput").click(function(e){
$("#type").val("new_dev_credential")
submitForm()
})
$("#btnConfirm").click(function(e){
$("#type").val("credential_confirm")
submitForm()
})
$("#btnAddNewCred").click(function(e){
$("#type").val("credential_complete")
submitForm()
})
$("#btnChangePasscode").click(function(e){
$("#type").val("credential_mod_passcode")
submitForm()
})
$("#btnBackEdit").click(function(e){
$("#type").val("credential_edit")
submitForm()
})
$("#btnSave").click(function(e){
$("#type").val("credential_update")
submitForm()
})
$("#btnSavePasscode").click(function(e){
$("#type").val("credential_passcode_update")
submitForm()
})
$("#sExecutionCounter").inputFilter(function(value) {
return /^-?\d*$/.test(value); });
$("#btnSearch").click(function(e){
submitForm("searchForm")
})
$(".rmv-dev-cred").click(function(e){
e.preventDefault()
let devKey = $(this).attr("hold")
var asking = confirm($("#confirm_delete_devcred").val()+" ["+devKey+"]")
if(asking){
$("#type").val("credential_delete")
$("#developer_key").val(devKey)
submitForm()
}
})
$(".dev-key-view").click(function(e){
e.preventDefault()
let devKey = $(this).attr("hold")
$("#type").val("credential_edit")
$("#developer_key").val(devKey)
submitForm()
})
let datePickerIds = [
"#expiration_date",
"#expireDateFrom",
"#expireDateTo",
"#executionDateFrom",
"#executionDateTo",
"#createDateFrom",
"#createDateTo",
"#updateDateFrom",
"#updateDateTo"
];
datePickerIds.forEach(function(item, index){
if($(item).length == 1){
$(item).datepicker({
// カレンダーの設定
dateFormat : 'yy/mm/dd'
})
}
})
})
...@@ -87,6 +87,14 @@ define('TYPE_SAVE_ACCESS', 'save_access'); ...@@ -87,6 +87,14 @@ define('TYPE_SAVE_ACCESS', 'save_access');
define('TYPE_REQUEST_SESSION_EXPIRED', 'request_session_expired'); define('TYPE_REQUEST_SESSION_EXPIRED', 'request_session_expired');
define('TYPE_LINK_ACCOUNT', 'link_account');//------Mikko 2019------// define('TYPE_LINK_ACCOUNT', 'link_account');//------Mikko 2019------//
define('TYPE_REMOVE_LINK', 'remove_link');//------Mikko 2019------// define('TYPE_REMOVE_LINK', 'remove_link');//------Mikko 2019------//
define('TYPE_NEW_DEV_CREDENTIAL', 'new_dev_credential');
define('TYPE_NEW_DEV_CREDENTIAL_COMPLETE', 'credential_complete');
define('TYPE_NEW_DEV_CREDENTIAL_CONFIRM', 'credential_confirm');
define('TYPE_DEV_CREDENTIAL_EDIT', 'credential_edit');
define('TYPE_DEV_CREDENTIAL_UPDATE', 'credential_update');
define('TYPE_DEV_CREDENTIAL_MODIFY_PASSCODE', 'credential_mod_passcode');
define('TYPE_DEV_CREDENTIAL_PASSCODE_UPDATE', 'credential_passcode_update');
define('TYPE_DEV_CREDENTIAL_DELETE', 'credential_delete');
//-----------------------------------------------------------------------// //-----------------------------------------------------------------------//
// その他パラメータ情報 // その他パラメータ情報
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
//-----------------------------------------------------------------------// //-----------------------------------------------------------------------//
define('VAL_STR_USER_NAME', 'ユーザ名'); define('VAL_STR_USER_NAME', 'ユーザ名');
define('VAL_STR_PASSWORD', 'パスワード'); define('VAL_STR_PASSWORD', 'パスワード');
define('VAL_STR_PASSCODE', 'パスコード');
define('VAL_STR_CONFIRM_PASSCODE', '確認パスコード');
define('VAL_STR_EXPIRATION_DATE', '満了期限');
define('VAL_STR_DEV_CREDENTIALS', '開発者の信任状');
define('VAL_STR_DEV_KEY', 'Devキー');
define('VAL_STR_DEPOSIT_METHOD', '入金種別'); define('VAL_STR_DEPOSIT_METHOD', '入金種別');
define('VAL_STR_JA', 'ja'); define('VAL_STR_JA', 'ja');
define('VAL_STR_UPLOAD_FILE', 'アップロードファイル'); define('VAL_STR_UPLOAD_FILE', 'アップロードファイル');
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
//-----------------------------------------------------------------------// //-----------------------------------------------------------------------//
define('VAL_STR_USER_NAME', 'User ID'); define('VAL_STR_USER_NAME', 'User ID');
define('VAL_STR_PASSWORD', 'Password'); define('VAL_STR_PASSWORD', 'Password');
define('VAL_STR_PASSCODE', 'Passcode');
define('VAL_STR_CONFIRM_PASSCODE', 'Confirm Passcode');
define('VAL_STR_EXPIRATION_DATE', 'Expiration Date');
define('VAL_STR_DEV_CREDENTIALS', 'Dev Credentials');
define('VAL_STR_DEV_KEY', 'Dev Key');
define('VAL_STR_DEPOSIT_METHOD', 'Deposit Methods'); define('VAL_STR_DEPOSIT_METHOD', 'Deposit Methods');
define('VAL_STR_JA', 'ja'); define('VAL_STR_JA', 'ja');
define('VAL_STR_UPLOAD_FILE', 'File upload'); define('VAL_STR_UPLOAD_FILE', 'File upload');
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
//-----------------------------------------------------------------------// //-----------------------------------------------------------------------//
define('VAL_STR_USER_NAME', 'ID Pengguna'); define('VAL_STR_USER_NAME', 'ID Pengguna');
define('VAL_STR_PASSWORD', 'Kata Sandi'); define('VAL_STR_PASSWORD', 'Kata Sandi');
define('VAL_STR_PASSCODE', 'Kode Sandi');
define('VAL_STR_CONFIRM_PASSCODE', 'Konfirmasi Kode Sandi');
define('VAL_STR_EXPIRATION_DATE', 'Tanggal habis tempo');
define('VAL_STR_DEPOSIT_METHOD', 'Metode Deposit'); define('VAL_STR_DEPOSIT_METHOD', 'Metode Deposit');
define('VAL_STR_JA', 'ja'); define('VAL_STR_JA', 'ja');
define('VAL_STR_UPLOAD_FILE', 'Unggah File'); define('VAL_STR_UPLOAD_FILE', 'Unggah File');
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
//-----------------------------------------------------------------------// //-----------------------------------------------------------------------//
define('VAL_STR_USER_NAME', '登录ID'); define('VAL_STR_USER_NAME', '登录ID');
define('VAL_STR_PASSWORD', '密码'); define('VAL_STR_PASSWORD', '密码');
define('VAL_STR_PASSCODE', '密码');
define('VAL_STR_CONFIRM_PASSCODE', '确认密码');
define('VAL_STR_EXPIRATION_DATE', '截止日期');
define('VAL_STR_DEPOSIT_METHOD', '转入类型'); define('VAL_STR_DEPOSIT_METHOD', '转入类型');
define('VAL_STR_JA', 'ja'); define('VAL_STR_JA', 'ja');
define('VAL_STR_UPLOAD_FILE', '上传文件'); define('VAL_STR_UPLOAD_FILE', '上传文件');
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
//-----------------------------------------------------------------------// //-----------------------------------------------------------------------//
define('VAL_STR_USER_NAME', '登入ID'); define('VAL_STR_USER_NAME', '登入ID');
define('VAL_STR_PASSWORD', '密碼'); define('VAL_STR_PASSWORD', '密碼');
define('VAL_STR_PASSCODE', '密碼');
define('VAL_STR_CONFIRM_PASSCODE', '確認密碼');
define('VAL_STR_EXPIRATION_DATE', '截止日期');
define('VAL_STR_DEPOSIT_METHOD', '帳戶儲值類型'); define('VAL_STR_DEPOSIT_METHOD', '帳戶儲值類型');
define('VAL_STR_JA', 'ja'); define('VAL_STR_JA', 'ja');
define('VAL_STR_UPLOAD_FILE', '上傳文件'); define('VAL_STR_UPLOAD_FILE', '上傳文件');
......
...@@ -147,6 +147,19 @@ class DBAccess extends Cnnector { ...@@ -147,6 +147,19 @@ class DBAccess extends Cnnector {
return($result); return($result);
} }
public function rawSQL($sqlString){
$result = NO_STRING;
if(!($result = mysqli_query($this -> getConnection(), $sqlString))) {
throw new Exception($this -> getMessage(ERROR, 'E_SQL_EXE_ERROR', array($sqlString)), -1);
}
$rtnArr = $this -> setResultForArray($result);
$this -> afterProc($result);
return $rtnArr;
}
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* @function_name: 発行SQLへパラメータ設定 * @function_name: 発行SQLへパラメータ設定
* @detail : 対象のSQLを取得する * @detail : 対象のSQLを取得する
...@@ -190,7 +203,7 @@ class DBAccess extends Cnnector { ...@@ -190,7 +203,7 @@ class DBAccess extends Cnnector {
// パラメータ変換後のSQLを返却する // パラメータ変換後のSQLを返却する
return $sqlString; return $sqlString;
} }
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* @function_name: SQL発行の後処理を行う * @function_name: SQL発行の後処理を行う
* @detail : 取得した結果セットを開放する * @detail : 取得した結果セットを開放する
......
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
TEMPLATE_DEPT_EDIT_PATH=tmp_dept_edit.php TEMPLATE_DEPT_EDIT_PATH=tmp_dept_edit.php
TEMPLATE_DEPT_INPUT_PATH=tmp_dept_input.php TEMPLATE_DEPT_INPUT_PATH=tmp_dept_input.php
TEMPLATE_DEPT_LIST_PATH=tmp_dept_list.php TEMPLATE_DEPT_LIST_PATH=tmp_dept_list.php
TEMPLATE_DEVELOPER_CHANGE_PASSCODE_PATH=tmp_developer_change_passcode.php
TEMPLATE_DEVELOPER_EDIT_CRED_PATH=tmp_developer_edit_cred.php
TEMPLATE_DEVELOPER_NEW_CRED_CONFIRM_PATH=tmp_developer_new_cred_confirm.php
TEMPLATE_DEVELOPER_NEW_CRED_PATH=tmp_developer_new_cred.php
TEMPLATE_DEVELOPER_PATH=tmp_developer.php
TEMPLATE_EXCHANGE_RATE_PATH=tmp_exchange_rate.php TEMPLATE_EXCHANGE_RATE_PATH=tmp_exchange_rate.php
TEMPLATE_FUNCTION_DETAIL_PATH=tmp_function_detail.php TEMPLATE_FUNCTION_DETAIL_PATH=tmp_function_detail.php
TEMPLATE_FUNCTION_EDIT_PATH=tmp_function_edit.php TEMPLATE_FUNCTION_EDIT_PATH=tmp_function_edit.php
......
...@@ -537,8 +537,14 @@ ...@@ -537,8 +537,14 @@
Invalid currency. The currency you are trying to use is currently not supported. Invalid currency. The currency you are trying to use is currently not supported.
</E_INVALID_CURRENCY_VALUE_LBTC> </E_INVALID_CURRENCY_VALUE_LBTC>
<E_PROCESS_OWN_MONEY_REQUEST> <E_PROCESS_OWN_MONEY_REQUEST>
無効な動作です。お客様のご依頼は処理できかねます。 無効な動作です。お客様のご依頼は処理できかねます。
</E_PROCESS_OWN_MONEY_REQUEST> </E_PROCESS_OWN_MONEY_REQUEST>
<E_INVALID_DATE>
無効な日付
</E_INVALID_DATE>
<E_DEVELOPER_TOOLS_NOT_ALLOWED>
  ブラウザの開発者ツールでデータを編集する可能性がありません。
</E_DEVELOPER_TOOLS_NOT_ALLOWED>
<E_ERROR_UPLOAD_FILE_TYPE> <E_ERROR_UPLOAD_FILE_TYPE>
無効なファイルタイプ。 CSVファイルを選択してもう一度お試しください。 無効なファイルタイプ。 CSVファイルを選択してもう一度お試しください。
</E_ERROR_UPLOAD_FILE_TYPE> </E_ERROR_UPLOAD_FILE_TYPE>
......
...@@ -622,6 +622,12 @@ ...@@ -622,6 +622,12 @@
<E_PROCESS_OWN_MONEY_REQUEST> <E_PROCESS_OWN_MONEY_REQUEST>
Invalid Action. Your request cannot be processed. Invalid Action. Your request cannot be processed.
</E_PROCESS_OWN_MONEY_REQUEST> </E_PROCESS_OWN_MONEY_REQUEST>
<E_INVALID_DATE>
Invalid Date
</E_INVALID_DATE>
<E_DEVELOPER_TOOLS_NOT_ALLOWED>
Data Modification using Developer Tools is not allowed.
</E_DEVELOPER_TOOLS_NOT_ALLOWED>
<E_ERROR_NOT_IN_HELP2PAY> <E_ERROR_NOT_IN_HELP2PAY>
Sorry this option is not available. Please use another deposit method. Sorry this option is not available. Please use another deposit method.
......
...@@ -494,7 +494,9 @@ ...@@ -494,7 +494,9 @@
<E_PROCESS_OWN_MONEY_REQUEST> <E_PROCESS_OWN_MONEY_REQUEST>
Invalid Action. Your request cannot be processed. Invalid Action. Your request cannot be processed.
</E_PROCESS_OWN_MONEY_REQUEST> </E_PROCESS_OWN_MONEY_REQUEST>
<E_INVALID_DATE>
Tanggal tidak berlaku
</E_INVALID_DATE>
<E_ERROR_NOT_IN_HELP2PAY> <E_ERROR_NOT_IN_HELP2PAY>
Maaf, opsi ini tidak tersedia. Silakan gunakan metode deposit lain. Maaf, opsi ini tidak tersedia. Silakan gunakan metode deposit lain.
</E_ERROR_NOT_IN_HELP2PAY> </E_ERROR_NOT_IN_HELP2PAY>
......
...@@ -571,6 +571,9 @@ ...@@ -571,6 +571,9 @@
<E_PROCESS_OWN_MONEY_REQUEST> <E_PROCESS_OWN_MONEY_REQUEST>
无效动作无法执行。 无效动作无法执行。
</E_PROCESS_OWN_MONEY_REQUEST> </E_PROCESS_OWN_MONEY_REQUEST>
<E_INVALID_DATE>
失效日期
</E_INVALID_DATE>
<E_ERROR_WITHDRAW_HIGH_RISK> <E_ERROR_WITHDRAW_HIGH_RISK>
您的交易请求无法处理。请联系我们的客户支持以获取帮助。 您的交易请求无法处理。请联系我们的客户支持以获取帮助。
</E_ERROR_WITHDRAW_HIGH_RISK> </E_ERROR_WITHDRAW_HIGH_RISK>
......
...@@ -571,6 +571,9 @@ ...@@ -571,6 +571,9 @@
<E_PROCESS_OWN_MONEY_REQUEST> <E_PROCESS_OWN_MONEY_REQUEST>
無效動作無法執行。 無效動作無法執行。
</E_PROCESS_OWN_MONEY_REQUEST> </E_PROCESS_OWN_MONEY_REQUEST>
<E_INVALID_DATE>
失效日期
</E_INVALID_DATE>
<E_ERROR_WITHDRAW_HIGH_RISK> <E_ERROR_WITHDRAW_HIGH_RISK>
您的交易請求無法處理。請聯繫我們的客戶支持以獲取幫助。 您的交易請求無法處理。請聯繫我們的客戶支持以獲取幫助。
</E_ERROR_WITHDRAW_HIGH_RISK> </E_ERROR_WITHDRAW_HIGH_RISK>
......
...@@ -11489,8 +11489,18 @@ WHERE ...@@ -11489,8 +11489,18 @@ WHERE
__ELEMENT01__ __ELEMENT01__
ORDER BY ORDER BY
create_time DESC create_time DESC
__ELEMENT02__
</LIST_LOG_POST> </LIST_LOG_POST>
<COUNT_LOG_POST>
SELECT
count(*) as log_ctr
FROM
t_log_post
WHERE
1
__ELEMENT01__
</COUNT_LOG_POST>
<!-- <!--
入金フラグの修正 入金フラグの修正
...@@ -11748,6 +11758,117 @@ WHERE ...@@ -11748,6 +11758,117 @@ WHERE
WHERE token_value = __ELEMENT01__ WHERE token_value = __ELEMENT01__
</SELECT_TRANSACTION_TOKEN> </SELECT_TRANSACTION_TOKEN>
<LIST_DEV_CREDENTIALS>
SELECT
dev_id,
dev_key,
dev_secret_key,
dev_expiration,
dev_exec_counter,
dev_last_exec,
create_time,
update_time
FROM
t_dev_tools_creds
WHERE 1 __ELEMENT01__
</LIST_DEV_CREDENTIALS>
<COUNT_DEV_CREDENTIALS>
SELECT count(*) AS creds_ctr
FROM
t_dev_tools_creds
WHERE 1 __ELEMENT01__
</COUNT_DEV_CREDENTIALS>
<SELECT_DEV_CREDENTIAL>
SELECT
dev_secret_key,
dev_passcode,
dev_ip_addresses,
dev_expiration
FROM
t_dev_tools_creds
WHERE
dev_key = '__ELEMENT01__'
</SELECT_DEV_CREDENTIAL>
<INSERT_DEV_CREDENTIAL>
INSERT INTO t_dev_tools_creds (
dev_key,
dev_passcode,
dev_ip_addresses,
dev_expiration,
dev_secret_key,
dev_exec_counter,
dev_last_exec,
create_time,
update_time
) values (
'__ELEMENT01__',
'__ELEMENT02__',
'__ELEMENT03__',
'__ELEMENT04__',
'__ELEMENT05__',
'__ELEMENT06__',
'__ELEMENT07__',
'__ELEMENT08__',
'__ELEMENT09__'
)
</INSERT_DEV_CREDENTIAL>
<UPDATE_DEV_CREDENTIAL_DETAILS>
UPDATE t_dev_tools_creds
SET
dev_expiration = '__ELEMENT02__',
dev_ip_addresses = '__ELEMENT03__',
update_time = '__ELEMENT04__'
WHERE
dev_key = '__ELEMENT01__'
</UPDATE_DEV_CREDENTIAL_DETAILS>
<UPDATE_DEV_CREDENTIAL_PASSCODE>
UPDATE t_dev_tools_creds
SET
dev_passcode = '__ELEMENT02__',
update_time = '__ELEMENT03__'
WHERE
dev_key = '__ELEMENT01__'
</UPDATE_DEV_CREDENTIAL_PASSCODE>
<UPDATE_DEV_CREDENTIAL_EXECUTION>
UPDATE t_dev_tools_creds
SET
dev_exec_counter = dev_exec_counter + 1,
dev_last_exec = '__ELEMENT02__'
WHERE
dev_key = '__ELEMENT01__'
</UPDATE_DEV_CREDENTIAL_EXECUTION>
<DELETE_DEV_CREDENTIAL>
DELETE from t_dev_tools_creds
WHERE dev_key = '__ELEMENT01__'
</DELETE_DEV_CREDENTIAL>
<SELECT_DEV_SETTING>
SELECT
dev_setting_id,
dev_setting_value,
dev_setting_enabled
FROM
t_dev_tool_settings
WHERE
dev_setting_id = '__ELEMENT01__'
</SELECT_DEV_SETTING>
<UPDATE_DEV_SETTING>
UPDATE
t_dev_tool_settings
SET
dev_setting_value = '__ELEMENT02__'
WHERE
dev_setting_id = '__ELEMENT01__'
</UPDATE_DEV_SETTING>
<!-- <!--
CUP入金一時データの過去1時間データ CUP入金一時データの過去1時間データ
条 件:口座番号 条 件:口座番号
......
<?php
require_once(SYSTEM_LOGICS . 'developer/logic.php');
class ControlDeveloper extends LogicDeveloper {
/*-------------------------------------------------------------------------
* @ メン�?変数
-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------
* @function_name: ロジック�?�コンストラクタ
* @parameter : �?��?�
* @return : �?��?�
-------------------------------------------------------------------------*/
public function __construct() {
parent::__construct();
}
/*-------------------------------------------------------------------------
* @function_name: コントロールパ�?ルシステム動画データ編集ロジック(�?�クラス共通)
* @parameter : �?��?�
* @return : �?��?�
-------------------------------------------------------------------------*/
public function action() {
try {
// アクション実行
$this -> logic();
if($this -> getType() == TYPE_NEW_DEV_CREDENTIAL){
require_once($this -> getSystemHTML('TEMPLATE_DEVELOPER_NEW_CRED_PATH'));
}else if($this -> getType() == TYPE_NEW_DEV_CREDENTIAL_CONFIRM){
require_once($this -> getSystemHTML('TEMPLATE_DEVELOPER_NEW_CRED_CONFIRM_PATH'));
}else if($this -> getType() == TYPE_DEV_CREDENTIAL_EDIT){
require_once($this -> getSystemHTML('TEMPLATE_DEVELOPER_EDIT_CRED_PATH'));
}else if($this -> getType() == TYPE_DEV_CREDENTIAL_MODIFY_PASSCODE){
require_once($this -> getSystemHTML('TEMPLATE_DEVELOPER_CHANGE_PASSCODE_PATH'));
}else{
require_once($this -> getSystemHTML('TEMPLATE_DEVELOPER_PATH'));
}
} catch(Exception $e){
header("Location: /");
}
}
}
<?php
require_once(SYSTEM_LOGICS . 'developer/model.php');
class LogicDeveloper extends DeveloperModelClass {
/*-------------------------------------------------------------------------
* @function_name:
* @parameter :
* @return :
-------------------------------------------------------------------------*/
public function __construct() {
parent::__construct();
}
/*-------------------------------------------------------------------------
* @function_name: ロジック(�?�クラス共通)
* @parameter :
* @return :
-------------------------------------------------------------------------*/
public function logic() {
try {
if($this -> init()){
switch($this -> getType()){
case TYPE_NEW_DEV_CREDENTIAL_COMPLETE:{
$this -> insertActivity();
$this -> insertDevCredential();
$this -> lists();
break;
}
case TYPE_DEV_CREDENTIAL_UPDATE:{
$this -> insertActivity();
$this -> updateDevCredential();
$this -> lists();
break;
}
case TYPE_DEV_CREDENTIAL_PASSCODE_UPDATE:{
$this -> insertActivity();
$this -> updateDevCredPasscode();
$this -> lists();
break;
}
case TYPE_DEV_CREDENTIAL_DELETE:{
$this -> insertActivity();
$this -> deleteDevCredential();
$this -> lists();
break;
}
default:
$this -> lists();
break;
}
}else
$this -> lists();
} catch (Exception $e) {
throw $e;
}
}
/*-------------------------------------------------------------------------
* @function_name: 出金リスト
* @parameter :
* @return :
-------------------------------------------------------------------------*/
public function lists() {
$whereClause = $this -> getWhere();
$rowCount = $this -> getColumnData($this -> getRowData($this -> accessSelect("COUNT_DEV_CREDENTIALS",
[$whereClause])), "creds_ctr");
$this -> setTotal($rowCount);
$start = ($this -> getTargetPage() - VAL_INT_1) * VAR_DEFAULT_PAGE_COUNT;
$whereClause .= " LIMIT {$start}, ".VAR_DEFAULT_PAGE_COUNT;
$this -> setResult($this -> accessSelect("LIST_DEV_CREDENTIALS", [$whereClause]));
}
public function insertDevCredential(){
$this -> accessModify("INSERT_DEV_CREDENTIAL", $this -> getDevCredentialsData());
$this -> popUpSessionMessage(INFO, 'I_COMPLATE_REGIST', array());
}
public function updateDevCredential(){
$this -> accessModify("UPDATE_DEV_CREDENTIAL_DETAILS", $this -> getUpdatedDevData());
$this -> popUpSessionMessage(INFO, 'I_COMPLATE_REGIST', array());
}
public function updateDevCredPasscode(){
$this -> accessModify("UPDATE_DEV_CREDENTIAL_PASSCODE", $this -> getUpdatedDevCredPasscode());
$this -> popUpSessionMessage(INFO, 'I_COMPLATE_REGIST', array());
}
public function deleteDevCredential(){
$this -> accessModify("DELETE_DEV_CREDENTIAL", [$this -> getFieldValue("devKey")]);
$this -> popUpSessionMessage(INFO, 'I_COMPLATE_DELETE', array());
}
public function insertActivity(){
$this -> accessModify('INSERT_ACTIVITY', $this -> getActivity());
}
}
This diff is collapsed.
...@@ -19,12 +19,12 @@ class LogicTransactionLogs extends TransactionLogsModelClass { ...@@ -19,12 +19,12 @@ class LogicTransactionLogs extends TransactionLogsModelClass {
function logic() { function logic() {
try { try {
// 初期データ処理 // 初期データ処理
if($this -> init()){ $this -> init();
$this -> lists();
}else{
$this -> lists();
}
if($this -> getMethod() == "From_DB"){
$this -> lists();
}
} catch (Exception $e) { } catch (Exception $e) {
throw $e; throw $e;
} }
...@@ -40,8 +40,16 @@ class LogicTransactionLogs extends TransactionLogsModelClass { ...@@ -40,8 +40,16 @@ class LogicTransactionLogs extends TransactionLogsModelClass {
$where = null; $where = null;
$where = $this -> getWhere(); $where = $this -> getWhere();
$where[VAL_INT_1] = NO_STRING;
$count = $this -> getColumnData($this -> getRowData($this -> accessSelect('COUNT_LOG_POST', $where), NO_COUNT),
"log_ctr");
$this -> setCount($count);
$start = ($this -> getTargetPage() - VAL_INT_1) * VAR_DEFAULT_PAGE_COUNT;
$where[VAL_INT_1] = ' LIMIT ' . $start . DELIMIT_COMMA . VAR_DEFAULT_PAGE_COUNT;
$this -> setResult($this -> accessSelect('LIST_LOG_POST', $where)); $this -> setResult($this -> accessSelect('LIST_LOG_POST', $where));
//var_dump($where);
} }
} }
?> ?>
\ No newline at end of file
...@@ -12,6 +12,8 @@ class TransactionLogsModelClass extends ModelClassEx { ...@@ -12,6 +12,8 @@ class TransactionLogsModelClass extends ModelClassEx {
private $url = NO_STRING; private $url = NO_STRING;
private $ip = NO_STRING; private $ip = NO_STRING;
private $count = NO_COUNT;
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* @function_name: コントロールパネルシステムindexモデルクラスコンストラクタ * @function_name: コントロールパネルシステムindexモデルクラスコンストラクタ
* @parameter : なし * @parameter : なし
...@@ -167,7 +169,7 @@ class TransactionLogsModelClass extends ModelClassEx { ...@@ -167,7 +169,7 @@ class TransactionLogsModelClass extends ModelClassEx {
$total = count($merged['merged']); $total = count($merged['merged']);
}else{ }else{
$total = count($this -> rs); $total = $this -> count;
} }
echo $this -> getPagerCommon($this -> getTargetPage() echo $this -> getPagerCommon($this -> getTargetPage()
, $this -> getTotalPageCommon(VAR_DEFAULT_PAGE_COUNT, $total) , $this -> getTotalPageCommon(VAR_DEFAULT_PAGE_COUNT, $total)
...@@ -225,6 +227,15 @@ class TransactionLogsModelClass extends ModelClassEx { ...@@ -225,6 +227,15 @@ class TransactionLogsModelClass extends ModelClassEx {
echo $rtn; echo $rtn;
} }
/*-------------------------------------------------------------------------
* @function_name: setCount
* @parameter :
* @return :
-------------------------------------------------------------------------*/
function setCount($count){
$this -> count = $count;
}
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* @function_name: getMethod * @function_name: getMethod
* @parameter : * @parameter :
...@@ -316,13 +327,7 @@ class TransactionLogsModelClass extends ModelClassEx { ...@@ -316,13 +327,7 @@ class TransactionLogsModelClass extends ModelClassEx {
$where .= ' AND (post LIKE (\')%'. $this -> post .'%(\'))'; $where .= ' AND (post LIKE (\')%'. $this -> post .'%(\'))';
} }
$start = ($this -> getTargetPage() - VAL_INT_1) * VAR_DEFAULT_PAGE_COUNT;
$end = $this -> getTargetPage() * VAR_DEFAULT_PAGE_COUNT;
$page = ' LIMIT ' . $start . DELIMIT_COMMA . VAL_INT_50;
$rtn[] = $where; $rtn[] = $where;
$rtn[] = $page;
return $rtn; return $rtn;
} }
......
...@@ -201,6 +201,14 @@ ...@@ -201,6 +201,14 @@
if($this -> checkAdminUserAccess('OLOG', array(''))){ if($this -> checkAdminUserAccess('OLOG', array(''))){
?> ?>
<li><a href="admin_log">操作ログ</a></li> <li><a href="admin_log">操作ログ</a></li>
<?php }
if($this -> checkAdminUserAccess('ADVT', array(''))){
?>
<li><a href="advertisements">広告</a></li>
<?php }
if($this -> checkAdminUserAccess('DEVF', array(''))){
?>
<li><a href="developer">開発者向けのオプション</a></li>
<?php } <?php }
?> ?>
</ul> </ul>
......
<?php
$page_title = "開発者向けのオプション";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<div class="aside-heading">
<div class="btns">
<input type="button" id="btnNewCredential" name="btnNewCredential" value="登録" class="btn bg-default px70 hi22"/>&nbsp;
<input type="button" id="btnSearch" name="btnNewCredential" value="検索" class="btn bg-default px60 hi22"/>&nbsp;
</div>
</div>
<form id="searchForm" action="" method="post">
<table class="conditions fontS w100p">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>DEVキー</th>
<td><input type="text" id="sDevKey" name="sDevKey" value="<?=$this -> getFieldValue("sDevKey")?>" class="w100p"></td>
</tr>
<tr>
<th>シークレットキー</th>
<td><input type="text" id="sExecutionCounter" name="sExecutionCounter" value="<?=$this -> getFieldValue("sExecutionCounter")?>" class="w100p"></td>
</tr>
<tr>
<td colspan="2" class="divider"><hr /></td>
</tr>
<tr>
<td colspan="2">
<span class="th">満了日</span>
<?php $this -> dispDateRangeFlg("expireDateSearch"); ?>
<input type="text" id="expireDateFrom" name="expireDateFrom" value="<?=$this -> getFieldValue("expireDateFrom")?>" class="px110"> -
<input type="text" id="expireDateTo" name="expireDateTo" value="<?=$this -> getFieldValue("expireDateTo")?>" class="px110">
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">最後実行日</span>
<?php $this -> dispDateRangeFlg("executionDateSearch"); ?>
<input type="text" id="executionDateFrom" name="executionDateFrom" value="<?=$this -> getFieldValue("executionDateFrom")?>" class="px110"> -
<input type="text" id="executionDateTo" name="executionDateTo" value="<?=$this -> getFieldValue("executionDateTo")?>" class="px110">
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">作成日</span>
<?php $this -> dispDateRangeFlg("createDateSearch"); ?>
<input type="text" id="createDateFrom" name="createDateFrom" value="<?=$this -> getFieldValue("createDateFrom")?>" class="px110"> -
<input type="text" id="createDateTo" name="createDateTo" value="<?=$this -> getFieldValue("createDateTo")?>" class="px110">
</td>
</tr>
<tr>
<td colspan="2">
<span class="th">最後変更日</span>
<?php $this -> dispDateRangeFlg("updateDateSearch"); ?>
<input type="text" id="updateDateFrom" name="updateDateFrom" value="<?=$this -> getFieldValue("updateDateFrom")?>" class="px110"> -
<input type="text" id="updateDateTo" name="updateDateTo" value="<?=$this -> getFieldValue("updateDateTo")?>" class="px110">
</td>
</tr>
</table>
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
<?php $this -> dispPager(); ?>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="POST">
<table class="table col bdr default odd w100p fontXS calign">
<thead>
<tr>
<th class="w4p">DEVキー</th>
<th class="w4p">シークレットキー</th>
<th class="w4p">満了日</th>
<th class="w4p">実行カウンター</th>
<th class="w4p">最後実行日</th>
<th class="w4p">作成日</th>
<th class="w4p">最後変更日</th>
<th class="w9p" aria-hidden="true"></th>
</tr>
</thead>
<tbody>
<?php $this -> echoList(); ?>
</tbody>
</table>
<input type="hidden" name="type" id="type"/>
<input type="hidden" name="developer_key" id="developer_key"/>
</form>
<div class="article-bottom">
<?php $this -> dispPager(); ?>
</div>
</article>
</div>
</div>
<input type="hidden" id="confirm_delete_devcred" value="開発者向けのクレデンシャルを削除してもよろしいですか?"/>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "パスコードを編集 [{$this -> getFieldValue("devKey")}]";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<form id="searchForm" action="" method="post">
<div class="aside-heading">
<div class="btns">
</div>
</div>
<p class="calign">
</p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="POST">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>新しいパスコード</th>
<td>
<input type="password" id="passcode" name="passcode" class="w30p"/>
</td>
</tr>
<tr>
<th>確認パスコード</th>
<td>
<input type="password" id="confirm_passcode" name="confirm_passcode" class="w30p">
</td>
</tr>
</table>
<p class="calign">
<input type="button" id="btnBackEdit" value="戻る" class="btn bg-default px80 hi25"/>&emsp;
<input type="button" id="btnSavePasscode" value="保存" class="btn bg-grad px80 hi25">
</p>
<input type="hidden" value="action" id="type" name="type" />
<input type="hidden" id="developer_key" name="developer_key" value="<?=$this -> getFieldValue("devKey")?>"/>
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "DEVクレデンシャルを編集";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<div class="aside-heading">
<div class="btns">
<input type="button" id="btnChangePasscode" name="btnChangePasscode" value="パスコードを編集"
class="btn bg-default px120 hi22"/>&nbsp;
</div>
</div>
<p class="calign">
</p>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="post">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>DEVキー</th>
<td>
<input type="text" id="dkey_view"
value="<?=$this->getFieldValue("devKey")?>" class="w30p" disabled="disabled">
<input type="hidden" value="<?=$this->getFieldValue("devKey")?>" id="developer_key" name="developer_key">
</td>
</tr>
<tr>
<th>満了日</th>
<td>
<input type="text" id="expiration_date" name="expiration_date"
value="<?=$this->getFieldValue("expirationDate")?>" class="w30p">
</td>
</tr>
<tr>
<th>IPアドレス</th>
<td>
<textarea id="ipAddresses" name="ipAddresses" rows="10" cols="50"><?=$this -> getFieldValue("ipAddresses")?></textarea>
</td>
</tr>
</table>
<input type="hidden" value="action" id="type" name="type" />
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<p class="calign">
<a href="" class="btn bg-default">&laquo; 戻る</a>&emsp;
<input type="button" id="btnSave" value="保存" class="btn bg-grad px80 hi25">
</p>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "新規信任状を追加";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<form id="searchForm" action="" method="post">
<div class="aside-heading">
<div class="btns">
</div>
</div>
<p class="calign">
</p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<?php $this -> echoMessage(); ?>
<form id="acForm" action="" method="post">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>DEVキー</th>
<td>
<input type="text" id="developer_key" name="developer_key"
value="<?=$this->getFieldValue("devKey")?>" class="w30p">
</td>
</tr>
<tr>
<th>パスコード</th>
<td>
<input type="password" id="passcode" name="passcode"
value="<?=$this->getFieldValue("passcode")?>" class="w30p" autocomplete="new-password">
</td>
</tr>
<tr>
<th>確認パスコード</th>
<td>
<input type="password" id="confirm_passcode" name="confirm_passcode"
value="<?=$this->getFieldValue("confirmPasscode")?>" class="w30p">
</td>
</tr>
<tr>
<th>満了日</th>
<td>
<input type="text" id="expiration_date" name="expiration_date"
value="<?=$this->getFieldValue("expirationDate")?>" class="w30p">
</td>
</tr>
</table>
<input type="hidden" value="action" id="type" name="type" />
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<p class="calign">
<a href="" class="btn bg-default">&laquo; 戻る</a>&emsp;
<input type="button" id="btnConfirm" value="確認" class="btn bg-grad px80 hi25">
</p>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
<?php
$page_title = "新規信任状を確認";
include_once('template/base_head.php');
?>
<aside id="colLeft">
<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
<form id="searchForm" action="" method="post">
<div class="aside-heading">
<div class="btns">
</div>
</div>
<p class="calign">
</p>
<input type="hidden" value="" id="s_type" name="type" />
</form>
</aside>
<div id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
<div class="article-heading">
<h2><?php echo $page_title; ?> </h2>
</div>
<form id="acForm" action="" method="post">
<table class="table col bdr default odd w60p fontXS m_auto mb20">
<colgroup>
<col class="w40p">
<col class="w60p">
</colgroup>
<tr>
<th>DEVキー</th>
<td>
<?=$this->getFieldValue("devKey")?>
<input type="hidden" id="developer_key" name="developer_key"
value="<?=$this->getFieldValue("devKey")?>" class="w30p"/>
</td>
</tr>
<tr>
<th>パスコード</th>
<td>
<code>隠し中情報</code>
</td>
</tr>
<tr>
<th>確認パスコード</th>
<td>
<code>隠し中情報</code>
</td>
</tr>
<tr>
<th>満了日</th>
<td>
<?=$this->getFieldValue("expirationDate")?>
<input type="hidden" id="expiration_date" name="expiration_date"
value="<?=$this->getFieldValue("expirationDate")?>" class="w30p"/>
</td>
</tr>
</table>
<input type="hidden" id="passcode" name="passcode" value="<?=$_SESSION["dev_cred_passcode"]?>" />
<input type="hidden" id="passcode" name="confirm_passcode" value="<?=$_SESSION["dev_cred_passcode"]?>" />
<input type="hidden" id="type" name="type" />
<!-- Language Transition Data (Anton) 04/23/2016 -->
<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
<!-- /Language Transition Data -->
</form>
<p class="calign">
<input type="button" id="btnBackInput" value="戻る" class="btn bg-default px80 hi25"/>&emsp;
<input type="button" id="btnAddNewCred" value="作成" class="btn bg-grad px80 hi25">
</p>
<div class="article-bottom">
</div>
</article>
</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/developer.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment