<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!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 runat="server">
<title>제목 없음</title>
<script language="javascript" type="text/javascript">
function fnMovePage(command) {
switch (command) {
case "1" :
self.location.href = "MasterTest1.aspx";
break;
case "2" :
self.location.href = "MasterTest2.aspx";
break;
case "3" :
self.location.href = "MasterTest3.aspx";
break;
case "4" :
self.location.href = "MasterTest4.aspx";
break;
case "5" :
self.location.href = "MasterTest5.aspx";
break;
default :
self.location.href = "MasterTest1.aspx";
break;
}
}
</script>
</head>
<body style="padding-top:20px; padding-bottom:20px;" bgcolor="#DDDDDD" oncontextmenu="//return false">
<form id="MasterForm" runat="server">
<table width="600px" border="0" bgcolor="#DDDDDD" cellpadding="0" cellspacing="0" align="center" bordercolor="red">
<tr>
<td bgcolor="#FFFFFF" align="center" valign="middle" style="padding:4px;">
<table width="100%" height="100%" border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" bordercolor="purple">
<tr>
<td width="600px" align="center" valign="top" style="display:inline-block;">
<table width="100%" border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="margin:3px;" bordercolor="red">
<tr valign="middle" height="100px">
<td background="" bgcolor="#666666" align="center" style="color:#666666;font-size:11pt;border : 1px solid #333333">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="red">
<tr height="100%" valign="middle">
<td width="40%" align="left">
<div align="left">
<a style="cursor:hand" href="javascript:fnMovePage('1')">
<img src="http://www.neostyx.net/theme/graytheme/Images/img_nxblog_logo.gif" border="0" />
</a>
</div>
</td>
<td width="60%" align="right">
<div align="right" style="margin-left:5px;">
<a style="cursor:hand" href="javascript:fnMovePage('2')">
<img src="http://www.neostyx.net/theme/graytheme/Images/img_nxblog_menu1.gif" border="0" />
</a>
<a style="cursor:hand" href="javascript:fnMovePage('3')">
<img src="http://www.neostyx.net/theme/graytheme/Images/img_nxblog_menu2.gif" border="0"/>
</a>
<a style="cursor:hand" href="javascript:fnMovePage('4')">
<img src="http://www.neostyx.net/theme/graytheme/Images/img_nxblog_menu3.gif" border="0"/>
</a>
<a style="cursor:hand" href="javascript:fnMovePage('5')">
<img src="http://www.neostyx.net/theme/graytheme/Images/img_nxblog_menu5.gif" border="0"/>
</a>
</div>
</td>
</tr>
</table>
</td>
</tr>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
<tr>
<td align="center" style="width:100%">
<asp:Label ID="lblMain" runat="server" Text="마스터 페이지 라벨입니다."></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="MasterTest1.aspx.cs" Inherits="MasterTest1" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<tr height="10">
<td width="100%" align="center" colspan="3"> </td>
</tr>
<tr valign="middle" height="30px">
<td background="http://www.neostyx.net/theme/graytheme/Images/img_menu_bg.jpg" align="left" style="color: #FFFFFF; font-size: 9pt;width:100%">
<img src="http://www.neostyx.net/theme/graytheme/Images/img_menu_notification.gif" />
</td>
</tr>
<tr>
<td align="center" width="100%" colspan="3">
<table width="100%" border="0" bgcolor="#666666" cellpadding="0" cellspacing="2">
<tr height="150px" valign="top">
<td width="100%" align="left" bgcolor="#FFFFFF" style="padding: 3px">
메인화면입니다.
</td>
</tr>
</table>
</td>
</tr>
</asp:Content>