⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dosearchthreads.pl

📁 这个社区是虚拟社区使用的程序
💻 PL
字号:
################################################################################ DoSearchThreads.pl                                                          ################################################################################# UltraBoard Ver. 1.61 by UltraScripts.com                                    ## Scripts written by Jacky W.W. Yung, WebMaster@UltraScripts.com              ## Available from http://www.UltraScripts.com/UltraBoard/                      ## --------------------------------------------------------------------------- ## PROGRAM NAME : UltraBoard                                                   ## VERSION : 1.61                                                              ## LAST MODIFIED : 30/06/1999                                                  ## =========================================================================== ## COPYRIGHT NOTICE :                                                          ##                                                                             ## Copyright (c) 1999 Jacky Yung. All Rights Reserved.                         ##                                                                             ## This program is free software; you can change or modify it as you see fit.  ## However, modified versions cannot be sold or distributed.  You cannot alter ## the copyright and "powered by" notices throughout the scripts. These        ## notices must be clearly visible to the end users.                           ##                                                                             ## WARRANTY DISCLAIMER:                                                        ##                                                                             ## THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ## ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR       ## FITNESS FOR A PARTICULAR PURPOSE.                                           ################################################################################################################################################################ DoSearchThreads                                                             ################################################################################sub DoSearchThreads {	require "$LibPath/SearchMessages.lib";	&SearchMessages();	$HTML.=	"<p>".&BTable($TableWidth,$TableAlign,"0","0",$TableCellSpacing,$TableCellPadding,$TableBorderColor,"","").				&Tr("","",$HeaderBGColor).					&Td("","","5","","","","","","").						&Font($FontFace,$HeaderTextSize,$HeaderTextColor).							"<b>搜索结果 (找到 ".scalar(@SortedList)." 条)</b>".						&CFont().					&CTd().				&CTr().				&Tr("","",$CategoryBGColor).					&Td("","","","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>讨论</b>".						&CFont().					&CTd().					&Td("","","","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>作者</b>".						&CFont().					&CTd().					&Td("","","","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>论坛名称</b>".						&CFont().					&CTd().					&Td("","","","","","","","","").						&Font($FontFace,$CategoryNameTextSize,$CategoryTextColor).							"<b>最后回复</b>".						&CFont().					&CTd().				"</tr>";    $RowColor=$RowOddBGColor;	for ($i=0;$i<=$#SortedList;$i++) {        @PostInfo=&DecodeDBOutput($PostID[$SortedList[$i]]);		if ($PostInfo[9] ne ""){            $MessageIcon=&Image("$URLImages/LockedMessage.gif","","","","","0",$PostInfo[9]);			$MessageStatus="此讨论已经关闭 !";        }elsif ($Cookies{"B_".$PostInfo[7]."_TIME"}<$PostInfo[0]) {            $MessageIcon=&Image("$URLImages/NewMessage.gif","","","","","0",$PostInfo[9]);			$MessageStatus="此讨论有您还没有看过的内容 !";        }else{            $MessageIcon=&Image("$URLImages/OldMessage.gif","","","","","0",$PostInfo[9]);			$MessageStatus="您已经看过此讨论 !";        }		$HTML.=	&Tr("","",$RowColor).						&Td("36%","","","","","","",$ColumnOddBGColor,"").							&Table("100%","CENTER","0","0","","").                                &Tr("","","").                                    &Td("20","","","","","","","","").                                        &Link("UltraBoard.$Ext?Action=ShowPost&Board=$PostInfo[6]&Post=$PostInfo[8]&Idle=$in{'Idle'}&Sort=$in{'Sort'}&Order=$in{'Order'}&Page=$in{'Page'}&Session=$SessionID",                                            "",$PostInfo[7],                                            "$MessageStatus").                                            $MessageIcon.                                        "</a>".                                    "</td>".                                    &Td("100%","","","","","","","","").                                        &Font($FontFace,$TextSize,$TextColor)." ".                                        &Link("UltraBoard.$Ext?Action=ShowPost&Board=$PostInfo[6]&Post=$PostInfo[8]&Idle=$in{'Idle'}&Sort=$in{'Sort'}&Order=$in{'Order'}&Page=$in{'Page'}&Session=$SessionID",                                            "",$PostInfo[7],                                            "查看此 ($PostInfo[0]) 讨论").                                            "<b>$PostInfo[0]</b>".                                        "</a>".                                        "</font>".                                    "</td>".                                "</tr>".                            "</table>".						"</td>".						&Td("15%","","","","","","",$ColumnEvenBGColor,"").							&Font($FontFace,$TextSize,$TextColor);		if ($PostInfo[2]) {			$HTML.=				&Link("UltraBoard.$Ext?Action=ShowProfile&ID=$PostInfo[2]&Board=$PostInfo[6]&Idle=$in{'Idle'}&Sort=$in{'Sort'}&Order=$in{'Order'}&Page=$in{'Page'}&Session=$SessionID","Profile","",									"查看 $PostInfo[1] ($PostInfo[2]) 的个人信息").									$PostInfo[1].								"</a>";		}else{			$HTML.=				$PostInfo[1];		}		$HTML.=				"</font>".						"</td>".						&Td("25%","","","","","","",$ColumnOddBGColor,"").							&Font($FontFace,$TextSize,$TextColor).								&Link("UltraBoard.$Ext?Action=ShowBoard&Board=$PostInfo[6]&Idle=$in{'Idle'}&Sort=$in{'Sort'}&Order=$in{'Order'}&Session=$SessionID","","",									"查看此 ($PostInfo[7]) 论坛").									$PostInfo[7].								"</a>".							"</font>".						"</td>".						&Td("24%","","","","","","",$ColumnEvenBGColor,"").							&Font($FontFace,$TextSize,$TextColor).								&GetDate($PostInfo[5],$DateTextColor,$TimeTextColor,$DateTextSize,$TimeTextSize).							"</font>".						"</td>".					"</tr>";        if ($RowColor eq $RowEvenBGColor) {            $RowColor=$RowOddBGColor;        }else{            $RowColor=$RowEvenBGColor;        }    }	$HTML.=		&Tr("","",$MenuBGColor).					&Td("","","5","","","","","","").						&PrintVersion("YES").					"</td>".				"</tr>".			"</table></td></tr></table>".			&GetBoardList();	&PrintTheme("$UBName - 搜索结果 (找到 ".scalar(@SortedList)." 条)",$HTML);	exit;}###############################################################################1;# End of DoSearchThreads Function###############################################################################

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -