diff --git a/static/includes/randomcards.php b/static/includes/randomcards.php new file mode 100644 index 0000000..534478b --- /dev/null +++ b/static/includes/randomcards.php @@ -0,0 +1,38 @@ + + + + + + '; +} +elseif($extension == "jpeg") { + echo ' + + + + + '; +} +elseif($extension == "png") { + echo ' + + + + + '; +} +else { + echo ' + + + + +'; +} + +?> diff --git a/static/includes/randomopengraph.php b/static/includes/randomopengraph.php new file mode 100644 index 0000000..ba485ac --- /dev/null +++ b/static/includes/randomopengraph.php @@ -0,0 +1,26 @@ + + + '; +} +elseif($extension == "jpeg") { + echo ' + + '; +} +elseif($extension == "png") { + echo ' + + '; +} +else { + echo ' + + '; +} + +?> diff --git a/static/includes/randompreview.php b/static/includes/randompreview.php new file mode 100644 index 0000000..2044302 --- /dev/null +++ b/static/includes/randompreview.php @@ -0,0 +1,32 @@ +Get a browser that supports WebM fag.'; +} +elseif($extension == "mp4") { + echo ' +

Some MP4 files will play, some will not. There is unfortunately nothing we can do about this.

'; +} +elseif($extension == "jpg") { + echo ''; +} +elseif($extension == "jpeg") { + echo ''; +} +elseif($extension == "png") { + echo ''; +} +elseif($extension == "gif") { + echo ''; +} +elseif($extension == "mp3") { + echo '