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
_BI_sqlRECopy_Based.~
aktuális könyvtár:/home/ebonnhu1/cvteszt/_inc_BI_Based_BI_sqlRECopy_Based.~
___0 # <?php include("QJ_start.php"); //_inc_BI// 2012.10.28. 18:38:38 // 2015.04.29. 8:27:50
___1 #
___2 # $szin=" bgcolor='gold' ";
___3 #
___4 # if (isset($_GET[wjid])) $wjid=$_GET[wjid]; else $wjid=$_POST[wjid];
___5 #
___6 # if (isset($_GET[sqlfile])) $sqlfile=$_GET[sqlfile]; else
___7 # if (isset($_GET[tabla])) $sqlfile=$_GET[tabla]; else
___8 # if (isset($_POST[tabla])) $sqlfile=$_POST[tabla];
___9 #
__10 # if (isset($_POST[Qszin]) and $_POST[Qszin]=="yellow" ) $Qszin="silver"; else $Qszin="yellow";
__11 #
__12 # //BI_alert($sqlfile);
__13 #
__14 # $szin=" bgcolor='".$Qszin."' ";
__15 # if (isset($_POST[dupla])) $szin=" bgcolor='aqua' ";
__16 #
__17 # if ($wjid==-1 or isset($_POST[dupla]))
__18 # {
__19 #
__20 # $szin=" bgcolor='aqua' ";
__21 #
__22 #
__23 # $newcim = "INSERT INTO `$sqlfile`
__24 # ( `usr_kod`
__25 # ) VALUES
__26 # ( '$_SESSION[Qusr_kod]'
__27 # )";
__28 # mysql_query($newcim) or die($newcim."Hiba a $sqlfile insertben");
__29 #
__30 # $keres = "SELECT * FROM `$sqlfile` order by wid DESC";
__31 # $csor=mysql_query($keres) or die($keres."Hiba a $sqlfile select-ben");
__32 #
__33 # $cim_sor = mysql_fetch_array( $csor );
__34 # $wjid=$cim_sor[wid];
__35 # }
__36 #
__37 # $eredmeny = mysql_query('show fields from '.$sqlfile);
__38 # $fid='';
__39 #
__40 # while ($row =mysql_fetch_row($eredmeny))
__41 # {
__42 # $fid.=$row[0] . ":";
__43 # }
__44 #
__45 # $keres = "SELECT * FROM " . $sqlfile. ' WHERE wid='.$wjid;
__46 #
__47 #
__48 # $h=split(':',$fid);
__49 # $nur=count($h)-1;
__50 #
__51 # if ($_POST[W] or isset($_POST[dupla]))
__52 # {
__53 #
__54 #
__55 # $W=$_POST[W];
__56 # $parancs = "UPDATE ".$sqlfile." SET ";
__57 # $vesszo='';
__58 #
__59 # for($j=1;$j<$nur;$j++)
__60 # {
__61 #
__62 # if (isset($_POST[dupla]) and $h[$j]=="datum_kod") $W[$j]=$W[1]."D".substr("00000".$wjid,-5);
__63 # $adat=str_replace("'","~",$W[$j]);
__64 # // $parancs .=$vesszo.$h[$j]."='".$W[$j]."' ";
__65 # $parancs .=$vesszo.$h[$j]."='".$adat."' ";
__66 # $vesszo=', ';
__67 # }
__68 # $parancs .= " WHERE wid ='$wjid' LIMIT 1" ;
__69 #
__70 # //BI_alert($parancs);
__71 #
__72 #
__73 #
__74 # // echo ($parancs.'<br>'.mysql_error().'<br>');
__75 # $keres = "SELECT * FROM " . $sqlfile. ' WHERE wid='.$wjid;
__76 #
__77 # }
__78 #
__79 # $Qkeres = "SELECT wid FROM " . $sqlfile;
__80 #
__81 # $nurL=mysql_num_rows($Qeredmeny);
__82 #
__83 # //?//echo("<a href=javascript:window.close()><font color=blue size=+4>Vissza...</a>");
__84 #
__85 # $bup="<table border=1 $szin>";
__86 # $bup.="<FORM name=orderby action='BI_sqlRECopy.php?&wjid=$wjid&tabla=$sqlfile&sqlfile=$sqlfile' method='post'>";
__87 # //$bup="<FORM name=orderby action='../".$_SESSION['Qpath']."/BI_sqlRECopy.php?&wjid=$wjid&tabla=$sqlfile&sqlfile=$sqlfile' method='post'>";
__88 #
__89 #
__90 # //$bup.="<td align=left >";
__91 # $bup.="<tr><td align=right><input type='submit' value='>>>> Ment >>>>' name='submit'>
__92 # </td>";
__93 # $bup.="<td ><b><font color=blue size=+1> $sqlfile:<font color=blue size=+2>$wjid</font><font color=red size=+2>/$nurL</font></b>";
__94 # $bup.="<input type='hidden' value='$h[0]' name='Wjid'>";
__95 # $bup.="<input type='hidden' value='$Qszin' name='Qszin'>";
__96 #
__97 # $bup.="
__98 #
__99 # </td ><td ><input type='text' value='' name='hexa'></td>
_100 # </tr>";
_101 # $bup.="</table>
_102 #
_103 #
_104 # $r=mysql_fetch_row($eredmeny);
_105 #
_106 #
_107 # if (!isset($_SESSION[dump])) $submit="<td ><input type='submit' value='->Ment->' name='submit'</td>"; else $submit="";
_108 #
_109 #
_110 # $tr="</tr><tr>";
_111 # $colspan="";
_112 #
_113 # $trDB=0;
_114 # $tdSize=10;
_115 # if (strpos($szin,'silver')>0) $szin2=" bgcolor='gold' "; else $szin2=" bgcolor='LightCyan' "; // " bgcolor='".$Qszin."' ";
_116 #
_117 #
_118 # for($j=1;$j<$nur;$j++)
_119 #
_120 # {
_121 #
_122 # $bum='W['.$j.']';
_123 #
_124 #
_125 # if (strpos($h[$j],"memo")>0 or strpos($h[$j],"parancs")>0 or $SLEN>50 or strpos('?'.$h[$j],"sql_")>0 or
_126 # strpos($h[$j],"_Title")>0 or strpos($h[$j],"_jpg")>0) $tarea="Y"; else $tarea="N";
_127 #
_128 # if (strpos('?'.$h[$j],"datum")>0) $tfont="<font color=red>"; else $tfont="<font>";
_129 # if (strpos('?'.$h[$j],"cim")>0) $tfont="<font color=green>";
_130 #
_131 # if ($SLEN>3 or $trDB>2 or $tarea=="Y" OR !isset($_SESSION[dump]))
_132 # {
_133 # $tr="</tr></table><table border=1 $szin><tr>"; // <table border=1><td>??????</td></table> <td bgcolor=aqua>$SLEN/$trDB/$tarea</td> <td > </td>"; align=center
_134 # $trDB=0;
_135 # if ($SLEN<10) $tdSize=20; else $tdSize=50;
_136 # $colspan="";
_137 # }else {
_138 # $tr="";
_139 # ++$trDB;
_140 # $tdSize=10;
_141 # $colspan=" width=10 ";
_142 # }
_143 # //?//if (strpos($h[$j],"memo")>0 or strpos($h[$j],"parancs")>0 or $SLEN>30 or strpos('?'.$h[$j],"sql_")>0 or $tarea
_144 # //?// strpos($h[$j],"_Title")>0 or strpos($h[$j],"_jpg")>0) { align=right
_145 # //?// <div style="width:50px;overflow: hidden;">
_146 # //?// <span>A long string more than 50px wide</span>
_147 # //?// </div>
_148 # //?// td {
_149 # //?// width: 30px
_150 # //?// max-width: 30px;
_151 # //?// overflow: hidden;
_152 # //?// }
_153 # /*
_154 # <style type="text/css">
_155 #
_156 # table {
_157 # border-collapse: collapse;
_158 # margin: 20px 100px;
_159 # }
_160 #
_161 # td {
_162 # width: 100px;
_163 # height: 93px;
_164 # font: 8pt verdana;
_165 # text-align: center;
_166 # margin: 0px;
_167 # padding: 1px;
_168 # }
_169 #
_170 # td.normal {
_171 # background: #eef;
_172 # }
_173 #
_174 # td.outlined {
_175 # border: 1px black solid;
_176 # background: #efe;
_177 # }
_178 #
_179 # a.block:link {
_180 # display: block;
_181 # width: 100%;
_182 # height: 100%;
_183 # color: black;
_184 # text-decoration: none;
_185 # }
_186 #
_187 # a.block:visited {
_188 # display: block;
_189 # width: 100%;
_190 # height: 100%;
_191 # color: black;
_192 # text-decoration: none;
_193 # }
_194 #
_195 # a.block:hover {
_196 # color: white;
_197 # background: black;
_198 # }
_199 #
_200 # </style>
_201 # */
_202 # if ($tarea=="Y") {
_203 # if ($SLEN<100) $Arow=1; else $Arow=5;
_204 # $bup.=$tr."<tr>$submit<td bgcolor=$Fszin ><div style='width:150px;'> $tfont<b>".$h[$j].
_205 # "</b></font></div></td><td bgcolor=Pink><textarea style='font: 12pt verdana; background-color: Pink;' rows=$Arow cols=100 name='".$bum."'>".$r[$j]."</textarea></td>";
_206 # $trDB=100;
_207 # } else {
_208 # //?// $bup.="<td align=right width=10 bgcolor=silver>$tdSize ".$h[$j]."</td><td $colspan bgcolor=aqua >$SLEN / $colspan <input $ronly type='text' size=$tdSize value='".$r[$j]."' name='".$bum."'></td>".$tr;
_209 # $bup.=$tr."$submit<td $szin2><div style='width:150px;'> $tfont<b>".$h[$j].
_210 # "</b></font></div></td><td $colspan ><input $ronly type='text' size=$tdSize value='".$r[$j]."' name='".$bum."'></td>";
_211 # }
_212 # }
_213 # $bup.="</tr></table></form>";
_214 # echo($bup);
_215 # //?//echo("<a href=javascript:window.close()><font color=blue size=+4>Vissza...</a>");
_216 # ?>