[ Index ]

PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12)

title

Body

[close]

/setup/ -> index.php (source)

   1  <?php
   2  /*************************************************************************************
   3     Copyright notice
   4     
   5     (c) 2002-2012 Oliver Georgi <oliver@phpwcms.de> // All rights reserved.
   6   
   7     This script is part of PHPWCMS. The PHPWCMS web content management system is
   8     free software; you can redistribute it and/or modify it under the terms of
   9     the GNU General Public License as published by the Free Software Foundation;
  10     either version 2 of the License, or (at your option) any later version.
  11    
  12     The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
  13     A copy is found in the textfile GPL.txt and important notices to the license 
  14     from the author is found in LICENSE.txt distributed with these scripts.
  15    
  16     This script is distributed in the hope that it will be useful, but WITHOUT ANY 
  17     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  18     PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  19   
  20     This copyright notice MUST APPEAR in all copies of the script!
  21  *************************************************************************************/
  22  
  23  session_start();
  24  
  25  $phpwcms = array();
  26  
  27  require_once ('inc/setup.func.inc.php');
  28  
  29  ?>
  30  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  31  <html xmlns="http://www.w3.org/1999/xhtml">
  32  <head>
  33  <title>phpwcms Setup</title>
  34  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  35  <link href="../include/inc_css/install.css" rel="stylesheet" type="text/css" />
  36  </head>
  37  
  38  <body>
  39  <table width="770" border="0" align="center" cellpadding="0" cellspacing="0" summary="">
  40    <tr>
  41      <td colspan="3"><img src="../img/leer.gif" alt="" width="1" height="7" /></td>
  42    </tr>
  43    <tr>
  44      <td colspan="3"><img src="../img/leer.gif" alt="" width="15" height="1" /><a href="http://www.phpwcms.de" target="_blank"><img src="../img/backend/backend_r1_c3.jpg" alt="phpwcms" width="95" height="24" border="0" /></a></td>
  45    </tr>
  46    <tr>
  47      <td colspan="3"><img src="../img/leer.gif" alt="" width="1" height="7" /></td>
  48    </tr>
  49    <tr bgcolor="#FFFFFF">
  50      <td valign="top" style="background-image:url(../img/backend/backend_r3_c4.jpg); background-repeat:repeat-x; "><img src="../img/backend/backend_r3_c1.jpg" alt="" width="15" height="40" /></td>
  51      <td valign="top" style="background-image:url(../img/backend/backend_r3_c4.jpg); background-repeat:repeat-x; "><table width="740" border="0" cellpadding="0" cellspacing="0" summary="">
  52          <tr>
  53            <td colspan="2"><img src="../img/leer.gif" alt="" width="1" height="9" /></td>
  54          </tr>
  55          <tr>
  56            <td valign="top" class="navtext">PHPWCMS SETUP VERSION&nbsp;<?php echo $phpwcms_version.', RELEASE '.$phpwcms_release_date ?></td>
  57            <td align="right" valign="top" class="navtext"><a href="../index.php" target="_top">HOME</a> | <a href="index.php" target="_top">LICENCE</a></td>
  58          </tr>
  59      </table></td>
  60      <td valign="top" style="background-image:url(../img/backend/backend_r3_c4.jpg); background-repeat:repeat-x; "><img src="../img/backend/backend_r3_c7.jpg" alt="" width="15" height="40" /></td>
  61    </tr>
  62    <tr bgcolor="#FFFFFF">
  63      <td width="15" bgcolor="#FFFFFF" style="background-image:url(../img/backend/preinfo2_r7_c2.gif);background-repeat:repeat-y;"><img src="../img/leer.gif" alt="" width="15" height="1" /></td>
  64      <td valign="top" bgcolor="#FFFFFF"><h1>Welcome to the setup of phpwcms </h1>
  65      <p>This is the semi automatic setup script to install a new release of
  66        the web cms <strong>phpwcms</strong>.</p>
  67      <p><strong>phpwcms</strong> is open source software released under the <a href="../include/GPL.html" target="_blank"><strong>GNU
  68        General Public License</strong></a> (GPL). Before you continue setting
  69        up phpwcms  read the license very careful.</p>
  70      <div id="license"> 
  71        <p align="center"><strong style="font-size:17px;">The GNU General Public License (GPL)</strong><br />Version 2, June 1991</p>
  72        <p align="center">Copyright (C) 1989, 1991 Free Software Foundation, Inc.<br />
  73    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</p>
  74        <p align="center">Everyone is permitted to copy and distribute verbatim copies<br />
  75    of this license document, but changing it is not allowed.</p>
  76       
  77        <p align="center"><strong>Preamble</strong></p>
  78        <p>The licenses for most software are designed to take away your freedom
  79          to share and change it. By contrast, the GNU General Public License is
  80          intended to guarantee your freedom to share and change free software--to
  81          make sure the software is free for all its users. This General Public
  82          License applies to most of the Free Software Foundation's software and
  83          to any other program whose authors commit to using it. (Some other Free
  84          Software Foundation software is covered by the GNU Library General Public
  85          License instead.) You can apply it to your programs, too.</p>
  86        <p>When we speak of free software, we are referring to freedom, not price.
  87          Our General Public Licenses are designed to make sure that you have the
  88          freedom to distribute copies of free software (and charge for this service
  89          if you wish), that you receive source code or can get it if you want
  90          it, that you can change the software or use pieces of it in new free
  91          programs; and that you know you can do these things.</p>
  92        <p>To protect your rights, we need to make restrictions that forbid anyone
  93          to deny you these rights or to ask you to surrender the rights. These
  94          restrictions translate to certain responsibilities for you if you distribute
  95          copies of the software, or if you modify it.</p>
  96        <p>For example, if you distribute copies of such a program, whether gratis
  97          or for a fee, you must give the recipients all the rights that you have.
  98          You must make sure that they, too, receive or can get the source code.
  99          And you must show them these terms so they know their rights.</p>
 100        <p>We protect your rights with two steps: (1) copyright the software, and
 101          (2) offer you this license which gives you legal permission to copy,
 102          distribute and/or modify the software.</p>
 103        <p>Also, for each author's protection and ours, we want to make certain
 104          that everyone understands that there is no warranty for this free software.
 105          If the software is modified by someone else and passed on, we want its
 106          recipients to know that what they have is not the original, so that any
 107          problems introduced by others will not reflect on the original authors'
 108          reputations.</p>
 109        <p>Finally, any free program is threatened constantly by software patents.
 110          We wish to avoid the danger that redistributors of a free program will
 111          individually obtain patent licenses, in effect making the program proprietary.
 112          To prevent this, we have made it clear that any patent must be licensed
 113          for everyone's free use or not licensed at all.</p>
 114        <p>The precise terms and conditions for copying, distribution and modification
 115          follow.</p>
 116        <p><strong>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</strong></p>
 117        <p><strong>0</strong>. This License applies to any program or other work
 118          which contains a notice placed by the copyright holder saying it may
 119          be distributed under the terms of this General Public License. The &quot;Program&quot;,
 120          below, refers to any such program or work, and a &quot;work based on the Program&quot; means
 121          either the Program or any derivative work under copyright law: that is
 122          to say, a work containing the Program or a portion of it, either verbatim
 123          or with modifications and/or translated into another language. (Hereinafter,
 124          translation is included without limitation in the term &quot;modification&quot;.)
 125          Each licensee is addressed as &quot;you&quot;.</p>
 126        <p>Activities other than copying, distribution and modification are not
 127          covered by this License; they are outside its scope. The act of running
 128          the Program is not restricted, and the output from the Program is covered
 129          only if its contents constitute a work based on the Program (independent
 130          of having been made by running the Program). Whether that is true depends
 131          on what the Program does.</p>
 132        <p><strong>1</strong>. You may copy and distribute verbatim copies of the
 133          Program's source code as you receive it, in any medium, provided that
 134          you conspicuously and appropriately publish on each copy an appropriate
 135          copyright notice and disclaimer of warranty; keep intact all the notices
 136          that refer to this License and to the absence of any warranty; and give
 137          any other recipients of the Program a copy of this License along with
 138          the Program.</p>
 139        <p>You may charge a fee for the physical act of transferring a copy, and
 140          you may at your option offer warranty protection in exchange for a fee.</p>
 141        <p><strong>2</strong>. You may modify your copy or copies of the Program
 142          or any portion of it, thus forming a work based on the Program, and copy
 143          and distribute such modifications or work under the terms of Section
 144          1 above, provided that you also meet all of these conditions:</p>
 145        <blockquote>
 146          <p>a) You must cause the modified files to carry prominent notices stating
 147            that you changed the files and the date of any change.</p>
 148          <p>b) You must cause any work that you distribute or publish, that in
 149            whole or in part contains or is derived from the Program or any part
 150            thereof, to be licensed as a whole at no charge to all third parties
 151            under the terms of this License.</p>
 152          <p>c) If the modified program normally reads commands interactively when
 153            run, you must cause it, when started running for such interactive use
 154            in the most ordinary way, to print or display an announcement including
 155            an appropriate copyright notice and a notice that there is no warranty
 156            (or else, saying that you provide a warranty) and that users may redistribute
 157            the program under these conditions, and telling the user how to view
 158            a copy of this License. (Exception: if the Program itself is interactive
 159            but does not normally print such an announcement, your work based on
 160            the Program is not required to print an announcement.)</p>
 161        </blockquote>
 162        <p>These requirements apply to the modified work as a whole. If identifiable
 163          sections of that work are not derived from the Program, and can be reasonably
 164          considered independent and separate works in themselves, then this License,
 165          and its terms, do not apply to those sections when you distribute them
 166          as separate works. But when you distribute the same sections as part
 167          of a whole which is a work based on the Program, the distribution of
 168          the whole must be on the terms of this License, whose permissions for
 169          other licensees extend to the entire whole, and thus to each and every
 170          part regardless of who wrote it.</p>
 171        <p>Thus, it is not the intent of this section to claim rights or contest
 172          your rights to work written entirely by you; rather, the intent is to
 173          exercise the right to control the distribution of derivative or collective
 174          works based on the Program.</p>
 175        <p>In addition, mere aggregation of another work not based on the Program
 176          with the Program (or with a work based on the Program) on a volume of
 177          a storage or distribution medium does not bring the other work under
 178          the scope of this License.</p>
 179        <p><strong>3</strong>. You may copy and distribute the Program (or a work
 180          based on it, under Section 2) in object code or executable form under
 181          the terms of Sections 1 and 2 above provided that you also do one of
 182          the following:</p>
 183        <blockquote>
 184          <p>a) Accompany it with the complete corresponding machine-readable source
 185            code, which must be distributed under the terms of Sections 1 and 2
 186            above on a medium customarily used for software interchange; or,</p>
 187          <p>b) Accompany it with a written offer, valid for at least three years,
 188            to give any third party, for a charge no more than your cost of physically
 189            performing source distribution, a complete machine-readable copy of
 190            the corresponding source code, to be distributed under the terms of
 191            Sections 1 and 2 above on a medium customarily used for software interchange;
 192            or,</p>
 193          <p>c) Accompany it with the information you received as to the offer
 194            to distribute corresponding source code. (This alternative is allowed
 195            only for noncommercial distribution and only if you received the program
 196            in object code or executable form with such an offer, in accord with
 197            Subsection b above.)</p>
 198        </blockquote>
 199        <p>The source code for a work means the preferred form of the work for
 200          making modifications to it. For an executable work, complete source code
 201          means all the source code for all modules it contains, plus any associated
 202          interface definition files, plus the scripts used to control compilation
 203          and installation of the executable. However, as a special exception,
 204          the source code distributed need not include anything that is normally
 205          distributed (in either source or binary form) with the major components
 206          (compiler, kernel, and so on) of the operating system on which the executable
 207          runs, unless that component itself accompanies the executable.</p>
 208        <p>If distribution of executable or object code is made by offering access
 209          to copy from a designated place, then offering equivalent access to copy
 210          the source code from the same place counts as distribution of the source
 211          code, even though third parties are not compelled to copy the source
 212          along with the object code.</p>
 213        <p><strong>4</strong>. You may not copy, modify, sublicense, or distribute
 214          the Program except as expressly provided under this License. Any attempt
 215          otherwise to copy, modify, sublicense or distribute the Program is void,
 216          and will automatically terminate your rights under this License. However,
 217          parties who have received copies, or rights, from you under this License
 218          will not have their licenses terminated so long as such parties remain
 219          in full compliance.</p>
 220        <p><strong>5</strong>. You are not required to accept this License, since
 221          you have not signed it. However, nothing else grants you permission to
 222          modify or distribute the Program or its derivative works. These actions
 223          are prohibited by law if you do not accept this License. Therefore, by
 224          modifying or distributing the Program (or any work based on the Program),
 225          you indicate your acceptance of this License to do so, and all its terms
 226          and conditions for copying, distributing or modifying the Program or
 227          works based on it.</p>
 228        <p><strong>6</strong>. Each time you redistribute the Program (or any work
 229          based on the Program), the recipient automatically receives a license
 230          from the original licensor to copy, distribute or modify the Program
 231          subject to these terms and conditions. You may not impose any further
 232          restrictions on the recipients' exercise of the rights granted herein.
 233          You are not responsible for enforcing compliance by third parties to
 234          this License.</p>
 235        <p><strong>7</strong>. If, as a consequence of a court judgment or allegation
 236          of patent infringement or for any other reason (not limited to patent
 237          issues), conditions are imposed on you (whether by court order, agreement
 238          or otherwise) that contradict the conditions of this License, they do
 239          not excuse you from the conditions of this License. If you cannot distribute
 240          so as to satisfy simultaneously your obligations under this License and
 241          any other pertinent obligations, then as a consequence you may not distribute
 242          the Program at all. For example, if a patent license would not permit
 243          royalty-free redistribution of the Program by all those who receive copies
 244          directly or indirectly through you, then the only way you could satisfy
 245          both it and this License would be to refrain entirely from distribution
 246          of the Program.</p>
 247        <p>If any portion of this section is held invalid or unenforceable under
 248          any particular circumstance, the balance of the section is intended to
 249          apply and the section as a whole is intended to apply in other circumstances.</p>
 250        <p>It is not the purpose of this section to induce you to infringe any
 251          patents or other property right claims or to contest validity of any
 252          such claims; this section has the sole purpose of protecting the integrity
 253          of the free software distribution system, which is implemented by public
 254          license practices. Many people have made generous contributions to the
 255          wide range of software distributed through that system in reliance on
 256          consistent application of that system; it is up to the author/donor to
 257          decide if he or she is willing to distribute software through any other
 258          system and a licensee cannot impose that choice.</p>
 259        <p>This section is intended to make thoroughly clear what is believed to
 260          be a consequence of the rest of this License.</p>
 261        <p><strong>8</strong>. If the distribution and/or use of the Program is
 262          restricted in certain countries either by patents or by copyrighted interfaces,
 263          the original copyright holder who places the Program under this License
 264          may add an explicit geographical distribution limitation excluding those
 265          countries, so that distribution is permitted only in or among countries
 266          not thus excluded. In such case, this License incorporates the limitation
 267          as if written in the body of this License.</p>
 268        <p><strong>9</strong>. The Free Software Foundation may publish revised
 269          and/or new versions of the General Public License from time to time.
 270          Such new versions will be similar in spirit to the present version, but
 271          may differ in detail to address new problems or concerns.</p>
 272        <p>Each version is given a distinguishing version number. If the Program
 273          specifies a version number of this License which applies to it and &quot;any
 274          later version&quot;, you have the option of following the terms and conditions
 275          either of that version or of any later version published by the Free
 276          Software Foundation. If the Program does not specify a version number
 277          of this License, you may choose any version ever published by the Free
 278          Software Foundation.</p>
 279        <p><strong>10</strong>. If you wish to incorporate parts of the Program
 280          into other free programs whose distribution conditions are different,
 281          write to the author to ask for permission. For software which is copyrighted
 282          by the Free Software Foundation, write to the Free Software Foundation;
 283          we sometimes make exceptions for this. Our decision will be guided by
 284          the two goals of preserving the free status of all derivatives of our
 285          free software and of promoting the sharing and reuse of software generally.</p>
 286        <p><strong>NO WARRANTY</strong></p>
 287        <p><strong>11</strong>. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
 288          THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
 289          LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
 290          OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND,
 291          EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 292          WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
 293          ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
 294          YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
 295          SERVICING, REPAIR OR CORRECTION.</p>
 296        <p><strong>12</strong>. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
 297          AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO
 298          MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE
 299          TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
 300          DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING
 301          BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
 302          LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
 303          TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
 304          HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
 305        <p>END OF TERMS AND CONDITIONS</p>
 306        </div>
 307        <form action="setup.php" method="post" name="agree" target="_top" id="agree">
 308            <input name="Submit" type="submit" value="I agree the GPL, continue&hellip;" />
 309        </form></td>
 310      <td width="15" bgcolor="#FFFFFF" style="background-image:url(../img/backend/preinfo2_r7_c7.gif);background-repeat:repeat-y;background-position:right;"><img src="../img/leer.gif" alt="" width="15" height="1" /></td>
 311    </tr>
 312    <tr>
 313      <td><img src="../img/backend/backend_a_r1_c1.gif" alt="" width="15" height="15" border="0" /></td>
 314      <td valign="bottom" bgcolor="#FFFFFF" class="navtext"><img src="../img/backend/backend_r6_c2.jpg" alt="" width="740" height="15" border="0" /></td>
 315      <td valign="bottom" class="navtext"><img src="../img/backend/backend_a_r1_c7.gif" alt="" width="15" height="15" border="0" /></td>
 316    </tr>
 317    <tr>
 318      <td width="15"><img src="../img/leer.gif" alt="" width="14" height="20" /></td>
 319      <td colspan="2" valign="bottom" class="navtext"><a href="http://www.phpwcms.de" target="_blank">phpwcms</a> &copy; 2003&#8212;<?php echo date('Y') ?> <a title="oliver at phpwcms dot de" onclick="location.href='mailto:oliver'+'@'+'phpwcms'+'.'+'de';return false;" href="#">Oliver Georgi</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GPL</a>.
 320          Extensions are copyright of their respective owners.</td>
 321    </tr>
 322    <tr>
 323      <td colspan="3"><img src="../img/leer.gif" alt="" width="1" height="8" /></td>
 324    </tr>
 325  </table>
 326  </body>
 327  </html>


Generated: Sun Jan 29 16:31:14 2012 Cross-referenced by PHPXref 0.7.1