コード例 #1
0
ファイル: contact.aspx.cs プロジェクト: Rad3k/Experiences
 protected void Page_Load(object sender, EventArgs e)
 {
     transaction kontakt = new transaction();
     if (kontakt.selectPagesInformation('K'))
     {
         nadpis.Text = kontakt.nadpis;
         popis.Text = kontakt.text;
     }
     if (kontakt.selectQuickBar())
     {
         support_me.Text = kontakt.section[0];
         text.Text = kontakt.section[1];
         alias_1.Text = kontakt.section[3];
         alias_2.Text = kontakt.section[5];
         alias_3.Text = kontakt.section[7];
         alias_4.Text = kontakt.section[9];
     }
 }
コード例 #2
0
ファイル: support.aspx.cs プロジェクト: Rad3k/Experiences
 protected void Page_Load(object sender, EventArgs e)
 {
     transaction support = new transaction();
     if (support.selectPagesInformation('P'))
     {
         podpora.Text = support.nadpis;
         popis.Text = support.text;
     }
     if (support.selectQuickBar())
     {
         support_me.Text = support.section[0];
         text.Text = support.section[1];
         /*program_1.Text = support.section[2];
         program_2.Text = support.section[4];
         program_3.Text = support.section[6];
         program_4.Text = support.section[8];*/
         alias_1.Text = support.section[3];
         alias_2.Text = support.section[5];
         alias_3.Text = support.section[7];
         alias_4.Text = support.section[9];
     }
 }
コード例 #3
0
ファイル: about.aspx.cs プロジェクト: Rad3k/Experiences
        protected void Page_Load(object sender, EventArgs e)
        {
            transaction o_me = new transaction();
            if (o_me.selectPagesInformation('O'))
            {
                nadpis.Text = o_me.nadpis;
                popis.Text = o_me.text;
                doplnInformace.Text = o_me.informace;
            }
            else
            {
                nadpis.Text = o_me.nadpis;
                popis.Text = o_me.text;

            }
            if (o_me.selectFavouriteGames('O'))
            {
                titul.Text = o_me.title[0];
                hra_1.Text = o_me.section[0];
                hra_2.Text = o_me.section[1];
                hra_3.Text = o_me.section[2];
                hra_4.Text = o_me.section[3];
            }
            if (o_me.selectQuickBar())
            {
                support_me.Text = o_me.section[0];
                text.Text = o_me.section[1];
                /*program_1.Text = o_me.section[2];
                program_2.Text = o_me.section[4];
                program_3.Text = o_me.section[6];
                program_4.Text = o_me.section[8];*/
                alias_1.Text = o_me.section[3];
                alias_2.Text = o_me.section[5];
                alias_3.Text = o_me.section[7];
                alias_4.Text = o_me.section[9];
            }
        }