| Server IP : 162.214.74.102 / Your IP : 216.73.217.103 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/imobles/application/plugins/module_cms/views/image/ |
Upload File : |
<div class="panel panel-default">
<div class="panel-body">
{$action = 'create'}
{if (!empty($category))}
{$action = 'update'}
{/if}
<form class="form-horizontal" method="post" action="{$_url}module_cms/category/{$action}/">
<div class="row">
<div class=" col-md-4 col-sm-12 col-xs-12">
{$title = ''}
{if (!empty($category->title))}
{$title = $category->title}
{/if}
<label class="control-label" for="title">{$_L['CMS_Category_Title']}<small class="red">*</small> </label>
<input type="text" id="title" value="{$title}" name="title" class="form-control" maxlength="255">
</div>
<div class=" col-md-4 col-sm-12 col-xs-12">
{$slug = ''}
{if (!empty($category->slug))}
{$slug = $category->slug}
{/if}
<label class="control-label" for="slug">{$_L['CMS_Category_Slug']}</label>
<input type="text" id="slug" name="slug" value="{$slug}" class="form-control" maxlength="255">
</div>
<div class=" col-md-4 col-sm-12 col-xs-12">
<label class="control-label" for="status">{$_L['Status']}</label>
<input class="form-control" type="checkbox" name="status" id="status" checked>
</div>
</div>
<div class="row">
{$description = ''}
{if (!empty($category->description))}
{$description = $category->description}
{/if}
<div class="col-md-12 col-sm-12 col-xs-12">
<label class="control-label" for="description">{$_L['CMS_Category_Description']}</label>
<textarea class="form-control" name="description" id="description" rows="3">{$description}</textarea>
</div>
</div>
<div class="row" style="margin-top:20px">
<div class=" col-md-12 form-group">
<div class="col-md-offset-2 col-lg-10">
{if !empty($category->id)}
<input type="hidden" id="categoryId" name="id" value="{$category->id}">
{/if}
<button class="md-btn md-btn-primary waves-effect waves-light" type="submit" id="submit">
<i class="fa fa-check"></i> Save
</button>
</div>
</div>
</div>
</form>
</div>
</div>