2024-04-15 10:25:01 +08:00
{{:ModuleInclude('public/header')}}
2020-05-29 14:03:53 +08:00
<!-- content top hook -->
2021-08-25 11:27:35 +08:00
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
2020-05-29 14:03:53 +08:00
< div class = "plugins-tag" >
< span > {{$hook_name_content_top}}< / span >
< / div >
{{/if}}
{{php}}
2021-07-18 23:42:10 +08:00
$hook_data = MyEventTrigger($hook_name_content_top, ['hook_name'=>$hook_name_content_top, 'is_backend'=>true]);
2020-05-29 14:03:53 +08:00
if(!empty($hook_data) & & is_array($hook_data))
{
foreach($hook_data as $hook)
{
if(is_string($hook) || is_int($hook))
{
echo htmlspecialchars_decode($hook);
}
}
}
{{/php}}
<!-- right content start -->
2023-08-27 16:59:15 +08:00
< div class = "am-form-table-data-container content-right" >
2024-01-19 14:49:32 +08:00
< div class = "content" >
<!-- content top start -->
< div class = "form-table-content-top am-cf" >
{{block name="form_content_top"}}{{/block}}
< / div >
<!-- content top end -->
<!-- content start -->
< div class = "form-table-content" >
<!-- content inside top hook -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
< div class = "plugins-tag" >
< span > {{$hook_name_content_inside_top}}< / span >
< / div >
{{/if}}
{{php}}
$hook_data = MyEventTrigger($hook_name_content_inside_top, ['hook_name'=>$hook_name_content_inside_top, 'is_backend'=>true]);
if(!empty($hook_data) & & is_array($hook_data))
2020-05-29 14:03:53 +08:00
{
2024-01-19 14:49:32 +08:00
foreach($hook_data as $hook)
2020-05-29 14:03:53 +08:00
{
2024-01-19 14:49:32 +08:00
if(is_string($hook) || is_int($hook))
{
echo htmlspecialchars_decode($hook);
}
2020-05-29 14:03:53 +08:00
}
}
2024-01-19 14:49:32 +08:00
{{/php}}
2020-05-29 14:03:53 +08:00
2024-01-19 14:49:32 +08:00
<!-- form -->
{{if !empty($form_table) and !empty($form_table['base']) and !empty($form_table['form']) and is_array($form_table['base']) and is_array($form_table['form'])}}
< form class = "am-form form-validation-search" method = "post" action = "{{if isset($form_table['base']['is_search']) and $form_table['base']['is_search'] eq 1 and !empty($form_table['base']['search_url'])}}{{$form_table.base.search_url}}{{/if}}" request-type = "jump" request-value = "{{if isset($form_table['base']['is_search']) and $form_table['base']['is_search'] eq 1 and !empty($form_table['base']['search_url'])}}{{$form_table.base.search_url}}{{/if}}" >
<!-- nav start -->
< div class = "form-table-navigation am-cf" >
{{block name="form_navigation"}}{{/block}}
< / div >
<!-- nav end -->
2020-06-16 23:27:12 +08:00
2024-01-19 14:49:32 +08:00
<!-- top operate start -->
< div class = "form-table-operate-top am-cf" >
{{block name="form_operate_top"}}
2024-04-15 10:25:01 +08:00
{{include file="../../../module/view/form_operate_top" /}}
2024-01-19 14:49:32 +08:00
{{/block}}
< / div >
<!-- top operate end -->
2020-05-29 14:03:53 +08:00
2024-01-19 14:49:32 +08:00
<!-- form table start -->
2024-04-15 10:25:01 +08:00
{{include file="../../../module/view/form_table" /}}
2024-01-19 14:49:32 +08:00
<!-- form table end -->
2020-05-29 14:03:53 +08:00
2024-01-19 14:49:32 +08:00
<!-- bottom operate start -->
< div class = "form-table-operate-bottom am-cf am-margin-top" >
{{block name="form_operate_bottom"}}
2024-04-15 10:25:01 +08:00
{{include file="../../../module/view/form_operate_bottom" /}}
2024-01-19 14:49:32 +08:00
{{/block}}
< / div >
<!-- bottom operate end -->
< / form >
2020-10-27 22:53:14 +08:00
2024-01-19 14:49:32 +08:00
<!-- 字段选择 -->
2024-04-15 10:25:01 +08:00
{{include file="../../../module/view/form_fields_select" /}}
2020-10-27 22:53:14 +08:00
2024-01-19 14:49:32 +08:00
{{else /}}
< div class = "table-no" > < i class = "am-icon-warning" > < / i > {{if empty($form_error)}}{{:MyLang('form_table_config_error_tips')}}{{else /}}{{$form_error}}{{/if}}< / div >
{{/if}}
2020-05-29 14:03:53 +08:00
2024-01-19 14:49:32 +08:00
<!-- page start -->
< div class = "form-table-operate-page am-cf" >
{{block name="form_page"}}
2024-04-15 10:25:01 +08:00
{{include file="../../../module/view/form_table_page" /}}
2024-01-19 14:49:32 +08:00
{{/block}}
< / div >
<!-- page end -->
2020-05-29 14:03:53 +08:00
2024-01-19 14:49:32 +08:00
<!-- extend start -->
{{block name="form_extend"}}{{/block}}
<!-- extend end -->
2020-06-07 17:36:43 +08:00
2024-01-19 14:49:32 +08:00
<!-- content inside bottom hook -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
< div class = "plugins-tag" >
< span > {{$hook_name_content_inside_bottom}}< / span >
< / div >
{{/if}}
{{php}}
$hook_data = MyEventTrigger($hook_name_content_inside_bottom, ['hook_name'=>$hook_name_content_inside_bottom, 'is_backend'=>true]);
if(!empty($hook_data) & & is_array($hook_data))
2020-05-29 14:03:53 +08:00
{
2024-01-19 14:49:32 +08:00
foreach($hook_data as $hook)
2020-05-29 14:03:53 +08:00
{
2024-01-19 14:49:32 +08:00
if(is_string($hook) || is_int($hook))
{
echo htmlspecialchars_decode($hook);
}
2020-05-29 14:03:53 +08:00
}
}
2024-01-19 14:49:32 +08:00
{{/php}}
< / div >
<!-- content end -->
2020-05-29 14:03:53 +08:00
< / div >
< / div >
<!-- right content end -->
<!-- content bottom hook -->
2021-08-25 11:27:35 +08:00
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
2020-05-29 14:03:53 +08:00
< div class = "plugins-tag" >
< span > {{$hook_name_content_bottom}}< / span >
< / div >
{{/if}}
{{php}}
2021-07-18 23:42:10 +08:00
$hook_data = MyEventTrigger($hook_name_content_bottom, ['hook_name'=>$hook_name_content_bottom, 'is_backend'=>true]);
2020-05-29 14:03:53 +08:00
if(!empty($hook_data) & & is_array($hook_data))
{
foreach($hook_data as $hook)
{
if(is_string($hook) || is_int($hook))
{
echo htmlspecialchars_decode($hook);
}
}
}
{{/php}}
2020-06-29 23:00:56 +08:00
2020-05-29 14:03:53 +08:00
<!-- footer start -->
2024-04-15 10:25:01 +08:00
{{:ModuleInclude('public/footer')}}
2020-07-08 19:47:19 +08:00
<!-- page buttom -->
{{block name="form_page_bottom"}}{{/block}}