<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles3.css">
<title>Video Host</title>
<style type="text/css">
video {
height: 300px;
width: 300px;
margin-top:5px;
/* Rounded corners (Firefox 5 only) */
-moz-border-radius:20px;
-webkit-border-radius:20px;
border-radius:10px;
overflow: hidden;
}
</style>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<script>document.write('<base href="' + document.location + '" />');</script>
<script data-require="angular.js@1.5.x" src="https://code.angularjs.org/1.5.8/angular.js" data-semver="1.5.8"></script>
<script src="https://laudible.co/app.js"></script>
</head>
<body>
<main>
<left>
<div class="feed__item">
<div class="gallery">
<video controls="controls">
<!-- t9b3 HOSTS!, PLEASE don't delete this tag marker, or insert anything in between this tag and the File name. -->
<source src="VVV.mp4" type="video/mp4" /></video>
<!-- t9b3 HOSTS!, PLEASE don't delete this tag marker, or insert anything in between this tag and the Individual description. -->
<div class="desc">ZZZ</div>
</div>
</a>
<form method = "POST">
<textarea name="text" maxlength="500"></textarea>
<input type="submit" value="Post Comment"></input>
</form>
<font size="4">
<textarea id="text" name="text" cols="120" rows="20" style="width: 400px; height: 470px" readonly>
<?php
// t9b3 HOSTS!, PLEASE don't delete this tag marker, or insert anything in between this tag and the 'FileName'.txt value below.
$filename = 'VVV.txt';
if (isset($_POST["text"]) && filesize($filename) < 30001) {
$date=date("Y-m-d H:i:s");
$txt = $_POST["text"];
// t9b3 HOSTS!, PLEASE don't delete this tag marker, or insert anything in between this tag and the 'FileName'_comments.txt value below.
$fp = fopen("VVV_comments.txt", "a+");
fwrite($fp, $txt . PHP_EOL);
fclose($fp);
$dt = $_POST[("date")];
// t9b3 HOSTS!, PLEASE don't delete this tag marker, or insert anything in between this tag and the 'FileName'_comments.txt value below.
$fp = fopen("VVV_comments.txt", "a+");
fwrite($fp, "$date\r\n");
fwrite($fp, $dt . PHP_EOL);
fclose($fp);
}
if (isset($_POST["text"]) && filesize($filename) > 30000) {
echo "Sorry, comments for this entry are full.";
}
{
// t9b3 HOSTS!, PLEASE don't delete this tag marker, or insert anything in between this tag and the 'FileName'_comments.txt value below.
$data = file_get_contents("VVV_comments.txt");
echo $data;
}
?>
</textarea>
</main>
</body>
</html>