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

📄 old-misc-utils.lib

📁 Perl写的CA认证程序
💻 LIB
字号:
## Misc RAServer Utilities.sub buildRefs {        my @keys = @_;        my $ret, $i;	my $query    = $keys[0];	my $maxItems = $keys[2];	$maxItems = 30 if( not $maxItems );        my $rows     = $keys[1] / $maxItems;        my $current = $query->param('viewFrom') / $maxItems;        my $title = "<DIV ALIGN=\"RIGHT\">Extra References ";        for( $i = 0; $i <= $rows ; $i++ ) {                my $from = $i * $maxItems;                my $to   = $from + $maxItems;                if ( $i != $current ) {                        $query->param( -name=>"viewFrom", -value=>"$from" );                        $query->param( -name=>"viewTo",   -value=>"$to" );                        my $link = $query->self_url();                        $title .= "&nbsp; <a href=\"$link\">$i</a> ";                } else {                        $title .= "&nbsp; $i ";                }        }        $ret = $query->startTable( COLS=>[ "$title" ],                               TITLE_BGCOLOR=>"#EEEEF1",                               TABLE_BGCOLOR=>"#000000" );        $ret .= $query->endTable();        return $ret;}1;

⌨️ 快捷键说明

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