<?php if (!defined('APP_PATH')) exit;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="http://127.0.0.5/magic/Data/Public/css/style.css" rel="stylesheet" type="text/css" />
<script src="http://127.0.0.5/Data/Public/editor/kindeditor-min.js"></script>
<link href="http://127.0.0.5/Data/Public/editor/themes/default/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://127.0.0.5/Data/Public/editor/lang/zh_CN.js"></script>
<script type="text/javascript" src="http://127.0.0.5/magic/Data/Public/js/jquery.js"></script>
<script src="http://127.0.0.5/Data/Public/validform/calendar.js"></script>
<script src="http://127.0.0.5/magic/Data/Public/js/main.js"></script>
</head>
<body>
<div class="place">
	<span>位置：</span>
	<ul class="placeul">
		<li>首页</li>
		<li>幻灯片管理</li>
		<li>编辑幻灯片</li>
	</ul>
</div>
<div class="formbody">
	<div id="usual1" class="usual"> 
		<div class="itab">
			<ul> 
				<li  class="selected">基本信息</a></li> 
			</ul>
		</div>
		<iframe id="blank" name="blank"  style="display:none"></iframe>
		<form method="post" target="blank" action="?r=slide-index-savedit">
		<input type="hidden" name="id"  value="<?php echo $slide['id'];?>">
		<table border="0" cellspacing="0" cellpadding="0" class="forminfo">
		<tr><td colspan="2">
		<div class="tabson" style="display:block">
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" >
			<tr>
				<td width="120" align="right">幻灯片组：</td><td>
				<select name="sgroup" class="selectbox">
					<option value="1" <?php if($slide['sgroup']==1){ ?>selected<?php }?>>幻灯片组一</option>
					<option value="2" <?php if($slide['sgroup']==2){ ?>selected<?php }?>>幻灯片组二</option>
					<option value="3" <?php if($slide['sgroup']==3){ ?>selected<?php }?>>幻灯片组三</option>
					<option value="4" <?php if($slide['sgroup']==4){ ?>selected<?php }?>>幻灯片组四</option>
					<option value="5" <?php if($slide['sgroup']==5){ ?>selected<?php }?>>幻灯片组五</option>
					<option value="6" <?php if($slide['sgroup']==6){ ?>selected<?php }?>>幻灯片组六</option>
					<option value="7" <?php if($slide['sgroup']==7){ ?>selected<?php }?>>幻灯片组七</option>
					<option value="8" <?php if($slide['sgroup']==8){ ?>selected<?php }?>>幻灯片组八</option>
					<option value="9" <?php if($slide['sgroup']==9){ ?>selected<?php }?>>幻灯片组九</option>
					<option value="10" <?php if($slide['sgroup']==10){ ?>selected<?php }?>>幻灯片组十</option>
				</select></td>
			</tr>
			<tr>
				<td width="120" align="right">标题：</td><td><input type="text" name="title" value="<?php echo $slide['title'];?>" class="insty" size="30"></td>
			</tr>
			<tr>
				<td width="120" align="right">链接地址：</td><td><input type="text" name="url" value="<?php echo $slide['url'];?>"  class="insty" size="30"></td>
			</tr>
			<tr>
				<td width="120" align="right">排序：</td><td><input type="text" name="sorter" value="<?php echo $slide['sorter'];?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" maxlength="5" class="insty" size="8"><cite>排序仅能为数字</cite></td>
			<tr>
			<tr>
				<td width="120"  align="right" >图片：</td><td  align="left">
				<table border="0" cellspacing="0" cellpadding="0" width="90%" align="left">
					<tr>
						<td width="520" style="border:none;" align="left"><input type="text" name="image" id="image"  class="insty" size="45" value="<?php echo $slide['image'];?>" >&nbsp;&nbsp;<input type="button"  plugin="image" view="true" name="image" value="上  传" class="scbtn7"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" plugin="filemanager" name="image" view="true"  value="图片空间" class="scbtn7"/></td><td style="border:none;padding:2px;text-align:left" ><img id="image_view" src="<?php if($class['ico']!=''){ ?><?php echo $class['ico'];?><?php }else{ ?>http://127.0.0.5/magic/Data/Public/images/pview.gif<?php }?>" onload="if(this.width>100){this.width=100;};if(this.height>100){this.height=100;}"></td>
					</tr>
				</table>
				</td>
			</tr >
			<tr>
				<td width="120" height="100" align="right">备注：</td><td><textarea name="note" rows="5" cols="60" class="textinput"><?php echo $slide['note'];?></textarea></td>
			</tr>
			<tr>
				<td width="120" align="right">是否发布：</td><td>&nbsp;是&nbsp;<input type="radio" name="status" value="1" <?php if($slide['status']==1){ ?> checked<?php }?>>&nbsp;否&nbsp;<input type="radio" name="status" value="0" <?php if($slide['status']==0){ ?> checked<?php }?>></td>
			</tr>
			</table>
		</div>
		</form>
		<tr>
		<td width="100" height="40" align="right"></td><td><input type="submit" class="scbtn1" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" class="scbtn4"></td>
	</tr>
	</table>
	</div>
</div>
<script type="text/javascript"> $("#usual1 ul").idTabs();</script>
</body>
</html>
