📄 index.php
字号:
<?php
include_once( "inc/global.inc" );
include_once( $GLOBALEL['root_lib']."Template.inc" );
include_once( $GLOBALEL['root_lib']."SymsDb.inc" );
include_once( "inc/common.inc" );
include_once( "inc/utility.php" );
require_once( "include/index.inc" );
session_cache_limiter( "private, must-revalidate" );
session_start( );
if ( $_REQUEST['cooperationtype'] == "index" )
{
$iframeSrc = "main.php?id=".$_REQUEST['id']."&step=4";
}
else
{
$iframeSrc = "main.php";
}
$term = true;
$msg = "";
while ( $term )
{
if ( !isset( $edb ) || !is_object( $edb ) )
{
$edb = "";
if ( !com_opendb( $edb, $GLOBALEL['db_debug'] ) )
{
$term = false;
$error = "8600900000000001";
break;
}
}
if ( !isset( $_REQUEST['step'] ) )
{
$step = 1;
}
else
{
$step = $_REQUEST['step'];
}
if ( $step == 1 )
{
}
if ( !( $step == 2 ) )
{
break;
}
$parr['user_id'] = $_SESSION['LOGIN_USER_ID'];
break;
}
if ( isset( $edb ) && is_object( $edb ) )
{
@com_closedb( $edb, $term );
}
$fa = array( );
$fa['fh'] = "base.html";
$t = new template( $GLOBALEL['root_tpl'] );
while ( !$term && !( $step == 1 ) )
{
$fa['fh_main'] = "cooperation/index.htm";
$t->set_file( $fa );
$t->set_var( "iframeSrc", $iframeSrc );
break;
}
if ( !$term )
{
$fa['fh_error'] = "error.html";
$t->set_file( $fa );
$t->set_var( "BODY_MAIN", "" );
$t->set_var( "VAR_ERROR_MSG", com_addappendixhref( $msg ) );
$t->parse( "BODY_ERROR", "fh_error" );
}
else
{
$t->set_var( "BODY_ERROR", "" );
$t->parse( "BODY_MAIN", "fh_main" );
}
$t->parse( "final_output", "fh" );
$t->p( "final_output" );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -