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
_BIsourcEdit_Based.~
aktuális könyvtár:/home/ebonnhu1/cvteszt/_inc_BI_Based_BIsourcEdit_Based.~
___0 # <?php // include("QJ_start.php");
___1 #
___2 # $szin=" style='font: 12pt verdana; background-color: Pink;' ";
___3 # if(isset($_GET[source])) {
___4 # $_POST['uploaded']=$_GET[source];
___5 # $_POST[Emod]=2;
___6 # }
___7 #
___8 # if(isset($_GET[info])) {
___9 # if($_GET[info]=="head") {
__10 # $sourceURL="<A target=sframe href='biedit.php?source=$_GET[source]' ><IMG width=30 height=30 SRC='../../_Screen_Based/help.png' border=0></a>";
__11 #
__12 # $url=str_replace(".~","",$_GET[source]);
__13 # $runURL="<A target=sframe href='$url' ><IMG width=30 height=30 SRC='../../_Screen_Based/run.bmp' border=0></a>";
__14 #
__15 # $saveURL="<A target=sframe href='$_GET[source]' ><IMG width=30 height=30 SRC='../../_Screen_Based/save.png' border=0></a>";
__16 # $editURL="<A target=sframe href='$_GET[source]' ><IMG width=30 height=30 SRC='../../_Screen_Based/edit.png' border=0></a>";
__17 # print "<h1><center>$sourceURL $runURL <font color=red><i>".$_GET[source].
__18 # "</i></font> $saveURL $editURL</center></H1>";
__19 # } else {
__20 # Bi_LineIr($_GET[source],$_GET[info]);
__21 # // include("QJ_varlist.php");
__22 # }
__23 # exit;
__24 # }
__25 #
__26 # if (isset($_POST[Emod]) and $_POST[Emod]<>1){
__27 #
__28 # $fajl=trim($_POST['uploaded']);
__29 # if(file_exists($fajl))
__30 # { $source="";
__31 # $lines = file($fajl);
__32 # foreach ($lines as $line_num => $line) {
__33 # $source=$source.$line;
__34 # }
__35 # $_GET['msgarea']=$source;
__36 # }} else {
__37 # $szin=" style='font: 12pt verdana; background-color: White;' ";
__38 # }
__39 #
__40 #
__41 # ?>
__42 # <title>SWC-BiEdit</title>
__43 #
__44 # <body background='Qhat.gif'>
__45 #
__46 # <form enctype="multipart/form-data" action="biedit.php" method="POST">
__47 # <input name="uploaded" type="text" size=100 value="<?php echo($_POST['uploaded']); ?>" /> File <br />
__48 # <TEXTAREA NAME = "msgarea" COLS = 100 ROWS = 15 <?php echo($szin); ?>>
__49 # <?php echo(htmlspecialchars($_GET['msgarea'])); ?>
__50 # </TEXTAREA>
__51 # <br>
__52 # <INPUT TYPE='radio' NAME='Emod' value=1 <?php if ($_POST[Emod]==1) echo("CHECKED"); ?> >
__53 # Write:
__54 # <INPUT TYPE='radio' NAME='Emod' value=2 <?php if ($_POST[Emod]==2) echo("CHECKED"); ?> >
__55 # Read:
__56 # <INPUT TYPE='radio' NAME='Emod' value=3 <?php if ($_POST[Emod]==3) echo("CHECKED"); ?> >
__57 # Clear:
__58 #
__59 # <input type="submit" value="SUBMIT" />
__60 # </form>
__61 #
__62 # <?php
__63 #
__64 #
__65 # IF ($_POST[Emod]==2) {
__66 #
__67 # $fajl=trim($_POST['uploaded']);
__68 #
__69 # $source="";
__70 #
__71 #
__72 #
__73 # //print $fajl."\n<HR>";
__74 #
__75 # Bi_LineIr($fajl);
__76 #
__77 # /*
__78 # $lines = file($fajl);
__79 #
__80 # foreach ($lines as $line_num => $line) {
__81 # // echo "Line #{$line_num}:<b>" . htmlspecialchars($line) . "</b> <br/>\n";
__82 # // echo htmlspecialchars($line) . "<br/>\n";
__83 # $sor=substr(" ".$line_num,-6)." # ";
__84 # $sor=str_replace(" "," ",$sor);
__85 # echo $sor.htmlspecialchars($line) . "<br/>\n";
__86 # $source=$source.htmlspecialchars($line) . "\n";
__87 # }
__88 # $_GET['msgarea']=$source;
__89 #
__90 # */
__91 # print "\n<HR>";
__92 #
__93 # echo "<script language = javascript>
__94 # window.open('biedit.php?&source=$fajl&info=yes','adatframe');
__95 # window.open('biedit.php?&source=$fajl&info=head','alfej');
__96 # </script>";
__97 #
__98 # }
__99 #
_100 # //if (isset($_POST[SUBMIT])) {
_101 #
_102 # IF ($_POST[Emod]==1) {
_103 #
_104 # $file_name= trim($_POST['uploaded']);
_105 # if(file_exists($file_name))
_106 # {
_107 # //open file for writng and place pointer at the end
_108 # // $handle = fopen($file_name, 'a+');
_109 # $handle = fopen($file_name, 'w');
_110 #
_111 # if(!$handle)
_112 # {
_113 # die("couldn't open file <i>$file_name</i>");
_114 # }
_115 #
_116 # //place pointer at the beginning of the file.
_117 # rewind($handle);
_118 #
_119 # //write to file
_120 # fwrite($handle, $_POST['msgarea']);
_121 #
_122 # Bi_LineIr($file_name);
_123 #
_124 # /*
_125 # $fajl=$file_name;
_126 # if(file_exists($fajl))
_127 # {
_128 # print $fajl."\n<HR>";
_129 # $lines = file($fajl);
_130 # foreach ($lines as $line_num => $line) {
_131 # $sor=substr(" ".$line_num,-6)." # ";
_132 # $sor=str_replace(" "," ",$sor);
_133 # echo $sor.htmlspecialchars($line) . "<br/>\n";
_134 # }
_135 # }*/
_136 #
_137 # echo "<hr> success writing to file";
_138 # }
_139 # else
_140 # {
_141 # echo "file <i>$file_name</i> doesn't exists";
_142 # }
_143 # fclose($handle);
_144 #
_145 # $_POST['uploaded']=$file_name;
_146 #
_147 # echo "<script>";
_148 #
_149 # echo "document.location='biedit.php?&source='$file_name'";
_150 # echo "</script>";
_151 #
_152 #
_153 # }
_154 #
_155 # IF ($_POST[Emod]===3) {
_156 # $_GET[msgarea]="*";
_157 # echo "<script>";
_158 # echo "document.location='biedit.php'";
_159 # echo "</script>";
_160 # }
_161 #
_162 # ////////
_163 # function Bi_LineIr($filenev,$info="")
_164 # ////////
_165 # {
_166 # $fajl=$filenev;
_167 # if(file_exists($fajl))
_168 # {
_169 # print $fajl."\n<HR>";
_170 # $lines = file($fajl);
_171 # foreach ($lines as $line_num => $line) {
_172 # $szinBE="";
_173 # $szinKI="";
_174 # $sor=substr("______".$line_num,-4)." # ";
_175 # $sor=str_replace(" "," ",$sor);
_176 # $sor=str_replace("*"," ",$sor);
_177 # $incFile="";
_178 #
_179 # if (strpos("?".$line,"Session_start")>0) {$szinBE="<font size=+2 color=blue>"; $szinKI="</font>";}
_180 # if (strpos("?".$line,"<img ")>0) {$szinBE="<font size=+2 color=green><i>"; $szinKI="</i></font>";}
_181 #
_182 # if (strpos("?".$line,"include")>0) {
_183 # $k=strpos("?".$line,"include(");
_184 # $incFile=substr($line,-1*(strlen($line)-$k-8));
_185 # $k=strpos($incFile,");");
_186 # $incFile=substr($incFile,0,$k-1);
_187 # $szinBE="<font size=+2 color=red>"; $szinKI="</font>"; // ***$incFile***";
_188 # }
_189 # if (strpos("?".$line,"QJ_start.php")>0) {
_190 # $szinBE="<font size=+2 color=green>"; $szinKI="</font>";
_191 #
_192 # }
_193 # echo $sor.$szinBE.htmlspecialchars($line).$szinKI. "<br/>\n";
_194 # if ($incFile<>"" and $info<>"") {
_195 # Bi_incLine($incFile);
_196 # }
_197 # }
_198 # }
_199 # return $fajl;
_200 # }
_201 #
_202 # ////////
_203 # function Bi_incLine($filenev)
_204 # ////////
_205 # {
_206 # $fajl=$filenev;
_207 # if(file_exists($fajl))
_208 # {
_209 # $fajlURL="<a target=sframe href='biedit.php?source=$fajl'>$fajl</a>";
_210 # print "<hr><center><font color=red><i>".$fajlURL."</i></font></center>\n<HR>";
_211 # $lines = file($fajl);
_212 # foreach ($lines as $line_num => $line) {
_213 # $szinBE="";
_214 # $szinKI="";
_215 #
_216 # $sor=str_replace(" "," ",$sor);
_217 # $sor=str_replace("*"," ",$sor);
_218 #
_219 # $incFile="";
_220 #
_221 # if (strpos("?".$line,"Session_start")>0) {$szinBE="<font size=+2 color=blue>"; $szinKI="</font>";}
_222 # if (strpos("?".$line,"<img ")>0) {$szinBE="<font size=+2 color=green><i>"; $szinKI="</i></font>";}
_223 #
_224 # if (strpos("?".$line,"include")>0) {
_225 # $k=strpos("?".$line,"include(");
_226 # $incFile=substr($line,-1*(strlen($line)-$k-8));
_227 # $k=strpos($incFile,");");
_228 # $incFile=substr($incFile,0,$k-1);
_229 # $szinBE="<font size=+2 color=red>";
_230 # $szinKI="</font> <a target=sframe href='biedit.php?source=$incFile&old=$fajl'>$incFile</a>";
_231 # //***$incFile***";
_232 # }
_233 #
_234 # if (strpos("?".$line,"QJ_start")>0) {$szinBE="<font size=+2 color=green>"; $szinKI="</font>";}
_235 # if (strpos("?".$line,"bilib.")>0) {$szinBE="<font size=+2 color=green><i>"; $szinKI="</i></font>";}
_236 #
_237 # echo $sor.$szinBE.htmlspecialchars($line).$szinKI. "<br/>\n";
_238 # /* if ($incFile<>"" and $info<>"") {
_239 # Bi_incLine($incFile);
_240 # }*/
_241 # }
_242 # }
_243 # print "<hr><center><font color=red><i>End of ".$fajl."</i></font></center>\n<HR>";
_244 # return $fajl;
_245 # }
_246 #
_247 # ?>
_248 # </body>