[ Index ]
 

Code source de SugarCRM 5.0.0beta1

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

title

Body

[fermer]

/ -> phprint.php (source)

   1  <?php
   2   if(!defined('sugarEntry'))define('sugarEntry', true);
   3  /*********************************************************************************

   4   * SugarCRM is a customer relationship management program developed by

   5   * SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.

   6   * 

   7   * This program is free software; you can redistribute it and/or modify it under

   8   * the terms of the GNU General Public License version 3 as published by the

   9   * Free Software Foundation.

  10   * 

  11   * This program is distributed in the hope that it will be useful, but WITHOUT

  12   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

  13   * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more

  14   * details.

  15   * 

  16   * You should have received a copy of the GNU General Public License along with

  17   * this program; if not, see http://www.gnu.org/licenses or write to the Free

  18   * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA

  19   * 02110-1301 USA.

  20   * 

  21   * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,

  22   * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.

  23   * 

  24   * The interactive user interfaces in modified source and object code versions

  25   * of this program must display Appropriate Legal Notices, as required under

  26   * Section 5 of the GNU General Public License version 3.

  27   * 

  28   * In accordance with Section 7(b) of the GNU General Public License version 3,

  29   * these Appropriate Legal Notices must retain the display of the "Powered by

  30   * SugarCRM" logo. If the display of the logo is not reasonably feasible for

  31   * technical reasons, the Appropriate Legal Notices must display the words

  32   * "Powered by SugarCRM".

  33   ********************************************************************************/
  34  /*********************************************************************************

  35  

  36   * Description: Main file and starting point for the application.  Calls the

  37   * theme header and footer files defined for the user as well as the module as

  38   * defined by the input parameters.

  39   ********************************************************************************/
  40  require_once ('include/entryPoint.php');
  41  $query_string = "";
  42  foreach ($_GET as $key => $val) {
  43      if ($key != "print") {
  44          if (is_array($val)) {
  45              foreach ($val as $k => $v) {
  46                  $query_string .= "{$key}[{$k}]=" . urlencode($v) . "&";
  47              }
  48          }
  49          else {
  50              $query_string .= "{$key}=" . urlencode($val) . "&";
  51          }
  52      }
  53  }
  54  
  55  $url = "{$_SERVER['PHP_SELF']}?{$query_string}";
  56  
  57  ?>
  58  <html>
  59  <head>
  60  <script language="JavaScript">
  61  function doNothing() {return true;}
  62  window.onerror=doNothing;
  63  </script>
  64  <style type="text/css" media="all">
  65  BODY { font-family: Arial, Helvetica, sans-serif; }
  66  </style>
  67  </head>
  68  
  69  <body>
  70  <a href="<?php echo $url; ?>"><< <?php echo $app_strings['LBL_BACK']; ?></a><br><br>
  71  <?php
  72  echo $page_arr[1];
  73  ?>
  74  <br><br><a href="<?php echo $url; ?>"><< <?php echo $app_strings['LBL_BACK']; ?></a>
  75  </body>
  76  </html>


Généré le : Tue Sep 11 10:48:47 2007 par Balluche grâce à PHPXref 0.7