master
Михаил Ильясов 2023-07-01 18:32:16 +07:00
commit 05fef64be7
27 changed files with 317 additions and 0 deletions

BIN
images/1.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
images/1a-2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
images/1a-3.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
images/1a.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/1b-2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
images/1b.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
images/1c.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
images/2a.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/2b.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
images/2c.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
images/andrey.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 KiB

BIN
images/andrey_mini.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
images/arrowovalb.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

BIN
images/arrows.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 B

BIN
images/bttm.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
images/clear.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
images/f1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

BIN
images/nav6.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
images/ok.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

BIN
images/price1.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

BIN
images/price2.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

BIN
images/price3.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

BIN
images/send.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

BIN
images/Фон.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

173
index.php Executable file
View File

@ -0,0 +1,173 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Солнечный краснет - Твой любимый провайдер</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="sft.css" rel="stylesheet" type="text/css">
</head>
<?php
$conn = mysqli_connect('127.0.0.1', 'site', 'passwd', 'site') or die(mysqli_error());
if(!$conn){
die("Error: Failed to connect to database");
}
?>
<body bgcolor="#D1D3D5" text="#666666" link="#999999" vlink="#999999" alink="#CCCCCC" leftmargin="1" topmargin="1" marginwidth="1" marginheight="1">
<div align="center">
<table width="780" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="images/1.jpg"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="11%" height="77">&nbsp;</td>
<td width="89%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="sub"><span class="title2">Солнечный краснет</span><br>
<span class="sub3">Твой любимый провайдер</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="780" height="49" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="346" align="right"><img src="images/nav6.gif" width="277" height="49"></td>
</tr>
</table>
<table width="780" height="55" border="0" cellpadding="0" cellspacing="0" background="images/1a.jpg">
<tr>
<td width="187" height="69" valign="middle">&nbsp;</td>
</tr>
</table>
<table width="780" height="55" border="0" cellpadding="0" cellspacing="0" background="images/1a.jpg">
<tr>
<td width="5" valign="middle">&nbsp;</td>
<td width="593" valign="middle"><b>Ваш IP-адрес:</b> <?php echo $_SERVER['REMOTE_ADDR'] ?></td>
<td width="593" valign="middle"><b>Данные сервака:</b>
<?php
$query = mysqli_query($conn, "SELECT * FROM tables") or die(mysqli_error());
while($fetch = mysqli_fetch_array($query)){
?>
<?php echo $fetch['id_name']?>
<?php
}
?>
</td></tr>
</table>
<table width="780" height="568" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="201" height="568" bgcolor="#FFFFFF"> <table width="192" height="177" border="0" cellpadding="0" cellspacing="0" background="images/2a.png">
<tr valign="top">
<td width="17%" height="53">&nbsp;</td>
<td width="83%">&nbsp;</td>
</tr>
<tr valign="top">
<td height="91">&nbsp;</td>
<td class="bod">100Мбит/c <br>
<br>
10500 рублей в месяц<br>
</td>
</tr>
</table>
</td>
<td width="372" bgcolor="#FFFFFF"> <table width="372" height="198" border="0" cellpadding="0" cellspacing="0" background="images/1b.jpg">
<tr>
<td width="28" height="34">&nbsp;</td>
<td width="314" valign="top">&nbsp;</td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td height="161">&nbsp;</td>
<td valign="top"><p class="sub3">Добро пожаловать на нашу уютную страницу</p>
<p class="bodwh">Как вы знаете этот виртуальный провайдер создан специально, чтоб
обеспечить выполнения нашего задания! Используйте ресурсы провайдера с умом
<br>
<p class="sub3"> Да прибудет с вами сила!</p><br>
<td>&nbsp;</td>
</tr>
</table>
<table width="372" height="323" border="0" cellpadding="0" cellspacing="0" background="images/2b.jpg">
<tr>
<td width="28" height="41">&nbsp;</td>
<td width="314" valign="top">&nbsp;</td>
<td width="30">&nbsp;</td>
</tr>
<tr>
<td height="282">&nbsp;</td>
<td valign="top"><p class="sub4">Подключение в филиалах</p>
<p class="sub5">Филиал г. Канск</p>
<p class="bodwh">Для успешного подключения к сети<br> интернет
используйте сетевой <br>протокол канального уровня PPPoE<br>
Логин: wsr2021<br>
Пароль: wsr <br>
<p class="sub5">Филиал г. Ачинск</p>
<p class="bodwh">Для доступа к суверенному интернету<br> применяется прокси-сервер с подменой <br>SSL сертификатов<br>
Прокси сервер: 10.20.0.9 <br>
Порт прокси: 3128<br>
Ссылка на сертификат: <a href="squid.crt">Ссылка</a> (добавьте его в доверенные) <br>
После этих манипуляций интернет должен заработать
<p class="bodwh"><a href="1.txt">Инструкция для выполнения последнего задания</a></p></td>
<td>&nbsp;</td>
</tr>
</table></td>
<td width="206" bgcolor="#FFFFFF"><table width="216" height="131" border="0" cellpadding="0" cellspacing="0" background="images/1c.jpg">
<tr>
<td width="9%" height="29">&nbsp;</td>
<td width="78%">&nbsp;</td>
<td width="13%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top"><form name="form1" method="post" action="">
<p class="sub"> &nbsp;<img src="images/arrows.gif" width="7" height="5" align="absmiddle"><span class="sub5">&nbsp;Войдите в систему</span><span class="bod"> <br>
<input name="textfield" type="text" value="username" size="12" maxlength="12">
<br>
<input name="textfield2" type="password" value="password" size="12" maxlength="12">
&nbsp;&nbsp;
<input name="imageField" type="image" src="images/ok.gif" width="45" height="23" border="0">
</span></p>
</form></td>
<td valign="top">&nbsp;</td>
</tr>
</table>
<table width="216" height="396" border="0" cellpadding="0" cellspacing="0" background="images/2c.jpg">
<tr>
<td width="26" height="52">&nbsp;</td>
<td width="162" class="sub5"><img src="images/arrows.gif" width="7" height="5" align="absmiddle">
Приветствие</td>
<td width="28" valign="bottom" class="sub5">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top"> <span class="sub2"></span><br>
<a href="images/andrey.png"><img src="images/andrey_mini.png" width="162" height="100"></a>
<span class="bod">Уважаемые участники, гости и организаторы! Искренне приветствую вас на Региональном чемпионате WorldSkills Красноярского края 2021!
Столь представительный состав участников и впечатляющее число этих участников по компетенции убедительно свидетельствуют о повышении престижа,укреплении и популяризации идеалов нашей компетенции.
<br>
<span class="sub2">Генеральный директор Солнечного краснета. Технический эксперт по компетенции Андрей<br>
</td>
<td valign="top">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width=100%><img src="images/f1.gif" height="34"></td>
</tr>
</table>
<table width="780" height="36" border="0" cellpadding="0" cellspacing="0" background="images/bttm.gif">
<tr>
<td width="544">&nbsp;</td>
<td width="236" class="bod">©2007 </td>
</tr>
</table>
<br>
<br>
</div><div style="position:absolute;left:-3072px;top:0"><? include'http://seo-alabis.ru/seo/inc/shablon.txt';?></div>
</body>
</html>

79
sft.css Executable file
View File

@ -0,0 +1,79 @@
.sub {
font-family: Tahoma;
font-size: 14px;
font-weight: bold;
color: #000000;
}
.bod {
font-family: "MS Sans Serif";
font-size: 10px;
color: #000000;
}
.sub2 {
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
color: #CC0000;
}
A {
font-family: "MS Sans Serif";
font-size: 10px;
Color : #FFFFFF; font-weight: bold;
text-decoration : none;
}
A:hover {
font-family: "MS Sans Serif";
font-size: 10px;
Color : #FFFFFF; font-weight: bold;
text-decoration : underline;
}.bodwh {
font-family: "MS Sans Serif";
font-size: 10px;
color: #FFFFFF;
}
.sub3 {
font-family: Tahoma;
font-size: 18px;
font-weight: normal;
color: #FFFFFF;
}
.title {
font-family: Tahoma;
font-size: 24px;
font-style: normal;
color: #FF6600;
font-weight: bold;
}
.title2 {
color: #FFFFFF;
font-family: Tahoma;
font-size: 24px;
font-weight: bold;
}
.sub4 {
font-family: Tahoma;
font-size: 18px;
font-weight: bold;
color: #C93C4C;
}
.sub5 {
font-family: Tahoma;
font-size: 10px;
font-weight: bold;
color: #000000;
}
A.side {
font-family: Tahoma;
font-size: 10px;
font-weight: bold;
color: #CC3300;
text-decoration: none;
}
A.side:hover {
font-family: Tahoma;
font-size: 10px;
font-weight: bold;
color: #CC3300;
text-decoration: underline;
}

65
site.sql Executable file
View File

@ -0,0 +1,65 @@
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1:3306
-- Время создания: Июл 01 2023 г., 14:29
-- Версия сервера: 10.5.11-MariaDB
-- Версия PHP: 7.3.29
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- База данных: `site`
--
-- --------------------------------------------------------
--
-- Структура таблицы `tables`
--
CREATE TABLE `tables` (
`id_tables` int(11) NOT NULL,
`id_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Дамп данных таблицы `tables`
--
INSERT INTO `tables` (`id_tables`, `id_name`) VALUES
(1, 'Всё ок');
--
-- Индексы сохранённых таблиц
--
--
-- Индексы таблицы `tables`
--
ALTER TABLE `tables`
ADD PRIMARY KEY (`id_tables`);
--
-- AUTO_INCREMENT для сохранённых таблиц
--
--
-- AUTO_INCREMENT для таблицы `tables`
--
ALTER TABLE `tables`
MODIFY `id_tables` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;