GetOne("Select * From `#@__co_note` where nid='$nid'");
$noteconfig = "{dede:listconfig}\r\n".$row['listconfig']."\r\n{/dede:listconfig}\r\n\r\n";
$noteconfig .= "{dede:itemconfig}\r\n".$row['itemconfig']."\r\n{/dede:itemconfig}";
if(empty($extype) || $extype=='base64')
{
$noteconfig = "BASE64:".base64_encode($noteconfig).":END";
$exmsg = " 【导出为普通格式】 ";
}
else
{
$exmsg = " 【导出为Base64格式】 ";
}
$wintitle = "导出采集规则";
$wecome_info = "采集节点管理::导出采集规则 $exmsg";
$win = new OxWindow();
$win->Init();
$win->AddTitle("以下为规则 [{$row['notename']}] 的文本配置,你可以共享给你的朋友:");
$winform = $win->GetWindow("hand","");
$win->Display();
?>