本文整理汇总了PHP中ehtmlspecialchars函数的典型用法代码示例。如果您正苦于以下问题:PHP ehtmlspecialchars函数的具体用法?PHP ehtmlspecialchars怎么用?PHP ehtmlspecialchars使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ehtmlspecialchars函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: EditMemberConnect
function EditMemberConnect($add, $userid, $username)
{
global $empire, $dbtbpre;
$add[id] = (int) $add[id];
if (empty($add[appname]) || !$add[id]) {
printerror("EmptyMemberConnect", "history.go(-1)");
}
$add[isclose] = (int) $add[isclose];
$add[myorder] = (int) $add[myorder];
$add[appname] = eaddslashes(ehtmlspecialchars($add[appname]));
$add[appid] = eaddslashes($add[appid]);
$add[appkey] = eaddslashes($add[appkey]);
$add[qappname] = eaddslashes($add[qappname]);
$add[appsay] = eaddslashes($add[appsay]);
$sql = $empire->query("update {$dbtbpre}enewsmember_connect_app set appname='{$add['appname']}',appid='{$add['appid']}',appkey='{$add['appkey']}',isclose='{$add['isclose']}',myorder='{$add['myorder']}',qappname='{$add['qappname']}',appsay='{$add['appsay']}' where id='{$add['id']}'");
$appr = $empire->fetch1("select apptype from {$dbtbpre}enewsmember_connect_app where id='{$add['id']}'");
if ($sql) {
GetConfig();
//操作日志
insert_dolog("id=" . $add[id] . "&apptype=" . $appr[apptype] . "<br>appname=" . $add[appname]);
printerror("EditMemberConnectSuccess", "MemberConnect.php" . hReturnEcmsHashStrHref2(1));
} else {
printerror("DbError", "history.go(-1)");
}
}
示例2: DoPostInfoTypeVar
function DoPostInfoTypeVar($add){
if(empty($add['ttype']))
{
$add['ttype']='.html';
}
$add['tname']=eaddslashes(ehtmlspecialchars($add['tname']));
$add['mid']=(int)$add['mid'];
$add['myorder']=(int)$add['myorder'];
$add['yhid']=(int)$add['yhid'];
$add['tnum']=(int)$add['tnum'];
$add['listtempid']=(int)$add['listtempid'];
$add['maxnum']=(int)$add['maxnum'];
$add['reorder']=RepPostVar2($add['reorder']);
$add['intro']=eaddslashes(RepPhpAspJspcode($add['intro']));
$add['pagekey']=eaddslashes(RepPhpAspJspcode($add['pagekey']));
$add['newline']=(int)$add['newline'];
$add['hotline']=(int)$add['hotline'];
$add['goodline']=(int)$add['goodline'];
$add['hotplline']=(int)$add['hotplline'];
$add['firstline']=(int)$add['firstline'];
$add['jstempid']=(int)$add['jstempid'];
$add['nrejs']=(int)$add['nrejs'];
$add['listdt']=(int)$add['listdt'];
$add['repagenum']=(int)$add['repagenum'];
//目录
$add['tpath']=trim($add['tpath']);
$add['tpath']=$add['pripath'].$add['tpath'];
$add['tpath']=eaddslashes($add['tpath']);
return $add;
}
示例3: RepSpeRssStr
function RepSpeRssStr($str)
{
$str = stripSlashes($str);
$str = ehtmlspecialchars($str, ENT_QUOTES);
$str = str_replace(array('[!--empirenews.page--]', '[/!--empirenews.page--]', '[', ']'), array('', '', '', ''), $str);
return $str;
}
示例4: DoPostZtTypeVar
function DoPostZtTypeVar($add)
{
if (empty($add['ttype'])) {
$add['ttype'] = '.html';
}
$add['cname'] = eaddslashes(ehtmlspecialchars($add['cname']));
$add['myorder'] = (int) $add['myorder'];
$add['islist'] = (int) $add['islist'];
$add['listtempid'] = (int) $add['listtempid'];
$add['maxnum'] = (int) $add['maxnum'];
$add['tnum'] = (int) $add['tnum'];
$add['reorder'] = RepPostVar2($add['reorder']);
$add['classtext'] = RepPhpAspJspcode($add['classtext']);
return $add;
}
示例5: ehtmlspecialchars
</table></td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF">"上下页导航"式正则设置:</td>
<td bgcolor="#FFFFFF"> <table width="100%%" border="0" cellspacing="1" cellpadding="2">
<tr>
<td width="50%" height="23"><strong>分页区域正则(<font color="#FF0000">[!--smallpagezz--]</font>)</strong></td>
<td><strong>分页链接正则(<font color="#FF0000">[!--pagezz--]</font>)</strong></td>
</tr>
<tr>
<td><textarea name="add[smallpagezz]" cols="42" rows="12" id="add[smallpagezz]"><?php
echo ehtmlspecialchars(stripSlashes($r[smallpagezz]));
?>
</textarea></td>
<td><textarea name="add[pagezz]" cols="42" rows="12" id="add[pagezz]"><?php
echo ehtmlspecialchars(stripSlashes($r[pagezz]));
?>
</textarea></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> <input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置"> </td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td><strong>注意事项:<font color="#FF0000"><br>
</font></strong>1.*:表示不限制内容。行与行之间的间隔最好用*格开<br>
示例6: ehtmlspecialchars
echo $r[tempname];
?>
">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"><strong>模板内容</strong>(*)</td>
<td height="25">请将模板内容<a href="#ecms" onclick="window.clipboardData.setData('Text',document.form1.temptext.value);document.form1.temptext.select()" title="点击复制模板内容"><strong>复制到Dreamweaver(推荐)</strong></a>或者使用<a href="#ecms" onclick="window.open('editor.php?getvar=opener.document.form1.temptext.value&returnvar=opener.document.form1.temptext.value&fun=ReturnHtml¬fullpage=1<?php
echo $ecms_hashur['ehref'];
?>
','edittemp','width=880,height=600,scrollbars=auto,resizable=yes');"><strong>模板在线编辑</strong></a>进行可视化编辑</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" colspan="2"><div align="center">
<textarea name="temptext" cols="90" rows="23" id="temptext" wrap="OFF" style="WIDTH: 100%"><?php
echo ehtmlspecialchars(stripSlashes($r[temptext]));
?>
</textarea>
</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> </td>
<td height="25"><input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
<?php
if ($enews == 'EditVoteTemp') {
?>
[<a href="#empirecms" onclick="window.open('TempBak.php?temptype=votetemp&tempid=<?php
echo $tempid;
?>
&gid=<?php
echo $gid;
示例7: is_login
$lur = is_login();
$logininid = $lur['userid'];
$loginin = $lur['username'];
$loginrnd = $lur['rnd'];
$loginlevel = $lur['groupid'];
$loginadminstyleid = $lur['adminstyleid'];
//ehash
$ecms_hashur = hReturnEcmsHashStrAll();
$showmod = (int) $_GET['showmod'];
$type = (int) $_GET['type'];
$classid = (int) $_GET['classid'];
$filepass = (int) $_GET['filepass'];
$infoid = (int) $_GET['infoid'];
$modtype = (int) $_GET['modtype'];
$sinfo = (int) $_GET['sinfo'];
$InstanceName = ehtmlspecialchars($_GET['InstanceName']);
$editor = 3;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Image Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<script src="../editor/dialog/common/fck_dialog_common.js" type="text/javascript"></script>
<script src="../editor/dialog/tranpic/fck_image.js" type="text/javascript"></script>
<script type="text/javascript">
document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
</script>
示例8: ReturnSearchAllSql
function ReturnSearchAllSql($add)
{
global $public_r, $class_r;
//关闭
if (empty($public_r['openschall'])) {
printerror("SchallClose", '', 1);
}
//关键字
$keyboard = RepPostVar2($add['keyboard']);
if (!trim($keyboard)) {
printerror('EmptySchallKeyboard', '', 1);
}
$strlen = strlen($keyboard);
if ($strlen < $public_r['schallminlen'] || $strlen > $public_r['schallmaxlen']) {
printerror('SchallMinKeyboard', '', 1);
}
$returnr['keyboard'] = ehtmlspecialchars($keyboard);
$returnr['search'] = "&keyboard=" . $keyboard;
//字段
$field = (int) $add['field'];
if ($field) {
$returnr['search'] .= "&field=" . $field;
}
if ($field == 1) {
if ($public_r['schallfield'] != 1) {
printerror('SchallNotOpenTitleText', '', 1);
}
$sf = "title,infotext";
} elseif ($field == 2) {
if ($public_r['schallfield'] == 3) {
printerror('SchallNotOpenTitle', '', 1);
}
$sf = "title";
} elseif ($field == 3) {
if ($public_r['schallfield'] == 2) {
printerror('SchallNotOpenText', '', 1);
}
$sf = "infotext";
} else {
$sf = ReturnSearchAllField(0);
}
$where = '';
//栏目
$classid = RepPostVar($add['classid']);
if ($classid) {
$returnr['search'] .= "&classid=" . $classid;
if (strstr($classid, ",")) {
$son_r = sys_ReturnMoreClass($classid, 1);
$where .= '(' . $son_r[1] . ') and ';
} else {
$classid = (int) $classid;
$where .= $class_r[$classid][islast] ? "classid='{$classid}' and " : ReturnClass($class_r[$classid][sonclass]) . ' and ';
}
}
//关键字
if (strstr($keyboard, ' ')) {
$andkey = '';
$keyr = explode(' ', $keyboard);
$kcount = count($keyr);
for ($i = 0; $i < $kcount; $i++) {
if (strlen($keyr[$i]) < $public_r['schallminlen']) {
continue;
}
$kb = SearchAllChangeChar($keyr[$i]);
//转码
$kb = SearchReturnSaveStr($kb);
$kb = RepPostVar2($kb);
if (!trim($kb)) {
continue;
}
$where .= $andkey . "MATCH(" . $sf . ") AGAINST('" . $kb . "' IN BOOLEAN MODE)";
$andkey = ' and ';
}
if (empty($where)) {
printerror('SchallMinKeyboard', '', 1);
}
} else {
$keyboard = SearchAllChangeChar($keyboard);
//转码
$keyboard = SearchReturnSaveStr($keyboard);
$keyboard = RepPostVar2($keyboard);
if (!trim($keyboard)) {
printerror('EmptySchallKeyboard', '', 1);
}
$where .= "MATCH(" . $sf . ") AGAINST('" . $keyboard . "' IN BOOLEAN MODE)";
}
$returnr['where'] = $where;
return $returnr;
}
示例9: ehtmlspecialchars
{
global $enews;
$start = 1;
if ($zero) {
$start = 0;
}
for ($i = $start; $i <= $num; $i++) {
$select = '';
if ($enews == 'EditTask' && (',' . $i . ',' == ',' . $thisno . ',' || strstr($thisno, ',' . $i . ','))) {
$select = ' selected';
}
$options .= "<option value='" . $i . "'" . $select . ">" . $i . "</option>";
}
echo $options;
}
$enews = ehtmlspecialchars($_GET['enews']);
$url = "<a href='ListTask.php" . $ecms_hashur['whehref'] . "'>管理计划任务</a> > 增加计划任务";
$postword = '增加计划任务';
$r['isopen'] = 1;
$r['doday'] = '*';
$r['doweek'] = '*';
$r['dohour'] = '*';
$r['dominute'] = ',';
if ($enews == "EditTask") {
$id = (int) $_GET['id'];
$r = $empire->fetch1("select * from {$dbtbpre}enewstask where id='{$id}'");
$url = "<a href='ListTask.php" . $ecms_hashur['whehref'] . "'>管理计划任务</a> > 修改计划任务:<b>" . $r[taskname] . "</b>";
$postword = '修改计划任务';
}
//用户
$userselect = '';
示例10: SetEnews
function SetEnews($add, $userid, $username)
{
global $empire, $dbtbpre;
//操作权限
CheckLevel($userid, $username, $classid, "public");
$add[newsurl] = ehtmlspecialchars($add[newsurl], ENT_QUOTES);
if (empty($add[indextype])) {
$add[indextype] = ".html";
}
if (empty($add[searchtype])) {
$add[searchtype] = ".html";
}
//备份目录
if (empty($add[bakdbpath])) {
$add[bakdbpath] = "bdata";
}
if (!file_exists("ebak/" . RepPathStr($add[bakdbpath]))) {
printerror("NotBakDbPath", "");
}
if (empty($add[bakdbzip])) {
$add[bakdbzip] = "zip";
}
if (!file_exists("ebak/" . RepPathStr($add[bakdbzip]))) {
printerror("NotbakZipPath", "");
}
//函数是否存在
if (!function_exists($add['listpagefun']) || !function_exists($add['textpagefun']) || !function_exists($add['listpagelistfun'])) {
printerror("NotPageFun", "history.go(-1)");
}
//adfile
$add['adfile'] = RepFilenameQz($add['adfile']);
//修改ftp密码
if ($add[ftppassword]) {
$a = "ftppassword='{$add['ftppassword']}',";
}
//变量处理
$add[filesize] = (int) $add[filesize];
$add[hotnum] = (int) $add[hotnum];
$add[newnum] = (int) $add[newnum];
$add[relistnum] = (int) $add[relistnum];
$add[renewsnum] = (int) $add[renewsnum];
$add[min_keyboard] = (int) $add[min_keyboard];
$add[max_keyboard] = (int) $add[max_keyboard];
$add[search_num] = (int) $add[search_num];
$add[search_pagenum] = (int) $add[search_pagenum];
$add[newslink] = (int) $add[newslink];
$add[checked] = (int) $add[checked];
$add[searchtime] = (int) $add[searchtime];
$add[loginnum] = (int) $add[loginnum];
$add[logintime] = (int) $add[logintime];
$add[addnews_ok] = (int) $add[addnews_ok];
$add[register_ok] = (int) $add[register_ok];
$add[goodlencord] = (int) $add[goodlencord];
$add[goodnum] = (int) $add[goodnum];
$add[exittime] = (int) $add[exittime];
$add[smalltextlen] = (int) $add[smalltextlen];
$add[defaultgroupid] = (int) $add[defaultgroupid];
$add[phpmode] = (int) $add[phpmode];
$add[install] = (int) $add[install];
$add[hotplnum] = (int) $add[hotplnum];
$add[dorepnum] = (int) $add[dorepnum];
$add[loadtempnum] = (int) $add[loadtempnum];
$add[firstnum] = (int) $add[firstnum];
$add[min_userlen] = (int) $add[min_userlen];
$add[max_userlen] = (int) $add[max_userlen];
$add[min_passlen] = (int) $add[min_passlen];
$add[max_passlen] = (int) $add[max_passlen];
$add[filechmod] = (int) $add[filechmod];
$add[sametitle] = (int) $add[sametitle];
$add[addrehtml] = (int) $add[addrehtml];
$add[loginkey_ok] = (int) $add[loginkey_ok];
$add[limittype] = (int) $add[limittype];
$add[redodown] = (int) $add[redodown];
$add[candocode] = (int) $add[candocode];
$add[opennotcj] = (int) $add[opennotcj];
$add[reuserpagenum] = (int) $add[reuserpagenum];
$add[revotejsnum] = (int) $add[revotejsnum];
$add[readjsnum] = (int) $add[readjsnum];
$add[qaddtran] = (int) $add[qaddtran];
$add[qaddtransize] = (int) $add[qaddtransize];
$add[ebakthisdb] = (int) $add[ebakthisdb];
$add[delnewsnum] = (int) $add[delnewsnum];
$add[markpos] = (int) $add[markpos];
$add[adminloginkey] = (int) $add[adminloginkey];
$add[php_outtime] = (int) $add[php_outtime];
$add[addreinfo] = (int) $add[addreinfo];
$add[rssnum] = (int) $add[rssnum];
$add[rsssub] = (int) $add[rsssub];
$add[dorepdlevelnum] = (int) $add[dorepdlevelnum];
$add[listpagelistnum] = (int) $add[listpagelistnum];
$add[infolinknum] = (int) $add[infolinknum];
$add[searchgroupid] = (int) $add[searchgroupid];
$add[opencopytext] = (int) $add[opencopytext];
$add[reuserjsnum] = (int) $add[reuserjsnum];
$add[reuserlistnum] = (int) $add[reuserlistnum];
$add[opentitleurl] = (int) $add[opentitleurl];
$add['qaddtranfile'] = (int) $add['qaddtranfile'];
$add['qaddtranfilesize'] = (int) $add['qaddtranfilesize'];
$add['sendmailtype'] = (int) $add['sendmailtype'];
$add['loginemail'] = (int) $add['loginemail'];
//.........这里部分代码省略.........
示例11: page1
$listpage = page1($num, $line, $page_line, $start, $page, $search);
//取得模板
if ($search_r['tempid']) {
$tempr = $empire->fetch1("select temptext,subnews,listvar,rownum,showdate,modid,subtitle,docode from " . GetTemptb("enewssearchtemp") . " where tempid='" . $search_r['tempid'] . "' limit 1");
} elseif (empty($class_r[$search_r[trueclassid]][searchtempid])) {
$tempr = $empire->fetch1("select temptext,subnews,listvar,rownum,showdate,modid,subtitle,docode from " . GetTemptb("enewssearchtemp") . " where isdefault=1 limit 1");
} else {
$tempr = $empire->fetch1("select temptext,subnews,listvar,rownum,showdate,modid,subtitle,docode from " . GetTemptb("enewssearchtemp") . " where tempid='" . $class_r[$search_r[trueclassid]][searchtempid] . "' limit 1");
}
$have_class = 1;
//替换公共模板变量
$listtemp = $tempr[temptext];
if ($public_r['searchtempvar']) {
$listtemp = ReplaceTempvar($listtemp);
}
$search_r[keyboard] = ehtmlspecialchars($search_r[keyboard]);
$listtemp = str_replace("[!--show.page--]", $listpage, $listtemp);
$listtemp = str_replace("[!--keyboard--]", $search_r[keyboard], $listtemp);
$listtemp = str_replace("[!--ecms.num--]", $num, $listtemp);
$url = "<a href='" . ReturnSiteIndexUrl() . "'>" . $fun_r['index'] . "</a> > " . $fun_r['adsearch'];
$pagetitle = $fun_r['adsearch'] . " " . $search_r[keyboard];
$listtemp = ReplaceSvars($listtemp, $url, 0, $pagetitle, $pagetitle, $pagetitle, $add, 0);
$rownum = $tempr[rownum];
if (empty($rownum)) {
$rownum = 1;
}
$formatdate = $tempr[showdate];
$subnews = $tempr[subnews];
$subtitle = $tempr[subtitle];
$docode = $tempr[docode];
$modid = $tempr[modid];
示例12: db_connect
$link = db_connect();
$empire = new mysqlquery();
$editor = 1;
//验证用户
$lur = is_login();
$logininid = $lur['userid'];
$loginin = $lur['username'];
$loginrnd = $lur['rnd'];
$loginlevel = $lur['groupid'];
$loginadminstyleid = $lur['adminstyleid'];
//ehash
$ecms_hashur = hReturnEcmsHashStrAll();
//验证权限
CheckLevel($logininid, $loginin, $classid, "bq");
$enews = ehtmlspecialchars($_GET['enews']);
$cid = ehtmlspecialchars($_GET['cid']);
$url = "<a href=ListBq.php" . $ecms_hashur['whehref'] . ">管理标签</a> > 增加标签";
//修改标签
if ($enews == "EditBq") {
$bqid = (int) $_GET['bqid'];
$url = "<a href=ListBq.php" . $ecms_hashur['whehref'] . ">管理标签</a> > 修改标签";
$r = $empire->fetch1("select bqname,bqsay,funname,bq,issys,bqgs,isclose,classid,myorder from {$dbtbpre}enewsbq where bqid='{$bqid}'");
}
//分类
$cstr = "";
$csql = $empire->query("select classid,classname from {$dbtbpre}enewsbqclass order by classid");
while ($cr = $empire->fetch($csql)) {
$select = "";
if ($cr[classid] == $r[classid]) {
$select = " selected";
}
示例13: ehtmlspecialchars
<tr bgcolor="#FFFFFF">
<td height="25" valign="top"><strong>列表内容模板(list.var) </strong>(*)</td>
<td width="64%" height="25">请将模板内容<a href="#ecms" onclick="window.clipboardData.setData('Text',document.form1.listvar.value);document.form1.listvar.select()" title="点击复制模板内容"><strong>复制到Dreamweaver(推荐)</strong></a>或者使用<a href="#ecms" onclick="window.open('editor.php?<?php
echo $ecms_hashur['ehref'];
?>
&getvar=opener.document.form1.listvar.value&returnvar=opener.document.form1.listvar.value&fun=ReturnHtml¬fullpage=1','edittemp','width=880,height=600,scrollbars=auto,resizable=yes');"><strong>模板在线编辑</strong></a>进行可视化编辑</td>
<td width="14%"><div align="right">
<input name="docode" type="checkbox" id="docode" value="1"<?php
echo $r[docode] == 1 ? ' checked' : '';
?>
><a title="list.var使用程序代码">使用程序代码</a></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" valign="top"> <div align="center">
<textarea name="listvar" cols="90" rows="12" id="listvar" wrap="OFF" style="WIDTH: 100%"><?php
echo ehtmlspecialchars(stripSlashes($r[listvar]));
?>
</textarea>
</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> </td>
<td height="25" colspan="2"><input type="submit" name="Submit" value="保存模板">
<input type="reset" name="Submit2" value="重置">
<?php
if ($enews == 'EditBqtemp') {
?>
[<a href="#empirecms" onclick="window.open('TempBak.php?temptype=bqtemp&tempid=<?php
echo $tempid;
?>
&gid=<?php
示例14: CreateHtml
/**
* Return the HTML code required to run FCKeditor.
*
* @return string
*/
function CreateHtml()
{
$HtmlValue = ehtmlspecialchars($this->Value);
$Html = '';
if (!isset($_GET)) {
global $HTTP_GET_VARS;
$_GET = $HTTP_GET_VARS;
}
if ($this->IsCompatible()) {
if (isset($_GET['fcksource']) && $_GET['fcksource'] == "true") {
$File = 'fckeditor.original.html';
} else {
$File = 'fckeditor.html';
}
$Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" . ECMS_ReturnEditorCx();
if ($this->ToolbarSet != '') {
$Link .= "&Toolbar={$this->ToolbarSet}";
}
// Render the linked hidden field.
$Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />";
// Render the configurations hidden field.
$Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />";
// Render the editor IFRAME.
$Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>";
} else {
if (strpos($this->Width, '%') === false) {
$WidthCSS = $this->Width . 'px';
} else {
$WidthCSS = $this->Width;
}
if (strpos($this->Height, '%') === false) {
$HeightCSS = $this->Height . 'px';
} else {
$HeightCSS = $this->Height;
}
$Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>";
}
return $Html;
}
示例15: stripSlashes
</tr>
<tr>
<td><input name="add[z_productpic]" type="text" id="productpic5" value="<?php
echo stripSlashes($r[z_productpic]);
?>
">
(如填写这里,这就是字段的值)</td>
</tr>
</table></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="22" valign="top"><strong>商品介绍正则:</strong><br>
(<input name="textfield" type="text" id="textfield" value="[!--newstext--]" size="20">)</td>
<td><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td><textarea name="add[zz_newstext]" cols="60" rows="10" id="textarea"><?php
echo ehtmlspecialchars(stripSlashes($r[zz_newstext]));
?>
</textarea></td>
</tr>
<tr>
<td><input name="add[z_newstext]" type="text" id="add[z_newstext]" value="<?php
echo stripSlashes($r[z_newstext]);
?>
">
(如填写这里,将为字段的值)</td>
</tr>
</table></td>
</tr>