⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fck_wuword.php

📁 开源一个类似与豆瓣网站的系统 一个很不错的系统值得去学习
💻 PHP
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


<?php

define( 'ROOT' , dirname(__FILE__) . '/../../../../' );
include_once( ROOT . 'lib/db.function.php' );
include_once( ROOT . 'lib/core.function.php' );
include_once( ROOT . 'lib/biz.function.php' );
include_once( ROOT . 'lib/plugin.function.php' );
include_once( ROOT . 'plugin/plugin.meta.php' );
include_once( ROOT . 'meta/keyword.meta.php' );

?>
<script>
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = window.parent.FCK;
var FCKLang = oEditor.FCKLang ;
var FCKwulists = oEditor.FCKwulists ;

window.onload = function ()
{
	// First of all, translate the dialog box texts
	oEditor.FCKLanguageManager.TranslatePage( document ) ;
}

var eSelected = oEditor.FCKSelection.GetSelectedElement() ;


function add( txt )
{
	FCKwulists.AddWord( txt );
}

function Ok()
{
	return true;
}

</script>
</head>
<body>
<?php

$kw = get_key_words();
$kw = array_chunk( $kw , 3 );


?>
<form action="" method="POST">
<table cellspacing="5" cellpadding="5" >
<tr>
	<td>
		<a href="fck_wulist.php">鍒楄〃璁剧疆</a> 
	</td>
	<td>
		<font color=red>鍙橀噺璁剧疆</font>
	</td>
</tr>
</table>
<table cellspacing="5" cellpadding="5" >

<?php foreach( $kw as $line ): ?>
<tr>
	<?php foreach( $line as $k ): ?>
	<td>
		<?php echo '<input type="button" value="' . $k['title'] .'" onclick="add(\'' . $k['title']  . '\')">' ;?>
	</td>
	<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -