28 lines
1.1 KiB
PHP
28 lines
1.1 KiB
PHP
<?= $this->extend('layouts/front') ?>
|
|
<?= $this->section('content') ?>
|
|
<link href="/css/front/content.css" media="screen" rel="stylesheet" type="text/css" />
|
|
<div id="content">
|
|
<div><?= html_entity_decode($viewDatas['category']->head) ?></div>
|
|
<table class="form table table-bordered table-striped">
|
|
<tbody>
|
|
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
|
<tr></tr>
|
|
<td class="label"><?= getFieldLabel_ProductHelper($field, $viewDatas) ?></td>
|
|
<td class="column">
|
|
<?= getFieldView_ProductHelper($field, $viewDatas['entity'], $viewDatas) ?>
|
|
<?= validation_show_error($field); ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
<div style="text-align:center">
|
|
<?php if ($viewDatas['entity']->status == DEFAULTS['STATUS']) : ?>
|
|
<?= $this->include('front/product/addCart'); ?>
|
|
<?php else : ?>
|
|
이제품은 현재[<?= lang('Product.STATUS.' . $viewDatas['entity']->status) ?>]입니다.
|
|
<?php endif ?>
|
|
</div>
|
|
<div><?= html_entity_decode($viewDatas['category']->tail) ?></div>
|
|
</div>
|
|
<?= $this->endSection() ?>
|