{dede:arclist typeid='121' row='8' titlelen='66' orderby='pubdate' channelid='6' addfields='classhours,campus,classtime,trueprice' addname='coursetype' addvalue='5'}
红色即为标签添加的新属性,为了让属性生效,做如下操作:
找到\include\taglib\arclist.lib.php文件
//获取附加表信息
$addfield = trim($ctag->GetAtt('addfields'));
找到上面的代码,新加:
$addname = trim($ctag->GetAtt('addname'));
$addvalue = intval($ctag->GetAtt('addvalue'));
if(!empty($addname)) $orwhere .= " and $addname=".$addvalue;
delphi lazarus opengl
网页操作自动化, 图像分析破解,游戏开发