[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/install/ -> 0welcome.php (source)

   1  <?php
   2  /*********************************************************************************
   3   * The contents of this file are subject to the SugarCRM Public License Version 1.1.2
   4   * ("License"); You may not use this file except in compliance with the
   5   * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
   6   * Software distributed under the License is distributed on an  "AS IS"  basis,
   7   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
   8   * the specific language governing rights and limitations under the License.
   9   * The Original Code is: SugarCRM Open Source
  10   * The Initial Developer of the Original Code is SugarCRM, Inc.
  11   * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
  12   * All Rights Reserved.
  13   * Contributor(s): ______________________________________.
  14   ********************************************************************************/
  15  /*********************************************************************************
  16   * $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/install/0welcome.php,v 1.10 2004/08/26 11:44:30 saraj Exp $
  17   * Description:  Executes a step in the installation process.
  18   ********************************************************************************/
  19  
  20  //get php configuration settings.  requires elaborate parsing of phpinfo() output
  21  ob_start();
  22  phpinfo(INFO_GENERAL);
  23  $string = ob_get_contents();
  24  ob_end_clean();
  25  
  26  $pieces = explode("<h2", $string);
  27  $settings = array();
  28  foreach($pieces as $val)
  29  {
  30     preg_match("/<a name=\"module_([^<>]*)\">/", $val, $sub_key);
  31     preg_match_all("/<tr[^>]*>
  32                                         <td[^>]*>(.*)<\/td>
  33                                         <td[^>]*>(.*)<\/td>/Ux", $val, $sub);
  34     preg_match_all("/<tr[^>]*>
  35                                         <td[^>]*>(.*)<\/td>
  36                                         <td[^>]*>(.*)<\/td>
  37                                         <td[^>]*>(.*)<\/td>/Ux", $val, $sub_ext);
  38     foreach($sub[0] as $key => $val) {
  39          if (preg_match("/Configuration File \(php.ini\) Path /", $val)) {
  40                 $val = preg_replace("/Configuration File \(php.ini\) Path /", '', $val);
  41              $phpini = strip_tags($val);
  42             }
  43     }
  44  
  45  }
  46  ?>
  47  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  48  <html>
  49  <head>
  50      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  51      <title>vtiger CRM 5 - Configuration Wizard - Welcome</title>
  52      <link href="include/install/install.css" rel="stylesheet" type="text/css">
  53  </head>
  54  
  55  <body class="small cwPageBg" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
  56  
  57      <br><br><br>
  58      <!-- Table for cfgwiz starts -->
  59  
  60      <table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
  61      <tr>
  62          <td class="cwHeadBg" align=left><img src="include/install/images/configwizard.gif" alt="Configuration Wizard" hspace="20" title="Configuration Wizard"></td>
  63          <td class="cwHeadBg" align=right><img src="include/install/images/vtigercrm5.gif" alt="vtiger CRM 5" title="vtiger CRM 5"></td>
  64      </tr>
  65      </table>
  66      <table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
  67      <tr>
  68          <td background="include/install/images/topInnerShadow.gif" align=left><img src="include/install/images/topInnerShadow.gif" ></td>
  69  
  70      </tr>
  71      </table>
  72      <table border=0 cellspacing=0 cellpadding=10 width=80% align=center>
  73      <tr>
  74          <td class="small" bgcolor="#4572BE" align=center>
  75              <!-- Master display -->
  76              <table border=0 cellspacing=0 cellpadding=0 width=97%>
  77              <tr>
  78                  <td width=20% valign=top>
  79  
  80                  <!-- Left side tabs -->
  81                      <table border=0 cellspacing=0 cellpadding=10 width=100%>
  82                      <tr><td class="small cwSelectedTab" align=right><div align="left"><b>Welcome</b></div></td></tr>
  83                      <tr><td class="small cwUnSelectedTab" align=right><div align="left">Installation Check</div></td></tr>
  84                      <tr><td class="small cwUnSelectedTab" align=right><div align="left">System Configuration</div></td></tr>
  85                      <tr><td class="small cwUnSelectedTab" align=right><div align="left">Confirm Settings</div></td></tr>
  86                      <tr><td class="small cwUnSelectedTab" align=right><div align="left">Config File Creation</div></td></tr>
  87                      <tr><td class="small cwUnSelectedTab" align=right><div align="left">Database Generation</div></td></tr>
  88                      <tr><td class="small cwUnSelectedTab" align=right><div align="left">Finish</div></td></tr>
  89                      </table>
  90                      
  91                  </td>
  92                  <td width=80% valign=top class="cwContentDisplay" align=left>
  93                  <!-- Right side tabs -->
  94                      <table border=0 cellspacing=0 cellpadding=10 width=100%>
  95                      <tr><td class=small align=left><img src="include/install/images/welcome.gif" alt="Welcome to Configuration Wizard" title="Welcome to Configuration Wizard"><br>
  96                        <hr noshade size=1></td></tr>
  97  
  98                      <tr>
  99                          <td align=left class="small" style="padding-left:20px">
 100          <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This Configuration Wizard will create vtiger CRM 5.0.2 databases and tables and configuration files you need to start. The entire process should take about four minutes. Click the Start button when you are ready. 
 101  <br><br>
 102  <p><span style="color:#555555">- vtiger CRM 5.0.2 is tested on mySQL 4.1.X, mySQL 5.0.19, PHP 5.0.19 and Apache 2.0.40.</p> 
 103  <p align="center"><font color='red'><b>vtiger CRM 5.0.2 will not work on mysql 4.0.x versions</b></font></center><center><font color='blue'><b>vtiger crm can run on a system which has xampp/lampp/wampp already installed in it provided it meets the above mentioned requirements</b></font></center>
 104  <p>The installation wizard will guide you with the installation regardless of the setup you may have.</span>
 105                          
 106                        </td>
 107                      </tr>
 108                      <tr>
 109                      <td><span style="color:#999999">Please take a moment to register your copy of vtiger CRM. Though this is optional, we encourage you to register. Only your name and email address are required for registration. We do not sell, rent, share or otherwise, distribute your information to third parties.<br></span>
 110          
 111                      </td>
 112                      </tr>
 113                      <tr>
 114                          <td align=center>
 115                          <IFRAME src="http://www.vtiger.com/products/crm/registration.html" width="500" height=250 scrolling='no' frameborder="0">
 116                            [Your user agent does not support frames or is currently configured
 117                            not to display frames. However, you may visit
 118                            <A href="http://www.vtiger.com/products/crm/registration.html">the related document.</A>] 
 119                           </IFRAME>
 120                            </td>
 121                      </tr>
 122                      <tr>
 123                          <td align="center">
 124                              Please read the <a href="Copyright.txt" target="_BLANK">license agreement</a> and click the "Start" button to continue. 
 125                          </td>
 126                      </tr>        
 127                      <tr>
 128                          <td align=center>
 129                          <form action="install.php" method="post" name="installform" id="form">
 130                                  <input type="hidden" name="file" value="1checkSystem.php" />    
 131                          <input type="image" src="include/install/images/start.jpg" alt="Start" border="0" title="Start" style="cursor:pointer;" onClick="window.document.installform.submit();">
 132                          </form><br>
 133                          <br></td>
 134                      </tr>
 135                      
 136                      
 137                  </table>
 138              </td>
 139          </tr>
 140      </table>
 141      <!-- Master display stops -->
 142      <br>
 143      </td>
 144      </tr>
 145      </table>
 146      <table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
 147      <tr>
 148  
 149          <td background="include/install/images/bottomGradient.gif"><img src="include/install/images/bottomGradient.gif"></td>
 150      </tr>
 151      </table>
 152      <table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
 153      <tr>
 154          <td align=center><img src="include/install/images/bottomShadow.jpg"></td>
 155      </tr>
 156      </table>
 157          <table border=0 cellspacing=0 cellpadding=0 width=80% align=center>
 158  
 159            <tr>
 160              <td class=small align=center> <a href="http://www.vtiger.com" target="_blank">www.vtiger.com</a></td>
 161            </tr>
 162          </table>
 163  </body>
 164  </html>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7