<%@ Page Language="C#" Inherits="Caicai.Jingpin.UI.Plugins.Photo" %>
<!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><%= Caicai.Framework.Utils.CAppSettings.ConfigGet("Page.SiteCopyright") %>图库管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="../style.css" rel="stylesheet" rev="stylesheet" media="all" />
<meta name="author" content="guqiu.com" />
<meta name="keywords" content="谷秋精品课程系统,精品课程,谷秋精品课程,精品课程软件,谷秋精品工具" />
<meta name="description" content="谷秋精品课程系统网站由《谷秋精品课程软件》生成，谷秋精品课程软件官方网站http://www.guqiu.com。" />
<script type="text/javascript" src="../../files/common/jquery.js"></script>
<script type="text/javascript">
$(function()
{
	var maxwidth=120;    
	$(".table img").each(function()
	{          
		if ($(this).width() > maxwidth)
		{
			autoheight=$(this).height()*(maxwidth/$(this).width());
			$(this).width(maxwidth);
			$(this).height(autoheight);
		}         
	});
})
</script>
</head>
<body id="photo">
<form id="form1" runat="server">
<asp:Panel ID="PanelDefault" runat="server">
<asp:Repeater ID="RepeaterDefault" runat="server">
<ItemTemplate>
<table class="table">
<tr>
	<td><a href="default.aspx?action=class&id=<%# Eval("ID") %>"><img src="../../<%# Pic(Eval("ID").ToString())%>" style="float:left; margin-right:10px;" /></a><%# Eval("Intro") %></td>
</tr>
<tfoot>
<tr>
	<td><a href="default.aspx?action=class&id=<%# Eval("ID") %>"><strong><%# Eval("Name") %></strong></a></td>
</tr>
</tfoot>
</table>
</ItemTemplate>
</asp:Repeater>
</asp:Panel>

<asp:Panel ID="PanelClass" runat="server">
<table class="table table1">
<tr>
	<td>
		<ul class="<%= PhotoBrowse() %>">
<asp:Repeater ID="RepeaterClass" runat="server">
<ItemTemplate>
<li><a href="../../<%# Eval("picbig") %>" target="_blank"><img src="../../<%# Eval("pic") %>" /></a><p><strong><%# Eval("Title") %></strong>：<%# Eval("Intro") %><p></li>
</ItemTemplate>
</asp:Repeater>
</ul>
<tfoor>
</td>
</tr>
<tr>
	<td colspan="2" align="right"><a href="javascript:history.back()" class="button">返回上一页</a></td>
</tr>
<tr>
	<td colspan="2"><div class="page"><Caicai:CPageSql ID="PageClass" runat="server" PageSize="30" /></div></td>
</tr>
</tfoor>
</table>
</asp:Panel>
</form>
</body>
</html>