100+ results results for 'php floor repo:SantiHarry/XG-Proyect-v2.10.x' (418 ms)
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Font implements PHPExcel_IComparable 37{ 153 $this->_strikethrough = NULL; 154 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); 155 } else { 155 } else { 156 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 157 }linear_solver.h https://gitlab.com/khumba/cglab | C Header | 478 lines
17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * 27 * YEAR=November 2005, 28 * URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics 29 * }presentations.php https://gitlab.com/Gashler/sg | PHP | 431 lines
1<?php 2/* 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23*/date.php https://github.com/alfons56/Kohana.git | PHP | 557 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 8 * @copyright (c) 2007-2009 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 28 * Timezone for formatted_time 29 * @link http://uk2.php.net/manual/en/timezones.php 30 * @var string 39 * 40 * [!!] A list of time zones that PHP supports can be found at 41 * <http://php.net/timezones>. 330 { 331 $timespan -= Date::YEAR * ($output['years'] = (int) floor($timespan / Date::YEAR)); 332 } 539 * 540 * @see http://php.net/manual/en/datetime.construct.php 541 * @param string datetime_str datetime stringdate.php https://github.com/chemila/kohana.git | PHP | 566 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 28 * Timezone for formatted_time 29 * @link http://uk2.php.net/manual/en/timezones.php 30 * @var string 39 * 40 * [!!] A list of time zones that PHP supports can be found at 41 * <http://php.net/timezones>. 334 { 335 $timespan -= Date::YEAR * ($output['years'] = (int) floor($timespan / Date::YEAR)); 336 } 339 { 340 $timespan -= Date::MONTH * ($output['months'] = (int) floor($timespan / Date::MONTH)); 341 } 548 * 549 * @see http://php.net/manual/en/datetime.construct.php 550 * @param string datetime_str datetime stringfdt_ro.c https://bitbucket.org/kasimling/u-boot.git | C | 578 lines
19 * License along with this library; if not, write to the Free 20 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 * MA 02110-1301 USA 328{ 329 const fdt32_t *php; 330 int len; 334 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); 335 if (!php || (len != sizeof(*php))) { 336 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 336 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 337 if (!php || (len != sizeof(*php))) 338 return 0; 340 341 return fdt32_to_cpu(*php); 342}EditView.php https://github.com/stephenreid/sugarcrm_dev.git | PHP | 349 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 45 46require_once('modules/Campaigns/utils.php'); 47 106}else{ 107 $params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>"; 108 $params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL']; 166//Assign qsd script 167require_once('include/QuickSearchDefaults.php'); 168$qsd = new QuickSearchDefaults(); 172$xtpl->assign("CANCEL_SCRIPT", $cancel_script); 173$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']); 174$xtpl->assign("JAVASCRIPT", get_set_focus_js() . $quicksearch_js);ApiQueryWatchlistRaw.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 210 lines
1<?php 2/** 20 * with this program; if not, write to the Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 * http://www.gnu.org/copyleft/gpl.html 28 // Eclipse helper - will be ignored in production 29 require_once( 'ApiQueryBase.php' ); 30} 201 return array( 202 'api.php?action=query&list=watchlistraw', 203 'api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=revisions',refreshImageMetadata.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 207 lines
1<?php 2/** 2/** 3 * Script to refresh image metadata fields. See also rebuildImages.php 4 * 4 * 5 * Usage: php refreshImageMetadata.php 6 * 21 * with this program; if not, write to the Free Software Foundation, Inc., 22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 23 * http://www.gnu.org/copyleft/gpl.html 29 30require_once( dirname( __FILE__ ) . '/Maintenance.php' ); 31Theora.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 267 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 20// | License along with this library; if not, write to the Free Software | 21// | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 22// +----------------------------------------------------------------------------+ 23 24require_once dirname(__FILE__) . '/Bitstream.php'; 25 36 * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 37 * @link http://pear.php.net/package/File_Ogg 38 * @link http://www.xiph.org/theora/ 39 * @package File_Ogg 40 * @version CVS: $Id: Theora.php,v 1.9 2005/11/16 20:43:27 djg Exp $ 41 */ 75 $keyFramePos = $topWord / pow(2, $this->_kfgShift - 32) + 76 floor( $bottomWord / pow(2, $this->_kfgShift) ); 77rl2.c https://github.com/energy6/xbmc.git | C | 233 lines
18 * License along with FFmpeg; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 25 * @author Sascha Sommer (saschasommer@freenet.de) 26 * @see http://wiki.multimedia.cx/index.php?title=RL2 27 */biblio_list_sphinx.inc.php https://github.com/masir/ucs-2.0.git | PHP | 328 lines
1<?php 2/** 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 *CacheBase.php https://gitlab.com/ilyales/vigma | PHP | 368 lines
19 * License along with this library; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 * 21 * 22 * @category PHPExcel 23 * @package PHPExcel_CachedObjectStorage 23 * @package PHPExcel_CachedObjectStorage 24 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel) 25 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 73 // Set our parent worksheet. 74 // This is maintained within the cache controller to facilitate re-attaching it to PHPExcel_Cell objects when 75 // they are woken from a serialized state 311 * 312 * @param PHPExcel_Worksheet $parent The new worksheet 313 * @return voidCase.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 317 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 231 $temp_array['CASE_NUMBER'] = $this->case_number; 232 $temp_array['SET_COMPLETE'] = "<a href='index.php?return_module=Home&return_action=index&action=EditView&module=Cases&record=$this->id&status=Closed'>".SugarThemeRegistry::current()->getImage("close_inline","title=".translate('LBL_LIST_CLOSE','Cases')." border='0'")."</a>"; 233 //$temp_array['ACCOUNT_NAME'] = $this->account_name; //overwrites the account_name value returned from the cases table.joomla_com_realestatemanager_sqli.rb https://gitlab.com/alx741/metasploit-framework | Ruby | 260 lines
99 payload << "0x#{rmark.unpack('H*')[0]}," 100 payload << 'FLOOR(RAND(0)*2)' 101 payload << ')x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)' 110 res = send_request_cgi({ 111 'uri' => normalize_uri(target_uri.path, 'index.php'), 112 'vars_get' => get, 122 res = send_request_cgi({ 123 'uri' => normalize_uri(target_uri.path, 'index.php'), 124 'method' => 'POST',movie.php https://bitbucket.org/JakePratt/kupcakz.com.git | PHP | 282 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 19 */ 96 97 clearstatcache(); // use $filename parameter when PHP_version is 5.3+ 98 if (filesize($output_file) == 0 || $exec_return) { 266 * approach avoids potential issues with time zone and DST mismatch and/or using deprecated 267 * features (the last argument of mkdate above, which disables DST, is deprecated as of PHP 5.3). 268 */ 269 static function seconds_to_hhmmssdd($seconds) { 270 return sprintf("%02d:%02d:%05.2f", floor($seconds / 3600), floor(($seconds % 3600) / 60), 271 floor(100 * $seconds % 6000) / 100);Dashlet.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 378 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 37 38require_once('include/Sugar_Smarty.php'); 39require_once('include/utils/layout_utils.php'); 284 // load current language strings for current language, else default to english 285 if(is_file($dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php') 286 || is_file('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php') ) { 286 || is_file('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php') ) { 287 if(is_file($dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php')) { 288 require($dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php'); 289 } 290 if(is_file('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php')) { 291 require('custom/' . $dashletDirectory . $dashletClassname . '/' . $dashletClassname . '.' . $current_language . '.lang.php');edit_entry_handler.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 512 lines
3 4require_once "grab_globals.inc.php"; 5include "config.inc.php"; 62$returl_base = explode('?', basename($returl)); 63if (empty($returl) || ($returl_base[0] == "edit_entry.php") || ($returl_base[0] == "edit_entry_handler.php")) 64{ 67 case "month": 68 $returl = "month.php"; 69 break; 113?> 114 <h1><?php echo get_vocab('invalid_booking'); ?></h1> 115 <p> 115 <p> 116 <?php echo get_vocab('must_set_description'); ?> 117 </p>Workbook.php https://github.com/testlinkjp/testlink-japanese-localization.git | PHP | 443 lines
134 */ 135 private function _writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) 136 { 164 */ 165 private function _writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) 166 { 208 */ 209 private function _writeSheets(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) 210 { 261 */ 262 private function _writeDefinedNames(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) 263 { 295 */ 296 private function _writeNamedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel) 297 {VardefManager.php https://github.com/joshbhamilton/sugarcrm_dev.git | PHP | 308 lines
1<?php 2/********************************************************************************* 19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 43 /** 44 * this method is called within a vardefs.php file which extends from a SugarObject. 45 * It is meant to load the vardefs from the SugarObject. 50 51 include_once('modules/TableDictionary.php'); 52 63 $vardef_paths = array( 64 'custom/modules/' . $module . '/Ext/Vardefs/vardefs.ext.php', 65 'custom/Extension/modules/' . $module . '/Ext/Vardefs/vardefs.php' 104 if(empty($templates[$template])){ 105 $path = 'include/SugarObjects/templates/' . $template . '/vardefs.php'; 106 if(file_exists($path)){Heuristics.php https://gitlab.com/mrceperka/mi-paa | PHP | 598 lines
1<?php 2namespace MrCeperka\MIPAA\Heuristics; 3 4require_once 'Helpers.php'; 5 389 390 $b = (int)floor(log($this->input['error'] * $maxPrice / $this->input['n'], 2)); 391 $maxError = $this->input['n'] * pow(2, $b) / $maxPrice; 395 for($i = 0; $i < $this->input['n']; $i++) { 396 $pairs[$i]['price'] = (int)floor($pairs[$i]['price'] / $K); 397 } 398 399 /*echo 'maxPrice: ' . $maxPrice . PHP_EOL; 400 echo 'bits: ' . $b . PHP_EOL; 400 echo 'bits: ' . $b . PHP_EOL; 401 echo 'me:' . $maxError . PHP_EOL;*/ 402 }themeroller_task.php https://github.com/wrlee/gallery3-contrib.git | PHP | 285 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 19 */SubPanelViewInvitees.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 153 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 23 * this program; if not, see http://www.gnu.org/licenses or write to the Free 24 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 25 * 02110-1301 USA. 66 67$button = "<table cellspacing='0' cellpadding='1' border='0'><form border='0' action='index.php' method='post' name='form' id='form'>\n"; 68$button .= "<input type='hidden' name='module' value='Contacts'>\n"; 74$button .= "<tr><td> </td>"; 75if ($focus->parent_type == "Accounts") $button .= "<td><input title='".$app_strings['LBL_SELECT_CONTACT_BUTTON_TITLE']."' type='button' class='button' value='".$app_strings['LBL_SELECT_CONTACT_BUTTON_LABEL']."' name='button' LANGUAGE=javascript onclick='window.open(\"index.php?module=Contacts&action=Popup&html=Popup_picker&form=DetailView&form_submit=true&query=true&account_id=$focus->parent_id&account_name=".urlencode($focus->parent_name)."\",\"new\",\"width=600,height=400,resizable=1,scrollbars=1\");'></td>\n"; 76else $button .= "<td><input title='".$app_strings['LBL_SELECT_CONTACT_BUTTON_TITLE']."' type='button' class='button' value='".$app_strings['LBL_SELECT_CONTACT_BUTTON_LABEL']."' name='button' LANGUAGE=javascript onclick='window.open(\"index.php?module=Contacts&action=Popup&html=Popup_picker&form=DetailView&form_submit=true\",\"new\",\"width=600,height=400,resizable=1,scrollbars=1\");'></td>\n"; 76else $button .= "<td><input title='".$app_strings['LBL_SELECT_CONTACT_BUTTON_TITLE']."' type='button' class='button' value='".$app_strings['LBL_SELECT_CONTACT_BUTTON_LABEL']."' name='button' LANGUAGE=javascript onclick='window.open(\"index.php?module=Contacts&action=Popup&html=Popup_picker&form=DetailView&form_submit=true\",\"new\",\"width=600,height=400,resizable=1,scrollbars=1\");'></td>\n"; 77$button .= "<td><input title='".$app_strings['LBL_SELECT_USER_BUTTON_TITLE']."' type='button' class='button' value='".$app_strings['LBL_SELECT_USER_BUTTON_LABEL']."' name='button' LANGUAGE=javascript onclick='window.open(\"index.php?module=Users&action=Popup&html=Popup_picker&form=DetailView&form_submit=true\",\"new\",\"width=600,height=400,resizable=1,scrollbars=1\");'></td>\n"; 78$button .= "</tr></form></table>\n";SYLK.php https://gitlab.com/rezaul007/content-management-system | PHP | 450 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 44 */ 45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 213 /** 214 * Loads PHPExcel from file into PHPExcel instance 215 * 216 * @param string $pFilename 217 * @param PHPExcel $objPHPExcel 218 * @return PHPExcel 220 */ 221 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 222 {Job.php https://gitlab.com/link233/bootmw | PHP | 398 lines
1<?php 2/** 16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 * http://www.gnu.org/copyleft/gpl.htmlBug36845Test.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 222 lines
49 $this->has_custom_unified_search_modules = true; 50 copy('cache/modules/unified_search_modules.php', 'cache/modules/unified_search_modules.php.bak'); 51 } 159 { 160 copy('cache/modules/unified_search_modules.php.bak', 'cache/modules/unified_search_modules.php'); 161 unlink('cache/modules/unified_search_modules.php.bak'); 195 $this->assertTrue(!file_exists("{$this->module_dir}/metadata/SearchFields.php"), 'Assert that we have a SearchFields.php file'); 196 $this->assertTrue(file_exists("{$this->module_dir}/vardefs.php"), 'Assert that we have a vardefs.php file'); 197 require_once('modules/UpgradeWizard/uw_utils.php'); 201 $usa->buildCache(); 202 $this->assertTrue(file_exists("cache/modules/unified_search_modules.php"), 'Assert that we have a unified_search_modules.php file'); 203 include('cache/modules/unified_search_modules.php'); 219 $usa->saveGlobalSearchSettings(); 220 $this->assertTrue(file_exists('custom/modules/unified_search_modules_display.php'), 'Assert that unified_search_modules_display.php file was created'); 221 }Entretenir.php https://github.com/Canop/braldahim.git | PHP | 204 lines
1<?php 2 126 Zend_Loader::loadClass("Bral_Util_Messagerie"); 127 $message = "[Ceci est un message automatique d'agriculture]" . PHP_EOL; 128 $message .= $this->view->user->prenom_braldun . " " . $this->view->user->nom_braldun . " a entretenu votre champ en x:" . $this->view->champ["x_champ"] . ", y:" . $this->view->champ["y_champ"] . PHP_EOL; 128 $message .= $this->view->user->prenom_braldun . " " . $this->view->user->nom_braldun . " a entretenu votre champ en x:" . $this->view->champ["x_champ"] . ", y:" . $this->view->champ["y_champ"] . PHP_EOL; 129 $message .= "Zone entretenue : x: " . $this->view->etatZone["x"] . " y:" . $this->view->etatZone["y"] . "." . PHP_EOL; 130 if ($this->view->etatZone["etat"] == ChampTaupe::ETAT_ENTRETENU) { 130 if ($this->view->etatZone["etat"] == ChampTaupe::ETAT_ENTRETENU) { 131 $message .= "Aucun taupe n'a été trouvée à cet endroit." . PHP_EOL; 132 } else { 132 } else { 133 $message .= "Une partie de taupe de taille " . $this->view->etatZone["taille"] . " a été trouvée !" . PHP_EOL; 134 if ($this->view->taupeDetruite) { 134 if ($this->view->taupeDetruite) { 135 $message .= "La taupe est occise." . PHP_EOL; 136 } else {view.edit.php https://github.com/faouzia/sugarcrm_dev.git | PHP | 138 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 44 45require_once('include/MVC/View/views/view.edit.php'); 46require_once('modules/Configurator/Forms.php'); 46require_once('modules/Configurator/Forms.php'); 47require_once('modules/Administration/Forms.php'); 48require_once('modules/Configurator/Configurator.php'); 48require_once('modules/Configurator/Configurator.php'); 49require_once('include/SugarLogger/SugarLogger.php'); 50 69 return array( 70 "<a href='index.php?module=Administration&action=index'>".translate('LBL_MODULE_NAME','Administration')."</a>", 71 $mod_strings['LBL_SYSTEM_SETTINGS']login_storepwd.js https://github.com/umbecr/camilaframework.git | JavaScript | 168 lines
1/* This File is part of Camila PHP Framework 2 Copyright (C) 2006-2008 Umberto Bresciani 3 4 Camila PHP Framework is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 8 9 Camila PHP Framework is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 You should have received a copy of the GNU General Public License 15 along with Camila PHP Framework; if not, write to the Free Software 16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ 47 var z = v[n-1], y = v[0], delta = 0x9E3779B9; 48 var mx, e, q = Math.floor(6 + 52/n), sum = 0; 49HTML.php https://bitbucket.org/crowdguru/phpexcel.git | PHP | 495 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 149 // Create new PHPExcel 150 $objPHPExcel = new PHPExcel(); 151 430 /** 431 * Loads PHPExcel from file into PHPExcel instance 432 * 433 * @param string $pFilename 434 * @param PHPExcel $objPHPExcel 435 * @return PHPExcel 437 */ 438 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 439 {index.php https://github.com/tonebix/s3st15_matoa.git | PHP | 153 lines
29 // start the session 30 require SENAYAN_BASE_DIR.'admin/default/session.inc.php'; 31} 32 33require SENAYAN_BASE_DIR.'admin/default/session_check.inc.php'; 34require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 34require SIMBIO_BASE_DIR.'simbio_GUI/table/simbio_table.inc.php'; 35require SIMBIO_BASE_DIR.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php'; 36require SIMBIO_BASE_DIR.'simbio_GUI/paging/simbio_paging.inc.php'; 36require SIMBIO_BASE_DIR.'simbio_GUI/paging/simbio_paging.inc.php'; 37require SIMBIO_BASE_DIR.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 38require SIMBIO_BASE_DIR.'simbio_DB/simbio_dbop.inc.php'; 51 <hr /> 52 <form name="search" action="<?php echo MODULES_WEB_ROOT_DIR; ?>stock_take/index.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 53 <input type="text" name="keywords" size="30" />FSMMaze.js https://github.com/Wkasel/qooxdoo.git | JavaScript | 477 lines
12 LGPL: http://www.gnu.org/licenses/lgpl.html 13 EPL: http://www.eclipse.org/org/documents/epl-v10.php 14 See the LICENSE file in the project's top-level directory for details. 109 { 110 row : Math.floor(Math.random() * this.numRows), 111 col : Math.floor(Math.random() * this.numCols) 174 // Yup. Choose one at random 175 var r = Math.floor(Math.random() * neighbors.length); 176 neighbor = neighbors[r]; 266 { 267 row : Math.floor(Math.random() * this.numRows), 268 col : Math.floor(Math.random() * this.numCols) 279 { 280 row : Math.floor(Math.random() * this.numRows), 281 col : Math.floor(Math.random() * this.numCols)Brasser.php https://github.com/Canop/braldahim.git | PHP | 420 lines
1<?php 2 236 237 $nbBieresPossible = floor($poidsRestant / Bral_Util_Poids::POIDS_BIERE); 238 if ($nbBieresPossible < 0) { 244 $this->view->nbBieresDestination = intval($nbBieresPossible); 245 $this->view->nbBieresATerre = floor($this->view->nbAliment - $this->view->nbBieresDestination); 246 } else { 375 if ($estRate) { 376 $quantite = floor($quantite / 2); 377 } 417 } 418 $this->view->nb_px = floor($this->view->nb_px_perso + $this->view->nb_px_commun); 419 }ExportAccountsReportAction.php https://gitlab.com/e0/X2CRM | PHP | 207 lines
1<?php 2/*********************************************************************************** 19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA.Login.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 218 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 46 ob_clean(); 47 header("Location: index.php?module=Home&action=index"); 48 sugar_cleanup(true); 191 var url = '&to_pdf=1&module=Home&action=index&entryPoint=Changenewpassword&recaptcha_challenge_field='+Recaptcha.get_challenge()+'&recaptcha_response_field='+ Recaptcha.get_response(); 192 YAHOO.util.Connect.asyncRequest('POST','index.php',callback2,url); 193 }</script>";view.resetmodule.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 249 lines
1<?php 2/********************************************************************************* 19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 36 37require_once ('modules/ModuleBuilder/MB/AjaxCompose.php') ; 38require_once ('modules/ModuleBuilder/MB/ModuleBuilder.php') ; 38require_once ('modules/ModuleBuilder/MB/ModuleBuilder.php') ; 39require_once ('modules/ModuleBuilder/Module/StudioModule.php') ; 40require_once ('modules/ModuleBuilder/Module/StudioBrowser.php') ; 40require_once ('modules/ModuleBuilder/Module/StudioBrowser.php') ; 41require_once ('modules/DynamicFields/DynamicField.php') ; 42require_once 'modules/ModuleBuilder/Module/StudioModuleFactory.php' ; 42require_once 'modules/ModuleBuilder/Module/StudioModuleFactory.php' ; 43require_once 'modules/ModuleBuilder/parsers/views/DeployedMetaDataImplementation.php'; 44forum_fn.js https://bitbucket.org/enitarzi/phpbb3-gorgon.git | JavaScript | 443 lines
1/** 2* phpBB3 forum functions 3*/ 25 26 if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) 27 { 330*/ 331function phpbb_check_key(event) 332{ 366 367 if (phpbb_check_key(event)) 368 return true; 412 413 if (phpbb_check_key(e)) 414 return true;pagination.php https://github.com/anqh/core.git | PHP | 328 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 7 * @copyright (c) 2012 Antti Qvickström 8 * @license http://www.opensource.org/licenses/mit-license.php MIT license 9 */ 152 153 <?php if ($this->first_url): ?> 154 <li class="previous"><?= HTML::anchor($this->first_url, $this->first_text) ?></li> 154 <li class="previous"><?= HTML::anchor($this->first_url, $this->first_text) ?></li> 155 <?php endif; ?> 156 156 157 <?php if ($this->previous_url): ?> 158 <li class="previous"><?= HTML::anchor($this->previous_url, $this->previous_text) ?></li> 158 <li class="previous"><?= HTML::anchor($this->previous_url, $this->previous_text) ?></li> 159 <?php endif; ?> 160Protection.php https://github.com/libersoft/fengoffice-ls.git | PHP | 529 lines
1<?php 2/** 4 * 5 * Copyright (c) 2006 - 2008 PHPExcel 6 * 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * 20 * 21 * @category PHPExcel 22 * @package PHPExcel_Worksheet 22 * @package PHPExcel_Worksheet 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Worksheet 34 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */FreshController.php https://gitlab.com/wuhang2003/phpwind | PHP | 265 lines
1<?php 2defined('WEKIT_VERSION') || exit('Forbidden'); 9 * 10 * @copyright ©2003-2103 phpwind.com 11 * @license http://www.windframework.com 11 * @license http://www.windframework.com 12 * @version $Id: FreshController.php 28843 2013-05-28 01:57:37Z jieyin $ 13 * @package wind 16 17 /* (non-PHPdoc) 18 * @see PwBaseController::beforeAction() 26 27 /* (non-PHPdoc) 28 * @see WindController::run() 63 if ($tmp > 31536000) { 64 $unpost = floor($tmp / 31536000) . '年多'; 65 } elseif ($tmp > 2592000) {date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 68 * 69 * This function is identical to PHPs date() function, 70 * except that it allows date codes to be formatted using 174 $str = ''; 175 $years = floor($seconds / 31536000); 176 182 $seconds -= $years * 31536000; 183 $months = floor($seconds / 2628000); 184 194 195 $weeks = floor($seconds / 604800); 196HTTP_WebDAV_Server_vCal.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 430 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 42 43require_once 'modules/Calendar/Calendar.php'; 44 44 45require_once 'include/HTTP_WebDAV_Server/Server.php'; 46 352 // open input stream 353 $options["stream"] = fopen("php://input", "r"); 354 $content = '';en_us.lang.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 199 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 104 'LBL_MAILBOX_DEFAULT' => 'INBOX', 105 'LBL_MAILBOX_SSL_DESC' => 'Use SSL when connecting. If this does not work, check that your PHP installation included "--with-imap-ssl" in the configuration.', 106 'LBL_MAILBOX_SSL' => 'Use SSL', 131 'LBL_NO_OPTIMUMS' => 'Could not find optimums. Please check your settings and try again.', 132 'LBL_ONLY_SINCE_DESC' => 'When using POP3, PHP cannot filter for New/Unread messages. This flag allows the request to check for messages since the last time the mail account was polled. This will significantly improve performance if your mail server does not support IMAP.', 133 'LBL_ONLY_SINCE_NO' => 'No. Check against all emails on mail server.', 173 'LBL_WARN_IMAP' => 'Warnings:', 174 'LBL_WARN_NO_IMAP' => 'Inbound Email <b>cannot</b> function without the IMAP c-client libraries enabled/compiled with the PHP module. Please contact your administrator to resolve this issue.', 175iff.c https://bitbucket.org/starup/android-rdp.git | C | 325 lines
20 * License along with FFmpeg; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 */ 28 * for more information on the .iff file format, visit: 29 * http://wiki.multimedia.cx/index.php?title=IFF 30 */predictive-auto-overlay-auto-dict.el https://github.com/shanbhardwaj/emacsonrails.git | Emacs Lisp | 203 lines
10;; Keywords: predictive, automatic, overlays, dictionary, auto-dict 11;; URL: http://www.dr-qubit.org/emacs.php 12 27;; along with this program; if not, write to the Free Software 28;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 29;; MA 02110-1301, USA.state.js https://github.com/tornak47/Node-APF.git | JavaScript | 325 lines
16 * License along with this software; if not, write to the Free 17 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 18 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 104 * <a:rpc id="comm" protocol="cgi"> 105 * <a:method name="login" url="http://localhost/login.php"> 106 * <a:variable name="username" /> 108 * </a:method> 109 * <a:method name="logout" url="http://localhost/logout.php" /> 110 * </a:rpc>personal.js https://gitlab.com/Red54/core | JavaScript | 378 lines
74 // Ajax foo 75 $.post('ajax/changedisplayname.php', post, function (data) { 76 if (data.status === "success") { 113 $cropperImage.attr('src', 114 OC.generateUrl('/avatar/tmp') + '?requesttoken=' + encodeURIComponent(oc_requesttoken) + '#' + Math.floor(Math.random() * 1000)); 115 222 // Ajax foo 223 $.post('ajax/setlanguage.php', post, function (data) { 224 if (data.status === "success") {smacker.c https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C | 372 lines
18 * License along with FFmpeg; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 22/* 23 * Based on http://wiki.multimedia.cx/index.php?title=Smacker 24 */DetailView.html https://github.com/albertobraschi/SuperSweetAdmin.git | HTML | 248 lines
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 52<td> 53<form action="index.php" method="post" name="DetailView" id="form"> 54 <input type="hidden" name="module" value="InboundEmail">Explosion.php https://gitlab.com/wesleyvanneck/ImagicalMine | PHP | 277 lines
1<?php 2/** 2/** 3 * src/pocketmine/level/Explosion.php 4 * 168 169 $source = (new Vector3($this->source->x, $this->source->y, $this->source->z))->floor(); 170 $yield = (1 / $this->size) * 100; 182 $explosionSize = $this->size * 2; 183 $minX = Math::floorFloat($this->source->x - $explosionSize - 1); 184 $maxX = Math::ceilFloat($this->source->x + $explosionSize + 1); 184 $maxX = Math::ceilFloat($this->source->x + $explosionSize + 1); 185 $minY = Math::floorFloat($this->source->y - $explosionSize - 1); 186 $maxY = Math::ceilFloat($this->source->y + $explosionSize + 1); 186 $maxY = Math::ceilFloat($this->source->y + $explosionSize + 1); 187 $minZ = Math::floorFloat($this->source->z - $explosionSize - 1); 188 $maxZ = Math::ceilFloat($this->source->z + $explosionSize + 1);Color.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 507 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Color implements PHPExcel_IComparable 37{ 105 * @param string $parentPropertyName 106 * @return PHPExcel_Style_Color 107 */ 150 * 151 * @return PHPExcel_Worksheet 152 */amocles_administrateurs_liste.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 390 lines
1<?php 2 2 3 // inc/amocles_administrateurs_liste.php 4 27 along with Amocles; if not, write to the Free Software 28 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 100// 101// complement de action/editer_auteurs.php pour notifier la recherche d'auteur 102// 251 $tmp_var = "amocles_administrateurs-$id"; 252 $nb_aff = floor(1.5 * _TRANCHES); 253 if ($cpt > $nb_aff) {postMash.php https://gitlab.com/Gashler/sg | PHP | 345 lines
82 foreach ($pageposts as $page): //list pages, [the 'li' ID must be pm_'page ID'] ?> 83 <li id="pm_<?php echo $page->ID; ?>"<?php if($page->post_status == "draft"){ echo ' class="remove"'; } //if page is draft, add class remove ?>> 84 <span style="float:right;"> 84 <span style="float:right;"> 85 <?php 86 $tags = get_the_tags($page->ID); 98 id:<?php echo $page->ID;?> 99 [<a href="<?php echo get_bloginfo('wpurl').'/wp-admin/post.php?action=edit&post='.$page->ID; ?>" title="Edit This Post">edit</a>] 100 <?php if($switchDraftToPublishFeature): ?> 145 <select name='m'> 146 <option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option> 147 <?php 163 </select> 164 <?php } ?> 165mstask.idl https://github.com/wesgarner/wine.git | IDL | 385 lines
17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 * 99 [in] BOOL fPersistChanges, 100 [out] HPROPSHEETPAGE *phPage); 101}ru_ru.lang.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 133 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20* this program; if not, see http://www.gnu.org/licenses or write to the Free 21* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22* 02110-1301 USA. 122'ERROR_NO_SEARCHDEFS_MAPPED' => 'Error: There are no connectors enabled that have search fields defined.', /// 123'ERROR_NO_SOURCEDEFS_FILE' => 'Ошибка: Файл sourcedefs.php не найден.', 124'ERROR_NO_SOURCEDEFS_SPECIFIED' => 'Ошибка: Не указан источник получения данных.',blogger.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 323 lines
1<?php 2/** 4 * @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5 * @license GNU/GPL, see LICENSE.php 6 * 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 15 16require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'parent.php' ); 17 51 // In case limit has been changed, adjust it 52 $limitstart = (int) ($limit != 0 ? (floor($limitstart / $limit) * $limit) : 0); 53 73 74 require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR . 'helper.php' ); 75 $config = EasyBlogHelper::getConfig();qrmask.php https://gitlab.com/Ltaimao/wecenter | PHP | 328 lines
1<?php 2/* 2/* 3 * PHP QR Code encoder 4 * 9 * 10 * PHP QR Code is distributed under LGPL 3 11 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> 24 * License along with this library; if not, write to the Free Software 25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 */ 286 { 287 $minDemerit = PHP_INT_MAX; 288 $bestMaskNum = 0;date.php https://github.com/2bj/kohana-core.git | PHP | 566 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 8 * @copyright (c) 2007-2009 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 28 * Timezone for formatted_time 29 * @link http://uk2.php.net/manual/en/timezones.php 30 * @var string 39 * 40 * [!!] A list of time zones that PHP supports can be found at 41 * <http://php.net/timezones>. 334 { 335 $timespan -= Date::YEAR * ($output['years'] = (int) floor($timespan / Date::YEAR)); 336 } 548 * 549 * @see http://php.net/manual/en/datetime.construct.php 550 * @param string datetime_str datetime stringStringTable.php https://gitlab.com/techniconline/kmc | PHP | 322 lines
69 !isset($aFlippedStringTable[$cellValue]) && 70 ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING2 || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_NULL) 71 ) { 120 if (!$textElement instanceof PHPExcel_RichText) { 121 $textToWrite = PHPExcel_Shared_String::ControlCharacterPHP2OOXML($textElement); 122 $objWriter->startElement('t'); 151 */ 152 public function writeRichText(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_RichText $pRichText = null, $prefix = NULL) 153 { 218 $objWriter->writeAttribute('xml:space', 'preserve'); 219 $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($element->getText())); 220 $objWriter->endElement(); 291// $objWriter->writeAttribute('xml:space', 'preserve'); // Excel2010 accepts, Excel2007 complains 292 $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($element->getText())); 293 $objWriter->endElement();ezlog.php https://github.com/lserwatka/ezpublish.git | PHP | 228 lines
1<?php 2// 23// Public License along with this program; if not, write to the Free 24// Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 25// MA 02110-1301, USA. 33/*! 34 \class eZLog ezlog.php 35 \ingroup eZUtilsen_us.lang.php https://github.com/albertobraschi/SuperSweetAdmin.git | PHP | 247 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 207 'LBL_SOURCE_SUGAR' => 'Sugar - The world\'s most popular sales force automation application created by SugarCRM Inc.', 208 'LBL_SOURCE_XTEMPLATE' => 'XTemplate - A template engine for PHP created by Barnabás Debreceni', 209 'LBL_SOURCE_NUSOAP' => 'NuSOAP - A set of PHP classes that allow developers to create and consume web services created by NuSphere Corporation and Dietrich Ayala', 211 'LBL_SOURCE_PHPPDF' => 'PHP PDF - A library for creating PDF documents created by Wayne Munro', 212 'LBL_SOURCE_JSONPHP' => 'JSON.php - A PHP script to convert to and from JSON data format by Michal Migurski.', 213 'LBL_SOURCE_JSON' => 'JSON.js - A JSON parser and JSON stringifier in JavaScript.', 219 'LBL_SOURCE_YAHOO_UI_LIB' => 'Yahoo! User Interface Library - The UI Library Utilities facilitate the implementation of rich client-side features.', 220 'LBL_SOURCE_PHPMAILER' => 'PHPMailer - A full featured email transfer class for PHP', 221 'LBL_SOURCE_CRYPT_BLOWFISH' => 'Crypt_Blowfish - Allows for quick two-way blowfish encryption without requiring the MCrypt PHP extension.', 231 'LBL_SOURCE_CSSMIN' => 'CssMin - A css parser and minifier.', 232 'LBL_SOURCE_PHPSAML' => 'PHP-SAML - A simple SAML toolkit for PHP.', 233 'LBL_SOURCE_ISCROLL' => 'iScroll - The overflow:scroll for mobile webkit. Native scrolling inside a fixed width/height element.',BlockCommentSniff.php https://gitlab.com/0072016/PHP_CodeSniffer | PHP | 357 lines
27 * @version Release: @package_version@ 28 * @link http://pear.php.net/package/PHP_CodeSniffer 29 */ 58 * 59 * @param PHP_CodeSniffer_File $phpcsFile The current file being scanned. 60 * @param int $stackPtr The position of the current token in the 64 */ 65 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 66 { 67 if ($this->_tabWidth === null) { 68 $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues(); 69 if (isset($cliValues['tabWidth']) === false || $cliValues['tabWidth'] === 0) { 86 if ($tokens[$stackPtr]['code'] === T_DOC_COMMENT_OPEN_TAG) { 87 $nextToken = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, true); 88 $ignore = array(Settings.php https://gitlab.com/team_fsn/fsn-php | PHP | 387 lines
1<?php 2/** 2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Settings 23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); 34 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 35} 118 * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management 119 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 120 * @return boolean Success or failure 138 * for Zip file management 139 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 140 */dumpInterwiki.php https://github.com/daevid/MWFork.git | PHP | 251 lines
1<?php 2/** 17 * with this program; if not, write to the Free Software Foundation, Inc., 18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 * http://www.gnu.org/copyleft/gpl.html 26 27require_once( dirname( __FILE__ ) . '/Site.php' ); 28 28 29require_once( dirname( __FILE__ ) . '/Maintenance.php' ); 30 113 # Extract the intermap from meta 114 $intermap = Http::get( 'http://meta.wikimedia.org/w/index.php?title=Interwiki_map&action=raw', 30 ); 115 $lines = array_map( 'trim', explode( "\n", trim( $intermap ) ) );PDF.php https://github.com/libersoft/fengoffice-ls.git | PHP | 461 lines
22 * @package PHPExcel_Writer 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 34 * @package PHPExcel_Writer 35 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 36 */ 36 */ 37class PHPExcel_Writer_PDF implements PHPExcel_Writer_IWriter { 38 /** 68 * 69 * @param PHPExcel $phpExcel PHPExcel object 70 */ 71 public function __construct(PHPExcel $phpExcel) { 72 $this->_phpExcel = $phpExcel; 73 $this->_sheetIndex = 0;function_definition.php https://github.com/Socrattes2099/ezpublish.git | PHP | 193 lines
1<?php 2// 21// Public License along with this program; if not, write to the Free 22// Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 23// MA 02110-1301, USA.common.js https://github.com/fusenigk/mantisbt-1.git | JavaScript | 307 lines
1/* 2# Mantis - a php based bugtracking system 3 66 postData[fieldName] = request.term; 67 $.getJSON('xmlhttprequest.php', postData, function(data) { 68 var results = []; 91 this.elapsedTime += 1000; 92 var seconds = Math.floor(this.elapsedTime / 1000) % 60; 93 var minutes = Math.floor(this.elapsedTime / 60000) % 60; 93 var minutes = Math.floor(this.elapsedTime / 60000) % 60; 94 var hours = Math.floor(this.elapsedTime / 3600000) % 60; 95 if (seconds < 10) {TemplateRange.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 293 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 72 $module = $_REQUEST['view_module']; 73 if (file_exists('modules/'.$module.'/metadata/SearchFields.php')) 74 { 74 { 75 require('modules/'.$module.'/metadata/SearchFields.php'); 76 } 77 78 if(file_exists('custom/modules/'.$module.'/metadata/SearchFields.php')) 79 { 79 { 80 require('custom/modules/'.$module.'/metadata/SearchFields.php'); 81 }MysqliManager.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 379 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 23 * this program; if not, see http://www.gnu.org/licenses or write to the Free 24 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 25 * 02110-1301 USA. 45* which generate the necessary SQL. This sql is then passed to PEAR DB classes. 46* The helper class is chosen in DBManagerFactory, which is driven by 'db_type' in 'dbconfig' under config.php. 47* 93 94require_once('include/database/MysqlManager.php'); 95 147 for ( $i = count($bt) ; $i-- ; $i > 0 ) { 148 if ( strpos('MysqliManager.php',$bt[$i]['file']) === false ) { 149 $line = $bt[$i]; 326 /** 327 * (non-PHPdoc) 328 * @see MysqlManager::lastDbError()ApiQueryBlocks.php https://github.com/Seizam/seizamcore.git | PHP | 312 lines
1<?php 2/** 20 * with this program; if not, write to the Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 * http://www.gnu.org/copyleft/gpl.html 28 // Eclipse helper - will be ignored in production 29 require_once( 'ApiQueryBase.php' ); 30} 299 return array( 300 'api.php?action=query&list=blocks', 301 'api.php?action=query&list=blocks&bkusers=Alice|Bob'Color.php https://github.com/testlinkjp/testlink-japanese-localization.git | PHP | 476 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Color implements PHPExcel_IComparable 37{ 103 * @param string $parentPropertyName 104 * @return PHPExcel_Style_Color 105 */ 148 * 149 * @return PHPExcel_Worksheet 150 */graph.vue https://gitlab.com/certik/gitlab-ce | Vue | 273 lines
5 import GraphDeployment from './graph/deployment.vue'; 6 import GraphPath from './graph_path.vue'; 7 import MonitoringMixin from '../mixins/monitoring_mixins'; 63 GraphDeployment, 64 GraphPath, 65 }, 126 this.currentDataIndex = evalTime ? overlayIndex : (overlayIndex - 1); 127 this.currentXCoordinate = Math.floor(firstTimeSeries.timeSeriesScaleX(this.currentData.time)); 128 const currentDeployXPos = this.mouseOverDeployInfo(point.x);fdt_ro.c https://github.com/ab3416/linux-2.6.git | C | 469 lines
19 * License along with this library; if not, write to the Free 20 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 21 * MA 02110-1301 USA 257{ 258 const uint32_t *php; 259 int len; 261 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 262 if (!php || (len != sizeof(*php))) 263 return 0; 264 265 return fdt32_to_cpu(*php); 266}historyf.el https://github.com/lugecy/dot-emacs.git | Emacs Lisp | 411 lines
17;; along with this program; if not, write to the Free Software 18;; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 82 perl-mode cperl-mode python-mode ruby-mode 83 ecmascript-mode javascript-mode js2-mode php-mode css-mode 84 makefile-mode sh-mode fortran-mode f90-mode ada-modeAbattrearbre.php https://github.com/Canop/braldahim.git | PHP | 287 lines
1<?php 2 25 $poidsRestantLaban = $this->view->user->poids_transportable_braldun - $this->view->user->poids_transporte_braldun; 26 $nbPossibleDansLabanMaximum = floor($poidsRestantLaban / Bral_Util_Poids::POIDS_RONDIN); 27 if ($nbPossibleDansLabanMaximum > 0) { 37 $tabPoidsCharrette = Bral_Util_Poids::calculPoidsCharrette($this->view->user->id_braldun); 38 $nbPossibleDansCharretteMaximum = floor($tabPoidsCharrette["place_restante"] / Bral_Util_Poids::POIDS_RONDIN); 39 114 115 $nb = floor($this->view->user->vigueur_base_braldun / 5) + 1; 116 $this->view->nbRondins = Bral_Util_De::getLanceDeSpecifique($nb, 1, 3);SoftwareRenderer.js https://bitbucket.org/krris/3d-bin-packing.git | JavaScript | 590 lines
57 58 canvasWBlocks = Math.floor( width / blockSize ); 59 canvasHBlocks = Math.floor( height / blockSize ); 275 // https://gist.github.com/2486101 276 // explanation: http://pouet.net/topic.php?which=8760&page=1 277generateSitemap.php https://github.com/Seizam/seizamcore.git | PHP | 466 lines
1<?php 2/** 19 * with this program; if not, write to the Free Software Foundation, Inc., 20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * http://www.gnu.org/copyleft/gpl.html 28 29require_once( dirname( __FILE__ ) . '/Maintenance.php' ); 30 46 * 47 * @link http://www.sitemaps.org/faq.php#faq_sitemap_size 48 *mssql_odbc.php https://github.com/naderman/phpbb-orchestra.git | PHP | 427 lines
1<?php 2/** 5* @version $Id$ 6* @copyright (c) 2005 phpBB Group 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 13*/ 14if (!defined('IN_PHPBB')) 15{ 18 19include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx); 20 25* 26* @note number of bytes returned for returning data depends on odbc.defaultlrl php.ini setting. 27* If it is limited to 4K for example only 4K of data is returned max, resulting in incomplete theme data for example. 44 45 $port_delimiter = (defined('PHP_OS') && substr(PHP_OS, 0, 3) === 'WIN') ? ',' : ':'; 46 $this->server = $sqlserver . (($port) ? $port_delimiter . $port : '');php.js https://gitlab.com/juanito.abelo/nlmobile | JavaScript | 132 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"), 24 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"), 25 multiLineStrings: true, 54 var htmlMode = CodeMirror.getMode(config, "text/html"); 55 var phpMode = CodeMirror.getMode(config, phpConfig); 56 82 return style; 83 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 84 state.curMode = htmlMode; 103 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 104 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 105 if (state.curMode == htmlMode) cur = htmlNew; 130 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 131 CodeMirror.defineMIME("text/x-php", phpConfig); 132})();DataSeries.php https://gitlab.com/team_fsn/fsn-php | PHP | 365 lines
20 * 21 * @category PHPExcel 22 * @package PHPExcel_Chart 22 * @package PHPExcel_Chart 23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Chart 34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 132 * 133 * @var array of PHPExcel_Chart_DataSeriesValues 134 */ 308 * 309 * @return PHPExcel_Chart_DataSeriesValues 310 */multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
1<?php 2/* 22 along with this program; if not, write to the Free Software 23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24*/ 91 public function kd_admin_init() { 92 if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) { 93 wp_enqueue_script( 373 374// Omit closing PHP tag to avoid "Headers already sent" issues. 375isom.c https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C | 250 lines
20 * License along with FFmpeg; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 */ 81 { CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') }, 82 { CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') }, /* OpenDiVX *//* sample files at http://heroinewarrior.com/xmovie.php3 use this tag */ 83 { CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') }, 158 159/* { CODEC_ID_OGG_VORBIS, MKTAG('O', 'g', 'g', 'S') }, *//* sample files at http://heroinewarrior.com/xmovie.php3 use this tag */ 160History.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 220 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 38 39require_once 'modules/ModuleBuilder/parsers/constants.php' ; 40 44 private $_dirname ; // base directory for the history files 45 private $_basename ; // base name for a history file, for example, listviewdef.php 46 private $_list ; // the history - a list of history files 175 { 176 $GLOBALS [ 'log' ]->warn ( "History.php: unable to remove history file {$this->_basename}_$timestamp from directory {$this->_dirname} - permissions problem?" ) ; 177 }composeEmailTemplate.js https://github.com/jacknicole/sugarcrm_dev.git | JavaScript | 246 lines
18 * this program; if not, see http://www.gnu.org/licenses or write to the Free 19 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 20 * 02110-1301 USA. 37'<div id="composeOverFrame{idx}" style="height:100%;width:100%">' + 38' <form id="emailCompose{idx}" name="ComposeEditView{idx}" action="index.php" method="POST">' + 39' <input type="hidden" id="email_id{idx}" name="email_id" value="">' + 63' <th><table cellpadding="0" cellspacing="0" border="0"><tbody><tr ><td style="padding: 0px !important;margin:0px; !important" >' + 64' <button type="button" class="button" onclick="SUGAR.email2.composeLayout.sendEmail({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_send.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_SEND}</button>' + 65' <button type="button" class="button" onclick="SUGAR.email2.composeLayout.saveDraft({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_save.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_SAVE_DRAFT}</button>' + 65' <button type="button" class="button" onclick="SUGAR.email2.composeLayout.saveDraft({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_save.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_SAVE_DRAFT}</button>' + 66' <button type="button" class="button" onclick="SUGAR.email2.composeLayout.showAttachmentPanel({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_attach.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_ATTACHMENT}</button>' + 67' <button type="button" class="button" onclick="SUGAR.email2.composeLayout.showOptionsPanel({idx}, false);"><img src="index.php?entryPoint=getImage&themeName='+SUGAR.themes.theme_name+'&imageName=icon_email_options.gif" align="absmiddle" border="0"> {app_strings.LBL_EMAIL_OPTIONS}</button>' + 69' </td><td style="padding: 0px !important;margin:0px; !important"><input id="data_parent_id{idx}" name="data_parent_id{idx}" type="hidden" value="">' + 70'<input class="sqsEnabled" id="data_parent_name{idx}" name="data_parent_name{idx}" type="text" value=""> <button type="button" class="button" onclick="SUGAR.email2.composeLayout.callopenpopupForEmail2({idx});"><img src="index.php?entryPoint=getImage&themeName=default&imageName=id-ff-select.png" align="absmiddle" border="0"></button>' + 71' </td></tr></tbody></table></th>' +Rels.php https://gitlab.com/albert925/lading-ach | PHP | 365 lines
103 if ($this->getParentWriter()->getUseDiskCaching()) { 104 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); 105 } else { 105 } else { 106 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 107 } 258 if ($this->getParentWriter()->getUseDiskCaching()) { 259 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); 260 } else { 260 } else { 261 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 262 } 309 } else { 310 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 311 }asn1.php https://gitlab.com/neuser/bitrix-core | PHP | 218 lines
1<?php 2/* 163 $oct = ord($oid[$pos++]); 164 $str = floor($oct / 40) . '.' . ($oct % 40); 165pack.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 346 lines
7 // % note 2: Home: http://www.kingsquare.nl/blog/12-12-2009/13507444 8 // % note 3: Feedback: phpjs-pack@kingsquare.nl 9 // % note 4: 'machine dependent byte order and size' aren't 223 n = Math.abs(n); 224 intPart = Math.floor(n); 225 floatPart = n - intPart; 231 bin[--k] = intPart % 2; 232 intPart = Math.floor(intPart / 2); 233 }RSColorPickerView.m https://bitbucket.org/kyamaguchi/simpledrawing.git | Objective C | 384 lines
12// point-related macros 13#define INNER_P(x) (x < 0 ? ceil(x) : floor(x)) 14#define IS_INSIDE(p) (round(p.x) >= 0 && round(p.x) < self.frame.size.width && round(p.y) >= 0 && round(p.y) < self.frame.size.height) 17 18// Concept-code from http://www.easyrgb.com/index.php?X=MATH&H=21#text21 19BMPixel pixelFromHSV(CGFloat H, CGFloat S, CGFloat V) { 26 } 27 CGFloat var_i = floor(var_h); 28 CGFloat var_1 = V * (1.0 - S);Alignment.php https://gitlab.com/ptisky/API_prestashop | PHP | 409 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable 37{ 141 * <code> 142 * $objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray( 143 * array( 307 * @param boolean $pValue 308 * @return PHPExcel_Style_Alignment 309 */find-debuginfo.c https://bitbucket.org/rlyspn/androidrr.git | C | 298 lines
15 with Red Hat elfutils; if not, write to the Free Software Foundation, 16 Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA. 17 20 under any Open Source Initiative certified open source license 21 (http://www.opensource.org/licenses/index.php) which requires the 22 distribution of source code with any binary distribution and towebTracker.php https://gitlab.com/e0/X2CRM | PHP | 279 lines
56 57<?php 58/** 71x2WebTracker.getSendKeyUrl = function () { 72 return '<?php 73 $protocol = !empty ($_SERVER['HTTPS']) ? 'https' : 'http'; 79 ?>/<?php echo (defined ('FUNCTIONAL_TEST') && constant ('FUNCTIONAL_TEST') ? 80 'index-test.php' : 'index.php'); 81 ?>/api/webListener'; 216 217 <?php ?> 218 var fingerprint; 264 265 <?php // there's a cookie key, request content ?> 266 var x2KeyCookie = document.cookie.replace (cookieRegex, '$1');Image.php https://gitlab.com/rsilveira1987/Expresso | PHP | 272 lines
1<?php 2/** 106 $params = array(); 107 parse_str(parse_url($_imageURL, PHP_URL_QUERY), $params); 108 if (!empty($params['application']) && !empty($params['id'])) { 124 public static function getImageUrl($appName, $id, $location = '', $width = 90, $height = 90, $ratiomode = 0) { 125 return 'index.php?method=Tinebase.getImage&application=' . $appName . '&location=' . $location . '&id=' . $id . '&width=' . $width . '&height=' . $height . '&ratiomode='.$ratiomode; 126 } 176 // fit width 177 $dst_height = floor($_width / $src_ratio); 178 $dst_width = $_width; 181 $dst_height = $_height; 182 $dst_width = floor($_height * $src_ratio); 183 } 237 $q = $_maxSize/strlen($blob); 238 $width = floor(sqrt(pow($this->width, 2) * $q)); 239 $height = floor(sqrt(pow($this->height, 2) * $q));%%24^248^248C46CA%%DetailView.tpl.php https://github.com/joshbhamilton/sugar.git | PHP | 236 lines
2 compiled from include/DetailView/DetailView.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'include/DetailView/DetailView.tpl', 47, false),array('function', 'sugar_evalcolumn', 'include/DetailView/DetailView.tpl', 127, false),array('function', 'sugar_field', 'include/DetailView/DetailView.tpl', 132, false),array('modifier', 'count', 'include/DetailView/DetailView.tpl', 83, false),)), $this); ?> 73 <?php endif; ?> 74 <div <?php if ($this->_tpl_vars['useTabs']): ?>class="yui-content"<?php endif; ?>> 75<?php echo smarty_function_counter(array('name' => 'panelCount','print' => false,'start' => 0,'assign' => 'panelCount'), $this);?> 86<?php if (! is_array ( $this->_tpl_vars['panel'] )): ?> 87 {sugar_include type='php' file='<?php echo $this->_tpl_vars['panel']; ?> 88'} 136 {capture name="label" assign="label"}{sugar_translate label='<?php echo $this->_tpl_vars['colData']['field']['label']; ?> 137' module='<?php echo $this->_tpl_vars['module']; ?> 138'}{/capture} 166%' <?php if ($this->_tpl_vars['colData']['colspan']): ?>colspan='<?php echo $this->_tpl_vars['colData']['colspan']; ?> 167'<?php endif; ?> <?php if (isset ( $this->_tpl_vars['fields'][$this->_tpl_vars['colData']['field']['name']]['type'] ) && $this->_tpl_vars['fields'][$this->_tpl_vars['colData']['field']['name']]['type'] == 'phone'): ?>class="phone"<?php endif; ?>> 168 <?php if (! empty ( $this->_tpl_vars['colData']['field']['name'] )): ?>event.class.php https://github.com/ardowz/Thesis-SideB.git | PHP | 388 lines
1<?php 2/* 2/* 3 * @version $Id: event.class.php 14684 2011-06-11 06:32:40Z remi $ 4 ------------------------------------------------------------------------- 26 along with GLPI; if not, write to the Free Software Foundation, Inc., 27 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 28 -------------------------------------------------------------------------- 151 case "rules" : 152 echo "<a href=\"".$CFG_GLPI["root_doc"]."/front/rule.generic.form.php?id=". 153 $items_id."\">".$items_id."</a>"; 157 echo "<a href='#' onClick=\"window.open('".$CFG_GLPI["root_doc"]. 158 "/front/infocom.form.php?id=$items_id','infocoms','location=infocoms,width=". 159 "1000,height=400,scrollbars=no')\">$items_id</a>"; 166 case "reservationitem" : 167 echo "<a href=\"".$CFG_GLPI["root_doc"]."/front/reservation.php?reservationitems_id=". 168 $items_id."\">$items_id</a>";ajax.function.php https://github.com/ardowz/Thesis-SideB.git | PHP | 302 lines
1<?php 2/* 2/* 3 * @version $Id: ajax.function.php 14684 2011-06-11 06:32:40Z remi $ 4 ------------------------------------------------------------------------- 26 along with GLPI; if not, write to the Free Software Foundation, Inc., 27 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 28 --------------------------------------------------------------------------Image.php https://bitbucket.org/baruffaldi/webapp-urltube.git | PHP | 495 lines
1<?php 2/** 22/** Zend_Captcha_Word */ 23require_once 'Zend/Captcha/Word.php'; 24 358 if (!extension_loaded("gd")) { 359 require_once 'Zend/Form/Exception.php'; 360 throw new Zend_Form_Exception("Image CAPTCHA requires GD extension"); 363 if (!function_exists("imagepng")) { 364 require_once 'Zend/Form/Exception.php'; 365 throw new Zend_Form_Exception("Image CAPTCHA requires PNG support"); 368 if (!function_exists("imageftbbox")) { 369 require_once 'Zend/Form/Exception.php'; 370 throw new Zend_Form_Exception("Image CAPTCHA requires FT fonts support"); 375 if (empty($font)) { 376 require_once 'Zend/Form/Exception.php'; 377 throw new Zend_Form_Exception("Image CAPTCHA requires font");template.html https://github.com/infusion/HTML5-Experiments.git | HTML | 372 lines
76 77 var today = <?php echo $today;?>; 78 173 174 frame.style.background = d.backgroundFloor; 175 frame.style.backgroundSize = "cover"; 181 182 cont.innerHTML = d.contentFloor; 183 cont.style.position = "absolute"; 246 247 var data = <?php echo json_encode($gifts);?>; 248 300 contentWing: wing, 301 contentFloor: floor, 302 x: 0,EditView.tpl https://github.com/jacknicole/sugarcrm_dev.git | Smarty Template | 221 lines
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 75<span id="{{$idName}}_old" style="display:{if !$showRemove}none;{/if}"> 76 <a href="index.php?entryPoint=download&id={$fields.{{$vardef.fileId}}.value}&type={{$vardef.linkModule}}" class="tabDetailViewDFLink">{{sugarvar key='value'}}</a> 77SugarCacheAbstract.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 315 lines
1<?php 2/********************************************************************************* 19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 106 /** 107 * PHP's magic __get() method, used here for getting the current value from the cache. 108 * 140 /** 141 * PHP's magic __set() method, used here for setting a value for a key in the cache. 142 * 161 /** 162 * PHP's magic __isset() method, used here for checking for a key in the cache. 163 * 174 /** 175 * PHP's magic __unset() method, used here for clearing a key in the cache. 176 *detailviewdefs.php https://bitbucket.org/blakeball/test-repository.git | PHP | 185 lines
1<?php 2/********************************************************************************* 19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA.Import.php https://github.com/brion/mediawiki-svn.git | PHP | 485 lines
1<?php 2/** 19 * with this program; if not, write to the Free Software Foundation, Inc., 20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * http://www.gnu.org/copyleft/gpl.html 429 switch($upload['error']){ 430 case 1: # The uploaded file exceeds the upload_max_filesize directive in php.ini. 431 return new WikiErrorMsg( 'importuploaderrorsize' );cqshop.inc.php https://gitlab.com/nacridan/Nacridan | PHP | 263 lines
1<?php 2 13 */ 14require_once (HOMEPATH . "/factory/EquipFactory.inc.php"); 15require_once (HOMEPATH . "/factory/CityFactory.inc.php"); 57 if (isset($_POST["Buy"]) && isset($_POST["idequip"])) { 58 require_once (HOMEPATH . "/factory/PlayerFactory.inc.php"); 59 $dbe = new DBCollection("SELECT id,id_EquipmentType, name,extraname FROM Equipment WHERE id=" . quote_smart($_POST["idequip"]), $db); 69 $price = EquipFactory::getPriceEquipment($dbe->get("id"), $db); 70 $price += floor( 71 EquipFactory::getPriceEquipment($dbe->get("id"), $db) * (CityFactory::getBuildingActionProfit($curplayer->get("inbuilding"), MAIN_SHOP_BUY, $db) - 10) / 100); 71 EquipFactory::getPriceEquipment($dbe->get("id"), $db) * (CityFactory::getBuildingActionProfit($curplayer->get("inbuilding"), MAIN_SHOP_BUY, $db) - 10) / 100); 72 $str .= "<form name='form' method='POST' action='" . CONFIG_HOST . "/conquest/conquest.php?action=act" . "' target='_self'>"; 73 $str .= "<table class='maintable insidebuildingleftwidth' >\n"; 169 $price = EquipFactory::getPriceEquipment($eq->get("id"), $db); 170 $price += floor( 171 EquipFactory::getPriceEquipment($eq->get("id"), $db) * (CityFactory::getBuildingActionProfit($curplayer->get("inbuilding"), MAIN_SHOP_BUY, $db) - 10) / 100);trackBlobs.php https://github.com/daevid/MWFork.git | PHP | 396 lines
1<?php 2/** 16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 * http://www.gnu.org/copyleft/gpl.html 28if ( count( $args ) < 1 ) { 29 echo "Usage: php trackBlobs.php <cluster> [... <cluster>]\n"; 30 echo "Adds blobs from a given ES cluster to the blob_tracking table\n"; 82 echo "Integrity check failed: found HistoryBlobStub objects in your text table.\n" . 83 "This script could destroy these objects if it continued. Run resolveStubs.php\n" . 84 "to fix this.\n"; 97 echo "Integrity check failed: found external storage pointers in your archive table.\n" . 98 "Run normaliseArchiveTable.php to fix this.\n"; 99 exit( 1 ); 102 "These objects are probably already broken, continuing would make them\n" . 103 "unrecoverable. Run \"normaliseArchiveTable.php --fix-cgz-bug\" to fix this.\n"; 104 exit( 1 );tickets_pipelines.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 309 lines
1<?php 2 128 $colonnes = extraire_balises($gadget, 'td'); 129 $derniere_colonne = fmod(floor(count($colonnes)/2), 4) == 0 ? true : false; 130 if ($derniere_colonne) { 156/** 157 * Insertion dans le pipeline forum_objets_depuis_env (plugin forums balises/formulaire_forum.php) 158 *CSV.php https://gitlab.com/hoanghung.dev/aloads | PHP | 352 lines
27 */ 28class PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter 29{ 89 * 90 * @param PHPExcel $phpExcel PHPExcel object 91 */ 108 $saveDebugLog = PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->getWriteDebugLog(); 109 PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog(false); 110 $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); 110 $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); 111 PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); 112 150 PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType); 151 PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); 152 }test_generateLotsVisitsWebsites.php https://github.com/quarkness/piwik.git | PHP | 135 lines
1<?php 2define('PIWIK_INCLUDE_PATH', realpath( dirname(__FILE__)."/.." )); 5define('PIWIK_ENABLE_SESSION_START', false); 6require_once PIWIK_INCLUDE_PATH . "/index.php"; 7require_once PIWIK_INCLUDE_PATH . "/core/API/Request.php"; 7require_once PIWIK_INCLUDE_PATH . "/core/API/Request.php"; 8require_once PIWIK_INCLUDE_PATH . "/libs/PiwikTracker/PiwikTracker.php"; 9 48 $sql = "INSERT INTO ". Piwik_Common::prefixTable('log_visit')." (`idsite`, `idvisitor`, `visitor_localtime`, `visitor_returning`, `visitor_count_visits`, `visit_first_action_time`, `visit_last_action_time`, `visit_exit_idaction_url`, `visit_exit_idaction_name`, `visit_entry_idaction_url`, `visit_entry_idaction_name`, `visit_total_actions`, `visit_total_time`, `visit_goal_converted`, `visit_goal_buyer`, `referer_type`, `referer_name`, `referer_url`, `referer_keyword`, `config_id`, `config_os`, `config_browser_name`, `config_browser_version`, `config_resolution`, `config_pdf`, `config_flash`, `config_java`, `config_director`, `config_quicktime`, `config_realplayer`, `config_windowsmedia`, `config_gears`, `config_silverlight`, `config_cookie`, `location_ip`, `location_browser_lang`, `location_country`, `location_continent`, `location_provider`, `custom_var_k1`, `custom_var_v1`, `custom_var_k2`, `custom_var_v2`, `custom_var_k3`, `custom_var_v3`, `custom_var_k4`, `custom_var_v4`, `custom_var_k5`, `custom_var_v5`, `visitor_days_since_last`, `visitor_days_since_order`, `visitor_days_since_first`) 49 SELECT `idsite`, `idvisitor`, `visitor_localtime`, `visitor_returning`, `visitor_count_visits`, CONCAT(CURRENT_DATE() , \" \", FLOOR(RAND()*24) , \":\",FLOOR(RAND()*60),\":\",FLOOR(RAND()*60)), CONCAT(CURRENT_DATE() , \" \", FLOOR(RAND()*24) , \":\",FLOOR(RAND()*60),\":\",FLOOR(RAND()*60)), `visit_exit_idaction_url`, `visit_exit_idaction_name`, `visit_entry_idaction_url`, `visit_entry_idaction_name`, `visit_total_actions`, `visit_total_time`, `visit_goal_converted`, `visit_goal_buyer`, `referer_type`, `referer_name`, `referer_url`, `referer_keyword`, `config_id`, `config_os`, `config_browser_name`, `config_browser_version`, `config_resolution`, `config_pdf`, `config_flash`, `config_java`, `config_director`, `config_quicktime`, `config_realplayer`, `config_windowsmedia`, `config_gears`, `config_silverlight`, `config_cookie`, `location_ip`, `location_browser_lang`, `location_country`, `location_continent`, `location_provider`, `custom_var_k1`, `custom_var_v1`, `custom_var_k2`, `custom_var_v2`, `custom_var_k3`, `custom_var_v3`, `custom_var_k4`, `custom_var_v4`, `custom_var_k5`, `custom_var_v5`, `visitor_days_since_last`, `visitor_days_since_order`, `visitor_days_since_first` 50 FROM `". Piwik_Common::prefixTable('log_visit')."` 55 $sql = "INSERT INTO ". Piwik_Common::prefixTable('log_link_visit_action')." (`idsite`, `idvisitor`, `server_time`, `idvisit`, `idaction_url`, `idaction_url_ref`, `idaction_name`, `idaction_name_ref`, `time_spent_ref_action`, `custom_var_k1`, `custom_var_v1`, `custom_var_k2`, `custom_var_v2`, `custom_var_k3`, `custom_var_v3`, `custom_var_k4`, `custom_var_v4`, `custom_var_k5`, `custom_var_v5`) 56 SELECT `idsite`, `idvisitor`, CONCAT(CURRENT_DATE() , \" \", FLOOR(RAND()*24) , \":\",FLOOR(RAND()*60),\":\",FLOOR(RAND()*60)), `idvisit`, `idaction_url`, `idaction_url_ref`, `idaction_name`, `idaction_name_ref`, `time_spent_ref_action`, `custom_var_k1`, `custom_var_v1`, `custom_var_k2`, `custom_var_v2`, `custom_var_k3`, `custom_var_v3`, `custom_var_k4`, `custom_var_v4`, `custom_var_k5`, `custom_var_v5` 57 FROM `". Piwik_Common::prefixTable('log_link_visit_action')."` 64 $sql = "INSERT IGNORE INTO `". Piwik_Common::prefixTable('log_conversion')."` (`idvisit`, `idsite`, `visitor_days_since_first`, `visitor_days_since_order`, `visitor_count_visits`, `idvisitor`, `server_time`, `idaction_url`, `idlink_va`, `referer_visit_server_date`, `referer_type`, `referer_name`, `referer_keyword`, `visitor_returning`, `location_country`, `location_continent`, `url`, `idgoal`, `revenue`, `buster`, `idorder`, `custom_var_k1`, `custom_var_v1`, `custom_var_k2`, `custom_var_v2`, `custom_var_k3`, `custom_var_v3`, `custom_var_k4`, `custom_var_v4`, `custom_var_k5`, `custom_var_v5`, `items`, `revenue_subtotal`, `revenue_tax`, `revenue_shipping`, `revenue_discount`) 65 SELECT `idvisit`, `idsite`, `visitor_days_since_first`, `visitor_days_since_order`, `visitor_count_visits`, `idvisitor`, CONCAT(CURRENT_DATE() , \" \", FLOOR(RAND()*24) , \":\",FLOOR(RAND()*60),\":\",FLOOR(RAND()*60)), `idaction_url`, `idlink_va`, `referer_visit_server_date`, `referer_type`, `referer_name`, `referer_keyword`, `visitor_returning`, `location_country`, `location_continent`, `url`, `idgoal`, `revenue`, FLOOR(`buster` * RAND()), CONCAT(`idorder`,SUBSTRING(MD5(RAND()) FROM 1 FOR 9)) , `custom_var_k1`, `custom_var_v1`, `custom_var_k2`, `custom_var_v2`, `custom_var_k3`, `custom_var_v3`, `custom_var_k4`, `custom_var_v4`, `custom_var_k5`, `custom_var_v5`, `items`, `revenue_subtotal`, `revenue_tax`, `revenue_shipping`, `revenue_discount` 66 FROM `". Piwik_Common::prefixTable('log_conversion')."`autonav-widget.php https://bitbucket.org/wlindley/autonav.git | PHP | 260 lines
1<?php 2/* 25 along with this program; if not, write to the Free Software 26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 */ 29if (!class_exists('WL_Config_Form')) { 30 include 'wl-config-form.php'; 31}UndeployedMetaDataImplementation.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 211 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 20 * this program; if not, see http://www.gnu.org/licenses or write to the Free 21 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 22 * 02110-1301 USA. 38 39require_once 'modules/ModuleBuilder/MB/ModuleBuilder.php' ; 40require_once 'modules/ModuleBuilder/parsers/views/AbstractMetaDataImplementation.php' ; 40require_once 'modules/ModuleBuilder/parsers/views/AbstractMetaDataImplementation.php' ; 41require_once 'modules/ModuleBuilder/parsers/views/MetaDataImplementationInterface.php' ; 42require_once 'modules/ModuleBuilder/parsers/views/ListLayoutMetaDataParser.php' ; 42require_once 'modules/ModuleBuilder/parsers/views/ListLayoutMetaDataParser.php' ; 43require_once 'modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php' ; 44require_once 'modules/ModuleBuilder/parsers/constants.php' ; 196 case MB_HISTORYMETADATALOCATION : 197 return 'custom/history/modulebuilder/packages/' . $packageName . '/modules/' . $moduleName . '/metadata/' . $filenames [ $view ] . '.php' ; 198 default :SVGFontData.cpp https://gitlab.com/paretje/qtwebkit | C++ | 298 lines
24 25#include "GlyphPage.h" 26#include "RenderElement.h" 76 77 const GlyphPage* glyphPageZero = font->glyphPage(0); 78 80 // Fallback if x_heightAttr is not specified for the font element. 81 Glyph letterXGlyph = glyphPageZero->glyphDataForCharacter('x').glyph; 82 xHeight = letterXGlyph ? font->widthForGlyph(letterXGlyph) : 2 * ascent / 3; 110 // Estimate maximum character width. 111 Glyph letterWGlyph = glyphPageZero->glyphDataForCharacter('W').glyph; 112 font->setMaxCharWidth(letterWGlyph ? font->widthForGlyph(letterWGlyph) : ascent); 206 207bool SVGFontData::fillSVGGlyphPage(GlyphPage* pageToFill, UChar* buffer, unsigned bufferLength) const 208{EditView.html https://github.com/jacknicole/sugarcrm_dev.git | HTML | 249 lines
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 53 54<form name="EditView" id="EditView" method="POST" action="index.php" enctype="multipart/form-data"> 55 <input type="hidden" name="module" value="EmailTemplates"> 210<!-- BEGIN: NoInbound3 --> 211<form id="upload_form" name="upload_form" method="POST" action='AttachDocuments.php' enctype="multipart/form-data"> 212 <div id="upload_div">qrsplit.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 311 lines
1<?php 2/* 2/* 3 * PHP QR Code encoder 4 * 9 * 10 * PHP QR Code is distributed under LGPL 3 11 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> 30 * License along with this library; if not, write to the Free Software 31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 32 */DetailView.tpl https://bitbucket.org/blakeball/test-repository.git | Smarty Template | 223 lines
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free 20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 * 02110-1301 USA. 74 75{{* Check to see if the panel variable is an array, if not, we'll attempt an include with type param php *}} 76{{* See function.sugar_include.php *}} 77{{if !is_array($panel)}} 78 {sugar_include type='php' file='{{$panel}}'} 79{{else}}Settings.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 332 lines
1<?php 2/** 2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Settings 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); 34 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 35} 112 * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management 113 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 114 * @return boolean Success or failure 131 * for Zip file management 132 * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive 133 */