Commit 52232b31 authored by platyhouse's avatar platyhouse

.

parent 106b1626
...@@ -3,6 +3,35 @@ ...@@ -3,6 +3,35 @@
</script> </script>
<?php
$isHttps = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? true : false;
if (!$isHttps && time() < strtotime("2022-06-31")) { ?>
<div class="animated flash alert alert-error alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-bell"></i> 🟠 중요공지 🟠 개인정보 보호법에 따른 인증서 적용건 (6월 10일까지 필독 사항)</h4>
<a href="/admin/support/support/notice/">개인 정보 보호법에 따른 인증서 적용 공지가 있으니 확인해 주세요. 위 알림은 인증서 적용 후에는 자동으로 노출되지 않습니다.</a>
</div>
<?php } ?>
<?php
if (false) { ?>
require_once (PLATYFRAMEWORK_APPDIR."/../admin/controllers/support/support.php");
$n = new \platyFramework\supportSupportController();
$this->appsUrl = strstr($_SERVER['HTTP_HOST'], "dev.storyshare.platyhouse.") ? "https://dev.apps.platyhouse.com" : "https://service.storyshare.co.kr";
$this->accessToken = $n->getAccessToken();
if ($this->accessToken == "") return;
echo "
<div class='row'>
<div class='col-sm-12'>
<script type='text/javascript' src='{$this->appsUrl}/route/iframe/js/' async></script>
<div id='notice' class='AppsRoute' data-route='notice/api/show' data-params='' data-accessToken='{$this->accessToken}'></div>
</div>
</div>
";
<?php } ?>
<? if ($needUpdate) { ?> <? if ($needUpdate) { ?>
<div class="animated flash alert alert-info alert-dismissible"> <div class="animated flash alert alert-info alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
......
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