Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jarosław Rauza
committed
Oct 1, 2017
1 parent
92cf83a
commit fc6bb0d
Showing
8 changed files
with
172 additions
and
61 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,21 @@ | ||
<?php | ||
|
||
class Blog | ||
{ | ||
public $entry = array(); | ||
public $name = array(); | ||
public $author = array(); | ||
public $date = array(); | ||
public disqus_domain_name = "mydisqus"; | ||
public $blog_entries = 1; | ||
public $blog_entries_per_page = 5; | ||
} | ||
|
||
$blog = new Blog(); | ||
|
||
$blog->entry[0]="first"; | ||
$blog->name[0]="First entry on my blog"; | ||
$blog->author[0]="webmaster"; | ||
$blog->date[0]="30.09.2017"; | ||
|
||
?> |
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 @@ | ||
Welcome! This is my first entry on my blog! |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
$author = "Webmaster"; // here you write your own name /nickname | ||
$creationYear = 2017; // webpage creation year | ||
$license = "Licensed under GNU GPL license"; // license of the page contents | ||
$author = "Webmaster"; | ||
$creationYear = 2016; | ||
$license = "Copying allowed under giving the source."; | ||
|
||
?> | ||
?> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
$logo = "/home/evilus/"; // logo code | ||
$slogan = "... czyli moje miejsce w Internecie"; // page slogan | ||
$logo = "My webpage"; | ||
$slogan = "My slogan"; | ||
|
||
?> | ||
?> |
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
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<?php | ||
|
||
// Define menu here | ||
|
||
class Menu | ||
{ | ||
public $link = array(); // array with links | ||
public $name = array(); // array with names | ||
public $mnu_elements = 1; // how many elements menu must contain | ||
public $link = array(); | ||
public $name = array(); | ||
public $mnu_elements = 2; | ||
} | ||
|
||
$menu = new Menu(); | ||
|
||
$menu->link[0]="index.php?id=index&mnu=0"; | ||
$menu->name[0]="Main page"; | ||
|
||
$menu->link[1]="index.php?id=blog&mnu=1"; | ||
$menu->name[1]="Blog"; | ||
|
||
?> |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?php | ||
|
||
// Define title of your page | ||
$siteURL = "https://my.webpage.com/"; | ||
$title = "My webpage"; | ||
|
||
$title = "My Home Page"; | ||
|
||
?> | ||
?> |
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