Warning: Undefined array key "HTTPS" in /data/www/doku/BSDvideos/index.php on line 85
Warning: session_start(): Session cannot be started after headers have already been sent in /data/www/doku/BSDvideos/index.php on line 100
Warning: Undefined global variable $_SESSION in /data/www/doku/BSDvideos/index.php on line 101
Warning: Trying to access array offset on null in /data/www/doku/BSDvideos/index.php on line 101
Warning: Undefined array key "dir" in /data/www/doku/BSDvideos/index.php on line 2600
Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /data/www/doku/BSDvideos/index.php on line 207
Warning: Undefined array key "file" in /data/www/doku/BSDvideos/index.php on line 2601
Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /data/www/doku/BSDvideos/index.php on line 207
Warning: Cannot modify header information - headers already sent by (output started at /data/www/doku/BSDvideos/index.php:85) in /data/www/doku/BSDvideos/index.php on line 1863
Warning: Cannot modify header information - headers already sent by (output started at /data/www/doku/BSDvideos/index.php:85) in /data/www/doku/BSDvideos/index.php on line 1864
Warning: Cannot modify header information - headers already sent by (output started at /data/www/doku/BSDvideos/index.php:85) in /data/www/doku/BSDvideos/index.php on line 1865
var winW;
var winH;
if (document.documentElement && document.documentElement.clientWidth) {
winW = document.documentElement.clientWidth;
winH = document.documentElement.clientHeight;
} else if (document.body && document.body.clientWidth) {
winW = document.body.clientWidth;
winH = document.body.clientHeight;
} else {
winW = window.innerWidth;
winH = window.innerHeight;
}
//alert( navigator.appName + " window size is " + winW +" x "+ winH );
var ajax;
var isIE = false;
if (window.XMLHttpRequest) { // branch for native XMLHttpRequest object
ajax = new XMLHttpRequest();
} else if (window.ActiveXObject) { // branch for IE/Windows ActiveX version
isIE = true;
ajax = new ActiveXObject('MSXML2.XMLHTTP.3.0'); // this is what Microsoft recommends for IE5/IE6 (abort() method is not available)
}
if (!ajax) {
alert("Error initializing XMLHttpRequest!");
}
function getObjectByID(objectId) { // get an object by it's tag ID value
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
return document.all(objectId);
} else {
return false;
}
}
function addslashes(str) {
str=str.replace(/\'/g,'\\\'');
return str;
}
function stripslashes(str) {
str=str.replace(/\\'/g,'\'');
return str;
}
function trim(myString) {
return myString.replace(/^\s*|\s*$/g,"");
}
function editComment(comment_div, ctrl_div, filepath) {
var comment_obj = getObjectByID(comment_div);
var currentText = comment_obj.innerHTML;
if (currentText == '' ) currentText = 'put your description here';
comment_obj.innerHTML = '