📄 tag.inc.php
字号:
function keyword($field, $value)
{
if($value === '') return '';
$value = str_replace(array('\'','"'), array('',''), $value);
if(strpos($value, ' '))
{
$tags = array_map('trim', explode(' ', $value));
$tags = "'".implode("','", $tags)."'";
$where = "k.`tag` IN($tags)";
}
else
{
$where = "k.`tag`='$value'";
}
return array(DB_PRE.'content_tag','contentid',$where);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -