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.inc
aktuális könyvtár:/home/ebonnhu1/cvteszt/_inc_BI_Based_BI_sqlRECopy.inc
___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 #
__88 # //$bup="<FORM name=orderby action='../".$_SESSION['Qpath']."/BI_sqlRECopy.php?&wjid=$wjid&tabla=$sqlfile&sqlfile=$sqlfile' method='post'>";
__89 #
__90 #
__91 # //$bup.="<td align=left >";
__92 # $bup.="<tr><td align=right><input type='submit' value='>>>> Ment >>>>' name='submit'>
__93 # </td>";
__94 # $bup.="<td align=center><b><font color=blue size=+1>BI_sqlRECopy`2016<br>$_SESSION[Qdata_base]<br>$sqlfile:<font color=blue size=+2>$wjid</font>
__95 # <font color=red size=+2>/$nurL</font></b>";
__96 # $bup.="<input type='hidden' value='$h[0]' name='Wjid'>";
__97 # $bup.="<input type='hidden' value='$Qszin' name='Qszin'>";
__98 #
__99 # $bup.="
_100 #
_101 #
_102 #
_103 # style='font: 10pt verdana; background-color: aqua;'></td>
_104 # </tr>";
_105 # $bup.="</table>
_106 #
_107 #
_108 # $r=mysql_fetch_row($eredmeny);
_109 #
_110 #
_111 # if (!isset($_SESSION[dump])) $submit="<td ><input type='submit' value='->Ment->' name='submit'</td>"; else $submit="";
_112 #
_113 #
_114 # $tr="</tr><tr>";
_115 # $colspan="";
_116 #
_117 # $trDB=0;
_118 # $tdSize=10;
_119 # if (strpos($szin,'silver')>0) $szin2=" bgcolor='gold' "; else $szin2=" bgcolor='LightCyan' "; // " bgcolor='".$Qszin."' ";
_120 #
_121 #
_122 # for($j=1;$j<$nur;$j++)
_123 #
_124 # {
_125 #
_126 # $bum='W['.$j.']';
_127 #
_128 #
_129 # if (isset($_POST[frissit]) and isset($_POST[hexa]) and $_POST[hexa]<>"" and $_POST[hexa]==$h[$j]) {
_130 # $hexIN=$r[$j];
_131 # include("../../_inc_BI_Based/_BI_hexaKONV.~~");
_132 # $bup.=$tr.$_POST[hexa]."</td></tr><tr>".$hexa."</td>";
_133 # }
_134 #
_135 # if (strpos($h[$j],"memo")>0 or strpos($h[$j],"parancs")>0 or $SLEN>50 or strpos('?'.$h[$j],"sql_")>0 or
_136 # strpos($h[$j],"_Title")>0 or strpos($h[$j],"_jpg")>0) $tarea="Y"; else $tarea="N";
_137 #
_138 # if (strpos('?'.$h[$j],"datum")>0) $tfont="<font color=red>"; else $tfont="<font>";
_139 # if (strpos('?'.$h[$j],"cim")>0) $tfont="<font color=green>";
_140 #
_141 # if ($SLEN>3 or $trDB>2 or $tarea=="Y" OR !isset($_SESSION[dump]))
_142 # {
_143 # $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
_144 # $trDB=0;
_145 # if ($SLEN<10) $tdSize=20; else $tdSize=50;
_146 # $colspan="";
_147 # }else {
_148 # $tr="";
_149 # ++$trDB;
_150 # $tdSize=10;
_151 # $colspan=" width=10 ";
_152 # }
_153 # //?//if (strpos($h[$j],"memo")>0 or strpos($h[$j],"parancs")>0 or $SLEN>30 or strpos('?'.$h[$j],"sql_")>0 or $tarea
_154 # //?// strpos($h[$j],"_Title")>0 or strpos($h[$j],"_jpg")>0) { align=right
_155 # //?// <div style="width:50px;overflow: hidden;">
_156 # //?// <span>A long string more than 50px wide</span>
_157 # //?// </div>
_158 # //?// td {
_159 # //?// width: 30px
_160 # //?// max-width: 30px;
_161 # //?// overflow: hidden;
_162 # //?// }
_163 # /*
_164 # <style type="text/css">
_165 #
_166 # table {
_167 # border-collapse: collapse;
_168 # margin: 20px 100px;
_169 # }
_170 #
_171 # td {
_172 # width: 100px;
_173 # height: 93px;
_174 # font: 8pt verdana;
_175 # text-align: center;
_176 # margin: 0px;
_177 # padding: 1px;
_178 # }
_179 #
_180 # td.normal {
_181 # background: #eef;
_182 # }
_183 #
_184 # td.outlined {
_185 # border: 1px black solid;
_186 # background: #efe;
_187 # }
_188 #
_189 # a.block:link {
_190 # display: block;
_191 # width: 100%;
_192 # height: 100%;
_193 # color: black;
_194 # text-decoration: none;
_195 # }
_196 #
_197 # a.block:visited {
_198 # display: block;
_199 # width: 100%;
_200 # height: 100%;
_201 # color: black;
_202 # text-decoration: none;
_203 # }
_204 #
_205 # a.block:hover {
_206 # color: white;
_207 # background: black;
_208 # }
_209 #
_210 # </style>
_211 # */
_212 # if ($tarea=="Y") {
_213 # if ($SLEN<100) $Arow=1; else $Arow=5;
_214 # $bup.=$tr."<tr>$submit<td bgcolor=$Fszin ><div style='width:150px;'> $tfont<b>".$h[$j].
_215 # "</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>";
_216 # $trDB=100;
_217 # } else {
_218 # //?// $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;
_219 # $bup.=$tr."$submit<td $szin2><div style='width:150px;'> $tfont<b>".$h[$j].
_220 # "</b></font></div></td><td $colspan ><input $ronly type='text' size=$tdSize value='".$r[$j]."' name='".$bum."'></td>";
_221 # }
_222 # }
_223 # $bup.="</tr></table></form>";
_224 # echo($bup);
_225 # //?//echo("<a href=javascript:window.close()><font color=blue size=+4>Vissza...</a>");
_226 # ?>