makehtml_freelist_action.php

来自「这是matlab的一个小程序」· PHP 代码 · 共 35 行

PHP
35
字号
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(DEDEINC."/arc.freelist.class.php");
if(empty($startid))
{
	$startid = 0;
}
$ci = " aid >= $startid ";
if(!empty($endid) && $endid>=$startid)
{
	$ci .= " And aid <= $endid ";
}
header("Content-Type: text/html; charset={$cfg_soft_lang}");
$dsql->SetQuery("Select aid From #@__freelist where $ci");
$dsql->Execute();
while($row=$dsql->GetArray())
{
	$idArray[] = $row['aid'];
}
if(!isset($pageno))
{
	$pageno=0;
}
if(empty($idArray))
{
	$idArray = '';
}
$totalpage=count($idArray);
if(isset($idArray[$pageno]))
{
	$lid = $idArray[$pageno];
}else
{
	ShowMsg( "瀹屾垚鎵

⌨️ 快捷键说明

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