示例#1
0
<?php

/*
  $Id: server_info_dialog.php $
  TomatoCart Open Source Shopping Cart Solutions
  http://www.tomatocart.com

  Copyright (c) 2009 Wuxi Elootec Technology Co., Ltd

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License v2 (1991)
  as published by the Free Software Foundation.
*/
$osC_ObjectInfo = new osC_ObjectInfo(osc_get_system_information());
?>
Toc.server_info.ServerInfoDialog = function(config) {

  config = config || {};
  
  config.id = 'server_info-win';
  config.title = '<?php 
echo $osC_Language->get('heading_title');
?>
';
  config.width = 800;
  config.height = 400;
  config.iconCls = 'icon-server_info-win';
  config.layout = 'fit';
  config.items = this.buildForm();
   
  Toc.server_info.ServerInfoDialog.superclass.constructor.call(this,config); 
示例#2
0
<?php

/*
  $Id: server_info.php,v 1.2 2004/08/17 23:50:14 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2004 osCommerce

  Released under the GNU General Public License
*/
$system = osc_get_system_information();
?>

<h1><?php 
echo HEADING_TITLE;
?>
</h1>

<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="smallText"><b><?php 
echo TITLE_SERVER_HOST;
?>
</b></td>
    <td class="smallText"><?php 
echo $system['host'] . ' (' . $system['ip'] . ')';
?>
</td>
    <td class="smallText"><b><?php