亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? spellchecker.php

?? fck-jsp-access-配置~測試環境resin3
?? PHP
字號:
<?php
header('Content-type: text/html; charset=utf-8');

// The following variables values must reflect your installation needs.

$aspell_prog	= '"C:\Program Files\Aspell\bin\aspell.exe"';	// by FredCK (for Windows)
//$aspell_prog	= 'aspell';										// by FredCK (for Linux)

$lang			= 'en_US';
$aspell_opts	= "-a --lang=$lang --encoding=utf-8 -H";		// by FredCK

$tempfiledir	= "./";

$spellercss		= '../spellerStyle.css';						// by FredCK
$word_win_src	= '../wordWindow.js';							// by FredCK

$textinputs		= $_POST['textinputs']; # array
$input_separator = "A";

# set the JavaScript variable to the submitted text.
# textinputs is an array, each element corresponding to the (url-encoded)
# value of the text control submitted for spell-checking
function print_textinputs_var() {
	global $textinputs;
	foreach( $textinputs as $key=>$val ) {
		# $val = str_replace( "'", "%27", $val );
		echo "textinputs[$key] = decodeURIComponent(\"" . $val . "\");\n";
	}
}

# make declarations for the text input index
function print_textindex_decl( $text_input_idx ) {
	echo "words[$text_input_idx] = [];\n";
	echo "suggs[$text_input_idx] = [];\n";
}

# set an element of the JavaScript 'words' array to a misspelled word
function print_words_elem( $word, $index, $text_input_idx ) {
	echo "words[$text_input_idx][$index] = '" . escape_quote( $word ) . "';\n";
}


# set an element of the JavaScript 'suggs' array to a list of suggestions
function print_suggs_elem( $suggs, $index, $text_input_idx ) {
	echo "suggs[$text_input_idx][$index] = [";
	foreach( $suggs as $key=>$val ) {
		if( $val ) {
			echo "'" . escape_quote( $val ) . "'";
			if ( $key+1 < count( $suggs )) {
				echo ", ";
			}
		}
	}
	echo "];\n";
}

# escape single quote
function escape_quote( $str ) {
	return preg_replace ( "/'/", "\\'", $str );
}


# handle a server-side error.
function error_handler( $err ) {
	echo "error = '" . escape_quote( $err ) . "';\n";
}

## get the list of misspelled words. Put the results in the javascript words array
## for each misspelled word, get suggestions and put in the javascript suggs array
function print_checker_results() {

	global $aspell_prog;
	global $aspell_opts;
	global $tempfiledir;
	global $textinputs;
	global $input_separator;
	$aspell_err = "";
	# create temp file
	$tempfile = tempnam( $tempfiledir, 'aspell_data_' );

	# open temp file, add the submitted text.
	if( $fh = fopen( $tempfile, 'w' )) {
		for( $i = 0; $i < count( $textinputs ); $i++ ) {
			$text = urldecode( $textinputs[$i] );
			$lines = explode( "\n", $text );
			fwrite ( $fh, "%\n" ); # exit terse mode
			fwrite ( $fh, "^$input_separator\n" );
			fwrite ( $fh, "!\n" ); # enter terse mode
			foreach( $lines as $key=>$value ) {
				# use carat on each line to escape possible aspell commands
				fwrite( $fh, "^$value\n" );
			}
		}
		fclose( $fh );

		# exec aspell command - redirect STDERR to STDOUT
		$cmd = "$aspell_prog $aspell_opts < $tempfile 2>&1";
		if( $aspellret = shell_exec( $cmd )) {
			$linesout = explode( "\n", $aspellret );
			$index = 0;
			$text_input_index = -1;
			# parse each line of aspell return
			foreach( $linesout as $key=>$val ) {
				$chardesc = substr( $val, 0, 1 );
				# if '&', then not in dictionary but has suggestions
				# if '#', then not in dictionary and no suggestions
				# if '*', then it is a delimiter between text inputs
				# if '@' then version info
				if( $chardesc == '&' || $chardesc == '#' ) {
					$line = explode( " ", $val, 5 );
					print_words_elem( $line[1], $index, $text_input_index );
					if( isset( $line[4] )) {
						$suggs = explode( ", ", $line[4] );
					} else {
						$suggs = array();
					}
					print_suggs_elem( $suggs, $index, $text_input_index );
					$index++;
				} elseif( $chardesc == '*' ) {
					$text_input_index++;
					print_textindex_decl( $text_input_index );
					$index = 0;
				} elseif( $chardesc != '@' && $chardesc != "" ) {
					# assume this is error output
					$aspell_err .= $val;
				}
			}
			if( $aspell_err ) {
				$aspell_err = "Error executing `$cmd`\\n$aspell_err";
				error_handler( $aspell_err );
			}
		} else {
			error_handler( "System error: Aspell program execution failed (`$cmd`)" );
		}
	} else {
		error_handler( "System error: Could not open file '$tempfile' for writing" );
	}

	# close temp file, delete file
	unlink( $tempfile );
}


?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="<?php echo $spellercss ?>" />
<script language="javascript" src="<?php echo $word_win_src ?>"></script>
<script language="javascript">
var suggs = new Array();
var words = new Array();
var textinputs = new Array();
var error;
<?php

print_textinputs_var();

print_checker_results();

?>

var wordWindowObj = new wordWindow();
wordWindowObj.originalSpellings = words;
wordWindowObj.suggestions = suggs;
wordWindowObj.textInputs = textinputs;

function init_spell() {
	// check if any error occured during server-side processing
	if( error ) {
		alert( error );
	} else {
		// call the init_spell() function in the parent frameset
		if (parent.frames.length) {
			parent.init_spell( wordWindowObj );
		} else {
			alert('This page was loaded outside of a frameset. It might not display properly');
		}
	}
}



</script>

</head>
<!-- <body onLoad="init_spell();">		by FredCK -->
<body onLoad="init_spell();" bgcolor="#ffffff">

<script type="text/javascript">
wordWindowObj.writeBody();
</script>

</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美一区二区久久| 91黄色免费版| 日韩免费观看2025年上映的电影| 日韩欧美在线网站| 成人欧美一区二区三区视频网页| 秋霞av亚洲一区二区三| 波多野结衣精品在线| 欧美本精品男人aⅴ天堂| 亚洲综合一二区| 99热精品国产| 久久精品亚洲乱码伦伦中文| 丝瓜av网站精品一区二区| 91丝袜高跟美女视频| 久久久久久久久久美女| 奇米四色…亚洲| 在线观看日韩精品| 中文字幕永久在线不卡| 激情综合一区二区三区| 久久综合九色综合97婷婷女人| 午夜电影一区二区| 色婷婷综合视频在线观看| 国产亚洲一本大道中文在线| 激情综合色综合久久综合| 欧美日本视频在线| 亚洲高清免费视频| 91欧美激情一区二区三区成人| 亚洲国产精品精华液ab| 国产在线视频一区二区三区| 欧美一区二区三级| 日韩国产成人精品| 欧美日韩精品一区二区三区蜜桃 | 亚洲人成网站影音先锋播放| 国产成人高清视频| 日本一区二区视频在线观看| 成人免费视频免费观看| 国产日产欧美一区二区三区| 国产69精品久久久久毛片| 久久久久久久综合日本| 国产最新精品免费| 久久亚洲欧美国产精品乐播| 国产激情一区二区三区桃花岛亚洲| 精品少妇一区二区三区免费观看 | 精品国产一区二区三区忘忧草 | 91精品麻豆日日躁夜夜躁| 亚洲国产精品视频| 欧美二区乱c少妇| 91.麻豆视频| 麻豆一区二区三区| 久久一区二区三区国产精品| 国产精品正在播放| 亚洲欧美日韩国产另类专区| 色综合久久久久久久| 亚洲成人自拍网| 欧美一区二区视频在线观看2022| 免费观看30秒视频久久| 久久影院午夜片一区| 波多野结衣精品在线| 亚洲一区日韩精品中文字幕| 欧美夫妻性生活| 国产一区二区在线看| 国产精品久久久一本精品| 日本道精品一区二区三区| 日韩高清一区在线| 国产视频一区在线观看| 日本国产一区二区| 老司机一区二区| 中文字幕精品—区二区四季| 欧美日韩综合在线| 极品少妇一区二区| 亚洲女爱视频在线| 337p粉嫩大胆噜噜噜噜噜91av| 白白色 亚洲乱淫| 亚洲成a人v欧美综合天堂| 久久久久久久久久久久电影| 欧美怡红院视频| 中国av一区二区三区| 欧美巨大另类极品videosbest| 国产成人夜色高潮福利影视| 亚洲一区在线观看视频| 久久人人爽爽爽人久久久| 欧美性猛交一区二区三区精品 | 精品盗摄一区二区三区| 99久久er热在这里只有精品66| 日韩成人精品在线观看| 中文字幕综合网| 久久一夜天堂av一区二区三区| 欧洲av在线精品| 成人精品视频一区二区三区| 另类小说色综合网站| 亚洲一区二区三区在线播放| 国产精品三级久久久久三级| 欧美变态口味重另类| 欧美日韩精品欧美日韩精品| 91小视频在线观看| 国产精品69久久久久水密桃| 美女视频第一区二区三区免费观看网站 | 欧美乱妇23p| 色域天天综合网| 成人免费观看av| 国产毛片一区二区| 日韩 欧美一区二区三区| 亚洲国产精品一区二区久久 | 91成人在线免费观看| 成人精品免费视频| 国产精品18久久久久久vr| 日韩激情一区二区| 亚洲综合色区另类av| 亚洲欧洲成人精品av97| 国产日韩欧美综合在线| 国产欧美日韩久久| 久久精品欧美日韩精品| 国产亚洲精品福利| 久久精品亚洲麻豆av一区二区| 久久免费看少妇高潮| 精品动漫一区二区三区在线观看| 精品日韩在线观看| 日韩欧美一级精品久久| 欧美成人一区二区三区片免费| 67194成人在线观看| 日韩一级高清毛片| 欧美成人vps| 亚洲国产精品av| 精品在线免费观看| 蜜桃一区二区三区四区| 欧美aⅴ一区二区三区视频| 美女看a上一区| 国产在线国偷精品免费看| 国产精品主播直播| 不卡的电影网站| 欧美午夜精品理论片a级按摩| 欧美亚一区二区| 欧美一级二级三级蜜桃| www久久精品| 中文字幕一区在线| 亚洲一区二区三区在线播放 | 亚洲综合在线观看视频| 亚洲综合免费观看高清完整版在线 | 日韩欧美一区中文| 精品88久久久久88久久久| 欧美极品aⅴ影院| 亚洲影视在线观看| 激情欧美一区二区| 91尤物视频在线观看| 91精品视频网| 久久久精品黄色| 亚洲国产毛片aaaaa无费看| 久久99国产精品成人| 91丝袜国产在线播放| 91精品国产乱| 国产人妖乱国产精品人妖| 亚洲影院理伦片| 国产精品一区二区你懂的| 欧美性感一区二区三区| 久久影院视频免费| 亚洲人吸女人奶水| 日本vs亚洲vs韩国一区三区 | 国产一区在线精品| 日本丶国产丶欧美色综合| 欧美变态口味重另类| 一区二区三区在线免费观看| 麻豆国产91在线播放| 欧美综合亚洲图片综合区| 久久久久久9999| 午夜影院久久久| 成人aaaa免费全部观看| 日韩欧美国产高清| 亚洲一区二区三区中文字幕在线| 国产剧情一区二区三区| 91 com成人网| 亚洲免费在线视频一区 二区| 久久国产精品露脸对白| 欧美制服丝袜第一页| 国产精品视频你懂的| 精品在线播放午夜| 欧美人xxxx| 亚洲午夜视频在线| 成人av在线一区二区三区| 久久午夜老司机| 另类小说综合欧美亚洲| 欧美日韩国产综合视频在线观看| 国产精品久久久久久久第一福利 | 国产精品视频一二三| 秋霞av亚洲一区二区三| 欧美日韩一区二区在线观看| 1000部国产精品成人观看| 粉嫩aⅴ一区二区三区四区| 26uuu国产日韩综合| 日韩成人免费在线| 欧美日韩黄色影视| 一区二区三区蜜桃网| 色婷婷久久久久swag精品| 综合久久国产九一剧情麻豆| 国产不卡免费视频| 久久久久88色偷偷免费 | 午夜av区久久| 欧美三日本三级三级在线播放| 亚洲乱码国产乱码精品精可以看| 成人免费观看av| 日韩毛片在线免费观看| www.爱久久.com|