- <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Album.Pages.showalbumlist" %>
- <%@ Import namespace="System.Data" %>
- <%@ Import namespace="Discuz.Common" %>
- <%@ Import namespace="Discuz.Forum" %>
- <%@ Import namespace="Discuz.Entity" %>
- <script runat="server">
- override protected void OnInit(EventArgs e)
- {
- /*
- This page was created by Discuz!NT Template Engine at 2009/1/15 15:59:22.
- 本页面代码由Discuz!NT模板引擎生成于 2009/1/15 15:59:22.
- */
- base.OnInit(e);
- templateBuilder.Capacity = 220000;
- templateBuilder.Append("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">rn");
- templateBuilder.Append("<html xmlns="http://www.w3.org/1999/xhtml">rn");
- templateBuilder.Append("<head>rn");
- templateBuilder.Append("<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />rn");
- templateBuilder.Append(meta.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append("<title>");
- templateBuilder.Append(pagetitle.ToString());
- templateBuilder.Append(" ");
- templateBuilder.Append(config.Seotitle.ToString().Trim());
- templateBuilder.Append(" - ");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append(" - Powered by Discuz!NT</title>rn");
- templateBuilder.Append("<link rel="icon" href="favicon.ico" type="image/x-icon" />rn");
- templateBuilder.Append("<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> rn");
- templateBuilder.Append("<!-- 调用样式表 -->rn");
- templateBuilder.Append("<link rel="stylesheet" href="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/main.css" type="text/css" media="all" />rn");
- templateBuilder.Append(link.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_report.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_utils.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/common.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/menu.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript"> rn");
- templateBuilder.Append(" var aspxrewrite = ");
- templateBuilder.Append(config.Aspxrewrite.ToString().Trim());
- templateBuilder.Append(";rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append(script.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append("</head>rn");
- templateBuilder.Append("<body>rn");
- templateBuilder.Append("<div id="container">rn");
- templateBuilder.Append("<!--header start-->rn");
- templateBuilder.Append("<div id="header">rn");
- templateBuilder.Append(" <h2><a href="");
- templateBuilder.Append(config.Forumurl.ToString().Trim());
- templateBuilder.Append("" title="Discuz!NT|BBS|论坛 - Powered by Discuz!NT"><img src="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/logo.gif" alt="Discuz!NT|BBS|论坛"/></a>rn");
- templateBuilder.Append(" </h2>rn");
- if (headerad!="")
- {
- templateBuilder.Append(" <div id="ad_headerbanner">");
- templateBuilder.Append(headerad.ToString());
- templateBuilder.Append("</div>rn");
- } //end if
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<div id="menu">rn");
- templateBuilder.Append(" <span class="avataonline">rn");
- if (userid==-1)
- {
- templateBuilder.Append(" <form id="loginform" name="login" method="post" action="login.aspx?loginsubmit=true">rn");
- templateBuilder.Append(" <input type="hidden" name="referer" value="website.aspx" />rn");
- templateBuilder.Append(" <input onclick="if(this.value=='用户名')this.value = ''" value="用户名" tabindex="1" maxlength="40" size="15" name="postusername" id="username" type="text" />rn");
- templateBuilder.Append(" <input type="password" size="10" name="password" id="password" tabindex="2" />rn");
- templateBuilder.Append(" <button value="true" type="submit" name="userlogin"> 登录 </button>rn");
- templateBuilder.Append(" </form>rn");
- }
- else
- {
- aspxrewriteurl = this.UserInfoAspxRewrite(userid);
- templateBuilder.Append(" <cite>欢迎:<a href="");
- templateBuilder.Append(aspxrewriteurl.ToString());
- templateBuilder.Append("">");
- templateBuilder.Append(username.ToString());
- templateBuilder.Append("</a></cite>rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("logout.aspx?userkey=");
- templateBuilder.Append(userkey.ToString());
- templateBuilder.Append("&reurl=website.aspx">退出</a>rn");
- } //end if
- templateBuilder.Append(" </span>rn");
- templateBuilder.Append(" <ul>rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(mainnavigation.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append("</div>rn");
- if (page_err==0)
- {
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" <div id="info">rn");
- templateBuilder.Append(" <a href="showphotolist.aspx?type=2">最新图片</a>rn");
- templateBuilder.Append(" <a href="showphotolist.aspx?type=1">最多评论</a>rn");
- templateBuilder.Append(" <a href="showphotolist.aspx?type=3" class="notabs">最多收藏</a>rn");
- templateBuilder.Append(" </div> rn");
- } //end if
- templateBuilder.Append(" <div id="foruminfo">rn");
- templateBuilder.Append(" <div id="userinfo">rn");
- if (currentcate!=0)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(config.Albumurl.ToString().Trim());
- templateBuilder.Append("" id="NavHome" onmouseover="showMenu(this.id);" onmouseout="showMenu(this.id);">");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append("首页</a> » ");
- templateBuilder.Append(currentalbumcategory.Title.ToString().Trim());
- templateBuilder.Append("rn");
- }
- else if (albumsuserid!=0)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(config.Albumurl.ToString().Trim());
- templateBuilder.Append("" id="NavHome" onmouseover="showMenu(this.id);" onmouseout="showMenu(this.id);">");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append("首页</a> » ");
- templateBuilder.Append(albumusername.ToString());
- templateBuilder.Append("rn");
- }
- else if (currentcate!=0 && albumsuserid!=0)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(config.Albumurl.ToString().Trim());
- templateBuilder.Append("" id="NavHome" onmouseover="showMenu(this.id);" onmouseout="showMenu(this.id);">");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append("首页</a> » ");
- templateBuilder.Append(albumusername.ToString());
- templateBuilder.Append("的");
- templateBuilder.Append(currentalbumcategory.Title.ToString().Trim());
- templateBuilder.Append("rn");
- }
- else
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(config.Albumurl.ToString().Trim());
- templateBuilder.Append("" id="NavHome" onmouseover="showMenu(this.id);" onmouseout="showMenu(this.id);">");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append("首页</a> » 全部");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append("rn");
- } //end if
- templateBuilder.Append(" </div> rn");
- templateBuilder.Append(" <div id="headsearch">rn");
- templateBuilder.Append(" <div id="search">rn");
- templateBuilder.Append(" <form method="post" action="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("search.aspx" target="_blank" onsubmit="bind_keyword(this);">rn");
- templateBuilder.Append(" <input type="hidden" name="poster" />rn");
- templateBuilder.Append(" <input type="hidden" name="keyword" />rn");
- templateBuilder.Append(" <input type="hidden" name="type" value="" />rn");
- templateBuilder.Append(" <input id="keywordtype" type="hidden" name="keywordtype" value="0"/>rn");
- templateBuilder.Append(" <div id="searchbar">rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt id="quicksearch" class="s2" onclick="showMenu(this.id, false);" onmouseover="MouseCursor(this);">帖子标题</dt>rn");
- templateBuilder.Append(" <dd class="textinput"><input type="text" name="keywordf" value="" class="text"/></dd>rn");
- templateBuilder.Append(" <dd><input name="searchsubmit" type="submit" value="" class="s3"/></dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </form>rn");
- templateBuilder.Append(" <script type="text/javascript">function bind_keyword(form){if(form.keywordtype.value=='8'){form.keyword.value='';form.poster.value=form.keywordf.value; } else { form.poster.value=''; form.keyword.value=form.keywordf.value;if(form.keywordtype.value == '2')form.type.value = 'spacepost';if(form.keywordtype.value == '3')form.type.value = 'album';}}</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(navhomemenu.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" <div id="ntforumbody">rn");
- templateBuilder.Append(" <div class="modulebox">rn");
- templateBuilder.Append(" <div class="forumtitle">rn");
- templateBuilder.Append(" <h2>");
- templateBuilder.Append(config.Albumname.ToString().Trim());
- templateBuilder.Append("</h2>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="inforsort">rn");
- int albumcategory__loop__id=0;
- foreach(AlbumCategoryInfo albumcategory in albumcategorylist)
- {
- albumcategory__loop__id++;
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(albumurl.ToString());
- templateBuilder.Append("showalbumlist.aspx?cate=");
- templateBuilder.Append(albumcategory.Albumcateid.ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(albumcategory.Title.ToString().Trim());
- templateBuilder.Append("</a>rn");
- if (albumcategory__loop__id!=albumcategorylist.Count)
- {
- templateBuilder.Append(" |rn");
- } //end if
- } //end loop
- templateBuilder.Append(" </div>rn");
- if (albumlist.Count>0)
- {
- templateBuilder.Append(" <div class="ntforumpage">rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(prevpage.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(pagenumbers.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(nextpage.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="Photo">rn");
- templateBuilder.Append(" <ul> rn");
- int album__loop__id=0;
- foreach(AlbumInfo album in albumlist)
- {
- album__loop__id++;
- templateBuilder.Append(" <li> rn");
- if (album.Logo!="")
- {
- templateBuilder.Append(" <div class="PhotoPicture">rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(albumurl.ToString());
- templateBuilder.Append("showalbum.aspx?albumid=");
- templateBuilder.Append(album.Albumid.ToString().Trim());
- templateBuilder.Append(""><img src="");
- templateBuilder.Append(album.Logo.ToString().Trim());
- templateBuilder.Append("" alt="");
- templateBuilder.Append(album.Title.ToString().Trim());
- templateBuilder.Append("" style="max-height: 80px; max-width: 105px" /></a>rn");
- templateBuilder.Append(" </div>rn");
- }
- else
- {
- templateBuilder.Append(" <div class="nopicture">rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(albumurl.ToString());
- templateBuilder.Append("showalbum.aspx?albumid=");
- templateBuilder.Append(album.Albumid.ToString().Trim());
- templateBuilder.Append(""><img src="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/album/NoPhoto.jpg" alt="");
- templateBuilder.Append(album.Albumid.ToString().Trim());
- templateBuilder.Append("" /></a>rn");
- templateBuilder.Append(" </div>rn");
- } //end if
- templateBuilder.Append(" <h3><a href="");
- templateBuilder.Append(albumurl.ToString());
- templateBuilder.Append("showalbumlist.aspx?uid=");
- templateBuilder.Append(album.Userid.ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(album.Username.ToString().Trim());
- templateBuilder.Append("</a>的相册</h3>rn");
- templateBuilder.Append(" <p><a href="");
- templateBuilder.Append(albumurl.ToString());
- templateBuilder.Append("showalbum.aspx?albumid=");
- templateBuilder.Append(album.Albumid.ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(album.Title.ToString().Trim());
- templateBuilder.Append("</a> (");
- templateBuilder.Append(album.Imgcount.ToString().Trim());
- templateBuilder.Append(")</p>rn");
- templateBuilder.Append(" </li>rn");
- } //end loop
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="ntforumpage">rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(prevpage.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(pagenumbers.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(nextpage.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </div>rn");
- }
- else
- {
- templateBuilder.Append("<div class="box message">rn");
- templateBuilder.Append(" <h1>相册 提示信息</h1>rn");
- templateBuilder.Append(" <p>");
- templateBuilder.Append(msgbox_text.ToString());
- templateBuilder.Append("</p>rn");
- if (msgbox_url!="")
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(msgbox_url.ToString());
- templateBuilder.Append("">如果浏览器没有转向, 请点击这里.</a>rn");
- } //end if
- templateBuilder.Append("</div>rn");
- templateBuilder.Append(" <p style="text-align:center; line-height:35px;"><a href="usercpspacemanagealbum.aspx?albumid=-1" class="newbutton">创建新相册</a></p>rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- }
- else
- {
- templateBuilder.Append("<div class="box message">rn");
- templateBuilder.Append(" <h1>出现了");
- templateBuilder.Append(page_err.ToString());
- templateBuilder.Append("个错误</h1>rn");
- templateBuilder.Append(" <p>");
- templateBuilder.Append(msgbox_text.ToString());
- templateBuilder.Append("</p>rn");
- templateBuilder.Append(" <p class="errorback">rn");
- templateBuilder.Append(" <script type="text/javascript">rn");
- templateBuilder.Append(" if(");
- templateBuilder.Append(msgbox_showbacklink.ToString());
- templateBuilder.Append(")rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" document.write("<a href=\"");
- templateBuilder.Append(msgbox_backlink.ToString());
- templateBuilder.Append("\">返回上一步</a> |   ");rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" </");
- templateBuilder.Append("script>rn");
- templateBuilder.Append(" <a href="forumindex.aspx">论坛首页</a>rn");
- if (usergroupid==7)
- {
- templateBuilder.Append("  | <a href="register.aspx">注册</a>rn");
- } //end if
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append("</div>rn");
- } //end if
- if (footerad!="")
- {
- templateBuilder.Append("<!--底部广告显示-->rn");
- templateBuilder.Append("<div id="ad_footerbanner">");
- templateBuilder.Append(footerad.ToString());
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<!--底部广告结束-->rn");
- } //end if
- templateBuilder.Append("<div id="footer">rn");
- templateBuilder.Append(" <div class="wrap">rn");
- templateBuilder.Append(" <div id="footlinks">rn");
- templateBuilder.Append(" <p><a href="");
- templateBuilder.Append(config.Weburl.ToString().Trim());
- templateBuilder.Append("" target="_blank">");
- templateBuilder.Append(config.Webtitle.ToString().Trim());
- templateBuilder.Append("</a> ");
- templateBuilder.Append(config.Linktext.ToString().Trim());
- templateBuilder.Append("rn");
- if (config.Sitemapstatus==1)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("tools/sitemap.aspx" target="_blank" title="百度论坛收录协议">Sitemap</a>rn");
- } //end if
- templateBuilder.Append(" ");
- templateBuilder.Append(config.Statcode.ToString().Trim());
- templateBuilder.Append("rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(config.Icp.ToString().Trim());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" <p>rn");
- templateBuilder.Append(" <a href="http://www.comsenz.com/" target="_blank">Comsenz Technology Ltd</a>rn");
- templateBuilder.Append(" - <a href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("archiver/index.aspx" target="_blank">简洁版本</a>rn");
- templateBuilder.Append(" - <span class="scrolltop" onclick="window.scrollTo(0,0);">TOP</span>rn");
- if (config.Stylejump==1)
- {
- if (userid!=-1 || config.Guestcachepagetimeout<=0)
- {
- templateBuilder.Append(" - <span id="styleswitcher" class="dropmenu" onmouseover="showMenu(this.id)" onclick="window.location.href='");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("showtemplate.aspx'">界面风格</span>rn");
- templateBuilder.Append(" <div id="styleswitcher_menu" class="popupmenu_popup" style="display: none;">rn");
- templateBuilder.Append(" <ul>rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(templatelistboxoptions.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- } //end if
- } //end if
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <a title="Powered by Discuz!NT" target="_blank" href="http://nt.discuz.net"><img border="0" alt="Discuz!NT" src="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/discuznt_logo.gif"/></a>rn");
- templateBuilder.Append(" <p id="copyright">rn");
- templateBuilder.Append(" Powered by <strong><a href="http://nt.discuz.net" target="_blank" title="Discuz!NT 2.6 (.NET Framework 2.0/3.x)">Discuz!NT</a></strong> <em>2.6.0</em>rn");
- if (config.Licensed==1)
- {
- templateBuilder.Append(" (<a href="" onclick="this.href='http://nt.discuz.net/certificate/?host='+location.href.substring(0, location.href.lastIndexOf('/'))" target="_blank">Licensed</a>)rn");
- } //end if
- templateBuilder.Append(" ");
- templateBuilder.Append(config.Forumcopyright.ToString().Trim());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" <p id="debuginfo">rn");
- if (config.Debug!=0)
- {
- templateBuilder.Append(" Processed in ");
- templateBuilder.Append(this.Processtime.ToString().Trim());
- templateBuilder.Append(" second(s)rn");
- if (isguestcachepage==1)
- {
- templateBuilder.Append(" (Cached).rn");
- }
- else if (querycount>1)
- {
- templateBuilder.Append(" , ");
- templateBuilder.Append(querycount.ToString());
- templateBuilder.Append(" queries.rn");
- }
- else
- {
- templateBuilder.Append(" , ");
- templateBuilder.Append(querycount.ToString());
- templateBuilder.Append(" query.rn");
- } //end if
- } //end if
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<ul class="popupmenu_popup" id="viewpro_menu" style="display: none">rn");
- if (useravatar!="")
- {
- templateBuilder.Append(" <img src="");
- templateBuilder.Append(useravatar.ToString());
- templateBuilder.Append(""/>rn");
- } //end if
- aspxrewriteurl = this.UserInfoAspxRewrite(userid);
- templateBuilder.Append(" <li class="popuser"><a href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append(aspxrewriteurl.ToString());
- templateBuilder.Append("">我的资料</a></li>rn");
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" <li class="poplink">rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append(spaceurl.ToString());
- templateBuilder.Append("space/">我的空间</a>rn");
- templateBuilder.Append(" </li>rn");
- } //end if
- templateBuilder.Append("</ul>rn");
- int prentid__loop__id=0;
- foreach(string prentid in mainnavigationhassub)
- {
- prentid__loop__id++;
- templateBuilder.Append("<ul class="popupmenu_popup headermenu_popup" id="menu_");
- templateBuilder.Append(prentid.ToString());
- templateBuilder.Append("_menu" style="display: none">rn");
- int subnav__loop__id=0;
- foreach(DataRow subnav in subnavigation.Rows)
- {
- subnav__loop__id++;
- bool isoutput = false;
- if (subnav["parentid"].ToString().Trim()==prentid)
- {
- if (subnav["level"].ToString().Trim()=="0")
- {
- isoutput = true;
- }
- else
- {
- if (subnav["level"].ToString().Trim()=="1" && userid!=-1)
- {
- isoutput = true;
- }
- else
- {
- bool leveluseradmindi = true;
- leveluseradmindi = (useradminid==3 || useradminid==1 || useradminid==2);
- if (subnav["level"].ToString().Trim()=="2" && leveluseradmindi)
- {
- isoutput = true;
- } //end if
- if (subnav["level"].ToString().Trim()=="3" && useradminid==1)
- {
- isoutput = true;
- } //end if
- } //end if
- } //end if
- } //end if
- if (isoutput)
- {
- if (subnav["id"].ToString().Trim()=="11" || subnav["id"].ToString().Trim()=="12")
- {
- if (config.Statstatus==1)
- {
- templateBuilder.Append(" " + subnav["nav"].ToString().Trim() + "rn");
- continue;
- }
- else
- {
- continue;
- } //end if
- } //end if
- if (subnav["id"].ToString().Trim()=="18")
- {
- if (config.Oltimespan>0)
- {
- templateBuilder.Append(" " + subnav["nav"].ToString().Trim() + "rn");
- continue;
- }
- else
- {
- continue;
- } //end if
- } //end if
- if (subnav["id"].ToString().Trim()=="24")
- {
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" " + subnav["nav"].ToString().Trim() + "rn");
- continue;
- }
- else
- {
- continue;
- } //end if
- } //end if
- if (subnav["id"].ToString().Trim()=="25")
- {
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" " + subnav["nav"].ToString().Trim() + "rn");
- continue;
- }
- else
- {
- continue;
- } //end if
- } //end if
- if (subnav["id"].ToString().Trim()=="26")
- {
- if (config.Enablemall>=1)
- {
- templateBuilder.Append(" " + subnav["nav"].ToString().Trim() + "rn");
- continue;
- }
- else
- {
- continue;
- } //end if
- } //end if
- templateBuilder.Append(" " + subnav["nav"].ToString().Trim() + "rn");
- } //end if
- } //end loop
- templateBuilder.Append("</ul>rn");
- } //end loop
- templateBuilder.Append("<div id="quicksearch_menu" class="searchmenu" style="display: none;">rn");
- templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='0';document.getElementById('quicksearch').innerHTML='帖子标题';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">帖子标题</div>rn");
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='2';document.getElementById('quicksearch').innerHTML='空间日志';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">空间日志</div>rn");
- } //end if
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='3';document.getElementById('quicksearch').innerHTML='相册标题';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">相册标题</div>rn");
- } //end if
- templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='8';document.getElementById('quicksearch').innerHTML='作 者';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">作 者</div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("</body>rn");
- templateBuilder.Append("</html>rn");
- Response.Write(templateBuilder.ToString());
- }
- </script>