phpBMS

root/branches/nathan/info.php

Revision 465, 5.8 KB (checked in by brieb, 3 years ago)

* Reformatted info page. Removed typos and old information.

  • Property svn:keywords set to LastChangedBy LastChangedDate LastChangedRevision
Line 
1<?php
2/*
3 $Rev$ | $LastChangedBy$
4 $LastChangedDate$
5 +-------------------------------------------------------------------------+
6 | Copyright (c) 2004 - 2007, Kreotek LLC                                  |
7 | All rights reserved.                                                    |
8 +-------------------------------------------------------------------------+
9 |                                                                         |
10 | Redistribution and use in source and binary forms, with or without      |
11 | modification, are permitted provided that the following conditions are  |
12 | met:                                                                    |
13 |                                                                         |
14 | - Redistributions of source code must retain the above copyright        |
15 |   notice, this list of conditions and the following disclaimer.         |
16 |                                                                         |
17 | - Redistributions in binary form must reproduce the above copyright     |
18 |   notice, this list of conditions and the following disclaimer in the   |
19 |   documentation and/or other materials provided with the distribution.  |
20 |                                                                         |
21 | - Neither the name of Kreotek LLC nor the names of its contributore may |
22 |   be used to endorse or promote products derived from this software     |
23 |   without specific prior written permission.                            |
24 |                                                                         |
25 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS     |
26 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT       |
27 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
28 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT      |
29 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,   |
30 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT        |
31 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,   |
32 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY   |
33 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT     |
34 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE   |
35 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.    |
36 |                                                                         |
37 +-------------------------------------------------------------------------+
38*/
39        $loginNoKick = true;
40        $loginNoDisplayError = true;
41
42        require_once("include/session.php");
43
44        class versions{
45
46                var $db;
47                var $queryresult;
48
49                function versions($db){
50
51                        $this->db = $db;
52
53                }//end function init
54
55                function get(){
56
57                        $querystatement = "
58                                SELECT
59                                        `name`,
60                                        `displayname`,
61                                        `version`
62                                FROM
63                                        `modules`
64                                ORDER BY
65                                        `id`";
66
67                        $this->queryresult = $this->db->query($querystatement);
68
69                }//end function get
70
71
72                function show(){
73
74                        if(!$this->queryresult)
75                                return false;
76
77                        while($therecord = $this->db->fetchArray($this->queryresult)){
78
79                                if($therecord["name"] != "base")
80                                        echo formatVariable($therecord["displayname"]).": v".$therecord["version"]."<br />";
81                                else
82                                        echo '<p class="important">v'.$therecord["version"].'</p>';
83
84                        }//endwhile
85
86                        return true;
87
88                }//end function show
89
90        }//end class
91
92        $versions = new versions($db);
93        $versions->get();
94
95        $pageTitle="phpBMS Information";
96        $phpbms->cssIncludes[] = "pages/info.css";
97
98        $phpbms->showMenu = false;
99        $phpbms->showFooter = false;
100
101        include("header.php");
102
103?><div class="bodyline" id="container">
104
105        <div id="phpBMSLogo" class="box small">
106                <?php $versions->show() ?>
107        </div>
108
109        <h1>About phpBMS</h1>
110        <p>phpBMS is commercial, open source, web-based, business management software.</p>
111
112        <div id="companyInfo">
113                <p >
114                        Copyright &copy; <?php echo date("Y")?> Kreotek, LLC. All Rights Reserved.
115                        phpBMS, and the phpBMS logo are trademarks of Kreotek, LLC.
116                        Software is licensed under a <a href="license.txt">modified BSD license</a>.
117                </p>
118
119                <h3>Kreotek, LLC</h3>
120                <p>
121                        610 Quantum<br />
122                        Rio Rancho, NM 87124 USA
123                </p>
124                <p><a href="http://www.kreotek.com">http://www.kreotek.com</a></p>
125                <p>
126                        sales: <a href="mailto:sales@kreotek.com">sales@kreotek.com</a><br />
127                        support: <a href="mailtosupport@kreotek.com">support@kreotek.com</a>
128                </p>
129                <p>
130                        U.S. and Canada Toll Free<br />
131                        1-800-731-8026
132
133                <p>
134                        Outside US and Canada<br />
135                        +1-505-994-6388
136                </p>
137
138                <h3>phpBMS Open Source Project</h3>
139                <p>
140                        community web site: <a href="http://www.kreotek.com">http://www.phpbms.org</a><br />
141                        community forums: <a href="http://www.phpbms.org/forum">http://www.phpbms.org/forum</a><br />
142                </p>
143        </div>
144
145        <h2>Source Code</h2>
146        <ul>
147                <li>
148                        <h3>phpBMS (<a href="http://www.phpbms.org">www.phpbms.org</a>)</h3>
149                        <p>Commercial Open Source Business Management Web Appllication</p>
150                </li>
151
152                <li>
153                        <h3>fpdf (<a href="http://www.fpdf.org">www.fpdf.org</a>)</h3>
154                        <p>A PHP class which allows to generate PDF files with pure PHP</p>
155                </li>
156
157                <li>
158                        <h3>moo.fx (<a href="http://moofx.mad4milk.net/">moofx.mad4milk.net</a>)</h3>
159                        <p>Super lightweight JavaScript effects library</p>
160                </li>
161
162                <li>
163                        <h3>mochikit (<a href="http://mochichit.com/">mochikit.com</a>)</h3>
164                        <p>A lightweight JavaScript library - phpBMS utilizes modified parts of mochikit code and it's programming structure for JavaScript as inspiration.</p>
165                </li>
166
167                <li>
168                        <h3>parseCSV (<a href="http://code.google.com/p/parsecsv-for-php/" >code.google.com/p/parsecsv-for-php/</a>)</h3>
169                        <p>An easy to use PHP class to read and write CSV data properly.</p>
170                </li>
171        </ul>
172
173        <p align="right"><input type="button" value="Log In" class="Buttons" onclick="document.location='./'" id="loginButton" /></p>
174
175</div><?php include("footer.php") ?>
Note: See TracBrowser for help on using the browser.
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.