2021-08-09 22:36:25 +02:00
< ? php
require_once ( 'conf.php' );
require_once ( 'functions.php' );
$videosList = array ();
2021-09-04 01:43:25 +02:00
// HOWTO PASS Query parameters to exec ?
2021-08-10 02:06:10 +02:00
exec ( " /bin/bash -c './get_astrxbian_index.sh F' " , $videos );
2021-08-12 02:05:32 +02:00
exec ( " /bin/bash -c './check_my_wallet.sh' " , $gg1 );
2021-08-11 23:09:30 +02:00
2021-08-09 22:36:25 +02:00
$videos = array_reverse ( $videos );
// ## film;MDan5TDuT-0;;Le Manuel de Survie en Dictature v1.1 au format papier;;["onelove"];k51qzi5uqu5dl0hnglpzumjezep2avacrtbx7i15v91elcxac4cpd8290kl1hq;720p;/ipfs/QmZp63RXhLm6QASmw1t2R8fu5waSJFmyW7cmdVNxyuJXzg/MDan5TDuT-0_Le%20Manuel%20de%20Survie%20en%20Dictature%20v1.1%20au%20format%20papier.mp4
foreach ( $videos as $v ) {
list ( $a , $youtubeID , $c , $videoName , $e , $src , $h , $quality , $videoURI ) = explode ( " ; " , $v );
$videoURL = 'https://' . HOST . $videoURI ;
$videoEco = 'https://' . HOST . '/ipns/' . $h ;
$mimeType = guessTypeFromFilename ( $videoURI );
if ( $mimeType == 'video/mp4' ) {
$videosList [] = [
'mime' => $mimeType ,
'url' => $videoURL ,
'eco' => $videoEco ,
'uri' => $videoURI ,
'mediakeyipns' => $h ,
'name' => $videoName ,
'youtubeID' => $youtubeID
];
}
}
?> <!DOCTYPE html>
< html >
< head >
2021-08-10 01:22:27 +02:00
< title > Astro CLUB - < ? php echo $gg1 [ 0 ]; ?> JUNE</title>
2021-08-11 06:10:33 +02:00
< link rel = " stylesheet " href = " /ipfs/QmPC5MTqt4do7emMUV4z7feYbjSGoX4kdDYVKB6jU3rEKk/crowdbunker.css " type = " text/css " />
2021-08-09 22:36:25 +02:00
< link rel = " icon " type = " image/png " href = " ./astrocrowdbunker.png " />
</ head >
< body >
< header >
< h1 >
2021-08-10 00:49:15 +02:00
< a href = " https://copylaradio.com " >< span > Astroport </ span > CopyLaRadio < span > Video CLUB Libre entre Amis </ span ></ a >
2021-08-09 22:36:25 +02:00
</ h1 >
</ header >
< main >
2021-08-09 22:42:33 +02:00
2021-08-10 00:56:06 +02:00
< div data - v - 6 d6cec84 = " " >< div two - line = " " class = " v-banner v-sheet theme--dark v-banner--has-icon " >< div class = " v-banner__wrapper " >< div class = " v-banner__content " >
2021-08-10 00:49:15 +02:00
< div class = " v-banner__actions " >
2021-08-10 00:53:27 +02:00
< a href = " https://gchange.fr " >
2021-08-10 00:49:15 +02:00
< button type = " button " class = " ml-0 v-btn v-btn--text theme--dark v-size--default primary--text " >< span class = " v-btn__content " > Rendez - vous sur Gchange </ span >
2021-08-10 00:53:27 +02:00
</ a >
2021-08-10 01:55:40 +02:00
< br >< br >
2021-08-10 01:54:31 +02:00
< a href = " https://cesium.app " > Ouvrez un simple portefeuille Cesium </ a >
2021-08-10 01:54:01 +02:00
< br > ( utilisez les même passe phrases )
2021-08-10 01:56:59 +02:00
</ button >
2021-08-10 01:54:01 +02:00
</ div >
2021-08-10 01:16:42 +02:00
< div class = " v-banner__text " > Astroport protège votre < b > liberté numérique .</ b >
C 'est un centre d' hébergement qui partage ses données entre amis exclusivement hébergée par vos soins !
2021-08-10 01:55:40 +02:00
< br > Toute contribution y est rétribuée dans la première Monnaie Libre G1 .
Utilisez vos Junes pour faire des dons à vos medias favoris pour payer leur hébergement et remercier leur auteur .< br >< br >
2021-08-10 01:16:42 +02:00
</ div >
2021-08-10 00:56:06 +02:00
</ div >< div role = " dialog " class = " v-dialog__container " ><!----></ div ></ div >
2021-08-09 22:36:25 +02:00
< ? php
echo '<ul id="videosList">' ;
foreach ( $videosList as $video ) {
echo '<li>' ;
// $href = 'youtube_watch.php?uri='. $video['uri'] . '&name='. urlencode($video['name']) .'&mime='. $video['mime'];
echo '
< a href = " '. $video['eco'] .' " >
< img src = " '. sprintf(MEDIAQR, $video['mediakeyipns'] ) . ' " alt = " '. $video['name'] . ' " />
</ a >
< p class = " video-title " >
< a href = " '. $video['eco'] .' " >
' . $video[' name '] . '
</ a >
</ p > ' ;
echo '</li>' ;
}
echo '</ul>' ;
?>
</ main >
</ body >
</ html >