2012년 2월 10일 금요일
..:: Learn » 쇼핑몰 프로젝트 » [4] 상품관리 » 18. 메인 상품 진열 ::..
최소화(Minimize)ProductCatalog.ascx

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductCatalog.ascx.cs"
    Inherits="ProductCatalogControl" %>
<%@ Register Src="/website/portals/0/EventNames.ascx" TagName="EventNames" TagPrefix="uc1" %>
<table width="575" cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td width="575" height="40" bgcolor="#EEEEEE">
            <asp:Image ID="imgNew" runat="server" ImageUrl="~/images/title_productlist.gif" />
        </td>
    </tr>
    <tr>
        <td width="575">
            <table align="center" border="0" cellpadding="0" cellspacing="0" width="540">
                <tr>
                    <td>
                        <table border="0" cellpadding="0" cellspacing="0" width="540">
                            <tr>
                                <td height="30">
                                    <asp:Image ID="imgPoint1" runat="server" ImageUrl="~/images/icon_point.gif" Width="9px"
                                        Height="9px" />
                                    닷넷코리아 가상쇼핑몰입니다. 원하시는 상품을 선택하세요.
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="100%" align="center">
                        <table border="0" width="540" cellspacing="0" cellpadding="0">
                            <tr>
                                <td height="2" bgcolor="#44B4FF">
                                </td>
                            </tr>
                            <tr>
                                <td height="28" align="center" style="border-width: 1px; border-color: #C0C0C0; border-style: solid;">
                                    <table border="0" width="520" cellspacing="0" cellpadding="0" align="center">
                                        <tr>
                                            <td align="left">
                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/images/ProductNew.gif" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="100%" height="5">
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <uc1:EventNames ID="EventNames1" runat="server" EventsName="NEW" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td align="right">
                                                <a href="#top">
                                                    <img border="0" src="/website/portals/0/./images/btn_top.gif" width="32" height="30"></a>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="100%" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="100%" align="center">
                        <table border='0' width='540' cellspacing='0' cellpadding='0'>
                            <tr>
                                <td height="2" bgcolor="#44B4FF">
                                </td>
                            </tr>
                            <tr>
                                <td height="28" align="center" style="border-width: 1px; border-color: #C0C0C0; border-style: solid;">
                                    <table border="0" width="520" cellspacing="0" cellpadding="0" align="center">
                                        <tr>
                                            <td align="left">
                                                <asp:Image ID="Image2" runat="server" ImageUrl="~/images/ProductHit.gif" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="100%" height="5">
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <uc1:EventNames ID="EventNames2" runat="server" EventsName="HIT" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td align="right">
                                                <a href="#top">
                                                    <img border="0" src="/website/portals/0/./images/btn_top.gif" width="32" height="30"></a>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="100%" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="100%" align="center">
                        <table border='0' width='540' cellspacing='0' cellpadding='0'>
                            <tr>
                                <td height="2" bgcolor="#44B4FF">
                                </td>
                            </tr>
                            <tr>
                                <td height="28" align="center" style="border-width: 1px; border-color: #C0C0C0; border-style: solid;">
                                    <table border="0" width="520" cellspacing="0" cellpadding="0" align="center">
                                        <tr>
                                            <td align="left">
                                                <asp:Image ID="Image3" runat="server" ImageUrl="~/images/ProductBest.gif" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="100%" height="5">
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <uc1:EventNames ID="EventNames3" runat="server" EventsName="BEST" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td align="right">
                                                <a href="#top">
                                                    <img border="0" src="/website/portals/0/./images/btn_top.gif" width="32" height="30"></a>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="100%" height="10">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

최소화(Minimize)ProductCatalog.ascx.cs

using System;

public partial class ProductCatalogControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        // Empty   
    }
}

Copyright 2000-2011 by DotNetKorea all right reserved.   사용약관  개인정보취급방침