//ライセンス情報はAgeOnフォルダのLISENCEフォルダを参照してください
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nispi
{
    public static class HtmlTemplete
    {
        //メールアドレスあり
        public static string AgeOnTheme1 =
            "<div class='res_title'><a name='res{0}' href='javascript:void(0);#num{0}#{1}'>{0} </a>" +
            "(<a name='resPop{0}' href='javascript:void(0);#POPNUM:#{0}#{1}'>ﾚｽ</a>)" +
            "名前:<b>{3}</b> : " +
            "{4} <a href='javascript:void(0);#ID:{5}#{1}'>{5}</a></div>" +
            "<div class='res_body'>{6}</div>" +
            "<br>\r\n";
        
        public static string AgeOnTheme1Sample =
            "<div class='res_title'><u><font color=\"{0}\">1</font></u>\r\n" +
            "<font color='#{2}'>(</><u><font color=\"{0}\">ﾚｽ</font></u><font color='#{2}'>)</font>" +
            "<font color='#{2}'>名前:<b>名無し</b> : </font>" +
            "<font color='#{2}'>日時</font> <u><font color=\"{0}\">ID:</u>" +
            "<div class='res_body'>{1}</div>" +
            "<br>\r\n";

        //メールアドレスなし
        public static string AgeOnTheme2 =
            "<div class='res_title'><a name='res{0}' href='javascript:void(0);#num{0}#{1}'>{0} </a>" +
            "(<a name='resPop{0}' href='javascript:void(0);#POPNUM:#{0}#{1}'>ﾚｽ</a>)" +
            "名前:<a href='mailto:{2}' title='{2}'><b>{3}</b></a> : " +
            "{4} <a href='javascript:void(0);#ID:{5}#{6}'>{7}</a></div>" +
            "<div class='res_body'>{8}</div>" +
            "<br>\r\n";

        public static string AgeOnTheme2Sample =
            "<div class='res_title'><u><font color=\"{0}\">1</font></u>\r\n" +
            "<font color='#{2}'><!--(</><u><font color=\"{0}\">ﾚｽ</font></u><font color='#{2}'>)</font>-->" +
            "<font color='#{2}'>名前:<b>名無し</b> : </font>" +
            "<font color='#{2}'>日時</font> <u><font color=\"{0}\">ID:</u>" +
            "<div class='res_body'>{1}</div>" +
            "<br>\r\n";
        public static string DefaultTheme1 =
            "<div class='res_title'><a name='res{0}' href='javascript:void(0);#num{0}#{1}'>{0} </a>" +
            "<!--(<a name='res{0}' href='javascript:void(0);#POPNUM:#{0}#{1}'>ﾚｽ</a>)-->" +
            "名前:<a href='mailto:{0}' title='{1}'><b>{2}</b></a> : " +
            "{0} <a href='javascript:void(0);#ID:{1}#{2}'>{1}</a></div>" +
            "<div class='res_body'>{0}</div>" +
            "<br>\r\n";

        public static string DefaultTheme2 =
            "<div class='res_title'><a name='res{0}' href='javascript:void(0);#num{0}#{1}'>{0} </a>" +
            "<!--(<a name='res{0}' href='javascript:void(0);#POPNUM:#{0}#{1}'>ﾚｽ</a>)-->" +
            "名前:<b>{0}</b> : " +
            "{0} <a href='javascript:void(0);#ID:{1}#{2}'>{1}</a></div>" +
            "<div class='res_body'>{0}</div>" +
            "<br>\r\n";

        public static string Header =
            "<html><head><style type='text/css'>" +
            "body {{ font-size: {0}pt;" +
            "background-color:#{1};" +
            "font-family: '{2}';}}" +

            "div.res_title {{\r\n" +
            "  white-spece: nowrap;\r\n" +
            "  padding-bottom: 0.2em;\r\n" +
            "}}\r\n" +
            "div.res_body {{\r\n" +
            "  margin-left: 3em;\r\n" +
            "}}\r\n" +
            "</style>" +

            "<script type='text/javascript'>\r\n" +
            "<!--\r\n" +
            "function scroll(){{\r\n" +
            "window.scrollTo({3},{4});\r\n" +
            "}}\r\n" +
            "window.setTimeout( scroll, 0 );" +
            "// -->\r\n" +
            "</script>\r\n" +

            "</head>";
        public static string HeaderOriginalFont =
            "<html><head><style type='text/css'>" +
            "body {{ font-size: {0}pt;" +
            "background-color:#{1};" +
            "font-family: '{2}';src: url(\"file:///{3}\");}}" +

            "div.res_title {{\r\n" +
            "  white-spece: nowrap;\r\n" +
            "  padding-bottom: 0.2em;\r\n" +
            "}}\r\n" +
            "div.res_body {{\r\n" +
            "  margin-left: 3em;\r\n" +
            "}}\r\n" +
            "</style>" +

            "<script type='text/javascript'>\r\n" +
            "<!--\r\n" +
            "function scroll(){{\r\n" +
            "window.scrollTo({4},{5});\r\n" +
            "}}\r\n" +
            "window.setTimeout( scroll, 0 );" +
            "// -->\r\n" +
            "</script>\r\n" +

            "</head>";
        public static string Default_Style_Sheet =
            "div.res_title {\r\n" +
            "  white-spece: nowrap;\r\n" +
            "  padding-bottom: 0.2em;\r\n" +
            "}\r\n" +
            "div.res_body {\r\n" +
            "  margin-left: 3em;\r\n" +
            "}\r\n";
    }
}