<%@ Page Language="C#" MasterPageFile="../BloggerAdmin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Blogger.Admin.Article.PostSelector" Codebehind="PostSelector.aspx.cs" %>
<asp:Content ID="MyHead" ContentPlaceHolderID="phHead" Runat="Server">
<style type="text/css">
.IconTitle {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: none;
	border-left-style: dotted;
	background-color: #F7F7F7;
	height:20px;
}
.IconDesc {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	background-color: #F7F7F7;
	width:200px;
	height:60px;
}
.Icon
{
    text-align:center;
    width:100px;
    height:90px;
}
.Icon img
{
    height:90px; border:0px;
}
.Icon a
{
    padding:3px;
}
.Icon a:hover
{
    border-top: solid 1px #C0C0C0;
    border-left: solid 1px #C0C0C0;
    border-bottom: solid 1px #808080;
    border-right: solid 1px #808080;
    padding:2px;
}
</style>
<script type="text/javascript">
//<![CDATA[
function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}
//]]>
</script>
<script type="text/javascript" src="<%=AppUrl %>/Common/Script/fat.js"></script>
</asp:Content>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMainAdmin" Runat="Server">
<form id="MainForm" runat="server">
<div id="ContentTitle"><%=MyTitle %></div>

<div class="ContentBody">
<div id="message" class="Nav_Title fade"><p><strong>请选择您打算发布的日志类型？倘若想用很常用的格式发表，请使用文章日志。</strong></p></div>
<asp:DataList ID="dlPostType" runat="server" RepeatColumns="3">
<ItemTemplate>
<table cellpadding="3" cellspacing="0" style=" width:100%; height:100px; border:0px;">
  <tr>
    <td rowspan="2" class="Icon"><a href="<%=MyBloggerUrl%>/Admin/Article/Post_<%# DataBinder.Eval(Container, "DataItem.Name") %>Add<%=ExtensionName %>"><img src="/Common/Images/PostTypeIcon/<%# DataBinder.Eval(Container, "DataItem.Name") %>/PostSelector.gif" alt=""/></a></td>
    <td class="IconTitle"><strong><a href="<%=MyBloggerUrl%>/Admin/Article/Post_<%# DataBinder.Eval(Container, "DataItem.Name") %>Add<%=ExtensionName %>"><%# DataBinder.Eval(Container, "DataItem.DisplayName") %></a></strong></td>
  </tr>
  <tr>
    <td valign="top" class="IconDesc"><%# DataBinder.Eval(Container, "DataItem.Description") %></a></td>
  </tr>
</table>
<br>
</ItemTemplate>
</asp:DataList>
</div>

<div id="ContentBottom"></div>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
</form>
</asp:Content>