Archived
1
0

Redesigning front page and renaming "KingOfDogTV.de" to "KingOfDog.eu"

This commit is contained in:
Marcel
2018-10-17 11:17:00 +02:00
parent 29d7c2ffdc
commit b32b2790c8
15 changed files with 164 additions and 94 deletions

View File

@@ -43,7 +43,7 @@
</div>
</div>
</div>
<div class="carousel-item" style="background-image: url(/f/91200698b76de87f559d104781e1eacf)">
<div class="carousel-item" style="background-image: url('/f/91200698b76de87f559d104781e1eacf')">
<div class="carousel-caption">
<div class="container">
<div class="row">
@@ -209,8 +209,88 @@
</div>
</section>
<section class="section-parallax"
style="background-image:url('<?= base_url('f/b6e1fe7b54c60db4b2a36380948e932a?w=1920') ?> ')"></section>
<section class="section-parallax section-green">
<div class="container">
<div class="row">
<div class="col">
<h1>KOD Network</h1>
<p class="lead">
Jeder kennt die etablierten Netzwerke wie YouTube, Twitter, Instagram etc. Aber warum sollte man nicht einfach mal aus Spaß und um den Algorithmus-Giganten entgegenzuwirken sein eigenes soziales Netzwerk entwickeln? <br>
Genau, diese Frage habe ich mir nicht gestellt und wahrscheinlich auch niemand anderes. Dennoch ist das einfallsreich benannte Netzwerk <b>KOD Network</b> nun funktionsfähig...
</p>
<a href="<?= base_url('posts/popular') ?>" class="btn btn-default round">Beliebte Posts</a>
</div>
<div class="col">
</div>
</div>
</div>
</section>
<section class="dark">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4">
<h2><?= lang('home_active_users') ?></h2>
<?php foreach ($currentlyActiveUsers as $activeUser):
$loginTime = strtotime($activeUser['lastLogin']); ?>
<div class="user-item">
<img src="<?= $activeUser['profile_picture'] ?>?w=50" alt="" class="img-fluid rounded-circle">
<div class="user-info">
<a href="<?= base_url('user/' . $activeUser['username']) ?>">
<h2><?= $activeUser['displayname'] ?></h2>
</a>
<small><?= $activeUser['follower_count'] ?> Followers | online
seit <?= str_replace(['vor ', ' ago', 'il y a '], ['', '', ''], DateTimeHumanizer::difference(new \DateTime(), new \DateTime("@$loginTime"), $_SESSION['site_lang'])) ?></small>
</div>
</div>
<?php endforeach; ?>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4">
<h2><?= lang('home_newest_users') ?></h2>
<?php
foreach ($newestUsers as $newestUser):
$registeredDate = strtotime($newestUser['date_created']); ?>
<div class="user-item">
<img src="<?= $newestUser['profile_picture'] ?>?w=50" alt="" class="img-fluid rounded-circle">
<div class="user-info">
<a href="<?= base_url('user/' . $newestUser['username']) ?>">
<h2><?= $newestUser['displayname'] ?></h2>
</a>
<small><?= $newestUser['follower_count'] ?> Followers |
registriert
seit <?= str_replace(['vor ', ' ago', 'il y a '], ['', '', ''], DateTimeHumanizer::difference(new \DateTime(), new \DateTime("@$registeredDate"), $_SESSION['site_lang'])) ?></small>
</div>
</div>
<?php endforeach; ?>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4">
<h2><?= lang('home_newest_posts') ?></h2>
<ul class="comment-list">
<?php foreach ($newestPosts as $newestPost):
$this->load->view('network/posts/post_item', $newestPost);
endforeach; ?>
</ul>
</div>
</div>
</div>
</section>
<section class="section-parallax section-orange">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1>Portfolio</h1>
<p class="lead">
Seit ich angefangen habe YouTube-Videos hochzuladen, bin ich auch langsam in Richtung Design, Programmieren, Fotografie, Videoschnitt, Animation etc. hineingeraten. Mit der Zeit haben sich einige mehr oder weniger gute Projekte angehäuft, die ihr in meinem Portfolio betrachten könnt.
</p>
<a href="<?= base_url('projects') ?>" class="btn btn-default round">Projekte ansehen</a>
</div>
<div class="col-md-6">
</div>
</div>
</div>
</section>
<section class="container">
<h1>Social Media</h1>
@@ -281,59 +361,6 @@
</div>
</section>
<section class="dark">
<div class="container">
<h1>KOD Network</h1>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4">
<h2><?= lang('home_active_users') ?></h2>
<?php foreach ($currentlyActiveUsers as $activeUser):
$loginTime = strtotime($activeUser['lastLogin']); ?>
<div class="user-item">
<img src="<?= $activeUser['profile_picture'] ?>?w=50" alt="" class="img-fluid rounded-circle">
<div class="user-info">
<a href="<?= base_url('user/' . $activeUser['username']) ?>">
<h2><?= $activeUser['displayname'] ?></h2>
</a>
<small><?= $activeUser['follower_count'] ?> Followers | online
seit <?= str_replace(['vor ', ' ago', 'il y a '], ['', '', ''], DateTimeHumanizer::difference(new \DateTime(), new \DateTime("@$loginTime"), $_SESSION['site_lang'])) ?></small>
</div>
</div>
<?php endforeach; ?>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4">
<h2><?= lang('home_newest_users') ?></h2>
<?php
foreach ($newestUsers as $newestUser):
$registeredDate = strtotime($newestUser['date_created']); ?>
<div class="user-item">
<img src="<?= $newestUser['profile_picture'] ?>?w=50" alt="" class="img-fluid rounded-circle">
<div class="user-info">
<a href="<?= base_url('user/' . $newestUser['username']) ?>">
<h2><?= $newestUser['displayname'] ?></h2>
</a>
<small><?= $newestUser['follower_count'] ?> Followers |
registriert
seit <?= str_replace(['vor ', ' ago', 'il y a '], ['', '', ''], DateTimeHumanizer::difference(new \DateTime(), new \DateTime("@$registeredDate"), $_SESSION['site_lang'])) ?></small>
</div>
</div>
<?php endforeach; ?>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4">
<h2><?= lang('home_newest_posts') ?></h2>
<ul class="comment-list">
<?php foreach ($newestPosts as $newestPost):
$this->load->view('network/posts/post_item', $newestPost);
endforeach; ?>
</ul>
</div>
</div>
</div>
</section>
<section class="section-parallax"
style="background-image:url('<?= base_url('f/09ae7236fe64a83f41759413cdd6cf18?w=1920') ?>')"></section>
<section class="container">
<div class="row">
<h1 class="col-xs-12"><?= lang('home_posts') ?></h1>
@@ -380,10 +407,22 @@
</button>
</section>
<section class="section-parallax"
style="background-image:url('<?= base_url('f/aaddc4d0d5aa02b6cff5371c76a13e63?w=1920') ?>')"></section>
<section class="section-parallax section-red">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1>Blog</h1>
<p class="lead">
Seid ihr an Programmierung, Design, Technik, Internet, Aktuellem, Gaming, zufälligem Kram und mehr interessiert? Dann ist mein Blog zwar nicht die erste Anlaufstelle, dennoch könnte man ihn eventuell ein-zwei Mal berücksichtigen. Schaut doch einfach mal vorbei und lasst euch selbst überraschen.
</p>
<a href="<?= base_url('blog') ?>" class="btn btn-default round">Zum Blog</a>
</div>
<div class="col-md-6"></div>
</div>
</div>
</section>
<section class="section-red">
<section class="section">
<div class="container">
<div class="row">
<div class="col-sm-1">