diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 08500b7..3e99ec4 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', ['filter' => 'authFilter:manager']); @@ -32,18 +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', 'filter' => 'authFilter:manager'], function ($routes) { - $routes->group('account', function ($routes) { - $routes->get('/', 'AccountController::index'); - $routes->get('create', 'AccountController::create_form'); - $routes->post('create', 'AccountController::create'); - }); - $routes->group('zone', function ($routes) { - $routes->get('/', 'ZoneController::index'); - $routes->get('create', 'ZoneController::create_form'); - }); - $routes->group('record', function ($routes) { - $routes->get('/', 'RecordController::index'); - $routes->get('create', 'ZoneController::create_form'); - }); -}); 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 @@ -class_name = "Admin/User"; - $this->layout = LAYOUTS['admin']; - $this->title = lang("{$this->class_name}.title"); - $this->session = $this->session_AuthTrait(); - helper($this->class_name); - } - protected function getModel(): UserModel - { - if ($this->_model === null) { - $this->_model = new UserModel(); - } - return $this->_model; - } - protected function create_init(): void - { - // $this->fields = [$this->getModel()::TITLE, 'apikey', 'status']; - $this->filter_fields = ['status']; - $this->action = DB_ACTION["CREATE"]; - $this->getModel()->setAction($this->action); - } - public function create_form(): RedirectResponse|string - { - return $this->create_form_process(); - } - protected function create_process_submit(): UserEntity - { - $user = new User(); - return $user->create($this->formDatas); - } - public function create(): RedirectResponse - { - return parent::create_process(); - } -} diff --git a/app/Controllers/Cloudflare/AccountController.php b/app/Controllers/Cloudflare/AccountController.php deleted file mode 100644 index af56f19..0000000 --- a/app/Controllers/Cloudflare/AccountController.php +++ /dev/null @@ -1,56 +0,0 @@ -class_name .= "Account"; - $this->layout = LAYOUTS['admin']; - $this->title = lang("{$this->class_name}.title"); - $this->session = $this->session_AuthTrait(); - helper($this->class_name); - } - final protected function getModel(): AccountModel - { - if ($this->_model === null) { - $this->_model = new AccountModel(); - } - return $this->_model; - } - protected function create_init(): void - { - $this->fields = [$this->getModel()::TITLE, 'apikey', 'status']; - $this->filter_fields = ['status']; - $this->action = DB_ACTION["CREATE"]; - $this->getModel()->setAction($this->action); - } - public function create_form(): RedirectResponse|string - { - return $this->create_form_process(); - } - protected function create_process_submit(): AccountEntity - { - $account = new Account(); - return $account->create($this->formDatas); - } - public function create(): RedirectResponse - { - return parent::create_process(); - } -} diff --git a/app/Controllers/Cloudflare/CloudflareController.php b/app/Controllers/Cloudflare/CloudflareController.php deleted file mode 100644 index 029ff3f..0000000 --- a/app/Controllers/Cloudflare/CloudflareController.php +++ /dev/null @@ -1,23 +0,0 @@ -class_name = "Cloudflare/"; - } -} diff --git a/app/Controllers/Cloudflare/RecordController.php b/app/Controllers/Cloudflare/RecordController.php deleted file mode 100644 index bafe6d6..0000000 --- a/app/Controllers/Cloudflare/RecordController.php +++ /dev/null @@ -1,93 +0,0 @@ -class_name .= "Record"; - $this->layout = LAYOUTS['admin']; - $this->title = lang("{$this->class_name}.title"); - $this->session = $this->session_AuthTrait(); - helper($this->class_name); - } - final protected function getModel(): RecordModel - { - if ($this->_model === null) { - $this->_model = new RecordModel(); - } - return $this->_model; - } - 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; - } - protected function getFormFieldOption(string $field, array $options = []): array - { - switch ($field) { - case RecordModel::PARENT: - $options = [ - DEFAULTS['EMPTY'] => lang($this->_className . '.label.' . $field) . ' 선택', - ...$this->getZoneModel()->getFilterFieldOption($field, $options) - ]; - break; - default: - $options = parent::getFormFieldOption($field, $options); - break; - } - return $options; - } - protected function create_init(): void - { - $this->fields = ['id', 'apikey']; - $this->filter_fields = ['status']; - $this->action = 'create'; - $this->getModel()->setAction($this->action); - } - public function create_form(): RedirectResponse|string - { - return $this->create_form_process(); - } - protected function create_process_submit(): RecordEntity - { - $zone_entity = $this->getZoneModel()->getEntityByPK($this->formDatas[$this->getModel()::PARENT]); - $account_entity = $this->getAccountModel()->getEntityByPK($zone_entity->getParent()); - $Record = new Record($account_entity, $zone_entity); - return $Record->create($this->formDatas); - } - public function create(): RedirectResponse - { - return parent::create_process(); - } -} diff --git a/app/Controllers/Cloudflare/ZoneController.php b/app/Controllers/Cloudflare/ZoneController.php deleted file mode 100644 index 6976631..0000000 --- a/app/Controllers/Cloudflare/ZoneController.php +++ /dev/null @@ -1,81 +0,0 @@ -class_name .= "Zone"; - $this->layout = LAYOUTS['admin']; - $this->title = lang("{$this->class_name}.title"); - $this->session = $this->session_AuthTrait(); - helper($this->class_name); - } - final protected function getModel(): ZoneModel - { - if ($this->_model === null) { - $this->_model = new ZoneModel(); - } - return $this->_model; - } - final protected function getAccountModel(): AccountModel - { - if ($this->_accountModel === null) { - $this->_accountModel = new AccountModel(); - } - return $this->_accountModel; - } - protected function getFormFieldOption(string $field, array $options = []): array - { - switch ($field) { - case ZoneModel::PARENT: - $options = [ - DEFAULTS['EMPTY'] => lang($this->_className . '.label.' . $field) . ' 선택', - ...$this->getAccountModel()->getFilterFieldOption($field, $options) - ]; - break; - default: - $options = parent::getFormFieldOption($field, $options); - break; - } - return $options; - } - protected function create_init(): void - { - $this->fields = [$this->getModel()::PARENT, $this->getModel()::TITLE, 'status', 'type']; - $this->filter_fields = [$this->getModel()::PARENT, 'status', 'type']; - $this->action = 'create'; - $this->getModel()->setAction($this->action); - } - public function create_form(): RedirectResponse|string - { - return $this->create_form_process(); - } - protected function create_process_submit(): ZoneEntity - { - $account_entity = $this->getAccountModel()->getEntityByPK($this->formDatas[$this->getModel()::PARENT]); - $zone = new Zone($account_entity); - return $zone->create($this->formDatas); - } - public function create(): RedirectResponse - { - return parent::create_process(); - } -} diff --git a/app/Controllers/Mangboard/UserController.php b/app/Controllers/Mangboard/UserController.php index ff90405..f1d9872 100644 --- a/app/Controllers/Mangboard/UserController.php +++ b/app/Controllers/Mangboard/UserController.php @@ -1,6 +1,6 @@ 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/Entities/SNSUserEntity.php b/app/Entities/SNSUserEntity.php deleted file mode 100644 index 511ca1c..0000000 --- a/app/Entities/SNSUserEntity.php +++ /dev/null @@ -1,32 +0,0 @@ -getPK()}|{$this->getID()}|{$this->getTitle()}"; - } - public function getTitle(): string - { - return $this->attributes[SNSUserModel::TITLE]; - } - public function setTitle(string $title): void - { - $this->attributes[SNSUserModel::TITLE] = $title; - } - //Common Function - - public function getPK(): int - { - return $this->attributes[SNSUserModel::PK]; - } - public function getID(): string - { - return $this->attributes['id']; - } -} diff --git a/app/Entities/UserEntity.php b/app/Entities/UserEntity.php deleted file mode 100644 index fd6a5a7..0000000 --- a/app/Entities/UserEntity.php +++ /dev/null @@ -1,49 +0,0 @@ -getPK()}:{$this->getID()}:{$this->getTitle()},{$this->getLevel()}/{$this->getPoint()}"; - } - public function getPK(): int - { - return $this->attributes[UserModel::PK]; - } - public function getTitle(): string - { - return $this->attributes[UserModel::TITLE]; - } - public function setTitle(string $title): void - { - $this->attributes[UserModel::TITLE] = $title; - } - //Common Function - - public function getID(): string - { - return $this->attributes['id']; - } - public function getPoint(): int - { - return $this->attributes['point']; - } - public function setPoint(int $point): void - { - - $this->attributes['point'] = $point; - } - public function getLevel(): int - { - return $this->attributes['level']; - } - public function setLevel(int $value): void - { - $this->attributes['level'] = $value; - } -} 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 4024389..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', - 'MX' => 'MX', - 'SRV' => 'SRV', - 'PTR' => 'PTR', - 'SPF' => 'SPF', - 'TXT' => 'TXT', - 'NS' => 'NS', - 'INFO' => 'INFO', - ], - "PROXIABLE" => [ - "on" => "사용", - "off" => "사용 않함", - ], - "FIXED" => [ - "on" => "사용", - "off" => "사용 않함", - ], - "PROXIED" => [ - "on" => "사용", - "off" => "사용 않함", - ], - "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/MyCloudflare/Account.php b/app/Libraries/MyCloudflare/Account.php deleted file mode 100644 index 30336fe..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 c37c841..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 bca97f3..0000000 --- a/app/Libraries/MyCloudflare/Record.php +++ /dev/null @@ -1,134 +0,0 @@ -_account_entity = $account_entity; - $this->_zone_entity = $zone_entity; - } - protected function getRequest(): Guzzle - { - return $this->getMySocket()->request($this->_account_entity->getAPIKey()); - } - final protected 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(array $formDatas): RecordEntity - { - //Socket용 - //도메인생성을 위해 Cloudflare에 전송 - $cf = $this->getRequest()->post('zones/' . $this->_zone_entity->getPK() . '/dns_records', [ - 'name' => $formDatas['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)); - } - //Storage용 - $formDatas = $this->getArrayByResult($cf->result); - $entity = $this->$this->getMyStorage()->modify($formDatas); - 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)); - } - $this->$this->getMyStorage()->delete($entity); - 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)); - } - $formDatas = $this->getArrayByResult($cf->result); - $entity = $this->$this->getMyStorage()->modify($entity, $formDatas); - log_message("notice", "Record:" . __FUNCTION__ . "=> 작업을 완료하였습니다."); - return $entity; - } - 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 0e516b5..0000000 --- a/app/Libraries/MyCloudflare/Zone.php +++ /dev/null @@ -1,160 +0,0 @@ -_account_entity = $account_entity; - } - private function getRequest(): Guzzle - { - return $this->getMySocket()->request($this->_account_entity->getAPIKey()); - } - final protected 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(array $formDatas, $jump_start = false): ZoneEntity - { - //Socket용 - //도메인생성을 위해 Cloudflare에 전송 - $cf = $this->getRequest()->post('zones/', [ - 'accountId' => $this->_account_entity->getPK(), - 'name' => $formDatas['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); - } - $entity = $this->$this->getMyStorage()->modify($entity); - 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)); - } - $this->$this->getMyStorage()->delete($entity); - 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)); - } - $formDatas = $this->getArrayByResult(result: $cf->result); - $entity = $this->$this->getMyStorage()->modify($entity, $formDatas); - log_message("notice", "Zone:" . __FUNCTION__ . "=> 작업을 완료하였습니다."); - return $entity; - } - 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/Libraries/MyCrawler/MyCrawler.php b/app/Libraries/MyCrawler/MyCrawler.php index 7de618d..fc23f65 100644 --- a/app/Libraries/MyCrawler/MyCrawler.php +++ b/app/Libraries/MyCrawler/MyCrawler.php @@ -6,7 +6,7 @@ use Symfony\Component\DomCrawler\Crawler; use App\Traits\FileTrait; use App\Models\Mangboard\BoardsModel; use App\Models\Mangboard\BoardModel; -use App\Libraries\MyStorage\MangboardStorage; +use App\Libraries\MyMangboard\Storage; use App\Libraries\MySocket\WebSocket; use App\Libraries\CommonLibrary; use App\Entities\Mangboard\UserEntity; @@ -40,10 +40,10 @@ abstract class MyCrawler extends CommonLibrary } return $this->_mySocket; } - final protected function getMyStorage(): MangboardStorage + final protected function getMyStorage(): Storage { if ($this->_myStorage === null) { - $this->_myStorage = new MangboardStorage($this->_board_name, $this->_user_entity); + $this->_myStorage = new Storage($this->_board_name, $this->_user_entity); } return $this->_myStorage; } diff --git a/app/Libraries/MyStorage/MangboardStorage.php b/app/Libraries/MyMangboard/Storage.php similarity index 71% rename from app/Libraries/MyStorage/MangboardStorage.php rename to app/Libraries/MyMangboard/Storage.php index 16a7fbb..84e0db3 100644 --- a/app/Libraries/MyStorage/MangboardStorage.php +++ b/app/Libraries/MyMangboard/Storage.php @@ -1,14 +1,16 @@ getPk(); $formDatas['user_pid'] = $this->_user_entity->getPK(); $formDatas['user_name'] = $this->_user_entity->getTitle(); @@ -113,8 +114,41 @@ class MangboardStorage extends FileStorage $this->getOriginSequence(), $entity->getTitle() )); + return $entity; + } + public function create_small_image(BoardEntity $board_entity, $target_name = "small", int $width = 480, int $height = 319): void + { + $fileInfo = pathinfo($this->getFullPath() . DIRECTORY_SEPARATOR . $this->getOriginName(), PATHINFO_ALL); + $target_file_name = sprintf("%s_%s.%s", $fileInfo['filename'], $target_name, $fileInfo['extension']); + if (!$this->isFileType_FileTrait($fileInfo['extension'])) { + throw new \Exception("{$this->getOriginName()} Image 형식파일이 아닙니다."); + } + // 이미지 파일 로드 + $this->load_ImageTrait($this->getFullPath() . DIRECTORY_SEPARATOR . $this->getOriginName()); + // 200x200으로 이미지 크기 조정 + $this->resize_ImageTrait($width, $height); + // 파일 저장 + $this->save_ImageTrait($this->getFullPath() . DIRECTORY_SEPARATOR . $target_file_name); + // 메모리 해제 + $this->destroy_ImageTrait(); + log_message("notice", sprintf( + "%s -> %s 게시물의 %s번째:%s->%s 작은이미지(W:%s,H:%s) 생성 완료", + __FUNCTION__, + $board_entity->getTitle(), + $this->getOriginSequence(), + $this->getOriginName(), + $target_file_name, + $width, + $height + )); + } + + final public function create(BoardsEntity $boards_entity, BoardEntity $board_entity, string $board_table): void + { + //File DB에 넣기 + $this->create_db($boards_entity, $board_entity, $board_table); //작은이미지 만들기 - $this->create_small_ImageTrait($board_entity, $this); + $this->create_small_image($board_entity); } } diff --git a/app/Libraries/MySocket/CloudflareSocket.php b/app/Libraries/MySocket/CloudflareSocket.php deleted file mode 100644 index c16d7f6..0000000 --- a/app/Libraries/MySocket/CloudflareSocket.php +++ /dev/null @@ -1,69 +0,0 @@ -initAdapters(); - self::$_request_max = getenv("cfmgr.request.max"); - } - final protected function getAccountModel(): AccountModel - { - if ($this->_accountModel === null) { - $this->_accountModel = new AccountModel(); - } - return $this->_accountModel; - } - final public function initAdapters(): void - { - foreach ($this->getAccountModel()->getEntitys() as $entity) { - $this->_clients[$entity->getAPIKey()] = new Guzzle( - new APIKey($entity->getTitle(), $entity->getAPIKey()) - ); - } - } - public function request(string $apikey): Guzzle - { - if (!array_key_exists($apikey, $this->_clients)) { - throw new \Exception(+__FUNCTION__ . " => {$apikey}에 해당하는 Adapter를 찾을수 없습니다."); - } - if (self::$_request >= self::$_request_max) { - log_message('warning', sprintf("--Cloudflare API Call %s초 대기 시작--", self::$_request_timewait)); - sleep(intval(getenv("cf.mgr.request.time.wait"))); - self::$_request = 0; - log_message('warning', sprintf("--Cloudflare API Call %s초 대기 종료--", self::$_request_timewait)); - } - self::$_request++; - return $this->_clients[$apikey]; - } - // public function getAccount(string $apikey): Accounts - // { - // return new Accounts($this->request($apikey)); - // } - // public function getZone(string $apikey): Zones - // { - // return new Zones($this->request($apikey)); - // } - // public function getRecord(string $apikey): DNS - // { - // return new DNS($this->request($apikey)); - // } -} diff --git a/app/Models/Cloudflare/AccountModel.php b/app/Models/Cloudflare/AccountModel.php deleted file mode 100644 index e38d3a0..0000000 --- a/app/Models/Cloudflare/AccountModel.php +++ /dev/null @@ -1,78 +0,0 @@ -where('status', DEFAULTS['STATUS']); - $this->orderBy(self::TITLE, 'asc'); - $options = parent::getFormFieldOption($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 0e4d895..0000000 --- a/app/Models/Cloudflare/RecordModel.php +++ /dev/null @@ -1,115 +0,0 @@ -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) . "처리 완료-----"); - } - } - //Index 검색어용 - public function setIndexWordFilter(string $word) - { - $this->like('host', $word, 'before'); //befor , after , both - $this->orWhere('content', $word); - } - public function setIndexDateFilter($start, $end) - { - $this->where('created_at >=', $start); - $this->where('created_at <=', $end); - } - public function setIndexOrderBy($field, $order = 'ASC') - { - $this->orderBy(self::PARENT . " ASC, host ASC, {$field} {$order}"); - } -} diff --git a/app/Models/Cloudflare/ZoneModel.php b/app/Models/Cloudflare/ZoneModel.php deleted file mode 100644 index 8034254..0000000 --- a/app/Models/Cloudflare/ZoneModel.php +++ /dev/null @@ -1,114 +0,0 @@ -where('status', DEFAULTS['STATUS']); - $this->orderBy(self::TITLE, 'asc'); - $options = parent::getFormFieldOption($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; - } - //Index 검색용 - public function setIndexWordFilter(string $word): void - { - $subquery = $this->db->table(RecordModel::TABLE)->select(RecordModel::PARENT)->like('content', $word, 'both'); - $this->like(self::TITLE, $word, 'both'); //befor , after , both - $this->orWhereIn(self::PK, $subquery); - } - public function setIndexDateFilter($start, $end): void - { - $this->where('created_at >=', $start); - $this->where('created_at <=', $end); - } - public function setIndexOrderBy($field, $order = 'ASC') - { - $this->orderBy(self::TITLE . " ASC, {$field} {$order}"); - } -} diff --git a/app/Traits/ImageTrait.php b/app/Traits/ImageTrait.php index 9741778..6a928d7 100644 --- a/app/Traits/ImageTrait.php +++ b/app/Traits/ImageTrait.php @@ -10,17 +10,17 @@ trait ImageTrait private $_image; private $_imageType; - final protected function getWidth_ImageTrait() + final public function getWidth_ImageTrait() { return imagesx($this->_image); } // 이미지의 현재 높이를 반환하는 메소드 - final protected function getHeight_ImageTrait() + final public function getHeight_ImageTrait() { return imagesy($this->_image); } // 이미지 파일을 로드하는 메소드 - final protected function load_ImageTrait($file) + final public function load_ImageTrait($file) { $imageInfo = getimagesize($file); $this->_imageType = $imageInfo[2]; @@ -40,7 +40,7 @@ trait ImageTrait } } // 이미지 크기를 지정된 너비, 높이로 변경하는 메소드 - final protected function resize_ImageTrait($width, $height) + final public function resize_ImageTrait($width, $height) { $newImage = imagecreatetruecolor($width, $height); imagecopyresampled( @@ -58,26 +58,26 @@ trait ImageTrait $this->_image = $newImage; } // 이미지 비율을 유지하면서 크기를 조정하는 메소드 - final protected function resizeToWidth_ImageTrait($width) + final public function resizeToWidth_ImageTrait($width) { $ratio = $width / $this->getWidth_ImageTrait(); $height = $this->getHeight_ImageTrait() * $ratio; $this->resize_ImageTrait($width, $height); } - final protected function resizeToHeight_ImageTrait($height) + final public function resizeToHeight_ImageTrait($height) { $ratio = $height / $this->getHeight_ImageTrait(); $width = $this->getWidth_ImageTrait() * $ratio; $this->resize_ImageTrait($width, $height); } - final protected function scale($scale) + final public function scale($scale) { $width = $this->getWidth_ImageTrait() * ($scale / 100); $height = $this->getHeight_ImageTrait() * ($scale / 100); $this->resize_ImageTrait($width, $height); } // 이미지를 저장하는 메소드 - final protected function save_ImageTrait($file, $imageType = IMAGETYPE_WEBP, $compression = 75) + final public function save_ImageTrait($file, $imageType = IMAGETYPE_WEBP, $compression = 75) { switch ($imageType) { case IMAGETYPE_JPEG: @@ -96,35 +96,8 @@ trait ImageTrait } } // 메모리 해제를 위한 메소드 - final protected function destroy_ImageTrait() + final public function destroy_ImageTrait() { imagedestroy($this->_image); } - - public function create_small_ImageTrait(BoardEntity $board_entity, MangboardStorage $storage, $target_name = "small", int $width = 480, int $height = 319): void - { - $fileInfo = pathinfo($storage->getFullPath() . DIRECTORY_SEPARATOR . $storage->getOriginName(), PATHINFO_ALL); - $target_file_name = sprintf("%s_%s.%s", $fileInfo['filename'], $target_name, $fileInfo['extension']); - if (!$this->isFileType_FileTrait($fileInfo['extension'])) { - throw new \Exception("{$storage->getOriginName()} Image 형식파일이 아닙니다."); - } - // 이미지 파일 로드 - $this->load_ImageTrait($storage->getFullPath() . DIRECTORY_SEPARATOR . $storage->getOriginName()); - // 200x200으로 이미지 크기 조정 - $this->resize_ImageTrait($width, $height); - // 파일 저장 - $this->save_ImageTrait($storage->getFullPath() . DIRECTORY_SEPARATOR . $target_file_name); - // 메모리 해제 - $this->destroy_ImageTrait(); - log_message("notice", sprintf( - "%s -> %s 게시물의 %s번째:%s->%s 작은이미지(W:%s,H:%s) 생성 완료", - __FUNCTION__, - $board_entity->getTitle(), - $storage->getOriginSequence(), - $storage->getOriginName(), - $target_file_name, - $width, - $height - )); - } } 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 @@ -extend('layouts/admin') ?> -section('content') ?> - -
-
- "get")) ?> - - include('templates/admin/index_head') ?> - -
- - - - - - - - - - - - - status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)"> - - - - - - - - - -
#@
- "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?> - getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?> - getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?>
-
- - -
- -
-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 @@ -extend('layouts/admin') ?> -section('content') ?> - -
- - - - - - - - - - - - - - -
- - -
"btn btn-outline btn-primary")); ?>
-
-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 @@ -extend('layouts/admin') ?> -section('content') ?> - -
- - - - - - - - - - - - - - -
- $field ?: DEFAULTS['EMPTY'], $viewDatas) ?> - -
"btn btn-outline btn-primary")); ?>
-
-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 @@ -extend('layouts/admin') ?> -section('content') ?> - -
- - - - - - - - - -
- - -
-
-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 @@ -extend('layouts/admin') ?> -section('content') ?> -include('templates/admin/header'); ?> -include('templates/admin/footer'); ?> -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 @@ - - -
- - \ 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 @@ - - -
- - \ 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 @@ - - -
- 'post', - "onsubmit" => 'return calculator()' - ]) ?> - - - - - - - - - - - getPrimaryKey()] = $entity->getTitleWithPrice(); - } - ?> - - - - - - - - - - - - - - -
가상서버 견적 계산기
- $category, - 'class' => 'vhost_cellDatas', - 'onChange' => "calculator()" - ] - ) ?> -
결제일 - "결제일 선택"]; - for ($i = 1; $i <= 28; $i++) { - $paymentDayOptions[$i] = "매월 {$i}일"; - } - ?> - 'paymentday']); - ?> -
주문금액 - 0원 - "btn btn-outline btn-primary")); ?> -
- - - 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 @@ - - - - - - - - - - - - - - - - - -
- $productDevieceEntity) : ?> -
device_uid]->getTitle() ?>
- -
- $label) : ?> - - -
\ 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 @@ - \ 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 @@ - - -
- 'post', - "onsubmit" => 'return calculator(' . $cellDatas['parts']['virtual']['default']['baserate'] . ')' - ]) ?> - - - - - - - - - - - - - - $attrs) : ?> - - - - - - - - - - - - - - -
가상서버 견적 계산기
기본요금 - -
- - 할인가 * - $category, - 'class' => 'vhost_parts', - 'cost' => $attrs['cost'], - 'sale' => $attrs['sale'], - 'onChange' => "calculator(" . $cellDatas['parts']['virtual']['default']['baserate'] . ")" - ] - ) ?> - -
결제일 - "결제일 선택"]; - for ($i = 1; $i <= 28; $i++) { - $paymentDayOptions[$i] = "매월 {$i}일"; - } - ?> - 'paymentday']); - ?> -
주문금액 - 0원 - "btn btn-outline btn-primary")); ?> -
- - - 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 @@ -extend('layouts/admin') ?> -section('content') ?> - - - - - - - - - - - - - -
- - -
- "btn btn-outline btn-primary")); ?> -
-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 4ba60b3..0000000 --- a/app/Views/cloudflare/account/index.php +++ /dev/null @@ -1,50 +0,0 @@ -extend('layouts/admin') ?> -section('content') ?> - -
-
- "get")) ?> - - include('templates/admin/index_head') ?> - -
- - - - - - - - - - - - - status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)"> - - - - - - - - - -
#@
- "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?> - getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?> - getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?>
-
- - -
- -
-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 @@ -extend('layouts/admin') ?> -section('content') ?> - -
- - - - - - - - - - - - - - -
- $field ?: DEFAULTS['EMPTY'], $viewDatas) ?> - -
"btn btn-outline btn-primary")); ?>
-
-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 @@ -extend('layouts/admin') ?> -section('content') ?> - -
- - - - - - - - - -
- - -
-
-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

- -

- - - - - -

-
- - 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) ?> - - - - - - - -
-
- Displayed at — - PHP: — - CodeIgniter: -- - Environment: -
-
-

getCode() ? ' #' . $exception->getCode() : '') ?>

-

- getMessage())) ?> - getMessage())) ?>" - rel="noreferrer" target="_blank">search → -

-
-
- - -
-

at line

- - -
- -
- -
- -
- getPrevious()) { - $last = $prevException; - ?> - -
-    Caused by:
-    getCode() ? ' #' . $prevException->getCode() : '') ?>
-
-    getMessage())) ?>
-    getMessage())) ?>"
-       rel="noreferrer" target="_blank">search →
-    getFile()) . ':' . $prevException->getLine()) ?>
-    
- - -
- - -
- - - -
- - -
- -
    - $row) : ?> - -
  1. -

    - - - - - {PHP internal code} - - - - -   —   - - - ( arguments ) -

    - - - getParameters(); - } - - foreach ($row['args'] as $key => $value) : ?> - - - - - - -
    name : "#{$key}") ?>
    -
    - - () - - - - -   —   () - -

    - - - -
    - -
    - -
  2. - - -
- -
- - -
- - - -

$

- - - - - - - - - - $value) : ?> - - - - - - -
KeyValue
- - - -
- -
- - - - - - -

Constants

- - - - - - - - - - $value) : ?> - - - - - - -
KeyValue
- - - -
- -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PathgetUri()) ?>
HTTP MethodgetMethod()) ?>
IP AddressgetIPAddress()) ?>
Is AJAX Request?isAJAX() ? 'yes' : 'no' ?>
Is CLI Request?isCLI() ? 'yes' : 'no' ?>
Is Secure Request?isSecure() ? 'yes' : 'no' ?>
User AgentgetUserAgent()->getAgentString()) ?>
- - - - - - - - -

$

- - - - - - - - - - $value) : ?> - - - - - - -
KeyValue
- - - -
- -
- - - - - -
- No $_GET, $_POST, or $_COOKIE Information to show. -
- - - - headers(); ?> - - -

Headers

- - - - - - - - - - $value) : ?> - - - - - - -
HeaderValue
- getValueLine(), 'html'); - } else { - foreach ($value as $i => $header) { - echo ' ('. $i+1 . ') ' . esc($header->getValueLine(), 'html'); - } - } - ?> -
- - -
- - - setStatusCode(http_response_code()); - ?> -
- - - - - -
Response StatusgetStatusCode() . ' - ' . $response->getReasonPhrase()) ?>
- - headers(); ?> - -

Headers

- - - - - - - - - - $value) : ?> - - - - - - -
HeaderValue
- getHeaderLine($name), 'html'); - } else { - foreach ($value as $i => $header) { - echo ' ('. $i+1 . ') ' . esc($header->getValueLine(), 'html'); - } - } - ?> -
- - -
- - -
- - -
    - -
  1. - -
-
- - -
- - - - - - - - - - - - - - - - -
Memory Usage
Peak Memory Usage:
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') ?> - - - - - -
- -

- -

- -
- - - - 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 @@ -extend('layouts/front') ?> -section('content') ?> - -
-
head) ?>
-
include('templates/front/index_head') ?>
- - - - - - - - - - - - status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)"> - - - - - - - - -
#
- - getPrimaryKey() == $viewDatas['auth'][AUTH_FIELDS['ID']]) : ?> - getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?> - - - -
-
- -
- -
tail) ?>
-
-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 @@ -extend('layouts/front') ?> -section('content') ?> - -
-
head) ?>
- - - - - - - - - - - -
- - -
"btn btn-outline btn-primary")); ?>
- -
tail) ?>
-
-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 @@ -extend('layouts/main') ?> -section('content') ?> - - -
-
- - - - - - - - - - - - - - -
계정 - 0]) ?> - - 'image', 'src' => "/images/common/btn_login.png", - 'width' => '57', 'height' => '60', 'tabindex' => 2 - ]) ?> -
암호 - 1]) ?> -
- -
-
-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 @@ -extend('layouts/main') ?> -section('content') ?> - - -
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- "btn btn-outline btn-primary")) ?> -
-
- -
- -
-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 @@ -extend('layouts/front') ?> -section('content') ?> - -
-
head) ?>
- - - - - - - - - - - -
- $field ?: DEFAULTS['EMPTY']), $viewDatas) ?> - -
"btn btn-outline btn-primary")); ?>
- -
tail) ?>
-
-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 @@ -extend('layouts/main') ?> -section('content') ?> - -
- -
- -
-
-

가상서버 안내 및 사양, 가격정보입니다.

-
-
- - - - - - - - - - - - - - - - - -
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)
VCPUXeon 4Core
RAM8G
SSD100G
기본임대료15만원 할인가 10만원 (공인IP,회선비 별도)
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
VPS Pro(HP DL360Gen9)
VPS Pro(HP DL360Gen9)
VCPUXeon 8Core
RAM16G
SSD150G
기본임대료25만원 할인가 15만원 (공인IP,회선비 별도)
-
-
-
-
-

단독서버 안내 및 사양, 가격정보입니다.

-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4core
4core
CPUE5530
RAM8G
HDDSAS146G*4
임대료35만원 할인가 25만원 (회선비 별도)
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
8core
8core
CPUX5560*2
RAM16G
HDDSSD128G*2+SATA500G*2
임대료45만원 할인가 35만원 (회선비 별도)
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
12core
12core
CPUX5650*2
RAM16G
HDDSSD128G*2+SATA500G*2
임대료55만원 할인가 45만원 (회선비 별도)
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20core
20core
CPUE2690v2*2
RAM32G
HDDSSD128G*2+SATA500G*2
임대료65만원 할인가 55만원 (회선비 별도)
-
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
-
    -
  • -
    -
    -
    고객센터
    -
    -
    -
    -
  • -
  • -
    -
    -
    자료실
    -
    -
    -
    -
  • -
  • -
    -
    -
    공지사항
    -
    -
    -
    -
  • -
-
-
-
-
-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'] ?> - - - - - - - - - - - - - - -
-
- include($viewDatas['layout']['path'] . '/head'); ?> -
-
-
include($viewDatas['layout']['path'] . '/left_menu'); ?>
-
-
include('templates/admin/header'); ?>
-
renderSection('content') ?>
- -
-
-
- 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 @@ - \ 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 @@ - - - -
-
-
-

Main

-
- include($viewDatas['layout']['path'] . '/left_menu/base'); ?> - include($viewDatas['layout']['path'] . '/left_menu/site'); ?> - 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 @@ -
-

계정 관리

-
-
-

SNS 계정 관리

-
-
-

분류 관리

-
\ 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 @@ -

- -

-
-
-

게시글 관리

-
-
-

SitePage 관리

-
-
\ 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 @@ - - - - - - - - - - - - - - - - - - - - <?= $viewDatas['title'] ?> - - - -
- include('templates/empty/header'); ?> - renderSection('content') ?> - 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 @@ - - - - - - - - - - <?= $viewDatas['title'] ?> - - - - -
- -
- - - - \ 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 @@ -include($viewDatas['layout']['path'] . 'head/navigator'); ?> -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 @@ - - \ 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 @@ - - -
-
-
-
-
parent]['entity']->getTitle() ?>
-
- parent]['childs'] as $child) : ?> -
"> - getTitle() ?> -
- -
- \ 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 @@ -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 @@ - - - - \ 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - <?= $viewDatas['title'] ?> - - - - -
- - - -
- - - - \ 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - <?= $viewDatas['title'] ?> - - - - - -
- - - -
- - - - \ 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 @@ - \ 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 @@ - - \ 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 @@ - -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 @@ - -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 @@ - \ 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 @@ - \ No newline at end of file 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 288a6d3..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: 10px; -} -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/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 - )); -}