<?php include template("admin/header");?>

<div class="midder">

<h2>幻灯片设置</h2>
<?php include pubTemplate("plugin_menu");?>

<div>
<form enctype="multipart/form-data" method="POST" action="<?php echo SITE_URL; ?>index.php?app=home&ac=plugin&plugin=slide&in=edit&ts=editdo">



<table>

    <tr><td>类型：</td><td>

        <select name="typeid">
            <option value="0" <?php if($strSlide['typeid']==0){ echo 'selected'; } ?>>PC端</option>
            <option value="1" <?php if($strSlide['typeid']==1){ echo 'selected'; } ?>>手机端</option>
        </select>

    </td></tr>

<tr><td>标题：</td><td><input name="title" style="width:300px" value="<?php echo $strSlide['title'] ?>"  /></td></tr>

</td></tr>
<tr><td>URL：</td><td><input name="url" style="width:300px" value="<?php echo $strSlide['url'] ?>" /></td></tr>
<tr><td>图片：</td><td>

<?php if($strSlide['photo']){ ?>
<img src="<?php echo SITE_URL; ?>uploadfile/slide/<?php echo $strSlide['photo'] ?>" width="200" />
<br />
<?php } ?>

<input type="file" name="photo" /></td></tr>
<tr><td></td><td>

<input type="hidden" name="slideid" value="<?php echo $strSlide['slideid'] ?>" />
<input type="submit" value="提交" /></td></tr>

</table>





</form>
</div>


</div>

<?php include template("admin/footer");?>