Skip to content

Commit 9fb041b

Browse files
authored
Removed unneded repeatition
1 parent 0de6353 commit 9fb041b

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

index.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,30 @@
1010
<title>Null's Text Decorator</title>
1111
</head>
1212
<body>
13+
<h1>Null's Text Decorator</h1>
14+
<br />
15+
<form action="index.html" method="post">
16+
<br />
1317
<?php
1418
if (isset($_POST["step2"]))
1519
{
1620
?>
17-
<h1>Null's Text Decorator</h1>
18-
<br />
19-
<form action="index.html" method="post">
20-
<br />
2121
Enter your text here → <input type="text" name="input" value="<?=$_POST["input"]; ?>" />
2222
<br />
2323
Circled text: <input type="text" name="cool1" value="<?=dec->cycle($_POST["input"]); ?>" />
24-
<br />
25-
<input type="submit" name="step2" />
26-
</form>
2724
<?php
2825
}
2926
else
3027
{
3128
?>
32-
<h1>Null's Text Decorator</h1>
33-
<br />
34-
<form action="index.html" method="post">
35-
<br />
3629
Enter your text here → <input type="text" name="input" />
3730
<br />
3831
Circled text: <input type="text" name="cool1" />
39-
<br />
40-
<input type="submit" name="step2" />
41-
</form>
4232
<?php
4333
}
4434
?>
35+
<br />
36+
<input type="submit" name="step2" />
37+
</form>
4538
</body>
4639
</html>

0 commit comments

Comments
 (0)