Commit a906a58e authored by platyhouse's avatar platyhouse

- encrypted

parent fdaaac84
Pipeline #125 canceled with stages
#created by https://www.gitignore.io/api/phpstorm config_db.php
### PhpStorm ### config.php
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm admin/config_db.php
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 config.php
# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
# Gradle:
.idea/**/gradle.xml
.idea/**/libraries
# CMake
cmake-build-debug/
# Mongo Explorer plugin:
.idea/**/mongoSettings.xml
## File-based project format:
*.iws
## Plugin-specific files:
# IntelliJ
/out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
### PhpStorm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr
# Sonarlint plugin
.idea/sonarlint
# End of https://www.gitignore.io/api/phpstorm
.idea/*
x_* x_*
*.log
application/data/*
admin/data/*
data/* data/*
# storyshare
config_db.php config_db.php
license.php
git_*
admin/config_db.php
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PublishConfigData" autoUpload="Always" promptOnRemoteOverwrite="CHECK_CONTENT" serverName="dev.makerslean.platyhouse.com" notifyRemoteChanges="true">
<serverData>
<paths name="dev.makerslean.platyhouse.com">
<serverdata>
<mappings>
<mapping deploy="/www" local="$PROJECT_DIR$" web="/" />
</mappings>
</serverdata>
</paths>
</serverData>
<option name="myAutoUpload" value="ALWAYS" />
</component>
</project>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JSHintConfiguration" version="2.10.2" use-config-file="true" use-custom-config-file="true" custom-config-file-path="$PROJECT_DIR$/modules/ptyadmin/resources/AdminLTE-2.4.5/build/js/.jshintrc">
<option bitwise="true" />
<option browser="true" />
<option curly="true" />
<option eqeqeq="true" />
<option forin="true" />
<option maxerr="50" />
<option noarg="true" />
<option noempty="true" />
<option nonew="true" />
<option strict="true" />
<option undef="true" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/makerslean_www_src.git.phpstorm.iml" filepath="$PROJECT_DIR$/.idea/makerslean_www_src.git.phpstorm.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WebServers">
<option name="servers">
<webServer id="6017186a-e67d-4b65-b2a4-5209e1553d4d" name="cargomax - az365.co.kr" url="http://az365.co.kr">
<fileTransfer host="az365.co.kr" port="22" rootFolder="/home/hosting_users/amazon365" accessType="SFTP" authAgent="true">
<advancedOptions>
<advancedOptions dataProtectionLevel="Private" passiveMode="true" shareSSLContext="true" />
</advancedOptions>
<option name="port" value="22" />
</fileTransfer>
</webServer>
</option>
</component>
</project>
\ No newline at end of file
This diff is collapsed.
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -32,6 +32,7 @@ namespace platyFramework; ...@@ -32,6 +32,7 @@ namespace platyFramework;
<?= $form->getInput("테마명", "themeName"); ?> <?= $form->getInput("테마명", "themeName"); ?>
<?= $form->getInput("name", "name"); ?> <?= $form->getInput("name", "name"); ?>
<?= $form->getInput("parentName", "parentName"); ?>
<?= $form->getSelect("position", "position", [ <?= $form->getSelect("position", "position", [
"초기화" => "init", "초기화" => "init",
"상단" => "header", "상단" => "header",
...@@ -43,10 +44,15 @@ namespace platyFramework; ...@@ -43,10 +44,15 @@ namespace platyFramework;
<?= $form->getInput("노출순서", "priority"); ?> <?= $form->getInput("노출순서", "priority"); ?>
<?= $form->getSelect("classType", "classType", <?= $form->getSelect("classType", "classType",
[ [
"Activity" => "Activity",
"Fragment" => "Fragment",
"메뉴바 A (ConstructTitleBarA)" => "ConstructTitleBarA", "메뉴바 A (ConstructTitleBarA)" => "ConstructTitleBarA",
"메뉴바 B (ConstructTitleBarB)" => "ConstructTitleBarB",
"페이징 탭 A (ConstructPagerA)" => "ConstructPagerA", "페이징 탭 A (ConstructPagerA)" => "ConstructPagerA",
"페이징 탭 A (ConstructPagerB)" => "ConstructPagerB",
"-----1" => "-----------------------", "-----1" => "-----------------------",
"목록 A (ConstructItemsA)" => "ConstructItemsA", "목록 A (ConstructItemsA)" => "ConstructItemsA",
"상품목록 A (ConstructShopItemsA)" => "ConstructShopItemsA",
"-----2" => "-----------------------", "-----2" => "-----------------------",
"에드몹 배너 A (ConstructAdmobBannerA)" => "ConstructAdmobBannerA", "에드몹 배너 A (ConstructAdmobBannerA)" => "ConstructAdmobBannerA",
"-----3" => "-----------------------", "-----3" => "-----------------------",
...@@ -56,6 +62,11 @@ namespace platyFramework; ...@@ -56,6 +62,11 @@ namespace platyFramework;
"글 댓글 내용 A (ConstructBoardCommentsA)" => "ConstructBoardCommentsA", "글 댓글 내용 A (ConstructBoardCommentsA)" => "ConstructBoardCommentsA",
"글 상태 바 A (ConstructBoardStatusBarA)" => "ConstructBoardStatusBarA", "글 상태 바 A (ConstructBoardStatusBarA)" => "ConstructBoardStatusBarA",
"글 댓글 쓰기 (ConstructBoardCommentWriteA)" => "ConstructBoardCommentWriteA", "글 댓글 쓰기 (ConstructBoardCommentWriteA)" => "ConstructBoardCommentWriteA",
"-----3.1" => "-----------------------",
"상품Item 읽기 초기화 (ConstructShopItemInitA)" => "ConstructShopItemInitA",
"상품Item 본문 A (ConstructShopItemA)" => "ConstructShopItemA",
"상품Item 주문 A (ConstructShopOrderA)" => "ConstructShopOrderA",
"-----4" => "-----------------------", "-----4" => "-----------------------",
"유튜브 재생 본문 A (ConstructYoutubeBoardItemA)" => "ConstructYoutubeBoardItemA", "유튜브 재생 본문 A (ConstructYoutubeBoardItemA)" => "ConstructYoutubeBoardItemA",
"유튜브 컨르롤러 A (ConstructYoutubeControllerA)" => "ConstructYoutubeControllerA", "유튜브 컨르롤러 A (ConstructYoutubeControllerA)" => "ConstructYoutubeControllerA",
...@@ -68,6 +79,7 @@ namespace platyFramework; ...@@ -68,6 +79,7 @@ namespace platyFramework;
"검색바 노출 (ConstructSearchBarA)" => "ConstructSearchBarA", "검색바 노출 (ConstructSearchBarA)" => "ConstructSearchBarA",
"-----6" => "-----------------------", "-----6" => "-----------------------",
"설정 메뉴 (ConstructSettingA)" => "ConstructSettingA", "설정 메뉴 (ConstructSettingA)" => "ConstructSettingA",
"설정 메뉴 (쇼핑) (ConstructSettingShopA)" => "ConstructSettingShopA",
"회원 로그인 (ConstructSignInA)" => "ConstructSignInA", "회원 로그인 (ConstructSignInA)" => "ConstructSignInA",
"회원 정보 수정 (ConstructUserProfileEditA)" => "ConstructUserProfileEditA", "회원 정보 수정 (ConstructUserProfileEditA)" => "ConstructUserProfileEditA",
"-----7" => "-----------------------", "-----7" => "-----------------------",
......
...@@ -101,7 +101,6 @@ function createTree(&$list, $parent) ...@@ -101,7 +101,6 @@ function createTree(&$list, $parent)
<!-- Bootstrap 3.3.7 --> <!-- Bootstrap 3.3.7 -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/bootstrap/dist/js/bootstrap.min.js"></script> <script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="<?=$this->request->systemUrl?>/modules/ptycommon/resources/ptyCommon.js?<?=time()?>"></script>
<?= $o = ""; $this->callAction("onAdminHeader",$o); echo $o; ?> <?= $o = ""; $this->callAction("onAdminHeader",$o); echo $o; ?>
</head> </head>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
</ol> </ol>
</section> </section>
<section class="content"> <section class="content">
<?= $o = ""; $this->callAction("onAdminTopContent",$o); echo $o; ?>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="box"> <div class="box">
......
...@@ -27,25 +27,3 @@ ...@@ -27,25 +27,3 @@
</div> </div>
</div> </div>
</div> </div>
<div class="modal fade" id="ptyConfirmDlg">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-green">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span></button>
<h4 id="ptyConfirm_title" class="modal-title">계속 하시겠습니까?</h4>
</div>
<div class="modal-body">
<p id="ptyConfirm_content"></p>
<select class="form-control" id="ptyConfirm_select"></select>
<div class="form-group" id="ptyConfirm_select2"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">취소</button>
<button id=ptyConfirm_yesButtonTitle type="button" class="btn btn-warning"></button>
</div>
</div>
<!-- /.modal-content -->
</div>
</div>
\ No newline at end of file
...@@ -9,8 +9,6 @@ $(function () { ...@@ -9,8 +9,6 @@ $(function () {
var content2 = $(this).attr("content2"); var content2 = $(this).attr("content2");
var content3 = $(this).attr("content3"); var content3 = $(this).attr("content3");
var value = $(this).attr("value"); var value = $(this).attr("value");
var value2 = $(this).attr("value2");
var value3 = $(this).attr("value3");
// var yesButtonTitle = $(this).attr("yesButtonTitle"); // var yesButtonTitle = $(this).attr("yesButtonTitle");
ptyAdminInputPopupSubmitUrl = $(this).attr("href"); ptyAdminInputPopupSubmitUrl = $(this).attr("href");
...@@ -44,8 +42,8 @@ $(function () { ...@@ -44,8 +42,8 @@ $(function () {
*/ */
$("input[name=ptyAdminInputPopupDlg_input]").val(value); $("input[name=ptyAdminInputPopupDlg_input]").val(value);
$("input[name=ptyAdminInputPopupDlg_input2]").val(value2); $("input[name=ptyAdminInputPopupDlg_input2]").val('');
$("input[name=ptyAdminInputPopupDlg_input3]").val(value3); $("input[name=ptyAdminInputPopupDlg_input3]").val('');
$("#ptyAdminInputPopupDlg").modal(); $("#ptyAdminInputPopupDlg").modal();
$("input[name=ptyAdminInputPopupDlg_input]").focus(); $("input[name=ptyAdminInputPopupDlg_input]").focus();
return false; return false;
...@@ -56,7 +54,7 @@ $(function () { ...@@ -56,7 +54,7 @@ $(function () {
if (ptyAdminInputPopupInput3 === true) if (ptyAdminInputPopupInput3 === true)
location.href = ptyAdminInputPopupSubmitUrl + "&value=" + $("input[name=ptyAdminInputPopupDlg_input]").val() + "&value2="+ $("input[name=ptyAdminInputPopupDlg_input2]").val() + "&value3="+ $("input[name=ptyAdminInputPopupDlg_input3]").val(); location.href = ptyAdminInputPopupSubmitUrl + "&value=" + $("input[name=ptyAdminInputPopupDlg_input]").val() + "&value2="+ $("input[name=ptyAdminInputPopupDlg_input2]").val() + "&value3="+ $("input[name=ptyAdminInputPopupDlg_input3]").val();
else if (ptyAdminInputPopupInput2 === true) else if (ptyAdminInputPopupInput3 === true)
location.href = ptyAdminInputPopupSubmitUrl + "&value=" + $("input[name=ptyAdminInputPopupDlg_input]").val() + "&value2="+ $("input[name=ptyAdminInputPopupDlg_input2]").val(); location.href = ptyAdminInputPopupSubmitUrl + "&value=" + $("input[name=ptyAdminInputPopupDlg_input]").val() + "&value2="+ $("input[name=ptyAdminInputPopupDlg_input2]").val();
else else
location.href = ptyAdminInputPopupSubmitUrl + "&value=" + $("input[name=ptyAdminInputPopupDlg_input]").val(); location.href = ptyAdminInputPopupSubmitUrl + "&value=" + $("input[name=ptyAdminInputPopupDlg_input]").val();
...@@ -65,128 +63,3 @@ $(function () { ...@@ -65,128 +63,3 @@ $(function () {
}); });
}); });
var ptyConfirm_yesUrl = "";
var ptyConfirm_selectUrl = null;
var ptyConfirm_selectArray = null;
var ptyConfirm_selectArray2 = null;
var ptyConfirm_postUrl = null;
$(function () {
/**
* ptyConfirmDialog
*
* <button type="button" class="ptyConfirmDialog" content='삭제하시겠습니까?' title='삭제' yesButtonTitle='삭제' href='<?=$this->request->classUrl?>/remove/?id=<?=$item->id?>'">삭제</button>
*/
$('.ptyShowConfirmDialog').click(function (e) {
e.preventDefault();
var title = $(this).attr("title");
var content = $(this).attr("content");
var yesButtonTitle = $(this).attr("yesButtonTitle");
var selectUrl = $(this).attr("selectUrl");
var selectArray = $(this).attr("selectArray");
var selectArray2 = $(this).attr("selectArray2");
var postUrl = $(this).attr("postUrl");
ptyConfirm_yesUrl = $(this).attr("href");
ptyConfirm_selectUrl = selectUrl;
ptyConfirm_selectArray = selectArray;
ptyConfirm_selectArray2 = selectArray2;
ptyConfirm_postUrl = postUrl;
if (typeof title !== typeof undefined && title !== false) {
$("#ptyConfirm_title").html(title);
}
if (typeof content !== typeof undefined && content !== false) {
$("#ptyConfirm_content").html(content);
}
if (typeof selectUrl !== typeof undefined && selectUrl !== false) {
var $el = $('#ptyConfirm_select');
ptyPost(selectUrl, {}, function (ret, result) {
$el.html(' ');
// console.log(result.items);
$.each(result.items, function (key, value) {
// console.log('key = ' + key + ', value = ' + value);
$el.append($("<option></option>").attr("value", value).text(key));
});
$el.addClass('animated flash');
$("#ptyConfirm_select").show();
});
}
$("#ptyConfirm_select").hide();
if (typeof selectArray !== typeof undefined && selectArray !== false) {
var $el = $('#ptyConfirm_select');
ptyConfirm_selectArray = JSON.parse(ptyConfirm_selectArray);
$el.html(' ');
$.each(ptyConfirm_selectArray, function (key, value) {
// console.log('key = ' + key + ', value = ' + value);
$el.append($("<option></option>").attr("value", value).text(key));
});
$el.addClass('animated flash');
$("#ptyConfirm_select").show();
}
if (typeof selectArray2 !== typeof undefined && selectArray2 !== false) {
var $el = $('#ptyConfirm_select2');
ptyConfirm_selectArray2 = JSON.parse(ptyConfirm_selectArray2);
$el.html(' ');
$.each(ptyConfirm_selectArray2, function (key, value) {
$el.append("<div class='checkbox'><label><input type='checkbox' name='ptyConfirm_selectArray2_value' value=" + value + ">" + key + "</label></div>");
});
$el.addClass('animated flash');
$("#ptyConfirm_select").hide();
$("#ptyConfirm_select2").show();
}
if (typeof yesButtonTitle !== typeof undefined && yesButtonTitle !== false) {
$("#ptyConfirm_yesButtonTitle").html(yesButtonTitle);
}
$("#ptyConfirmDlg").modal();
return false;
});
$('#ptyConfirm_yesButtonTitle').click(function () {
$("#ptyConfirmDlg").modal('hide');
if (typeof ptyConfirm_yesUrl !== typeof undefined && ptyConfirm_yesUrl !== false) {
ptyConfirm_yesUrl = ptyConfirm_yesUrl.replace("%40value", $("#ptyConfirm_select").val());
}
if (typeof ptyConfirm_postUrl !== typeof undefined && ptyConfirm_postUrl !== false) {
if (typeof ptyConfirm_selectUrl !== typeof undefined && ptyConfirm_selectUrl !== false) {
ptyConfirm_postUrl = ptyConfirm_postUrl.replace("%40value", $("#ptyConfirm_select").val());
}
else if (typeof ptyConfirm_selectArray2 !== typeof undefined && ptyConfirm_selectArray2 !== false) {
// 콤마로 구분하여 가져옴
var valuesArray = $('input[name="ptyConfirm_selectArray2_value"]:checked').map(function () {
return this.value;
}).get().join(",");
ptyConfirm_postUrl = ptyConfirm_postUrl.replace("%40value", valuesArray);
}
}
if (typeof ptyConfirm_postUrl !== typeof undefined && ptyConfirm_postUrl !== false) {
ptyPost(ptyConfirm_postUrl, {}, function (ret, result) {
if (typeof ptyConfirm_yesUrl !== typeof undefined && ptyConfirm_yesUrl !== false) {
location.href = ptyConfirm_yesUrl;
}
else
window.location.reload();
});
return false;
}
if (typeof ptyConfirm_yesUrl !== typeof undefined && ptyConfirm_yesUrl !== false) {
location.href = ptyConfirm_yesUrl;
}
else
window.location.reload();
return false;
});
});
\ No newline at end of file
...@@ -33,37 +33,7 @@ namespace platyFramework; ...@@ -33,37 +33,7 @@ namespace platyFramework;
<input type="hidden" name="id" value="<?= $item->id ?>"> <input type="hidden" name="id" value="<?= $item->id ?>">
<?= $form->getInput("에드몹 배너 광고ID", "admobBannerId", "placeholder='ca- 형식'"); ?> <?= $form->getInput("에드몹 배너 광고ID", "admobBannerId", "placeholder='ca- 형식'"); ?>
<?= $form->getInput("에드몹 전면 광고ID", "admobFullId", "placeholder='ca- 형식'"); ?> <?= $form->getInput("에드몹 전면 광고ID", "admobFullId", "placeholder='ca- 형식'"); ?>
<div class="form-group">
<label class='col-sm-2 control-label'>
app-ads.txt 설정
</label>
<div class='col-sm-10'>
<?= $form->getTextEditRaw("app-ads.txt 설정", "appadstxt"); ?>
<b>특별한 사유가 없다면 위 영역은 빈 여백으로 놔두세요! 시스템이 자동으로 생성합니다. <a href="http://<?=$_SERVER['HTTP_HOST']?>/app-ads.txt" target="_blank">확인하러 가기</a></b><br>
(pub-xxxx 는 '에드몹 전면 광고ID' 의 광고ID 값을 자동으로 참조하게 됩니다)<br>
<br>* 구글 플레이 콘솔에 '웹사이트 항목' 을 반드시 http://<?=$_SERVER['HTTP_HOST']?> 로 설정하세요<br>
<br>
* 특별한 편집이 필요한 경우 위 내용을 입력하여 변경할 수 있으며,<br>
시스템 기본값을 원하시면 빈 여백으로 남겨두세요<br>
<br>
<?
$ptyadvertiseConfig = $this->config->getConfig("ptyadvertise");
$pubs = $ptyadvertiseConfig->admobFullId;
$pubs = explode("/", $pubs);
$pub = str_replace("ca-app-", "", $pubs[0]);
?>
<font color="green">[ 시스템 기본값 ]</font><br>
google.com, <?=$pub?>, DIRECT, f08c47fec0942fa0<br>
subdomain=<?=$_SERVER['HTTP_HOST']?><br>
</div>
</div>
</div> </div>
<div class="box-footer"> <div class="box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button> <button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
<button type="submit" class="btn btn-info pull-left">저장</button> <button type="submit" class="btn btn-info pull-left">저장</button>
......
This diff is collapsed.
This diff is collapsed.
/*
할인중독
*/
/* 체크박스 이미지 */
.chkbx input+*{background-image:url(/modules/ptyshop/resources/check_n.svg); background-repeat: no-repeat;}
.chkbx input:checked+*{background-image: url(/modules/ptyshop/resources/check_p.svg);}
/*
옵션선택 웹뷰 페이지
*/
/* 장바구니/구매하기 버튼 컬러 */
#purchase cart .btns ul li a{border:1px solid #f60e00;}
#purchase cart .btns ul li.oncart a{color: #f60e00;}
#purchase cart .btns ul li.onorder a{background-color: #f60e00;}
/* 총금액 컬러 */
#purchase cart .result .total span{color:#f60e00;}
/* 옵션 */
.container-option .btn_area .cart_btn .btn{border:1px solid #f60e00; color:#f60e00;}
.container-option .btn_area .pay_btn .btn{border:1px solid #f60e00; background-color: #f60e00;}
.container-option .result .total{color: #f60e00;}
.container-option .result .total span{color: #f60e00;}
/*
주문작성폼 페이지
*/
#app.order .order_title:before{background-color: #f60e00;}
#app.order .order_form.order_result .order_total td:before{color:#f60e00;}
#app.order .order_form.order_result .order_total td input{color:#f60e00;}
#app.order .order_submit .onpay{background-color: #f60e00;}
#app.order .order_form.tab.set #addr_form .addr_form_area .btn a {background-color:#f60e00;}
/* 결제완료 */
.complete_payment .button_area .buttom_order {border:1px solid #f60e00; color:#f60e00;}
/* 장바구니 */
.checkbox input[type="checkbox"] + label:before {background: url(/modules/ptyshop/resources/checkbox_n.svg) no-repeat;}
.checkbox input[type="checkbox"]:checked + label:before {background: url(/modules/ptyshop/resources/checkbox_p.svg) no-repeat;}
.my_cart .sold_out .option .name {color:#ff0000;}
.my_cart .total_price .prearranged strong,
.my_cart .total_price .prearranged span {color:#f60e00;}
.my_cart .button_area .buttom_order {background-color:#f60e00; border:1px solid #f60e00;}
.my_cart .total_price .result .total,
.my_cart .total_price .result .total span {color:#f60e00;}
/* 주문/결제 */
.my_order .date_search .button_list li.active button {border:1px solid #f60e00; color:#f60e00;}
.my_order .list .order_product .state .text {color:#f60e00;}
.my_order .complete .order_product .product .product_info .calc .price_goods .price strong,
.my_order .complete .order_product .product .product_info .calc .price_goods .price span {color:#f60e00;}
.my_order .order_info .individual .expire_text {color:#f60e00;}
.my_order .delivery_info .delivery_list .point_color {color:#f60e00;}
.layer_notification .layer_button_area .button.confirm {color:#f60e00;}
.layer_notification .notification_inner.customer .layer_button_area .button {background-color:#f60e00;}
/* 선물하기 */
.container-option .btn_area .gift_btn .btn {border: 1px solid #f60e00;color: #f60e00;}
.container-option .btns.gift .gift_btn .btn {background: #f60e00;}
/*.container-option .btn_area .gift_btn.new .btn:after {*/
/* background: url(/static/img/sale09/icon/tag_pd_gift.svg) no-repeat;*/
/*}*/
.container-option .btn_area .gift_btn.new .btn:before {
background: url(/static/img/sale09/icon/ico_pd_gift.svg) no-repeat;
}
.container-option .btns.gift .gift_btn .btn:before{
background: url(/static/img/sale09/icon/ico_pd_gift_p.svg) no-repeat;
}
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" id="check_n" width="22" height="22" viewBox="0 0 22 22">
<defs>
<style>
.cls-1,.cls-2,.cls-4{fill:none}.cls-1,.cls-2{stroke:#cdcdcd}.cls-2{stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px}.cls-3{stroke:none}
</style>
</defs>
<g id="check_n-2" data-name="check_n">
<g id="타원_1" class="cls-1" data-name="타원 1">
<circle cx="11" cy="11" r="11" class="cls-3"/>
<circle cx="11" cy="11" r="10.5" class="cls-4"/>
</g>
<path id="패스_1" d="M-129.764 3557.034l4 3.823 6-5.621" class="cls-2" data-name="패스 1" transform="translate(136.092 -3546.107)"/>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" id="check_p" width="22" height="22" viewBox="0 0 22 22">
<defs>
<style>
.cls-1{fill:#f60e00;stroke:#f60e00}.cls-2,.cls-4{fill:none}.cls-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px}.cls-3{stroke:none}
</style>
</defs>
<g id="타원_1" class="cls-1" data-name="타원 1">
<circle cx="11" cy="11" r="11" class="cls-3"/>
<circle cx="11" cy="11" r="10.5" class="cls-4"/>
</g>
<path id="패스_1" d="M-129.764 3557.034l4 3.823 6-5.621" class="cls-2" data-name="패스 1" transform="translate(136.092 -3546.107)"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<defs>
<style>
.cls-1{fill:#fff;stroke:#cdcdcd}.cls-2{stroke:none}.cls-3{fill:none}
</style>
</defs>
<g id="checkbox__n" transform="translate(-20 -104)">
<g id="사각형_697" class="cls-1" data-name="사각형 697" transform="translate(20 104)">
<rect width="24" height="24" class="cls-2" rx="3"/>
<rect width="23" height="23" x=".5" y=".5" class="cls-3" rx="2.5"/>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<defs>
<style>
.cls-1{fill:#f60e00}.cls-2{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px}
</style>
</defs>
<g id="checkbox_p" transform="translate(-20 -106)">
<rect id="bg" width="24" height="24" class="cls-1" rx="3" transform="translate(20 106)"/>
<g id="check_n" transform="translate(18.522 104.211)">
<path id="패스_1" d="M-129.764 3557.361l4.725 4.518 7.093-6.644" class="cls-2" data-name="패스 1" transform="translate(137.242 -3544.447)"/>
</g>
</g>
</svg>
This diff is collapsed.
function $number(num) {
return num.toFixed(0).replace(/(\d)(?=(\d{3})+$)/g, "$1,");
}
function numberMaxLength(e){
if(e.value.length > e.maxLength){
e.value = e.value.slice(0, e.maxLength);
}
}
function isPhoneNumber(_mNumber) {
var mNumber = _mNumber && _mNumber.split('-').join('');
var regPhone = /^((01[1|6|7|8|9])[1-9]+[0-9]{6,7})|(010[1-9][0-9]{7})$/;
return regPhone.test(mNumber);
}
$(".numberOnly").on('keyup', function () {
var _this = $(this);
_this.val(_this.val().replace(/[^0-9]/g,""));
});
function dateCheck(obj) {
if( !obj.start || !obj.end ) {
// 12자리 맞춤 년월일시
console.log( '시작일 혹은 종료일 누락: ', obj.start, " / ", obj.end);
return false;
}
var startdate = obj.start,
enddate = obj.end;
var now = new Date();
var year = now.getFullYear().toString(),
month = parseInt(now.getMonth()+1).toString(),
date = now.getDate().toString(),
hour = now.getHours().toString(),
min = now.getMinutes().toString(),
sec = now.getSeconds().toString(),
today;
month = month.length < 2 ? "0"+month : month;
date = date.length < 2 ? "0"+date : date;
hour = hour.length < 2 ? "0"+hour : hour;
min = min.length < 2 ? "0"+min : min;
sec = sec.length < 2 ? "0"+sec : sec;
today = year + month + date + hour + min + sec;
return (eval(today) >= eval(startdate)) && ((eval(today) <= eval(enddate)))
}
\ No newline at end of file
/**
* Common Library
* CL_PAY Common Lib PAY
*/
;(function (root, factory, undefined) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery'], function (jquery) {
return (root.CL_PAY = factory(jquery));
});
} else if (typeof exports === 'object' && module.exports) {
// CommonJS
module.exports = factory(require('jquery'));
} else {
root.CL_PAY = factory(root.jQuery);
}
}(this, function ($, undefined) {
'use strict';
/*
// Todo native bridge
*/
var pushMessage = function (obj) {
if (Object.keys(obj).length === 0) return;
if (obj.code) {
setAuthAutofill(obj);
}
if (obj.name || obj.phone ) {
// 하이픈 제거
obj.phone = obj.phone.split("-").join("");
setUserInfoAutofill(obj);
}
}
var setAuthAutofill = function (obj) {
$(".individual #bnum").val(obj.code).hide().fadeIn('slow');
}
var setUserInfoAutofill = function (obj) {
$("#dname").fadeOut('fast').fadeIn('slow').val(obj.name);
$("#dtel").fadeOut('fast').fadeIn('slow').val(obj.phone);
}
return {
pushMessage: pushMessage,
setAuthAutofill: setAuthAutofill,
setUserInfoAutofill: setUserInfoAutofill
};
}));
/**
* CL Common Library
*/
;(function (root, factory, undefined) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery'], function (jquery) {
return (root.CL = factory(jquery));
});
} else if (typeof exports === 'object' && module.exports) {
// CommonJS
module.exports = factory(require('jquery'));
} else {
root.CL = factory(root.jQuery);
}
}(this, function ($, undefined) {
'use strict';
//--
// util
//--
/**
* get QueryString parameters
* @param string url - full url
* @param string q_mark - optional question mark
*/
var queryParams = function(url, q_mark) {
url = '' + url;
var hashes = url.slice(url.indexOf((q_mark) ? q_mark : '?') + 1).split('&');
var len = hashes.length;
var pair = '';
var params = {};
for (var i = 0; i < len; i++) {
pair = hashes[i].split('=');
var key = decodeURIComponent(pair[0]); // key
if (key === url) break; // no param
var val = decodeURIComponent(pair[1]); // val
if (key) {
if (key.indexOf('[]') === -1) {
params[key] = val;
continue;
}
var arr = (Array.isArray(params[key])) ? params[key] : [];
arr.push(val);
params[key] = arr;
}
}
return params;
}
/**
* Native bridge
* @param type int - native call case
* 1001: 주소검색
* 1002: 본인인증
* 1003: 쿠폰 팝업 닫기
* 1004: 장바구니 수 갱신
* 1005: 프로모션 웹뷰 닫기
* 1006: 본인인증 타계정 존재
* 1007: 본인인증 미완료 안내
* 1008: 애드브릭스
* 1009: 점유인증 진행중
* 1010: 점유인증 만료
* 1011: 연락처 호출
* @param msg str - data
*/
function callNative(type, data, AGENT) {
var NATIVE_NS = 'Native'; // native name space
var FUNC_NAME = 'onJsResponse'; // only UIWebview
var type = (type) ? Number(type) : 0; // cast int
var msg = '';
try {
if (typeof data === 'object') msg = JSON.stringify(data);
else if (typeof data === 'undefined') msg = '';
else msg = ('' + data);
if (AGENT === 'ios') {
// window.webkit.messageHandlers.Native.postMessage({'type': type, 'msg': msg});
window.webkit.messageHandlers[NATIVE_NS].postMessage({'type': type, 'msg': msg});
} else if (AGENT === 'android') {
//window.Native.onJsResponse(type, msg);
window[NATIVE_NS][FUNC_NAME](type, msg);
} else if (AGENT === 'web') {
// WEBVIEW
console.log('callNative: ', type, data, AGENT);
}
} catch (e) {
console.log(e);
}
return true;
}
//--
// public(closure)
//--
return {
// util
queryParams: queryParams,
callNative: callNative,
};
}));
This diff is collapsed.
...@@ -31,38 +31,6 @@ namespace platyFramework; ...@@ -31,38 +31,6 @@ namespace platyFramework;
</div> </div>
<div class="box-body pad"> <div class="box-body pad">
<input type="hidden" name="id" value="<?= $item->id ?>"> <input type="hidden" name="id" value="<?= $item->id ?>">
<div class='col-md-12'>
<?= $form->getInput("Generic Access Token (V4)", "genericAccessToken", "", ""); ?>
</div>
<div class='col-md-12'>
<div class='col-md-2'>
</div>
<div class='col-md-10'>
<p>기존의 짧은글 생성기로 사용중인 Bitly API 는 Bitly 에 의해 <b>2020년 3월 1일</b>부터 사용이 금지됩니다. <br>
반드시 아래의 내용을 참고하여 Generic Access Token (V4) 항목을 입력하셔야 합니다</p>
<h1 class="animated fadeIn infinite">Generic Access Token 입력 방법</h1>
<p>1. <a target=_blank
href="https://app.bitly.com/Bk2e0oPIVP3/bitlinks/?actions=profile&actions=accessToken">https://app.bitly.com/Bk2e0oPIVP3/bitlinks/?actions=profile&actions=accessToken
접속</a> <- 클릭하세요</p>
<p>2. PASSWORD 항목에 로그인한 Bitly 의 계정 암호를 입력합니다</p>
<p>3. GENERIC ACCESS TOKEN 을 클릭합니다</p>
<p>4. COPY 클릭</p>
<p>5. 위 빈 공간에 붙여넣기 합니다</p>
<p class="animated flash infinite">6. 저장 꼭 눌러주세요!</p>
<p>* 이 기능은 유지보수를 구독하는 분에 한해 지속적으로 이용 가능하며, 미구독시 짧은글이 자동으로 생성되지 않을 수 있습니다</p>
</div>
</div>
<div class='col-md-12'>
<div class='col-md-2'>
</div>
<div class='col-md-10'>
<img align=center src="https://apps.platyhouse.com/resources/app_storyshare/bitly4.jpg"
width="60%">
</div>
</div>
<? if (false) { ?>
<div class='col-md-12'> <div class='col-md-12'>
<?= $form->getInput("Bit.ly 로그인 ID", "bitlyLoginId", "", ""); ?> <?= $form->getInput("Bit.ly 로그인 ID", "bitlyLoginId", "", ""); ?>
</div> </div>
...@@ -75,7 +43,6 @@ namespace platyFramework; ...@@ -75,7 +43,6 @@ namespace platyFramework;
<p>https://app.bitly.com/Bh8b1RLJpYs/bitlinks/?actions=accountMain&actions=settings&actions=advancedSettings&actions=apiSupport</p> <p>https://app.bitly.com/Bh8b1RLJpYs/bitlinks/?actions=accountMain&actions=settings&actions=advancedSettings&actions=apiSupport</p>
</div> </div>
</div> </div>
<? } ?>
</div> </div>
<div class="box-footer"> <div class="box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button> <button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
......
No preview for this file type
...@@ -34,7 +34,6 @@ namespace platyFramework; ...@@ -34,7 +34,6 @@ namespace platyFramework;
<div class='col-md-12'> <div class='col-md-12'>
<?= $form->getInput("서비스명 (한글)", "appTitle", "", ""); ?> <?= $form->getInput("서비스명 (한글)", "appTitle", "", ""); ?>
<?= $form->getInput("서비스명 (영문)", "appName", "", "띄어쓰기 없이 입력하세요"); ?> <?= $form->getInput("서비스명 (영문)", "appName", "", "띄어쓰기 없이 입력하세요"); ?>
<?= $form->getInput("Apps API Access Token", "platyHouseAppsApiAccessToken", ""); ?>
</div> </div>
</div> </div>
<div class="box-footer"> <div class="box-footer">
......
No preview for this file type
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