{
string ItemLabelString = node.ChildNodes.Item(current).FirstChild.ChildNodes.Item(i).Attributes["Label"].Value;
string ItemURLString="";
if(node.ChildNodes.Item(current).FirstChild.ChildNodes.Item(i).Attributes["URL"] != null)
ItemURLString = node.ChildNodes.Item(current).FirstChild.ChildNodes.Item(i).Attributes["URL"].Value;
}
if(node.ChildNodes.Item(current).FirstChild.ChildNodes.Item(i).Attributes["RightCode"] != null)
rightCode = node.ChildNodes.Item(current).FirstChild.ChildNodes.Item(i).Attributes["RightCode"].Value;
else
rightCode = "";
foreach(string rule in Rule)
if(rule==rightCode || ruleString=="admin")
s = s + "\n\t\t<a href=\"#;\" onMouseOver=\"expandMenu(''''menu"+current+"'''');\" onclick=\"window.location=''''"+ItemURLString+"''''\">";
s = s + "\n\t\t"+ItemLabelString+"</a><br>";
s = s + "</div>";
s = s + "</tr>";
s = s + "</tr></table>\n\n";
s = s + "<p class=\"a\"></p>\n";
上一页 [1] [2] [3] 下一页
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18