[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/modules/Users/ -> Announcements.php (source)

   1  <?php
   2  /*********************************************************************************
   3  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   4   * ("License"); You may not use this file except in compliance with the License
   5   * The Original Code is:  vtiger CRM Open Source
   6   * The Initial Developer of the Original Code is vtiger.
   7   * Portions created by vtiger are Copyright (C) vtiger.
   8   * All Rights Reserved.
   9   *
  10   ********************************************************************************/
  11  
  12  require_once ('Smarty_setup.php');
  13  
  14  global $adb;
  15  global $current_user;
  16  global $theme;
  17  $theme_path="themes/".$theme."/";
  18  $image_path=$theme_path."images/";
  19  $query="select * from vtiger_announcement where creatorid=".$current_user->id;
  20  $result=$adb->query($query);
  21  $announcement=$adb->query_result($result,0,'announcement');
  22  $title_prev=$adb->query_result($result,0,'title');
  23  $id=$adb->query_result($result,0,'creatorid');
  24  
  25  $smarty = new vtigerCRM_Smarty;
  26  
  27  $smarty->assign("ANNOUNCE",$announcement);
  28  $smarty->assign("MOD", return_module_language($current_language,'Settings'));
  29  $smarty->assign("IMAGE_PATH",$image_path);
  30  $smarty->assign("APP", $app_strings);
  31  $smarty->assign("CMOD", $mod_strings);
  32  
  33  $smarty->display("Settings/Announcements.tpl");
  34  
  35  ?>


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