Warning: include(QJ_start.php): failed to open stream: No such file or directory in /home/ebonnhu1/cvteszt/_inc_BI_Based/biedit.php on line 1
Warning: include(): Failed opening 'QJ_start.php' for inclusion (include_path='.:/opt/remi/php56/root/usr/share/pear:/opt/remi/php56/root/usr/share/php:/usr/share/pear:/usr/share/php') in /home/ebonnhu1/cvteszt/_inc_BI_Based/biedit.php on line 1
SWC-BiEdit
YQ_directory_Based.~
aktuális könyvtár:/home/ebonnhu1/cvteszt/_inc_BI_BasedYQ_directory_Based.~
___0 # <?php Session_start();
___1 # if (isset($_SESSION['Dump'])) echo("YQ_system_v01 *** ACTION =".$_SERVER[SCRIPT_NAME]." <hr>");
___2 # ?>
___3 # <HTML>
___4 # <HEAD>
___5 # <TITLE>Bi-Dir</TITLE>
___6 #
___7 # </HEAD>
___8 #
___9 # <?php
__10 #
__11 # if (isset($_GET[dirsave])) {
__12 #
__13 # if (isset($_SESSION["YQ_ind"]) and $_SESSION["YQ_ind"]<1) {
__14 # if (isset($_SESSION['Dump'])) {
__15 # include("QJ_varlist.php");
__16 # }
__17 #
__18 # echo "<script language = javascript>";
__19 #
__20 # echo "</script>";
__21 #
__22 # $start="sub_dir,".$_GET[dir];
__23 #
__24 # echo '<SCRIPT>
__25 # window.open("YQ_verzioVIEW.php?&start='.$start.'", "adatframe");
__26 # </script>';
__27 #
__28 # exit;
__29 # }
__30 #
__31 # $xx=$_SESSION["YQ_ind"];
__32 # $Yi=substr("000000".$xx,-6);
__33 # $parl=$_SESSION["YQ_".$Yi];
__34 #
__35 # $uprl='http://memobic.hu/eMemo/Doku/YQ_submenuINS.php';
__36 # $uprl='http://memobic.hu/eMemo/Doku/YQ_submenuINS.php?'.$parl.'&vissza='.$_SESSION[href];
__37 #
__38 # $uprl='http://www.memobic.hu/2015/BI15/YQ_submenuINS.php?'.$parl.'&vissza='.$_SESSION[href];
__39 #
__40 #
__41 # unset($_SESSION["YQ_".$Yi]);
__42 # --$xx;
__43 # $_SESSION["YQ_ind"]=$xx;
__44 #
__45 # //?//window.close();
__46 # //?//window.open('".$uprl."', '_self');
__47 #
__48 # if (isset($_SESSION['Dump']))
__49 # echo "+++++++ $xx +++++++<hr>".$parl."<hr>";
__50 #
__51 # /*if (isset($_SESSION['Dump']) and $xx>290) {
__52 # echo "+++++++ $xx +++++++<hr>".$parl."<hr>";
__53 # echo "<script language = javascript>";
__54 #
__55 # echo "</script>";
__56 #
__57 # }*/
__58 #
__59 # //echo "++++++++++++++<hr>".$uprl."<hr>";
__60 # //echo "++++++++++++++<hr>".$_SESSION[href]."<hr>";
__61 #
__62 # //?//$_SESSION[href]=$egy_sor[sub_dir]."/YQ_directory.php?&dir=$egy_sor[usr_kod]&dom=$egy_sor[domain_name]&group=$egy_sor[title]";
__63 #
__64 # echo "<script language = javascript>";
__65 # //?//echo "alert('".$xx."');";
__66 #
__67 # //?//
__68 # echo "window.open('".$uprl."', '_self');";
__69 #
__70 # //?//echo "window.open('http://memobic.hu/eMemo/Doku/YQ_submenuINS.php?&file=sys.html&fsize=1654', '_self');";
__71 # //echo "parent.location.href='".$uprl."'";
__72 # echo "</script>";
__73 #
__74 # exit;
__75 # }
__76 #
__77 # if (isset($_GET[file])) {
__78 #
__79 # $fajl=$_GET[file];
__80 #
__81 # //ECHO("
__82 # //<SCRIPT>
__83 # //parent.potframe.document.form.Bi_stop.value = '".$_GET[file]."';
__84 # //</SCRIPT>");
__85 #
__86 # ECHO($fajl."<hr>");
__87 #
__88 # $lines = file($fajl);
__89 # foreach ($lines as $line_num => $line) {
__90 # echo "Line #{$line_num}:<b>" . htmlspecialchars($line) . "</b> <br/>\n";
__91 # }
__92 #
__93 # exit;
__94 # }
__95 #
__96 #
__97 # $myFile = "YQ_dir.".$_GET[group];
__98 # $fh = fopen($myFile, 'w') or die("can't open file");
__99 #
_100 #
_101 # if (!isset($_GET["konyvtar"])) $konyvtar=getcwd(); else $konyvtar=$_GET["konyvtar"];
_102 # if (isset($_POST["konyvtar"])) $konyvtar=$_POST["konyvtar"];
_103 #
_104 # if (!isset($_SESSION[HOST])) $_SESSION[HOST]=$_ENV[HTTP_HOST];
_105 # if (!isset($_SESSION[ROOT])) $_SESSION[ROOT]=$_ENV[DOCUMENT_ROOT];
_106 # $_SESSION[PATH]="HTTP://".$_ENV[HTTP_HOST]."/".$_SESSION[Qpath]."";
_107 # $url=$_SESSION[PATH];
_108 #
_109 # if ($_GET[konyvtar]=="..") {$_GET[din]=-1;}
_110 #
_111 # ////////////////////////
_112 # if (isset($_GET[din])) {
_113 # ////////////////////////
_114 #
_115 # if ($_GET[din]==-1) {
_116 # $ind="BiDirName".$_SESSION[BiDirInd]; $_GET[konyvtar]="";
_117 # unset($_SESSION[$ind]);
_118 # }
_119 #
_120 # if (!isset($_SESSION[BiDirInd])) $_SESSION[BiDirInd]=0;
_121 # $_SESSION[BiDirInd]=$_SESSION[BiDirInd]+$_GET[din];
_122 #
_123 # if ($_SESSION[BiDirInd]<1) {
_124 # $konyvtar=getcwd(); $_SESSION[BiDirInd]=0;
_125 # $ind="BiDirName".$_SESSION[BiDirInd];
_126 # $_SESSION[$ind]=$konyvtar;
_127 #
_128 # } else {
_129 #
_130 # $ind="BiDirName".$_SESSION[BiDirInd];
_131 #
_132 # if ($_GET[din]>0) $_SESSION[$ind]=$_GET[konyvtar];
_133 # $url=$_SESSION[PATH];
_134 # $konyvtar=getcwd();
_135 # FOR ($i=1;$i<$_SESSION[BiDirInd]+1;$i++) {
_136 # $ind="BiDirName".$i;
_137 # $konyvtar.="/".$_SESSION[$ind];
_138 # $url.="/".$_SESSION[$ind];
_139 # }
_140 #
_141 # }} else {
_142 # $konyvtar=getcwd(); unset($_SESSION[BiDirInd]);
_143 # }
_144 #
_145 #
_146 # $_SESSION[konyvtar]=$konyvtar;
_147 # $ref= $_ENV[HTTP_REFERER];
_148 #
_149 #
_150 # if (isset($_SESSION[BiDirInd]) and $_SESSION[BiDirInd]>0)
_151 # $vissza='<a href="KH_directory.php?&din=-1">
_152 # <img widht=24 height=24 border=0 src="../_Screen/_minus.gif" ></A>';
_153 # else $vissza="";
_154 #
_155 # $vissza="";
_156 #
_157 # $ind="BiDirName".$_SESSION[BiDirInd];
_158 #
_159 # // ECHO("<h4><FONT COLOR=RED>".$_SESSION[$ind]."<br>".getcwd()."</I></FONT></h4>");
_160 # ECHO("<h4><FONT COLOR=RED>".$url."<br><FONT COLOR=blue>".getcwd()."</I></FONT></h4>");
_161 # echo(" <FORM name=orderby action='YQ_directory.php' method='POST' >");
_162 #
_163 # $padr=getcwd();
_164 #
_165 #
_166 # // echo($vissza);
_167 #
_168 # //ECHO("<h1>HTTP_HOST:<I>".$_ENV[HTTP_HOST]."<BR><FONT COLOR=RED>".$_SESSION[HOST]."</I></FONT></h1>");
_169 # //ECHO("<h2>DOCUMENT_ROOT:<I>".$_ENV[DOCUMENT_ROOT]."<BR><FONT COLOR=BLUE>".$_SESSION[ROOT]."</I></FONT></h2>");
_170 # //ECHO("<h3>PATH:<I>".$_SESSION[Qpath]."<BR><FONT COLOR=RED>".$_SESSION[PATH]."</I></FONT></h3>");
_171 #
_172 # $ind=strrpos($ref,"/");
_173 # Chdir($konyvtar);
_174 #
_175 # $ind=strrpos(substr($konyvtar,0,strlen($konyvtar)-1),"/");
_176 # if ($ind<15) $rest=""; else $rest = substr($konyvtar, $ind-strlen($konyvtar)+1);
_177 #
_178 # $rest = substr($konyvtar, $ind-strlen($konyvtar)+1);
_179 #
_180 # $_SESSION[IND]=$ind;
_181 # $_SESSION[REST]=$rest;
_182 #
_183 # if ($k_azon = opendir($konyvtar)) {
_184 # while (false !== ($fajl = readdir($k_azon))) {
_185 # $I++;
_186 # $tomb[$I] = $fajl;
_187 # }
_188 #
_189 # sort ($tomb);
_190 #
_191 #
_192 # //http://memobic.hu/eMemo/Doku/QJ_BI(c).php?&lognev=BI(c)
_193 #
_194 # $url="http://memobic.hu/eMemo/Doku/YQ_submenuINS.php";
_195 #
_196 # $url="YQ_directory.php?&dirsave=Y";
_197 #
_198 # //?// _Parent _self _blank _top Frame Specifications
_199 #
_200 # echo('
_201 # <a target=_self href='.$url.'>self
_202 #
_203 # </a>
_204 #
_205 # <table width=100% border=1 text=black bgcolor=#EDE275><font color="black">
_206 # ');
_207 #
_208 # $xx=0;
_209 #
_210 # $T_entry[$xx]=$_GET[dir];
_211 # $T_fsize[$xx]=$_GET[dom];
_212 # $T_ftime[$xx]=$_GET[group];
_213 # $te="";
_214 # $ts="";
_215 # $tt="";
_216 #
_217 # for ($j= 0; $j < $I; $j++) {
_218 #
_219 # $entry = $tomb[$j];
_220 # $ftype=filetype($entry);
_221 # $fsize=filesize($entry);
_222 #
_223 # $pos= strrpos($entry, ".");
_224 # $len= strlen($entry);
_225 # if($pos>0) $kit= substr($entry, $pos-$len+1); else $kit="";
_226 #
_227 #
_228 #
_229 #
_230 #
_231 #
_232 # $fnode= fileinode($entry);
_233 #
_234 # //parent.location.href='index.php';
_235 #
_236 # //echo "<script language = javascript>
_237 # //alert('".$entry.$_GET[dir]."');
_238 # //</script>";
_239 #
_240 #
_241 # //window.open('http://memobic.hu/eMemo/Doku/YQ_dirSAVE.php?&dir=".$_GET[dir]."&dom=".$_GET[dom]."&group=".$_GET[group]."', 'infoframe');
_242 #
_243 #
_244 # // date("F d Y H:i:s.", fileatime($filename));
_245 #
_246 # // $refP= '<a href="KH_directory.php?&din=+1&konyvtar='.$konyvtar.'/'.$entry.'/">
_247 #
_248 # //if($entry=="..") $ikon="_minus.gif"; else $ikon="_plus.gif";
_249 # if ($ftype=="file" ) {
_250 # ++$xx;
_251 #
_252 # /* echo '<tr><td ALIGN="right" >'.
_253 # $_GET[dir].
_254 # '</td><td ALIGN="right">'.
_255 # $_GET[dom].
_256 # '</td><td ALIGN="right">'.
_257 # $_GET[group].
_258 # '</td></tr>
_259 # ';
_260 # */
_261 # // if ($xx==1 )
_262 # //echo "<script language = javascript>
_263 # //window.open('http://memobic.hu/eMemo/Doku/YQ_dirSAVE.php?&dir=".$_GET[dir]."&dom=".$_GET[dom]."&group=".$_GET[group].
_264 # //"&entry=".$entry."&fsize=".$fsize."&ftime=".$ftime."', 'infoframe');
_265 # //</script>";
_266 #
_267 # $T_entry[$xx]=$entry;
_268 # $T_fsize[$xx]=$fsize;
_269 # $T_ftime[$xx]=$ftime;
_270 # $te.=$entry."/".$fsize."/".$ftime."//";
_271 # $tt.=$entry."~".$fsize."~".$ftime."~~";
_272 #
_273 #
_274 # $uprl='<a target=infoframe href="http://memobic.hu/eMemo/Doku/YQ_submenuINS.php?&file='.
_275 # $entry.'&fsize='.$fsize.'&ftime='.$ftime.'&ftime3='.$ftime3.'&padr='.$padr.'&dom='.$_GET[dom].'&dir='.$_GET[dir].'" >
_276 #
_277 #
_278 #
_279 # $parl='&file='.$entry.'&fsize='.$fsize.'&ftime='.$ftime.'&ftime3='.$ftime3.'&padr='.$padr.'&dom='.$_GET[dom].'&dir='.$_GET[dir].chr(10);
_280 # $parl='&file=\"'.$entry.'\"&fsize=\"'.$fsize.'\"&ftime=\"'.$ftime.'\"&ftime3=\"'.$ftime3.'\"&padr=\"'.$padr.'\"&dom=\"'.$_GET[dom].'\"&dir=\"'.$_GET[dir].'\"'.chr(10);
_281 # $parl='&file='.$entry.'&fsize='.$fsize.'&ftime='.$ftime.'&ftime3='.$ftime3.'&dom='.$_GET[dom].'&dir='.$_GET[dir].chr(10);
_282 # $parl='&file='.$entry.'&fsize='.$fsize.'&ftime='.$ftime.'&ftime3='.$ftime3.'&dom='.$_GET[dom];
_283 # $parl='&file='.$entry.'&fsize='.$fsize.'&ftime='.$ftime.'&ftime3='.$ftime3.'&dom='.$_GET[dom].'&dir='.$_GET[dir];
_284 #
_285 # $parl='&file='.$entry.'&fsize='.$fsize.'&ftime='.$ftime.'&ftime3='.$ftime3.'&padr='.$padr.'&dom='.$_GET[dom].'&dir='.$_GET[dir];
_286 #
_287 #
_288 #
_289 # fwrite($fh, $parl.chr(10));
_290 #
_291 # /*echo "<script language = javascript>
_292 # document.cookie='tlen='+".$parl.";
_293 # </script>";
_294 # */
_295 #
_296 #
_297 # //?//$_SESSION[href]=$egy_sor[sub_dir]."/YQ_directory.php?&dir=$egy_sor[usr_kod]&dom=$egy_sor[domain_name]&group=$egy_sor[title]";
_298 # $pos=strrpos($_ENV[HTTP_REFERER], '/');
_299 # $_SESSION[href]=substr($_ENV[HTTP_REFERER],0,$pos)."/YQ_directory.php";
_300 #
_301 # $_SESSION[href]="http://".$_GET[dom]."/".$_GET[dir]."/YQ_directory.php";
_302 #
_303 # if (isset($_SESSION['Dump'])) echo "~~~$_GET[dom]@@@$_SESSION[href]~~$_GET[dir]~<hr>";
_304 #
_305 # //?//echo "window.open('memobic.hu/eMemo/Doku/YQ_submenuINS.php?&file=sys.html&fsize=1654', '_self');";
_306 #
_307 #
_308 # //$_SESSION[href]=$egy_sor[sub_dir]."/YQ_directory.php?&dir=$egy_sor[usr_kod]&dom=$egy_sor[domain_name]&group=$egy_sor[title]";
_309 #
_310 #
_311 # //echo "<script language = javascript>
_312 # //document.cookie='T_entry".$xx."='+".$entry.";
_313 # //</script>";
_314 # $Yi=substr("000000".$xx,-6);
_315 #
_316 # $_SESSION["YQ_".$Yi]=$parl;
_317 #
_318 #
_319 # $refP= '<a href="KH_directory.php?&din=+1&konyvtar='.$entry.'">
_320 # <img widht=24 height=24 border=0 src="../_Screen/technorati.ico" >';
_321 #
_322 # echo '<tr><td ALIGN="right" >'.$xx.
_323 # '</td><td ALIGN="right">';
_324 # echo '<a style="background-color:#EDE275; font-size:20px;"
_325 # target=dirframe href="YQ_directory.php?&file='.$entry.'">'. $tomb[$j].'
_326 #
_327 # </a>
_328 # </td> ';
_329 # echo '<td ALIGN="right">
_330 # <a target=plusframe href="'.$entry.'"><img src="../_Screen/open.ico" border=0></a>
_331 # </td>';
_332 # echo '<td ALIGN="right">'.$uprl."</td>";
_333 # echo '<td ALIGN="right">'.$fsize."</td>";
_334 # echo '<td ALIGN="right">'.$ftime."</td>";
_335 # echo '<td ALIGN="right">'.$ftime3."</td>";
_336 # echo '</font></tr>';
_337 # }
_338 # }
_339 #
_340 # echo('</table>');
_341 # closedir($k_azon);
_342 #
_343 # }
_344 #
_345 #
_346 # $_SESSION["YQ_ind"]=$xx;
_347 #
_348 # //?//$_SESSION[T_entry]=$T_entry;
_349 # //?//$_SESSION[T_fsize]=$T_fsize;
_350 # //?//$_SESSION[T_ftime]=$T_ftime;
_351 #
_352 # //?//
_353 # if (isset($_SESSION['Dump'])) include("QJ_varlist.php");
_354 #
_355 # $k_azon = opendir($konyvtar);
_356 # dir_tree($konyvtar);
_357 #
_358 # function dir_tree($dir) {
_359 # $path = '';
_360 # $stack[] = $dir;
_361 # while ($stack) {
_362 # $thisdir = array_pop($stack);
_363 # if ($dircont = scandir($thisdir)) {
_364 # $i=0;
_365 # while (isset($dircont[$i])) {
_366 # if ($dircont[$i] !== '.' && $dircont[$i] !== '..') {
_367 # $current_file = "{$thisdir}/{$dircont[$i]}";
_368 # if (is_file($current_file)) {
_369 # $path[] = "{$thisdir}/{$dircont[$i]}";
_370 # } elseif (is_dir($current_file)) {
_371 # $path[] = "{$thisdir}/{$dircont[$i]}";
_372 # $stack[] = $current_file;
_373 # }
_374 # }
_375 # $i++;
_376 # }
_377 # }
_378 # }
_379 # }
_380 #
_381 #
_382 # //window.open('YQ_dirSAVE.php?&dir=".$_GET[dir]."&dom=".$_GET[dom]."&group=".$_GET[group]."', 'infoframe');
_383 # //include("QJ_varlist.php");
_384 # //document.cookie='valami='+".$te.";
_385 #
_386 # $l=strlen($te);
_387 # /*echo "<script language = javascript>
_388 # document.cookie='tlen='+".$l.";
_389 # document.cookie='tind='+".$xx.";
_390 # </script>";
_391 # */
_392 #
_393 # //window.open('http://memobic.hu/eMemo/Doku/YQ_dirSAVE.php?
_394 #
_395 # $te=$_GET[dir]."/".$_GET[dom]."/".$_GET[group]."/".$l."/".$xx."//".$te;
_396 #
_397 # /*echo "<script language = javascript>
_398 # alert('?SAve?');
_399 # window.open('http://memobic.hu/eMemo/Doku/YQ_dirSAVE.php?".$te."', 'eframe');
_400 # </script>";
_401 #
_402 #
_403 # $myFile = "YQ_dir.txt";
_404 # $fh = fopen($myFile, 'w') or die("can't open file");
_405 # $stringData = "Bobby Bopper\n";
_406 # fwrite($fh, $stringData);
_407 # $stringData = "Tracy Tanner\n";
_408 # fwrite($fh, $stringData);
_409 # fclose($fh);
_410 # */
_411 #
_412 # fclose($fh);
_413 #
_414 #
_415 # ?>
_416 #