index.php

来自「股票监视器是一个简单的实用工具」· PHP 代码 · 共 59 行

PHP
59
字号
<?php/** PHP STOCK TRACKER* -----------------* A multi-user utility for creating and managing stock* watchlists and historical analysis.* Copyright (C) 2005 Joshua Eldridge (joshuae74@hotmail.com)*** This program is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License as published by* the Free Software Foundation; either version 2 of the License, or* (at your option) any later version.** 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.  See the* GNU General Public License for more details.** You should have received a copy of the GNU General Public License* along with this program; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA** See the COPYING file for full details.*/require_once('INCLUDES.inc.php');session_start();if(!isset($_SESSION['user_id'])) {  // display the login page and exit  include('pgs/login.php');  exit;}$time_start = microtime_float();include('inc/header.inc.php');if(getCleanVar($_GET, 'pg') != "") {  $page = $_GET['pg'];  $file = 'pgs/' . $page . '.php';  if(file_exists($file)) {    include($file);  } else {    include('pgs/home.php');  }} else {  include('pgs/home.php');}$time_end = microtime_float();$time = $time_end - $time_start;echo '<p align="center">Time: ' . $time;include('inc/footer.inc.php');?>

⌨️ 快捷键说明

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