[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/modules/uploads/ -> upload.php (source)

   1  <!--*********************************************************************************
   2  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   3   * ("License"); You may not use this file except in compliance with the License
   4   * The Original Code is:  vtiger CRM Open Source
   5   * The Initial Developer of the Original Code is vtiger.
   6   * Portions created by vtiger are Copyright (C) vtiger.
   7   * All Rights Reserved.
   8  * 
   9   ********************************************************************************/
  10  -->
  11  <?
  12  global $theme;
  13  $theme_path="themes/".$theme."/";
  14  ?>
  15  <HTML>
  16  <head>
  17      <link type="text/css" href="<? echo $theme_path;?>style.css" rel="stylesheet">
  18  </head>
  19  <BODY marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0">
  20  <FORM METHOD="post" action="index.php?module=uploads&action=add2db&return_module=<?php echo $_REQUEST['return_module']?>" enctype="multipart/form-data" style="margin:0px;">
  21  <?php
  22      $ret_action = $_REQUEST['return_action'];
  23      $ret_module = $_REQUEST['return_module']; 
  24      $ret_id = $_REQUEST['return_id'];
  25  
  26  ?>
  27  
  28  <INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="1000000">
  29  <INPUT TYPE="hidden" NAME="return_module" VALUE="<?php echo $ret_module ?>">
  30  <INPUT TYPE="hidden" NAME="return_action" VALUE="<?php echo $ret_action ?>">
  31  <INPUT TYPE="hidden" NAME="return_id" VALUE="<?php echo $ret_id ?>">
  32  <table border=0 cellspacing=0 cellpadding=0 width=100% class="layerPopup">
  33  <tr>
  34  <td>
  35      <table border=0 cellspacing=0 cellpadding=5 width=100% class=layerHeadingULine>
  36          <tr>
  37              <td class="layerPopupHeading" align="left"><? echo $mod_strings["LBL_ATTACH_FILE"];?></td>
  38              <td width="70%" align="right">&nbsp;</td>
  39          </tr>
  40      </table>
  41      <table border=0 cellspacing=0 cellpadding=5 width=95% align=center> 
  42          <tr>
  43              <td class=small >
  44                  <table border=0 celspacing=0 cellpadding=5 width=100% align=center bgcolor=white class="small">
  45                      <tr>
  46                          <td width="30%" colspan="2" align="left">
  47                              <b><? echo $mod_strings["LBL_STEP_SELECT_FILE"];?></b><br>
  48                              <? echo $mod_strings["LBL_BROWSE_FILES"]; ?>
  49                          </td>
  50                      </tr>
  51                      <tr>
  52                          <td width="30%" colspan="2" align="left"><input type="file" name="filename"/></td>
  53                      </tr>
  54                      <tr><td colspan="2">&nbsp;</td></tr>
  55                      <tr>
  56                          <td width="30%" colspan="2" align="left">
  57                              <b> <? echo $mod_strings["LBL_DESCRIPTION"];?> </b><? echo $mod_strings["LBL_OPTIONAL"];?>
  58                          </td>
  59                      </tr>
  60                      <tr><td colspan="2" align="left"><textarea cols="50" rows="5"  name="txtDescription" class="txtBox"></textarea></td></tr>
  61                  </table>
  62              </td>
  63          </tr>
  64      </table>
  65      
  66      <table border=0 cellspacing=0 cellpadding=5 width=100% class="layerPopupTransport">
  67          <tr>
  68              <td colspan="2" align="center">
  69                      <input type="submit" name="save" value=" &nbsp;Attach&nbsp; " class="crmbutton small save" />&nbsp;&nbsp;
  70                      <input type="button" name="cancel" value=" Cancel " class="crmbutton small cancel" onclick="self.close();" />
  71              </td>    
  72          </tr>
  73      </table>
  74  </td>
  75  </tr>
  76  </table>
  77  </FORM>
  78  </BODY>
  79  </HTML>


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