Files
2023-06-22 13:33:25 +08:00

57 lines
1.4 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{php include pubTemplate("header_admin")}
<div class="midder">
{include pubTemplate("plugin_menu")}
<div>
<form enctype="multipart/form-data" method="POST" action="{SITE_URL}index.php?app=home&ac=plugin&plugin=slide&in=edit&ts=editdo">
<table class="table table-hover">
<tr><td>类型:</td><td>
<select name="typeid">
<option value="0" {if $strSlide['typeid']==0}selected{/if}>PC端-首页</option>
<option value="1" {if $strSlide['typeid']==1}selected{/if}>手机端-首页</option>
<option value="2" {if $strSlide['typeid']==2}selected{/if}>手机端-商品首页</option>
</select>
</td></tr>
<tr><td>标题:</td><td><input name="title" style="width:300px" value="{$strSlide['title']}" /></td></tr>
<tr><td>内容:</td><td><input name="info" style="width:300px" value="{$strSlide['info']}" /></td></tr>
</td></tr>
<tr><td>URL</td><td><input name="url" style="width:300px" value="{$strSlide['url']}" /></td></tr>
<tr><td>图片:</td><td>
{if $strSlide['photo']}
<img src="{SITE_URL}uploadfile/slide/{$strSlide['photo']}?v={$strSlide['addtime']}" width="200" />
<br />
{/if}
<input type="file" name="photo" /></td></tr>
<tr><td></td><td>
<input type="hidden" name="slideid" value="{$strSlide['slideid']}" />
<input type="submit" value="提交" /></td></tr>
</table>
</form>
</div>
</div>
{php include pubTemplate("footer_admin")}