Commit df8ca34f authored by platyhouse's avatar platyhouse

first commit

parents
Pipeline #105 canceled with stages

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

config_db.php
admin/config_db.php
x_*
data/*
config_db.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php/platyFrameworkRoute/$1 [L,QSA]
# git 폴더 제외
RewriteRule "^(.*/)?\.git/" - [F,L]
# .gitignore 파일 제외
RewriteRule ".gitignore" - [F,L]
\ No newline at end of file
RewriteEngine On
RewriteBase /admin
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php/platyFrameworkRoute/$1 [L,QSA]
# git 폴더 제외
RewriteRule "^(.*/)?\.git/" - [F,L]
# .gitignore 파일 제외
RewriteRule ".gitignore" - [F,L]
../data
\ No newline at end of file
PLATYFRAMEWORK.PLATYHOUSE.COM fXҥֵ I3&OR$(d{d4ZM9,D /]7>0,F|M\CAJe jʴ^?lIW0AY"=It-
\ No newline at end of file
../data
\ No newline at end of file
File added
File added
File added
PLATYFRAMEWORK.PLATYHOUSE.COM .ZLB6})2P)R-_NOEUV9׬FW|M\CAJe jʴ^?lIW0AY"F=,
\ No newline at end of file
<?php
namespace platyFramework;
/** @var ptyFormModel $form */
?>
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/ckeditor/ckeditor.js"></script>
<section class="content-header">
<h1>
<?= $title ?>
<small><?= $title_desc ?></small>
</h1>
<ol class="breadcrumb">
<li><a href="<?= $this->request->appUrl ?>"><i class="fa fa-dashboard"></i> Home</a>
</li>
</ol>
</section>
<section class="content">
<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->getInput("등록ID", "userId"); ?>
<?= $form->getSelect("노출여부", "enabled", array("활성화" => "1", "비활성화" => 0)); ?>
<?= $form->getInput("테마명", "themeName"); ?>
<?= $form->getInput("name", "name"); ?>
<?= $form->getSelect("position", "position", [
"초기화" => "init",
"상단" => "header",
"메인 (크기만큼)" => "main",
"메인 (가득채움)" => "main2",
"메인 (스크롤)" => "main3",
"하단" => "footer",
]); ?>
<?= $form->getInput("노출순서", "priority"); ?>
<?= $form->getSelect("classType", "classType",
[
"메뉴바 A (ConstructTitleBarA)" => "ConstructTitleBarA",
"페이징 탭 A (ConstructPagerA)" => "ConstructPagerA",
"-----1" => "-----------------------",
"목록 A (ConstructItemsA)" => "ConstructItemsA",
"-----2" => "-----------------------",
"에드몹 배너 A (ConstructAdmobBannerA)" => "ConstructAdmobBannerA",
"-----3" => "-----------------------",
"글 읽기 초기화 (ConstructBoardItemInitA)" => "ConstructBoardItemInitA",
"글 제목바 A (ConstructBoardTitleA)" => "ConstructBoardTitleA",
"글 본문 A (ConstructBoardItemA)" => "ConstructBoardItemA",
"글 댓글 내용 A (ConstructBoardCommentsA)" => "ConstructBoardCommentsA",
"글 상태 바 A (ConstructBoardStatusBarA)" => "ConstructBoardStatusBarA",
"글 댓글 쓰기 (ConstructBoardCommentWriteA)" => "ConstructBoardCommentWriteA",
"-----4" => "-----------------------",
"유튜브 재생 본문 A (ConstructYoutubeBoardItemA)" => "ConstructYoutubeBoardItemA",
"유튜브 컨르롤러 A (ConstructYoutubeControllerA)" => "ConstructYoutubeControllerA",
"유튜브 컨르롤러 B (ConstructYoutubeControllerB)" => "ConstructYoutubeControllerB",
"유튜브 미니 재생바 A (ConstructYoutubeMiniPlayerA)" => "ConstructYoutubeMiniPlayerA",
"-----5" => "-----------------------",
"이미지 노출 (ConstructImageA)" => "ConstructImageA",
"스크롤 영역 (ConstructScrollA)" => "ConstructScrollA",
"-----6" => "-----------------------",
"검색바 노출 (ConstructSearchBarA)" => "ConstructSearchBarA",
"-----6" => "-----------------------",
"설정 메뉴 (ConstructSettingA)" => "ConstructSettingA",
"회원 로그인 (ConstructSignInA)" => "ConstructSignInA",
"회원 정보 수정 (ConstructUserProfileEditA)" => "ConstructUserProfileEditA",
"-----7" => "-----------------------",
"구분선 (ConstructDividerA)" => "ConstructDividerA",
"흐르는 게시물 제목 (ConstructMarqueeBoardTitleA)" => "ConstructMarqueeBoardTitleA",
]
);
?>
<?= $form->getInput("target", "target"); ?>
<?= $form->getInput("action", "action"); ?>
<?= $form->getSelect("viewType", "viewType",
[
"Activity" => "Activity",
"Fragment" => "Fragment"
]); ?>
<?= $form->getInput("data Name", "data", "", "id=data_json"); ?>
<? if (false) { ?>
<div class='form-group'>
<label class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<link href="<?= $this->request->appUrl ?>/../modules/appconstruct/jsoneditor/jsoneditor.min.css"
rel="stylesheet" type="text/css">
<script src="<?= $this->request->appUrl ?>/../modules/appconstruct/jsoneditor/jsoneditor.min.js"></script>
<div id="jsoneditor" style="width: 400px; height: 400px;"></div>
<script>
// create the editor
var container = document.getElementById("jsoneditor");
var options = {};
var editor = new JSONEditor(container, options);
/*
// set json
var json = {
"Array": [1, 2, 3],
"Boolean": true,
"Null": null,
"Number": 123,
"Object": {"a": "b", "c": "d"},
"String": "Hello World"
};
*/
editor.setText('<?=html_entity_decode($item->data)?>')
// editor.set(json);
// get json
var json = editor.get();
</script>
</div>
</div>
<? } ?>
<?= $form->getInput("styles", "styles"); ?>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary">저장</button>
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
</div>
</form>
</div>
</div>
</div>
</section>
PLATYFRAMEWORK.PLATYHOUSE.COM bNР` 4հlΨw <QBV\PtL~uPٯK]D#Klb*!I R>t<j5٘=VJ`VQ=Ms\р.k[Ԛ`X?y !ĭ쎴>1|;":nb1\tW]<ƒE j
'ńW u>H$Z0U#"(AJ0df(2t)pXsLxURF "*݀+[a0%gxn5 ^<B"cyp8Ca齭
\ No newline at end of file
PLATYFRAMEWORK.PLATYHOUSE.COM fFWpGwMT+TNZ1Ȏ?1 ">@7/µȌG"RWx3Oq袯b~b諒IQŗ |YZlI
,YYHM8pz)o7^&Cn8."'cErfOvZ'nY(Ǽw^1ِeD& dcv~;ɶ6u[YhN kN˚کNSi6&yG9tl%[="1>~2EƭsNK}=z@A7ܵ^ļwj3'8Li,]`ꥺ'
X}-E1#\M6PoUXzmo~A&q'۹k;ܒc&I-?f߰b$=_3>MYf9,HC=e,Hyj53O. T3Z `2Pˡ#iY(;67tZeDl{_C+evBu͒`'.-i-'ͅ>de+[{(vTs.ʀrbv Z~-˩T._ 3=_]d6 bz^.HnDqM="˘\;4yL@r,dk '!v04s ܈V A{?d=|D3WCd=
Dbzއc!
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Which files do I need?
Ehhh, that's quite some files in this dist folder. Which files do I need?
## Full version
If you're not sure which version to use, use the full version.
Which files are needed when using the full version?
- jsoneditor.min.js
- jsoneditor.map (optional, for debugging purposes only)
- jsoneditor.min.css
- img/jsoneditor-icons.svg
## Minimalist version
The minimalist version has excluded the following libraries:
- `ace` (via `brace`), used for the code editor.
- `ajv`, used for JSON schema validation.
- `vanilla-picker`, used as color picker.
This reduces the the size of the minified and gzipped JavaScript file
from about 210 kB to about 70 kB (one third).
When to use the minimalist version?
- If you don't need the mode "code" and don't need JSON schema validation.
- Or if you want to provide `ace` and/or `ajv` yourself via the configuration
options, for example when you already use Ace in other parts of your
web application too and don't want to bundle the library twice.
- You don't need the color picker, or want to provide your own
color picker using `onColorPicker`.
Which files are needed when using the minimalist version?
- jsoneditor-minimalist.min.js
- jsoneditor-minimalist.map (optional, for debugging purposes only)
- jsoneditor.min.css
- img/jsoneditor-icons.svg
<?php
namespace platyFramework;
/**
* View 파일 입니다
*
* @var ptyFormModel $form
* @var ptyTableItemModel $item
*/
?>
<section class="content-header">
<h1>
<?= $title ?>
<small><?= $title_desc ?></small>
</h1>
<ol class="breadcrumb">
<li><a href="<?= $this->request->appUrl ?>"><i class="fa fa-dashboard"></i> Home</a>
</li>
</ol>
</section>
<form class="form-horizontal" method="post" action="<?= $postUrl ?>" enctype="multipart/form-data">
<section class="content">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">기본 정보</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
</div>
<div class="box-body pad">
<input type="hidden" name="id" value="<?= $item->id ?>">
<? if ($this->request->ip == "61.77.83.16") { ?>
<?= $form->getInput("안드로이드 패키지명 설정", "androidPackageName", "placeholder='com.xxx.xxx'"); ?>
<div class="form-group">
<label class="col-sm-2 control-label">앱 설치 URL</label>
<?
$url1 = "http://" . $_SERVER['HTTP_HOST'];
$url2 = "https://play.google.com/store/apps/details?id=" . $this->config->mobileapp->packageName;
?>
<div class="col-sm-10">
<input readonly type="text" id="packageName" name="" value="<?= $url1 ?>"
class="form-control" xstyle="width: 90%; display: inline-block">
<? if (FALSE) { ?>
<input readonly type="text" id="packageName" name="" value="<?= $url2 ?>"
class="form-control" xstyle="width: 90%; display: inline-block">
<? } ?>
</div>
</div>
<? } ?>
<?= $form->getFile2("Intro 화면 설정", "introImage"); ?>
<div class="form-group">
<label class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<div class="alert alert-info alert-dismissible">
<h4><i class="icon fa fa-info"></i>안내</h4>
* <b>Intro 화면 설정</b>은 모바일에서 빠른 로딩을 위해 <b>jpg</b> 형식의 이미지를 꼭 설정하세요.
</div>
<b><font color="blue"></font></b><br>
</div>
</div>
<?= $form->getInput("설정 > 문의&제안 설정", "askUrl"); ?>
<div class="col-md-12">
<div class="form-group">
<label class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<b>아래처럼 파란 부분을 입력해 주세요</b><br>
<div class="row">
<div class="col-sm-2">전화 걸게 하기</div>
<div class="col-sm-10"><font color="blue">tel://010-1234-1234</font>
</div>
</div>
<div class="row">
<div class="col-sm-2">URL로 이동 시키기</div>
<div class="col-sm-10"><font color="blue">http://www.daum.net</font>
</div>
</div>
<div class="row">
<div class="col-sm-2">이메일을 보내게 하기</div>
<div class="col-sm-10"><font color="blue">mailto:email@email.com</font>
</div>
</div>
</div>
</div>
</div>
<?= $form->getInput("앱 테마 설정", "themeName", "", ""); ?>
<?= $form->getInput("앱 기본 색상 설정", "backgroundColor", "", "화면의 {appBackgroundColor} 를 대체합니다"); ?>
<? $o = ""; $this->callAction("onAdminTableItemsEditBottom", $this, $o); echo $o; ?>
</div>
<div class="box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
<button type="submit" class="btn btn-info pull-left">저장</button>
</div>
</div>
</section>
</form>
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/ckeditor/ckeditor.js"></script>
\ No newline at end of file
PLATYFRAMEWORK.PLATYHOUSE.COM SRrv;e`фݣLK~aAw&q83b+qGyNP4"t':J =HmdLɓ\1bGcr΂tp|by%+L޶0ȮJ><6N'fCE  !;Ǣ@H=>;I=bڳS9@l|4Bx*/8HR-|fC{W/g3p u֨=JM]Hshit@q"9)U`󂄹 "C ǢSUF3Ӭ!AC~fu܌1Oct`i>-cgj5aB@)mxDn}Ih 1A
\ No newline at end of file
<section class="content-header">
<h1>
유튜브 등록
<small>유튜브를 아주 손쉽게 게시판의 컨텐츠로 추가할 수 있습니다.</small>
</h1>
<ol class="breadcrumb">
<li><a href="<?= $this->request->appUrl ?>"><i class="fa fa-dashboard"></i> Home</a>
</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">등록할 Youtube 키워드를 입력하세요</h3>
<Br>
<Br>
<form method="get" action=".">
<div class="input-group input-group-sm" style="width: 300px;">
<input type="text" name="q" class="form-control pull-right"
placeholder="검색할 Youtube 제목을 입력하세요" value="<?= $this->request->get['q'] ?>">
<input type="hidden" name="sq_boardName"
value="<?= $this->request->req->sq_boardName ?>">
<input type="hidden" name="sq_categoryName"
value="<?= $this->request->req->sq_categoryName ?>">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
<div class="box-tools">
</div>
</div>
<? if ($this->request->req->q) { ?>
<!-- /.box-header -->
<form role="form" method="post" action="<?= $this->request->classUrl ?>/registerProcess/<?=ptyStayParams()?>">
<input type="hidden" name="sq_boardName"
value="<?= $this->request->req->sq_boardName ?>">
<input type="hidden" name="sq_categoryName"
value="<?= $this->request->req->sq_categoryName ?>">
<div class="box-body table-responsive">
<table class="table table-hover">
<tbody>
<tr>
<th><input type="checkbox" class="toggle-all" checked></th>
<th>번호</th>
<th>이미지</th>
<th>제목</th>
<th>Youtube ID</th>
<th>기능</th>
</tr>
<? foreach ($json['items'] as $i => $item) { ?>
<tr>
<td><input type="checkbox" name="cb[]" value="<?= $item['id']['videoId'] ?>"
checked></td>
<td><?= ($i + 1) ?></td>
<td width="200"><img
src="<?= $item['snippet']['thumbnails']['default']['url'] ?>"></td>
<td><?= $item['snippet']['title'] ?></td>
<td><?= $item['id']['videoId'] ?></td>
<td><a target=_blank
href="https://www.youtube.com/watch?v=<?= $item['id']['videoId'] ?>">Youtube
에서 새창으로 보기</a></td>
</tr>
<? } ?>
</tbody>
</table>
<div class="box-footer">
<div class="col-sm-3 text-left">
<input type="submit" class="btn btn-primary" value="선택 등록">
</div>
</div>
</div>
</form>
<? } ?>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</section>
<script>
$(document).ready(function () {
$('.toggle-all').click(function () {
$('input[type="checkbox"]').prop('checked', this.checked)
})
});
</script>
관리자 게시판에 Youtube 등록하기 기능을 추가합니다
PLATYFRAMEWORK.PLATYHOUSE.COM S,I.nuZ<BS8+j4-a$'3IE.ݒf钤N65}#++Kj )%?%=Xj7{*EtX2?p
dQw2}ÜW#Fe':(h):7__#qJ +>*aq;Tudkr޶tdqŪUs7"7Bc{j
\ No newline at end of file
PLATYFRAMEWORK.PLATYHOUSE.COM d"&}#ب;<oL,OiRVC>2D\)b<QT݅V\٭i4pz!+WjᩳLtRSW<%Λ3-Q?V 329AIN?gCT<5&*I Hc-$RiZ/[/ bݮ%n=3j~
\ No newline at end of file
</div>
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 1.0.0
</div>
<strong>Copyright &copy; 2018.</strong> All rights
reserved.
</footer>
<!-- Control Sidebar -->
<? if (false) { ?>}
<aside class="control-sidebar control-sidebar-dark">
<!-- Create the tabs -->
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
<li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
<li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<!-- Home tab content -->
<div class="tab-pane" id="control-sidebar-home-tab">
<h3 class="control-sidebar-heading">Recent Activity</h3>
<ul class="control-sidebar-menu">
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-birthday-cake bg-red"></i>
<div class="menu-info">
<h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
<p>Will be 23 on April 24th</p>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-user bg-yellow"></i>
<div class="menu-info">
<h4 class="control-sidebar-subheading">Frodo Updated His Profile</h4>
<p>New phone +1(800)555-1234</p>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-envelope-o bg-light-blue"></i>
<div class="menu-info">
<h4 class="control-sidebar-subheading">Nora Joined Mailing List</h4>
<p>nora@example.com</p>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-file-code-o bg-green"></i>
<div class="menu-info">
<h4 class="control-sidebar-subheading">Cron Job 254 Executed</h4>
<p>Execution time 5 seconds</p>
</div>
</a>
</li>
</ul>
<!-- /.control-sidebar-menu -->
<h3 class="control-sidebar-heading">Tasks Progress</h3>
<ul class="control-sidebar-menu">
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Custom Template Design
<span class="label label-danger pull-right">70%</span>
</h4>
<div class="progress progress-xxs">
<div class="progress-bar progress-bar-danger" style="width: 70%"></div>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Update Resume
<span class="label label-success pull-right">95%</span>
</h4>
<div class="progress progress-xxs">
<div class="progress-bar progress-bar-success" style="width: 95%"></div>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Laravel Integration
<span class="label label-warning pull-right">50%</span>
</h4>
<div class="progress progress-xxs">
<div class="progress-bar progress-bar-warning" style="width: 50%"></div>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Back End Framework
<span class="label label-primary pull-right">68%</span>
</h4>
<div class="progress progress-xxs">
<div class="progress-bar progress-bar-primary" style="width: 68%"></div>
</div>
</a>
</li>
</ul>
<!-- /.control-sidebar-menu -->
</div>
<!-- /.tab-pane -->
<!-- Settings tab content -->
<div class="tab-pane" id="control-sidebar-settings-tab">
<form method="post">
<h3 class="control-sidebar-heading">General Settings</h3>
<div class="form-group">
<label class="control-sidebar-subheading">
Report panel usage
<input type="checkbox" class="pull-right" checked>
</label>
<p>
Some information about this general settings option
</p>
</div>
<!-- /.form-group -->
<div class="form-group">
<label class="control-sidebar-subheading">
Allow mail redirect
<input type="checkbox" class="pull-right" checked>
</label>
<p>
Other sets of options are available
</p>
</div>
<!-- /.form-group -->
<div class="form-group">
<label class="control-sidebar-subheading">
Expose author name in posts
<input type="checkbox" class="pull-right" checked>
</label>
<p>
Allow the user to show his name in blog posts
</p>
</div>
<!-- /.form-group -->
<h3 class="control-sidebar-heading">Chat Settings</h3>
<div class="form-group">
<label class="control-sidebar-subheading">
Show me as online
<input type="checkbox" class="pull-right" checked>
</label>
</div>
<!-- /.form-group -->
<div class="form-group">
<label class="control-sidebar-subheading">
Turn off notifications
<input type="checkbox" class="pull-right">
</label>
</div>
<!-- /.form-group -->
<div class="form-group">
<label class="control-sidebar-subheading">
Delete chat history
<a href="javascript:void(0)" class="text-red pull-right"><i class="fa fa-trash-o"></i></a>
</label>
</div>
<!-- /.form-group -->
</form>
</div>
<!-- /.tab-pane -->
</div>
</aside>
<? } ?>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed
immediately after the control sidebar -->
<div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->
<? require_once(PLATYFRAMEWORK_MODULE_DIR . "/ptyadmin/resources/ptyAdmin.html"); ?>
<!-- FastClick -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/dist/js/adminlte.js"></script>
<!-- Sparkline -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- SlimScroll -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<!-- ChartJS -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/bower_components/chart.js/Chart.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<!--<script src="--><?//= $this->request->systemUrl ?><!--/modules/ptyadmin/resources/AdminLTE-2.4.5/dist/js/pages/dashboard2.js"></script>-->
<!-- AdminLTE for demo purposes -->
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/AdminLTE-2.4.5/dist/js/demo.js"></script>
<? if (true) { ?>
<script src="<?= $this->request->moduleUrl ?>/ptyadmin/resources/ptyAdmin.js"></script>
<link rel="stylesheet" href="<?= $this->request->moduleUrl ?>/ptyadmin/resources/ptyAdmin.css">
<link type="text/css" rel="stylesheet" href="<?= $this->request->systemUrl ?>/modules/ptycommon/resources/animate.css">
<? } ?>
<?= $o = ""; $this->callAction("onAdminFooter",$o); echo $o; ?>
</body>
</html>
<script>
/*
$(document).ready(function () {
// Warning
$(window).on('beforeunload', function(){
return "Any changes will be lost";
});
// Form Submit
$(document).on("submit", "form", function(event){
// disable warning
$(window).off('beforeunload');
console.log("beforeunload disable");
});
});
*/
</script>
<script>
var needsCheckBeforeUnload = false;
$(function () {
$(window).bind('beforeunload', function (e) {
e = e || window.event;
if (!needsCheckBeforeUnload)
return;
if (e) { // For IE<8 and Firefox prior to version 4
e.returnValue = '입력한 데이터가 유실됩니다!';
}
return '입력한 데이터가 유실됩니다!'; // For Chrome, Safari, IE8+ and Opera 12+
});
$("select,input,textarea").change(function () {
needsCheckBeforeUnload = true;
});
$('form').submit(function () {
$(window).unbind('beforeunload');
});
});
</script>
This diff is collapsed.
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">검색 : <?= $tableName ?></h3>
<div class="box-tools">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="text" name="table_search" class="form-control pull-right" placeholder="Search">
<div class="input-group-btn">
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
</div>
</div>
</div>
</div>
<!-- /.box-header -->
<? // ptyDebug($items[0]); ?>
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<tr>
<? foreach ($items[0] as $k => $v) { ?>
<th><?= $k ?></th>
<? } ?>
</tr>
<? foreach ($items as $i => $item) { ?>
<tr>
<? foreach ($item as $k => $v) {
$colorV = ptyCutStr($v, 300);
$vv = explode(" ", $this->request->req->q);
// ptyDebug($vv);
foreach ($vv as $vvv) {
$colorV = str_replace($vvv, "<span style='background-color: yellow;'>{$vvv}</span>", $colorV);
}
$href = "";
if ($itemsUrl != "" && $k == 'id') {
$sq = "sq_`{$tableName}`_`$k`";
$sv = urlencode("\"$v\"");
$href = "<a class='btn btn-xs btn-primary' href='{$itemsUrl}/?$sq=$sv'>이동</a>";
}
?>
<td style="white-space: nowrap; "><?=$href?><?= $colorV ?></a></td>
<? } ?>
</tr>
<? } ?>
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
\ No newline at end of file
This diff is collapsed.
<?php
namespace platyFramework;
/**
* @var theme $this
*/
?>
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Search
<small>All</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Search</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<? $out = "";
$this->callAction("onAdminSearchAll", $this->request->req->q, $out);
echo $out; ?>
</section>
<!-- /.content -->
<body class="hold-transition login-page">
<div class="login-box">
<div class="login-logo">
<a href="http://platyhouse.com"><b>Admin</b>istrator</a>
</div>
<!-- /.login-logo -->
<div class="login-box-body">
<form method="post" action="<?= $this->request->classUrl ?>/signIn/<?= ptyRebuildParams() ?>" enctype="multipart/form-data">
<!-- <form action="/platyFramework/modules/ptyadmin/resources/AdminLTE-2.4.5/index2.html" method="post">-->
<div class="form-group has-feedback">
<input name=userId type="text" class="form-control" placeholder="Email">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input name=password type="password" class="form-control" placeholder="Password">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
<? if (false) { ?>
<div class="col-xs-8">
<div class="checkbox icheck">
<label>
<input type="checkbox"> Remember Me
</label>
</div>
</div>
<? } ?>
<!-- /.col -->
<div class="col-xs-12">
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
</div>
<!-- /.col -->
</div>
</form>
<? if (false) { ?>
<div class="social-auth-links text-center">
<p>- OR -</p>
<a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign in using
Facebook</a>
<a href="#" class="btn btn-block btn-social btn-google btn-flat"><i class="fa fa-google-plus"></i> Sign in using
Google+</a>
</div>
<!-- /.social-auth-links -->
<a href="#">I forgot my password</a><br>
<a href="register.html" class="text-center">Register a new membership</a>
<? } ?>
<br>
<p class="login-box-msg" style="font-size: 12px; color: red;">* 관리자 시스템은 모든 로그가 기록되며<Br> 지속적인 로그인을 시도 및 해킹, 관리자에 준하는<br>이용자 외의 사용자가 이용할 경우 손해배상 및 법적 조치를 취하게 됨을 알려드립니다.</p>
</div>
<!-- /.login-box-body -->
</div>
<!-- /.login-box -->
<!-- iCheck -->
<script src="<?=$this->request->systemUrl?>/modules/ptyadmin/resources/AdminLTE-2.4.5/plugins/iCheck/icheck.min.js"></script>
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '20%' /* optional */
});
});
</script>
</body>
<?
namespace platyFramework;
/** @var ptyFormModel $form */
?>
<section class="content-header">
<h1>
<?= $title ?>
<small><?= $title_desc ?></small>
</h1>
<ol class="breadcrumb">
<li><a href="<?= $this->request->appUrl ?>"><i class="fa fa-dashboard"></i> Home</a>
</li>
</ol>
</section>
<form class="form-horizontal" method="post" action="<?= $postUrl ?>" enctype="multipart/form-data">
<section class="content">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">기본 정보</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
</div>
<div class="box-body pad">
<input type="hidden" name="id" value="<?= $item->id ?>">
<div class='col-md-12'>
<? if ($this->request->functionName == "edit") { ?>
<?= $form->getDateTime("등록일", "regDateTime", "placeholder='2018-01-01 00:00:00'"); ?>
<? } ?>
<?= $form->getInput("고객ID", "customerUserId"); ?>
<?= $form->getFile("이미지", "previewImageUrl"); ?>
<?= $form->getTextEdit("텍스트뷰", ""); ?>
</div>
</div>
<div class="box box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
<button type="submit" class="btn btn-info">저장</button>
</div>
</div>
<div class="box box-primary collapsed-box">
<div class="box-header with-border">
<h3 class="box-title">기타 정보</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="box-body pad">
<?= $form->getInput("Youtube<br>URL 1", "youtubeUrl1"); ?>
<?= $form->getTextEdit("작업 내용", "equipmentContent"); ?>
<?= $form->getFile("작업이미지1", "equipmentImage1"); ?>
</div>
<div class="box box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
<button type="submit" class="btn btn-primary">저장</button>
</div>
</div>
<div class="box box-primary collapsed-box">
<div class="box-header with-border">
<h3 class="box-title">기타 정보 2</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="box-body pad">
<?= $form->getInput("조회수", "readCount"); ?>
</div>
<div class="box box-footer">
<button type="button" class="btn btn-default ptyGoBack pull-right">취소</button>
<button type="submit" class="btn btn-info">저장</button>
</div>
</div>
</section>
</form>
<script src="<?=$this->request->systemUrl?>/modules/ptyadmin/resources/AdminLTE-2.4.5/bower_components/ckeditor/ckeditor.js"></script>
This diff is collapsed.
This diff is collapsed.
PLATYFRAMEWORK.PLATYHOUSE.COM fKp_o hgˁXnd%8McWCET+vF q GS\j~3m0ʾ$d7+l ](NR#&!Raw2cc+c#gdPu_fwV-#DŽA^U4/|.r3} S앂qWg#rl7NF
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
*.DS_Store
*.log
*.zip
.idea
.sass-cache/
/nbproject/
/nbproject/private/
/node_modules/
ad.js
TODO
test.html
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"name": "Flot",
"version": "0.8.3",
"main": "jquery.flot.js",
"dependencies": {
"jquery": ">= 1.2.6"
}
}
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