root = $aRoot; $this->videoDir = $aVideoDir; $this->width = 320; $this->height = 240; } /* This function display All the video present on the video directory. */ function Affiche () { $rootDir = $this->root . $this->videoDir; $id = 0; $col = 1; if ($dh = opendir ($rootDir)) { print "
\n"; $FileName = explode( ".", $file); $docFileName = $rootDir . $FileName[0] . ".html"; $pFichier = @fopen ($docFileName,"r"); if ($pFichier == false) { echo ""; } else { while ( feof($pFichier) != 1 ) { $szLigne = fgets($pFichier); echo " | ";
$id += 1;
$col = $col + 1;
if ($col == 3) {
print "