<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Content_NoticeList_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 name="Author" content="EoyooCMS" />
    <meta name="Copyright" content="eoyoo.com" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Plugin/Xheditor/xheditor.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/Content_NoticeList_Control.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>?com=<%=com%>&toid=<%=toid %>" method="post" enctype="multipart/form-data">
<!-- 隐藏域 -->
<input id="noticeID_hide" name="noticeID_hide" type="hidden" value="<%=toid %>" />
<input id="noticeTitleColor_hide" name="noticeTitleColor_hide" type="hidden" value="<%=_noticeTitleColor %>" />

<!-- 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 titico7 H B f_left m_right16"><%=com == "add" ? "添加公告" : "编辑公告"%></span>
    	                    <ul id="noticeAdd_Tab" class="tabs-2 f_left">
                                <li><a class="active" href="#tabDiv1">基本属性</a></li>
                                <li><a href="#tabDiv4">其他</a></li>
                            </ul>
                            <div class="clear-0"></div>
                    </div>
	            </div>

        <!-- end 标 -->

        <!-- 表单 -->
        <div class="tbox_form">
            
            <div id="tabDiv1">
            <p>
                <label class="name">内容标题:</label>
                <input style="<%=_noticeTitleColor!=""?"color:"+_noticeTitleColor+";":"" %><%=_noticeTitleIsBlod==true?"font-weight:bold":"" %>" tabindex="1" id="noticeTitle_text" value="<%=_noticeTitle %>" class="isNull input300" name="noticeTitle_text" type="text" />
                <span class="point ico-remind V">公告标题</span>
            </p>
            <p>
                <label class="name">标题样式:</label>
                <label id="colorBox" class="color">
                    <a title="设置标题为黑色" style="background:#000;" href="#000">黑色</a>
                    <a title="设置标题为红色" style="background:#f00;" href="#f00">红色</a>
                    <a title="设置标题为黄色" style="background:#f60;" href="#f60">黄色</a>
                    <a title="设置标题为蓝色" style="background:#03f;" href="#03f">蓝色</a>
                    <a title="设置标题为绿色" style="background:#090;" href="#090">绿色</a>
                    <a title="设置标题为紫色" style="background:#c09;" href="#c09">紫色</a>
                </label>
                <label class="checkbox">
            	    <input id="noticeTitleisbold_chk" name="noticeTitleisbold_chk" <%=_noticeTitleIsBlod==true?"checked=checked":"" %> type="checkbox" value="0" class="isNull"/>加粗
                </label>
                <span class="point ico-remind V">标题样式控制</span>
            </p>
            
            <p>
                 <label class="name">内容编辑:</label> <span class="interval"><textarea name="noticeContent_txt" id="noticeContent_txt" class="isNull input400" tabindex="1" cols="" rows=""><%=_noticeContent%></textarea></span>
            </p>

            </div>

            <div id="tabDiv4" style="display:none;">
                
                <p>
                <label class="name">推广词语:</label> <textarea name="noticekey_text" id="noticekey_text" class="input400" tabindex="1" cols="" rows=""><%=_noticeKey%></textarea>
                <span class="point ico-remind V">SEO优化推广关键词</span>
                </p>

                <p>
                <label class="name">推广描述:</label> <textarea name="noticeDescription_text" id="noticeDescription_text" class="input400" tabindex="1" cols="" rows=""><%=_noticeDescription%></textarea>
                <span class="point ico-remind V">SEO优化推广描述说明</span>
                </p>

            </div>
            <hr />
            <p>
                <label class="name">&nbsp;</label>
                <input type="submit" id="noticeListControl_Btn" class="bule-btn f_left m_right4 W" value="确定保存" /> 
                <span></span>
            </p>
        </div>
        <!-- end 表单 -->
    <!-- end 添加文章 -->
</div>
    </form>
</body>
</html>
