Commit 64ac3643 authored by platyhouse's avatar platyhouse

. - encrypted

parent 9223fe70
<?
/** @var platyFramework\ptyForms $form */
?>
<script src="/lib/ckeditor/ckeditor.js"></script>
<div class="row">
<div class="col-md-12">
<!-- Horizontal Form -->
<div class="box box-info">
<form class="form-horizontal" method="post" action="<?= $postUrl ?>" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?= $item->id ?>">
<div class="box-body">
<div class='col-md-12'>
<? if ($this->request->functionName == "edit") { ?>
<?= $form->getDateTime("가입일", "regDateTime", "required placeholder='2018-01-01 00:00:00'"); ?>
<? } ?>
<?= $form->getSelect("활성화여부", "enabled", array ("활성화" => "1", "비활성화" => 0)); ?>
<?= $form->getInput("서비스ID", "serviceId"); ?>
<?= $form->getInput("타이틀", "title"); ?>
<?= $form->getInput("사용모듈", "modules"); ?>
<?= $form->getFile("서비스이미지", "serviceImageUrl"); ?>
<?= $form->getInput("API Key", "apiKey"); ?>
</div>
</div>
<div class="box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
<button type="submit" class="btn btn-info">저장</button>
</div>
</form>
</div>
<? echo $this->callAction("onServiceBottomView", $this); ?>
</div>
</div>
...@@ -37,7 +37,7 @@ namespace platyFramework; ...@@ -37,7 +37,7 @@ namespace platyFramework;
<? <?
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'] ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER["REMOTE_ADDR"]; $ip = $_SERVER['HTTP_X_FORWARDED_FOR'] ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER["REMOTE_ADDR"];
if ($ip == "59.11.116.126" || $ip == "121.157.84.92") { ?> if ($ip == "59.11.116.126" || $ip == "121.157.84.92" || $ip == "221.153.38.6") { ?>
<?= $form->getInput("Apps API Access Token", "platyHouseAppsApiAccessToken", ""); ?> <?= $form->getInput("Apps API Access Token", "platyHouseAppsApiAccessToken", ""); ?>
<? } ?> <? } ?>
......
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