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
  File

Write:   Read:   Clear:  
_BI_ViewTable_20160315_MC.inc

aktuális könyvtár:/home/ebonnhu1/cvteszt/_inc_BI_Based_BI_ViewTable_20160315_MC.inc
___0 # <?php // include("QJ_start.php");
___1 # 
___2 # 
___3 # $url1="BiViewTable.php?&tabla=".$_GET[tabla];
___4 # 
___5 # if (isset($_GET[dbname])) {
___6 #  include("bilib.ini");
___7 #  $database = $_GET[dbname]; // Database Name
___8 # 
___9 # $kapcsolat=mysql_connect($server, $db_user, $db_pass) or died("Database Connect Error");
__10 # 
__11 # 
__12 # 
__13 # //include("gvarlist.php");
__14 # if ( ! $kapcsolat )
__15 # 
__16 # mysql_select_db( $database )
__17 # or die ( "Nem lehet megnyitni".mysql_errno() );
__18 # 
__19 # @mysql_query('SET CHARACTER SET latin2');
__20 # @mysql_query("SET NAMES 'latin2'");
__21 # }
__22 # 
__23 # $alma="???";
__24 # if (isset($_POST[Bis])) {$alma=$_POST[Bis]."=P:Bis/".$_GET[Bis]."=G:Bis/G:sql=".$_GET[sql]; $_GET[Bis]=$_POST[Bis]; $_GET[sql]=$_POST[Bis]; }
__25 # 
__26 # 
__27 # 
__28 # //?//if (isset($_GET[bimod])) { $_GET[Desc]="*"; $_GET[biord]="wid";}
__29 # 
__30 # if (isset($_GET[goon])) $_POST[goon]=$_GET[goon];
__31 # //?//if (isset($_GET[Desc])) $_POST[Desc]=$_GET[Desc];
__32 # if (isset($_GET[Bis])) $_POST[Bis]=$_GET[Bis];
__33 # if (isset($_GET[Export])) $_POST[Export]=$_GET[Export];
__34 # 
__35 # if (isset($_POST[dump])) {
__36 #  if(isset($_SESSION[dump])) unset($_SESSION[dump]); else $_SESSION[dump]="Y";
__37 # }
__38 # 
__39 # if (isset($_POST[WhereSave]) and isset($_POST[wherememo]) and $_POST[wherememo]<>"" ) {
__40 # //wid / widarc / usr_kod / szoveg / archiv / future / sql_memo / sql_parancs / sql_title / sql_jpg / logtime /
__41 #  $keres = "select * from qj_sql where szoveg= 'WhereSave' and sql_parancs='$_POST[Bis]' and sql_title='$_GET[tabla]'";
__42 # 
__43 #  $nurL=mysql_num_rows($eredmeny);
__44 #  if ($nurL==0) {
__45 #  $newrec = "INSERT INTO `qj_sql`
__46 #  ( `usr_kod`,`szoveg`,`sql_memo`,`sql_parancs`,`sql_title`
__47 #  ) VALUES
__48 #  ( '$_SESSION[Qusr_kod]','WhereSave','$_POST[wherememo]','$_POST[Bis]','$_GET[tabla]'
__49 #  )";
__50 #  mysql_query($newrec) or die($newrec." Hiba az insertben");
__51 #  echo '<script>
__52 #  alert("MENTVE!'.$_POST[Bis].'");
__53 #  </script>';
__54 #  }
__55 # }
__56 # 
__57 # if (isset($_GET[biord])) $_POST[biord]=$_GET[biord];
__58 # if (isset($_GET[Limit])) $_POST[Limit]=$_GET[Limit];
__59 # if (!isset($_POST[Limit])) $_POST[Limit]=50;
__60 # 
__61 # if (!isset($_SESSION[frame1])) $_SESSION[frame1]="adatframe";
__62 # if (!isset($_SESSION[frame2])) $_SESSION[frame2]="infoframe";
__63 # 
__64 # 
__65 # if (isset($_POST[frame1])){ $frame1=$_POST[frame1]; $_SESSION[frame1]=$frame1;} else $frame1=$_SESSION[frame1];
__66 # if (isset($_POST[frame2])){ $frame2=$_POST[frame2]; $_SESSION[frame2]=$frame2;} else $frame2=$_SESSION[frame2];
__67 # 
__68 # if ($frame1<>"") $frame1T=" target=$frame1 "; else $frame1T="";
__69 # if ($frame2<>"") $frame2T=" target=$frame2 "; else $frame2T="";
__70 # 
__71 # 
__72 # 
__73 # //$_POST[Bis]=trim($_POST[Bis]);
__74 # if (isset($_GET[sql])) {
__75 #  $_POST[Bis]=str_replace("!"," ",$_GET[sql]);
__76 # }
__77 # 
__78 # //$url1="Bic_ViewTable.php?&tabla=".$_GET[tabla];
__79 # 
__80 # //if (isset($_GET[dbname])) $url1.="&dbname=".$_GET[dbname];
__81 # $url2="bisqlupd.php?&sqlfile=&wjid=-1";
__82 # 
__83 # 
__84 # 
__85 # echo("");
__86 # 
__87 # ?>
__88 # 
__89 # <BODY background='Qhat.gif' CELLSPACING="0" CELLPADDING="0" align="left">
__90 # <FORM name=cimform action='' method='post'>
__91 # 
__92 # <a target=infoframe href='BI_ViewWhere.php'
__93 # 
__94 # 
__95 # 
__96 # onchange=this.form.submit(); return true name='submit'><br>
__97 # &nbsp;
__98 # 
__99 # <INPUT
_100 #  TYPE='text' NAME='Bis' size=140
_101 #  STYLE='color : red; background-color:beige; font-size: 12px; font-weight: bold;'
_102 #  value='<?php if (isset($_POST[Bis])) echo($_POST[Bis]); ?>'
_103 # >
_104 # 
_105 # <br>
_106 # 
_107 # <INPUT TYPE='CHECKBOX' NAME='Export' Title='' value=''
_108 # 
_109 # 
_110 # <INPUT TYPE='CHECKBOX' NAME='dump' Title='' value=''
_111 # > Dump &nbsp;
_112 # 
_113 # <INPUT TYPE='CHECKBOX' NAME='sqlexport' Title='' value=''
_114 # > SQL &nbsp;
_115 # 
_116 # <INPUT TYPE='CHECKBOX' NAME='sqlinsert' Title='' value=''
_117 # > INSERT &nbsp;
_118 # 
_119 # 
_120 # <INPUT TYPE='CHECKBOX' NAME='sqlcsv' Title='' value=''
_121 # > CSV &nbsp;
_122 # 
_123 # 
_124 # <INPUT TYPE='CHECKBOX' NAME='WhereSave' Title='' value=''
_125 # > WhereSave &nbsp;
_126 # 
_127 # &nbsp;Limit:
_128 # 
_129 #  TYPE='text' NAME='Limit' size=5 STYLE='color : red; background-color:beige; font-size: 14px; font-weight: bold;'
_130 #  value='<?php if (isset($_POST[Limit])) echo($_POST[Limit]); ?>'
_131 # >
_132 # 
_133 # 
_134 # &nbsp;
_135 # <INPUT TYPE='CHECKBOX' NAME='Desc' Title='' value=''
_136 # <? if (isset($_POST[Desc])) echo(' CHECKED '); ?>
_137 # > Sorrend<?if (isset($_POST[Desc])) echo("(S)");?> &nbsp;
_138 # <!---&nbsp;Keres:
_139 # <INPUT TYPE='CHECKBOX' NAME='Torol' Title='' value=''
_140 # 
_141 # 
_142 # <INPUT TYPE='hidden' NAME='tabla' value='<? echo($_GET[tabla]); ?>'
_143 # >
_144 # <br>
_145 # <?php
_146 # 
_147 # if(isset($_SESSION[dump]) and $_SESSION[dump]=="Y") {
_148 # echo("<INPUT TYPE='text' NAME='frame1' size=8 STYLE='color : red; background-color:beige; font-size: 14px; font-weight: bold;'
_149 #  value='$frame1'>&nbsp;");
_150 # echo("<INPUT TYPE='text' NAME='frame2' size=8 STYLE='color : red; background-color:beige; font-size: 14px; font-weight: bold;'
_151 #  value='$frame2'>");
_152 # echo("
_153 #  <INPUT TYPE='text' NAME='wherememo' size=20 STYLE='color : red; background-color:beige; font-size: 14px; font-weight: bold;'
_154 #  value=''><hr>
_155 #  ");
_156 # }
_157 # 
_158 # $Viewpar="";
_159 # $Limit=" Limit ".$_POST[Limit];
_160 # //// IDEIGLENES /// <b>$alma</b><hr>
_161 # //$_POST[Desc]="Y";
_162 # 
_163 # if (isset($_POST[Del])) $Viewpar.="&Del=Y";
_164 # if (isset($_POST[Desc])) $Viewpar.="&Desc=Y";
_165 # //if (isset($_POST[Export])) { $Viewpar.="&Export=Y"; $Limit=""; }
_166 # if (isset($_POST[Export])) $Viewpar.="&Export=Y";
_167 # if (isset($_POST[Last])) $Viewpar.="&Last=".$_POST[Last];
_168 # if (isset($_POST[Limit])) $Viewpar.="&Limit=".$_POST[Limit];
_169 # if (isset($_POST[Bis])) $Viewpar.="&Bis=".trim($_POST[Bis]);
_170 # if (isset($_POST[Modate])) $Viewpar.="&Modate=".$_POST[Modate];
_171 # 
_172 # $ParHead="";
_173 # $export=false;
_174 # $tabla=$_GET["tabla"];
_175 # $biord="";
_176 # 
_177 # // echo "<script language = javascript>";
_178 # // echo "alert('".$Viewpar."');";
_179 # // echo "</script>";
_180 # 
_181 # //echo "<script language = javascript>";
_182 # 
_183 # //echo "</script>";
_184 # 
_185 # $_SESSION['sqlfile']=$tabla;
_186 # 
_187 # //echo("<a target=NEWframe href='bisqlupd.php?&sqlfile=&wjid=-1'
_188 # 
_189 # 
_190 # if (isset($_POST[Last])) {
_191 # 
_192 # }
_193 # 
_194 # if (isset($_POST[Desc])) {
_195 # 
_196 # }
_197 # 
_198 # if (isset($_POST["biord"])) {
_199 # $biord= " order by ".$_POST["biord"];
_200 # if (isset($_POST[Desc])) {
_201 # 
_202 # $biord.=" DESC";
_203 # }
_204 # }
_205 # 
_206 # if (isset($_GET[dbname])) $biord="";
_207 # 
_208 # if (isset($_POST[Del])) {
_209 # 
_210 # $Viewpar.="&Del=*";
_211 # }
_212 # 
_213 # if (isset($_POST[Export])) {
_214 # 
_215 # $export=true;
_216 # }
_217 # 
_218 # ECHO('<html>
_219 # <title>'. $tabla.' </title>
_220 # ');
_221 # 
_222 # if ($export==false)
_223 # $ee='<table BORDER=1 bgcolor="#DBE6E0" ><tr><td></td>';
_224 # else
_225 # $ee='<table BORDER=1 bgcolor="#DBE6E0" ><tr>';
_226 # 
_227 # $fullRec="CONCAT_WS(";
_228 # $vesszo="";
_229 # $fid='';
_230 # 
_231 # $mezok='';
_232 # 
_233 # $eredmeny = mysql_query('show fields from '.$tabla);
_234 # 
_235 # while ($row =mysql_fetch_row($eredmeny))
_236 # {
_237 # $fid.=$row[0] . ":";
_238 # $mezok.=$row[0] . " / ";
_239 # 
_240 # if ($export==false)
_241 # $ee .= '<td with=50><b><a href="'.$url1.'&biord='.$row[0].$Viewpar.'">'.$row[0].'</a></b></td>';
_242 # else
_243 # $ee .= '<td with=50><b>'.$row[0].'</b></td>';
_244 # 
_245 # 
_246 # $fullRec.=$vesszo."(".$row[0].")";
_247 # $vesszo=",'/', ";
_248 # 
_249 # }
_250 # 
_251 # $full=$fullRec.")";
_252 # 
_253 # $fullRec.=") as full";
_254 # $fid.="full:";
_255 # 
_256 # if (isset($_POST[Bis]) and $_POST[Bis]<>"") $wer=" Where INSTR((".$full."),'".($_POST[Bis])."') "; else $wer="";
_257 # 
_258 # if (strpos('?'.$fid,"deleted")>0) $totolve="deleted=0";
_259 # if (strpos('?'.$fid,"torolve")>0) $totolve="torolve=0";
_260 # 
_261 # if (isset($_POST[Del])) {
_262 # 
_263 # if ($wer<>"")
_264 # $wer.= " and ".$totolve;
_265 # else
_266 # $wer.= " Where ".$totolve;
_267 # }
_268 # 
_269 # if (isset($_POST[Modate])) {
_270 # 
_271 # if (strpos('?'.$fid,"sync_date")>0)
_272 # $datumscan="INSTR((sync_date),'".($_POST[Modate])."') ";
_273 # else
_274 # $datumscan="INSTR((".$full."),'".($_POST[Modate])."') ";
_275 # 
_276 # if ($wer<>"")
_277 # $wer.= " and " .$datumscan;
_278 # else
_279 # $wer.= " Where ".$datumscan;
_280 # 
_281 # }
_282 # 
_283 # if (isset($_POST[Last]) and strpos("?".$fid,"sync_id")>0) {
_284 # 
_285 # if ($wer<>"")
_286 # $wer.= " and sync_id=".$_POST[Last];
_287 # else
_288 # $wer.= " Where sync_id=".$_POST[Last];
_289 # }
_290 # 
_291 # 
_292 # $ee .= '</tr>';
_293 # 
_294 # if (substr($_POST[Bis],0,2)=="//" and strlen($_POST[Bis])>4) {
_295 # 
_296 #  $sqlwer= str_replace("~", "'",substr($_POST[Bis],2,strlen($_POST[Bis])-2));
_297 # // Use of the count parameter is available as of PHP 5.0.0
_298 # //$str = str_replace("ll", "", "good golly miss molly!", $count);
_299 # //echo $count; // 2
_300 # 
_301 # 
_302 # // echo "<script language = javascript>";
_303 # // echo "alert('SQL: SELECT * FROM ".$tabla." WHERE ".$sqlwer."');";
_304 # // echo "</script>";
_305 # 
_306 # 
_307 # 
_308 # if (isset($_POST[Torol])) {
_309 # $keres = "Delete FROM " . $tabla . " where ".$sqlwer;
_310 # //?//if (isset($_SESSION['Dump'])) echo("<hr>".$keres."<hr>");
_311 # $retval = mysql_query( $keres );
_312 # }
_313 # 
_314 # $keres = "SELECT * FROM " . $tabla . " where ".$sqlwer;
_315 # 
_316 # print "<font size=4 color=blue>SQL: <b>".$keres."</b></font><hr>";
_317 # 
_318 # $nurL=mysql_num_rows($eredmeny);
_319 # $nur=$nurL;
_320 # $Limit="";
_321 # $biord="";
_322 # 
_323 # // echo("<hr>then<hr>");
_324 # 
_325 # ////////
_326 # } else {
_327 # ////////
_328 # 
_329 # // echo("<hr>else<hr>");
_330 # 
_331 # if (isset($_POST[Torol])) {
_332 # $keres = "Delete FROM " . $tabla . $wer . $biord . $Limit;
_333 # //?//if (isset($_SESSION['Dump'])) echo("<hr>".$keres."<hr>");
_334 # $retval = mysql_query( $keres );
_335 # }
_336 # 
_337 # if ($wer=="") {
_338 # 
_339 # }
_340 # 
_341 # // echo("~>>>~~/$wer/~~~~/$tabla/~~~/$biord/~~~~~/$Limit/~~~~~~~~~~~~~~~~~~~");
_342 # 
_343 # $keres = "SELECT * FROM " . $tabla . $wer . $biord;
_344 # 
_345 # $nurL=mysql_num_rows($eredmeny);
_346 # $keres = "SELECT * FROM " . $tabla . $wer . $biord . $Limit;
_347 # 
_348 # $nur=mysql_num_rows($eredmeny);
_349 # 
_350 # }
_351 # 
_352 # 
_353 # 
_354 # 
_355 # ///////////////////////////////////
_356 # //
_357 # echo("<hr>".$keres."<hr>");
_358 # ///////////////////////////////////
_359 # 
_360 # if ($nurL<1001) $Limit="";
_361 # 
_362 # 
_363 # '</font></b><hr>';
_364 # 
_365 # if(isset($_SESSION[dump]) and $_SESSION[dump]=="Y") {
_366 # $head.='<FONT size=+1 color=RED>DUMP</font><br>';
_367 # 
_368 # $head.=$mezok.'<hr>';
_369 # 
_370 # 
_371 # }
_372 # 
_373 # $head=$head.'<b>'.($tabla).
_374 # '</b>&nbsp; Reccount:<b>&nbsp;&nbsp;'.$nurL.
_375 # '</b>&nbsp;<font color=blue> <b>'.$biord.
_376 # '</b>&nbsp; <b>'.$Limit.
_377 # '</b></font><br></table>';
_378 # 
_379 # if (!$nur) {
_380 # 
_381 # $ee =$head.$ee. '</table>';
_382 # echo($ee);
_383 # 
_384 # 
_385 # 
_386 # exit;
_387 # }
_388 # 
_389 # 
_390 # 
_391 # ///////////////////////////////////////////////////////////////////////////////////////
_392 # // CSV
_393 # ///////////////////////////////////////////////////////////////////////////////////////
_394 # 
_395 # 
_396 # 
_397 # 
_398 # if (isset($_POST[sqlexport]) and isset($_POST[sqlcsv]) )
_399 # {
_400 # 
_401 # $i=0;
_402 # 
_403 # 
_404 # 
_405 # 
_406 # $h=split(':',$fid);
_407 # 
_408 # $fej="";
_409 # 
_410 # echo ("<Hr>~~$tabla~/field:$fmax/~~~~$nurR/$darabol~~~~$keres~~~~SQL EXPORT START~~~~~~~$myFile~~~~~~~<br>");
_411 # 
_412 # for($j=0;$j<$fmax;$j++)
_413 # {
_414 #  echo("~$h[$j]~/$j/~<br>");
_415 #  $fej.=$h[$j].";";
_416 # }
_417 # 
_418 # $fej.=chr(10);
_419 # 
_420 # $myFile = $tabla."_".date("Ymd_His")."_view.CSV";
_421 # $fh = fopen($myFile, 'w') or die("can't open file");
_422 # 
_423 # fwrite($fh, $fej);
_424 # 
_425 # 
_426 # while ($row =mysql_fetch_row($eredmeny))
_427 # {
_428 # 
_429 # 
_430 # ++$i;
_431 # 
_432 # $vesszo='';
_433 # $adatok="";
_434 # 
_435 # for($j=0;$j<$fmax;$j++)
_436 # {
_437 #  $adatok .=$vesszo."".$row[$j]."";
_438 #  $vesszo=';';
_439 # }
_440 # 
_441 # 
_442 # // $stringData=htmlspecialchars($parancs).CHR(10);
_443 # // echo (htmlspecialchars($parancs).'<br>');
_444 # $stringData= $adatok.CHR(10);
_445 # //echo ($parancs.'<br>');
_446 # 
_447 # fwrite($fh, $stringData);
_448 # 
_449 # }
_450 # 
_451 # 
_452 # echo ("<br>~~~~~~$nur/$i~~~~~~~~~~SQL CSV EXPORT END~~~~~~~$myFile~~~~~~~<hr>");
_453 # fclose($fh);
_454 # 
_455 # 
_456 # exit;
_457 # 
_458 # }
_459 # 
_460 # ///////////////////////////////////////////////////////////////////////////////////////
_461 # // CSV
_462 # ///////////////////////////////////////////////////////////////////////////////////////
_463 # 
_464 # 
_465 # if (isset($_POST[sqlexport]) or isset($_POST[sqlinsert]) )
_466 # {
_467 # 
_468 # $i=0;
_469 # 
_470 # 
_471 # 
_472 # $h=split(':',$fid);
_473 # 
_474 # 
_475 # if (isset($_POST[sqlinsert])) {
_476 # 
_477 # $h=split(':',$fid);
_478 # 
_479 # 
_480 # $keres = "SELECT * FROM " . $tabla ;
_481 # 
_482 # $nurR=mysql_num_rows($eredmeny);
_483 # 
_484 # $darabol=intval($nurR/5000)+1;
_485 # 
_486 # echo ("<Hr>~~$tabla~/field:$fmax/~~~~$nurR/$darabol~~~~~~~~SQL EXPORT START~~~~~~~$myFile~~~~~~~<br>");
_487 # 
_488 # for($j=0;$j<$fmax;$j++)
_489 # {
_490 #  echo("~$h[$j]~/$j/~<br>");
_491 # }
_492 # 
_493 # for ($di=0;$di<$darabol;$di++) {
_494 # $di1=$di*5000;
_495 # //$di2=$di*5000 + 4999;
_496 # $di2=4999;
_497 # $div=$di1+4999;
_498 # 
_499 # 
_500 # $keres = "SELECT * FROM " . $tabla . " limit $di1,$di2 " ;
_501 # 
_502 # 
_503 # $myFile = $_SESSION['sqlfile'].date("Ymd_His")."_".$di1."_".$div."._view.SQL";
_504 # 
_505 # $files[$di] = $myFile;
_506 # $zipname =$_SESSION['sqlfile'].date("Ymd_His")."._view.zip";
_507 # 
_508 # $fh = fopen($myFile, 'w') or die("can't open file");
_509 # 
_510 # echo ("~~~~~~~~$keres~~~~~~~~~~~~$myFile~~~~~~~<br>");
_511 # 
_512 # 
_513 # while ($row =mysql_fetch_row($eredmeny))
_514 # {
_515 # 
_516 # ++$i;
_517 # 
_518 # $parancs = "INSERT INTO ".$_GET[tabla]. " ";
_519 # 
_520 # $vesszo='';
_521 # $mezok="(";
_522 # $adatok="(";
_523 # 
_524 # for($j=0;$j<$fmax;$j++)
_525 # 
_526 # {
_527 # // $parancs .=$vesszo.$h[$j]."='".$row[$j]."' ";
_528 # if (trim($row[$j])<>"" and $row[$j]<>"0000-00-00 00:00:00" and $row[$j]<>"0" ) {
_529 #  $mezok .=$vesszo."`".$h[$j]."`" ;
_530 #  $adatok .=$vesszo." '".trim($row[$j])."'";
_531 #  $vesszo=', ';
_532 # }
_533 # }
_534 # 
_535 # //Fatal error: Maximum execution time of 120 seconds exceeded in /home/bbinfohu/public_html/2015_BBinfo/_inc_BI_Based/_BI_ViewTable.inc //on line 426
_536 # 
_537 # $parancs .= $mezok." ) VALUES ".CHR(10). $adatok." );" ;
_538 # 
_539 # // $stringData=htmlspecialchars($parancs).CHR(10);
_540 # // echo (htmlspecialchars($parancs).'<br>');
_541 # $stringData=$parancs.CHR(10);
_542 # // echo ($parancs.'<br>');
_543 # // echo ($i.'/');
_544 # 
_545 # if (intval($i/250)*250==$i) echo ($i.'<br>');
_546 # 
_547 # //::
_548 # fwrite($fh, $stringData);
_549 # 
_550 # }
_551 # 
_552 # 
_553 # echo ("<br>~~~~~~$nur/$i~~~~~~~~~~SQL EXPORT END~~~~~~~$myFile~~~~~~~<hr>");
_554 # fclose($fh);
_555 # 
_556 # 
_557 # }
_558 # 
_559 # include("../../_inc_BI_Based/_BI_sqlZIP.inc");
_560 # 
_561 # } else {
_562 # 
_563 # $myFile = $_SESSION['sqlfile'].date("Ymd_His")."_$di($dim)"."_view.SQL";
_564 # $fh = fopen($myFile, 'w') or die("can't open file");
_565 # 
_566 # 
_567 # 
_568 # while ($row =mysql_fetch_row($eredmeny))
_569 # {
_570 # 
_571 # $parancs = "REPLACE INTO ".$_GET[tabla]. " ";
_572 # 
_573 # $vesszo='';
_574 # $mezok="(";
_575 # $adatok="(";
_576 # 
_577 # for($j=1;$j<$nur;$j++)
_578 # 
_579 # {
_580 # 
_581 # // $parancs .=$vesszo.$h[$j]."='".$row[$j]."' ";
_582 #  $mezok .=$vesszo."`".$h[$j]."`" ;
_583 #  $adatok .=$vesszo." '".$row[$j]."'";
_584 #  $vesszo=', ';
_585 # 
_586 # }
_587 # 
_588 # $parancs .= $mezok." ) VALUES ".CHR(10). $adatok." );" ;
_589 # 
_590 # // $stringData=htmlspecialchars($parancs).CHR(10);
_591 # // echo (htmlspecialchars($parancs).'<br>');
_592 # $stringData=$parancs.CHR(10);
_593 # echo ($parancs.'<br>');
_594 # 
_595 # fwrite($fh, $stringData);
_596 # 
_597 # }
_598 # 
_599 # echo ("<br>~~~~~~$nur/$i~~~~~~~~~~SQL EXPORT END~~~~~~~$myFile~~~~~~~<hr>");
_600 # fclose($fh);
_601 # 
_602 # include("../../_inc_BI_Based/_BI_sqlZIP.inc");
_603 # 
_604 # }
_605 # 
_606 # exit;
_607 # 
_608 # /*echo "<script language = javascript>
_609 # window.open('BiCopyTable.php?tabla=qj_sql&submenu=".$_POST[submenu]."', $frame1);
_610 # </script>"; */
_611 # }
_612 # 
_613 # 
_614 # $ii=0;
_615 # 
_616 # $h=split(':',$fid);
_617 # 
_618 # $e= $head.$ee;
_619 # 
_620 # 
_621 # if ($nur>1000) $nur=1000;
_622 # 
_623 # 
_624 # for($i=0;$i<$nur;$i++) {
_625 # 
_626 # $r=mysql_fetch_row($eredmeny);
_627 # 
_628 # $ii++;
_629 # // $e .= '<tr bgcolor="#A7C2B3"><td bgcolor=gold>'.$i.'</td>';
_630 # $e .= '<tr bgcolor="#A7C2B3">';
_631 # 
_632 # IF ($_SESSION[login]=="BI(c)")
_633 # $szek_kod="<a target=infoframe href='QJ_sqlJEGY.php?&parancs=Update!qj_jegy!$set!$wer'>$egy_sor[szek_kod]</a>";
_634 # else $szek_kod=$egy_sor[szek_kod];
_635 # /*
_636 # if ($export==false)
_637 # $e .= '<td>
_638 # <A '. $frame1T .' STYLE="{vlink : gold}" target=adatframe
_639 # href="_Q_sqlRECopy.php?&wjid='.$r[0].'&tabla='.$tabla.'">
_640 # <IMG width=20 height=20 SRC="../_Screen/edit.png" border=0></a>
_641 # ';
_642 # */
_643 # 
_644 # $set="set!archiv=~?~,!".
_645 #  "szoveg=~?~,!arkategoria=~?~,!".
_646 #  "QJ_sor_n=~?~,!QJ_sor_s=~?~,!".
_647 #  "QJ_sor_o=~?~,!QJ_sor_h=~?~!";
_648 # 
_649 # $wer="where!&wjid=$r[0]";
_650 # 
_651 # if ($export==false)
_652 # $e .= "<td>
_653 # <A $frame1T
_654 # href='QJ_sqlJEGY.php?&parancs=Update!$tabla!$set!$wer'>
_655 # <IMG width=20 height=20 SRC='../_Screen/sql.png' border=0></a>
_656 # ";
_657 # 
_658 # if ($export==false)
_659 # $e .= '
_660 # <A '. $frame2T .'
_661 # href="BI_sqlRECopy.php?&wjid='.$r[0].'&tabla='.$tabla.'">
_662 # <IMG width=20 height=20 SRC="../_Screen/edit.png" border=0></a>
_663 # </td>';
_664 # 
_665 # for($j=0,$k=0;$j<count($r);$j++) {
_666 # 
_667 # $e .= '<td with=50>&nbsp;'.$r[$j].'&nbsp;</td>';
_668 # 
_669 # }
_670 # $e .= '</tr>';
_671 # 
_672 # if ($ii==50 and $export==false) {
_673 # $e .= '</table>';
_674 # echo($e);
_675 # $ii=0;
_676 # $e=$ee;
_677 # }
_678 # 
_679 # }
_680 # 
_681 # $e .= '</table>';
_682 # echo($e);
_683 # 
_684 # echo($e);
_685 # 
_686 # //mysql_free_result ($eredmeny);
_687 # //
_688 # if(isset($_SESSION[dump]) and $_SESSION[dump]=="Y") {
_689 # include ("../../_inc_QJ_Based/_Q_varlist.php");
_690 # }
_691 # 
_692 # ///////
_693 # /// BiViewTable.php /// 2009.09.07. 10:58:30
_694 # ?>
_695 # 
_696 # </body>