diff --git a/app/Config/Constants.php b/app/Config/Constants.php
index 99adc53..f100160 100644
--- a/app/Config/Constants.php
+++ b/app/Config/Constants.php
@@ -135,141 +135,4 @@ define('AUTH_FIELDS', [
define('DB_ACTION', [
'CREATE' => 'create',
'MODIFY' => 'modify',
-]);
-
-define("MESSENGERS", [
- "skype" => [
- "url" => "https://join.skype.com/invite/uKUgXfZThSQC",
- "icon" => '
',
- "id" => '',
- ],
- "discord" => [
- "url" => "https://discord.gg/k6nQg84N",
- "icon" => '
',
- "id" => '',
- ],
- "telegram" => [
- "url" => "https://t.me/daemonidc",
- "icon" => '
',
- "id" => '@daemonidc',
- ],
- "kakaotalk" => [
- "url" => "https://t.me/daemonidc",
- "icon" => '
',
- "id" => '',
- ],
-]);
-
-//아이콘 및 Sound관련
-define('ICONS', [
- 'LOGO' => '
',
- 'LOGIN' => '',
- 'LOGOUT' => '',
- 'HOME' => '',
- 'MENU' => '',
- 'LOCK' => '',
- 'NEW' => '',
- 'REPLY' => '',
- 'DELETE' => '',
- 'RELOAD' => '',
- 'SETUP' => '',
- 'FLAG' => '',
- 'SEARCH' => '',
- 'EXCEL' => '
',
- 'PLAY' => '',
- 'CART' => '',
- 'CARD' => '',
- 'DEPOSIT' => '',
- 'DESKTOP' => '',
- 'UP' => '',
- 'DOWN' => '',
- 'LEFT' => '',
- 'RIGHT' => '',
- 'IMAGE_FILE' => '',
- 'GOOGLE' => '',
-]);
-
-define('TOP_BANNER', [
- 'default' => '
',
- 'aboutus' => '
',
- 'member' => '
',
- 'hosting' => '
',
- 'serverdevice' => '
',
- 'service' => '
',
- 'support' => '
',
-]);
-
-define('AUDIOS', [
- 'Alram_GetEmail' => '',
-]);
-
-define('KEYWORD', '일본IDC 일본서버 일본 서버 일본호스팅 서버호스팅 디도스 공격 해외 호스팅 DDOS 방어 ddos 의뢰 디도스 보안 일본 단독서버 가상서버');
-define('LAYOUTS', [
- 'empty' => [
- 'path' => 'layouts' . DIRECTORY_SEPARATOR . 'empty',
- 'stylesheets' => [
- '',
- '',
- '',
- ],
- 'javascripts' => [
- '',
- ],
- ],
- 'front' => [
- 'title' => KEYWORD,
- 'path' => 'layouts' . DIRECTORY_SEPARATOR . 'front',
- //'topmenus' => ['aboutus', 'hosting', 'serverdevice', 'service', 'support'],
- 'topmenus' => ['aboutus', 'hosting', 'service', 'support'],
- 'metas' => [
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- ],
- 'stylesheets' => [
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- ],
- 'javascripts' => [
- '',
- '',
- '',
- '',
- '',
- ],
- ],
- 'admin' => [
- 'title' => '관리자화면',
- 'path' => 'layouts' . DIRECTORY_SEPARATOR . 'admin',
- 'stylesheets' => [
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- ],
- 'javascripts' => [
- '',
- '',
- '',
- '',
- '',
- ],
- ],
-]);
+]);
\ No newline at end of file
diff --git a/app/Config/Routes.php b/app/Config/Routes.php
index 59572a4..51d6210 100644
--- a/app/Config/Routes.php
+++ b/app/Config/Routes.php
@@ -12,12 +12,6 @@ $routes->addPlaceholder('uuid', '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}
//1. app/Filters/AuthFilter.php
//2. Config/Filters.php -> $aliases = ['authFilter' => AuthFilter::class]
$routes->get('/', 'Home::index');
-$routes->group('admin', ['namespace' => 'App\Controllers\Admin', 'filter' => 'authFilter:manager'], function ($routes) {
- $routes->get('/', 'Home::index');
- $routes->group('user', function ($routes) {
- $routes->get('/', 'UserController::index');
- });
-});
$routes->group('mangboard', ['namespace' => 'App\Controllers\Mangboard'], function ($routes) {
$routes->group('user', function ($routes) {
$routes->get('/', 'UserController::index');
@@ -32,17 +26,3 @@ $routes->group('mangboard', ['namespace' => 'App\Controllers\Mangboard'], functi
$routes->cli('(:alpha)/(:any)/(:any)', 'CrawlerController::$1/$2');
});
});
-$routes->group('cloudflare', ['namespace' => 'App\Controllers\Cloudflare'], function ($routes) {
- $routes->group('account', function ($routes) {
- $routes->get('/', 'AccountController::index');
- $routes->post('create', 'AccountController::create');
- });
- $routes->group('zone', function ($routes) {
- $routes->get('/', 'ZoneController::index');
- $routes->post('create/(:uuid)', 'RecordController::create/$1');
- });
- $routes->group('record', function ($routes) {
- $routes->get('/', 'RecordController::index');
- $routes->post('create/(:uuid)', 'RecordController::create/$1');
- });
-});
diff --git a/app/Controllers/Admin/Home.php b/app/Controllers/Admin/Home.php
deleted file mode 100644
index e1e1198..0000000
--- a/app/Controllers/Admin/Home.php
+++ /dev/null
@@ -1,13 +0,0 @@
-session = $this->session_AuthTrait();
- }
- private function getModel(): UserModel
- {
- if ($this->_model === null) {
- $this->_model = new UserModel();
- }
- return $this->_model;
- }
-}
diff --git a/app/Controllers/Cloudflare/AccountController.php b/app/Controllers/Cloudflare/AccountController.php
deleted file mode 100644
index 3bece86..0000000
--- a/app/Controllers/Cloudflare/AccountController.php
+++ /dev/null
@@ -1,71 +0,0 @@
-class_name .= "Account";
- $this->layout = LAYOUTS['admin'];
- $this->title = lang("{$this->class_name}.title");
- helper($this->class_name);
- }
- final protected function getMyLibrary(): Account
- {
- if ($this->_myLibrary === null) {
- $this->_myLibrary = new Account();
- }
- return $this->_myLibrary;
- }
- protected function create_init(): void
- {
- $this->fields = [$this->getMyLibrary()->getMyStorage()::TITLE, 'apikey', 'status'];
- $this->filter_fields = ['status'];
- $this->action = DB_ACTION['CREATE'];
- $this->getMyLibrary()->getMyStorage()->setAction($this->action);
- }
- // public function create_form(): RedirectResponse|string
- // {
- // $this->create_init();
- // return $this->create_form_process();
- // }
- protected function create_process_submit(): void
- {
- $entity = $this->getMyLibrary()->create($this->formDatas);
- }
- public function create(): RedirectResponse
- {
- $this->create_init();
- $this->formDatas = [];
- $this->getFormDatas();
- $this->convertFormDatas();
- $this->validateFormDatas();
- return parent::create_process();
- }
-
- protected function index_init(): void
- {
- $this->fields = [$this->getMyLibrary()->getMyStorage()::TITLE, 'apikey', 'status'];
- $this->filter_fields = ['status'];
- $this->action = DB_ACTION['CREATE'];
- $this->getMyLibrary()->getMyStorage()->setAction($this->action);
- helper(['form']);
- $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []];
- }
- public function index(): string
- {
- $this->create_init();
- return parent::list_process();
- }
-}
diff --git a/app/Controllers/Cloudflare/CloudflareController.php b/app/Controllers/Cloudflare/CloudflareController.php
deleted file mode 100644
index f58fe9f..0000000
--- a/app/Controllers/Cloudflare/CloudflareController.php
+++ /dev/null
@@ -1,51 +0,0 @@
-class_name = "Cloudflare/";
- $this->layout = LAYOUTS['admin'];
- $this->session = $this->session_AuthTrait();
- }
- final protected function getAccountModel(): AccountModel
- {
- if ($this->_accountModel === null) {
- $this->_accountModel = new AccountModel();
- }
- return $this->_accountModel;
- }
- final protected function getZoneModel(): ZoneModel
- {
- if ($this->_zoneModel === null) {
- $this->_zoneModel = new ZoneModel();
- }
- return $this->_zoneModel;
- }
- final protected function getRecordModel(): RecordModel
- {
- if ($this->_recordModel === null) {
- $this->_recordModel = new RecordModel();
- }
- return $this->_recordModel;
- }
- protected function modify_process_submit(): void
- {
- }
-}
diff --git a/app/Controllers/Cloudflare/RecordController.php b/app/Controllers/Cloudflare/RecordController.php
deleted file mode 100644
index 67e0d06..0000000
--- a/app/Controllers/Cloudflare/RecordController.php
+++ /dev/null
@@ -1,109 +0,0 @@
-class_name .= "Record";
- $this->layout = LAYOUTS['admin'];
- $this->title = lang("{$this->class_name}.title");
- helper($this->class_name);
- }
- final protected function getMyLibrary(): Record
- {
- if ($this->_myLibrary === null) {
- $this->_myLibrary = new Record($this->_account_entity, $this->_zone_entity);
- }
- return $this->_myLibrary;
- }
- protected function getFormFieldInputOption(string $field, array $options = []): array
- {
- switch ($field) {
- case $this->getMyLibrary()->getMyStorage()::PARENT:
- $options = [
- DEFAULTS['EMPTY'] => lang($this->_className . '.label.' . $field) . ' 선택'
- ];
- $this->getZoneModel()->where('status', DEFAULTS['STATUS']);
- $options = $this->getZoneModel()->getFormFieldInputOption($field, $options);
- break;
- default:
- $options = parent::getFormFieldInputOption($field, $options);
- break;
- }
- return $options;
- }
- //전송된 데이터
- protected function getFormData(string $field): void
- {
- switch ($field) {
- case 'hosts':
- $this->formDatas[$field] = explode("\n", $this->request->getVar($field));
- if (!is_array($this->formDatas[$field]) || !count($this->formDatas[$field])) {
- throw new \Exception("호스트명이 정의되지 않았습니다.");
- }
- break;
- default:
- $this->formDatas[$field] = $this->request->getVar($field);
- break;
- }
- }
- //전송된 데이터 검증
- protected function validateFormData(string $field): void
- {
- switch ($field) {
- case 'hosts':
- break;
- default:
- parent::validateFormData($field);
- break;
- }
- }
- protected function create_init(): void
- {
- $this->fields = [
- $this->getMyLibrary()->getMyStorage()::PARENT,
- 'type',
- 'content',
- 'proxied',
- 'hosts',
- ];
- $this->filter_fields = [$this->getMyLibrary()->getMyStorage()::PARENT, 'type', 'proxied'];
- $this->action = 'create';
- $this->getMyLibrary()->getMyStorage()->setAction($this->action);
- }
- // public function create_form(): RedirectResponse|string
- // {
- // return $this->create_form_process();
- // }
- protected function create_process_submit(): void
- {
- //Record생성
- foreach ($this->formDatas['hosts'] as $host) {
- $this->getMyLibrary()->create($host, $this->formDatas);
- }
- }
- public function create(string $zone_uid): RedirectResponse
- {
- $this->_zone_entity = $this->getZoneModel()->getEntityByPK($zone_uid);
- $this->_account_entity = $this->getAccountModel()->getEntityByPK($this->_zone_entity->getParent());
- $this->formDatas = [];
- $this->getFormDatas();
- $this->convertFormDatas();
- $this->validateFormDatas();
- return parent::create_process();
- }
-}
diff --git a/app/Controllers/Cloudflare/ZoneController.php b/app/Controllers/Cloudflare/ZoneController.php
deleted file mode 100644
index ca1d6d6..0000000
--- a/app/Controllers/Cloudflare/ZoneController.php
+++ /dev/null
@@ -1,144 +0,0 @@
-class_name .= "Zone";
- $this->layout = LAYOUTS['admin'];
- $this->title = lang("{$this->class_name}.title");
- helper($this->class_name);
- }
- final protected function getMyLibrary(): Zone
- {
- if ($this->_myLibrary === null) {
- $this->_myLibrary = new Zone($this->_account_entity);
- }
- return $this->_myLibrary;
- }
- protected function getFormFieldInputOption(string $field, array $options = []): array
- {
- switch ($field) {
- case $this->getMyLibrary()->getMyStorage()::PARENT:
- $options = [
- DEFAULTS['EMPTY'] => lang($this->_className . '.label.' . $field) . ' 선택'
- ];
- $this->getAccountModel()->where('status', DEFAULTS['STATUS']);
- $options = $this->getAccountModel()->getFormFieldInputOption($field, $options);
- break;
- case 'type':
- case 'proxied':
- $options = [
- DEFAULTS['EMPTY'] => lang("Cloudflare/Record.label." . $field) . ' 선택',
- ...lang("Cloudflare/Record.label." . strtoupper($field)),
- ];
- break;
- default:
- $options = parent::getFormFieldInputOption($field, $options);
- break;
- }
- return $options;
- }
- protected function getFormFieldRule(string $field, array $rules): array
- {
- if (is_array($field)) {
- throw new \Exception(__FUNCTION__ . "=> field가 array 입니다.\n" . var_export($field, true));
- }
- switch ($field) {
- default:
- $rules[$field] = $this->getMyLibrary()->getMyStorage()->getFieldRule($field, $rules);
- ;
- break;
- }
- return $rules;
- }
- //전송된 데이터
- protected function getFormData(string $field): void
- {
- switch ($field) {
- case 'domains':
- $this->formDatas[$field] = explode("\n", $this->request->getVar($field));
- if (!is_array($this->formDatas[$field]) || !count($this->formDatas[$field])) {
- throw new \Exception("도메인명이 정의되지 않았습니다.");
- }
- break;
- case 'hosts':
- $this->formDatas[$field] = $this->request->getVar($field);
- if (!is_array($this->formDatas[$field]) || !count($this->formDatas[$field])) {
- throw new \Exception("호스트명이 정의되지 않았습니다");
- }
- break;
- default:
- $this->formDatas[$field] = $this->request->getVar($field);
- break;
- }
- }
- //전송된 데이터 검증
- protected function validateFormData(string $field): void
- {
- switch ($field) {
- case 'domains':
- case 'hosts':
- break;
- default:
- parent::validateFormData($field);
- break;
- }
- }
- protected function create_init(): void
- {
- $this->fields = [
- $this->getMyLibrary()->getMyStorage()::PARENT,
- 'domains',
- 'hosts',
- 'type',
- 'content',
- 'proxied',
- ];
- $this->filter_fields = [$this->getMyLibrary()->getMyStorage()::PARENT, 'type', 'proxied'];
- $this->action = 'create';
- $this->getMyLibrary()->getMyStorage()->setAction($this->action);
- }
- // public function create_form(): RedirectResponse|string
- // {
- // return $this->create_form_process();
- // }
- protected function create_process_submit(): void
- {
- foreach ($this->formDatas['domains'] as $domain) {
- //Zone생성
- $zone_entity = $this->getMyLibrary()->create($domain);
- //Record생성
- $record = new Record($this->_account_entity, $zone_entity);
- foreach ($this->formDatas['hosts'] as $host) {
- $record->create($host, [
- 'type' => $this->formDatas['type'],
- 'content' => $this->formDatas['content'],
- 'proxied' => $this->formDatas['proxied'],
- ]);
- }
- }
- }
- public function create(string $account_uid): RedirectResponse
- {
- $this->_account_entity = $this->getAccountModel()->getEntityByPK($account_uid);
- $this->formDatas = [];
- $this->getFormDatas();
- $this->convertFormDatas();
- $this->validateFormDatas();
- return parent::create_process();
- }
-}
diff --git a/app/Controllers/MVController.php b/app/Controllers/MVController.php
deleted file mode 100644
index 1e63fbd..0000000
--- a/app/Controllers/MVController.php
+++ /dev/null
@@ -1,302 +0,0 @@
- lang($this->class_name . '.label.' . $field) . ' 선택',
- ...lang($this->class_name . '.' . strtoupper($field)),
- ];
- break;
- }
- return $options;
- }
- //Field별 Form Input용
- protected function getFormFieldInput(string $field, string $value, array $inputs = []): array
- {
- switch ($field) {
- case 'status':
- $inputs[$field] = form_dropdown(
- $field,
- $this->getFormFieldInputOption($field),
- $value
- );
- break;
- case 'updated_at':
- case 'created_at':
- $inputs[$field] = form_input($field, $value, ["class" => " calender"]);
- break;
- default:
- $inputs[$field] = form_input($field, $value);
- break;
- }
- return $inputs;
- }
- final protected function getFormFieldInputs(array $inputs = []): array
- {
- foreach ($this->fields as $field) {
- if (is_array($field)) {
- throw new \Exception(__FUNCTION__ . "에서 field array 입니다.\n" . var_export($field, true));
- }
- $inputs = $this->getFormFieldInput($field, old($field) ?? DEFAULTS['EMPTY'], $inputs);
- }
- return $inputs;
- }
- //전송된 데이터 Rule
- protected function getFormFieldRule(string $field, array $rules): array
- {
- if (is_array($field)) {
- throw new \Exception(__FUNCTION__ . "=> field가 array 입니다.\n" . var_export($field, true));
- }
- switch ($field) {
- default:
- $rules[$field] = $this->getMyLibrary()->getMyStorage()->getFieldRule($field, $rules);
- break;
- }
- return $rules;
- }
- final protected function getFormFieldRules(array $rules = []): array
- {
- foreach ($this->fields as $field) {
- $rules = $this->getFormFieldRule($field, $rules);
- }
- return $rules;
- }
- //전송된 데이터
- protected function getFormData(string $field): void
- {
- switch ($field) {
- default:
- $this->formDatas[$field] = $this->request->getVar($field);
- break;
- }
- }
- final protected function getFormDatas(): void
- {
- foreach ($this->fields as $field) {
- $this->getFormData($field);
- }
- }
- //전송된 데이터 재정의
- protected function convertFormData(string $field): void
- {
- switch ($field) {
- default:
- break;
- }
- }
- final protected function convertFormDatas(): void
- {
- foreach ($this->fields as $field) {
- $this->convertFormData($field);
- }
- }
- //전송된 데이터 검증
- protected function validateFormData(string $field): void
- {
- switch ($field) {
- default:
- if (
- !$this->validation->check(
- $this->formDatas[$field],
- $this->getMyLibrary()->getMyStorage()->getFieldRule($field)
- )
- ) {
- throw new \Exception("데이터 검증 오류발생\n" . implode("\n", $this->validation->getError()));
- }
- break;
- }
- }
- final protected function validateFormDatas(): void
- {
- //변경할 값 확인 : Upload된 파일 검증시 $this->request->getVar()보다 먼처 체크필요
- $this->validation = service('validation');
- foreach ($this->fields as $field) {
- $this->validateFormData($field);
- }
- }
- // 생성
- final protected function create_form_process(): RedirectResponse|string
- {
- helper(['form']);
- try {
- $this->forminputs = $this->getFormFieldInputs();
- $this->session->keepFlashdata(SESSION_NAMES['RETURN_URL']);
- $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []];
- return view(
- strtolower($this->class_name) . "/create",
- ['viewDatas' => $this->getAttributes()]
- );
- } catch (\Exception $e) {
- log_message("error", $e->getMessage());
- return redirect()->to($this->session->getFlashdata(SESSION_NAMES['RETURN_URL']) ?: "/")->with(SESSION_NAMES['RETURN_MSG'], $e->getMessage());
- }
- }
- final protected function create_process(): mixed
- {
- $this->getMyLibrary()->getMyStorage()->transStart();
- try {
- $this->create_process_submit();
- return redirect()->to($this->session->getFlashdata(SESSION_NAMES['RETURN_URL']) ?: "/");
- } catch (\Exception $e) {
- //Transaction Rollback
- $this->getMyLibrary()->getMyStorage()->transRollback();
- log_message("error", $e->getMessage());
- $this->session->setFlashdata(SESSION_NAMES['RETURN_MSG'], __FUNCTION__ . " 실패하였습니다.\n" . $e->getMessage());
- $this->session->keepFlashdata(SESSION_NAMES['RETURN_URL']);
- return redirect()->back()->withInput();
- }
- }
-
- // 수정
- final protected function modify_form_process(): RedirectResponse|string
- {
- helper(['form']);
- try {
- $this->forminputs = $this->getFormFieldInputs();
- $this->session->keepFlashdata(SESSION_NAMES['RETURN_URL']);
- $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []];
- return view(
- strtolower($this->class_name) . "/modify",
- ['viewDatas' => $this->getAttributes()]
- );
- } catch (\Exception $e) {
- log_message("error", $e->getMessage());
- return redirect()->to($this->session->getFlashdata(SESSION_NAMES['RETURN_URL']) ?: "/")->with(SESSION_NAMES['RETURN_MSG'], $e->getMessage());
- }
- }
- final protected function modify_process(): mixed
- {
- $this->getMyLibrary()->getMyStorage()->transStart();
- try {
- $this->modify_process_submit();
- return redirect()->to($this->session->getFlashdata(SESSION_NAMES['RETURN_URL']) ?: "/");
- } catch (\Exception $e) {
- //Transaction Rollback
- $this->getMyLibrary()->getMyStorage()->transRollback();
- log_message("error", $e->getMessage());
- $this->session->setFlashdata(SESSION_NAMES['RETURN_MSG'], __FUNCTION__ . " 실패하였습니다.\n" . $e->getMessage());
- $this->session->keepFlashdata(SESSION_NAMES['RETURN_URL']);
- return redirect()->back()->withInput();
- }
- }
-
- // 리스트
- protected function list_condition($isTotalCount = false): void
- {
- //조건절 처리
- foreach ($this->filter_fields as $field) {
- $this->$field = $this->request->getVar($field) ?? DEFAULTS['EMPTY'];
- if ($this->$field !== DEFAULTS['EMPTY']) {
- $this->getMyLibrary()->getMyStorage()->setList_FieldFilter($field, $this->$field);
- }
- }
- //검색어 처리
- $this->word = $this->request->getVar('word') ?? DEFAULTS['EMPTY'];
- if ($this->word !== DEFAULTS['EMPTY']) {
- $this->getMyLibrary()->getMyStorage()->setList_WordFilter($this->word);
- }
- //검색일 처리
- $this->start = $this->request->getVar('start') ?? DEFAULTS['EMPTY'];
- $this->end = $this->request->getVar('end') ?? DEFAULTS['EMPTY'];
- if ($this->start !== DEFAULTS['EMPTY'] && $this->end !== DEFAULTS['EMPTY']) {
- $this->getMyLibrary()->getMyStorage()->setList_DateFilter($this->start, $this->end);
- }
- if (!$isTotalCount) {
- //Sorting 처리
- $this->order_field = $this->request->getVar('order_field') ?? DEFAULTS['EMPTY'];
- $this->order_value = $this->request->getVar('order_value') ?? DEFAULTS['EMPTY'];
- if ($this->order_field !== DEFAULTS['EMPTY'] && $this->order_value !== DEFAULTS['EMPTY']) {
- $this->getMyLibrary()->getMyStorage()->setList_OrderBy("{$this->order_field} {$this->order_value}");
- }
- }
- }
- //Totalcount 처리
- protected function list_total(): int
- {
- $this->list_condition(true);
- return $this->getMyLibrary()->getMyStorage()->countAllResults();
- }
- //PageNation 처리
- protected function list_pagination($pager_group = 'default', int $segment = 0, $template = 'bootstrap_full'): string
- {
- //Page, Per_page필요부분
- $this->page = (int)$this->request->getVar('page') ?: 1;
- $this->per_page = (int)$this->request->getVar('per_page') ?: $this->_per_page;
- //줄수 처리용
- $this->pageOptions = array("" => "줄수선택");
- for ($i = 10; $i <= $this->total_count + $this->per_page; $i += 10) {
- $this->pageOptions[$i] = $i;
- }
- // 1.Views/Pagers/에 bootstrap_full.php,bootstrap_simple.php 생성
- // 2.app/Config/Pager.php/$templates에 'bootstrap_full => 'Pagers\bootstrap_full',
- // 'bootstrap_simple' => 'Pagers\bootstrap_simple', 추가
- $pager = \Config\Services::pager();
- // $this->getMyLibrary()->getMyStorage()->paginate($this->per_page, $pager_group, $this->page, $segment);
- $pager->makeLinks(
- $this->page,
- $this->per_page,
- $this->total_count,
- $template,
- $segment,
- $pager_group
- );
- $this->page = $pager->getCurrentPage($pager_group);
- $this->total_page = $pager->getPageCount($pager_group);
- return $pager->links($pager_group, $template);
- }
- protected function list_entitys(): array
- {
- $this->list_condition();
- if (array_key_exists('page', $this->_viewDatas)) {
- $this->getMyLibrary()->getMyStorage()->limit(
- $this->per_page,
- $this->page * $this->per_page - $this->per_page
- );
- }
- return $this->getMyLibrary()->getMyStorage()->findAll();
- }
- public function list_process(): string
- {
- try {
- //URL처리
- $this->uri = $this->request->getUri();
- //total 처리
- $this->total_count = $this->list_total();
- //pagenation 처리
- $this->pagination = $this->list_pagination();
- //모델 처리
- $this->entitys = $this->list_entitys();
- // dd($this->getMyLibrary()->getMyStorage()->getLastQuery());
- //setting return_url to session flashdata
- $this->session->setFlashdata(SESSION_NAMES['RETURN_URL'], current_url() . '?' . $this->request->getUri()->getQuery() ?: "");
- return view(
- strtolower($this->class_name) . "/index",
- ['viewDatas' => $this->getAttributes()]
- );
- } catch (\Exception $e) {
- log_message("error", $e->getMessage());
- return alert_CommonHelper($e->getMessage(), "back");
- // return redirect()->back()->with('return_message', $e->getMessage());
- }
- }
-}
diff --git a/app/Entities/Cloudflare/AccountEntity.php b/app/Entities/Cloudflare/AccountEntity.php
deleted file mode 100644
index 5092cb1..0000000
--- a/app/Entities/Cloudflare/AccountEntity.php
+++ /dev/null
@@ -1,31 +0,0 @@
-getPK()}|{$this->getTitle()}|{$this->getAPIKey()}|{$this->attributes['type']}|{$this->attributes['status']}";
- }
- public function getPK(): int
- {
- return $this->attributes[AccountModel::PK];
- }
- public function getTitle(): string
- {
- return $this->attributes[AccountModel::TITLE];
- }
- public function setTitle(string $title): void
- {
- $this->attributes[AccountModel::TITLE] = $title;
- }
- //Common Function
- public function getAPIKey(): string
- {
- return $this->attributes['apikey'];
- }
-}
diff --git a/app/Entities/Cloudflare/RecordEntity.php b/app/Entities/Cloudflare/RecordEntity.php
deleted file mode 100644
index 45fd9d5..0000000
--- a/app/Entities/Cloudflare/RecordEntity.php
+++ /dev/null
@@ -1,31 +0,0 @@
-getPK()}|{$this->getParent()}|{$this->getTitle()}|{$this->attributes['host']}|{$this->attributes['content']}|{$this->attributes['proxied']}|{$this->attributes['fixed']}|{$this->attributes['locked']}";
- }
- public function getPK(): int
- {
- return $this->attributes[RecordModel::PK];
- }
- public function getTitle(): string
- {
- return $this->attributes[RecordModel::TITLE];
- }
- public function setTitle(string $title): void
- {
- $this->attributes[RecordModel::TITLE] = $title;
- }
- //Common Function
- public function getParent(): string
- {
- return $this->attributes[RecordModel::PARENT];
- }
-}
diff --git a/app/Entities/Cloudflare/ZoneEntity.php b/app/Entities/Cloudflare/ZoneEntity.php
deleted file mode 100644
index 5eb6802..0000000
--- a/app/Entities/Cloudflare/ZoneEntity.php
+++ /dev/null
@@ -1,31 +0,0 @@
-getPK()}|{$this->getParent()}|{$this->getTitle()}|{$this->attributes['development_mode']}|{$this->attributes['ipv6']}|{$this->attributes['security_level']}";
- }
- public function getPK(): int
- {
- return $this->attributes[ZoneModel::PK];
- }
- public function getTitle(): string
- {
- return $this->attributes[ZoneModel::TITLE];
- }
- public function setTitle(string $title): void
- {
- $this->attributes[ZoneModel::TITLE] = $title;
- }
- //Common Function
- public function getParent(): string
- {
- return $this->attributes[ZoneModel::PARENT];
- }
-}
diff --git a/app/Helpers/Cloudflare/Account_helper.php b/app/Helpers/Cloudflare/Account_helper.php
deleted file mode 100644
index b3d9bbc..0000000
--- a/app/Helpers/Cloudflare/Account_helper.php
+++ /dev/null
@@ -1 +0,0 @@
- "Account정보",
- 'label' => [
- 'uid' => "번호",
- 'id' => "인증ID",
- 'apikey' => "인증Key",
- 'oldkey' => "이전인증Key",
- 'type' => "가입방식",
- 'status' => "상태",
- 'updated_at' => "수정일",
- 'created_at' => "작성일"
- ],
- "TYPE" => [
- "standard" => "standard",
- "enterprise" => "enterprise"
- ],
- "STATUS" => [
- "use" => "사용",
- "unuse" => "사용않함",
- ]
-];
diff --git a/app/Language/en/Cloudflare/Record.php b/app/Language/en/Cloudflare/Record.php
deleted file mode 100644
index c52a4a7..0000000
--- a/app/Language/en/Cloudflare/Record.php
+++ /dev/null
@@ -1,47 +0,0 @@
- "Record정보",
- 'label' => [
- 'uid' => "번호",
- 'zone_uid' => "도메인",
- 'type' => "Type",
- 'host' => "호스트명",
- 'content' => "IP정보",
- 'ttl' => "TTL",
- 'proxiable' => "proxiable",
- 'fixed' => "CDN잠금",
- 'proxied' => "CDN기능",
- 'locked' => "서비스",
- 'updated_at' => "수정일",
- 'created_at' => "작성일",
- ],
- "ZONE_UID" => [],
- "TYPE" => [
- 'A' => 'A',
- 'AAAA' => 'AAAA(ipv6)',
- 'CNAME' => 'CNAME',
- 'NS' => 'NS',
- 'MX' => 'MX',
- 'PTR' => 'PTR',
- 'SPF' => 'SPF',
- 'TXT' => 'TXT',
- 'SRV' => 'SRV',
- 'INFO' => 'INFO',
- ],
- "PROXIABLE" => [
- "on" => "사용",
- "off" => "사용 않함",
- ],
- "FIXED" => [
- "on" => "고정 사용",
- "off" => "고정 사용 않함",
- ],
- "PROXIED" => [
- "on" => "CDN 사용",
- "off" => "CDN 사용 않함",
- ],
- "LOCKED" => [
- "on" => "운영중",
- "off" => "잠김",
- ],
-];
diff --git a/app/Language/en/Cloudflare/Zone.php b/app/Language/en/Cloudflare/Zone.php
deleted file mode 100644
index 2a077b5..0000000
--- a/app/Language/en/Cloudflare/Zone.php
+++ /dev/null
@@ -1,38 +0,0 @@
- "Zone정보",
- 'label' => [
- 'uid' => "번호",
- 'account_uid' => "계정",
- 'domain' => "도메인",
- 'name_servers' => "네임서버",
- 'original_name_servers' => "이전네임서버",
- 'plan' => "plan",
- 'development_mode' => "개발모드",
- 'ipv6' => "ipv6",
- 'security_level' => "공격방어",
- 'status' => "서비스",
- 'updated_at' => "수정일",
- 'created_at' => "작성일"
- ],
- "ACCOUNT_UID" => [
- ],
- "DEVELOPMENT_MODE" => [
- "on" => "사용",
- "off" => "사용않함",
- ],
- "IPV6" => [
- "on" => "사용",
- "off" => "사용않함",
- ],
- "SECURITY_LEVEL" => [
- "under_attack" => "under_attack",
- "medium" => "medium",
- "low" => "low",
- "essentially_off" => "essentially_off"
- ],
- "STATUS" => [
- "active" => "active",
- "pending" => "pending",
- ],
-];
\ No newline at end of file
diff --git a/app/Language/en/Mapurl.php b/app/Language/en/Mapurl.php
deleted file mode 100644
index 32648f2..0000000
--- a/app/Language/en/Mapurl.php
+++ /dev/null
@@ -1,16 +0,0 @@
- "URL Mapping 정보",
- 'label' => [
- 'uid' => "번호",
- 'oldurl' => "기존URL",
- 'newurl' => "신규URL",
- 'status' => "상태",
- 'updated_at' => "수정일",
- 'created_at' => "작성일"
- ],
- "STATUS" => [
- "use" => "사용",
- "unuse" => "사용않함",
- ]
-];
diff --git a/app/Language/en/User.php b/app/Language/en/User.php
deleted file mode 100644
index 4647d0d..0000000
--- a/app/Language/en/User.php
+++ /dev/null
@@ -1,27 +0,0 @@
- "계정정보",
- 'label' => [
- 'uid' => "번호",
- 'id' => "계정",
- 'passwd' => "암호",
- 'confirmpassword' => "암호확인",
- 'email' => "메일",
- 'role' => "권한",
- 'name' => "이름",
- 'status' => "상태",
- 'updated_at' => "수정일",
- 'created_at' => "작성일"
- ],
- "ROLE" => [
- "member" => "회원",
- "manager" => "관리자",
- "cloudflare" => "Cloudflare관리자",
- "director" => "감독자",
- "master" => "마스터"
- ],
- "STATUS" => [
- "use" => "사용",
- "unuse" => "사용않함",
- ]
-];
diff --git a/app/Libraries/MyAuth/GoogleAuth.php b/app/Libraries/MyAuth/GoogleAuth.php
deleted file mode 100644
index aa8a585..0000000
--- a/app/Libraries/MyAuth/GoogleAuth.php
+++ /dev/null
@@ -1,110 +0,0 @@
-_mySocket === null) {
- $this->_mySocket = new GoogleSocket(getenv('yamap.host.url'));
- }
- return $this->_mySocket;
- }
-
- public function getAuthButton()
- {
- $button = "";
- if (!$this->getMySocket()->getAccessToken()) {
- $button = anchor(
- $this->getMySocket()->getClient()->createAuthUrl(),
- ICONS['GOOGLE'],
- ["target" => "_self"]
- );
- }
- return $button;
- }
- public function execute(): UserEntity
- {
- return new UserEntity();
- // try {
- // //Google 접근 권한 설정.
- // $this->getMySocket()->setAccessToken();
- // //Google 서비스 설정
- // //$service = new \Google\Service\Oauth2($this->getMySocket());
- // $service = new \Google\Service\Oauth2($this->getMySocket());
- // $result = $service->userinfo->get();
- // log_message("debug", var_export($result, true));
- // // throw new \Exception(__METHOD__ . "에서 데이터 처리 필요");
- // // DEBUG - 2023-07-13 12:54:51 --> \Google\Service\Oauth2\Userinfo::__set_state(array(
- // // 'internal_gapi_mappings' =>
- // // array (
- // // 'familyName' => 'family_name',
- // // 'givenName' => 'given_name',
- // // 'verifiedEmail' => 'verified_email',
- // // ),
- // // 'modelData' =>
- // // array (
- // // 'verified_email' => true,
- // // 'given_name' => '이름',
- // // 'family_name' => '성',
- // // ),
- // // 'processed' =>
- // // array (
- // // ),
- // // 'email' => 'twsdfsew342s@gmail.com',
- // // 'familyName' => '성',
- // // 'gender' => NULL,
- // // 'givenName' => '이름',
- // // 'hd' => NULL,
- // // 'id' => '103667492432234234236838324',
- // // 'link' => NULL,
- // // 'locale' => 'ko',
- // // 'name' => '성이름',
- // // 'picture' => 'https://lh3.googleusercontent.com/a/AAcHTteFSgefsdfsdRJBkJA2tBEmg4PQrvI1Ta_5IXu5=s96-c',
- // // 'verifiedEmail' => true,
- // // ))
- // //조건에 해당하는 이미 등록된 사용자가 있는지 검사
- // $snsEntity = null;
- // try {
- // $snsEntity = $this->getUserSNSModel()->asObject(SNSUSerEntity::class)->where(
- // array("site" => $this->_site, "id" => $result['id'])
- // )->first();
- // } catch (\Exception $e) {
- // $snsEntity = new SNSUSerEntity([
- // 'site' => $this->_site,
- // 'id' => $result['id'],
- // 'name' => $result['name'],
- // 'email' => $result['email'],
- // 'detail' => json_encode($result),
- // 'status' => 'standby',
- // ]);
- // $snsEntity = $this->getUserSNSModel()->create($snsEntity);
- // }
- // //상태가 use(승인완료)가 아니라면
- // if ($snsEntity->status !== DEFAULTS['STATUS']) {
- // throw new \Exception("{$this->_site}}의{$result['email']}:{$result['name']}님은 " . $snsEntity->status . "입니다");
- // }
- // //user_id가 연결되어있지 않았다면
- // if (!$snsEntity->getID()) {
- // throw new \Exception("{$this->_site}의{$result['email']}:{$result['name']}님은 아직 사용자 지정이 되지 않았습니다. ");
- // }
- // //인증된 사용자 정보를 가져온후 로그인처리
- // $entity = $this->getUserModel()->getEntityByID($snsEntity->getID());
- // return $this->setSession_process($entity);;
- // } catch (\Exception $e) {
- // throw new \Exception("관리자에게 문의하시기 바랍니다.
{$e->getMessage()}");
- // }
- }
-}
diff --git a/app/Libraries/MyAuth/LocalAuth.php b/app/Libraries/MyAuth/LocalAuth.php
deleted file mode 100644
index 19e6b86..0000000
--- a/app/Libraries/MyAuth/LocalAuth.php
+++ /dev/null
@@ -1,33 +0,0 @@
-getFormDatas();
- // if (!isset($formDatas['id']) || !$formDatas['id'] || !isset($formDatas['passwd']) || !$formDatas['passwd']) {
- // throw new \Exception("ID 나 암호의 값이 없습니다.");
- // }
- // $entity = $this->getUserModel()->getEntity(['id' => $formDatas['id'], 'status' => DEFAULTS['STATUS']]);
- // if (!password_verify($formDatas['passwd'], $entity->passwd)) {
- // throw new \Exception("암호가 맞지않습니다.");
- // }
- // //Session에 인증정보 설정
- // return $this->setSession_process($entity);;
- }
-}
diff --git a/app/Libraries/MyAuth/MyAuth.php b/app/Libraries/MyAuth/MyAuth.php
deleted file mode 100644
index 7e5b302..0000000
--- a/app/Libraries/MyAuth/MyAuth.php
+++ /dev/null
@@ -1,58 +0,0 @@
-_session = \Config\Services::session();
- }
- abstract public function getAuthButton();
- abstract public function execute(): UserEntity;
-
- final protected function getUserModel(): UserModel
- {
- if (is_null($this->_userModel)) {
- $this->_userModel = new UserModel();
- }
- return $this->_userModel;
- }
-
- final protected function getUserSNSModel(): SNSUSerModel
- {
- if (is_null($this->_snsUserModel)) {
- $this->_snsUserModel = new SNSUserModel();
- }
- return $this->_snsUserModel;
- }
-
- protected function setSession_process(UserEntity $entity): UserEntity
- {
- $this->_session->set(SESSION_NAMES['ISLOGIN'], true);
- $auths = [];
- foreach (array_values(AUTH_FIELDS) as $field) {
- switch ($field) {
- case 'id':
- $auths[$field] = $entity->getPK();
- break;
- case 'title':
- $auths[$field] = $entity->getTitle();
- break;
- case 'role':
- $auths[$field] = $entity->$field;
- break;
- }
- }
- $this->_session->set(SESSION_NAMES['AUTH'], $auths);
- return $entity;
- }
-}
diff --git a/app/Libraries/MyCloudflare/Account.php b/app/Libraries/MyCloudflare/Account.php
deleted file mode 100644
index 151ca22..0000000
--- a/app/Libraries/MyCloudflare/Account.php
+++ /dev/null
@@ -1,70 +0,0 @@
-_myStorage === null) {
- $this->_myStorage = new AccountModel();
- }
- return $this->_myStorage;
- }
- //Result 형태
- // [
- // {"id":"078e88a7735965b661715af13031ecb0",
- // "name":"Cloudwin002@idcjp.jp's Auth",
- // "type":"standard",
- // "settings":{
- // "enforce_twofactor":false,
- // "api_access_enabled":null,
- // "access_approval_expiry":null,
- // "use_account_custom_ns_by_default":false
- // },
- // "legacy_flags":{"enterprise_zone_quota":{"maximum":0,"current":0,"available":0}},
- // "created_on":"2017-06-26T05:44:49.470184Z"}
- // ]
- protected function getArrayByResult($result): array
- {
- $formDatas[$this->getMyStorage()->getPKField()] = $result->id;
- $formDatas[$this->getMyStorage()->getTitleField()] = $result->name;
- $formDatas['type'] = $result->type;
- $formDatas['status'] = 'use';
- $formDatas['updated_at'] = $result->created_on;
- $formDatas['created_at'] = $result->created_on;
- return $formDatas;
- }
- public function create(array $formDatas): AccountEntity
- {
- //Socket용
- $cf = $this->getMySocket()->request($formDatas['apikey'])
- ->post('accounts', [
- 'name' => $formDatas[$this->getMyStorage()->getTitleField()],
- 'type' => $formDatas['type'],
- ]);
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception(__FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- //Storage용
- $formDatas = $this->getArrayByResult($cf->result);
- $entity = $this->getMyStorage()->create($formDatas);
- log_message("notice", "Account::" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- return $entity;
- }
- protected function reload_entity($cf): AccountEntity
- {
- return $this->getMyStorage()->modify(new AccountEntity, $this->getArrayByResult($cf));
- }
-}
diff --git a/app/Libraries/MyCloudflare/MyCloudflare.php b/app/Libraries/MyCloudflare/MyCloudflare.php
deleted file mode 100644
index 29f29e8..0000000
--- a/app/Libraries/MyCloudflare/MyCloudflare.php
+++ /dev/null
@@ -1,67 +0,0 @@
-_mySocket === null) {
- $this->_mySocket = new CloudflareSocket();
- }
- return $this->_mySocket;
- }
- //-----------------------필수항목-------------------//
- final protected function reload_entitys(string $parent, array $cfs): array
- {
- $entity_uids = [];
- if (count($cfs)) {
- $cnt = 1;
- foreach ($cfs as $cf) {
- $entity = $this->reload_entity($cf);
- $entity_uids[] = $entity->getPK();
- log_message("debug", "{$cnt}번째: {$entity->getTitle()} 저장");
- $cnt++;
- }
- //부모키를 기준으로 CF에 존재하지 않는 데이터 삭제용
- $this->getMyStorage()->where($this->getMyStorage()::PARENT, $parent);
- $this->getMyStorage()->whereNotIn($this->getMyStorage()->getPKField(), $entity_uids);
- $this->getMyStorage()->delete();
- }
- return $entity_uids;
- }
- final protected function reload_cfs(Guzzle $request, $uri): array
- {
- $page = 1; //Page는 1부터 시작해야함
- $perpage_max = getenv("cfmgr.request.perpage.max");
- $cfs = [];
- do {
- $query = [
- 'page' => $page,
- 'per_page' => $perpage_max,
- 'match' => 'all',
- ];
- $cf = $request->get($uri, $query);
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception(__FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- $cfs = [$cfs, ...$cf->result];
- //Loop 제한 : 한페이지에서 가져온 갯수가 perpage_max보다 적다는것은 더이상 다음페이지기 없으므로 0로 종료시키기 위함
- $page = count($cf->result) < $perpage_max ? 0 : $page + 1;
- } while (0 < $page);
- return $cfs;
- }
-}
diff --git a/app/Libraries/MyCloudflare/Record.php b/app/Libraries/MyCloudflare/Record.php
deleted file mode 100644
index 6174ef1..0000000
--- a/app/Libraries/MyCloudflare/Record.php
+++ /dev/null
@@ -1,129 +0,0 @@
-_account_entity = $account_entity;
- $this->_zone_entity = $zone_entity;
- }
- protected function getRequest(): Guzzle
- {
- return $this->getMySocket()->request($this->_account_entity->getAPIKey());
- }
- final public function getMyStorage(): RecordModel
- {
- if ($this->_myStorage === null) {
- $this->_myStorage = new RecordModel();
- }
- return $this->_myStorage;
- }
- protected function getArrayByResult($result): array
- {
- $formDatas[$this->getMyStorage()->getPKField()] = $result->id;
- $formDatas[$this->getMyStorage()::PARENT] = $result->zone_id;
- $formDatas[$this->getMyStorage()->getTitleField()] = $result->name;
- $formDatas['type'] = $result->type;
- $formDatas['content'] = $result->content;
- $formDatas['ttl'] = (int)$result->ttl;
- $formDatas['proxiable'] = $result->proxiable ? "on" : "off";
- $formDatas['proxied'] = $result->proxied ? "on" : "off";
- $formDatas['locked'] = "on";
- if (isset($result->locked) && $result->locked) {
- $formDatas['locked'] = "off";
- }
- // $formDatas['updated_at'] = $cfResult->modified_on;
- $formDatas['created_at'] = $result->created_on;
- return $formDatas;
- }
- public function create(string $host, array $formDatas): RecordEntity
- {
- //Socket용
- //도메인생성을 위해 Cloudflare에 전송
- $cf = $this->getRequest()->post('zones/' . $this->_zone_entity->getPK() . '/dns_records', [
- 'name' => $host,
- 'type' => $formDatas['type'],
- 'content' => $formDatas['content'],
- 'proxied' => isset($formDatas['proxied']) && $formDatas['proxied'] === 'on' ? true : false
- ]);
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Record:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- //Storage용
- $formDatas = $this->getArrayByResult($cf->result);
- $entity = $this->$this->getMyStorage()->create($formDatas);
- log_message("notice", "Record:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- return $entity;
- }
- public function modify(RecordEntity $entity, array $formDatas): RecordEntity
- {
- //TTL값은 CDN(proxied)가 사용함일때는 무조건 1, 않함일때는 120이 적용
- $datas = [
- 'type' => isset($formDatas['type']) ? $formDatas['type'] : $entity->type,
- 'name' => isset($formDatas['host']) ? $formDatas['host'] : $entity->host,
- 'content' => isset($formDatas['content']) ? $formDatas['content'] : $entity->content,
- 'proxied' => $entity->proxied == 'on' ? true : false,
- 'ttl' => intval($entity->ttl),
- ];
- //변경작업: 2024-08-09
- if (isset($formDatas['proxied']) && $formDatas['proxied'] === 'on') {
- $datas['proxied'] = true;
- $datas['ttl'] = 1;
- } elseif (isset($formDatas['proxied']) && $formDatas['proxied'] === 'off') {
- $datas['proxied'] = false;
- $datas['ttl'] = 120;
- }
- $cf = $this->getRequest()->put('zones/' . $this->_zone_entity->getPK() . '/dns_records', $datas);
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Record:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- log_message("notice", "Record:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- return $entity;
- }
- public function delete(RecordEntity $entity): void
- {
- $cf = $this->getRequest()->delete('zones/' . $this->_zone_entity->getPK() . '/dns_records/' . $entity->getPK());
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Record:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- log_message("notice", "Record:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- }
- public function sync(RecordEntity $entity): RecordEntity
- {
- $cf = $this->getRequest()->get('zones/' . $this->_zone_entity->getPK() . '/dns_records/' . $entity->getPK());
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception(__FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- log_message("notice", "Record:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- $formDatas = $this->getArrayByResult($cf->result);
- return $this->$this->getMyStorage()->create($formDatas);
- }
- protected function reload_entity($cf): RecordEntity
- {
- return $this->getMyStorage()->modify(new RecordEntity, $this->getArrayByResult($cf));
- }
- public function reload(): void
- {
- $cfs = $this->reload_cfs($this->getRequest(), 'zones/' . $this->_zone_entity->getPK() . '/dns_records');
- log_message("notice", "-----{$this->_zone_entity->getTitle()} 처리[" . count($cfs) . "개] 시작-----");
- $entitys = $this->reload_entitys($this->_zone_entity->getPK(), $cfs);
- log_message("notice", "-----{$this->_zone_entity->getTitle()} DB 처리[" . count($entitys) . "개] 완료-----");
- }
-}
diff --git a/app/Libraries/MyCloudflare/Zone.php b/app/Libraries/MyCloudflare/Zone.php
deleted file mode 100644
index 8a6431c..0000000
--- a/app/Libraries/MyCloudflare/Zone.php
+++ /dev/null
@@ -1,157 +0,0 @@
-_account_entity = $account_entity;
- }
- private function getRequest(): Guzzle
- {
- return $this->getMySocket()->request($this->_account_entity->getAPIKey());
- }
- final public function getMyStorage(): ZoneModel
- {
- if ($this->_myStorage === null) {
- $this->_myStorage = new ZoneModel();
- }
- return $this->_myStorage;
- }
- protected function getArrayByResult($result): array
- {
- $formDatas[$this->getMyStorage()->getPKField()] = $result->id;
- $formDatas[$this->getMyStorage()::PARENT] = $result->account->id;
- $formDatas[$this->getMyStorage()->getTitleField()] = $result->name;
- $formDatas['status'] = $result->status;
- //$formDatas['type'] = $result->type; // full 이게있는데 뭔지 잘모름
- $formDatas['name_servers'] = 'none';
- if (isset($result->name_servers)) {
- $formDatas['name_servers'] = is_array($result->name_servers) ?
- implode(
- ',',
- $result->name_servers
- ) : $result->name_servers;
- }
- $formDatas['original_name_servers'] = 'none';
- if (isset($result->original_name_servers)) {
- $formDatas['original_name_servers'] = is_array($result->original_name_servers) ?
- implode(
- ',',
- $result->original_name_servers
- ) : $result->original_name_servers;
- }
- $formDatas['updated_at'] = $result->modified_on;
- $formDatas['created_at'] = $result->created_on;
- $formDatas['plan'] = $result->plan->name;
- return $formDatas;
- }
- //Cfzone에서 가져온 값을 zone에 setting
- final public function getCFSetting(ZoneEntity $entity): ZoneEntity
- {
- $cf = $this->getRequest()->patch('zones/' . $entity->getPK() . '/settings/');
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Zone:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- foreach ($cf->result as $cf) {
- switch ($cf->id) {
- case 'development_mode':
- $entity->development_mode = $cf->value;
- break;
- case 'ipv6':
- $entity->ipv6 = $cf->value;
- break;
- case 'security_level':
- $entity->security_level = $cf->value;
- break;
- }
- }
- return $entity;
- }
- final public function setCFSetting(ZoneEntity $entity, string $field, string $value): ZoneEntity
- {
- $cf = $this->getRequest()->patch('zones/' . $entity->getPK() . '/settings/' . $field, array('value' => $value));
- $cf = json_decode($cf->getBody());
- if (!$cf->success || $cf->result->id !== $field) {
- throw new \Exception("Zone:" . __FUNCTION__ . "에서 {$field}->{$value} 변경실패:\n" . var_export($cf, true));
- }
- //최종 결과값은 body->result->id='필드명',body->result->value='on/off'이런식으로 받음
- $entity->$field = $cf->result->value;
- return $entity;
- }
- public function create(string $domain, $jump_start = false): ZoneEntity
- {
- //Socket용
- //도메인생성을 위해 Cloudflare에 전송
- $cf = $this->getRequest()->post('zones/', [
- 'accountId' => $this->_account_entity->getPK(),
- 'name' => $domain,
- 'jump_start' => $jump_start,
- ]);
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Zone:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- //Storage용
- $formDatas = $this->getArrayByResult($cf->result);
- $entity = $this->$this->getMyStorage()->create($formDatas);
- //아래는 추가 셋팅 ipv6 TurnOFF , //Development mode TurnOFF
- $entity = $this->setCFSetting($entity, 'ipv6', 'off');
- $entity = $this->setCFSetting($entity, 'development_mode', 'off');
- $entity = $this->setCFSetting($entity, 'security_level', 'medium');
- log_message("notice", "Zone:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- return $entity;
- }
- public function modify(ZoneEntity $entity, array $formDatas): ZoneEntity
- {
- //ipv6 , //development_mode , //security_level
- foreach ($formDatas as $field => $value) {
- $entity = $this->setCFSetting($entity, $field, $value);
- }
- log_message("notice", "Zone:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- return $entity;
- }
- public function delete(ZoneEntity $entity): void
- {
- $cf = $this->getRequest()->delete('zones/' . $entity->getPK());
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Zone:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- log_message("notice", "Zone:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- }
- public function sync(ZoneEntity $entity): ZoneEntity
- {
- $cf = $this->getRequest()->get('zones/' . $entity->getPK());
- $cf = json_decode($cf->getBody());
- if (!$cf->success) {
- throw new \Exception("Zone:" . __FUNCTION__ . "에서 실패:\n" . var_export($cf, true));
- }
- log_message("notice", "Zone:" . __FUNCTION__ . "=> 작업을 완료하였습니다.");
- $formDatas = $this->getArrayByResult($cf->result);
- return $this->$this->getMyStorage()->create($formDatas);
- }
- protected function reload_entity($cf): ZoneEntity
- {
- return $this->getMyStorage()->modify(new ZoneEntity, $this->getArrayByResult($cf));
- }
- public function reload(): void
- {
- $cfs = $this->reload_cfs($this->getRequest(), 'zones');
- log_message("notice", "-----{$this->_account_entity->getTitle()} 처리[" . count($cfs) . "개] 시작-----");
- $entitys = $this->reload_entitys($this->_account_entity->getPK(), $cfs);
- log_message("notice", "-----{$this->_account_entity->getTitle()} DB 처리[" . count($entitys) . "개] 완료-----");
- }
-}
diff --git a/app/Models/Cloudflare/AccountModel.php b/app/Models/Cloudflare/AccountModel.php
deleted file mode 100644
index b42526f..0000000
--- a/app/Models/Cloudflare/AccountModel.php
+++ /dev/null
@@ -1,79 +0,0 @@
-orderBy(self::TITLE, 'asc');
- $options = parent::getFormFieldInputOption($field, $options);
- break;
- }
- return $options;
- }
- public function getEntityByPK(int $uid): null|AccountEntity
- {
- $this->where($this->getPKField(), $uid);
- return $this->getEntity();
- }
- public function getEntityByID(string $id): null|AccountEntity
- {
- $this->where($this->getTitleField(), $id);
- return $this->getEntity();
- }
- //create용
- public function create(array $formDatas = []): AccountEntity
- {
- return $this->create_process(new AccountEntity(), $formDatas);
- }
- //modify용
- public function modify(AccountEntity $entity, array $formDatas): AccountEntity
- {
- return $this->modify_process($entity, $formDatas);
- }
-}
diff --git a/app/Models/Cloudflare/RecordModel.php b/app/Models/Cloudflare/RecordModel.php
deleted file mode 100644
index 4db90b8..0000000
--- a/app/Models/Cloudflare/RecordModel.php
+++ /dev/null
@@ -1,125 +0,0 @@
-orderBy(self::TITLE, 'asc');
- $options = parent::getFormFieldInputOption($field, $options);
- break;
- }
- return $options;
- }
- public function getEntityByPK(int $uid): null|RecordEntity
- {
- $this->where(self::PK, $uid);
- return $this->getEntity();
- }
- public function getEntityByID(string $id): null|RecordEntity
- {
- $this->where(self::TITLE, $id);
- return $this->getEntity();
- }
-
- //create용
- public function create(array $formDatas = []): RecordEntity
- {
- return $this->create_process(new RecordEntity(), $formDatas);
- }
- //modify용
- public function modify(RecordEntity $entity, array $formDatas): RecordEntity
- {
- return $this->modify_process($entity, $formDatas);
- }
- public function getEntitysByParent(ZoneEntity $zone_entity)
- {
- $this->where(self::PARENT, $zone_entity->getPK());
- return $this->getEntitys();
- }
- //도메인이 이미 존재하는지 체크
- public function isUniqueHost($zone_uid, string $host, string $content): bool
- {
- $this->where(self::PARENT, $zone_uid);
- $this->where('host', $host);
- $this->where('content', $content);
- return is_null($this->first()) ? true : false;
- }
- //CDN값 수정 못하는 고정 Record 처리
- public function setFixedCDNRecord(array $hosts)
- {
- if (count($hosts)) {
- $this->whereIn('host', $hosts)->set(['fixed' => 'on'])->update();
- log_message("notice", "-----set fixed Records " . implode(",", $hosts) . "처리 완료-----");
- }
- }
-
- //List 검색용
- public function setList_WordFilter(string $word, $field = null): void
- {
- parent::setList_WordFilter($word, $field);
- $this->orLike('content', $word, 'both');
- }
- public function setList_OrderBy(string $order)
- {
- //Join을 해서 도메인부터 Sorting하기위함
- $this->join('cloudflarezone', "cloudflarezone.uid=cloudflarerecord.zone_uid");
- $this->orderBy("cloudflare.domain ASC");
- parent::setList_OrderBy($order);
- }
-}
diff --git a/app/Models/Cloudflare/ZoneModel.php b/app/Models/Cloudflare/ZoneModel.php
deleted file mode 100644
index 348b02a..0000000
--- a/app/Models/Cloudflare/ZoneModel.php
+++ /dev/null
@@ -1,116 +0,0 @@
-class_name . '.' . strtoupper($field));
- break;
- default:
- $this->orderBy(self::TITLE, 'asc');
- $options = parent::getFormFieldInputOption($field, $options);
- break;
- }
- return $options;
- }
- public function getEntityByPK(int $uid): null|ZoneEntity
- {
- $this->where(self::PK, $uid);
- return $this->getEntity();
- }
- public function getEntityByID(string $id): null|ZoneEntity
- {
- $this->where(self::TITLE, $id);
- return $this->getEntity();
- }
- public function getEntitysByParent(AccountEntity $account_entity)
- {
- $this->where(self::PARENT, $account_entity->getPK());
- return $this->getEntitys();
- }
- //create용
- public function create(array $formDatas = []): ZoneEntity
- {
- return $this->create_process(new ZoneEntity(), $formDatas);
- }
- //modify용
- public function modify(ZoneEntity $entity, array $formDatas): ZoneEntity
- {
- return $this->modify_process($entity, $formDatas);
- }
-
- //도메인이 이미 존재하는지 체크
- public function isUniqueDomain(string $account_uid, string $domain): bool
- {
- $this->where(self::PARENT, $account_uid);
- $this->where(self::TITLE, $domain);
- return is_null($this->first()) ? true : false;
- }
- //List 검색용
- public function setList_WordFilter(string $word, $field = null): void
- {
- //Join을 해서 Record의 content(IP검색)을 하기위함
- parent::setList_WordFilter($word, $field);
- $this->join('cloudflarerecord', "cloudflarezone.uid=cloudflarerecord.zone_uid");
- $this->orLike('cloudflarerecord.content', $word, 'both');
- // $subquery = $this->db->table(RecordModel::TABLE)->select(RecordModel::PARENT)->like('content', $word, 'both');
- // $this->orWhereIn(self::PK, $subquery);
- }
- public function setList_OrderBy(string $order): void
- {
- $this->orderBy(self::TITLE . " ASC");
- parent::setList_OrderBy($order);
- }
-}
diff --git a/app/Models/SNSUserModel.php b/app/Models/SNSUserModel.php
deleted file mode 100644
index 64fc90f..0000000
--- a/app/Models/SNSUserModel.php
+++ /dev/null
@@ -1,71 +0,0 @@
-table}.{$field}]";
- break;
- case $this->getTitleField():
- $rules[$field] = "required|trim|string";
- break;
- case "email":
- $rules[$field] = "if_exist|trim|valid_email";
- break;
- default:
- $rules = parent::getFieldRule($field, $rules);
- break;
- }
- return $rules;
- }
- public function getEntityByPK(int $uid): null|SNSUSerEntity
- {
- $this->where($this->getPKField(), $uid);
- return $this->getEntity();
- }
- public function getEntityByID(string $id): null|SNSUSerEntity
- {
- $this->where('id', $id);
- return $this->getEntity();
- }
-
- //create용
- public function create(array $formDatas = []): SNSUSerEntity
- {
- return $this->create_process(new SNSUSerEntity(), $formDatas);
- }
-
- //modify용
- public function modify(SNSUSerEntity $entity, array $formDatas): SNSUSerEntity
- {
- return $this->modify_process($entity, $formDatas);
- }
-}
diff --git a/app/Models/UserModel.php b/app/Models/UserModel.php
deleted file mode 100644
index 168eadf..0000000
--- a/app/Models/UserModel.php
+++ /dev/null
@@ -1,86 +0,0 @@
-getAction() == DB_ACTION["CREATE"]) {
- $rules[$field] = "required|trim|min_length[4]|max_length[20]|is_unique[{$this->table}.{$field}]";
- } else {
- $rules[$field] = "required|trim|min_length[4]|max_length[20]";
- }
- break;
- case $this->getTitleField():
- $rules[$field] = "required|trim|string";
- break;
- case "email":
- $rules[$field] = "if_exist|trim|valid_email";
- break;
- case "role":
- //아래 Rule은 입력시에는 되는데 수정시에는 않됨 이유를 ?
- // $rules[$field] = "required|in_list[master,director,cloudflare,manager,gold,silver,brone,vip,user]";
- //아래 Rule은 checkbox를 사용시에는 required만 우선 써야 수정시 validate문제없음
- $rules[$field] = "if_exist|trim|string";
- break;
- case "passwd":
- default:
- $rules = parent::getFieldRule($field, $rules);
- break;
- }
- return $rules;
- }
-
- public function getEntityByPK(int $uid): null|UserEntity
- {
- $this->where($this->getPKField(), $uid);
- return $this->getEntity();
- }
- public function getEntityByID(string $id): null|UserEntity
- {
- $this->where('id', $id);
- return $this->getEntity();
- }
-
- //create용
- public function create(array $formDatas = []): UserEntity
- {
- return $this->create_process(new UserEntity(), $formDatas);
- }
-
- //modify용
- public function modify(UserEntity $entity, array $formDatas): UserEntity
- {
- return $this->modify_process($entity, $formDatas);
- }
-}
diff --git a/app/Views/admin/user/index.php b/app/Views/admin/user/index.php
deleted file mode 100644
index 4ba60b3..0000000
--- a/app/Views/admin/user/index.php
+++ /dev/null
@@ -1,50 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
-
- = form_open(current_url(), array("method" => "get")) ?>
-
- = $this->include('templates/admin/index_head') ?>
- = form_close() ?>
-
- = form_open(current_url() . '/batchjob', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-
- | # |
- = getFieldIndex_Column_UserHelper($field, $viewDatas) ?>
- @ |
-
-
-
-
-
- status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
- = form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
- = anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- |
-
- = getFieldIndex_Row_UserHelper_Admin($field, $entity, $viewDatas) ?> |
-
- = anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
-
-
-
-
-
-
-
- - = form_checkbox(array("id" => "batchjobuids_checkbox")) ?>ALL
- = getFieldFilter_UserHelper($field, DEFAULTS['EMPTY'], $viewDatas) ?>
- - = form_submit('', '일괄처리', array("class" => "btn btn-outline btn-warning")) ?>
- - = anchor(current_url() . '/insert', '입력', ["class" => "btn btn-sm btn-primary btn-circle", "target" => "_self"]) ?>
-
- = $viewDatas['pagination'] ?>
-
- = form_close() ?>
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/admin/user/insert.php b/app/Views/admin/user/insert.php
deleted file mode 100644
index e834872..0000000
--- a/app/Views/admin/user/insert.php
+++ /dev/null
@@ -1,24 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
- = form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/admin/user/update.php b/app/Views/admin/user/update.php
deleted file mode 100644
index c673532..0000000
--- a/app/Views/admin/user/update.php
+++ /dev/null
@@ -1,24 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
- = form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/admin/user/view.php b/app/Views/admin/user/view.php
deleted file mode 100644
index 69e8d92..0000000
--- a/app/Views/admin/user/view.php
+++ /dev/null
@@ -1,19 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/admin/welcome_message.php b/app/Views/admin/welcome_message.php
deleted file mode 100644
index 3b71da9..0000000
--- a/app/Views/admin/welcome_message.php
+++ /dev/null
@@ -1,5 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-= $this->include('templates/admin/header'); ?>
-= $this->include('templates/admin/footer'); ?>
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/cells/board/information.php b/app/Views/cells/board/information.php
deleted file mode 100644
index 1f4d6b4..0000000
--- a/app/Views/cells/board/information.php
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- = getFieldCell_Row_BoardHelper($field, $entity, $cellDatas) ?>
-
-
\ No newline at end of file
diff --git a/app/Views/cells/board/reference.php b/app/Views/cells/board/reference.php
deleted file mode 100644
index 1f4d6b4..0000000
--- a/app/Views/cells/board/reference.php
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- = getFieldCell_Row_BoardHelper($field, $entity, $cellDatas) ?>
-
-
\ No newline at end of file
diff --git a/app/Views/cells/product/beremetal_calculator.php b/app/Views/cells/product/beremetal_calculator.php
deleted file mode 100644
index 69ec978..0000000
--- a/app/Views/cells/product/beremetal_calculator.php
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
- = form_open(URLS['addCart'], [
- 'method' => 'post',
- "onsubmit" => 'return calculator()'
- ]) ?>
-
-
-
-
-
- | 가상서버 견적 계산기 |
-
-
-
-
- getPrimaryKey()] = $entity->getTitleWithPrice();
- }
- ?>
-
- | = lang("Device.CATEGORY.{$category}") ?> |
-
- = form_dropdown(
- $category,
- $options,
- old($category, 0),
- [
- 'id' => $category,
- 'class' => 'vhost_cellDatas',
- 'onChange' => "calculator()"
- ]
- ) ?>
- |
-
-
-
- | 결제일 |
-
- "결제일 선택"];
- for ($i = 1; $i <= 28; $i++) {
- $paymentDayOptions[$i] = "매월 {$i}일";
- }
- ?>
- = form_dropdown('paymentday', $paymentDayOptions, old('paymentday', 25), ['id' => 'paymentday']);
- ?>
- |
-
-
- | 주문금액 |
-
- 0원
- = form_submit('', '신청', array("class" => "btn btn-outline btn-primary")); ?>
- |
-
-
-
- = form_close() ?>
-
- = $cellDatas['session']->getFlashdata('return_message') ? alert_CommonHelper($cellDatas['session']->getFlashdata('return_message')) : "" ?>
-
\ No newline at end of file
diff --git a/app/Views/cells/product/device.php b/app/Views/cells/product/device.php
deleted file mode 100644
index efc501c..0000000
--- a/app/Views/cells/product/device.php
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/Views/cells/product/virtual.php b/app/Views/cells/product/virtual.php
deleted file mode 100644
index e7d8e94..0000000
--- a/app/Views/cells/product/virtual.php
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
- | = lang('Device.CATEGORY.' . $category) . " 선택" ?> |
-
-
-
-
- |
- = form_dropdown(
- $category,
- $cellDatas['device']['options'][$category],
- old($category, 0),
- [
- 'id' => $category,
- 'size' => "6",
- 'class' => 'vhost_cellDatas',
- 'onChange' => "calculator()"
- ]
- ) ?>
- |
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/cells/product/virtual_caculator.php b/app/Views/cells/product/virtual_caculator.php
deleted file mode 100644
index 2118975..0000000
--- a/app/Views/cells/product/virtual_caculator.php
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
- = form_open(URLS['addCart'], [
- 'method' => 'post',
- "onsubmit" => 'return calculator(' . $cellDatas['parts']['virtual']['default']['baserate'] . ')'
- ]) ?>
-
-
-
-
-
- | 가상서버 견적 계산기 |
-
-
-
-
- | 기본요금 |
-
- = number_format($cellDatas['parts']['virtual']['default']['baserate']) ?>원
- |
-
- $attrs) : ?>
-
- | = $attrs['label'] ?> |
-
- = number_format($attrs['cost']) ?>원
- 할인가 = number_format($attrs['cost'] - $attrs['sale']) ?> *
- = form_dropdown(
- $category,
- $attrs['options'],
- old($category, 0),
- [
- 'id' => $category,
- 'class' => 'vhost_parts',
- 'cost' => $attrs['cost'],
- 'sale' => $attrs['sale'],
- 'onChange' => "calculator(" . $cellDatas['parts']['virtual']['default']['baserate'] . ")"
- ]
- ) ?>
- = $attrs['unit'] ?>
- |
-
-
-
- | 결제일 |
-
- "결제일 선택"];
- for ($i = 1; $i <= 28; $i++) {
- $paymentDayOptions[$i] = "매월 {$i}일";
- }
- ?>
- = form_dropdown('paymentday', $paymentDayOptions, old('paymentday', 25), ['id' => 'paymentday']);
- ?>
- |
-
-
- | 주문금액 |
-
- 0원
- = form_submit('', '신청', array("class" => "btn btn-outline btn-primary")); ?>
- |
-
-
-
- = form_close() ?>
-
- = $cellDatas['session']->getFlashdata('return_message') ? alert_CommonHelper($cellDatas['session']->getFlashdata('return_message')) : "" ?>
-
\ No newline at end of file
diff --git a/app/Views/cloudflare/account/create.php b/app/Views/cloudflare/account/create.php
deleted file mode 100644
index 79e4ea5..0000000
--- a/app/Views/cloudflare/account/create.php
+++ /dev/null
@@ -1,22 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-= form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/cloudflare/account/index.php b/app/Views/cloudflare/account/index.php
deleted file mode 100644
index a0690b9..0000000
--- a/app/Views/cloudflare/account/index.php
+++ /dev/null
@@ -1,54 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
- = form_open(current_url(), array("method" => "get")) ?>
-
- = $this->include('templates/admin/index_head') ?>
- = form_close() ?>
-
-= form_open(current_url() . '/batchjob', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-
- | # |
-
- = getFieldIndex_Column_UserHelper($field, $viewDatas) ?>
- @ |
-
-
-
-
-
- status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
- = form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
- = anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- |
-
- = getFieldIndex_Row_UserHelper_Admin($field, $entity, $viewDatas) ?> |
-
-
- = anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?>
- |
-
-
-
-
-
-
-
- - = form_checkbox(array("id" => "batchjobuids_checkbox")) ?>ALL
-
- = getFieldFilter_UserHelper($field, DEFAULTS['EMPTY'], $viewDatas) ?>
- - = form_submit('', '일괄처리', array("class" => "btn btn-outline btn-warning")) ?>
- -
- = anchor(current_url() . '/insert', '입력', ["class" => "btn btn-sm btn-primary btn-circle", "target" => "_self"]) ?>
-
-
- = $viewDatas['pagination'] ?>
-
-= form_close() ?>
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/cloudflare/account/update.php b/app/Views/cloudflare/account/update.php
deleted file mode 100644
index c673532..0000000
--- a/app/Views/cloudflare/account/update.php
+++ /dev/null
@@ -1,24 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
- = form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/cloudflare/account/view.php b/app/Views/cloudflare/account/view.php
deleted file mode 100644
index 69e8d92..0000000
--- a/app/Views/cloudflare/account/view.php
+++ /dev/null
@@ -1,19 +0,0 @@
-= $this->extend('layouts/admin') ?>
-= $this->section('content') ?>
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/errors/cli/error_404.php b/app/Views/errors/cli/error_404.php
deleted file mode 100644
index 456ea3e..0000000
--- a/app/Views/errors/cli/error_404.php
+++ /dev/null
@@ -1,7 +0,0 @@
-getFile()) . ':' . $exception->getLine(), 'green'));
-CLI::newLine();
-
-$last = $exception;
-
-while ($prevException = $last->getPrevious()) {
- $last = $prevException;
-
- CLI::write(' Caused by:');
- CLI::write(' [' . $prevException::class . ']', 'red');
- CLI::write(' ' . $prevException->getMessage());
- CLI::write(' at ' . CLI::color(clean_path($prevException->getFile()) . ':' . $prevException->getLine(), 'green'));
- CLI::newLine();
-}
-
-// The backtrace
-if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE) {
- $backtraces = $last->getTrace();
-
- if ($backtraces) {
- CLI::write('Backtrace:', 'green');
- }
-
- foreach ($backtraces as $i => $error) {
- $padFile = ' '; // 4 spaces
- $padClass = ' '; // 7 spaces
- $c = str_pad($i + 1, 3, ' ', STR_PAD_LEFT);
-
- if (isset($error['file'])) {
- $filepath = clean_path($error['file']) . ':' . $error['line'];
-
- CLI::write($c . $padFile . CLI::color($filepath, 'yellow'));
- } else {
- CLI::write($c . $padFile . CLI::color('[internal function]', 'yellow'));
- }
-
- $function = '';
-
- if (isset($error['class'])) {
- $type = ($error['type'] === '->') ? '()' . $error['type'] : $error['type'];
- $function .= $padClass . $error['class'] . $type . $error['function'];
- } elseif (! isset($error['class']) && isset($error['function'])) {
- $function .= $padClass . $error['function'];
- }
-
- $args = implode(', ', array_map(static fn ($value) => match (true) {
- is_object($value) => 'Object(' . $value::class . ')',
- is_array($value) => count($value) ? '[...]' : '[]',
- $value === null => 'null', // return the lowercased version
- default => var_export($value, true),
- }, array_values($error['args'] ?? [])));
-
- $function .= '(' . $args . ')';
-
- CLI::write($function);
- CLI::newLine();
- }
-}
diff --git a/app/Views/errors/cli/production.php b/app/Views/errors/cli/production.php
deleted file mode 100644
index 7db744e..0000000
--- a/app/Views/errors/cli/production.php
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
- = lang('Errors.pageNotFound') ?>
-
-
-
-
-
-
404
-
-
-
- = nl2br(esc($message)) ?>
-
- = lang('Errors.sorryCannotFind') ?>
-
-
-
-
-
diff --git a/app/Views/errors/html/error_exception.php b/app/Views/errors/html/error_exception.php
deleted file mode 100644
index 44d7498..0000000
--- a/app/Views/errors/html/error_exception.php
+++ /dev/null
@@ -1,430 +0,0 @@
-
-
-
-
-
-
-
- = esc($title) ?>
-
-
-
-
-
-
-
-
-
-
-
-
= esc(clean_path($file)) ?> at line = esc($line) ?>
-
-
-
- = static::highlightFile($file, $line, 15); ?>
-
-
-
-
-
- getPrevious()) {
- $last = $prevException;
- ?>
-
-
- Caused by:
- = esc($prevException::class), esc($prevException->getCode() ? ' #' . $prevException->getCode() : '') ?>
-
- = nl2br(esc($prevException->getMessage())) ?>
- getMessage())) ?>"
- rel="noreferrer" target="_blank">search →
- = esc(clean_path($prevException->getFile()) . ':' . $prevException->getLine()) ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $row) : ?>
-
- -
-
-
-
-
-
- {PHP internal code}
-
-
-
-
- — = esc($row['class'] . $row['type'] . $row['function']) ?>
-
-
- ( arguments )
-
-
-
- getParameters();
- }
-
- foreach ($row['args'] as $key => $value) : ?>
-
- = esc(isset($params[$key]) ? '$' . $params[$key]->name : "#{$key}") ?> |
- = esc(print_r($value, true)) ?> |
-
-
-
-
-
-
- ()
-
-
-
-
- — = esc($row['function']) ?>()
-
-
-
-
-
-
- = static::highlightFile($row['file'], $row['line']) ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
$= esc($var) ?>
-
-
-
-
- | Key |
- Value |
-
-
-
- $value) : ?>
-
- | = esc($key) ?> |
-
-
- = esc($value) ?>
-
- = esc(print_r($value, true)) ?>
-
- |
-
-
-
-
-
-
-
-
-
-
-
Constants
-
-
-
-
- | Key |
- Value |
-
-
-
- $value) : ?>
-
- | = esc($key) ?> |
-
-
- = esc($value) ?>
-
- = esc(print_r($value, true)) ?>
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | Path |
- = esc($request->getUri()) ?> |
-
-
- | HTTP Method |
- = esc($request->getMethod()) ?> |
-
-
- | IP Address |
- = esc($request->getIPAddress()) ?> |
-
-
- | Is AJAX Request? |
- = $request->isAJAX() ? 'yes' : 'no' ?> |
-
-
- | Is CLI Request? |
- = $request->isCLI() ? 'yes' : 'no' ?> |
-
-
- | Is Secure Request? |
- = $request->isSecure() ? 'yes' : 'no' ?> |
-
-
- | User Agent |
- = esc($request->getUserAgent()->getAgentString()) ?> |
-
-
-
-
-
-
-
-
-
-
-
-
-
$= esc($var) ?>
-
-
-
-
- | Key |
- Value |
-
-
-
- $value) : ?>
-
- | = esc($key) ?> |
-
-
- = esc($value) ?>
-
- = esc(print_r($value, true)) ?>
-
- |
-
-
-
-
-
-
-
-
-
-
- No $_GET, $_POST, or $_COOKIE Information to show.
-
-
-
-
- headers(); ?>
-
-
-
Headers
-
-
-
-
- | Header |
- Value |
-
-
-
- $value) : ?>
-
- | = esc($name, 'html') ?> |
-
- getValueLine(), 'html');
- } else {
- foreach ($value as $i => $header) {
- echo ' ('. $i+1 . ') ' . esc($header->getValueLine(), 'html');
- }
- }
- ?>
- |
-
-
-
-
-
-
-
-
-
- setStatusCode(http_response_code());
- ?>
-
-
-
- | Response Status |
- = esc($response->getStatusCode() . ' - ' . $response->getReasonPhrase()) ?> |
-
-
-
- headers(); ?>
-
-
Headers
-
-
-
-
- | Header |
- Value |
-
-
-
- $value) : ?>
-
- | = esc($name, 'html') ?> |
-
- getHeaderLine($name), 'html');
- } else {
- foreach ($value as $i => $header) {
- echo ' ('. $i+1 . ') ' . esc($header->getValueLine(), 'html');
- }
- }
- ?>
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - = esc(clean_path($file)) ?>
-
-
-
-
-
-
-
-
-
-
- | Memory Usage |
- = esc(static::describeMemory(memory_get_usage(true))) ?> |
-
-
- | Peak Memory Usage: |
- = esc(static::describeMemory(memory_get_peak_usage(true))) ?> |
-
-
- | Memory Limit: |
- = esc(ini_get('memory_limit')) ?> |
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/Views/errors/html/production.php b/app/Views/errors/html/production.php
deleted file mode 100644
index 2f59a8d..0000000
--- a/app/Views/errors/html/production.php
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
- = lang('Errors.whoops') ?>
-
-
-
-
-
-
-
-
= lang('Errors.whoops') ?>
-
-
= lang('Errors.weHitASnag') ?>
-
-
-
-
-
-
diff --git a/app/Views/front/user/index.php b/app/Views/front/user/index.php
deleted file mode 100644
index 66ba655..0000000
--- a/app/Views/front/user/index.php
+++ /dev/null
@@ -1,41 +0,0 @@
-= $this->extend('layouts/front') ?>
-= $this->section('content') ?>
-
-
-
= html_entity_decode($viewDatas['currentCategory']->head) ?>
-
= $this->include('templates/front/index_head') ?>
- = form_open(current_url() . '/batchjob', $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-
- | # |
- = getFieldIndex_Column_UserHelper($field, $viewDatas) ?>
-
-
-
-
-
- status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
-
- getPrimaryKey() == $viewDatas['auth'][AUTH_FIELDS['ID']]) : ?>
- = anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
-
- = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt) ?>
-
- |
-
- = getFieldIndex_Row_UserHelper($field, $entity, $viewDatas) ?> |
-
-
-
-
-
-
-
- = $viewDatas['pagination'] ?>
-
- = form_close() ?>
-
= html_entity_decode($viewDatas['currentCategory']->tail) ?>
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/front/user/insert.php b/app/Views/front/user/insert.php
deleted file mode 100644
index db7c9b9..0000000
--- a/app/Views/front/user/insert.php
+++ /dev/null
@@ -1,24 +0,0 @@
-= $this->extend('layouts/front') ?>
-= $this->section('content') ?>
-
-
-
= html_entity_decode($viewDatas['currentCategory']->head) ?>
- = form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
- = form_close(); ?>
-
= html_entity_decode($viewDatas['currentCategory']->tail) ?>
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/front/user/login.php b/app/Views/front/user/login.php
deleted file mode 100644
index 1f01f65..0000000
--- a/app/Views/front/user/login.php
+++ /dev/null
@@ -1,39 +0,0 @@
-= $this->extend('layouts/main') ?>
-= $this->section('content') ?>
-
-
-
-
- = form_open(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
- | 계정 |
-
- = form_input('id', old('id', DEFAULTS['EMPTY']), ['tabindex' => 0]) ?>
- |
-
- = form_input([
- 'type' => 'image', 'src' => "/images/common/btn_login.png",
- 'width' => '57', 'height' => '60', 'tabindex' => 2
- ]) ?>
- |
-
-
- | 암호 |
-
- = form_password('passwd', old('passwd', DEFAULTS['EMPTY']), ['tabindex' => 1]) ?>
- |
-
-
- |
- 회원가입
- $login_button) : ?>
- = $login_button ?>
-
- |
-
-
- = form_close(); ?>
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/front/user/login_v1.php b/app/Views/front/user/login_v1.php
deleted file mode 100644
index 0124bd9..0000000
--- a/app/Views/front/user/login_v1.php
+++ /dev/null
@@ -1,37 +0,0 @@
-= $this->extend('layouts/main') ?>
-= $this->section('content') ?>
-
-
-
-
- = form_open(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
-
-
-
-
- = form_input('id', old('id', DEFAULTS['EMPTY'])) ?>
-
-
-
-
-
-
-
- = form_password('passwd', old('passwd', DEFAULTS['EMPTY'])) ?>
-
-
-
-
- = form_submit('', '로그인', array("class" => "btn btn-outline btn-primary")) ?>
-
-
-
-
- = form_close(); ?>
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/front/user/update.php b/app/Views/front/user/update.php
deleted file mode 100644
index e4de5a0..0000000
--- a/app/Views/front/user/update.php
+++ /dev/null
@@ -1,24 +0,0 @@
-= $this->extend('layouts/front') ?>
-= $this->section('content') ?>
-
-
-
= html_entity_decode($viewDatas['currentCategory']->head) ?>
- = form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
-
- = form_close(); ?>
-
= html_entity_decode($viewDatas['currentCategory']->tail) ?>
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/front/welcome_message.php b/app/Views/front/welcome_message.php
deleted file mode 100644
index 82d40fd..0000000
--- a/app/Views/front/welcome_message.php
+++ /dev/null
@@ -1,342 +0,0 @@
-= $this->extend('layouts/main') ?>
-= $this->section('content') ?>
-
-
-
- -
-
-
- - SERVER
- - - 정품HP 서버 사용
- - - 안정적인 RAID 1+0 구성
- - - 365/24 기술문의 가능
-
-
-
- -
-
-
- - NETWORK
- - - 안정적인 기가망 사용
- - - 100%에 도전! DDOS 방어
- - - 실시간 트래픽 관제
-
-
-
- -
-
-
- - SERVICE
- - - 365일24시간 고객대응
- - - 친절한 고객 응대
- - - 신속하고 정확한 작업 처리
-
-
-
-
-
-
-
-
-
가상서버 안내 및 사양, 가격정보입니다.
-
-
-
- 4core
-
-
-
-
-
- | 지원 서비스 |
- 문의 |
-
-
-
-
-
-
- - 서비스 방어
- - DDOS 방어
- - 무료 SSL(Let's Encrypt)
- - 기본 OS 및 Application 설치
- - 내부 사설네트워크 추가
- - Backup/Restore,Snapshot
- - 공통 가상서버 Template
- - Online 스펙변경가능
- - 서비스 신청 후 1시간내 사용가능
- - OS(x64) : Linux , Windows 등 지원
-
- |
-
-
- - 웹호스팅의 제약으로인해, 단독서버호스팅으로 전환해야 하나,
비용/관리 부분이 걱정되시는 분
- - 장비 구매/임대/유지 비용을 절감하고자 하는, 중/소 규모 서비스
- - 신규 사업 시작시 독자적인 사이트 운영이 필요하신 분
- - 사용량이 낮은 단독 서버호스팅 운영비용 절감이 필요하신 분
- - 비정기적 이벤트에 따른 일시적/한시적 서버환경이 필요하신 분
- - 최신 하드웨어에서 설치 불가한 구버전 운영체제를 이용하실 경우
-
- |
-
-
-
-
-
-
-
-
- VPS Basic(HP DL360Gen9)
-
-
- | VPS Basic(HP DL360Gen9) |
-
-
-
-
- | VCPU |
- Xeon 4Core |
-
-
- | RAM |
- 8G |
-
-
- | SSD |
- 100G |
-
-
- | 기본임대료 |
- 15만원 할인가 10만원 (공인IP,회선비 별도) |
-
-
-
-
-
-
-
-
- VPS Pro(HP DL360Gen9)
-
-
- | VPS Pro(HP DL360Gen9) |
-
-
-
-
- | VCPU |
- Xeon 8Core |
-
-
- | RAM |
- 16G |
-
-
- | SSD |
- 150G |
-
-
- | 기본임대료 |
- 25만원 할인가 15만원 (공인IP,회선비 별도) |
-
-
-
-
-
-
-
-
단독서버 안내 및 사양, 가격정보입니다.
-
-
-
-
-
- 4core
-
-
-
-
-
-
- | 4core |
-
-
-
-
- | CPU |
- E5530 |
-
-
- | RAM |
- 8G |
-
-
- | HDD |
- SAS146G*4 |
-
-
- | 임대료 |
- 35만원 할인가 25만원 (회선비 별도) |
-
-
-
-
-
-
-
-
- 8core
-
-
-
-
-
-
- | 8core |
-
-
-
-
- | CPU |
- X5560*2 |
-
-
- | RAM |
- 16G |
-
-
- | HDD |
- SSD128G*2+SATA500G*2 |
-
-
- | 임대료 |
- 45만원 할인가 35만원 (회선비 별도) |
-
-
-
-
-
-
-
-
- 12core
-
-
-
-
-
-
- | 12core |
-
-
-
-
- | CPU |
- X5650*2 |
-
-
- | RAM |
- 16G |
-
-
- | HDD |
- SSD128G*2+SATA500G*2 |
-
-
- | 임대료 |
- 55만원 할인가 45만원 (회선비 별도) |
-
-
-
-
-
-
-
-
- 20core
-
-
-
-
-
-
- | 20core |
-
-
-
-
- | CPU |
- E2690v2*2 |
-
-
- | RAM |
- 32G |
-
-
- | HDD |
- SSD128G*2+SATA500G*2 |
-
-
- | 임대료 |
- 65만원 할인가 55만원 (회선비 별도) |
-
-
-
-
-
-
-
-
-
-
-
-
- - 회선 서비스
- - 회선서비스 코로케이션 / 단독회선 등이 있습니다.
-
-
-
-
-
-
- - 기타 서비스
- - 방화벽 / 웹방화벽 / 우회망 / 도메인 구매대행이 있습니다.
-
-
-
-
-
-
-
-
-
- -
-
-
- -
-
-
- - 자료실
- - = view_cell('BoardCell::reference', $viewDatas) ?>
-
-
-
- -
-
-
- - 공지사항
- - = view_cell('BoardCell::information', $viewDatas) ?>
-
-
-
-
-
-
-
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/app/Views/layouts/admin.php b/app/Views/layouts/admin.php
deleted file mode 100644
index dad75ba..0000000
--- a/app/Views/layouts/admin.php
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
- = $viewDatas['title'] ?>
-
- = $stylesheet ?>
-
-
- = $javascript ?>
-
-
-
-
-
-
-
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/head'); ?>
-
-
-
-
-
-
= $this->renderSection('content') ?>
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/tail'); ?>
-
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/head.php b/app/Views/layouts/admin/head.php
deleted file mode 100644
index a2146e0..0000000
--- a/app/Views/layouts/admin/head.php
+++ /dev/null
@@ -1,20 +0,0 @@
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/head/make_password.php b/app/Views/layouts/admin/head/make_password.php
deleted file mode 100644
index cbb0baa..0000000
--- a/app/Views/layouts/admin/head/make_password.php
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/head/member_link.php b/app/Views/layouts/admin/head/member_link.php
deleted file mode 100644
index 34d8638..0000000
--- a/app/Views/layouts/admin/head/member_link.php
+++ /dev/null
@@ -1,17 +0,0 @@
-
- get(SESSION_NAMES['ISLOGIN'])): ?>
-
- = ICONS['LOGIN'] ?> = $viewDatas['session']->get(SESSION_NAMES['AUTH'])[AUTH_FIELDS['TITLE']] ?>
-
-
- = ICONS['LOGIN'] ?>Login
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/head/search.php b/app/Views/layouts/admin/head/search.php
deleted file mode 100644
index d5a2c9f..0000000
--- a/app/Views/layouts/admin/head/search.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/left_menu.php b/app/Views/layouts/admin/left_menu.php
deleted file mode 100644
index dee0928..0000000
--- a/app/Views/layouts/admin/left_menu.php
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/left_menu/base'); ?>
- = $this->include($viewDatas['layout']['path'] . '/left_menu/site'); ?>
- = $this->include($viewDatas['layout']['path'] . '/left_menu/shoppingmall'); ?>
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/left_menu/base.php b/app/Views/layouts/admin/left_menu/base.php
deleted file mode 100644
index 00929c2..0000000
--- a/app/Views/layouts/admin/left_menu/base.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/left_menu/shoppingmall.php b/app/Views/layouts/admin/left_menu/shoppingmall.php
deleted file mode 100644
index 21bb42d..0000000
--- a/app/Views/layouts/admin/left_menu/shoppingmall.php
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/left_menu/site.php b/app/Views/layouts/admin/left_menu/site.php
deleted file mode 100644
index 4601c4e..0000000
--- a/app/Views/layouts/admin/left_menu/site.php
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/admin/tail.php b/app/Views/layouts/admin/tail.php
deleted file mode 100644
index e69de29..0000000
diff --git a/app/Views/layouts/empty.php b/app/Views/layouts/empty.php
deleted file mode 100644
index 2f23d0f..0000000
--- a/app/Views/layouts/empty.php
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
- = $stylesheet ?>
-
-
- = $javascript ?>
-
-
-
-
-
-
-
- = $viewDatas['title'] ?>
-
-
-
-
- = $this->include('templates/empty/header'); ?>
- = $this->renderSection('content') ?>
- = $this->include('templates/empty/footer'); ?>
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/front.php b/app/Views/layouts/front.php
deleted file mode 100644
index 1b507c1..0000000
--- a/app/Views/layouts/front.php
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- = $meta ?>
- = $stylesheet ?>
- = $javascript ?>
-
-
- = $viewDatas['title'] ?>
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/top_navigator'); ?>
- = $this->include($viewDatas['layout']['path'] . '/top_menu'); ?>
- = TOP_BANNER[array_key_exists('currentCategory', $viewDatas) ? $viewDatas['currentCategory']->parent : 'default'] ?>
-
-
-
-
-
-
- |
- = $this->include($viewDatas['layout']['path'] . '/left_menu'); ?>
- |
-
- = $this->include('templates/front/header'); ?>
- = $this->renderSection('content') ?>
- = $this->include('templates/front/footer'); ?>
- |
-
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/../common/copyright'); ?>
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/front/head.php b/app/Views/layouts/front/head.php
deleted file mode 100644
index b069fee..0000000
--- a/app/Views/layouts/front/head.php
+++ /dev/null
@@ -1,2 +0,0 @@
-= $this->include($viewDatas['layout']['path'] . 'head/navigator'); ?>
-= $this->include($viewDatas['layout']['path'] . 'head/top_menu'); ?>
\ No newline at end of file
diff --git a/app/Views/layouts/front/head/navigator.php b/app/Views/layouts/front/head/navigator.php
deleted file mode 100644
index 0207edc..0000000
--- a/app/Views/layouts/front/head/navigator.php
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
- = ICONS['LOGO'] ?>
-
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/front/head/top_menu.php b/app/Views/layouts/front/head/top_menu.php
deleted file mode 100644
index ed58368..0000000
--- a/app/Views/layouts/front/head/top_menu.php
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/front/left_menu.php b/app/Views/layouts/front/left_menu.php
deleted file mode 100644
index 344a00b..0000000
--- a/app/Views/layouts/front/left_menu.php
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/front/tail.php b/app/Views/layouts/front/tail.php
deleted file mode 100644
index dcd45ae..0000000
--- a/app/Views/layouts/front/tail.php
+++ /dev/null
@@ -1 +0,0 @@
-= $this->include($viewDatas['layout']['path'] . 'tail/copyright'); ?>
\ No newline at end of file
diff --git a/app/Views/layouts/front/tail/copyright.php b/app/Views/layouts/front/tail/copyright.php
deleted file mode 100644
index 01bd6cd..0000000
--- a/app/Views/layouts/front/tail/copyright.php
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 항상 빠르고 안전하고 저렴한 가격으로 고객님을 대신해서 구매대행을 진행할 수 있도록 하겠습니다.
- 언제나 믿고 신뢰할 수 있는 르호봇이 되도록 노력하겠습니다.
- 감사합니다.
-
-
- 이용약관
-
-
- 개인정보취급방침
-
-
-
-
- Copyright(c) All Right Reserved.
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/front_simple.php b/app/Views/layouts/front_simple.php
deleted file mode 100644
index 7b64b3d..0000000
--- a/app/Views/layouts/front_simple.php
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- = $stylesheet ?>
-
-
- = $javascript ?>
-
-
-
-
-
-
-
- = $viewDatas['title'] ?>
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/top_navigator'); ?>
- = $this->include($viewDatas['layout']['path'] . '/top_menu'); ?>
-
-
-
-
- = $this->renderSection('content') ?>
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/../common/copyright'); ?>
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/layouts/main.php b/app/Views/layouts/main.php
deleted file mode 100644
index a5604fd..0000000
--- a/app/Views/layouts/main.php
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- = $stylesheet ?>
-
-
- = $javascript ?>
-
-
-
-
-
-
-
-
- = $viewDatas['title'] ?>
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/top_navigator'); ?>
- = $this->include($viewDatas['layout']['path'] . '/top_menu'); ?>
-
-
-
-
-
-
-
-
-
- = $this->renderSection('content') ?>
-
-
-
-
- = $this->include($viewDatas['layout']['path'] . '/../common/copyright'); ?>
-
-
-
-
\ No newline at end of file
diff --git a/app/Views/templates/Pagers/bootstrap_full.php b/app/Views/templates/Pagers/bootstrap_full.php
deleted file mode 100644
index 8d0df7a..0000000
--- a/app/Views/templates/Pagers/bootstrap_full.php
+++ /dev/null
@@ -1,34 +0,0 @@
-setSurroundCount(2);
-?>
-
-
-
\ No newline at end of file
diff --git a/app/Views/templates/Pagers/bootstrap_simple.php b/app/Views/templates/Pagers/bootstrap_simple.php
deleted file mode 100644
index e728703..0000000
--- a/app/Views/templates/Pagers/bootstrap_simple.php
+++ /dev/null
@@ -1,17 +0,0 @@
-setSurroundCount(0);
-?>
-
-
-
\ No newline at end of file
diff --git a/app/Views/templates/admin/footer.php b/app/Views/templates/admin/footer.php
deleted file mode 100644
index 01e7c45..0000000
--- a/app/Views/templates/admin/footer.php
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/Views/templates/admin/header.php b/app/Views/templates/admin/header.php
deleted file mode 100644
index c91dee2..0000000
--- a/app/Views/templates/admin/header.php
+++ /dev/null
@@ -1,7 +0,0 @@
-
- -
-
-
= ICONS['DESKTOP'] ?> = $viewDatas['title'] ?>
-
-
-
\ No newline at end of file
diff --git a/app/Views/templates/admin/index_head.php b/app/Views/templates/admin/index_head.php
deleted file mode 100644
index 813b68d..0000000
--- a/app/Views/templates/admin/index_head.php
+++ /dev/null
@@ -1,12 +0,0 @@
-
- 검색어:= form_input('word', $viewDatas['word']) ?>
- 검색일:= form_input('start', $viewDatas['start'], ["class" => "calender"]) ?>= form_input('end', $viewDatas['end'], ["class" => "calender"]) ?>
- = form_submit('', '검색하기') ?>
- = anchor(current_url() . '/excel?' . $viewDatas['uri']->getQuery(), ICONS['EXCEL'], ["target" => "_self"]) ?>
-
-
-
- 페이지정보 : = $viewDatas['page'] ?>/= $viewDatas['total_page'] ?>
- = form_dropdown('per_page', $viewDatas['pageOptions'], $viewDatas['per_page'], array('onChange' => 'this.form.submit()')) ?> / 총:= $viewDatas['total_count'] ?>
-
-
\ No newline at end of file
diff --git a/app/Views/templates/empty/footer.php b/app/Views/templates/empty/footer.php
deleted file mode 100644
index 1d48638..0000000
--- a/app/Views/templates/empty/footer.php
+++ /dev/null
@@ -1,2 +0,0 @@
-
-= $viewDatas['session']->getFlashdata('return_message') ? alert_CommonHelper($viewDatas['session']->getFlashdata('return_message')) : "" ?>
\ No newline at end of file
diff --git a/app/Views/templates/empty/header.php b/app/Views/templates/empty/header.php
deleted file mode 100644
index 5b6637d..0000000
--- a/app/Views/templates/empty/header.php
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/app/Views/templates/front/footer.php b/app/Views/templates/front/footer.php
deleted file mode 100644
index 1da6eec..0000000
--- a/app/Views/templates/front/footer.php
+++ /dev/null
@@ -1,35 +0,0 @@
-
-= $viewDatas['session']->getFlashdata('return_message') ? alert_CommonHelper($viewDatas['session']->getFlashdata('return_message')) : "" ?>
-
\ No newline at end of file
diff --git a/app/Views/templates/front/header.php b/app/Views/templates/front/header.php
deleted file mode 100644
index e8aa951..0000000
--- a/app/Views/templates/front/header.php
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- = $viewDatas['class_icon'] ?>= $viewDatas['currentCategory']->getTitle() ?>
-
-
-
- = ICONS['HOME'] ?> > = $viewDatas['menus'][$viewDatas['currentCategory']->parent]['entity']->getTitle() ?> > = $viewDatas['currentCategory']->getTitle() ?>
-
-
-
\ No newline at end of file
diff --git a/app/Views/templates/front/index_head.php b/app/Views/templates/front/index_head.php
deleted file mode 100644
index ef2a37b..0000000
--- a/app/Views/templates/front/index_head.php
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- 페이지정보 : = $viewDatas['page'] ?>/= $viewDatas['total_page'] ?>
-
-
-
- = form_open(current_url(), array("method" => "get")) ?>
- = form_input('word', $viewDatas['word']) ?>
- = form_submit('', '검색하기') ?>
- = form_close() ?>
-
-
-
\ No newline at end of file
diff --git a/public/.htaccess b/public/.htaccess
deleted file mode 100644
index abac3cb..0000000
--- a/public/.htaccess
+++ /dev/null
@@ -1,49 +0,0 @@
-# Disable directory browsing
-Options -Indexes
-
-# ----------------------------------------------------------------------
-# Rewrite engine
-# ----------------------------------------------------------------------
-
-# Turning on the rewrite engine is necessary for the following rules and features.
-# FollowSymLinks must be enabled for this to work.
-
- Options +FollowSymlinks
- RewriteEngine On
-
- # If you installed CodeIgniter in a subfolder, you will need to
- # change the following line to match the subfolder you need.
- # http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase
- # RewriteBase /
-
- # Redirect Trailing Slashes...
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} (.+)/$
- RewriteRule ^ %1 [L,R=301]
-
- # Rewrite "www.example.com -> example.com"
- RewriteCond %{HTTPS} !=on
- RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
- RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
-
- # Checks to see if the user is attempting to access a valid file,
- # such as an image or css document, if this isn't true it sends the
- # request to the front controller, index.php
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA]
-
- # Ensure Authorization header is passed along
- RewriteCond %{HTTP:Authorization} .
- RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
-
-
-
- # If we don't have mod_rewrite installed, all 404's
- # can be sent to index.php, and everything works as normal.
- ErrorDocument 404 index.php
-
-
-# Disable server signature start
-ServerSignature Off
-# Disable server signature end
diff --git a/public/css/admin.css b/public/css/admin.css
deleted file mode 100644
index de42735..0000000
--- a/public/css/admin.css
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ------------------------------------------------------------
- * Name : admin.css
- * Desc : Admin StyleSheet
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
-* {
- margin: 0px;
- padding: 0px;
- font-size: 14px;
-}
-body {
- height: 100vw; /* 화면 넓이의 100% */
- height: 100vh; /* 화면 높이의 100% */
- background-color: #efefef;
- /* border:1px solid blue; */
-}
-div.layout > div.head {
- height: 51px;
- border: 1px solid gray;
- background-color: #f8f9fa;
-}
-div.layout > div.tail {
- height: 51px;
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: lightgray;
- text-align: center;
- padding: 10px;
-}
-div.layout > div.center > div.content {
- margin-top: 20px;
- margin-left: 25px;
- margin-right: 20px;
-}
-div.layout > div.center > div.content > div.header {
- /*content 헤더라인*/
- height: 50px;
- background-color: #e7e7e7;
-}
-div.layout > div.center > div.content > div.header > ul.nav {
- /*nav-tabs 헤더라인*/
- border-top: 1px solid gray;
- border-left: 1px solid gray;
- border-right: 1px solid gray;
- border-radius: 15px 15px 0px 0px;
-}
-div.layout > div.center > div.content > div.center {
- /*content 부분*/
- height: 100%;
- padding: 15px;
- /* border: 1px solid gray; */
- border-left: 1px solid gray;
- border-right: 1px solid gray;
- background-color: white;
-}
-div.layout > div.center > div.content div.footer {
- /*content 하단라인*/
- height: 20px;
- border-left: 1px solid gray;
- border-right: 1px solid gray;
- border-bottom: 1px solid gray;
- border-radius: 0px 0px 15px 15px;
-}
diff --git a/public/css/admin/content.css b/public/css/admin/content.css
deleted file mode 100644
index 71fa4f9..0000000
--- a/public/css/admin/content.css
+++ /dev/null
@@ -1,95 +0,0 @@
-div#content{
- color:black;
- padding-top:20px;
- margin-bottom:40px;
- /* border-left:1px solid silver;
- border-right:1px solid silver; */
-}
-/* div#content div.top{
- border:1px solid red;
-} */
-
-/*페이지정보*/
-div#content div.top nav span.pageinfo{
- font-weight:bold;
-}
-/*검색*/
-div#content div.top nav input[type=text]{
- width:200px;
- height:40px;
- border-radius:0px !important;
- /* border:1px solid red; */
-}
-/*검색submit*/
-div#content div.top nav input[type=submit]{
- font-size:12px;
- font-weight:bold;
- width:80px;
- height:40px;
- color:white;
- border-radius:0px !important;
- background-color:#555555;
- /* border:1px solid red; */
-}
-/*Excel Icon*/
-div#content div.top nav a{
- border-radius:0px !important;
- /* border:1px solid red; */
-}
-
-/* Table 부분 */
-div#content table {
- width:100%;
- /* overflow-x: auto;
- padding-top:5px;
- padding-bottom:5px; */
-}
-
-/* insert,update,reply,view Form Page 관련 전용*/
-div#content table.form tbody tr td.label{
- width:10%;
- text-align:right;
- padding-right:20px;
- background-color:#e8ebe9;
-}
-div#content table.form tbody tr td.column{
- height:27px;
- text-align:left;
- padding-left:20px;
-}
-/* insert,update,reply,view Form Page 관련 전용*/
-
-/* 상품 리스트 전용 */
-div#content table.product tr:first-child {
- border-top:2px solid black;
- border-bottom:1px solid silver;
-}
-/* 상품 리스트 전용 */
-
-div#content table thead th{
- white-space: nowrap;
- padding-top:15px;
- padding-bottom:15px;
- font-size: 16px;
- font-weight:bold;
- border-top:2px solid black;
- border-bottom:1px solid silver;
- background-color:#F5F5F5;
- /* border:1px solid silver; */
-}
-
-div#content div.bottom {
- padding-top:15px;
- text-align:center;
-}
-div#content div.bottom ul.pagination {
- margin-top:20px;
-}
-div#content div.bottom ul.pagination li.page-item a{
- border:0px;
- border-radius:0px !important;
- background-color:#e8ebe9;
-}
-div#content div.bottom ul.pagination li.active a{
- background-color:gray;
-}
\ No newline at end of file
diff --git a/public/css/admin/left_menu.css b/public/css/admin/left_menu.css
deleted file mode 100644
index bd83d75..0000000
--- a/public/css/admin/left_menu.css
+++ /dev/null
@@ -1,34 +0,0 @@
-div#left_menu {
- position: fixed;
- margin-top: 10px;
- z-index: 100;
- border: 1px solid #e7e7e7;
-}
-div#left_menu > div#menu_button {
- position: absolute;
- top: 0px;
- right: -20px;
- height: 100px;
- width: 20px;
- cursor: ew-resize;
- writing-mode: vertical-rl; /* 세로로 글자를 출력 */
- text-orientation: upright; /* 글자가 직립되도록 설정 */
- border-radius: 0px 5px 5px 0px;
- border: 1px solid silver;
- background-color: #eaeaea;
-}
-div#left_menu > div.accordion {
- /* display:none; */
- background-color: white;
- width: 20px;
- display: none;
-}
-div#left_menu > div.accordion div.accordion-item:hover {
- background-color: #e7e7e7;
-}
-div#left_menu > div.accordion div.accordion-item a {
- padding-left: 20px;
-}
-div#left_menu > div.accordion div.accordion-collapse a {
- padding-left: 30px;
-}
diff --git a/public/css/admin/member_link.css b/public/css/admin/member_link.css
deleted file mode 100644
index 38ed839..0000000
--- a/public/css/admin/member_link.css
+++ /dev/null
@@ -1,17 +0,0 @@
-nav.top_menu ul.member-link{
- /* border:1px solid red; */
- color:#3a37f3;
- padding-right:20px;
-}
-
-nav.top_menu ul.member-link a{
- color:#3a37f3;
-}
-
-nav.top_menu ul.member-link ul.dropdown-menu li:hover{
- background-color: #eaeaea;
-}
-
-nav.top_menu ul.member-link ul.dropdown-menu li a{
- padding-left:10px;
-}
\ No newline at end of file
diff --git a/public/css/common/copyright.css b/public/css/common/copyright.css
deleted file mode 100644
index 45a4a77..0000000
--- a/public/css/common/copyright.css
+++ /dev/null
@@ -1,29 +0,0 @@
-div#copyright{
- width:100%;
- height:300px;
- padding-top:30px;
- padding-bottom:30px;
- background-color:#2d2e2e;
- color:white;
-}
-
-div#copyright div#content_bottom{
- color:white;
- text-align:left;
- /* border-left:1px solid silver;
- border-right:1px solid silver; */
-}
-
-div#copyright div#content_bottom .item{
- padding-top:5px;
- padding-left:5px;
- padding-right:5px;
- border-top:1px solid silver;
- border-left:1px solid silver;
- border-right:1px solid silver;
-}
-
-div#copyright div#content_bottom div.company_info{
- padding:10px;
- border:1px solid silver;
-}
diff --git a/public/css/common/left_menu.css b/public/css/common/left_menu.css
deleted file mode 100644
index 30bb035..0000000
--- a/public/css/common/left_menu.css
+++ /dev/null
@@ -1,60 +0,0 @@
-div#left_menu{
- /* position:fixed;
- z-index:100; */
- width:200px;
- background-color:white;
-}
-
-div#left_menu div.parent {
- font-size:24px;
- font-weight:bold;
- height:170px;
- padding-top:30px;
- background-color: #eeeeee;
- border:1px solid silver;
- text-align:center;
-}
-div#left_menu div.parent div.title{
- color:#26417D;
-}
-div#left_menu div.parent div{
- font-size:24px;
-}
-
-/* leftmenu bar */
-div#left_menu div.sibling {
- padding-top:15px;
- text-align:left;
- padding-left:20px;
- height:60px;
- border-bottom:1px solid silver;
-}
-div#left_menu div.active {
- background-color:#26417D;
-}
-div#left_menu div.sibling a{
- text-decoration: none;
- color:black;
- font-size:18px;
-}
-div#left_menu div.sibling span.play{
- float:right;
- color:white;
- padding-top:5px;
- padding-right:15px;
-}
-div#left_menu div.active {
- background-color:#26417D;
-}
-div#left_menu div.active a{
- color:white;
-}
-div#left_menu div.sibling:hover {
- background-color:#26417D;
-}
-div#left_menu div.sibling:hover a,div.active{
- color:white;
-}
-div#left_menu div.sibling:hover span.play{
- color:white;
-}
\ No newline at end of file
diff --git a/public/css/common/login.css b/public/css/common/login.css
deleted file mode 100644
index c35ee0d..0000000
--- a/public/css/common/login.css
+++ /dev/null
@@ -1,46 +0,0 @@
-/* ------------------------------------------------------------
-* Name : admin.css
-* Desc : Admin StyleSheet
-* Created : 2016/9/11 Tri-aBility by Junheum,Choi
-* Updated :
------------------------------------------------------------- */
-div.login{
- width: 799px;
- height: 283px;
- margin-top:30px;
- margin-left:120px;
- padding-top:155px;
- background-image: url('/images/common/adminbg.png');
-}
-div.login form{
- margin-left:300px;
- /* border: 1px solid red; */
-}
-
-div.login form table {
- width:300px;
- /* border: 1px solid red; */
-}
-
-div.login form table td {
- text-align: center;
- color:white;
- padding-right:5px;
- /* border: 1px solid blue; */
-}
-div.login form table td.column {
- height: 27px;
-}
-
-div.login form table td.login_bottom{
- padding-top:20px;
-}
-div.login form table td.login_bottom a{
- color:white;
-}
-
-/* div.login form table input[type=submit]{
- width: 57px;
- height: 60px;
- background: url('/images/common/btn_login.png');
-} */
\ No newline at end of file
diff --git a/public/css/common/login_v1.css b/public/css/common/login_v1.css
deleted file mode 100644
index 8eb0668..0000000
--- a/public/css/common/login_v1.css
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ------------------------------------------------------------
-* Name : admin.css
-* Desc : Admin StyleSheet
-* Created : 2016/9/11 Tri-aBility by Junheum,Choi
-* Updated :
------------------------------------------------------------- */
-
-div#content a {
- color:black;
-}
-
-div#content div.login{
- width: 509px;
- margin-top:30px;
-}
-
-div#content div.login form {
- padding-top:20px;
- border:1px solid silver;
-}
-
-div#content div.login form div.label_column{
- text-align:right;
- /* border:1px solid red; */
-}
-
-div#content div.login form label.col-form-label{
- font-size:18px;
- font-weight:bold;
- /* border:1px solid red; */
-}
-
-div#content div.login form input[type=text],input[type=password]{
- text-align:left;
- height:35px;
- width:250px;
- border:1px solid silver;
-}
-
-div#content div.login_bottom{
- padding-top:20px;
- padding-bottom:20px;
- text-align:center;
-}
-
-/* div#content div.login form table input[type=submit]{
- width: 57px;
- height: 60px;
- background: url('/images/common/btn_login.png');
-} */
\ No newline at end of file
diff --git a/public/css/common/top_menu.css b/public/css/common/top_menu.css
deleted file mode 100644
index de2808b..0000000
--- a/public/css/common/top_menu.css
+++ /dev/null
@@ -1,74 +0,0 @@
-
-#top_menu{
- width:1280px;
- /* border:1px solid red; */
-}
-#top_menu a:hover{
- text-decoration:none;
-}
-/* #top_menu nav.nav,ul.nav{
- border:1px solid red;
-} */
-#top_menu a.navbar-brand{
- font-size:24px;
- font-weight:bold;
-}
-
-/* 메뉴바그룹 상단글자*/
-#top_menu div.dropdown-center ul.navbar-nav a#navbarDarkDropdownMenuLink{
- font-size:18px;
- font-weight:bold;
- /* border:1px solid silver; */
-}
-
-/* 메뉴바그룹 */
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown {
- width:150px;
- text-align:center;
- /* border:1px solid red; */
-}
-/* 메뉴바그룹 hover했을시 */
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown:hover a#navbarDarkDropdownMenuLink{
- color:#26417D;
-}
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown:hover ul.dropdown-menu{
- /* margin-top:15px; */
- display: block;
- /* 라운드없애기 */
- border-radius:0px !important;
- padding-bottom:0px;
- border:0px;
- /* border:1px solid silver; */
-}
-
-/* 메뉴바 */
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li{
- height:60px;
- padding-top:15px;
- border-bottom:1px solid silver;
-}
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li a{
- width:150px;
- font-size:16px;
- font-weight:bold;
- text-align:center;
- text-decoration:none;
-}
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li.active{
- background-color:#26417D;
- /* border:1px solid red; */
-}
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li.active a{
- color:white;
- background-color:#26417D;
- /* border:1px solid red; */
-}
-/* 메뉴바 over했을시*/
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li:hover{
- background-color:#26417D;
- /* border:1px solid red; */
-}
-#top_menu div.dropdown-center ul.navbar-nav li.dropdown ul.dropdown-menu li:hover a{
- color:white;
- background-color:#26417D;
-}
\ No newline at end of file
diff --git a/public/css/common/top_navigator.css b/public/css/common/top_navigator.css
deleted file mode 100644
index ab9cd34..0000000
--- a/public/css/common/top_navigator.css
+++ /dev/null
@@ -1,24 +0,0 @@
-#top_navigator{
- padding-top:20px;
- padding-bottom:20px;
- background-color:#eeeeee
-}
-
-#top_navigator ul.justify-content-center div.navigator_center span{
- padding-left:5px;
- padding-right:5px;
-}
-#top_navigator ul.justify-content-center div.navigator_center span strong{
- color:#26417D;
- font-weight: bold;
-}
-
-#top_navigator ul.justify-content-center div.navigator_center span strong{
- color:#26417D;
- font-weight: bold;
-}
-
-#top_navigator ul.justify-content-end li.cart a{
- font-size:18px;
- font-weight: 500;
-}
diff --git a/public/css/empty.css b/public/css/empty.css
deleted file mode 100644
index 2decc0b..0000000
--- a/public/css/empty.css
+++ /dev/null
@@ -1,14 +0,0 @@
-/* ------------------------------------------------------------
- * Name : admin.css
- * Desc : Admin StyleSheet
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
-
- * {
- margin:0px;
- padding:0px;
- border:0px;
- font-size:14px;
- font: Arial;
-}
diff --git a/public/css/front.css b/public/css/front.css
deleted file mode 100644
index 469f91a..0000000
--- a/public/css/front.css
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ------------------------------------------------------------
- * Name : admin.css
- * Desc : Admin StyleSheet
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
- * {
- margin:0px;
- padding:0px;
- border:0px;
- font-size:14px;
- font: Arial;
-}
-
-/* #head{
- border:1px solid blue;
-} */
-#tail{
- text-align:center;
- /* border:1px solid green; */
-}
-#layout {
- width:1280px;
- /* border:1px solid blue; */
-}
-
-#layout #body{
- padding-left:10px;
- /* border:1px solid red; */
-}
-
-#layout #body nav.header{
- /*content 상단라인*/
- padding-top:40px;
- margin-left:30px;
- border-bottom:1px solid silver;
-}
-#layout #body nav.header nav h4.title{
- font-size:26px;
- font-weight:bold;
-}
-#layout #body nav.header nav span.flow{
- color: gray;
-}
-#layout #body div.footer
- /*content 하단라인*/{
- height:20px;
- /* border-top:0px;
- border-left:1px solid silver;
- border-bottom:1px solid silver;
- border-right:1px solid silver;
- border-radius: 0px 0px 10px 10px;
- background-color:white; */
-}
\ No newline at end of file
diff --git a/public/css/front/billing.css b/public/css/front/billing.css
deleted file mode 100644
index b796a9d..0000000
--- a/public/css/front/billing.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ------------------------------------------------------------
-* Name : admin.css
-* Desc : Admin StyleSheet
-* Created : 2016/9/11 Tri-aBility by Junheum,Choi
-* Updated :
------------------------------------------------------------- */
-table#billing td {
- text-align: center;
- color:white;
- padding-right:5px;
- /* border: 1px solid blue; */
-}
-table#billing td {
- height: 27px;
-}
-table#billing td.label {
- width: 15%;
-}
\ No newline at end of file
diff --git a/public/css/front/content.css b/public/css/front/content.css
deleted file mode 100644
index 6c6f850..0000000
--- a/public/css/front/content.css
+++ /dev/null
@@ -1,96 +0,0 @@
-div#content{
- color:black;
- padding-top:20px;
- padding-left:30px;
- margin-bottom:40px;
- /* border-left:1px solid silver;
- border-right:1px solid silver; */
-}
-/* div#content div.top{
- border:1px solid red;
-} */
-
-/*페이지정보*/
-div#content div.top nav span.pageinfo{
- font-weight:bold;
-}
-/*검색*/
-div#content div.top nav input[type=text]{
- width:200px;
- height:40px;
- border-radius:0px !important;
- /* border:1px solid red; */
-}
-/*검색submit*/
-div#content div.top nav input[type=submit]{
- font-size:12px;
- font-weight:bold;
- width:80px;
- height:40px;
- color:white;
- border-radius:0px !important;
- background-color:#555555;
- /* border:1px solid red; */
-}
-/*Excel Icon*/
-div#content div.top nav a{
- border-radius:0px !important;
- /* border:1px solid red; */
-}
-
-/* Table 부분 */
-div#content table {
- width:100%;
- /* overflow-x: auto;
- padding-top:5px;
- padding-bottom:5px; */
-}
-
-/* insert,update,reply,view Form Page 관련 전용*/
-div#content table.form tbody tr td.label{
- width:10%;
- text-align:right;
- padding-right:20px;
- background-color:#e8ebe9;
-}
-div#content table.form tbody tr td.column{
- height:27px;
- text-align:left;
- padding-left:20px;
-}
-/* insert,update,reply,view Form Page 관련 전용*/
-
-/* 상품 리스트 전용 */
-div#content table.product tr:first-child {
- border-top:2px solid black;
- border-bottom:1px solid silver;
-}
-/* 상품 리스트 전용 */
-
-div#content table thead th{
- white-space: nowrap;
- padding-top:15px;
- padding-bottom:15px;
- font-size: 16px;
- font-weight:bold;
- border-top:2px solid black;
- border-bottom:1px solid silver;
- background-color:#F5F5F5;
- /* border:1px solid silver; */
-}
-
-div#content div.bottom {
- padding-top:15px;
- text-align:center;
-}
-div#content div.bottom ul.pagination {
- margin-top:20px;
-}
-div#content div.bottom ul.pagination li.page-item a{
- border:0px;
- border-radius:0px !important;
- background-color:#e8ebe9;
-}
-div#content div.bottom ul.pagination li.active a{
- background-color:gray;
-}
\ No newline at end of file
diff --git a/public/css/front/order.css b/public/css/front/order.css
deleted file mode 100644
index 7a72ab8..0000000
--- a/public/css/front/order.css
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ------------------------------------------------------------
-* Name : admin.css
-* Desc : Admin StyleSheet
-* Created : 2016/9/11 Tri-aBility by Junheum,Choi
-* Updated :
------------------------------------------------------------- */
-div#order {
- position:relative;
- margin:0px;
- padding:0px;
- /* border:1px solid red; */
-}
-div#order div.orderbox {
- /* position:fixed; */
- width:200px;
- padding:5px;
- border:1px solid gray;
-}
-div#order div.orderbox div.title{
- font-size:18px;
- font-weight: 600;
- border-bottom:2px solid gray;
-}
-
-div#order div.orderbox div.item{
- padding-bottom:5px;
- /* border:1px solid red; */
-}
-div#order div.orderbox div.item span.label{
- color: gray;
-}
-div#order div.orderbox div.item span.value{
- float:right;
-}
-div#order div.orderbox div.total{
- padding-top:10px;
- border-top:2px solid gray;
-}
-div#order div.orderbox div.total span.label{
- color: gray;
-}
-div#order div.orderbox div.total span.value{
- float:right;
- font-size:18px;
- font-weight: 800;
-}
-div#order div.orderbox div.submit{
- padding-top:10px;
- text-align:center;
-}
\ No newline at end of file
diff --git a/public/css/front/sitepage.css b/public/css/front/sitepage.css
deleted file mode 100644
index 73df0c5..0000000
--- a/public/css/front/sitepage.css
+++ /dev/null
@@ -1,69 +0,0 @@
-@charset "utf-8";
-/* doc.css는 디자인페이지 스타일을 정의합니다. */
-
-.greeting {margin:0 -25px;}
-.greeting:after {content:"";display:block;clear:both;}
-.greeting .col {float:left; width:50%; padding:0 25px; box-sizing:border-box; text-align:justify; letter-spacing:-.40px;}
-
-
-.company {position:relative; text-align:center; font-size:22px; line-height:1.4em; color:#2c2c2c; font-weight:300; padding-bottom:75px; margin-bottom:10px;}
-.company strong {color:#30539f; font-weight:500}
-.company:after {content:"";position:absolute; bottom:10px; left:50%; width:1px; height:46px; background:#ddd;}
-
-.com-cnt {border:1px solid #ededed;}
-.com-cnt:after {content:" "; display:block; clear:both;}
-.com-cnt .col {float:left; width:33.333%; height:278px; position:relative;}
-.com-cnt .col.bg1 {background:url('/images/sub/com_icon1.png') 50% 41px no-repeat;}
-.com-cnt .col.bg2 {background:#f8f9fb url('/images/sub/com_icon2.png') 50% 31px no-repeat;}
-.com-cnt .col.bg3 {background:url('/images/sub/com_icon3.png') 50% 33px no-repeat;}
-.com-cnt .col:first-child:after {display:none;}
-.com-cnt .col:after {content:"";position:absolute; top:0; left:0; width:1px; height:100%; background:#ededed;}
-.com-cnt .col dl {padding-top:145px; text-align:center;}
-.com-cnt .col dl dt {color:#284685; font-size:18px; line-height:1.4em; font-weight:500; margin-bottom:10px;}
-.com-cnt .col dl dd {font-size:15px; line-height:1.4em; text-align:left; padding-left:76px;}
-
-
-.app-cnt:after {content:" "; display:block; clear:both;}
-.app-cnt .col {float:left; width:275px; height:130px; position:relative; box-sizing:border-box;}
-.app-cnt .col.inquiry {width:345px}
-.app-cnt .col:first-child:after {display:none;}
-.app-cnt .col:after {content:"";position:absolute; top:0; left:0; width:1px; height:100%; background:#ededed;}
-.app-cnt .col .box {width:100%; height:130px;position:relative; display:table;}
-.app-cnt .col .icon {position:absolute; top:0; left:0; width:107px; height:107px; background:url('../images/sub/sub2_1_icon.gif') 0 50% no-repeat;}
-.app-cnt .col .info {padding-left:130px; font-size:15px; line-height:1.6em; height:130px;position:relative; vertical-align:middle; display:table-cell; letter-spacing:-.30px;}
-.app-cnt .col.type2 .info {padding-left:48px; font-size:16px;}
-.app-cnt .col.type2 dl dt {color:#284685; font-size:18px; line-height:1.4em; font-weight:500; margin-bottom:5px;}
-.app-cnt .col.type2 dl dt img {vertical-align:middle; padding-left:5px;}
-
-.product-cnt {margin-bottom:70px; text-align:center;}
-.product-cnt:last-child {margin-bottom:0}
-.product-cnt p {line-height:0}
-.product-cnt .col {position:relative; vertical-align:top; display:inline-block; width:420px; margin:-61px 10px 0 10px;}
-.pro-title.type1 {background-color:#41adde}
-.pro-title.type2 {background-color:#0280c9}
-.pro-title.type3 {background-color:#284685}
-.pro-title {font-size:20px; line-height:61px;color:#fff; font-weight:500; text-align:center;background-image:url('../images/sub/sub2_2_tit.png'); background-repeat:no-repeat; background-position:100% 0;}
-.table01 table {width:100%; border-collapse:collapse; border-spacing:0px;}
-.table01 table tbody th {padding:12px 10px; height:35px; font-size:16px; font-weight:500; line-height:22px; color:#4d4d4d; border-bottom:1px dotted #d6d6d6; background:#f6fafc;}
-.table01 table tbody td {padding:12px 20px; color:#2c2c2c; font-size:16px; line-height:22px; border-bottom:1px dotted #d6d6d6;}
-.table01 strong {font-weight:500}
-
-.box-cnt {border:1px solid #e0e0e0; border-radius:10px; padding:38px 27px; margin-bottom:50px;}
-.box-cnt:last-child {margin-bottom:0}
-.box-cnt .title {background:#f6f6f6; font-size:20px; line-height:1.4em; color:#2c2c2c; padding:5px 0 5px 18px; font-weight:500; margin-bottom:15px;}
-.box-cnt .cnt {padding-left:18px; font-size:17px; line-height:1.6em; font-weight:200}
-.box-cnt .cnt dl dt {position:relative; color:#2e3192; font-size:18px; line-height:1.4em; font-weight:500; padding-left:18px;}
-.box-cnt .cnt dl dt:after {content:"";position:absolute;top:50%; margin-top:-2px; left:0; width:10px; height:5px; background:#2e3192; border-radius:2px;}
-.box-cnt .cnt dl dd {text-indent:-10px; padding-left:10px; letter-spacing:-.30px;}
-
-/*
-.sitemap:after {content:" "; display:block; clear:both;}
-.sitemap dl {float:left; display:inline; width:225px; margin:0 0 30px 80px;}
-.sitemap dl.first {margin-left:0}
-.sitemap dl dt {padding:10px 0; text-align:center; font-size:16px; font-weight:500; color:#fff; margin:0 0 5px 0; background:#737373;border-top-left-radius:20px; border-bottom-right-radius:20px;}
-.sitemap dl dd {line-height:40px; border-bottom:1px solid #eee; font-weight:300; text-indent:-12px; padding-left:13px;}
-.sitemap dl dd a {display:block; padding:8px 0 8px 15px; font-size:15px; line-height:20px;}
-.sitemap dl dd a:hover {color:#f1592a}
-.sitemap dl dd ul {padding:2px 0 20px;}
-.sitemap dl dd ul li a {background:none; color:#f1592a; font-size:12px; line-height:20px; padding:0 0 0 20px;}
-*/
diff --git a/public/css/main.css b/public/css/main.css
deleted file mode 100644
index e583aed..0000000
--- a/public/css/main.css
+++ /dev/null
@@ -1,209 +0,0 @@
-/* ------------------------------------------------------------
- * Name : admin.css
- * Desc : Admin StyleSheet
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
- * {
- margin:0px;
- padding:0px;
- border:0px;
- font-size:14px;
- font: Arial;
-}
-
-/* #head{
- border:1px solid blue;
-} */
-#tail{
- text-align:center;
- /* border:1px solid green; */
-}
-#layout {
- width:1280px;
- /* border:1px solid blue; */
-}
-
-#layout #body{
- padding-left:10px;
- /* border:1px solid red; */
-}
-
-#layout #body nav.header{
- /*content 상단라인*/
- padding-top:40px;
- margin-left:30px;
- border-bottom:1px solid silver;
-}
-#layout #body nav.header nav h4.title{
- font-size:26px;
- font-weight:bold;
-}
-#layout #body nav.header nav span.flow{
- color: gray;
-}
-#layout #body div.footer
- /*content 하단라인*/{
- height:20px;
- /* border-top:0px;
- border-left:1px solid silver;
- border-bottom:1px solid silver;
- border-right:1px solid silver;
- border-radius: 0px 0px 10px 10px;
- background-color:white; */
-}
-
-/* reset */
-html {overflow-y:scroll;}
-body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,table,th,td,form,fieldset,legend,input,textarea,button,select,figure,figcaption{margin:0;padding:0}
-body,input,textarea,select,button,table{font-family:'Noto Sans KR', helvetica,sans-serif;font-size:16px;letter-spacing:-0.2px;line-height:1.7em;color:#505050;word-break:keep-all; -webkit-text-size-adjust:none;}
-img{border:0}
-ul,ol{list-style:none}
-fieldset{border:none}
-fieldset legend {position:absolute;visibility:hidden;overflow:hidden;width:0;height:0;margin:0;padding:0;font:0/0 Arial;}
-button{cursor:pointer}
-header,hgroup,article,nav,footer,figure,figcaption,canvas,section,time{display:block}
-hr {clear:both;display:none;}
-li img, dd img {vertical-align:top;}
-*html body img {margin:none; padding:none;} /*for IE 6*/
-* {max-height: 1000000px;}
-
-a{
- color:#5d5d5d;
- text-decoration:none;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -ms-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
-}
-a:hover,
-a:active{
- color:#000;
- text-decoration:none;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -ms-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
-}
-
-::-webkit-input-placeholder {color:#999;}
-:-moz-placeholder {color:#999;}
-::-moz-placeholder {color:#999;}
-:-ms-input-placeholder {color:#999;}
-:placeholder-shown {color:#999;}
-
-table caption {visibility:hidden; overflow:hidden; width:0; height:0; margin:0; padding:0; font:0/0 Arial;}
-input[type="radio"], input[type="checkbox"] {vertical-align:middle !important; margin:-2px 3px 0 0 !important; background:transparent;}
-input,select {vertical-align:middle; background:#fff;}
-
-
-/* user class */
-h1,h2,h3,h4,h5,h6,strong,th,.bold{font-weight:500;}
-.clear{clear:both;}
-.clearfix:after {content:" "; display:block; clear:both;}
-.hide {position:absolute;visibility:hidden;overflow:hidden;width:0;height:0;margin:0;padding:0;font:0/0 Arial;}
-.pointer {cursor:pointer;}
-.input {height:35px; padding:0 0 0 10px; font-size:15px; line-height:33px; border:1px solid #ddd; box-sizing:border-box;}
-.textarea {padding:10px; font-size:15px; line-height:33px; border:1px solid #ddd; resize:none; overflow:auto; box-sizing:border-box;}
-.select {height:35px; padding:0 0 0 10px; font-size:15px; border:1px solid #ddd; box-sizing:border-box;}
-
-.mgb2 {margin-bottom:2px !important;}
-.mgb3 {margin-bottom:3px !important;}
-.mgb4 {margin-bottom:4px !important;}
-.mgb5 {margin-bottom:5px !important;}
-.mgb6 {margin-bottom:6px !important;}
-.mgb7 {margin-bottom:7px !important;}
-.mgb8 {margin-bottom:8px !important;}
-.mgb9 {margin-bottom:9px !important;}
-.mgb10 {margin-bottom:10px !important;}
-.mgb15 {margin-bottom:15px !important;}
-.mgb20 {margin-bottom:20px !important;}
-.mgb25 {margin-bottom:25px !important;}
-.mgb30 {margin-bottom:30px !important;}
-.mgb35 {margin-bottom:35px !important;}
-.mgb40 {margin-bottom:40px !important;}
-.mgb45 {margin-bottom:45px !important;}
-.mgb50 {margin-bottom:50px !important;}
-.mgb60 {margin-bottom:60px !important;}
-.mgb70 {margin-bottom:70px !important;}
-.mgb75 {margin-bottom:75px !important;}
-.mgb90 {margin-bottom:90px !important;}
-
-.fl {float:left;}
-.fr {float:right;}
-
-.space-center {text-align:center !important;}
-.space-right {text-align:right !important;}
-.space-left {text-align:left !important;}
-
-.text-blue {color:#284685}
-.text-red {color:#b4260b}
-.text-gray {color:#999}
-.text-black {color:#000}
-
-
-.line-through {text-decoration:line-through;}
-
-.main-bnr {width:1200px; position:relative; margin:-120px auto 60px; z-index:12}
-.main-bnr ul:after {content:" "; display:block; clear:both;}
-.main-bnr ul li {float:left; width:33.333%; height:180px; background-repeat:no-repeat; background-position:40px 50%;}
-.main-bnr ul li.bg1 {background-color:#41adde; background-image:url('/images/main/icon1.png');}
-.main-bnr ul li.bg2 {background-color:#0280c9; background-image:url('/images/main/icon2.png');}
-.main-bnr ul li.bg3 {background-color:#30539f; background-image:url('/images/main/icon3.png');}
-.main-bnr ul li .info {padding-left:180px; display:table; height:180px; color:#fff}
-.main-bnr ul li .info dl {width:100%; display:table-cell; vertical-align:middle;}
-.main-bnr ul li .info dl dt {font-size:18px; line-height:1.7em; font-weight:500; margin-bottom:10px;}
-.main-bnr ul li .info dl dd {font-size:15px; line-height:1.7em;}
-
-.main-bnr2 {width:1200px; position:relative; margin:20px auto 60px; z-index:12;}
-.main-bnr2 ul:after {content:" "; display:block; clear:both;}
-.main-bnr2 ul li {float:left; width:33.333%; height:180px; background-repeat:no-repeat; background-position:40px 50%;}
-.main-bnr2 ul li.bg1 {background-color:#41adde; background-image:url('/images/main/icon1.png');}
-.main-bnr2 ul li.bg2 {background-color:#0280c9; background-image:url('/images/main/icon2.png');}
-.main-bnr2 ul li.bg3 {background-color:#30539f; background-image:url('/images/main/icon3.png');}
-.main-bnr2 ul li .info {padding-left:180px; display:table; width:100%; height:180px; color:#fff;}
-.main-bnr2 ul li .info dl {width:100%; display:table-cell; vertical-align:middle;}
-.main-bnr2 ul li .info dl dt {font-size:24px; line-height:1.7em; font-weight:500; margin-bottom:10px;}
-.main-bnr2 ul li .info dl dd {font-size:15px; line-height:1.7em;}
-.main-bnr2 ul li .info dl dd a{color:white;}
-.main-bnr2 ul li .info dl dd span{float:right; padding-right:20px;}
-
-.main-title {text-align:center; margin-bottom:40px;}
-.main-title h2 {font-size:28px; line-height:1.6em; font-weight:700; color:#333;}
-.main-title p {color:#656565; font-size:17px;line-height:1.6em;}
-
-.main-price {margin:0 -10px 80px; overflow:hidden;}
-.main-price:after{content:"";display:block;clear:both;}
-.main-price .col {float:left; width:50%; padding:0 10px; box-sizing:border-box; margin-bottom:20px;}
-.main-price .col:nth-child(2n+1) {clear:left;}
-.main-table.type2 table thead th {background:#0280c9}
-.main-table table {width:100%; border-collapse:collapse; border-spacing:0px;}
-.main-table table thead th {padding:9px 10px; height:35px; font-size:22px; font-weight:500; line-height:22px; color:#fff; background:#30539f}
-.main-table table tbody th {padding:9px 10px; height:35px; font-size:16px; font-weight:500; line-height:22px; color:#333; border-bottom:1px solid #d6d6d6; background:#eaeef4;}
-.main-table table tbody td {padding:9px 20px; color:#2c2c2c; font-size:16px; line-height:22px; border-bottom:1px solid #d6d6d6; background:#f8f8f8}
-.main-table table tbody th.none,.main-table table tbody td.none {border-bottom:0}
-.main-table .f-back {background-color:#e62b2b; color:#fff; }
-.main-table strong {font-weight:500}
-
-.main-service {background:url('/images/main/bg_bnr.jpg') 50% 0 no-repeat; width:100%; height:330px;}
-.main-service .col {float:left; width:50%; height:330px; display:table; text-align:center;}
-.main-service .col .link {width:600px; height:330px; display:table-cell; vertical-align:middle; color:#fff;}
-.main-service .col .link dl dt {font-size:30px; line-height:1.4em; font-weight:500; margin-bottom:5px;}
-.main-service .col .link dl dd {font-size:17px; line-height:1.4em; margin-bottom:20px;}
-.main-service .col .link .more {font-size:15px; line-height:1.4em; opacity:.8}
-.main-service .col .link .more .arrow {margin:0 3px;position:relative;border: solid #ddd;border-width: 0 2px 2px 0;transform: rotate(-45deg);display: inline-block;padding: 3px;}
-.main-service .col a {display:block;}
-
-.main-notice {background:#f5f5f5; padding:60px 0;}
-.main-notice .title {float:left; width:511px; height:276px; color:#fff; background:url('/images/main/bg_notice.gif') 0 0 no-repeat;}
-.main-notice .title dl {padding:50px}
-.main-notice .title dl dt {font-size:32px; line-height:1.4em; font-weight:500; margin-bottom:5px;}
-.main-notice .title dl dd {font-size:16px; line-height:1.4em; color:#cbcfd9;}
-.main-notice .list {float:left; width:688px; height:276px; background:#fff; border:1px solid #ddd; border-left:0; box-sizing:border-box;}
-.main-notice .list ul {padding:15px 40px 0;}
-.main-notice .list ul li {line-height:49px; height:49px; border-bottom:1px solid silver; position:relative;}
-.main-notice .list ul li:last-child {border-bottom:0}
-.main-notice .list ul li a {display:inline-block; font-size:16px; font-weight:bold; width:500px; height:49px; white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
-.main-notice .list span {position:absolute; top:0; right:0; font-size:14px; color:#959595;}
\ No newline at end of file
diff --git a/public/css/main/content.css b/public/css/main/content.css
deleted file mode 100644
index 6c6f850..0000000
--- a/public/css/main/content.css
+++ /dev/null
@@ -1,96 +0,0 @@
-div#content{
- color:black;
- padding-top:20px;
- padding-left:30px;
- margin-bottom:40px;
- /* border-left:1px solid silver;
- border-right:1px solid silver; */
-}
-/* div#content div.top{
- border:1px solid red;
-} */
-
-/*페이지정보*/
-div#content div.top nav span.pageinfo{
- font-weight:bold;
-}
-/*검색*/
-div#content div.top nav input[type=text]{
- width:200px;
- height:40px;
- border-radius:0px !important;
- /* border:1px solid red; */
-}
-/*검색submit*/
-div#content div.top nav input[type=submit]{
- font-size:12px;
- font-weight:bold;
- width:80px;
- height:40px;
- color:white;
- border-radius:0px !important;
- background-color:#555555;
- /* border:1px solid red; */
-}
-/*Excel Icon*/
-div#content div.top nav a{
- border-radius:0px !important;
- /* border:1px solid red; */
-}
-
-/* Table 부분 */
-div#content table {
- width:100%;
- /* overflow-x: auto;
- padding-top:5px;
- padding-bottom:5px; */
-}
-
-/* insert,update,reply,view Form Page 관련 전용*/
-div#content table.form tbody tr td.label{
- width:10%;
- text-align:right;
- padding-right:20px;
- background-color:#e8ebe9;
-}
-div#content table.form tbody tr td.column{
- height:27px;
- text-align:left;
- padding-left:20px;
-}
-/* insert,update,reply,view Form Page 관련 전용*/
-
-/* 상품 리스트 전용 */
-div#content table.product tr:first-child {
- border-top:2px solid black;
- border-bottom:1px solid silver;
-}
-/* 상품 리스트 전용 */
-
-div#content table thead th{
- white-space: nowrap;
- padding-top:15px;
- padding-bottom:15px;
- font-size: 16px;
- font-weight:bold;
- border-top:2px solid black;
- border-bottom:1px solid silver;
- background-color:#F5F5F5;
- /* border:1px solid silver; */
-}
-
-div#content div.bottom {
- padding-top:15px;
- text-align:center;
-}
-div#content div.bottom ul.pagination {
- margin-top:20px;
-}
-div#content div.bottom ul.pagination li.page-item a{
- border:0px;
- border-radius:0px !important;
- background-color:#e8ebe9;
-}
-div#content div.bottom ul.pagination li.active a{
- background-color:gray;
-}
\ No newline at end of file
diff --git a/public/css/style.css b/public/css/style.css
deleted file mode 100644
index 8b0ccdd..0000000
--- a/public/css/style.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/* ------------------------------------------------------------
- * Name : admin.css
- * Desc : Admin StyleSheet
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
-@charset "utf-8";
-
-body {
- background-color: white;
-}
-
-/* user class */
-h1,h2,h3,h4,h5,h6,strong,th,.bold{font-weight:500;}
-
-input[type=text],input[type=password]{
- display: inline-block;
- border: 1px solid #ccc;
- border-radius: 4px;
- box-sizing: border-box;
- white-space: nowrap;
-}
-select,textarea,button {
- display: inline-block;
- border: 1px solid #ccc;
- border-radius: 4px;
- box-sizing: border-box;
- white-space: nowrap;
-}
-a:link { text-decoration: none; }
-a:visited { text-decoration: none; }
-a:hover { text-decoration: underline; }
-a:active { text-decoration: underline; }
\ No newline at end of file
diff --git a/public/favicon.ico b/public/favicon.ico
deleted file mode 100644
index 7ecfce2..0000000
Binary files a/public/favicon.ico and /dev/null differ
diff --git a/public/images/auth/google_login_button.png b/public/images/auth/google_login_button.png
deleted file mode 100644
index c19f257..0000000
Binary files a/public/images/auth/google_login_button.png and /dev/null differ
diff --git a/public/images/banner/sub_visual1.jpg b/public/images/banner/sub_visual1.jpg
deleted file mode 100644
index df85468..0000000
Binary files a/public/images/banner/sub_visual1.jpg and /dev/null differ
diff --git a/public/images/banner/sub_visual2.jpg b/public/images/banner/sub_visual2.jpg
deleted file mode 100644
index 8699f2b..0000000
Binary files a/public/images/banner/sub_visual2.jpg and /dev/null differ
diff --git a/public/images/banner/sub_visual3.jpg b/public/images/banner/sub_visual3.jpg
deleted file mode 100644
index 4ee3220..0000000
Binary files a/public/images/banner/sub_visual3.jpg and /dev/null differ
diff --git a/public/images/banner/sub_visual4.jpg b/public/images/banner/sub_visual4.jpg
deleted file mode 100644
index 6708503..0000000
Binary files a/public/images/banner/sub_visual4.jpg and /dev/null differ
diff --git a/public/images/common/adminbg.png b/public/images/common/adminbg.png
deleted file mode 100644
index 68c6a93..0000000
Binary files a/public/images/common/adminbg.png and /dev/null differ
diff --git a/public/images/common/btn_login.png b/public/images/common/btn_login.png
deleted file mode 100644
index c0b2782..0000000
Binary files a/public/images/common/btn_login.png and /dev/null differ
diff --git a/public/images/common/discord.png b/public/images/common/discord.png
deleted file mode 100644
index 4a2233c..0000000
Binary files a/public/images/common/discord.png and /dev/null differ
diff --git a/public/images/common/excel.png b/public/images/common/excel.png
deleted file mode 100644
index e67fc00..0000000
Binary files a/public/images/common/excel.png and /dev/null differ
diff --git a/public/images/common/kakaotalk.png b/public/images/common/kakaotalk.png
deleted file mode 100644
index cf7a87c..0000000
Binary files a/public/images/common/kakaotalk.png and /dev/null differ
diff --git a/public/images/common/menu_on.gif b/public/images/common/menu_on.gif
deleted file mode 100644
index b6216bb..0000000
Binary files a/public/images/common/menu_on.gif and /dev/null differ
diff --git a/public/images/common/telegram.png b/public/images/common/telegram.png
deleted file mode 100644
index c88f3fa..0000000
Binary files a/public/images/common/telegram.png and /dev/null differ
diff --git a/public/images/common/top.png b/public/images/common/top.png
deleted file mode 100644
index 84d194d..0000000
Binary files a/public/images/common/top.png and /dev/null differ
diff --git a/public/images/common/top_skype.png b/public/images/common/top_skype.png
deleted file mode 100644
index 90355c0..0000000
Binary files a/public/images/common/top_skype.png and /dev/null differ
diff --git a/public/images/logo/android-icon-144x144.png b/public/images/logo/android-icon-144x144.png
deleted file mode 100644
index 3e09df3..0000000
Binary files a/public/images/logo/android-icon-144x144.png and /dev/null differ
diff --git a/public/images/logo/android-icon-192x192.png b/public/images/logo/android-icon-192x192.png
deleted file mode 100644
index 1aacd55..0000000
Binary files a/public/images/logo/android-icon-192x192.png and /dev/null differ
diff --git a/public/images/logo/android-icon-36x36.png b/public/images/logo/android-icon-36x36.png
deleted file mode 100644
index 701b1b6..0000000
Binary files a/public/images/logo/android-icon-36x36.png and /dev/null differ
diff --git a/public/images/logo/android-icon-48x48.png b/public/images/logo/android-icon-48x48.png
deleted file mode 100644
index 9d526d3..0000000
Binary files a/public/images/logo/android-icon-48x48.png and /dev/null differ
diff --git a/public/images/logo/android-icon-72x72.png b/public/images/logo/android-icon-72x72.png
deleted file mode 100644
index 15896b5..0000000
Binary files a/public/images/logo/android-icon-72x72.png and /dev/null differ
diff --git a/public/images/logo/android-icon-96x96.png b/public/images/logo/android-icon-96x96.png
deleted file mode 100644
index 627d135..0000000
Binary files a/public/images/logo/android-icon-96x96.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-114x114.png b/public/images/logo/apple-icon-114x114.png
deleted file mode 100644
index 5e38c56..0000000
Binary files a/public/images/logo/apple-icon-114x114.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-120x120.png b/public/images/logo/apple-icon-120x120.png
deleted file mode 100644
index 590102a..0000000
Binary files a/public/images/logo/apple-icon-120x120.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-144x144.png b/public/images/logo/apple-icon-144x144.png
deleted file mode 100644
index e57cbfe..0000000
Binary files a/public/images/logo/apple-icon-144x144.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-152x152.png b/public/images/logo/apple-icon-152x152.png
deleted file mode 100644
index 28c2e43..0000000
Binary files a/public/images/logo/apple-icon-152x152.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-180x180.png b/public/images/logo/apple-icon-180x180.png
deleted file mode 100644
index f620e91..0000000
Binary files a/public/images/logo/apple-icon-180x180.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-57x57.png b/public/images/logo/apple-icon-57x57.png
deleted file mode 100644
index 112e893..0000000
Binary files a/public/images/logo/apple-icon-57x57.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-60x60.png b/public/images/logo/apple-icon-60x60.png
deleted file mode 100644
index 9f74028..0000000
Binary files a/public/images/logo/apple-icon-60x60.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-72x72.png b/public/images/logo/apple-icon-72x72.png
deleted file mode 100644
index 336828b..0000000
Binary files a/public/images/logo/apple-icon-72x72.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-76x76.png b/public/images/logo/apple-icon-76x76.png
deleted file mode 100644
index d6e83f0..0000000
Binary files a/public/images/logo/apple-icon-76x76.png and /dev/null differ
diff --git a/public/images/logo/apple-icon-precomposed.png b/public/images/logo/apple-icon-precomposed.png
deleted file mode 100644
index c54f500..0000000
Binary files a/public/images/logo/apple-icon-precomposed.png and /dev/null differ
diff --git a/public/images/logo/apple-icon.png b/public/images/logo/apple-icon.png
deleted file mode 100644
index c54f500..0000000
Binary files a/public/images/logo/apple-icon.png and /dev/null differ
diff --git a/public/images/logo/favicon-16x16.png b/public/images/logo/favicon-16x16.png
deleted file mode 100644
index d467493..0000000
Binary files a/public/images/logo/favicon-16x16.png and /dev/null differ
diff --git a/public/images/logo/favicon-32x32.png b/public/images/logo/favicon-32x32.png
deleted file mode 100644
index 67d0fb9..0000000
Binary files a/public/images/logo/favicon-32x32.png and /dev/null differ
diff --git a/public/images/logo/favicon-96x96.png b/public/images/logo/favicon-96x96.png
deleted file mode 100644
index 9b931ec..0000000
Binary files a/public/images/logo/favicon-96x96.png and /dev/null differ
diff --git a/public/images/logo/favicon.ico b/public/images/logo/favicon.ico
deleted file mode 100644
index 7de9353..0000000
Binary files a/public/images/logo/favicon.ico and /dev/null differ
diff --git a/public/images/logo/logo-small.png b/public/images/logo/logo-small.png
deleted file mode 100644
index 0b33a25..0000000
Binary files a/public/images/logo/logo-small.png and /dev/null differ
diff --git a/public/images/logo/ms-icon-144x144.png b/public/images/logo/ms-icon-144x144.png
deleted file mode 100644
index e57cbfe..0000000
Binary files a/public/images/logo/ms-icon-144x144.png and /dev/null differ
diff --git a/public/images/logo/ms-icon-150x150.png b/public/images/logo/ms-icon-150x150.png
deleted file mode 100644
index 0c02de9..0000000
Binary files a/public/images/logo/ms-icon-150x150.png and /dev/null differ
diff --git a/public/images/logo/ms-icon-310x310.png b/public/images/logo/ms-icon-310x310.png
deleted file mode 100644
index a1c230b..0000000
Binary files a/public/images/logo/ms-icon-310x310.png and /dev/null differ
diff --git a/public/images/logo/ms-icon-70x70.png b/public/images/logo/ms-icon-70x70.png
deleted file mode 100644
index 500895a..0000000
Binary files a/public/images/logo/ms-icon-70x70.png and /dev/null differ
diff --git a/public/images/main/bg_bnr.jpg b/public/images/main/bg_bnr.jpg
deleted file mode 100644
index 70e0e16..0000000
Binary files a/public/images/main/bg_bnr.jpg and /dev/null differ
diff --git a/public/images/main/bg_notice.gif b/public/images/main/bg_notice.gif
deleted file mode 100644
index 8eaf4f4..0000000
Binary files a/public/images/main/bg_notice.gif and /dev/null differ
diff --git a/public/images/main/icon1.png b/public/images/main/icon1.png
deleted file mode 100644
index dbdb2c7..0000000
Binary files a/public/images/main/icon1.png and /dev/null differ
diff --git a/public/images/main/icon2.png b/public/images/main/icon2.png
deleted file mode 100644
index bc56142..0000000
Binary files a/public/images/main/icon2.png and /dev/null differ
diff --git a/public/images/main/icon3.png b/public/images/main/icon3.png
deleted file mode 100644
index ccdcecf..0000000
Binary files a/public/images/main/icon3.png and /dev/null differ
diff --git a/public/images/main/visual1.jpg b/public/images/main/visual1.jpg
deleted file mode 100644
index e9c72fa..0000000
Binary files a/public/images/main/visual1.jpg and /dev/null differ
diff --git a/public/images/main/visual2.jpg b/public/images/main/visual2.jpg
deleted file mode 100644
index b78e8c4..0000000
Binary files a/public/images/main/visual2.jpg and /dev/null differ
diff --git a/public/images/main/visual3.jpg b/public/images/main/visual3.jpg
deleted file mode 100644
index 0911c90..0000000
Binary files a/public/images/main/visual3.jpg and /dev/null differ
diff --git a/public/images/sub/com_icon1.png b/public/images/sub/com_icon1.png
deleted file mode 100644
index bd7b57a..0000000
Binary files a/public/images/sub/com_icon1.png and /dev/null differ
diff --git a/public/images/sub/com_icon2.png b/public/images/sub/com_icon2.png
deleted file mode 100644
index fa77ce2..0000000
Binary files a/public/images/sub/com_icon2.png and /dev/null differ
diff --git a/public/images/sub/com_icon3.png b/public/images/sub/com_icon3.png
deleted file mode 100644
index eb662cd..0000000
Binary files a/public/images/sub/com_icon3.png and /dev/null differ
diff --git a/public/images/sub/com_icon4.png b/public/images/sub/com_icon4.png
deleted file mode 100644
index 0da8ec0..0000000
Binary files a/public/images/sub/com_icon4.png and /dev/null differ
diff --git a/public/images/sub/product_img1.jpg b/public/images/sub/product_img1.jpg
deleted file mode 100644
index 132c31c..0000000
Binary files a/public/images/sub/product_img1.jpg and /dev/null differ
diff --git a/public/images/sub/product_img2.jpg b/public/images/sub/product_img2.jpg
deleted file mode 100644
index 14e5914..0000000
Binary files a/public/images/sub/product_img2.jpg and /dev/null differ
diff --git a/public/images/sub/product_img3.jpg b/public/images/sub/product_img3.jpg
deleted file mode 100644
index c045f4a..0000000
Binary files a/public/images/sub/product_img3.jpg and /dev/null differ
diff --git a/public/images/sub/sub1_1.jpg b/public/images/sub/sub1_1.jpg
deleted file mode 100644
index 36e9c46..0000000
Binary files a/public/images/sub/sub1_1.jpg and /dev/null differ
diff --git a/public/images/sub/sub2_1.jpg b/public/images/sub/sub2_1.jpg
deleted file mode 100644
index cc46724..0000000
Binary files a/public/images/sub/sub2_1.jpg and /dev/null differ
diff --git a/public/images/sub/sub2_1_icon.gif b/public/images/sub/sub2_1_icon.gif
deleted file mode 100644
index fc1dcd0..0000000
Binary files a/public/images/sub/sub2_1_icon.gif and /dev/null differ
diff --git a/public/images/sub/sub2_1_skype.gif b/public/images/sub/sub2_1_skype.gif
deleted file mode 100644
index 0789ce6..0000000
Binary files a/public/images/sub/sub2_1_skype.gif and /dev/null differ
diff --git a/public/images/sub/sub2_2_tit.png b/public/images/sub/sub2_2_tit.png
deleted file mode 100644
index 6ded24c..0000000
Binary files a/public/images/sub/sub2_2_tit.png and /dev/null differ
diff --git a/public/images/sub/sub3_1.jpg b/public/images/sub/sub3_1.jpg
deleted file mode 100644
index 28fecdc..0000000
Binary files a/public/images/sub/sub3_1.jpg and /dev/null differ
diff --git a/public/images/sub/sub_visual1.jpg b/public/images/sub/sub_visual1.jpg
deleted file mode 100644
index df85468..0000000
Binary files a/public/images/sub/sub_visual1.jpg and /dev/null differ
diff --git a/public/images/sub/sub_visual2.jpg b/public/images/sub/sub_visual2.jpg
deleted file mode 100644
index 8699f2b..0000000
Binary files a/public/images/sub/sub_visual2.jpg and /dev/null differ
diff --git a/public/images/sub/sub_visual3.jpg b/public/images/sub/sub_visual3.jpg
deleted file mode 100644
index 4ee3220..0000000
Binary files a/public/images/sub/sub_visual3.jpg and /dev/null differ
diff --git a/public/images/sub/sub_visual4.jpg b/public/images/sub/sub_visual4.jpg
deleted file mode 100644
index 6708503..0000000
Binary files a/public/images/sub/sub_visual4.jpg and /dev/null differ
diff --git a/public/js/admin.js b/public/js/admin.js
deleted file mode 100644
index ec32e90..0000000
--- a/public/js/admin.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/* ------------------------------------------------------------
- * Name : admin.js
- * Desc : Admin Javascrip
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
-function trim(str){
- return this.replace(/(^\s*)|(\s*$)/gi, "");
-}
-
-//오른쪽에 위 화살표 방향버튼용
-/*$(document).ready(function(){
- $('body').append('
');
- $("#toTop").bind("click", function () {$("body").animate({ scrollTop: 0 }, 200);});
- $(window).scroll(function () {
- if ($(this).scrollTop() != 0) {
- $('#toTop').fadeIn();
- } else {
- $('#toTop').fadeOut();
- }
- });
-});
-//오른쪽에 위 화살표 방향버튼용
-//오른쪽에 아래 화살표 방향버튼용
-$(document).ready(function(){
- $('body').append('
');
- $("#toBottom").bind("click", function () {$("body").animate({ scrollTop: 200000 }, 200);});
- $(window).scroll(function () {
- if ($(this).scrollTop() != 0) {
- $('#toBottom').fadeIn();
- } else {
- $('#toBottom').fadeIn();
- }
- });
-});*/
-//오른쪽에 아래 화살표 방향버튼용
-
-function is_NumericKey(evt,obj){
- var charCode = (evt.which) ? evt.which : event.keyCode;
- switch(charCode){
- case 48://0
- case 49://1
- case 50://2
- case 51://3
- case 52://4
- case 53://5
- case 54://6
- case 55://7
- case 56://8
- case 57://9
- case 96://KeyPad:0
- case 97://KeyPad:1
- case 98://KeyPad:2
- case 99://KeyPad:3
- case 100://KeyPad:4
- case 101://KeyPad:5
- case 102://KeyPad:6
- case 103://KeyPad:7
- case 104://KeyPad:8
- case 105://KeyPad:9
- break;
- default:
- alert('숫자만 가능합니다['+charCode+']');
- obj.value = obj.value.substring(0,obj.value.length-1);
- break;
- }
-}
-function is_NumericType(data){
- if(!data.match(/^[0-9]+$/)){
- throw (new Error('숫자가 아닌값['+data+']이 있습니다'));
- }
- return true;
-}//
-function change_CurrencyFormat(obj,currencies){
- //var currencies = document.getElementsByClassName("currency");
- var total_currency = 0;
- for(i=0; i { alert("복사가 완료되었습니다."); })
- .catch(err => { console.log('복사가 오류', err); })
-}
\ No newline at end of file
diff --git a/public/js/admin/side_menu.js b/public/js/admin/side_menu.js
deleted file mode 100644
index de84dfc..0000000
--- a/public/js/admin/side_menu.js
+++ /dev/null
@@ -1,13 +0,0 @@
-function sideMenuToggle(left_menu) {
- $accordion = $("#accordion")[0];
- if (accordion.clientWidth == 0){
- accordion.style.display = "block";
- $("#accordion").css({ "width": '160px' })
- $("#menu_button").html("메뉴닫기");
- }
- else {
- accordion.style.display = "none";
- $("#accordion").css({"width":'20px'})
- $("#menu_button").html("메뉴열기");
- }
-}//toggleMenu
\ No newline at end of file
diff --git a/public/js/empty.js b/public/js/empty.js
deleted file mode 100644
index f973e71..0000000
--- a/public/js/empty.js
+++ /dev/null
@@ -1,6 +0,0 @@
-/* ------------------------------------------------------------
- * Name : front.js
- * Desc : Front Javascrip
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
diff --git a/public/js/front.js b/public/js/front.js
deleted file mode 100644
index 6bea8a4..0000000
--- a/public/js/front.js
+++ /dev/null
@@ -1,93 +0,0 @@
-/* ------------------------------------------------------------
- * Name : front.js
- * Desc : Front Javascrip
- * Created : 2016/9/11 Tri-aBility by Junheum,Choi
- * Updated :
- ------------------------------------------------------------ */
-
-function trim(str){
- return this.replace(/(^\s*)|(\s*$)/gi, "");
-}//
-
-function bookmarksite(title,url) {
- if (window.sidebar) // firefox
- window.sidebar.addPanel(title, url, "");
- else if(window.opera && window.print){ // opera
- var elem = document.createElement('a');
- elem.setAttribute('href',url);
- elem.setAttribute('title',title);
- elem.setAttribute('rel','sidebar');
- elem.click();
- }
- else if(document.all) // ie
- window.external.AddFavorite(url, title);
-}//
-
-function captcha_refresh(refresh_url) {
- $.ajax({
- type: 'POST',
- url: refresh_url,
- success: function(data, status, xhr){
- if(data)
- $('#captcha_span').html(data);
- },
- error: function(jqXHR, textStatus, errorThrown) {
- console.log(jqXHR.responseText);
- console.log(textStatus+'=>'+errorThrown);
- }
- });//ajax
-}//
-
-function is_NumericKey(evt,obj){
- var charCode = (evt.which) ? evt.which : event.keyCode;
- switch(charCode){
- case 48://0
- case 49://1
- case 50://2
- case 51://3
- case 52://4
- case 53://5
- case 54://6
- case 55://7
- case 56://8
- case 57://9
- case 96://KeyPad:0
- case 97://KeyPad:1
- case 98://KeyPad:2
- case 99://KeyPad:3
- case 100://KeyPad:4
- case 101://KeyPad:5
- case 102://KeyPad:6
- case 103://KeyPad:7
- case 104://KeyPad:8
- case 105://KeyPad:9
- break;
- default:
- alert('숫자만 가능합니다['+charCode+']');
- obj.value = obj.value.substring(0,obj.value.length-1);
- break;
- }
-}
-function is_NumericType(data){
- if(!data.match(/^[0-9]+$/)){
- throw (new Error('숫자가 아닌값['+data+']이 있습니다'));
- }
- return true;
-}//
-function change_CurrencyFormat(obj,currencies){
- //var currencies = document.getElementsByClassName("currency");
- var total_currency = 0;
- for(i=0; i'+errorThrown);
- }
- });//ajax
-}//
-
-function is_NumericKey(evt,obj){
- var charCode = (evt.which) ? evt.which : event.keyCode;
- switch(charCode){
- case 48://0
- case 49://1
- case 50://2
- case 51://3
- case 52://4
- case 53://5
- case 54://6
- case 55://7
- case 56://8
- case 57://9
- case 96://KeyPad:0
- case 97://KeyPad:1
- case 98://KeyPad:2
- case 99://KeyPad:3
- case 100://KeyPad:4
- case 101://KeyPad:5
- case 102://KeyPad:6
- case 103://KeyPad:7
- case 104://KeyPad:8
- case 105://KeyPad:9
- break;
- default:
- alert('숫자만 가능합니다['+charCode+']');
- obj.value = obj.value.substring(0,obj.value.length-1);
- break;
- }
-}
-function is_NumericType(data){
- if(!data.match(/^[0-9]+$/)){
- throw (new Error('숫자가 아닌값['+data+']이 있습니다'));
- }
- return true;
-}//
-function change_CurrencyFormat(obj,currencies){
- //var currencies = document.getElementsByClassName("currency");
- var total_currency = 0;
- for(i=0; i new Date() )
- {
- expiredays = expiredays - 1;
- }
- todayDate.setDate( todayDate.getDate() + expiredays );
- document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
-}
\ No newline at end of file
diff --git a/public/tinymce_upload.php b/public/tinymce_upload.php
deleted file mode 100644
index 99c96fe..0000000
--- a/public/tinymce_upload.php
+++ /dev/null
@@ -1,32 +0,0 @@
- $fileName
- ));
-}