📄 submit.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "fck/upfunction.php" );
include_once( "inc/patternarray.php" );
$connection = openconnection( );
$fckeditor1 = deal_with_upinsertpic( $fckeditor1 );
$TABLE_ID = $FORM_ID;
$TABLE_NAME = "flow_form_type";
$i = 0;
for ( ; $i < count( $afpatth ); ++$i )
{
writetodatabase( $TABLE_ID, $TABLE_NAME, $LOGIN_USER_ID, $afpatth[$i], $type[$i], $oldfn[$i], $size[$i] );
}
ksort( $patterns );
ksort( $replacements );
$fckeditor1 = stripcslashes( $fckeditor1 );
$fckeditor1 = preg_replace( $patterns, $replacements, $fckeditor1 );
$fckeditor1 = str_replace( " type=\"text\" />", ">", $fckeditor1 );
$query = "update FLOW_FORM_TYPE set PRINT_MODEL = '{$fckeditor1}' where FORM_ID={$FORM_ID}";
$cursor = exequery( $connection, $query );
if ( $CLOSE_FLAG != 1 )
{
header( "location: index.php?FORM_ID={$FORM_ID}&SAVE=1" );
}
else
{
echo "<s";
echo "cript>window.close();</script>\r\n";
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -