-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
40 lines (39 loc) · 1.16 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
define("_VALID_PHP", true);
define("TITLE", "Home");
require_once($_SERVER ['DOCUMENT_ROOT'] . "/lib/init.php");
?>
<style>
.ui-effects-transfer {
border: 2px solid black;
}
</style>
<div class='left-content'>
<div id='slider-wrapper'>
<div id='slider'>
<iframe width="620" height="350" src="https://www.youtube.com/embed/SR_J-1axNl4" frameborder="0"
allowfullscreen></iframe>
</div>
</div>
<div class='news-container'>
<ul>
<?php $user->getModule("NewsFeed")->load(); ?>
</ul>
</div>
</div>
<?php
$sys->displayStruct("sidebar");
$sys->displayStruct("footer");
?>
<script>
$(document).ready(function () {
$(".collapsed").each(function () {
$(this).find(".collapsible").hide();
$(this).find(".minimize").html('<i class="fa fa-plus"></i>');
});
$(".minimize").click(function () {
$(this).closest(".news-row").find(".collapsible").slideToggle(500);
$(this).html($(this).html() == '<i class="fa fa-plus"></i>' ? '<i class="fa fa-minus"></i>' : '<i class="fa fa-plus"></i>');
});
});
</script>