PageRenderTime 561ms queryTime 34ms sortTime 91ms getByIdsTime 303ms findMatchingLines 36ms

100+ results results for 'php cos repo:hlevine/myclientbase-south-african-version' (561 ms)

Not the results you expected?
Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
                    
1/****************************************************************************
                    
2 Copyright (c) 2012 cocos2d-x.org
                    
3 Copyright (c) 2013-2016 Chukong Technologies Inc.
                    
5 
                    
6 http://www.cocos2d-x.org
                    
7 
                    
78    listener->onTouchesEnded = CC_CALLBACK_2(Particle3DTestDemo::onTouchesEnded, this);
                    
79    _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
                    
80
                    
92
                    
93void Particle3DTestDemo::onTouchesBegan(const std::vector<Touch*>& touches, cocos2d::Event  *event)
                    
94{
                    
97
                    
98void Particle3DTestDemo::onTouchesMoved(const std::vector<Touch*>& touches, cocos2d::Event  *event)
                    
99{
                    
                
CCFastTMXLayer.h https://gitlab.com/msafonovmail/happy-bubbles | C Header | 363 lines
                    
2Copyright (c) 2008-2010 Ricardo Quesada
                    
3Copyright (c) 2010-2012 cocos2d-x.org
                    
4Copyright (c) 2011      Zynga Inc.
                    
6
                    
7http://www.cocos2d-x.org
                    
8
                    
72 * For further information, please see the programming guide:
                    
73 * http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:tiled_maps
                    
74 
                    
                
web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
                    
1<?php
                    
2
                    
3/**
                    
4	Web pack for the PHP Fat-Free Framework
                    
5
                    
11	Copyright (c) 2009-2011 F3::Factory
                    
12	Bong Cosca <bong.cosca@yahoo.com>
                    
13
                    
205		if ($echo) {
                    
206			if (PHP_SAPI!='cli' && !headers_sent())
                    
207				header(self::HTTP_Content.': '.$mime[$ext[1]].'; '.
                    
295				self::HTTP_Agent.': Mozilla/5.0 '.
                    
296					'(compatible;'.PHP_OS.')'.self::EOL.
                    
297				($reqhdrs?
                    
330					self::$vars['HEADERS'][]=$hdr;
                    
331					if (PHP_SAPI!='cli' && $forward)
                    
332						// Forward HTTP header
                    
                
SubscriptionTypeDAO.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 478 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @file classes/subscription/SubscriptionTypeDAO.inc.php
                    
5 *
                    
15
                    
16// $Id: SubscriptionTypeDAO.inc.php,v 1.29 2009/08/19 16:28:32 michael Exp $
                    
17
                    
188		$subscriptionType->setJournalId($row['journal_id']);
                    
189		$subscriptionType->setCost($row['cost']);
                    
190		$subscriptionType->setCurrencyCodeAlpha($row['currency_code_alpha']);
                    
231			'INSERT INTO subscription_types
                    
232				(journal_id, cost, currency_code_alpha, non_expiring, duration, format, institutional, membership, disable_public_display, seq)
                    
233				VALUES
                    
236				$subscriptionType->getJournalId(),
                    
237				$subscriptionType->getCost(),
                    
238				$subscriptionType->getCurrencyCodeAlpha(),
                    
                
view.php https://github.com/mchurchward/moodle.git | PHP | 303 lines
                    
1<?php
                    
2
                    
4
                    
5    require_once('../config.php');
                    
6    require_once('lib.php');
                    
6    require_once('lib.php');
                    
7    require_once($CFG->libdir.'/completionlib.php');
                    
8
                    
18    $marker      = optional_param('marker',-1 , PARAM_INT);
                    
19    $switchrole  = optional_param('switchrole',-1, PARAM_INT); // Deprecated, use course/switchrole.php instead.
                    
20    $return      = optional_param('return', 0, PARAM_LOCALURL);
                    
44
                    
45    $PAGE->set_url('/course/view.php', $urlparams); // Defined here to avoid notices on errors etc
                    
46
                    
59
                    
60    // Switchrole - sanity check in cost-order...
                    
61    $reset_user_allowed_editing = false;
                    
                
PerformanceScenarioTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 438 lines
                    
3 
                    
4 http://www.cocos2d-x.org
                    
5 
                    
77    listener->onTouchesMoved = CC_CALLBACK_2(ScenarioTest::onTouchesMoved, this);
                    
78    _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
                    
79
                    
                
lang.php https://github.com/frbayart/dokuwiki-wordpress-phpBB.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
101$lang['locktime']              = 'Idade máxima para locks (seg.)';
                    
102$lang['fetchsize']             = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior';
                    
103$lang['notify']                = 'Enviar notificações de mudanças para este endereço de email';
                    
115$lang['sitemap']               = 'Gerar Sitemap Google (dias)';
                    
116$lang['broken_iua']            = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">bug 852</a> para mais informações.';
                    
117$lang['xsendfile']             = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.';
                    
                
config.php https://github.com/olberger/fusionforge.git | PHP | 396 lines
                    
1<?php
                    
2// rcs_id('$Id: config.php 7797 2010-12-21 13:23:45Z vargenau $');
                    
16define ('_DEBUG_PARSER',    4); // verbose parsing steps
                    
17define ('_DEBUG_TRACE',     8); // test php memory usage, prints php debug backtraces
                    
18define ('_DEBUG_INFO',     16);
                    
26function isCGI() {
                    
27    return (substr(php_sapi_name(),0,3) == 'cgi' and
                    
28            isset($GLOBALS['HTTP_ENV_VARS']['GATEWAY_INTERFACE']) and
                    
242        // do reinit to purge PHP's static cache [43ms]
                    
243        if ( ($lcfile = FindLocalizedFile("LC_MESSAGES/phpwiki.php", 'missing_ok', 'reinit')) ) {
                    
244            include($lcfile);
                    
284    if (empty($script) or $script[0] != '/') {
                    
285        // Some places (e.g. Lycos) only supply a relative name in
                    
286        // SCRIPT_NAME, but give what we really want in SCRIPT_URL.
                    
389// Local Variables:
                    
390// mode: php
                    
391// tab-width: 8
                    
                
tsrm_virtual_cwd.h https://github.com/tstarling/hiphop-php.git | C Header | 339 lines
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16   |          Sascha Schumann <sascha@schumann.cx>                        |
                    
17   |          Pierre Joye <pierre@php.net>                                |
                    
18   +----------------------------------------------------------------------+
                    
134CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat);
                    
135# define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0)
                    
136# define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1)
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
131						</h2>
                    
132						<div class="personal-order-item-order-cost">
                    
133							<?=count($order['BASKET_ITEMS']);?>
                    
306						</h2>
                    
307						<div class="personal-order-item-order-cost">
                    
308							<?=count($order['BASKET_ITEMS']);?>
                    
393		$javascriptParams = array(
                    
394			"url" => CUtil::JSEscape($this->__component->GetPath().'/ajax.php'),
                    
395			"templateFolder" => CUtil::JSEscape($templateFolder),
                    
399		);
                    
400		$javascriptParams = CUtil::PhpToJSObject($javascriptParams);
                    
401		?>
                    
                
version.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
                    
12  <meta name="application-url" content="http://www.imagemagick.org"></meta>
                    
13  <meta name="generator" content="PHP"></meta>
                    
14  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, the, version, copyrights, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"></meta>
                    
91<div class="sub">
                    
92    <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
                    
93</div>
                    
148<div class="menu">
                    
149  <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a>
                    
150</div>
                    
                
survey.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 215 lines
                    
1<?php
                    
2/*
                    
46$Proceed = "Prosseguir";
                    
47$PleaseFillNumber = "Por favor, preencher valores numéricos para os pontos";
                    
48$PleaseFillAllPoints = "Por favor, preencher pontos de 1-5";
                    
137$DetailedReportByUserDetail = "Neste relatório, vc visualiza todas as respostas de um usuário";
                    
138$DetailedReportByQuestionDetail = "Neste relatório, vc visualiza os resultados questão por questão, com estatística básica e gráficos";
                    
139$ReminderResendToAllUsers = "Recordar todos os usuários do questionário. Se não ativar esta função, só os novos usuários receberão um email.";
                    
                
Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
                    
144		foreach ( $relevant_costs as &$cost ) {
                    
145			$cost = $this->maybe_replace_cost_with_free( $cost );
                    
146
                    
245	/**
                    
246	 * Returns a maximum cost in a list of costs. If an array of costs is not passed in, the array of costs is fetched
                    
247	 * via query.
                    
257	/**
                    
258	 * Returns a minimum cost in a list of costs. If an array of costs is not passed in, the array of costs is fetched
                    
259	 * via query.
                    
401
                    
402		$all_numeric_costs = array_filter( array_merge( $numeric_merging_cost_costs, $numeric_orignal_costs ) );
                    
403		$cost_min          = $cost_max = false;
                    
413		} else {
                    
414			$cost_min = empty( $all_numeric_costs ) ? '' : min( $all_numeric_costs );
                    
415		}
                    
                
README.md https://bitbucket.org/mkalkbrenner/homebrew-php.git | Markdown | 222 lines
                    
37- Homebrew Version: `brew -v`
                    
38- PHP Version in use: stock-apple, homebrew-php stable, homebrew-php devel, homebrew-php head, custom
                    
39- XCode Version: 4.4, 4.3, 4.0, 3 etc.
                    
131
                    
132If installing `php53` or `php54`, please note that all extensions installed with the included `pear` will be installed to the respective php's bin path. For example, supposing you installed `PHP_CodeSniffer` as follows:
                    
133
                    
135
                    
136It would be nice to be able to use the `phpcs` command via commandline, or other utilities. You will need to add the installed php's `bin` directory to your path. The following would be added to your `.bashrc` or `.bash_profile` when running the `php54` brew:
                    
137
                    
141
                    
142- Remember to use the proper php version in that export. So if you installed the `php53` formula, use `php53` instead of `php54` in the export.
                    
143- Updating your installed php will result in the binaries no longer existing within your path. In such cases, you will need to reinstall the pear extensions. Alternatives include installing `pear` outside of `homebrew-php` or using the `homebrew-php` version of your extension.
                    
158
                    
159PHP Extensions MUST be prefixed with `phpVERSION`. For example, instead of the `Solr` formula for PHP54 in `solr.rb`, we would have `Php54Solr` inside of `php54-solr.rb`. This is to remove any possible conflicts with mainline homebrew formulae.
                    
160
                    
                
Pie.class.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 680 lines
                    
1<?php
                    
2/*
                    
9
                    
10require_once dirname(__FILE__)."/Component.class.php";
                    
11 
                    
11 
                    
12/* <php4> */
                    
13
                    
18
                    
19/* </php4> */
                    
20 
                    
340				$middle = 360 - ($position + $angle / 2);
                    
341				$posX = $this->explode[$key] * cos($middle * M_PI / 180);
                    
342				$posY = $this->explode[$key] * sin($middle * M_PI / 180) * -1;
                    
394				$width + $side->left + $side->right,
                    
395				$height + $side->top + $side->bottom + $this->size + 1 /* bugs.php.net ! */
                    
396			);
                    
                
Liquid.php https://gitlab.com/Skull3x/ClearSky | PHP | 437 lines
                    
334
                    
335				$realCost = $this->calculateFlowCost($blockSide, $accumulatedCost + 1, $j);
                    
336
                    
379			}else{
                    
380				$this->flowCost[$j] = $this->calculateFlowCost($block, 1, $j);
                    
381			}
                    
383
                    
384		$minCost = $this->flowCost[0];
                    
385
                    
387			if($this->flowCost[$i] < $minCost){
                    
388				$minCost = $this->flowCost[$i];
                    
389			}
                    
392		for($i = 0; $i < 4; ++$i){
                    
393			$this->isOptimalFlowDirection[$i] = ($this->flowCost[$i] === $minCost);
                    
394		}
                    
                
migration_tables_core_327.php https://bitbucket.org/valmy/openx.git | PHP | 396 lines
                    
68		$this->aObjectMap['zones']['comments'] = array('fromTable'=>'zones', 'fromField'=>'comments');
                    
69		$this->aObjectMap['zones']['cost'] = array('fromTable'=>'zones', 'fromField'=>'cost');
                    
70		$this->aObjectMap['zones']['cost_type'] = array('fromTable'=>'zones', 'fromField'=>'cost_type');
                    
70		$this->aObjectMap['zones']['cost_type'] = array('fromTable'=>'zones', 'fromField'=>'cost_type');
                    
71		$this->aObjectMap['zones']['cost_variable_id'] = array('fromTable'=>'zones', 'fromField'=>'cost_variable_id');
                    
72		$this->aObjectMap['zones']['technology_cost'] = array('fromTable'=>'zones', 'fromField'=>'technology_cost');
                    
72		$this->aObjectMap['zones']['technology_cost'] = array('fromTable'=>'zones', 'fromField'=>'technology_cost');
                    
73		$this->aObjectMap['zones']['technology_cost_type'] = array('fromTable'=>'zones', 'fromField'=>'technology_cost_type');
                    
74		$this->aObjectMap['zones']['updated'] = array('fromTable'=>'zones', 'fromField'=>'updated');
                    
123	{
                    
124		return $this->beforeAddField('zones', 'cost');
                    
125	}
                    
128	{
                    
129		return $this->afterAddField('zones', 'cost');
                    
130	}
                    
                
klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access');
                    
36 *
                    
37 * PClasses are used in conjunction with KlarnaCalc to determine part payment costs.
                    
38 *
                    
101     *
                    
102     * @ignore Do not show in PHPDoc.
                    
103     * @var string
                    
109     *
                    
110     * @ignore Do not show in PHPDoc.
                    
111     * @var int
                    
117     *
                    
118     * @ignore Do not show in PHPDoc.
                    
119     * @var float
                    
125     *
                    
126     * @ignore Do not show in PHPDoc.
                    
127     * @var float
                    
                
README.md https://gitlab.com/Sondages.Pro/Jirafeau | Markdown | 275 lines
                    
52-  Get your web browser and go to you install location (e.g. ```http://your-web-site.org/jirafeau/```) and follow instructions
                    
53-  Some options are not configured from the minimal installation wizard, you may take a look at option documentation in ```lib/config.original.php``` and customize your ```lib/config.local.php```
                    
54
                    
56
                    
57If you don't want to go through the installation wizard, you can just copy ```config.original.php``` to ```config.local.php``` and customize it.
                    
58
                    
134
                    
135You can call the admin.php script from the command line (CLI) with the ```clean_expired``` or ```clean_async``` commands: ```sudo -u www-data php admin.php clean_expired```.
                    
136
                    
158For browsers who does not support HTML5 file API, the limitation come from PHP configuration.
                    
159You have to set [post_max_size](https://php.net/manual/en/ini.core.php#ini.post-max-size) and [upload_max_filesize](https://php.net/manual/en/ini.core.php#ini.upload-max-filesize) in your php configuration.
                    
160
                    
2746. Add a rewrite rule in your web server configuration to rename file.php to f.php to make old url work again
                    
2757. Go in you lib/config.local.php and lib/config.original.php to check new options and eventually change skin to 'courgette'
                    
276
                    
                
ReporteEgresoView.php https://bitbucket.org/raboit/sisfac.git | PHP | 286 lines
                    
1<?php
                    
2
                    
19                        $default_border = array(
                    
20                            'style' => PHPExcel_Style_Border::BORDER_THIN,
                    
21                            'color' => array('rgb'=>'000000')
                    
31                                                    'fill' => array(
                    
32                                'type' => PHPExcel_Style_Fill::FILL_SOLID,
                    
33                                'color' => array('rgb'=>'819FF7'),
                    
194                                 
                    
195                                 if($column->name=='centroCosto'){
                    
196                                    if($this->bandera!=$value){
                    
245				foreach($this->columns as $n=>$column)
                    
246					self::$objPHPExcel->getActiveSheet()->getColumnDimension($this->columnName($n+1))->setAutoSize(true);
                    
247			
                    
248			//create writer for saving
                    
249			$objWriter = PHPExcel_IOFactory::createWriter(self::$objPHPExcel, $this->exportType);
                    
250			if(!$this->stream)
                    
                
introduction.tex https://github.com/mut8/r_latex.git | LaTeX | 95 lines
                    
2%\introduction
                    
3%% \introduction[modified heading if necessary]https://www.n3tw0rk.org/search.php?search_id=newposts
                    
4
                    
4
                    
5%Litter decomposition controls nutrient recycling and the release of assimilated carbon. Therefore it is considered a key process in terrestric ecosystems. While controls over decomposition rates -litter chemistry, climate and decomposer comunities - are known and generally accepted, the nature of the chemical transformations involved still remains a black box [lit]. \cite{Prescott2010} emphasises that the amount and chemisty of the humified biomass sequested to soils after litter decomposition might be have a higher impact on carbon cycling than decomposition speed.
                    
6%ev. leachates as input of labile carbon to soils?
                    
                
Module.php https://bitbucket.org/buonaparte/zfalbum.git | PHP | 281 lines
                    
1<?php
                    
2
                    
58    {
                    
59        return include __DIR__.'/../../config/module.config.php';
                    
60    }
                    
165                    $service = new Bcrypt();
                    
166                    $service->setCost(10);
                    
167
                    
                
Clinic.php https://gitlab.com/jeamar1234/medicloud | PHP | 242 lines
                    
84                    DB::raw("
                    
85                            (3959 * acos( cos( radians({$lat}) ) *
                    
86                              cos( radians( lat ) )
                    
107                    DB::raw("
                    
108                            (3959 * acos( cos( radians({$lat}) ) *
                    
109                              cos( radians( lat ) )
                    
129                    DB::raw("*,
                    
130                            (3959 * acos( cos( radians({$lat}) ) *
                    
131                              cos( radians( lat ) )
                    
155                    DB::raw("*,
                    
156                            (3959 * acos( cos( radians({$lat}) ) *
                    
157                              cos( radians( lat ) )
                    
179                    DB::raw("*,
                    
180                            (3959 * acos( cos( radians({$lat}) ) *
                    
181                              cos( radians( lat ) )
                    
                
acp_user_reminder.php https://github.com/Lucky65/phpBB-Portal-XL-5.0-italian.git | PHP | 172 lines
                    
1<?php
                    
2/** 
                    
6* @package language
                    
7* @version $Id: acp_user_reminder.php 228 2009-05-21 10:09:57Z lefty74 $
                    
8* @copyright (c) 2008 lefty74
                    
8* @copyright (c) 2008 lefty74
                    
9* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
                    
10* @translated in Italian language by Roberto Restelli (dueerre@hotmail.com)
                    
10* @translated in Italian language by Roberto Restelli (dueerre@hotmail.com)
                    
11* @update translation in Italian ( Lucky65 di phpbb.it - http://www.portalxl.eu )
                    
12*
                    
13*/
                    
14if (!defined('IN_PHPBB'))
                    
15{
                    
50	'USER_REMINDER_ENABLE_EXPLAIN'					=> 'Abilita o disabilita i promemoria automatici. Ciascuna categoria può essere impostata su automatico / manuale attraverso i controlli nella sezionepiù sotto',
                    
51	'USER_REMINDER_BCC_EMAIL_ADDRESS'				=> 'Indirizzo e-mail nascosto',
                    
52	'USER_REMINDER_BCC_EMAIL_ADDRESS_EXPLAIN'		=> 'Inserisci un indirizzo e-mail per ricevere una copia nascosta di ogni sollecito. Lascia in bianco per disattivare.',	
                    
                
dashboard.js https://gitlab.com/nzqadri/bejeep | JavaScript | 442 lines
                    
107    var ajaxSettings = {
                    
108        URL: "/bejeep/admin/ajax/orders-get.php",
                    
109        method: "POST",
                    
157        rowHTML += '<i id="c' + orders[i].orderID + '" class="material-icons cart">shopping_cart</i>';
                    
158        rowHTML += '<div class="total-cost" id="tc' + orders[i].orderID + '">' + orders[i].totalCost + '</div>';
                    
159        rowHTML += '<div class="status" id="' + orders[i].orderID + '" onclick="statusWin(' + orders[i].orderID + ',' + '\'' + orders[i].status + '\'' + ')">' + orders[i].status + '</div>';
                    
182    var ajaxSettings = {
                    
183        URL: "/bejeep/admin/ajax/order-get.php",
                    
184        method: "POST",
                    
236    var ajaxSettings = {
                    
237        URL: "/bejeep/admin/ajax/order-update.php",
                    
238        method: "POST",
                    
254
                    
255                if (totalCostElem && isNumeric(ajResp.totalCost)) {
                    
256                    totalCostElem.innerHTML = ajResp.totalCost;
                    
                
collateral-form-common.php https://gitlab.com/eluar/infocus | PHP | 252 lines
                    
93    <div class="small-1 medium-1 columns">
                    
94          <img class="lets-do-this" src="<?php echo $thumb ?>?<?php echo rand(199,9999);?>" data-big="<?php echo $src ?>?<?php echo rand(199,9999);?>" data-big2x="<?php echo $src ?>" width="40" height="40" />
                    
95    </div>
                    
102      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
103        <input type="number" placeholder="Qty" id="item1<?php echo ($key + 3) ?>_number_1" class="form-control" autocomplete="off" min="0" max="999999999" step="1" data-hint="" name="qty_<?php echo $name ?>">
                    
104      </label>
                    
107      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
108        <textarea id="item1<?php echo $key ?>_textarea_1" placeholder="Notes" class="form-control" maxlength="10000" placeholder="" data-hint="" name="notes_<?php echo $name ?>"></textarea>
                    
109      </label>
                    
162        <?php foreach ($costCenters as $costCenter): ?>
                    
163          <option value="<?php echo $costCenter;?>"><?php echo $costCenter;?></option>
                    
164        <?php endforeach; ?>
                    
198        <label <?php echo ($key == 'state')? 'id="state_label"' : '' ?>>
                    
199            <?php echo ($key !== 'province') ? '*' : ''?><?php echo $value ?>
                    
200            <input type="text" id="item102_text_1" class="no-margin-bottom" maxlength="254" placeholder="" autocomplete="off" data-hint="" name="<?php echo $key ?>" required="">
                    
                
TargetCpaSimulationPoint.php https://gitlab.com/remyvianne/krowkaramel | PHP | 488 lines
                    
55    /**
                    
56     * Projected cost in micros.
                    
57     *
                    
95     *     @type int|string $cost_micros
                    
96     *           Projected cost in micros.
                    
97     *     @type int|string $impressions
                    
308     */
                    
309    public function getCostMicros()
                    
310    {
                    
310    {
                    
311        return isset($this->cost_micros) ? $this->cost_micros : 0;
                    
312    }
                    
313
                    
314    public function hasCostMicros()
                    
315    {
                    
                
ogniter_default_lang.php https://bitbucket.org/NeoArc/ogniter-language.git | PHP | 355 lines
                    
1<?php
                    
2
                    
271
                    
272$lang['title_server_statistics'] = 'Ogniter. Gráficos estatísticos, %server% (%domain%)';
                    
273$lang['description_server_statistics'] = 'Ogame, informação estatística, %server% - %domain%';
                    
287
                    
288$lang['discussions'] = 'Tópicos de discussão';
                    
289
                    
                
Compass.php https://github.com/vivid-planet/library.git | PHP | 511 lines
                    
1<?php
                    
2require_once dirname(__FILE__) . '/../ExtensionInterface.php';
                    
53        'sin',
                    
54        'cos',
                    
55        'tan',
                    
447
                    
448    public static function compassCos($number)
                    
449    {
                    
                
Transition.js https://bitbucket.org/vegansk/test_qooxdoo.git | JavaScript | 378 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
29     License:
                    
30       MIT: http://www.opensource.org/licenses/mit-license.php
                    
31
                    
70     License:
                    
71       BSD: http://www.opensource.org/licenses/bsd-license.php
                    
72
                    
222
                    
223      return ( -Math.cos(pos * Math.PI) / 2 ) + 0.5;
                    
224    },
                    
264
                    
265      var pos = ( (-Math.cos(pos * Math.PI) / 4) + 0.75) + Math.random() / 4;
                    
266      return pos > 1 ? 1 : pos;
                    
                
test.php https://github.com/md-tech/openemr.git | PHP | 422 lines
                    
1<?php
                    
2$debug=1;
                    
2$debug=1;
                    
3require_once("gacl_admin.inc.php");
                    
4
                    
146/*
                    
147//require_once('../Cache_Lite.php');
                    
148require_once('./profiler.inc');
                    
152    'caching' => true,
                    
153    'cacheDir' => '/tmp/phpgacl_cache',
                    
154    'lifeTime' => 100
                    
175/*
                    
176//Test multi-layer ACOs
                    
177$test = acl_query(array(21,19), 10);
                    
289
                    
290		$gacl_api->debug_text("Inserting ACL with ". count($rand_aco_ids) ." ACOs and ". count($rand_aro_ids) ." AROs - Allow: $allow");
                    
291		$gacl_api->add_acl($rand_aco_ids, $rand_aro_ids, NULL, $allow, 1);
                    
                
filing_costs.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 198 lines
                    
39        ?>
                    
40        <div class="finance_country <?php echo $status ?> custom_accordion" ref="filing_cost_country_<?php echo $invoice->id ?>"><?php echo $invoice->country ?></div>
                    
41
                    
96                            <input type="hidden" name="additional_fee_id[]" value="<?php echo $additional_fee->additional_fee_id ?>">
                    
97                            <?php echo $currency_sign ?><input title="<?php echo $additional_fee->additional_fee_description_by_fa ?>" name="additional_fee_corrected_by_pm[]" value="<?php echo $additional_fee_value ?>" type="text"/>
                    
98                        </div>
                    
116                        <?php foreach($invoice->invoices as $file) { ?>
                    
117                            <a href="<?php echo base_url() ?>cases/download_file/<?php echo $file->file_id ?>"><?php echo $file->filename ?></a>
                    
118                        <?php } ?>
                    
169                    <div class="finance_input float_left">
                    
170                        <?php echo $currency_sign ?><input name="estimated_by_pm_additional_fee" value="<?php echo $estimated_by_pm_additional_fee ?>" readonly="true" type="text"/>
                    
171                    </div>
                    
178                    <div class="finance_input float_left">
                    
179                        <?php echo $currency_sign ?><input readonly="true" value="<?php echo $estimate_summ ?>" type="text"/>
                    
180                    </div>
                    
                
exports.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 141 lines
                    
1<?php
                    
2/* Copyright (C) 2012	Regis Houssin	<regis.houssin@capnetworks.com>
                    
57		'FormatedImport' => 'Asistente de importación',
                    
58		'FormatedImportDesc1' => 'Esta área permite realizar importaciones personalizadas de datos mediante un ayudante que evita tener conocimientos técnicos de Speedealing.',
                    
59		'FormatedImportDesc2' => 'El primer paso consiste en elegir el tipo de dato que debe importarse, luego el archivo y a continuación elegir los campos que desea importar.',
                    
60		'FormatedExport' => 'Asistente de exportación',
                    
61		'FormatedExportDesc1' => 'Esta área permite realizar exportaciones personalizadas de los datos mediante un ayudante que evita tener conocimientos técnicos de Speedealing.',
                    
62		'FormatedExportDesc2' => 'El primer paso consiste en elegir uno de los conjuntos de datos predefinidos, a continuación elegir los campos que quiere exportar al archivo y en que orden.',
                    
                
password.c https://gitlab.com/envieidoc/advancedtomato2 | C | 460 lines
                    
42
                    
43	REGISTER_LONG_CONSTANT("PASSWORD_BCRYPT_DEFAULT_COST", PHP_PASSWORD_BCRYPT_COST, CONST_CS | CONST_PERSISTENT);
                    
44
                    
199			{
                    
200				long cost = PHP_PASSWORD_BCRYPT_COST;
                    
201				sscanf(hash, "$2y$%ld$", &cost);
                    
243			{
                    
244				long new_cost = PHP_PASSWORD_BCRYPT_COST, cost = 0;
                    
245				
                    
323		{
                    
324			long cost = PHP_PASSWORD_BCRYPT_COST;
                    
325	
                    
338			if (cost < 4 || cost > 31) {
                    
339				php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid bcrypt cost parameter specified: %ld", cost);
                    
340				RETURN_NULL();
                    
                
CvsTask.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 540 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: CvsTask.php 3076 2006-12-18 08:52:12Z fabien $
                    
4 *
                    
21
                    
22require_once 'phing/TaskPhing.php';
                    
23include_once 'phing/tasks/system/ExecTask.php';
                    
23include_once 'phing/tasks/system/ExecTask.php';
                    
24include_once 'phing/types/Commandline.php';
                    
25
                    
33 * @author Hans Lellelid <hans@xmpl.org> (Phing)
                    
34 * @author costin@dnt.ro (Ant)
                    
35 * @author stefano@apache.org (Ant)
                    
                
Country.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 305 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: Country.php 48519 2012-02-03 23:18:52Z btowles $
                    
4 *
                    
26 * @subpackage  Validator
                    
27 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
28 * @link        www.doctrine-project.org
                    
71        'ca' =>    'Canada',
                    
72        'cc' =>    'Cocos Islands',
                    
73        'cd' =>    'Congo, The Democratic Republic of the',
                    
82        'co' =>    'Colombia',
                    
83        'cr' =>    'Costa Rica',
                    
84        'cs' =>    'Czechoslovakia',
                    
239        'sz' =>    'Swaziland',
                    
240        'tc' =>    'Turks and Caicos Islands',
                    
241        'td' =>    'Chad',
                    
                
jquery.blockUI.js https://bitbucket.org/berlotto/asciiblog.git | JavaScript | 398 lines
                    
8 * Dual licensed under the MIT and GPL licenses:
                    
9 * http://www.opensource.org/licenses/mit-license.php
                    
10 * http://www.gnu.org/licenses/gpl.html
                    
58
                    
59$.blockUI.version = 2.16; // 2nd generation blocking at no extra cost!
                    
60
                    
                
index.php https://github.com/sebbacon/theyworkforyou.git | PHP | 251 lines
                    
2
                    
3include_once '../../includes/easyparliament/init.php';
                    
4include_once '../../includes/postcode.inc';
                    
63				} else {
                    
64					include_once 'api_' . $method . '.php';
                    
65					api_call_user_func_or_error('api_' . $method, null, 'API call not yet functional', 'api');
                    
92	$PAGE->stripe_start();
                    
93	include_once 'api_' . $method . '.php';
                    
94	print '<p align="center"><strong>http://www.theyworkforyou.com/api/' . $method . '</strong></p>';
                    
112<label for="output_xml">XML</label>
                    
113<input id="output_php" type="radio" name="output" value="php"<? if (get_http_var('output')=='php') print ' checked'?>>
                    
114<label for="output_php">Serialised PHP</label>
                    
177<li><strong>xml</strong>. XML. The root element is twfy.</li>
                    
178<li><strong>php</strong>. Serialized PHP, that can be turned back into useful information with the unserialize() command. Quite useful in Python as well, using <a href="http://hurring.com/code/python/serialize/">PHPUnserialize</a>.</li>
                    
179<li><strong>js</strong>. A JavaScript object. You can provide a callback
                    
                
Font.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 472 lines
                    
1<?php
                    
2
                    
310                    $y = $box[$i * 2 + 1];
                    
311                    $box[$i * 2] = cos($angle) * $x - sin($angle) * $y;
                    
312                    $box[$i * 2 + 1] = sin($angle) * $x + cos($angle) * $y;
                    
                
Google_FreebaseService.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 388 lines
                    
1<?php
                    
2/*
                    
115    $this->image = new Google_ImageServiceResource($this, $this->serviceName, 'image', json_decode('{"httpMethod": "GET", "path": "image{/id*}", "supportsMediaDownload": true, "id": "freebase.image", "parameters": {"fallbackid": {"type": "string", "default": "/freebase/no_image_png", "location": "query"}, "id": {"type": "string", "required": true, "repeated": true, "location": "path"}, "maxheight": {"type": "integer", "format": "uint32", "maximum": "4096", "location": "query"}, "maxwidth": {"type": "integer", "format": "uint32", "maximum": "4096", "location": "query"}, "mode": {"type": "string", "default": "fit", "enum": ["fill", "fillcrop", "fillcropmid", "fit"], "location": "query"}, "pad": {"type": "boolean", "default": "false", "location": "query"}}}', true));
                    
116    $this->mqlread = new Google_MqlreadServiceResource($this, $this->serviceName, 'mqlread', json_decode('{"httpMethod": "GET", "path": "mqlread", "supportsMediaDownload": true, "id": "freebase.mqlread", "parameters": {"as_of_time": {"type": "string", "location": "query"}, "callback": {"type": "string", "location": "query"}, "cost": {"type": "boolean", "default": "false", "location": "query"}, "cursor": {"type": "string", "location": "query"}, "dateline": {"type": "string", "location": "query"}, "html_escape": {"type": "boolean", "default": "true", "location": "query"}, "indent": {"type": "integer", "default": "0", "format": "uint32", "maximum": "10", "location": "query"}, "lang": {"type": "string", "default": "/lang/en", "location": "query"}, "query": {"type": "string", "required": true, "location": "query"}, "uniqueness_failure": {"type": "string", "default": "hard", "enum": ["hard", "soft"], "location": "query"}}}', true));
                    
117    $this->mqlwrite = new Google_MqlwriteServiceResource($this, $this->serviceName, 'mqlwrite', json_decode('{"httpMethod": "GET", "path": "mqlwrite", "scopes": ["https://www.googleapis.com/auth/freebase"], "supportsMediaDownload": true, "id": "freebase.mqlwrite", "parameters": {"callback": {"type": "string", "location": "query"}, "dateline": {"type": "string", "location": "query"}, "indent": {"type": "integer", "default": "0", "format": "uint32", "maximum": "10", "location": "query"}, "query": {"type": "string", "required": true, "location": "query"}, "use_permission_of": {"type": "string", "location": "query"}}}', true));
                    
                
spec.php https://github.com/vaughnpaul/NOS.git | PHP | 255 lines
                    
1<?php
                    
2/*
                    
58  range.  For instance, you might want an order than weighs more than 0
                    
59  and less than or equal to 3 to cost 5.50 to ship to a certain zone.
                    
60  This would be defined by this:  3:5.5
                    
89  difficult to design precise shipping tables.  If you want to, you
                    
90  can hack the shipping.php file to get rid of the rounding.
                    
91
                    
161        $shipping_cost = -1;
                    
162        $zones_cost = constant('MODULE_SHIPPING_SPEC_COST_' . $dest_zone);
                    
163
                    
192
                    
193         $shipping_cost = ($shipping_cost * $shipping_num_boxes) + $ic + constant('MODULE_SHIPPING_SPEC_HANDLING_' . $dest_zone);
                    
194
                    
201                                                     'title' => $shipping_method,
                    
202                                                     'cost' => $shipping_cost)));
                    
203
                    
                
ClientesController.php https://gitlab.com/fabiorf/fsipedidos | PHP | 320 lines
                    
1<?php
                    
2 
                    
2 
                    
3// namespace de localizacao clientesController.php
                    
4namespace Cliente\Controller;
                    
280                 $oPessoa->getEmails()->delete();
                    
281                 $oPessoa->getEnderecos()->delete();
                    
282                 $oPessoa->getTelefones()->delete();
                    
                
TestData.php https://bitbucket.org/valmy/openx.git | PHP | 301 lines
                    
34require_once MAX_PATH . '/lib/max/Dal/Common.php';
                    
35require_once MAX_PATH . '/lib/OA/Dal/DataGenerator.php';
                    
36
                    
183//        $doZones->cost    = '';                            // unknown(12)
                    
184//        $doZones->cost_type    = '';                       // int(6)
                    
185//        $doZones->cost_variable_id    = '';                // string(255)
                    
244        $doBanners->htmltemplate    = "<script type='text/javascript'><!--//<![CDATA[
                    
245   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
246   var m3_r = Math.floor(Math.random()*99999999999);
                    
257   document.write (\"'><\\/scr\"+\"ipt>\");
                    
258//]]>--></script><noscript><a href='http://ads.openx.org/delivery/ck.php?n=abc986b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.openx.org/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=abc986b1' border='0' alt='' /></a></noscript>";
                    
259
                    
260        $doBanners->htmlcache    = "<script type='text/javascript'><!--//<![CDATA[
                    
261   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
262   var m3_r = Math.floor(Math.random()*99999999999);
                    
                
zend_virtual_cwd.h git://github.com/php/php-src.git | C Header | 383 lines
                    
131#ifdef ZEND_WIN32
                    
132# define php_sys_stat_ex php_win32_ioutil_stat_ex
                    
133# define php_sys_stat php_win32_ioutil_stat
                    
133# define php_sys_stat php_win32_ioutil_stat
                    
134# define php_sys_lstat php_win32_ioutil_lstat
                    
135# define php_sys_fstat php_win32_ioutil_fstat
                    
135# define php_sys_fstat php_win32_ioutil_fstat
                    
136# define php_sys_readlink php_win32_ioutil_readlink
                    
137# define php_sys_symlink php_win32_ioutil_symlink
                    
137# define php_sys_symlink php_win32_ioutil_symlink
                    
138# define php_sys_link php_win32_ioutil_link
                    
139#else
                    
139#else
                    
140# define php_sys_stat stat
                    
141# define php_sys_lstat lstat
                    
                
top-Gerona.md https://gitlab.com/potray/top-github-users-data | Markdown | 64 lines
                    
4
                    
5  Cuenta las contribuciones a los repos públicos (issues, pull requests y commits de repos públicos) en GitHub.com desde  **Sat, 15 Feb 2014 10:24:11 GMT** hasta **Sun, 15 Feb 2015 10:24:11 GMT**.
                    
6
                    
29| 16 | [frontday](https://github.com/frontday) | 28 | 0 | JavaScript | Girona (Catalunya, Spain) | <img src='https://avatars0.githubusercontent.com/u/2950939?v=3&s=64' width='64' height='64' title='Daniel Fornells'> |
                    
30| 17 | [mgarcia96](https://github.com/mgarcia96) | 28 | 3 | PHP | Figueres, Girona | <img src='https://avatars2.githubusercontent.com/u/6561770?v=3&s=64' width='64' height='64' title='Marc Garcia Torrent'> |
                    
31| 18 | [jspinola](https://github.com/jspinola) | 27 | 0 |  | Girona | <img src='https://avatars0.githubusercontent.com/u/4253665?v=3&s=64' width='64' height='64' title='Jesús Spínola'> |
                    
32| 19 | [AbelToy](https://github.com/AbelToy) | 22 | 8 | ActionScript | Girona | <img src='https://avatars1.githubusercontent.com/u/147130?v=3&s=64' width='64' height='64' title='Abel Toy'> |
                    
33| 20 | [sangar82](https://github.com/sangar82) | 21 | 58 | PHP | Girona | <img src='https://avatars2.githubusercontent.com/u/524030?v=3&s=64' width='64' height='64' title='Iván Sanchez'> |
                    
34| 21 | [marcmascort](https://github.com/marcmascort) | 20 | 0 |  | Girona | <img src='https://avatars1.githubusercontent.com/u/3595718?v=3&s=64' width='64' height='64' title='Marc Mascort Bou'> |
                    
40| 27 | [jcampana](https://github.com/jcampana) | 10 | 0 |  | Girona | <img src='https://avatars0.githubusercontent.com/u/1982571?v=3&s=64' width='64' height='64' title='Javier Campaña Pulido'> |
                    
41| 28 | [xus](https://github.com/xus) | 9 | 3 | PHP | Girona | <img src='https://avatars1.githubusercontent.com/u/588312?v=3&s=64' width='64' height='64' title='xus'> |
                    
42| 29 | [ewiggin](https://github.com/ewiggin) | 8 | 0 | JavaScript and CSS | Girona | <img src='https://avatars2.githubusercontent.com/u/657517?v=3&s=64' width='64' height='64' title='Mario Martinez'> |
                    
55| 42 | [victormartingarcia](https://github.com/victormartingarcia) | 2 | 4 | C# | Girona, Spain | <img src='https://avatars1.githubusercontent.com/u/659832?v=3&s=64' width='64' height='64' title='Victor'> |
                    
56| 43 | [albertsanchez](https://github.com/albertsanchez) | 2 | 0 | PHP | Girona | <img src='https://avatars2.githubusercontent.com/u/7221778?v=3&s=64' width='64' height='64' title='Albert Sánchez'> |
                    
57| 44 | [elmeunick9](https://github.com/elmeunick9) | 2 | 0 | C++ | Girona, Catalunya | <img src='https://avatars1.githubusercontent.com/u/4674207?v=3&s=64' width='64' height='64' title='Robert Planas'> |
                    
                
compra-view.php https://gitlab.com/D-apos-software/Alcesac | PHP | 367 lines
                    
6
                    
7<?php
                    
8date_default_timezone_set('America/Costa_Rica');
                    
71				<div class="col-sm-3">
                    
72					<a href="index.php?view=cancelar_compra" class="btn btn-danger btn-labeled btn-block"><b>
                    
73							<i class="icon-cancel-circle2"></i>
                    
117					                        <?php foreach ($proveedores as $proveedor) : ?>
                    
118					                          <option value="<?php echo $proveedor->id; ?>"><?php echo $proveedor->nombre; ?></option>
                    
119					                        <?php endforeach; ?>
                    
141									<?php foreach ($tipo_comprobantes as $tipo_comprobante) : ?>
                    
142										<option value="<?php echo $tipo_comprobante->estado ?>"><?php echo $tipo_comprobante->nombre; ?></option>
                    
143									<?php endforeach; ?>
                    
286						?>
                    
287							<?php foreach ($productos as $producto) : ?>
                    
288								<?php $entrada_producto = 0; ?>
                    
                
ClientInvitationController.php https://gitlab.com/haroldv22/tupadrino | PHP | 287 lines
                    
1<?php
                    
2
                    
16use yii\web\UploadedFile;   
                    
17use moonland\phpexcel\Excel;
                    
18
                    
75            
                    
76            $excel          = new Excel();       // Phpexcel                     
                    
77            $errorEmail     = '';
                    
158                if (!empty($errorEmail)){
                    
159                    \Yii::$app->session->setFlash('info', 'Estos correos electronicos ya se encuentran registrados en el sistema: <br /><strong>'.$errorEmail.'</strong> Por lo tanto no se les envio una invitacion');                
                    
160                }else{
                    
                
geographic.hpp https://github.com/VoltDB/voltdb.git | C++ Header | 458 lines
                    
51    calc_t const N = c1 / math::sqrt(c1 - e_sqr * math::sqr(sin_lat));
                    
52    calc_t const N_cos_lat = N * cos(lat);
                    
53
                    
53
                    
54    set<0>(res, N_cos_lat * cos(lon));
                    
55    set<1>(res, N_cos_lat * sin(lon));
                    
72    calc_t const sin_lon = sin(lon);
                    
73    calc_t const cos_lon = cos(lon);
                    
74    calc_t const sin_lat = sin(lat);
                    
74    calc_t const sin_lat = sin(lat);
                    
75    calc_t const cos_lat = cos(lat);
                    
76
                    
293    coord_t cos_a2ni = dot_product(a2, neg_id);
                    
294    coord_t grni = math::detail::greatest(cos_a1ni, cos_a2ni);
                    
295
                    
                
resource.php https://github.com/henriquecrang/e-UNI.git | PHP | 139 lines
                    
1<?PHP // $Id$ 
                    
2      // resource.php - created with Moodle 1.9.5+ (Build: 20091007) (2007101553)
                    
19$string['configdefaulturl'] = 'Este valor é usado para completar o formulário da URL automaticamente quando o recurso é baseado em endereço web.';
                    
20$string['configfilterexternalpages'] = 'Se esta opção estiver ativada, todos os recursos externos como páginas web e arquivos html carregados no servidor serão processados pelos filtros do site, como os links automáticos do glossário. Isto pode reduzir a velocidade de visualização das páginas do curso - use esta opção apenas nos casos em que for realmente necessário.';
                    
21$string['configframesize'] = 'Quando uma página web ou um arquivo é visualizado em um frame, este valor é o tamanho, em pixels, do frame que contém a navegação (top frame).';
                    
126$string['serverurl'] = 'URL do servidor  ($a->wwwroot)';
                    
127$string['showcourseblocks'] = 'Mostrar os blocos do curso';
                    
128$string['skipsubmenus'] = 'Saltar páginas de sub-menu';
                    
                
user__agents_8php.html https://github.com/kobkob/ta.git | HTML | 156 lines
                    
85</pre></div>
                    
86<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00050">50</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
87
                    
102
                    
103<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00073">73</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
104
                    
119
                    
120<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00013">13</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
121
                    
143                                        <span class="stringliteral">'infoseek'</span>                      =&gt; <span class="stringliteral">'InfoSeek Robot 1.0'</span>,
                    
144                                        <span class="stringliteral">'lycos'</span>                         =&gt; <span class="stringliteral">'Lycos'</span>
                    
145                                )
                    
146</pre></div>
                    
147<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00163">163</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
148
                    
                
class-wc-shipping-legacy-flat-rate.php https://gitlab.com/hunt9310/ras | PHP | 379 lines
                    
179			$shipping_class_term = get_term_by( 'slug', $shipping_class, 'product_shipping_class' );
                    
180			$class_cost_string   = $shipping_class_term && $shipping_class_term->term_id ? $this->get_option( 'class_cost_' . $shipping_class_term->term_id, $this->get_option( 'class_cost_' . $shipping_class, '' ) ) : $this->get_option( 'no_class_cost', '' );
                    
181
                    
194			} else {
                    
195				$highest_class_cost = $class_cost > $highest_class_cost ? $class_cost : $highest_class_cost;
                    
196			}
                    
360						foreach ( $items as $item_id => $values ) {
                    
361							$cost = $this->calc_percentage_adjustment( $cost, $cost_percent, $cost_operator, $values['line_total'] );
                    
362						}
                    
367						if ( $values['data']->needs_shipping() ) {
                    
368							$cost = $this->calc_percentage_adjustment( $cost, $cost_percent, $cost_operator, $values['line_total'] );
                    
369						}
                    
372				case  'order' :
                    
373					$cost = $this->calc_percentage_adjustment( $cost, $cost_percent, $cost_operator, $package['contents_cost'] );
                    
374				break;
                    
                
nd.php https://github.com/FabienD/symfony.git | PHP | 330 lines
                    
1<?php
                    
2
                    
132        'en_SZ' => 'isi-Ngisi (Swaziland)',
                    
133        'en_TC' => 'isi-Ngisi (Turks and Caicos Islands)',
                    
134        'en_TK' => 'isi-Ngisi (Thokelawu)',
                    
                
Createdat.php https://bitbucket.org/sevenly/magento-ce.git | PHP | 260 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
126                        $adapter->getIfNullSql('o.base_shipping_invoiced', 0),
                    
127                        $adapter->getIfNullSql('o.base_total_invoiced_cost', 0),
                    
128                        $adapter->getIfNullSql('o.base_to_global_rate', 0)
                    
                
countries.php https://gitlab.com/campus-academy/krowkaramel | PHP | 266 lines
                    
1<?php
                    
2/**
                    
64	'CX' => __( 'Christmas Island', 'woocommerce' ),
                    
65	'CC' => __( 'Cocos (Keeling) Islands', 'woocommerce' ),
                    
66	'CO' => __( 'Colombia', 'woocommerce' ),
                    
70	'CK' => __( 'Cook Islands', 'woocommerce' ),
                    
71	'CR' => __( 'Costa Rica', 'woocommerce' ),
                    
72	'HR' => __( 'Croatia', 'woocommerce' ),
                    
243	'TM' => __( 'Turkmenistan', 'woocommerce' ),
                    
244	'TC' => __( 'Turks and Caicos Islands', 'woocommerce' ),
                    
245	'TV' => __( 'Tuvalu', 'woocommerce' ),
                    
                
Address.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 137 lines
                    
1<?php
                    
2
                    
39    protected static $country = array(
                    
40        'Afghanistan', 'Afrique du sud', 'Albanie', 'Algérie', 'Allemagne', 'Andorre', 'Angola', 'Anguilla', 'Antarctique', 'Antigua et Barbuda', 'Antilles néerlandaises', 'Arabie saoudite', 'Argentine', 'Arménie', 'Aruba', 'Australie', 'Autriche', 'Azerbaïdjan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Belgique', 'Belize', 'Benin', 'Bermudes (Les)', 'Bhoutan', 'Biélorussie', 'Bolivie', 'Bosnie-Herzégovine', 'Botswana', 'Bouvet (Îles)', 'Brunei', 'Brésil', 'Bulgarie', 'Burkina Faso', 'Burundi', 'Cambodge', 'Cameroun', 'Canada', 'Cap Vert', 'Cayman (Îles)', 'Chili', 'Chine (Rép. pop.)', 'Christmas (Île)', 'Chypre', 'Cocos (Îles)', 'Colombie', 'Comores', 'Cook (Îles)', 'Corée du Nord', 'Corée, Sud', 'Costa Rica', 'Croatie', 'Cuba', 'Côte d\'Ivoire', 'Danemark', 'Djibouti', 'Dominique', 'Égypte', 'El Salvador', 'Émirats arabes unis', 'Équateur', 'Érythrée', 'Espagne', 'Estonie', 'États-Unis', 'Ethiopie', 'Falkland (Île)', 'Fidji (République des)', 'Finlande', 'France', 'Féroé (Îles)', 'Gabon',
                    
41        'Gambie', 'Ghana', 'Gibraltar', 'Grenade', 'Groenland', 'Grèce', 'Guadeloupe', 'Guam', 'Guatemala', 'Guinée', 'Guinée Equatoriale', 'Guinée-Bissau', 'Guyane', 'Guyane française', 'Géorgie', 'Géorgie du Sud et Sandwich du Sud (Îles)', 'Haïti', 'Heard et McDonald (Îles)', 'Honduras', 'Hong Kong', 'Hongrie', 'Îles Mineures Éloignées des États-Unis', 'Inde', 'Indonésie', 'Irak', 'Iran', 'Irlande', 'Islande', 'Israël', 'Italie', 'Jamaïque', 'Japon', 'Jordanie', 'Kazakhstan', 'Kenya', 'Kirghizistan', 'Kiribati', 'Koweit', 'La Barbad', 'Laos', 'Lesotho', 'Lettonie', 'Liban', 'Libye', 'Libéria', 'Liechtenstein', 'Lithuanie', 'Luxembourg', 'Macau', 'Macédoine', 'Madagascar', 'Malaisie', 'Malawi', 'Maldives (Îles)', 'Mali', 'Malte', 'Mariannes du Nord (Îles)', 'Maroc', 'Marshall (Îles)', 'Martinique', 'Maurice', 'Mauritanie', 'Mayotte', 'Mexique', 'Micronésie (États fédérés de)', 'Moldavie', 'Monaco', 'Mongolie', 'Montserrat', 'Mozambique', 'Myanmar', 'Namibie', 'Nauru', 'Nepal',
                    
                
cakephp-coding-conventions.rst https://github.com/markstory/cakephp-docs.git | ReStructuredText | 332 lines
                    
145
                    
146*  `@access <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.access.pkg.html>`_
                    
147*  `@author <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.author.pkg.html>`_
                    
149*  `@deprecated <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.deprecated.pkg.html>`_
                    
150*  `@example <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.example.pkg.html>`_
                    
151*  `@ignore <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.ignore.pkg.html>`_
                    
152*  `@internal <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.internal.pkg.html>`_
                    
153*  `@link <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.link.pkg.html>`_
                    
154*  `@see <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.see.pkg.html>`_
                    
154*  `@see <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.see.pkg.html>`_
                    
155*  `@since <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.since.pkg.html>`_
                    
156*  `@tutorial <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.tutorial.pkg.html>`_
                    
156*  `@tutorial <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.tutorial.pkg.html>`_
                    
157*  `@version <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.version.pkg.html>`_
                    
158
                    
                
BadBotBlocker.php https://gitlab.com/ebrjose/comcebu | PHP | 453 lines
                    
1<?php
                    
2namespace AIOSEO\Plugin\Common\Tools;
                    
76		'CopyRightCheck',
                    
77		'cosmos',
                    
78		'Crescent',
                    
136		'panscient.com',
                    
137		'PHP/5.{',
                    
138		'ProPowerBot/2.14',
                    
                
shopping_cart_page.php https://github.com/evadne/wp-e-commerce.git | PHP | 351 lines
                    
22		<tr class="product_row">
                    
23			<td class="firstcol"><img src='<?php echo wpsc_cart_item_image(48,48); ?>' alt='<?php echo wpsc_cart_item_name(); ?>' title='<?php echo wpsc_cart_item_name(); ?>' /></td>
                    
24			<td class="firstcol">
                    
119							<?php if(wpsc_have_morethanone_shipping_methods_and_quotes()): ?>
                    
120								<input type='radio' id='<?php echo wpsc_shipping_quote_html_id(); ?>' <?php echo wpsc_shipping_quote_selected_state(); ?>  onclick='switchmethod("<?php echo wpsc_shipping_quote_name(); ?>", "<?php echo wpsc_shipping_method_internal_name(); ?>")' value='<?php echo wpsc_shipping_quote_value(true); ?>' name='shipping_method' />
                    
121							<?php else: ?>
                    
121							<?php else: ?>
                    
122								<input <?php echo wpsc_shipping_quote_selected_state(); ?> disabled='disabled' type='radio' id='<?php echo wpsc_shipping_quote_html_id(); ?>'  value='<?php echo wpsc_shipping_quote_value(true); ?>' name='shipping_method' />
                    
123									<?php wpsc_update_shipping_single_method(); ?>
                    
290							<?php if(wpsc_gateway_internal_name() == 'noca'){ ?>
                    
291								<label><input type="radio" id='noca_gateway' value="<?php echo wpsc_gateway_internal_name();?>" <?php echo wpsc_gateway_is_checked(); ?> name="custom_gateway" class="custom_gateway"/><?php echo wpsc_gateway_name();?></label>
                    
292							<?php }else{ ?>
                    
292							<?php }else{ ?>
                    
293								<label><input type="radio" value="<?php echo wpsc_gateway_internal_name();?>" <?php echo wpsc_gateway_is_checked(); ?> name="custom_gateway" class="custom_gateway"/><?php echo wpsc_gateway_name();?></label>
                    
294							<?php } ?>
                    
                
image.php https://github.com/patadejaguar/S.A.F.E.-Open-Source-Microfinance-Suite.git | PHP | 616 lines
                    
1<?php
                    
2
                    
4
                    
5	Copyright (c) 2009-2017 F3::Factory/Bong Cosca, All rights reserved.
                    
6
                    
480		$format=$args?array_shift($args):'png';
                    
481		if (PHP_SAPI!='cli') {
                    
482			header('Content-Type: image/'.$format);
                    
                
passwordLibClass.php https://gitlab.com/Raymon/QualityCaps_PHP | PHP | 354 lines
                    
6 * 
                    
7 * See: http://php.net/password_hash and http://php.net/password_verify
                    
8 * 
                    
71    /**
                    
72     * Setting for PHP Crypt function, defines processing cost
                    
73     * 
                    
115        $startTime  = microtime(TRUE);
                    
116        if (isset($options['cost'])) $this->setCost($options['cost']);
                    
117        $salt       = $this->cryptSalt(@$options['salt']);
                    
330            'options' => array(
                    
331                'cost' => $cost
                    
332            ),
                    
347        $this->setAlgorithm($algo);
                    
348        if (isset($options['cost'])) $this->setCost($options['cost']);
                    
349        
                    
                
ui_admin.php https://github.com/ushahidi/Ushahidi-Localizations.git | PHP | 319 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2// DO NOT EDIT
                    
45	'blocks' => 'Bloquejos',
                    
46	'body' => 'Cos',
                    
47	'cancel' => 'Cancel.lar',
                    
96	'error_geocoding' => 'Error en geocoding! error HTTP',
                    
97	'error_imap' => 'La llibreria IMAP PHP no està instal.lada',
                    
98	'error_msg' => 'Error',
                    
                
Tool.php https://github.com/jorgelustosa/pfsense-packages.git | PHP | 291 lines
                    
1<?php
                    
2
                    
7 *
                    
8 * PHP versions 4 and 5
                    
9 *
                    
26 * @version    CVS: $Id$
                    
27 * @link       http://pear.php.net/package/Image_Graph
                    
28 */
                    
40 * @version    Release: @package_version@
                    
41 * @link       http://pear.php.net/package/Image_Graph
                    
42 */
                    
131    {
                    
132        $cos = cos(deg2rad($angle));
                    
133        $sin = sin(deg2rad($angle));
                    
135        $yr= $y - $yc;
                    
136        $x1= $xc + $cos * $xr - $sin * $yr;
                    
137        $y1= $yc + $sin * $xr + $cos * $yr;
                    
                
level_search.blade.php https://gitlab.com/ehubnepal/educationhubnepal | PHP | 160 lines
                    
1<?php 
                    
2	/*foreach($res as $r):
                    
62                                                        Academic Year - <span>{{$program->academic_year}}</span>,
                    
63                                                        Cost Range - <span>
                    
64                                                                @if(!empty($program->cost_range))
                    
64                                                                @if(!empty($program->cost_range))
                    
65                                                                {{$program->cost_range}}
                    
66                                                                @else
                    
110                                                                <dd>{{$program->academic_year}}</dd>
                    
111                                                                <dt>Cost Range:</dt>
                    
112                                                                @if(!empty($program->cost_range))
                    
112                                                                @if(!empty($program->cost_range))
                    
113                                                                <dd>{{$program->cost_range}}</dd>
                    
114                                                                @else
                    
                
detail.inc.php https://github.com/drietsch/newcms.git | PHP | 110 lines
                    
1<?php
                    
2
                    
64$lang["Step"]["ChooseDesign"]["content"] = ""; 
                    
65$lang["Step"]["ChooseDesign"]["description"] = "Please choose one of the available extensions here.<br /><br />The extensions displayed may be used without cost and may be altered to meet your demands.<br /><br />You may repeat this procedure at any time to add further extensions.<br /><br />Select \\\"preview\\\" to have an extension enlarged.<br /><br />The webEdition Team will continue to publish further extensions in the future. Just open the First Steps Wizard again and be surprised.<br /><br />Templates and documents will be installed during the installation, on which the selected extension is based<br /><br />You may create accessible websites that can be read by screenreaders and handhelds."; 
                    
66$lang["Step"]["ChooseDesign"]["no_import"] = "You have not selected an extension."; 
                    
                
members.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 224 lines
                    
1<?php
                    
2/* Copyright (C) 2012	Regis Houssin	<regis.houssin@capnetworks.com>
                    
32		'ErrorMemberTypeNotDefined' => 'No se ha indicado el tipo de miembro',
                    
33		'ListOfPublicMembers' => 'Lista de miembros públicos',
                    
34		'ListOfValidatedPublicMembers' => 'Lista de miembros públicos validados',
                    
160		'DescADHERENT_MAIL_RESIL' => 'E-mail de baja',
                    
161		'DescADHERENT_MAIL_FROM' => 'E-mail emisor para los e-mails automáticos',
                    
162		'DescADHERENT_ETIQUETTE_TYPE' => 'Formato páginas etiquetas',
                    
192		'NoValidatedMemberYet' => 'Ningún miembro validado encontrado',
                    
193		'MembersByCountryDesc' => 'Esta pantalla presenta una estadística del número de miembros por países. Sin embargo, el gráfico utiliza el servicio en línea  de gráficos de Google y sólo es operativo cuando se encuentra disponible una conexión a Internet.',
                    
194		'MembersByStateDesc' => 'Esta pantalla presenta una estadística del número de miembros por departamentos/provincias/regiones',
                    
214		'Entreprises' => 'Empresas',
                    
215		'DOLIBARRFOUNDATION_PAYMENT_FORM' => 'Para realizar el pago de su cotización por transferencia bancaria, visite la página <a target="_blank" href="http://wiki.speedealing.org/index.php/Subscribirse#Para_una_adhesi.C3.B3n_por_transferencia">http://wiki.speedealing.org/index.php/Subscribirse</a>.<br>Para pagar con tarjeta de crédito o PayPal, haga clic en el botón en la parte inferior de esta página.<br><br>',
                    
216		'ErrorBadValueForDate' => 'Erreur : La date de fin d\'adhésion ne doit être ni égale ni inférieure à la date de début.',
                    
                
devise_es.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 486 lines
                    
1<?php
                    
2$GLOBALS[$GLOBALS['idx_lang']] = array(
                    
40	'COP' => "Peso colombiano",
                    
41	'CRC' => "Colón costarricense",
                    
42	'CUP' => "Peso cubano",
                    
121	'PGK' => "Kina de Papúa Nueva Guinea",
                    
122	'PHP' => "Peso filipino",
                    
123	'PKR' => "Rupia pakistaní",
                    
200	's_COP' => "peso colombiano",
                    
201	's_CRC' => "colón costarricense",
                    
202	's_CUP' => "peso cubano",
                    
280	's_PGK' => "kina",
                    
281	's_PHP' => "peso filipino",
                    
282	's_PKR' => "rupia pakistaní",
                    
337	'p_AZN' => "manates",
                    
338	'p_BAM' => "marcos convertibles",
                    
339	'p_BBD' => "dólares de Barbados",
                    
                
profile.php https://github.com/fluxbb/langs.git | PHP | 141 lines
                    
1<?php
                    
2
                    
2
                    
3// Language definitions used in profile.php
                    
4$lang_profile = array(
                    
20'User activity'					=>	'Actividade do usu&#225;rio',
                    
21'Paginate info'					=>	'Digite o n&#250;mero de t&#243;picos e mensagens que deseja visualizar em cada p&#225;gina.',
                    
22
                    
47'Partial upload'				=>	'O ficheiro seleccionado foi apenas parcialmente enviado. Por favor tente novamente.',
                    
48'No tmp directory'				=>	'O PHP n&#227;o pode guardar o ficheiro enviado num local tempor&#225;rio.',
                    
49'No file'						=>	'Voc&#234; n&#227;o seleccionou um ficheiro para enviar.',
                    
78'Show posts'					=>	'Exibir todas as mensagens',
                    
79'Show topics'					=>	'Exibir todos os t&#243;picos',
                    
80'Show subscriptions'			=>	'Exibir todas as subscri&#231;&#245;es',
                    
100'Signature quote/code/list/h'	=>	'As tags BBCode quote, code, list, e heading n&#227;o s&#227;o permitidos em assinaturas.',
                    
101'Topics per page'				=>	'T&#243;picos',
                    
102'Posts per page'				=>	'Mensagens',
                    
                
WooCommerceSubscriptions.php https://gitlab.com/remyvianne/krowkaramel | PHP | 378 lines
                    
1<?php
                    
2/**
                    
88				 * These tests get mildly complex due to, when switching, the sign up fee is queried
                    
89				 * several times to determine prorated costs. This means we have to test to see when
                    
90				 * the fee actually needs be converted.
                    
235		/**
                    
236		 * We need to allow the early renewal to convert the cost, as it pulls the original value of the coupon.
                    
237		 * Subsequent queries for the amount use the first converted amount.
                    
                
metadatalom.php https://github.com/galitush2005/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 209 lines
                    
1<?PHP // $Id$ 
                    
2      // metadatadc.php - created with Moodle 1.5 UNSTABLE DEVELOPMENT (2005032600)
                    
74$string['Rights'] = 'זכויות יוצרים';
                    
75$string['Rights_Cost'] = 'עלות';
                    
76$string['Rights_CopyrightAndOtherRestrictions'] = 'זכויות יוצרים והגבלות נוספות';
                    
                
PermissibleAco.php https://github.com/kiang/olc_baker.git | PHP | 313 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * Models the ACOs and provides various management functions
                    
7 *
                    
26     */
                    
27    public $useTable = 'acos';
                    
28
                    
161    /**
                    
162     * Generates a list of ACOs
                    
163     *
                    
186    /**
                    
187     * Generates a list of ACOs and whether an ARO can access them
                    
188     *
                    
255        App::uses('Folder', 'Utility');
                    
256        $acos = array(
                    
257            'app' => array()
                    
                
es.php https://github.com/hecbuma/quali-fisioterapia.git | PHP | 87 lines
                    
1<?php
                    
2
                    
48$_MODULE['<{socolissimo}prestashop>socolissimo_e986d627f454602880075fe556378073'] = 'El plazo de preparación de pedido debe ser idéntico al indicado en Back Office ColiPoste';
                    
49$_MODULE['<{socolissimo}prestashop>socolissimo_31e3fd47be6f64fb2e0a4f85cb63a069'] = 'Coste adicional';
                    
50$_MODULE['<{socolissimo}prestashop>socolissimo_a68e8fd6d255edb0ca099c7400252694'] = 'Coste adicional aplicable a la entrega a domicilio previa cita';
                    
50$_MODULE['<{socolissimo}prestashop>socolissimo_a68e8fd6d255edb0ca099c7400252694'] = 'Coste adicional aplicable a la entrega a domicilio previa cita';
                    
51$_MODULE['<{socolissimo}prestashop>socolissimo_d38ac03101faea9ed5f9ea96bf8627b4'] = 'El coste adicional debe ser idéntico al indicado en el Back Office ColiPoste';
                    
52$_MODULE['<{socolissimo}prestashop>socolissimo_9954970bc5804ff557ced19516e2a55c'] = 'Tenga cuidado con estos parámetros, su modificación puede provocar un disfuncionamiento del módulo';
                    
69$_MODULE['<{socolissimo}prestashop>socolissimo_228485c5faff886fa4520323dc5b2c76'] = 'Tiempo de preparación no válido';
                    
70$_MODULE['<{socolissimo}prestashop>socolissimo_c3288acdf9ecd0a4fb1e308442b06867'] = 'Coste adicional no especificado';
                    
71$_MODULE['<{socolissimo}prestashop>socolissimo_1a89bc7d83f6e90b2368e3401690a87a'] = 'Coste adicional no válido';
                    
                
Users.php https://gitlab.com/hop23typhu/list-theme | PHP | 212 lines
                    
1<?php
                    
2/*+**********************************************************************************
                    
40	'LBL_SHOWN'                    => 'Mostrato'                    , 
                    
41	'LBL_HIDDEN'                   => 'Nascosto'                    , 
                    
42	'LBL_SHOW'                     => 'Mostra'                      , 
                    
                
ups.php https://github.com/osCommerce/oscommerce_cvs.git | PHP | 306 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3  $Id: ups.php,v 1.57 2005/02/24 00:38:03 hpdl Exp $
                    
4
                    
107        for ($i=0; $i<$qsize; $i++) {
                    
108          list($type, $cost) = each($upsQuote[$i]);
                    
109          $methods[] = array('id' => $type,
                    
110                             'title' => $this->types[$type],
                    
111                             'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);
                    
112        }
                    
269
                    
270        if ($http->Get('/using/services/rave/qcostcgi.cgi?' . $request)) $body = $http->getBody();
                    
271
                    
                
17_3.tpl https://github.com/TravianWar/Travianx.git | Smarty Template | 256 lines
                    
13
                    
14<p><b>NPC completed.</b> Cost 3<img src="img/x.gif" class="gold" alt="Gold" title="Gold" /></p> <?php } else { ?>
                    
15
                    
161</script> 
                    
162<script language="JavaScript">var summe=<?php echo floor($village->awood+$village->acrop+$village->airon+$village->aclay); ?>;var max123=<?php echo $village->maxstore; ?>;var max4=<?php echo $village->maxcrop; ?>;</script> 
                    
163		<form method="post" name="snd" action="build.php"> 
                    
202				<input class="text" onkeyup="calculateRest();" name="m2[]" size="5" maxlength="7" <?php if(isset($_GET['r1'])) { echo "value=\"".$_GET['r1']."\""; } ?>/> 
                    
203				<input type="hidden" name="m1[]" value="<?php echo floor($village->awood); ?>" /> 
                    
204			</td> 
                    
207				<input class="text" onkeyup="calculateRest();" name="m2[]" size="5" maxlength="7" <?php if(isset($_GET['r2'])) { echo "value=\"".$_GET['r2']."\""; } ?>/> 
                    
208				<input type="hidden" name="m1[]" value="<?php echo floor($village->aclay); ?>" /> 
                    
209			</td> 
                    
248		<p id="submitButton"> 
                    
249	<?php if($session->userinfo['gold'] > 3) { ?><a href="javascript:document.snd.submit();">Trade resources at (step 2 of 2)</a> <span class="none">(Costs: <img src="img/x.gif" class="gold_g" alt="Gold" title="Gold" /><b>3</b>)</span><?php } else { echo"<span class='none'>Trade resources at (step 2 of 2)</span> (Costs: <img src='img/x.gif' class='gold' alt='Gold' title='Gold' /><b>3</b>)"; }?>	</p>
                    
250		<p id="submitText"></p> 
                    
                
DatabaseHandle.php https://gitlab.com/tomgidden/php-DatabaseObject | PHP | 375 lines
                    
1<?php
                    
2  /* DatabaseHandle
                    
6
                    
7require_once('DatabaseObject/common/vars.php');
                    
8
                    
19   *
                    
20   * The prepared query caching may not be necessary, as I think DB.php
                    
21   * does this itself.
                    
82	// this functionality, but it doesn't seem to be documented.
                    
83	// Anyway, the caching is relatively low-cost, so might as well do it
                    
84	// here.
                    
                
fi.inc.php git://github.com/modxcms/revolution.git | PHP | 291 lines
                    
1<?php
                    
2/**
                    
51$_country_lang["ca"] = 'Kanada'; // Canada
                    
52$_country_lang["cc"] = 'Kookossaaret'; // Cocos (Keeling) Islands
                    
53$_country_lang["cd"] = 'Kongon demokraattinen tasavalta'; // Congo, Democratic Republic of the
                    
62$_country_lang["co"] = 'Kolumbia'; // Colombia
                    
63$_country_lang["cr"] = 'Costa Rica'; // Costa Rica
                    
64$_country_lang["cu"] = 'Kuuba'; // Cuba
                    
243
                    
244$_country_lang["tc"] = 'Turks- ja Caicossaaret'; // Turks and Caicos Islands
                    
245$_country_lang["td"] = 'Tšad'; // Chad
                    
                
id.inc.php git://github.com/modxcms/revolution.git | PHP | 291 lines
                    
1<?php
                    
2/**
                    
51$_country_lang["ca"] = 'Kanada'; // Canada
                    
52$_country_lang["cc"] = 'Kokos (Keeling), Kepulauan'; // Cocos (Keeling) Islands
                    
53$_country_lang["cd"] = 'Kongo, Republik Demokratik'; // Congo, Democratic Republic of the
                    
62$_country_lang["co"] = 'Kolombia'; // Colombia
                    
63$_country_lang["cr"] = 'Kosta Rika'; // Costa Rica
                    
64$_country_lang["cu"] = 'Kuba'; // Cuba
                    
243
                    
244$_country_lang["tc"] = 'Turks dan Caicos, Kepulauan'; // Turks and Caicos Islands
                    
245$_country_lang["td"] = 'Chad'; // Chad
                    
                
courseRecord.php https://github.com/joseraul/moodlews.git | PHP | 778 lines
                    
1<?php
                    
2/**
                    
122	*/
                    
123	public $cost;
                    
124	/** 
                    
170	* @param string $theme
                    
171	* @param string $cost
                    
172	* @param integer $timecreated
                    
177	*/
                    
178	 public function courseRecord($error='',$id=0,$category=0,$sortorder=0,$password='',$fullname='',$shortname='',$idnumber='',$summary='',$format='',$showgrades=0,$newsitems=0,$teacher='',$teachers='',$student='',$students='',$guest=0,$startdate=0,$enrolperiod=0,$numsections=0,$marker=0,$maxbytes=0,$visible=0,$hiddensections=0,$groupmode=0,$groupmodeforce=0,$lang='',$theme='',$cost='',$timecreated=0,$timemodified=0,$metacourse=0,$myrole=0){
                    
179		 $this->error=$error   ;
                    
206		 $this->theme=$theme   ;
                    
207		 $this->cost=$cost   ;
                    
208		 $this->timecreated=$timecreated   ;
                    
735	*/
                    
736	public function setCost($cost){
                    
737		$this->cost=$cost;
                    
                
errors.php https://github.com/libersoft/fengoffice-ls.git | PHP | 125 lines
                    
1<?php return array(
                    
2	'invalid email address' => 'Endereço de email inválido',
                    
89	'password invalid min length' => 'A Senha deve ter pelo menos {0} caracteres',
                    
90	'password invalid numbers' => 'A Senha deve ter pelo menos {0} caracteres númericos',
                    
91	'password invalid uppercase' => 'A senha deve ter pelo menos {0} caracteres maiúsculos',
                    
102	'custom property value required' => '{0} é exigido',
                    
103	'value must be numeric' => 'Valor(res) devem ser numéricos para {0}',
                    
104	'values cannot be empty' => 'Valor(res) não podem estar vazio(s) para {0}',
                    
                
schema_2.php https://github.com/jaydson/Call-for-Papers.git | PHP | 139 lines
                    
1<?php 
                    
2/* SVN FILE: $Id$ */
                    
6
                    
7	var $file = 'schema_2.php';
                    
8
                    
15
                    
16	var $acos = array(
                    
17		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
                    
23		'rght' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 10),
                    
24		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'fk_acos_acos' => array('column' => 'parent_id', 'unique' => 0)),
                    
25		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
                    
40		'rght' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 10),
                    
41		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'fk_acos_acos1' => array('column' => 'parent_id', 'unique' => 0)),
                    
42		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
                    
43	);
                    
44	var $aros_acos = array(
                    
45		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
                    
                
stock_icon.cpp https://gitlab.com/jvelando/wireshark | C++ | 253 lines
                    
14// Toolbar icon sizes:
                    
15// macOS freestanding: 32x32, 32x32@2x, segmented (inside a button): <= 19x19
                    
16// Windows: 16x16, 24x24, 32x32
                    
23//
                    
24// https://mithatkonar.com/wiki/doku.php/qt/icons
                    
25//
                    
26// https://web.archive.org/web/20140829010224/https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/IconsImages/IconsImages.html
                    
27// https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/image-size-and-resolution/
                    
28// https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/
                    
87        // Templates should be monochrome as described at
                    
88        // https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/custom-icons/
                    
89        // Transparency is supported.
                    
                
FormOptionsHelper.php git://github.com/phpwax/phpwax.git | PHP | 273 lines
                    
1<?php
                    
2/**
                    
3 *
                    
4 * @package PHP-Wax
                    
5 * @author Ross Riley
                    
19        "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", 
                    
20        "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", 
                    
21        "Comoros", "Congo", "Congo, the Democratic Republic of the", "Cook Islands", 
                    
21        "Comoros", "Congo", "Congo, the Democratic Republic of the", "Cook Islands", 
                    
22        "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Denmark", 
                    
23        "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", 
                    
50        "Togo", "Tokelau", "Tonga", "Trinidad", "Trinidad and Tobago", "Tunisia", "Turkey", 
                    
51        "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", 
                    
52        "United Arab Emirates", "United Kingdom", "United States", 
                    
                
migration_tables_core_127.php https://bitbucket.org/valmy/openx.git | PHP | 405 lines
                    
72		$this->aObjectMap['zones']['comments'] = array('fromTable'=>'zones', 'fromField'=>'comments');
                    
73		$this->aObjectMap['zones']['cost'] = array('fromTable'=>'zones', 'fromField'=>'cost');
                    
74		$this->aObjectMap['zones']['cost_type'] = array('fromTable'=>'zones', 'fromField'=>'cost_type');
                    
74		$this->aObjectMap['zones']['cost_type'] = array('fromTable'=>'zones', 'fromField'=>'cost_type');
                    
75		$this->aObjectMap['zones']['cost_variable_id'] = array('fromTable'=>'zones', 'fromField'=>'cost_variable_id');
                    
76		$this->aObjectMap['zones']['technology_cost'] = array('fromTable'=>'zones', 'fromField'=>'technology_cost');
                    
76		$this->aObjectMap['zones']['technology_cost'] = array('fromTable'=>'zones', 'fromField'=>'technology_cost');
                    
77		$this->aObjectMap['zones']['technology_cost_type'] = array('fromTable'=>'zones', 'fromField'=>'technology_cost_type');
                    
78		$this->aObjectMap['zones']['updated'] = array('fromTable'=>'zones', 'fromField'=>'updated');
                    
135
                    
136	function beforeAddField__zones__cost()
                    
137	{
                    
145
                    
146	function beforeAddField__zones__cost_type()
                    
147	{
                    
                
view.php https://github.com/kpike/moodle.git | PHP | 257 lines
                    
1<?php
                    
2
                    
4
                    
5    require_once('../config.php');
                    
6    require_once('lib.php');
                    
6    require_once('lib.php');
                    
7    require_once($CFG->dirroot.'/mod/forum/lib.php');
                    
8    require_once($CFG->libdir.'/completionlib.php');
                    
38
                    
39    $PAGE->set_url('/course/view.php', array('id' => $course->id)); // Defined here to avoid notices on errors etc
                    
40
                    
52
                    
53    // Switchrole - sanity check in cost-order...
                    
54    $reset_user_allowed_editing = false;
                    
75    //url with appropriate authentication attached as parameter
                    
76    if (file_exists($CFG->dirroot .'/course/externservercourse.php')) {
                    
77        include $CFG->dirroot .'/course/externservercourse.php';
                    
                
summerschool16.rst https://gitlab.com/marcindulak/gpaw | ReStructuredText | 254 lines
                    
36  **Mac users**: You need to install the semi-official X-server for
                    
37  MacOS: http://xquartz.macosforge.org/
                    
38
                    
86Information on how to install and use ThinLinc is available here:
                    
87http://gbar.dtu.dk/index.php/faq/43-thinlinc
                    
88
                    
                
autoload_static.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 146 lines
                    
11        'abede361264e2ae69ec1eee813a101af' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/abs.php',
                    
12        '21a5860fbef5be28db5ddfbc3cca67c4' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acos.php',
                    
13        '1546e3f9d127f2a9bb2d1b6c31c26ef1' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/acosh.php',
                    
25        '05c15ee9510da7fd6bf6136f436500c0' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/conjugate.php',
                    
26        'd3208dfbce2505e370788f9f22f6785f' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/cos.php',
                    
27        '141cf1fb3a3046f8b64534b0ebab33ca' => __DIR__ . '/..' . '/markbaker/complex/classes/src/functions/cosh.php',
                    
84            'Psr\\Http\\Client\\' => 16,
                    
85            'PhpOffice\\PhpSpreadsheet\\' => 25,
                    
86        ),
                    
119        ),
                    
120        'PhpOffice\\PhpSpreadsheet\\' => 
                    
121        array (
                    
121        array (
                    
122            0 => __DIR__ . '/..' . '/phpoffice/phpspreadsheet/src/PhpSpreadsheet',
                    
123        ),
                    
                
UIPageViewIndicator.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 281 lines
                    
4
                    
5http://www.cocos2d-x.org
                    
6
                    
29
                    
30static const char* CIRCLE_IMAGE = "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAA8ElEQVRIx62VyRGCQBBF+6gWRCEmYDIQkhiBCgHhSclC8YqWzOV5oVzKAYZp3r1/9fpbxAIBMTsKrjx5cqVgR0wgLhCRUWOjJiPqD56xoaGPhpRZV/iSEy6crHmw5oIrF9b/lVeMofrJgjlnxlIy/wik+JB+mme8BExbBhm+5CJC2LE2LtSEQoyGWDioBA5CoRIohJtK4CYDxzNEM4GAugR1E9VjVC+SZpXvhCJCrjomESLvc17pDGX7bWmlh6UtpjPVCWy9zaJ0TD7qfm3pwERMz2trRVZk3K3BD/L34AY+dEDCniMVBkPFkT2J/b2/AIV+dRpFLOYoAAAAAElFTkSuQmCC";
                    
31static const char* CIRCLE_IMAGE_KEY = "/__circleImage";
                    
                
strategy_transform.hpp https://bitbucket.org/mobilecloudlab/mobilehostdist.git | C++ Header | 443 lines
                    
163        // http://www.vias.org/comp_geometry/math_coord_convert_3d.htm
                    
164        // https://moodle.polymtl.ca/file.php/1183/Autres_Documents/Derivation_for_Spherical_Co-ordinates.pdf
                    
165        // http://en.citizendium.org/wiki/Spherical_polar_coordinates
                    
171        T r_sin_theta = r;
                    
172        T r_cos_theta = r;
                    
173        r_sin_theta *= sin(theta);
                    
173        r_sin_theta *= sin(theta);
                    
174        r_cos_theta *= cos(theta);
                    
175
                    
191        T r_sin_delta = r;
                    
192        r_cos_delta *= cos(delta);
                    
193        r_sin_delta *= sin(delta);
                    
194
                    
195        set<0>(p, r_cos_delta * cos(lambda));
                    
196        set<1>(p, r_cos_delta * sin(lambda));
                    
                
jpgraph_pie.php https://github.com/robertatakenaka/Web.git | PHP | 346 lines
                    
1<?php
                    
2/*=======================================================================
                    
2/*=======================================================================
                    
3// File: 				JPGRAPH_PIE.PHP
                    
4// Description: 		Pie plot extension for JpGraph
                    
158		$a = $this->startangle;
                    
159		$x = round(cos($a)*$radius);
                    
160		$y = round(sin($a)*$radius);
                    
187			$a += 2*M_PI*$d/$sum;
                    
188			$x = round(cos($a)*$radius);
                    
189			$y = round(sin($a)*$radius);
                    
208				$img->SetColor($slicecolor);
                    
209				$xf = cos($la)*$radius/2;
                    
210				$yf = sin($la)*$radius/2;			
                    
225		$am = abs($a-$old_a)/2+$old_a;
                    
226		$xc = cos($am)*$r*$extract+$xc;
                    
227		$yc = $yc - sin($am)*$r*$extract;
                    
                
flat_rate.php https://github.com/billortell/jigoshop.git | PHP | 197 lines
                    
86    	?>
                    
87    	<thead><tr><th scope="col" width="200px"><?php _e('Flat Rates', 'jigoshop'); ?></th><th scope="col" class="desc"><?php _e('Flat rates let you define a standard rate per item, or per order.', 'jigoshop'); ?>&nbsp;</th></tr></thead>
                    
88    	<tr>
                    
91		        <select name="jigoshop_flat_rate_enabled" id="jigoshop_flat_rate_enabled" style="min-width:100px;">
                    
92		            <option value="yes" <?php if (get_option('jigoshop_flat_rate_enabled') == 'yes') echo 'selected="selected"'; ?>><?php _e('Yes', 'jigoshop'); ?></option>
                    
93		            <option value="no" <?php if (get_option('jigoshop_flat_rate_enabled') == 'no') echo 'selected="selected"'; ?>><?php _e('No', 'jigoshop'); ?></option>
                    
122	    <tr>
                    
123	        <td class="titledesc"><a href="#" tip="<?php _e('Cost excluding tax. Enter an amount, e.g. 2.50.', 'jigoshop') ?>" class="tips" tabindex="99"></a><?php _e('Cost', 'jigoshop') ?>:</td>
                    
124	        <td class="forminp">
                    
124	        <td class="forminp">
                    
125		        <input type="text" name="jigoshop_flat_rate_cost" id="jigoshop_flat_rate_cost" style="min-width:50px;" value="<?php if ($value = get_option('jigoshop_flat_rate_cost')) echo $value; ?>" />
                    
126	        </td>
                    
181   		if(isset($_POST['jigoshop_flat_rate_type'])) update_option('jigoshop_flat_rate_type', jigowatt_clean($_POST['jigoshop_flat_rate_type'])); else @delete_option('jigoshop_flat_rate_type');
                    
182   		if(isset($_POST['jigoshop_flat_rate_cost'])) update_option('jigoshop_flat_rate_cost', jigowatt_clean($_POST['jigoshop_flat_rate_cost'])); else @delete_option('jigoshop_flat_rate_cost');
                    
183   		if(isset($_POST['jigoshop_flat_rate_handling_fee'])) update_option('jigoshop_flat_rate_handling_fee', jigowatt_clean($_POST['jigoshop_flat_rate_handling_fee'])); else @delete_option('jigoshop_flat_rate_handling_fee');
                    
                
JGraphWordBrowser.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 480 lines
                    
199		// GraphConstants.setRouting(edge.getAttributes(),
                    
200		// JSPGraphParallelEdgeRouter.sharedInstance);
                    
201		return edge;
                    
361			organicLayout.setRadiusScaleFactor(0.9);
                    
362			organicLayout.setNodeDistributionCostFactor(8000000.0);
                    
363			organicLayout.setOptimizeBorderLine(false);
                    
                
it.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 271 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * $Id: it.php,v 1.3 2005/10/03 15:07:26 mike Exp $
                    
4 */
                    
62    'COU' => 'Unidad de Valor Real',
                    
63    'CRC' => 'Colón Costaricano',
                    
64    'CSD' => 'Serbian Dinar',
                    
64    'CSD' => 'Serbian Dinar',
                    
65    'CSK' => 'Corona forte cecoslovacca',
                    
66    'CUP' => 'Peso Cubano',
                    
181    'PGK' => 'Kina della Papua Nuova Guinea',
                    
182    'PHP' => 'Peso delle Filippine',
                    
183    'PKR' => 'Rupia del Pakistan',
                    
                
image.php git://github.com/bcosca/fatfree.git | PHP | 616 lines
                    
1<?php
                    
2
                    
4
                    
5	Copyright (c) 2009-2019 F3::Factory/Bong Cosca, All rights reserved.
                    
6
                    
480		$format=$args?array_shift($args):'png';
                    
481		if (PHP_SAPI!='cli') {
                    
482			header('Content-Type: image/'.$format);
                    
                
dilizium.php https://github.com/Biggerskimo/WOT-Game.git | PHP | 208 lines
                    
49	if($buildListCosts > $user['dilizium']) $buildListDays = floor($user['dilizium'] / BUILDLIST);
                    
50	$buildListCosts = $buildListDays * BUILDLIST;
                    
51	$user['lostDilizium'] += $buildListCosts;
                    
90	$galaxyScansCosts = $galaxyScansDays * GALAXY_SCANS;
                    
91	$user['lostDilizium'] += $galaxyScansCosts;
                    
92	$user['dilizium'] -= $galaxyScansCosts;
                    
98	$noAdsDays = abs(intval($_POST['noAds']));
                    
99	$noAdsCosts = $noAdsDays * NO_ADS;
                    
100
                    
130				var costsPerDay = document.getElementById(container + "D").firstChild.data;
                    
131				var costs = days * costsPerDay;
                    
132				document.getElementById(container + "C").firstChild.data = costs;
                    
135				document.getElementById("costs").firstChild.data = costsM;
                    
136				if(costsM > document.getElementById("dilizium").firstChild.data) document.getElementById("costs").style.color = "red";
                    
137				else document.getElementById("costs").style.color = "";
                    
                
helpers.php https://bitbucket.org/bayrock/gw2spidy.git | PHP | 326 lines
                    
1<?php
                    
2
                    
120function recipe_list(Application $app, Request $request, RecipeQuery $q, $page, $itemsperpage, array $tplVars = array()) {
                    
121    $sortByOptions = array('name', 'rating', 'cost', 'karma_cost', 'sell_price', 'profit', 'sale_availability', 'offer_availability');
                    
122
                    
                
DBCfmt.h https://bitbucket.org/EMPulseGaming/mycore4kata.git | C Header | 187 lines
                    
49const char DungeonEncounterfmt[]="niixisxx";
                    
50const char DurabilityCostsfmt[]="niiiiiiiiiiiiiiiiiiiiiiiiiiiii";
                    
51const char DurabilityQualityfmt[]="nf";
                    
57const char GemPropertiesEntryfmt[]="nixxix";
                    
58const char GlyphPropertiesfmt[]="niii";
                    
59const char GlyphSlotfmt[]="nii";
                    
59const char GlyphSlotfmt[]="nii";
                    
60const char GtBarberShopCostBasefmt[]="xf";
                    
61const char GtCombatRatingsfmt[]="xf";
                    
78//const char ItemDisplayTemplateEntryfmt[]="nxxxxxxxxxxixxxxxxxxxxx";
                    
79//const char ItemCondExtCostsEntryfmt[]="xiii";
                    
80const char ItemDamagefmt[]="nfffffffi";
                    
80const char ItemDamagefmt[]="nfffffffi";
                    
81const char ItemExtendedCostEntryfmt[]="nxxiiiiiiiiiiiixiiiiiiiiiixxxxx";
                    
82const char ItemLimitCategoryEntryfmt[]="nxii";
                    
                
Tool.php https://bitbucket.org/valmy/openx.git | PHP | 291 lines
                    
1<?php
                    
2
                    
7 *
                    
8 * PHP versions 4 and 5
                    
9 *
                    
26 * @version    CVS: $Id$
                    
27 * @link       http://pear.php.net/package/Image_Graph
                    
28 */
                    
40 * @version    Release: 0.7.2
                    
41 * @link       http://pear.php.net/package/Image_Graph
                    
42 */
                    
131    {
                    
132        $cos = cos(deg2rad($angle));
                    
133        $sin = sin(deg2rad($angle));
                    
135        $yr= $y - $yc;
                    
136        $x1= $xc + $cos * $xr - $sin * $yr;
                    
137        $y1= $yc + $sin * $xr + $cos * $yr;
                    
                
it.php https://github.com/integry/integry-framework-locale.git | PHP | 271 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * $Id: it.php,v 1.3 2005/10/03 15:07:26 mike Exp $
                    
4 */
                    
62    'COU' => 'Unidad de Valor Real',
                    
63    'CRC' => 'Colón Costaricano',
                    
64    'RSD' => 'Serbian Dinar',
                    
64    'RSD' => 'Serbian Dinar',
                    
65    'CSK' => 'Corona forte cecoslovacca',
                    
66    'CUP' => 'Peso Cubano',
                    
181    'PGK' => 'Kina della Papua Nuova Guinea',
                    
182    'PHP' => 'Peso delle Filippine',
                    
183    'PKR' => 'Rupia del Pakistan',
                    
                
Tool.php https://github.com/axxtel/agilebill.git | PHP | 291 lines
                    
1<?php
                    
2
                    
7 *
                    
8 * PHP versions 4 and 5
                    
9 *
                    
25 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
                    
26 * @version    CVS: $Id: Tool.php,v 1.4 2005/09/14 20:27:24 nosey Exp $
                    
27 * @link       http://pear.php.net/package/Image_Graph
                    
40 * @version    Release: @package_version@
                    
41 * @link       http://pear.php.net/package/Image_Graph
                    
42 */
                    
131    {
                    
132        $cos = cos(deg2rad($angle));
                    
133        $sin = sin(deg2rad($angle));
                    
135        $yr= $y - $yc;
                    
136        $x1= $xc + $cos * $xr - $sin * $yr;
                    
137        $y1= $yc + $sin * $xr + $cos * $yr;
                    
                
GzipHandler.java https://github.com/dekellum/jetty.git | Java | 309 lines
                    
9// The Apache License v2.0 is available at
                    
10// http://www.opensource.org/licenses/apache2.0.php
                    
11// You may elect to redistribute this code under either of these licenses. 
                    
50 * <p>
                    
51 * Compressing the content can greatly improve the network bandwidth usage, but at a cost of memory and CPU cycles. If this handler is used for static content,
                    
52 * then use of efficient direct NIO may be prevented, thus use of the gzip mechanism of the <code>org.eclipse.jetty.servlet.DefaultServlet</code> is advised instead.
                    
                
SQL_lang.php https://gitlab.com/error414/fileshit | PHP | 225 lines
                    
1<?php
                    
2/* --------------------------------------------------------------- *
                    
4 *
                    
5 *   Source language file: C:\Web\WebData\scripts\fshl\fshl-0.4.13\fshl/lang/SQL_lang.php
                    
6 *       Language version: 1.0 (Sign:SHL)
                    
7 *
                    
8 *            Target file: C:\Web\WebData\scripts\fshl\fshl-0.4.13\fshl/fshl_cache/SQL_lang.php
                    
9 *             Build date: Sat 14.5.2005 01:51:54
                    
33	$this->class=array(0=>null,1=>null,2=>'sql-comment',3=>'sql-comment',4=>'sql-value',5=>'sql-value',6=>'sql-value',7=>'sql-num',8=>'sql-num',9=>'sql-num',10=>'sql-option');
                    
34	$this->keywords=array(0=>'sql-keyword',1=>array('a'=>1,'abs'=>2,'acos'=>2,'add'=>1,'add_months'=>1,'after'=>1,'all'=>1,'alter'=>1,'an'=>1,'and'=>1,'any'=>1,'array'=>1,'as'=>1,'asc'=>1,'ascii'=>2,'asin'=>2,'atan'=>2,'atan2'=>2,'avg'=>2,'before'=>1,'begin'=>1,'between'=>1,'bigint'=>3,'binary'=>1,'bind'=>1,'binding'=>1,'bit'=>1,'by'=>1,'call'=>1,'cascade'=>1,'case'=>1,'cast'=>1,'ceiling'=>2,'char'=>3,'char_length'=>2,'character'=>2,'character_length'=>2,'chartorowid'=>1,'check'=>1,'chr'=>1,'cleanup'=>1,'close'=>1,'clustered'=>1,'coalesce'=>1,'colgroup'=>1,'collate'=>1,'commit'=>1,'complex'=>1,'compress'=>1,'concat'=>2,'connect'=>1,'constraint'=>1,'contains'=>1,'continue'=>1,'convert'=>1,'cos'=>2,'count'=>2,'create'=>1,'cross'=>1,'curdate'=>2,'current'=>1,'cursor'=>1,'curtime'=>2,'cvar'=>1,'database'=>1,'datapages'=>1,'date'=>2,'dayname'=>2,'dayofmonth'=>2,'dayofweek'=>2,'dayofyear'=>2,'db_name'=>1,'dba'=>1,'dec'=>3,'decimal'=>3,'declaration'=>1,'declare'=>1,'decode'=>2,'default'=>1,'definition'=>1,'degrees'=>1,'delete'=>1,'desc'=>1,'describe'=>1,'descriptor'=>1,'dhtype'=>1,'difference'=>1,'distinct'=>1,'double'=>3,'drop'=>1,'each'=>1,'else'=>1,'end'=>1,'escape'=>1,'exclusive'=>1,'exec'=>1,'execute'=>1,'exists'=>1,'exit'=>1,'exp'=>2,'explicit'=>1,'extent'=>1,'fetch'=>1,'field file'=>1,'float'=>3,'floor'=>2,'for'=>1,'foreign'=>1,'found'=>1,'from'=>1,'full'=>1,'go'=>1,'goto'=>1,'grant'=>1,'greatest'=>2,'group'=>1,'hash'=>1,'having'=>1,'hour'=>1,'identified'=>1,'ifnull'=>2,'immediate'=>1,'in'=>1,'index'=>1,'indexpages'=>1,'indicator'=>1,'initcap'=>1,'inner'=>1,'inout'=>1,'input'=>1,'insert'=>1,'instr'=>1,'int'=>3,'integer'=>3,'interface'=>1,'intersect'=>1,'into'=>1,'is'=>1,'isnull'=>2,'join'=>1,'key'=>1,'last_day'=>2,'lcase'=>2,'least'=>2,'left'=>2,'length'=>2,'like'=>1,'link'=>1,'list'=>1,'locate'=>1,'lock'=>1,'log'=>2,'log10'=>2,'long'=>1,'longblob'=>3,'longtext'=>3,'lower'=>1,'lpad'=>1,'ltrim'=>2,'lvarbinary'=>1,'lvarchar'=>1,'main'=>1,'max'=>2,'metadata_only'=>1,'min'=>2,'minus'=>2,'minute'=>2,'mod'=>2,'mode'=>1,'modify'=>1,'money'=>1,'month'=>2,'monthname'=>2,'months_between'=>2,'name'=>1,'national'=>1,'natural'=>1,'nchar'=>1,'newrow'=>1,'next_day'=>1,'nocompress'=>1,'not'=>1,'now'=>1,'nowait'=>1,'null'=>1,'nullif'=>1,'nullvalue'=>1,'number'=>1,'numeric'=>1,'nvl'=>1,'object_id'=>1,'odbc_convert'=>1,'odbcinfo'=>1,'of'=>1,'oldrow'=>1,'on'=>1,'open'=>1,'option'=>1,'or'=>1,'order'=>1,'out'=>1,'outer'=>1,'output'=>1,'pctfree'=>1,'pi'=>1,'power'=>1,'precision'=>1,'prefix'=>1,'prepare'=>1,'primary'=>1,'privileges'=>1,'procedure'=>1,'public'=>1,'quarter'=>2,'radians'=>2,'rand'=>2,'range'=>2,'raw'=>1,'real'=>3,'record'=>1,'references'=>1,'referencing'=>1,'rename'=>1,'repeat'=>2,'replace'=>1,'resource'=>1,'restrict'=>1,'result'=>1,'return'=>2,'revoke'=>2,'right'=>2,'rollback'=>1,'row'=>2,'rowid'=>2,'rowidtochar'=>2,'rownum'=>2,'rpad'=>2,'rtrim'=>2,'searched_case'=>1,'second'=>1,'section'=>1,'select'=>1,'service'=>1,'set'=>1,'share'=>1,'short'=>1,'sign'=>1,'simple_case'=>1,'sin'=>2,'size'=>2,'smallint'=>3,'some'=>1,'soundex'=>1,'space'=>1,'sql'=>1,'sql_bigint'=>3,'sql_binary'=>3,'sql_bit'=>3,'sql_char'=>3,'sql_date'=>3,'sql_decimal'=>3,'sql_double'=>3,'sql_float'=>1,'sql_integer'=>3,'sql_longvarbinary'=>3,'sql_longvarchar'=>3,'sql_numeric'=>3,'sql_real'=>3,'sql_smallint'=>3,'sql_time'=>3,'sql_timestamp'=>1,'sql_tinyint'=>3,'sql_tsi_day'=>3,'sql_tsi_frac_second'=>3,'sql_tsi_hour'=>3,'sql_tsi_minute'=>3,'sql_tsi_month'=>3,'sql_tsi_quarter'=>3,'sql_tsi_second'=>3,'sql_tsi_week'=>3,'sql_tsi_year'=>3,'sql_varbinary'=>3,'sql_varchar'=>3,'sqlerror'=>1,'sqlwarning'=>1,'sqrt'=>1,'start'=>1,'statement'=>1,'statistics'=>1,'stop'=>1,'storage_attributes'=>1,'storage_manager'=>1,'store_in_progress'=>1,'substr'=>2,'substring'=>2,'suffix'=>2,'sum'=>2,'suser_name'=>2,'synonym'=>2,'sysdate'=>2,'systime'=>2,'systimestamp'=>2,'table'=>1,'tan'=>2,'then'=>1,'time'=>2,'timeout'=>2,'timestamp'=>3,'timestampadd'=>2,'timestampdiff'=>2,'tinyint'=>3,'to'=>2,'to_char'=>2,'to_date'=>2,'to_number'=>2,'to_time'=>2,'to_timestamp'=>2,'tpe'=>1,'transaction'=>1,'translate'=>1,'trigger'=>1,'type'=>1,'ucase'=>1,'uid'=>1,'union'=>1,'unique'=>1,'unsigned'=>1,'update'=>1,'upper'=>1,'user'=>1,'user_id'=>1,'user_name'=>1,'using'=>1,'uuid'=>1,'values'=>1,'varbinary'=>1,'varchar'=>3,'variables'=>1,'varying'=>1,'version'=>1,'view'=>1,'week'=>2,'when'=>1,'whenever'=>1,'where'=>1,'with'=>1,'work'=>1,'year'=>1,'blob'=>3,'text'=>3,'string'=>3,'boolean'=>3,'longvarchar'=>3,'java_object'=>3,'longvarbinary'=>3,'tran'=>1,'top'=>1,'mediumint'=>3));
                    
35}
                    
                
cart.php https://github.com/billortell/jigoshop.git | PHP | 200 lines
                    
107							<tr>
                    
108								<td class="product-remove"><a href="<?php echo jigoshop_cart::get_remove_url($cart_item_key); ?>" class="remove" title="<?php echo __('Remove this item.', 'jigoshop'); ?>">&times;</a></td>
                    
109								<td class="product-thumbnail"><a href="<?php get_permalink($values['product_id']); ?>">
                    
139					<div class="coupon">
                    
140						<label for="coupon_code"><?php _e('Coupon', 'jigoshop'); ?>:</label> <input name="coupon_code" class="input-text" id="coupon_code" value="" /> <input type="submit" class="button" name="apply_coupon" value="<?php _e('Apply Coupon', 'jigoshop'); ?>" />
                    
141					</div>
                    
142					<?php jigoshop::nonce_field('cart') ?>
                    
143					<input type="submit" class="button" name="update_cart" value="<?php _e('Update Shopping Cart', 'jigoshop'); ?>" /> <a href="<?php echo jigoshop_cart::get_checkout_url(); ?>" class="checkout-button button-alt"><?php _e('Proceed to Checkout &rarr;', 'jigoshop'); ?></a>
                    
144				</td>
                    
168						<th><?php _e('Shipping', 'jigoshop'); ?> <small><?php echo jigoshop_countries::shipping_to_prefix().' '.jigoshop_countries::$countries[ jigoshop_customer::get_shipping_country() ]; ?></small></th>
                    
169						<td><?php echo jigoshop_cart::get_cart_shipping_total(); ?> <small><?php echo jigoshop_cart::get_cart_shipping_title(); ?></small></td>
                    
170					</tr><?php endif; ?>
                    
171					<?php if (jigoshop_cart::get_cart_tax()) : ?><tr>
                    
172						<th><?php _e('Tax', 'jigoshop'); ?> <?php if (jigoshop_customer::is_customer_outside_base()) : ?><small><?php echo sprintf(__('estimated for %s', 'jigoshop'), jigoshop_countries::estimated_for_prefix() . jigoshop_countries::$countries[ jigoshop_countries::get_base_country() ] ); ?></small><?php endif; ?></th>
                    
173						<td><?php
                    
                
MathStatFunctions.i18n.magic.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 292 lines
                    
22	'cos' => array( 0, 'cos' ),
                    
23	'acos' => array( 0, 'acos', 'arccos' ),
                    
24	'cosh' => array( 0, 'cosh' ),
                    
24	'cosh' => array( 0, 'cosh' ),
                    
25	'acosh' => array( 0, 'acosh', 'arccosh' ),
                    
26	'sec' => array( 0, 'sec' ),
                    
78	'cos' => array( 0, 'جتا', 'cos' ),
                    
79	'acos' => array( 0, 'أكوزين', 'أرككوزين', 'acos', 'arccos' ),
                    
80	'cosh' => array( 0, 'كوشين', 'cosh' ),
                    
80	'cosh' => array( 0, 'كوشين', 'cosh' ),
                    
81	'acosh' => array( 0, 'أكوشين', 'أرككوشين', 'acosh', 'arccosh' ),
                    
82	'sec' => array( 0, 'سيك', 'sec' ),
                    
145	'acot' => array( 0, 'acotg', 'arccotg', 'acot', 'arccot' ),
                    
146	'acosh' => array( 0, 'argcosh', 'acosh', 'arccosh' ),
                    
147	'sin' => array( 0, 'sen', 'sin' ),
                    
                
 

Source

Language