strreplace.tpl.php

来自「phpcms2007很好的cms内容管理系统,操作方便」· PHP 代码 · 共 63 行

PHP
63
字号
<?php defined('IN_PHPCMS') or exit('Access Denied');include admintpl('header');?><script type="text/javascript">function getfields(tablename){    var url ="?mod=<?=$mod?>&file=<?=$file?>&action=getfields";    var pars = "tablename="+tablename;	var cAjax = new Ajax.Request(url, {method: 'get', parameters: pars, onComplete: setfield});}function setfield(Request){	var text = Request.responseText;    var fileds = text.split(",");	enterValue(fileds, $('fromfield'));}function enterValue(cell,place){	clearPreValue(place);	var selectedval = cell[0];	for(i=0; i<cell.length; i++)	{	    isselected = addOption(place, cell[i], cell[i]);		if(isselected)		{			place.options[i].selected = true;			selectedval = cell[i];		}	}	return selectedval;}function addOption(objSelectNow,txt,val){	var objOption = document.createElement("option");	objOption.text = txt;	objOption.value = val;	objSelectNow.options.add(objOption);	return true;}function clearPreValue(pc){	while(pc.hasChildNodes())	pc.removeChild(pc.childNodes[0]);}</script><body><table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">  <tr>    <td></td>  </tr></table><table cellpadding="2" cellspacing="1" class="tableborder">  <tr>    <th>鎻愮ず淇℃伅</th>  </tr><tr bgColor='#F1F3F5'>    <td>濡傛灉浣犳槸鍏堝湪鏈

⌨️ 快捷键说明

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