<?php /* * see for the configgration in the folder : php_api /streamconfig.php * * kijk voor de configratie in de map : php_api /streamconfig.php */ define('_BOANN', 1); include_once dirname(__FILE__) . '/php_api/stream.php'; $stream = new \boann\stream(); ?> <title>Webplayer</title> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="js/flashcheck.js"></script> <body> <span id="nowplaying" style="display: inline;"></span> <br><br> <div id="player"> <strong>Sorry, je hebt Flash versie 10 of hoger nodig om te luisteren.</strong><br /> <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Download Flash hier.</a> </div> <script type="text/javascript"> if(FlashDetect.versionAtLeast(10)){ var so = new SWFObject("flashe/nativeradio2small.swf", "flashe/nativeradio2small", "300", "50", "10", "#999"); so.addParam("scale", "noscale"); so.addVariable("swfcolor", "0077B7"); so.addVariable("swfwidth", "300"); so.addVariable("swfradiochannel", "<?php
<?php define('_BOANN', 1); include_once dirname(__FILE__) . '/php_api/stream.php'; $stream = new \boann\stream(); if ($stream->artiest() < 404) { ?> <strong>Nu Draait :</strong> <?php echo $stream->artiest(); ?> - <?php echo $stream->title(); } else { ?> hellaas zijn wij offline <?php }
<?php define('_BOANN', 1); include_once dirname(__FILE__) . '/php_api/stream.php'; $stream = new \boann\stream(); $errors = array(); if (empty($_POST) === false) { $password = $_POST['password']; $password_agian = $_POST['password_again']; if ($password !== deejaypass) { $errors[] = 'Stream Password is verkeerd'; } elseif ($password !== $password_agian) { $errors[] = 'Password komt niet over een met Herhaal Password'; } else { $stream->KickStream(); $success = '<strong>Kicken is gelukt</strong>'; } } ?> <title>Kick Stream</title> <h1>Kick Stream</h1> <?php echo implode('<br>', $errors); echo $success; ?> <hr>