@@ -0,0 +1,57 @@
|
||||
{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")}
|
||||
Reference in New Issue
Block a user