Xataface 2.0
Xataface Application Framework
dataface_info.php
Go to the documentation of this file.
00001 <?php
00002 /*-------------------------------------------------------------------------------
00003  * Xataface Web Application Framework
00004  * Copyright (C) 2005-2008 Web Lite Solutions Corp (shannah@sfu.ca)
00005  * 
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  * 
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  *-------------------------------------------------------------------------------
00020  */
00021 $checks = array();
00022 
00023 $dataface_path = dirname(__FILE__);
00024 
00025 if ( is_writable($dataface_path.'/Dataface/templates_c') ){
00026         $installation_status = "INSTALLED CORRECTLY";
00027 } else {
00028         $installation_status = "Installation Incomplete: Please make the Dataface/templates_c directory writable by the web server";
00029 }
00030 
00031 $version = file_get_contents($dataface_path.'/version.txt');
00032 
00033 
00034 
00035 
00036 
00037 ?>
00038 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
00039 <html><head>
00040 <style type="text/css"><!--
00041 body {background-color: #ffffff; color: #000000;}
00042 body, td, th, h1, h2 {font-family: sans-serif;}
00043 pre {margin: 0px; font-family: monospace;}
00044 a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
00045 a:hover {text-decoration: underline;}
00046 table {border-collapse: collapse;}
00047 .center {text-align: center;}
00048 .center table { margin-left: auto; margin-right: auto; text-align: left;}
00049 .center th { text-align: center !important; }
00050 td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
00051 h1 {font-size: 150%;}
00052 h2 {font-size: 125%;}
00053 .p {text-align: left;}
00054 .e {background-color: #ccccff; font-weight: bold; color: #000000;}
00055 .h {background-color: #9999cc; font-weight: bold; color: #000000;}
00056 .v {background-color: #cccccc; color: #000000;}
00057 .vr {background-color: #cccccc; text-align: right; color: #000000;}
00058 img {float: right; border: 0px;}
00059 hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
00060 //--></style>
00061 <title>dataface_info()</title></head>
00062 <body><div class="center">
00063 <table border="0" cellpadding="3" width="600">
00064 <tr class="h"><td>
00065 <h1 class="p">Dataface <?php echo $version;?></h1>
00066 <h2 class="p">Installed at <?php echo dirname($_SERVER['REQUEST_URI']); ?></h2>
00067 </td></tr>
00068 </table><br />
00069 <table border="0" cellpadding="3" width="600">
00070 <tr><td class="e">Installation status </td><td class="v"><?php echo $installation_status;?> </td></tr>
00071 <tr><td class="e">Templates Dir</td><td class="v"><?php echo $dataface_path.'/Dataface/templates';?> </td></tr>
00072 
00073 <tr><td class="e">Templates Compile Dir </td><td class="v"><?php echo $dataface_path.'/Dataface/templates_c';?></td></tr>
00074 
00075 </table><br />
00076 
00077 <h2>Dataface License</h2>
00078 <table border="0" cellpadding="3" width="600">
00079 <tr class="v"><td>
00080  <p>
00081  Xataface Web Application Framework<br>
00082  Copyright (C) 2005-2007  Steve Hannah, Web Lite Solutions Corporation
00083  </p>
00084  <p>
00085  This program is free software; you can redistribute it and/or
00086   modify it under the terms of the GNU General Public License
00087   as published by the Free Software Foundation; either version 2
00088   of the License, or (at your option) any later version.
00089  </p>
00090  <p>
00091  This program is distributed in the hope that it will be useful,
00092  but WITHOUT ANY WARRANTY; without even the implied warranty of
00093  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00094  GNU General Public License for more details.
00095  </p>
00096  <p>
00097  You should have received a copy of the GNU General Public License
00098  along with this program; if not, write to the Free Software
00099  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00100   </p>
00101 </td></tr>
00102 </table><br />
00103 </div></body></html>
 All Data Structures Namespaces Files Functions Variables Enumerations