Материал: ЯнышеваСА_4716_ТекстВКР

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

14.Zhangxi L., Hamalainen M., Whinston A.B. Knowledge-Based HTML Document Generation for Automating Web Publishing // Expert Syst. Appl. 1996. том. 10, № 3–4.

41

ПРИЛОЖЕНИЕ

Приложение 1. Мастер-страница (шаблон).

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage+reg.master.cs" Inherits="MasterPage" %>

<!DOCTYPE html>

<html>

<head runat="server">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title>

<asp:ContentPlaceHolder id="head" runat="server"> </asp:ContentPlaceHolder>

<style type="text/css">

.auto-style1 { width: 100%; height: 673px;

}

.auto-style2 { width: 210px;

}

.auto-style5 { width: 100%;

}

.auto-style9 { width: 84px;

}

.auto-style10 { height: 103px; width: 833px;

}

.auto-style11 { height: 110px; width: 833px;

}

.auto-style12 { width: 833px;

}

.auto-style13 { margin-left: 0px;

}

.auto-style15 { height: 523px;

}

.auto-style17 { height: 31px;

}

</style>

</head>

<body style="height: 720px">

42

<form id="form1" runat="server"> <table class="auto-style1">

<tr>

<td colspan="2" rowspan="2" style="text-align:

center">

<asp:ImageButton ID="ImageButton1" runat="server" Height="255px" ImageUrl="~/картинки/2021-06-04-22-05-41_1.jpg" OnClick="ImageButton1_Click" Width="253px" />

</td>

<td class="auto-style10" style="text-align: right"> <asp:Button ID="Button1" runat="server"

BackColor="#FF9999" BorderColor="Black" BorderStyle="Outset" CssClass="auto-style13" Font-Names="Times New Roman" FontSize="Large" ForeColor="Black" Height="40px" OnClick="Button1_Click" Text="Выход" Width="89px" />

<asp:Label ID="Label1" runat="server" ForeColor="White" Text="гений"></asp:Label>

</td>

</tr>

<tr>

<td class="auto-style11" style="text-align: center; font-size: 80px; font-family: 'Monotype Corsiva'; vertical-align: top;">Биологическая лаборатория         &nbs p; </td>

</tr>

<tr>

<td class="auto-style9" style="vertical-align:

top"> </td>

<td class="auto-style2" style="vertical-align: top"> <table class="auto-style5">

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF"> </td>

</tr>

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF"> </td>

</tr>

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF">

<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="#CC00FF" OnClick="LinkButton1_Click">Главная</asp:LinkButton>

</td>

</tr>

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF">

43

<asp:LinkButton ID="LinkButton2" runat="server" BorderColor="#CC00FF" ForeColor="#CC00FF" OnClick="LinkButton2_Click">Грибы</asp:LinkButton>

</td>

</tr>

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF">

<asp:LinkButton ID="LinkButton3" runat="server" ForeColor="#CC00FF" OnClick="LinkButton3_Click">Бактерии</asp:LinkButton>

</td>

</tr>

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF">

<asp:LinkButton ID="LinkButton4" runat="server" ForeColor="#CC00FF" OnClick="LinkButton4_Click">Вирусы</asp:LinkButton>

</td>

</tr>

<tr>

<td style="font-size: xx-large; fontfamily: 'Times New Roman'; color: #FF00FF">

<asp:LinkButton ID="LinkButton5" runat="server" ForeColor="#CC00FF" OnClick="LinkButton5_Click">Добавить данные</asp:LinkButton>

</td>

</tr>

</table>

</td>

<td class="auto-style12" style="vertical-align: top"> <br />

<br /> <br />

<asp:ContentPlaceHolder ID="ContentPlaceHolder1"

runat="server">

<p class="auto-style15"> <br />

</p>

</asp:ContentPlaceHolder>

</td>

</tr>

<tr>

<td class="auto-style17" style="vertical-align: top; text-align: center;" colspan="3"><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: small; fontstyle: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; textalign: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;

44

background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">          &n bsp;         

©2021.Биологическая лаборатория г.Санкт-Петербург. (812)464-37-51<br />

</span></td>

</tr>

</table>

</form>

</body>

</html>

Приложение 2. Главная страница.

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="main.aspx.cs" Inherits="картинки_main" %>

<%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<style type="text/css">

.auto-style17 { height: 30px;

}

.auto-style20 { height: 55px; width: 1000px;

font-family: "Times New Roman"; font-size: xx-large;

}

.auto-style21 { height: 480px; width: 995px;

}

.auto-style22 { height: 27px;

}

.auto-style23 { width: 500px; height: 368px;

}

.auto-style24 { height: 370px; width: 992px;

45

Источник: https://studfile.net/preview/16467080/