-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
php: Create index.php and frednora.php
- Loading branch information
Showing
3 changed files
with
143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Assets</title> | ||
<meta | ||
name="viewport" | ||
content="width=device-width; initial-scale=1.0"> | ||
<meta | ||
name="description" | ||
content="This is the place where You can find resources for this webpage."> | ||
<meta | ||
name="author" | ||
content="Fred Nora"> | ||
<link href="./css/gramado.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body> | ||
<header class="gramado-header"> | ||
<br>This is the place where You can find resources for this webpage. | ||
</header> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<!DOCTYPE html> | ||
<!-- Document created by Fred Nora --> | ||
<!-- Credits: A. de Regt --> | ||
|
||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0"> | ||
<meta | ||
name="description" | ||
content="This app is a fork from Christmas2020 app, created by A. de Regt."> | ||
<meta | ||
name="author" | ||
content="A de Regt"> | ||
|
||
<title>Christmas <?php echo date("Y"); ?></title> | ||
<style> | ||
/* | ||
body { | ||
background-color: green | ||
} | ||
*/ | ||
|
||
.core { | ||
position: absolute; | ||
left: 50%; | ||
top: 50%; | ||
transform: translate(-50%, -50%); | ||
border-radius: .33rem; | ||
padding: 10px; | ||
background-color: lightyellow; /*#44ab44;*/ | ||
box-shadow: 10px 10px lightgray; | ||
text-align: center; | ||
} | ||
|
||
.button { | ||
border: solid black 1px; | ||
border-radius: .25rem; | ||
padding: 10px; | ||
color: black; | ||
text-decoration: auto; | ||
text-align: center; | ||
} | ||
|
||
.noicon { | ||
padding-left: 30px; | ||
} | ||
|
||
.iconpos { | ||
} | ||
|
||
.button:hover{ | ||
background-color: lightyellow; | ||
} | ||
</style> | ||
|
||
<!-- Prefetch --> | ||
<link rel="dns-prefetch" href="https://github.com/"/> | ||
|
||
<!-- Includes --> | ||
<link href="./assets/css/gramado.css" rel="stylesheet"> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div class="core"> | ||
<!-- Header --> | ||
<h1>Fred Nora's PHP application</h1> | ||
|
||
<br> | ||
<?php | ||
$files = scandir(getcwd()); | ||
foreach ($files as $file) | ||
{ | ||
if ( is_dir($file) && ctype_alnum($file) ) | ||
{ | ||
?> | ||
|
||
<!-- Button --> | ||
<br/> | ||
<a href="/<?php echo $file; ?>/index.html"><?php echo $file; ?>/</a> | ||
|
||
<?php | ||
} | ||
} | ||
?> | ||
|
||
<!-- Button --> | ||
<br/> | ||
<br/> | ||
<a | ||
class="button" | ||
href="https://github.com/frednora/frednora.github.io"> | ||
<img class="iconpos" | ||
width="20" | ||
height="20" | ||
src="https://github.com/fluidicon.png"> See code at GitHub | ||
</a> | ||
|
||
<br/> | ||
<br/> | ||
<br/> | ||
</div> | ||
|
||
<!-- Cool scripts goes here! --> | ||
<script src="./assets/js/gramado.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
define('USE_XXX', true); | ||
require('./frednora.php'); | ||
?> |