<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Show_Links_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_Links_Control.js"></script>
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>?com=<%=com%>&linkid=<%=linkid %>" method="post" enctype="multipart/form-data">
<!-- 隐藏域 -->
<input id="siteLinkLogo_hide" name="siteLinkLogo_hide" type="hidden" value="<%=_linksLogo %>" />
<input id="siteLinkId_hide" name="siteLinkId_hide" type="hidden" value="<%=linkid %>" />
<!-- 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"><span class="J">*</span>链接类型:</label>
                <input class="radio" name="siteLinkType_radio" <%=_linksLogo!=""?"checked=checked":""%> type="radio" value="0" />图片链接
                <input class="radio" name="siteLinkType_radio" <%=_linksLogo==""?"checked=checked":""%> type="radio" value="1" />文字链接
                <span class="point ico-remind V">以什么类型的方式呈现链接</span>
            </p>
          
            <p  id="linkLogoHideBox">
                <label class="name">链接Logo:</label> 
                <span class="interval">
                <img id="siteLinkLogo_txt" class="small-border-images" src="<%=_linksLogo == "" ? "images/none-large-pic.gif" : "../Upload/Link/" + _linksLogo  %>" />
                </span>
                <span class="interval">
                <span id="uploadMsg" class="point ico-remind V">友情链接Logo</span><br />
                <span class="uploadBtn"><input type="file" name="uploadImgBtn" id="uploadImgBtn" /></span>
                </span>
            </p>
           
            <p>
                <label class="name">链接名称:</label> <input type="text" tabindex="1" value="<%=_linksName %>" class="isNull input200" name="siteLinkName_txt"  />
                <span class="point ico-remind V">链接对方网站的名称</span>
            </p>
            <p>
                <label class="name">链接Url:</label> <input tabindex="1" id="siteLinkUrl_txt" class="isNull input200" value="<%=_linksUrl==""?"http://":_linksUrl %>" name="siteLinkUrl_txt" type="text" />
                <span class="point ico-remind V">Url(网站连接url)</span>
            </p>
            <p>
                <label class="name"><span class="J">*</span>打开方式:</label>
                <input class="radio" <%=_linksTarget==true?"checked=checked":""%> name="siteLinkTarget_radio" checked="checked" type="radio" value="0" />旧窗口
                <input class="radio" <%=_linksTarget==true?"checked=checked":""%> name="siteLinkTarget_radio" type="radio" value="1" />新窗口
                <span class="point ico-remind V">该链接以什么窗口方式打开</span>
            </p>
            <p>
                <label class="name">链接简介:</label> <textarea name="siteLinkIntro_txt" id="siteLinkIntro_txt" class="isNull input400" tabindex="1" cols="" rows=""><%=_linksIntro%></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>
