diff --git a/app/Config/Constants.php b/app/Config/Constants.php
index 5903b6a..20d1f39 100644
--- a/app/Config/Constants.php
+++ b/app/Config/Constants.php
@@ -116,7 +116,6 @@ define('LAYOUTS', [
'',
'',
'',
- '',
],
'javascripts' => [
'',
@@ -137,7 +136,6 @@ define('LAYOUTS', [
'',
'',
'',
- '',
],
'javascripts' => [
'',
diff --git a/app/Helpers/Board_helper.php b/app/Helpers/Board_helper.php
index e61a8e2..8569a27 100644
--- a/app/Helpers/Board_helper.php
+++ b/app/Helpers/Board_helper.php
@@ -143,10 +143,10 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $viewDatas): strin
$value,
["target" => "_self"]
);
- return sprintf("%s%s %s", $depth, $reply, $view);
+ return sprintf("
%s%s %s | ", $depth, $reply, $view);
break;
default:
- return getFieldView_BoardHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_BoardHelper($field, $entity, $viewDatas));
break;
}
} //
@@ -172,7 +172,7 @@ function getFieldIndex_Row_BoardHelper_Admin($field, $entity, array $viewDatas):
$value,
["target" => "_self"]
);
- return sprintf("%s%s %s", $depth, $reply, $view);
+ return sprintf("%s%s %s | ", $depth, $reply, $view);
break;
default:
if (in_array($field, $viewDatas['fieldFilters'])) {
@@ -183,7 +183,7 @@ function getFieldIndex_Row_BoardHelper_Admin($field, $entity, array $viewDatas):
$field,
$field
);
- return getFieldForm_BoardHelper($field, $entity->$field, $viewDatas, $attributes);
+ return sprintf("%s | ", getFieldForm_BoardHelper($field, $entity->$field, $viewDatas, $attributes));
}
return getFieldIndex_Row_BoardHelper($field, $entity, $viewDatas);
break;
diff --git a/app/Helpers/Category_helper.php b/app/Helpers/Category_helper.php
index 95bd575..317953c 100644
--- a/app/Helpers/Category_helper.php
+++ b/app/Helpers/Category_helper.php
@@ -128,7 +128,7 @@ function getFieldIndex_Row_CategoryHelper($field, $entity, array $viewDatas): st
{
switch ($field) {
default:
- return getFieldView_CategoryHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_CategoryHelper($field, $entity, $viewDatas));
break;
}
} //
@@ -138,7 +138,7 @@ function getFieldIndex_Row_CategoryHelper_Admin($field, $entity, array $viewData
$value = $entity->$field ?: DEFAULTS['EMPTY'];
switch ($field) {
case 'linkurl':
- return $entity->getFileImage('middle', 'photo') . "
" . $value;
+ return sprintf("%s %s | ", $entity->getFileImage('middle', 'photo'), $value);
break;
case 'title':
case 'name':
@@ -156,7 +156,7 @@ function getFieldIndex_Row_CategoryHelper_Admin($field, $entity, array $viewData
$value,
["target" => "_self"]
);
- return sprintf("%s%s %s", $depth, $reply, $view);
+ return sprintf("%s%s %s | ", $depth, $reply, $view);
break;
default:
if (in_array($field, $viewDatas['fieldFilters'])) {
@@ -167,7 +167,7 @@ function getFieldIndex_Row_CategoryHelper_Admin($field, $entity, array $viewData
$field,
$field
);
- return getFieldForm_CategoryHelper($field, $entity->$field, $viewDatas, $attributes);
+ return sprintf("%s | ", getFieldForm_CategoryHelper($field, $entity->$field, $viewDatas, $attributes));
}
return getFieldIndex_Row_CategoryHelper($field, $entity, $viewDatas);
break;
diff --git a/app/Helpers/Order_helper.php b/app/Helpers/Order_helper.php
index ebd8457..0f13960 100644
--- a/app/Helpers/Order_helper.php
+++ b/app/Helpers/Order_helper.php
@@ -125,7 +125,7 @@ function getFieldIndex_Row_OrderHelper($field, $entity, array $viewDatas): strin
case 'title':
case 'name':
return sprintf(
- "%s : %s
%s",
+ "%s : %s %s | ",
lang("{$viewDatas['className']}.label.uid"),
$entity->getOrderHint(),
anchor(
@@ -137,7 +137,7 @@ function getFieldIndex_Row_OrderHelper($field, $entity, array $viewDatas): strin
break;
case 'status':
if ($value == DEFAULTS['STATUS']) {
- return sprintf("%s
%s
", anchor(
+ return sprintf("%s %s | ", anchor(
'/front/payment/card/' . $entity->getPrimaryKey(),
"카드결제",
["class" => "btn btn-sm btn-primary btn-circle", "style" => "color:white", "target" => "_self"]
@@ -147,11 +147,11 @@ function getFieldIndex_Row_OrderHelper($field, $entity, array $viewDatas): strin
["class" => "btn btn-sm btn-info btn-circle", "style" => "color:white", "target" => "_self"]
));
} else {
- return getFieldView_OrderHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_OrderHelper($field, $entity, $viewDatas));
}
break;
default:
- return getFieldView_OrderHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_OrderHelper($field, $entity, $viewDatas));
break;
}
} //
@@ -162,21 +162,26 @@ function getFieldIndex_Row_OrderHelper_Admin($field, $entity, array $viewDatas):
switch ($field) {
case 'title':
case 'name':
- return sprintf(
- "%s : %s
%s
",
- lang("{$viewDatas['className']}.label.uid"),
- $entity->getPrimaryKey(),
- anchor(
- current_url() . '/view/' . $entity->getPrimaryKey(),
- $value,
- ["target" => "_self"]
- )
- );
+ return sprintf("%s | ", anchor(
+ current_url() . '/view/' . $entity->getPrimaryKey(),
+ $value,
+ ["target" => "_self"]
+ ));
break;
case 'status':
- return getFieldView_OrderHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_OrderHelper($field, $entity, $viewDatas));
break;
default:
+ if (in_array($field, $viewDatas['fieldFilters'])) {
+ $attributes["onChange"] = sprintf(
+ 'location.href="%s/toggle/%s/%s?%s="+this.options[this.selectedIndex].value',
+ current_url(),
+ $entity->getPrimaryKey(),
+ $field,
+ $field
+ );
+ return sprintf("%s | ", getFieldForm_OrderHelper($field, $entity->$field, $viewDatas, $attributes));
+ }
return getFieldIndex_Row_OrderHelper($field, $entity, $viewDatas);
break;
}
diff --git a/app/Helpers/Payment_helper.php b/app/Helpers/Payment_helper.php
index fe05be2..d6f8236 100644
--- a/app/Helpers/Payment_helper.php
+++ b/app/Helpers/Payment_helper.php
@@ -161,29 +161,28 @@ function getFieldIndex_Row_PaymentHelper($field, $entity, array $viewDatas): str
case 'title':
case 'name':
return sprintf(
- "%s : %s
%s
",
- lang("{$viewDatas['className']}.label.uid"),
- $entity->getPaymentHint(),
+ "%s | ",
anchor(
- current_url() . '/view/' . $entity->getPrimaryKey() . '?category=' . $viewDatas['category']->getPrimaryKey(),
+ current_url() . '/view/' . $entity->getPrimaryKey(),
$value,
["target" => "_self"]
)
);
break;
+ break;
case 'status':
if ($value == DEFAULTS['STATUS']) {
- return anchor(
+ return sprintf("%s | ", anchor(
'/front/payment/card/' . $entity->getPrimaryKey(),
$viewDatas['fieldFormOptions'][$field][$value],
["class" => "btn btn-sm btn-primary btn-circle", "style" => "color:white", "target" => "_self"]
- );
+ ));
} else {
- return getFieldView_PaymentHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_PaymentHelper($field, $entity, $viewDatas));
}
break;
default:
- return getFieldView_PaymentHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_PaymentHelper($field, $entity, $viewDatas));
break;
}
} //
@@ -195,9 +194,7 @@ function getFieldIndex_Row_PaymentHelper_Admin($field, $entity, array $viewDatas
case 'title':
case 'name':
return sprintf(
- "%s : %s
%s
",
- lang("{$viewDatas['className']}.label.uid"),
- $entity->getPrimaryKey(),
+ "%s | ",
anchor(
current_url() . '/view/' . $entity->getPrimaryKey(),
$value,
@@ -206,9 +203,19 @@ function getFieldIndex_Row_PaymentHelper_Admin($field, $entity, array $viewDatas
);
break;
case 'status':
- return getFieldView_PaymentHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_PaymentHelper($field, $entity, $viewDatas));
break;
default:
+ if (in_array($field, $viewDatas['fieldFilters'])) {
+ $attributes["onChange"] = sprintf(
+ 'location.href="%s/toggle/%s/%s?%s="+this.options[this.selectedIndex].value',
+ current_url(),
+ $entity->getPrimaryKey(),
+ $field,
+ $field
+ );
+ return sprintf("%s | ", getFieldForm_PaymentHelper($field, $entity->$field, $viewDatas, $attributes));
+ }
return getFieldIndex_Row_PaymentHelper($field, $entity, $viewDatas);
break;
}
diff --git a/app/Helpers/Product_helper.php b/app/Helpers/Product_helper.php
index 7e79760..734151f 100644
--- a/app/Helpers/Product_helper.php
+++ b/app/Helpers/Product_helper.php
@@ -149,7 +149,7 @@ function getFieldIndex_Row_ProductHelper($field, $entity, array $viewDatas): str
);
break;
default:
- return getFieldView_ProductHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_ProductHelper($field, $entity, $viewDatas));
break;
}
} //
@@ -160,15 +160,11 @@ function getFieldIndex_Row_ProductHelper_Admin($field, $entity, array $viewDatas
switch ($field) {
case 'title':
case 'name':
- return sprintf(
- "%s
%s
",
- $entity->getFileImage('middle', 'photo'),
- anchor(
- current_url() . '/view/' . $entity->getPrimaryKey(),
- $value,
- ["target" => "_self"]
- )
- );
+ return sprintf("%s | ", anchor(
+ current_url() . '/view/' . $entity->getPrimaryKey(),
+ $value,
+ ["target" => "_self"]
+ ));
break;
default:
if (in_array($field, $viewDatas['fieldFilters'])) {
@@ -179,7 +175,7 @@ function getFieldIndex_Row_ProductHelper_Admin($field, $entity, array $viewDatas
$field,
$field
);
- return getFieldForm_ProductHelper($field, $entity->$field, $viewDatas, $attributes);
+ return sprintf("%s | ", getFieldForm_ProductHelper($field, $entity->$field, $viewDatas, $attributes));
}
return getFieldIndex_Row_ProductHelper($field, $entity, $viewDatas);
break;
diff --git a/app/Helpers/Sitepage_helper.php b/app/Helpers/Sitepage_helper.php
index e7644a5..6d2f662 100644
--- a/app/Helpers/Sitepage_helper.php
+++ b/app/Helpers/Sitepage_helper.php
@@ -126,16 +126,7 @@ function getFieldIndex_Column_SitepageHelper($field, array $viewDatas)
//Front용
function getFieldIndex_Row_SitepageHelper($field, $entity, array $viewDatas): string
{
- $value = $entity->$field ?: DEFAULTS['EMPTY'];
switch ($field) {
- case 'title':
- case 'name':
- return anchor(
- current_url() . '/view/' . $entity->getPrimaryKey(),
- $value ? str_split($value, 66)[0] . "..." : "",
- ["target" => "_self"]
- );
- break;
default:
return getFieldView_SitepageHelper($field, $entity, $viewDatas);
break;
@@ -155,7 +146,7 @@ function getFieldIndex_Row_SitepageHelper_Admin($field, $entity, array $viewData
$field,
$field
);
- return getFieldForm_SitepageHelper($field, $entity->$field, $viewDatas, $attributes);
+ return sprintf("%s | ", getFieldForm_SitepageHelper($field, $entity->$field, $viewDatas, $attributes));
}
return getFieldIndex_Row_SitepageHelper($field, $entity, $viewDatas);
break;
diff --git a/app/Helpers/UserSNS_helper.php b/app/Helpers/UserSNS_helper.php
index 1c0fd41..2b4ab44 100644
--- a/app/Helpers/UserSNS_helper.php
+++ b/app/Helpers/UserSNS_helper.php
@@ -114,25 +114,30 @@ function getFieldIndex_Column_UserSNSHelper($field, array $viewDatas)
//Front용
function getFieldIndex_Row_UserSNSHelper($field, $entity, array $viewDatas): string
{
- $value = $entity->$field ?: DEFAULTS['EMPTY'];
switch ($field) {
- case 'title':
- case 'name':
- return anchor(
- current_url() . '/view/' . $entity->getPrimaryKey(),
- $value,
- ["target" => "_self"]
- );
- break;
default:
- return getFieldView_UserSNSHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_UserSNSHelper($field, $entity, $viewDatas));
break;
}
} //
//Admin용
function getFieldIndex_Row_UserSNSHelper_Admin($field, $entity, array $viewDatas): string
{
+ $value = $entity->$field ?: DEFAULTS['EMPTY'];
switch ($field) {
+ case 'title':
+ case 'name':
+ return sprintf(
+ "%s : %s | ",
+ lang("{$viewDatas['className']}.label.uid"),
+ $entity->getPrimaryKey(),
+ anchor(
+ current_url() . '/view/' . $entity->getPrimaryKey(),
+ $value,
+ ["target" => "_self"]
+ )
+ );
+ break;
default:
if (in_array($field, $viewDatas['fieldFilters'])) {
$attributes["onChange"] = sprintf(
@@ -142,7 +147,7 @@ function getFieldIndex_Row_UserSNSHelper_Admin($field, $entity, array $viewDatas
$field,
$field
);
- return getFieldForm_UserSNSHelper($field, $entity->$field, $viewDatas, $attributes);
+ return sprintf("%s | ", getFieldForm_UserSNSHelper($field, $entity->$field, $viewDatas, $attributes));
}
return getFieldIndex_Row_UserSNSHelper($field, $entity, $viewDatas);
break;
diff --git a/app/Helpers/User_helper.php b/app/Helpers/User_helper.php
index a87f59b..64982e7 100644
--- a/app/Helpers/User_helper.php
+++ b/app/Helpers/User_helper.php
@@ -134,14 +134,17 @@ function getFieldIndex_Row_UserHelper($field, $entity, array $viewDatas): string
switch ($field) {
case 'title':
case 'name':
- return anchor(
- current_url() . '/view/' . $entity->getPrimaryKey(),
- $value,
- ["target" => "_self"]
+ return sprintf(
+ "%s | ",
+ anchor(
+ current_url() . '/view/' . $entity->getPrimaryKey(),
+ $value,
+ ["target" => "_self"]
+ )
);
break;
default:
- return getFieldView_UserHelper($field, $entity, $viewDatas);
+ return sprintf("%s | ", getFieldView_UserHelper($field, $entity, $viewDatas));
break;
}
} //
@@ -149,7 +152,19 @@ function getFieldIndex_Row_UserHelper($field, $entity, array $viewDatas): string
//Admin용
function getFieldIndex_Row_UserHelper_Admin($field, $entity, array $viewDatas): string
{
+ $value = $entity->$field ?: DEFAULTS['EMPTY'];
switch ($field) {
+ case 'title':
+ case 'name':
+ return sprintf(
+ "%s | ",
+ anchor(
+ current_url() . '/view/' . $entity->getPrimaryKey(),
+ $value,
+ ["target" => "_self"]
+ )
+ );
+ break;
case 'role':
$value = $entity->$field ?: DEFAULTS['EMPTY'];
// $viewDatas['fieldFormOptions'][$field] = [DEFAULTS['EMPTY'] => lang("{$viewDatas['className']}.label.{$field}") . " 선택", ...$viewDatas['fieldFormOptions'][$field]];
@@ -158,7 +173,7 @@ function getFieldIndex_Row_UserHelper_Admin($field, $entity, array $viewDatas):
foreach ($viewDatas['fieldFormOptions'][$field] as $key => $label) {
$checkboxs[] = form_checkbox("{$field}[]", $key, in_array($key, explode(DEFAULTS["DELIMITER_ROLE"], $value))) . $label;
}
- return implode(" ", $checkboxs);
+ return sprintf("%s | ", implode(" ", $checkboxs));
break;
default:
if (in_array($field, $viewDatas['fieldFilters'])) {
@@ -169,7 +184,7 @@ function getFieldIndex_Row_UserHelper_Admin($field, $entity, array $viewDatas):
$field,
$field
);
- return getFieldForm_UserHelper($field, $entity->$field, $viewDatas, $attributes);
+ return sprintf("%s | ", getFieldForm_UserHelper($field, $entity->$field, $viewDatas, $attributes));
}
return getFieldIndex_Row_UserHelper($field, $entity, $viewDatas);
break;
diff --git a/app/Views/admin/board/index.php b/app/Views/admin/board/index.php
index e24f695..dadbc18 100644
--- a/app/Views/admin/board/index.php
+++ b/app/Views/admin/board/index.php
@@ -26,7 +26,7 @@
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- ">= getFieldIndex_Row_BoardHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_BoardHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/admin/category/index.php b/app/Views/admin/category/index.php
index 0449718..71eb57a 100644
--- a/app/Views/admin/category/index.php
+++ b/app/Views/admin/category/index.php
@@ -26,7 +26,7 @@
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- ">= getFieldIndex_Row_CategoryHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_CategoryHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/admin/order/index.php b/app/Views/admin/order/index.php
index d597af3..df907f8 100644
--- a/app/Views/admin/order/index.php
+++ b/app/Views/admin/order/index.php
@@ -26,7 +26,7 @@
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- = getFieldIndex_Row_OrderHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_OrderHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/admin/product/index.php b/app/Views/admin/product/index.php
index e85a838..b89bdb1 100644
--- a/app/Views/admin/product/index.php
+++ b/app/Views/admin/product/index.php
@@ -26,7 +26,7 @@
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- = getFieldIndex_Row_ProductHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_ProductHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/admin/sitepage/index.php b/app/Views/admin/sitepage/index.php
index 6746a6f..aaf7d97 100644
--- a/app/Views/admin/sitepage/index.php
+++ b/app/Views/admin/sitepage/index.php
@@ -26,7 +26,7 @@
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- = getFieldIndex_Row_SitepageHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_SitepageHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/admin/user/index.php b/app/Views/admin/user/index.php
index d3d87b2..42bfd48 100644
--- a/app/Views/admin/user/index.php
+++ b/app/Views/admin/user/index.php
@@ -26,7 +26,7 @@
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
- = getFieldIndex_Row_UserHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_UserHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/admin/usersns/index.php b/app/Views/admin/usersns/index.php
index 039c61a..a375301 100644
--- a/app/Views/admin/usersns/index.php
+++ b/app/Views/admin/usersns/index.php
@@ -21,12 +21,12 @@
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
+ |
= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
- = getFieldIndex_Row_UserSNSHelper_Admin($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_UserSNSHelper_Admin($field, $entity, $viewDatas) ?>
= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?> |
diff --git a/app/Views/front/board/index.php b/app/Views/front/board/index.php
index a1a95c3..76da1e8 100644
--- a/app/Views/front/board/index.php
+++ b/app/Views/front/board/index.php
@@ -17,7 +17,7 @@
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
+ |
user_uid == $viewDatas['auth'][AUTH_FIELDS['ID']]) : ?>
= anchor(current_url() . '/update/' . $entity->getPrimaryKey() . '?category=' . $viewDatas['category']->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
@@ -26,7 +26,7 @@
|
- = getFieldIndex_Row_BoardHelper($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_BoardHelper($field, $entity, $viewDatas) ?>
diff --git a/app/Views/front/order/index.php b/app/Views/front/order/index.php
index c44c776..71de180 100644
--- a/app/Views/front/order/index.php
+++ b/app/Views/front/order/index.php
@@ -17,11 +17,11 @@
|
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
+ |
= $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt) ?>
|
- = getFieldIndex_Row_OrderHelper($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_OrderHelper($field, $entity, $viewDatas) ?>
diff --git a/app/Views/front/payment/index.php b/app/Views/front/payment/index.php
index 702a947..9b36cfc 100644
--- a/app/Views/front/payment/index.php
+++ b/app/Views/front/payment/index.php
@@ -10,18 +10,18 @@
| 번호 |
- = getFieldIndex_Column_PaymentHelper($field, $viewDatas) ?> |
+ = getFieldIndex_Column_PaymentHelper($field, $viewDatas) ?>
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
+ |
= $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt) ?>
|
- = getFieldIndex_Row_PaymentHelper($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_PaymentHelper($field, $entity, $viewDatas) ?>
diff --git a/app/Views/front/product/index.php b/app/Views/front/product/index.php
index 52272c5..f2fd3f2 100644
--- a/app/Views/front/product/index.php
+++ b/app/Views/front/product/index.php
@@ -12,23 +12,23 @@
| = $entity->getFileImage('middle') ?> |
-
- = getFieldIndex_Row_ProductHelper('name', $entity, $viewDatas) ?>
- |
- | = getFieldIndex_Column_ProductHelper('user_uid', $viewDatas) ?> = getFieldIndex_Row_ProductHelper('user_uid', $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_ProductHelper('name', $entity, $viewDatas) ?> |
+
+ = getFieldIndex_Row_ProductHelper('user_uid', $entity, $viewDatas) ?>
+ |
|
- = getFieldIndex_Column_ProductHelper('price', $viewDatas) ?>:= getFieldIndex_Row_ProductHelper('price', $entity, $viewDatas) ?>원
+ = getFieldIndex_Row_ProductHelper('price', $entity, $viewDatas) ?>
- = getFieldIndex_Column_ProductHelper('cost', $viewDatas) ?>:= getFieldIndex_Row_ProductHelper('cost', $entity, $viewDatas) ?>원
+ = getFieldIndex_Row_ProductHelper('cost', $entity, $viewDatas) ?>
-
- = getFieldIndex_Column_ProductHelper('sale', $viewDatas) ?>:= getFieldIndex_Row_ProductHelper('sale', $entity, $viewDatas) ?>원
+ = getFieldIndex_Row_ProductHelper('sale', $entity, $viewDatas) ?>
|
- | = getFieldIndex_Column_ProductHelper('view_cnt', $viewDatas) ?>:= getFieldIndex_Row_ProductHelper('view_cnt', $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_ProductHelper('view_cnt', $entity, $viewDatas) ?> |
diff --git a/app/Views/front/sitepage/index.php b/app/Views/front/sitepage/index.php
index a7164fe..40a83e9 100644
--- a/app/Views/front/sitepage/index.php
+++ b/app/Views/front/sitepage/index.php
@@ -1,6 +1,7 @@
= $this->extend('layouts/front') ?>
= $this->section('content') ?>
+
= html_entity_decode($viewDatas['category']->head) ?>
diff --git a/app/Views/front/user/index.php b/app/Views/front/user/index.php
index 24402d8..20e8446 100644
--- a/app/Views/front/user/index.php
+++ b/app/Views/front/user/index.php
@@ -9,14 +9,14 @@
| 번호 |
- = getFieldIndex_Column_UserHelper($field, $viewDatas) ?> |
+ = getFieldIndex_Column_UserHelper($field, $viewDatas) ?>
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
- |
+ |
getPrimaryKey() == $viewDatas['auth'][AUTH_FIELDS['ID']]) : ?>
= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
@@ -25,7 +25,7 @@
|
- = getFieldIndex_Row_UserHelper($field, $entity, $viewDatas) ?> |
+ = getFieldIndex_Row_UserHelper($field, $entity, $viewDatas) ?>
diff --git a/app/Views/layouts/front/copyright.php b/app/Views/layouts/front/copyright.php
index ce88747..326da2d 100644
--- a/app/Views/layouts/front/copyright.php
+++ b/app/Views/layouts/front/copyright.php
@@ -6,10 +6,7 @@
社名 : 株式会社 DUNAMIS | 代表者 : 天 海 照 彩 | 住所 : 東京都江東区亀戸5丁-1-2 | 事業者登録番号 : 0400-01-082327 | Tel : 1661-0577
-
- Copyright by 2018 (주)ITSolution. All Right Reserved.
-
-
+
\ No newline at end of file
diff --git a/public/css/admin/content.css b/public/css/admin/content.css
index 82251df..a7961a8 100644
--- a/public/css/admin/content.css
+++ b/public/css/admin/content.css
@@ -1,7 +1,7 @@
div#content{
color:black;
padding-top:20px;
- margin-bottom:20px;
+ margin-bottom:40px;
/* border-left:1px solid silver;
border-right:1px solid silver; */
}
@@ -46,13 +46,13 @@ div#content table {
}
/* insert,update,reply,view Form Page 관련 전용*/
-div#content table form td.label{
+div#content table.form tbody tr td.label{
width:10%;
text-align:right;
padding-right:20px;
background-color:#e8ebe9;
}
-div#content table form td.column{
+div#content table.form tbody tr td.column{
height:27px;
text-align:left;
padding-left:20px;
@@ -64,10 +64,6 @@ div#content table.product tr:first-child {
border-top:2px solid black;
border-bottom:1px solid silver;
}
-div#content table th.title,td.title{
- width:150px;
- border:1px solid silver;
-}
div#content table thead th{
white-space: nowrap;
text-align:center;
@@ -75,6 +71,8 @@ div#content table thead th{
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; */
}
@@ -95,12 +93,10 @@ div#content div.bottom ul.pagination {
margin-top:20px;
}
div#content div.bottom ul.pagination li.page-item a{
- color:black;
border:0px;
border-radius:0px !important;
background-color:#e8ebe9;
}
div#content div.bottom ul.pagination li.active a{
- color:black;
background-color:gray;
}
\ No newline at end of file
diff --git a/public/css/front/content.css b/public/css/front/content.css
index 7408ae1..9c25fa9 100644
--- a/public/css/front/content.css
+++ b/public/css/front/content.css
@@ -1,8 +1,8 @@
div#content{
color:black;
- padding-top:40px;
+ padding-top:20px;
padding-left:30px;
- margin-bottom:20px;
+ margin-bottom:40px;
/* border-left:1px solid silver;
border-right:1px solid silver; */
}
@@ -47,13 +47,13 @@ div#content table {
}
/* insert,update,reply,view Form Page 관련 전용*/
-div#content table form td.label{
+div#content table.form tbody tr td.label{
width:10%;
text-align:right;
padding-right:20px;
background-color:#e8ebe9;
}
-div#content table form td.column{
+div#content table.form tbody tr td.column{
height:27px;
text-align:left;
padding-left:20px;
@@ -72,22 +72,18 @@ div#content table thead th{
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 table thead th.title{
- width:300px;
- /* border:1px solid silver; */
-}
-div#content table thead th a{
- /* border:1px solid silver; */
-}
div#content table tbody td {
/* border:1px solid silver; */
text-align:center;
}
-div#content table tbody td a{
+div#content table tbody td.hierarchy {
/* border:1px solid silver; */
+ text-align:left;
}
div#content div.bottom {
padding-top:15px;
@@ -98,12 +94,10 @@ div#content div.bottom ul.pagination {
margin-top:20px;
}
div#content div.bottom ul.pagination li.page-item a{
- color:black;
border:0px;
border-radius:0px !important;
background-color:#e8ebe9;
}
div#content div.bottom ul.pagination li.active a{
- color:black;
background-color:gray;
}
\ No newline at end of file
diff --git a/public/css/front/copyright.css b/public/css/front/copyright.css
index 90a83a9..47ea53c 100644
--- a/public/css/front/copyright.css
+++ b/public/css/front/copyright.css
@@ -4,7 +4,5 @@ div#copyright{
padding-top:30px;
padding-bottom:30px;
background-color:#2d2e2e;
-}
-div#copyright nav div, a{
color:white;
}
\ No newline at end of file
diff --git a/public/css/front/payment.css b/public/css/front/payment.css
deleted file mode 100644
index 1c4c23a..0000000
--- a/public/css/front/payment.css
+++ /dev/null
@@ -1,45 +0,0 @@
-.padding{
- padding:5rem !important;
- margin-left:300px;
-}
-.card {
- margin-bottom: 1.5rem;
-}
-
-.card {
- position: relative;
- display: -ms-flexbox;
- display: flex;
- -ms-flex-direction: column;
- flex-direction: column;
- min-width: 0;
- word-wrap: break-word;
- background-color: #fff;
- background-clip: border-box;
- border: 1px solid #c8ced3;
- border-radius: .25rem;
-}
-
-.card-header:first-child {
- border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
-}
-
-.card-header {
- padding: .75rem 1.25rem;
- margin-bottom: 0;
- background-color: #f0f3f5;
- border-bottom: 1px solid #c8ced3;
-}
-
-.card-body {
- flex: 1 1 auto;
- padding: 1.25rem;
-}
-
-.form-control:focus {
- color: #5c6873;
- background-color: #fff;
- border-color: #c8ced3 !important;
- outline: 0;
- box-shadow: 0 0 0 #F44336;
-}
\ No newline at end of file
diff --git a/public/css/doc.css b/public/css/front/sitepage.css
similarity index 98%
rename from public/css/doc.css
rename to public/css/front/sitepage.css
index 1d9852c..3da133d 100644
--- a/public/css/doc.css
+++ b/public/css/front/sitepage.css
@@ -22,7 +22,7 @@
.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 {} */
+
.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}
@@ -56,8 +56,7 @@
.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 {*zoom:1} */
+/*
.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}
@@ -67,3 +66,4 @@
.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/front/top_navigator.css b/public/css/front/top_navigator.css
index e023ea4..ab9cd34 100644
--- a/public/css/front/top_navigator.css
+++ b/public/css/front/top_navigator.css
@@ -21,5 +21,4 @@
#top_navigator ul.justify-content-end li.cart a{
font-size:18px;
font-weight: 500;
- color:black;
}