<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Show_Slide_Control" %>

<!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>
    <title><%=com == "add" ? "添加幻灯" : "编辑幻灯"%></title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Plugin/Uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" src="Script/Eoyoo.FormControl.js"></script>
    <script type="text/javascript" src="Script/Show_Slide_Control.js"></script>
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>?com=<%=com%>&sid=<%=sid %>" method="post" enctype="multipart/form-data">
<!-- 隐藏域 -->
<input id="slidePic_hide" name="slidePic_hide" type="hidden" value="<%=_slidePic %>" />
<input id="slideId_hide" name="slideId_hide" type="hidden" value="<%=sid %>" />
<!-- end 隐藏域 -->

<div class="wrapper-div">
	<!-- 添加友情链接 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico f_right titico3 X"> Ctrl + S 快捷保存</span>
            	<span class="title-ico titico2 F B"><%=com == "add" ? "添加幻灯" : "编辑幻灯"%></span>
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">
            <p>
                <label class="name">幻灯图片:</label> 
                <span class="interval">
                <img id="slidePic_txt" class="small-border-images" src="<%=_slidePic == "" ? "images/none-large-pic.gif" : "../Upload/Slide/" + _slidePic  %>" />
                </span>
                <span class="interval">
                <span id="uploadMsg" class="point ico-remind V">幻灯图片上传</span><br />
                <span class="uploadBtn"><input type="file" name="uploadImgBtn" id="uploadImgBtn" /></span>
                </span>
            </p>
            <p>
                <label class="name">投放栏目:</label>
                <select id="navibar_select" name="navibar_select" class="select">
                <option <%=_slideNaviid==""?"selected=selected":"" %> value="-1">== 按栏目筛选 ==</option>
                <option <%=_slideNaviid=="0"?"selected=selected":"" %> value="0">站点首页</option>
                <%for (int i = 0; i < _navibarDat.Rows.Count; i++) %>
                <%{ %>
                <option <%=_slideNaviid==_navibarDat.Rows[i]["id"].ToString()?"selected=selected":"" %> value="<%=_navibarDat.Rows[i]["id"].ToString() %>"><%=_navibarDat.Rows[i]["name"].ToString()%></option>
                <%} %>
                </select>
                <span class="point ico-remind V">幻灯所属栏目</span>
            </p>
            <p>
                <label class="name">幻灯标题:</label> <input type="text" tabindex="1" value="<%=_slideTitle %>" class="isNull input200" name="slideTitle_txt"  />
                <span class="point ico-remind V">幻灯标题</span>
            </p>
            <p>
                <label class="name">幻灯标语:</label> <input type="text" tabindex="1" value="<%=_slideSlogan %>" class="input200" name="slideSlogan_txt"  />
                <span class="point ico-remind V">幻灯标语</span>
            </p>
            <p>
                <label class="name">链接Url:</label> <input tabindex="1" id="slideUrl_txt" class="input200" value="<%=_slideUrl==""?"http://":_slideUrl %>" name="slideUrl_txt" type="text" />
                <span class="point ico-remind V">Url(幻灯图片连接url)</span>
            </p>
            <p>
                <label class="name">幻灯简介:</label> <textarea name="slideIntro_txt" id="slideIntro_txt" class="input400" tabindex="1" cols="" rows=""><%=_slideIntro%></textarea>
                <span class="point ico-remind V">幻灯图片简介,填写对SEO友好</span>
           </p>

            <hr />
            <label class="name">&nbsp;</label>
            <input type="submit" class="bule-btn W" value="确定保存" />
            <span></span>
        </div>
        <!-- end 表单 -->
    <!-- end 添加友情链接 -->
</div>
    </form>
</body>
</html>
