WedosAccessHandler   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 40
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A deny() 0 37 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SixtyEightPublishers\Application\RemoteAccessManager\Handler;
6
7
class WedosAccessHandler extends DefaultAccessHandler implements IAccessHandler
8
{
9
	public function deny()
10
	{
11
		echo <<< WEDOS
12
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
14
<head>
15
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16
	<meta http-equiv="Content-Language" content="cs" />
17
	<title>Webhosting je aktivní</title>
18
	<meta name="robots" content="noindex,follow" />
19
	<link rel="stylesheet" type="text/css" href="https://hosting.wedos.com/css/default-pages.css" />
20
</head>
21
<body class="web_default">
22
23
	<div id="page">
24
25
		<div id="header">
26
			<img src="https://hosting.wedos.com/images/default-pages/logo.png" alt="WEDOS Internet, a.s." />
27
		</div>
28
29
		<div id="content">
30
			<img src="https://hosting.wedos.com/images/default-pages/tick.png" alt="OK" />
31
			<h1>Webhosting je aktivní</h1>
32
			<p>Webhosting pro tuto doménu je aktivní. Přes FTP nahrajte potřebné soubory a poté tento soubor <b>index.html</b> smažte.</p>
33
			<p>Další informace a návody hledejte ve <strong><a href="https://kb.wedos.com/">znalostní bázi WEDOS</a></strong>.</p>
34
		</div>
35
36
		<div id="footer">
37
			<p><strong><a href="https://hosting.wedos.com/">Hosting WEDOS</a></strong> - <a href="https://hosting.wedos.com/cs/domeny.html">registrace domén</a>, <a href="https://hosting.wedos.com/cs/webhosting.html">webhosting</a>, <a href="https://hosting.wedos.com/cs/dedikovane-servery.html">serverhosting</a></p>
38
		</div>
39
40
	</div>
41
</body>
42
</html>
43
WEDOS;
44
		exit();
45
	}
46
}
47