view.php
来自「泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5」· PHP 代码 · 共 33 行
PHP
33 行
<?php
require( "inc/init.php" );
require( "inc/mysql.php" );
require( "inc/functions.php" );
require( "inc/pfunctions.php" );
require( "inc/qfunctions.php" );
require( "inc/vfunctions.php" );
$varnames = array( "action", "sid", "cq", "uid", "print" );
setvars( $varnames );
if ( !isadmin( ) )
{
header( "Location: admin/index.php" );
exit( );
}
$relocateurl = "admin/choose.php";
if ( !$uid || !$sid || !validateuid( $uid ) )
{
header( "Location: {$relocateurl}" );
exit( );
}
if ( !( $masurvey = mysql_fetch_array( mysql_query( "select * from phpQSurvey where SID = \"".protectmysql( $sid )."\"" ) ) ) )
{
header( "Location: {$relocateurl}" );
exit( );
}
setlanguage( $masurvey['Language'] );
$tablewidth = $masurvey['Width'];
$cq = 0 < $cq ? $cq : 1;
$contents = recreatesurvey( $sid, $uid, $tablewidth, $masurvey, $print );
createpage( $sid, sprintf( $phpQlang['ViewSurvey'], $uid ), $contents, false, "" );
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?