国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

是不是這個?

2024-07-21 02:28:04
字體:
來源:轉載
供稿:網友
        /// <summary>
        /// 貼子列表
        /// </summary>
        /// <author>jackson</author>
        /// <date>2001-07-01 15:14</date>
        /// <param name="cool">是否為cool貼。</param>
        /// <param name="id">貼子的id號。</param>
        /// <param name="layer">貼子的層次順序號。</param>
        /// <param name="emote">表情圖標索引號。</param>
        /// <param name="title">貼子的標題。</param>
        /// <param name="author">作者。</param>
        /// <param name="y">年。</param>
        /// <param name="m">月。</param>
        /// <param name="d">日。</param>
        /// <param name="t">時間。</param>
        /// <param name="h">貼子的點擊數。</param>
        /// <param name="l">貼子的長度。</param>
        /// <param name="c">回復數(子貼數)。</param>
        /// <param name="n">是否為新貼,如果為true則加入圖像new.gif:)。</param>
        public void bbslist(bool cool, int id, int layer, int emote, string title, string author, int y, int m, int d, string t, int h, int l, int c, bool n)
        {
            if ( layer != 1 )                        //定制主題貼及一般貼背景,等于“1”為主題貼!
            {
                response.write("<tr bgcolor=#f0f0f0>");
            }
            else
            {
                response.write("<tr bgcolor=#d8d3cd>");
            }
            response.write("    <td align=center>" + (c>0?"<font color=red>+" + c.tostring()+"</font>":id.tostring())+"</td>");     //如果有子貼,則顯示所有子貼數量,否則顯示此貼id
            response.write("    <td >");

            /*************縮進子貼**************/
            response.write("<li " + ((layer>1)?"type=square;": "") + " style='" + ((layer == 1)?"color:navy;":"")+ "text-indent:0; margin-left:"+(layer*20)+"; margin-top:0'>" );
            response.write("<img src=images/mood" + emote + ".gif>");
            response.write("        <a class=title href=showannounce.aspx?id="+id+">" + title + "</a>");
            if(l == 0)
            {
                response.write("<font color=black>(空");
            }
            else
            {
                response.write("<font color=black>(" + l + "字節");
            }

            response.write(",讀" + (h>=50?"<font color=red>":"<font color=black>") + h + "</font>" + "次)</font>");
            
            if(cool)
            {
                response.write("<img src=http://edu.cnzz.cn/newsinfo/images/cool.gif border=0>");
            }
            else
            {
                response.write(" ");
            }
            if(n) response.write("<img src=http://edu.cnzz.cn/newsinfo/images/new.gif>");

            response.write("</li></td><td nowrap  >");
            response.write("        <a class=author target=_blank href="+author+">" + username(author) + "</a>");
            response.write("    </td>");
            response.write("    <td nowrap>");
            
            datetime nowdate = datetime.now;
            if( y== nowdate.year && m == nowdate.month && d == nowdate.day)
            {
                response.write("今天 ");
            }
            else
            {
                if(y==nowdate.year && m==nowdate.month && d==nowdate.day - 1)
                {
                    response.write("昨天 ");
                }
                else
                {
                    response.write(y + "-" + m + "-" + d);
                }
            }
            response.write(" " + t);
            response.write("    </td>");
            response.write("</tr>");
            response.write("");
        }


注冊會員,創建你的web開發資料庫,
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 冀州市| 贵港市| 米泉市| 南召县| 嘉禾县| 新昌县| 页游| 宜州市| 双鸭山市| 丘北县| 潜江市| 越西县| 通州区| 岳阳县| 雅安市| 宝山区| 阿图什市| 新巴尔虎左旗| 承德县| 丰台区| 巴彦淖尔市| 新邵县| 合作市| 密山市| 万州区| 永登县| 海晏县| 玛沁县| 永德县| 玉林市| 绵竹市| 曲水县| 宜丰县| 清流县| 顺义区| 大洼县| 秀山| 峨山| 崇明县| 黄石市| 四川省|