diff --git a/js/iscroll-min.js b/js/iscroll-min.js old mode 100644 new mode 100755 diff --git a/js/main-min.js b/js/main-min.js old mode 100644 new mode 100755 diff --git a/js/playercontrols.js b/js/playercontrols.js old mode 100644 new mode 100755 diff --git a/php/footer-old.php b/php/footer-old.php old mode 100644 new mode 100755 diff --git a/php/nochan.php b/php/nochan.php index ab4ddcde..8d1b958e 100755 --- a/php/nochan.php +++ b/php/nochan.php @@ -23,7 +23,12 @@ foreach($dir as $files){ } } if($time_lasted < $time){ - array_push($channels, ucfirst(str_replace(".json", "", $files))); + $file = file_get_contents('./lists/'.$files); //Checking if the channel has the setting for showing on the frontpage set to true. + $data = json_decode($file, TRUE); + $conf = $data['conf']['frontpage']; + if($conf == "true"){ //If it is true, the channelname will be shown on the frontpage + array_push($channels, ucfirst(str_replace(".json", "", $files))); + } } array_push($all_channels, ucfirst(str_replace(".json", "", $files))); } diff --git a/static/GitHub_Logo.png b/static/GitHub_Logo.png old mode 100644 new mode 100755 diff --git a/static/ajax-loader.gif b/static/ajax-loader.gif old mode 100644 new mode 100755 diff --git a/static/bg1.jpg b/static/bg1.jpg old mode 100644 new mode 100755 diff --git a/static/bg2.jpg b/static/bg2.jpg old mode 100644 new mode 100755 diff --git a/static/bg3.jpg b/static/bg3.jpg old mode 100644 new mode 100755 diff --git a/static/bg4.jpg b/static/bg4.jpg old mode 100644 new mode 100755 diff --git a/static/bg5.jpg b/static/bg5.jpg old mode 100644 new mode 100755 diff --git a/static/controlstyle.css b/static/controlstyle.css old mode 100644 new mode 100755 diff --git a/static/open_sans.woff b/static/open_sans.woff old mode 100644 new mode 100755 diff --git a/static/player.webp b/static/player.webp old mode 100644 new mode 100755