100+ results results for 'php strtoupper repo:rlm3/mrs' (992 ms)
40 * generate a path hierarchy (e.g., "Zend_Example_Class" will map 41 * to "Zend/Example/Class.php"). 42 * 74 } 75 $file .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; 76 103 /** 104 * Loads a PHP file. This is a wrapper for PHP's include() function. 105 * 162 * Returns TRUE if the $filename is readable, or FALSE otherwise. 163 * This function uses the PHP include_path, where PHP's is_readable() 164 * does not. 181 182 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' 183 && preg_match('/^[a-z]:/i', $filename)Random.php https://gitlab.com/x33n/ImpressPages | PHP | 249 lines
48 */ 49define('CRYPT_RANDOM_IS_WINDOWS', strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'); 50 70 // method 2. openssl_random_pseudo_bytes was introduced in PHP 5.3.0 but prior to PHP 5.3.4 there was, 71 // to quote <http://php.net/ChangeLog-5.php#5.3.4>, "possible blocking behavior". as of 5.3.4 72 // openssl_random_pseudo_bytes and mcrypt_create_iv do the exact same thing on Windows. ie. they both 74 // 75 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/openssl/openssl.c#L5008 76 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1392 79 // 80 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/win32/winutil.c#L80 81 // 101 // method 3. pretty much does the same thing as method 2 per the following url: 102 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1391 103 // surprisingly slower than method 2. maybe that's because mcrypt_create_iv does a bunch of error checking that we'reURI.php https://github.com/romaricdrigon/Keypass-server.git | PHP | 623 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 61 { 62 if (strtoupper($this->config->item('uri_protocol')) == 'AUTO') 63 { 64 // Is the request coming from the command line? 65 if (php_sapi_name() == 'cli' or defined('STDIN')) 66 { 106 107 $uri = strtoupper($this->config->item('uri_protocol')); 108 192 193 $uri = parse_url($uri, PHP_URL_PATH); 194QueryTrait.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 391 lines
1<?php 2/** 40 * The array keys are the columns to be sorted by, and the array values are the corresponding sort directions which 41 * can be either [SORT_ASC](http://php.net/manual/en/array.constants.php#constant.sort-asc) 42 * or [SORT_DESC](http://php.net/manual/en/array.constants.php#constant.sort-desc). 60 * 61 * ```php 62 * function ($row) 138 * 139 * ```php 140 * // WHERE `age`=:age 238 239 switch (strtoupper($operator)) { 240 case 'NOT':component.php https://gitlab.com/alexprowars/bitrix | PHP | 217 lines
39 { 40 $arParams[mb_strtoupper($URL)."_URL"] = trim($arParams[mb_strtoupper($URL)."_URL"]); 41 if (empty($arParams[mb_strtoupper($URL)."_URL"])) 42 { 43 $arParams[mb_strtoupper($URL)."_URL"] = $GLOBALS["APPLICATION"]->GetCurPageParam($URL_VALUE, 44 array("PAGE_NAME", "SECTION_ID", "ELEMENT_ID", "ACTION", "AJAX_CALL", "sessid", "edit", "login", "USER_ALIAS", "order", "group_by")); 46 47 $arParams["~".mb_strtoupper($URL)."_URL"] = $arParams[mb_strtoupper($URL)."_URL"]; 48 $arParams[mb_strtoupper($URL)."_URL"] = htmlspecialcharsbx($arParams["~".mb_strtoupper($URL)."_URL"]); 51 $arParams["DATE_TIME_FORMAT"] = trim(!empty($arParams["DATE_TIME_FORMAT"]) ? $arParams["DATE_TIME_FORMAT"] : 52 $GLOBALS["DB"]->DateFormatToPHP(CSite::GetDateFormat("SHORT"))); 53 $arParams["ALBUM_PHOTO_SIZE"] = (intval($arParams["ALBUM_PHOTO_SIZE"]) > 0 ? intval($arParams["ALBUM_PHOTO_SIZE"]) : 150);reports.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 246 lines
24 <li> 25 <a href="?status=0" <?php if ($status != 'a' AND $status !='v') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.show_all');?></a> 26 </li> 26 </li> 27 <li><a href="?status=a" <?php if ($status == 'a') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.awaiting_approval');?></a></li> 28 <li><a href="?status=v" <?php if ($status == 'v') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.awaiting_verification');?></a></li> 32 <ul> 33 <li><a href="#" onclick="reportAction('a','<?php echo strtoupper(Kohana::lang('ui_main.approve')); ?>', '');"> 34 <?php echo Kohana::lang('ui_main.approve');?></a> 58 <div class="green-box" id="submitStatus"> 59 <h3><?php echo Kohana::lang('ui_main.reports');?> <?php echo $form_action; ?> <a href="#" id="hideMessage" class="hide">hide this message</a></h3> 60 </div> 233 <li class="none-separator"><a href="#"<?php if ($incident_approved) echo " class=\"status_yes\"" ?> onclick="reportAction('a','APPROVE', '<?php echo $incident_id; ?>');"><?php echo Kohana::lang('ui_main.approve');?></a></li> 234 <li><a href="#"<?php if ($incident_verified) echo " class=\"status_yes\"" ?> onclick="reportAction('v','VERIFY', '<?php echo $incident_id; ?>');"><?php echo Kohana::lang('ui_main.verify');?></a></li> 235 <li><a href="#" class="del" onclick="reportAction('d','DELETE', '<?php echo $incident_id; ?>');"><?php echo Kohana::lang('ui_main.delete');?></a></li>firstdata.php https://gitlab.com/shapcy/opencart | PHP | 247 lines
1<?php 2class ControllerPaymentFirstdata extends Controller { 147 if (strlen($response_parts[3]) == 4) { 148 $address_pass = strtoupper(substr($response_parts[3], 0, 3)); 149 $cvv_pass = strtoupper(substr($response_parts[3], -1)); 176 if (isset($this->request->post['paymentMethod'])) { 177 $message .= $this->language->get('text_response_card_type') . $card_types[strtoupper($this->request->post['paymentMethod'])] . '<br />'; 178 }FilesystemOptions.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 458 lines
1<?php 2/** 110 // disable file/directory permissions by default on windows systems 111 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { 112 $this->filePermission = false; 227 * @see setFilePermission 228 * @link http://php.net/manual/function.chmod.php 229 */ 295 * @see setDirPermission 296 * @link http://php.net/manual/function.chmod.php 297 */ 417 * @see setDirPermission 418 * @link http://php.net/manual/function.umask.php 419 * @link http://en.wikipedia.org/wiki/Umasksearch.php https://github.com/severnaya99/Sg-2010.git | PHP | 222 lines
1<?php 2// $Id: search.php,v 4.04 2008/06/05 15:35:59 wishcraft Exp $ 3// ------------------------------------------------------------------------ // 4// XOOPS - PHP Content Management System // 5// Copyright (c) 2000 XOOPS.org // 30// ------------------------------------------------------------------------ // 31include 'header.php'; 32forum_load_lang_file("search"); 35if ($xoopsConfigSearch['enable_search'] != 1) { 36 header('Location: '.XOOPS_URL.'/modules/xforum/index.php'); 37 exit(); 41$xoopsOption['template_main']= 'xforum_search.html'; 42include XOOPS_ROOT_PATH.'/header.php'; 43 43 44include_once XOOPS_ROOT_PATH.'/modules/xforum/include/search.inc.php'; 45$limit = $xoopsModuleConfig['topics_per_page'];Size.php https://bitbucket.org/brunoMaurice/youfood.git | PHP | 404 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Size.php 16971 2009-07-22 18:05:45Z mikaelkael $ 20 */ 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 109 } elseif (!is_array($options)) { 110 require_once 'Zend/Validate/Exception.php'; 111 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 184 if (!is_string($min) and !is_numeric($min)) { 185 require_once 'Zend/Validate/Exception.php'; 186 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 191 if (($max !== null) && ($min > $max)) { 192 require_once 'Zend/Validate/Exception.php'; 193 throw new Zend_Validate_Exception("The minimum must be less than or equal to the maximum filesize, but $min >"class.csstidy_print.php https://github.com/masuman/elgg-1.git | PHP | 350 lines
1<?php 2/** 23 * 24 * @license http://opensource.org/licenses/gpl-license.php GNU Public License 25 * @package csstidy 174 case PROPERTY: 175 if($this->parser->get_cfg('case_properties') == 2) $token[1] = strtoupper($token[1]); 176 if($this->parser->get_cfg('case_properties') == 1) $token[1] = strtolower($token[1]);SugarWidgetFieldname.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 310 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 40 41require_once('include/generic/SugarWidgets/SugarWidgetFieldvarchar.php'); 42 61 $key = $this->_get_column_alias($layout_def); 62 $key = strtoupper($key); 63 74 $module = 'Employees'; 75 $str = "<a target='_blank' href=\"index.php?action=DetailView&module=$module&record=$record\">"; 76 $str .= $this->displayListPlain($layout_def); 200 { 201 require_once('include/generic/SugarWidgets/SugarWidgetFieldid.php'); 202 $layout_def['name'] = 'id'; 220 { 221 require_once('include/generic/SugarWidgets/SugarWidgetFieldid.php'); 222 $layout_def['name'] = 'id';tripal_feature_interpro_results.tpl.php https://gitlab.com/vijaya.tsavatapalli/drupal7 | PHP | 235 lines
1<?php 2$feature = $variables['node']->feature; 154 // get links for the matching databases 155 $match_db = tripal_db_get_db(array('name' => strtoupper($match_dbname))); 156 if ($match_db and $match_db->url) { 230 231 <div class="tripal_feature-interpro_results_subtitle">Summary of Annotated IPR terms</div> <?php 232 print $resultsHTML;?> 232 print $resultsHTML;?> 233 </div> <?php 234 }twitter-timeline.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 244 lines
212 <label for="<?php echo $this->get_field_id( 'widget-id' ); ?>"><?php esc_html_e( 'Widget ID:', 'jetpack' ); ?> <a href="http://support.wordpress.com/widgets/twitter-timeline-widget/#widget-id" target="_blank">( ? )</a></label> 213 <input class="widefat" id="<?php echo $this->get_field_id( 'widget-id' ); ?>" name="<?php echo $this->get_field_name( 'widget-id' ); ?>" type="text" value="<?php echo esc_attr( $instance['widget-id'] ); ?>" /> 214 </p> 217 <label for="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>"><?php esc_html_e( 'Layout Options:', 'jetpack' ); ?></label><br /> 218 <input type="checkbox"<?php checked( in_array( 'noheader', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="noheader" /> <label for="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>"><?php esc_html_e( 'No Header', 'jetpack' ); ?></label><br /> 219 <input type="checkbox"<?php checked( in_array( 'nofooter', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-nofooter' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="nofooter" /> <label for="<?php echo $this->get_field_id( 'chrome-nofooter' ); ?>"><?php esc_html_e( 'No Footer', 'jetpack' ); ?></label><br /> 219 <input type="checkbox"<?php checked( in_array( 'nofooter', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-nofooter' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="nofooter" /> <label for="<?php echo $this->get_field_id( 'chrome-nofooter' ); ?>"><?php esc_html_e( 'No Footer', 'jetpack' ); ?></label><br /> 220 <input type="checkbox"<?php checked( in_array( 'noborders', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-noborders' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="noborders" /> <label for="<?php echo $this->get_field_id( 'chrome-noborders' ); ?>"><?php esc_html_e( 'No Borders', 'jetpack' ); ?></label><br /> 221 <input type="checkbox"<?php checked( in_array( 'noscrollbar', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-noscrollbar' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="noscrollbar" /> <label for="<?php echo $this->get_field_id( 'chrome-noscrollbar' ); ?>"><?php esc_html_e( 'No Scrollbar', 'jetpack' ); ?></label><br /> 221 <input type="checkbox"<?php checked( in_array( 'noscrollbar', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-noscrollbar' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="noscrollbar" /> <label for="<?php echo $this->get_field_id( 'chrome-noscrollbar' ); ?>"><?php esc_html_e( 'No Scrollbar', 'jetpack' ); ?></label><br /> 222 <input type="checkbox"<?php checked( in_array( 'transparent', $instance['chrome'] ) ); ?> id="<?php echo $this->get_field_id( 'chrome-transparent' ); ?>" name="<?php echo $this->get_field_name( 'chrome' ); ?>[]" value="transparent" /> <label for="<?php echo $this->get_field_id( 'chrome-transparent' ); ?>"><?php esc_html_e( 'Transparent Background', 'jetpack' ); ?></label> 223 </p> 231 <label for="<?php echo $this->get_field_id( 'border-color' ); ?>"><?php _e( 'Border Color (hex):', 'jetpack' ); ?></label> 232 <input class="widefat" id="<?php echo $this->get_field_id( 'border-color' ); ?>" name="<?php echo $this->get_field_name( 'border-color' ); ?>" type="text" value="<?php echo esc_attr( $instance['border-color'] ); ?>" /> 233 </p>adodb-sqlite3.inc.php https://github.com/pauln/moodle.git | PHP | 438 lines
1<?php 2/* 109 } 110 $fn = strtoupper($r['name']); 111 $fld = new ADOFieldObject; 123 } else { 124 $arr[strtoupper($fld->name)] = $fld; 125 } 411 $o = $this->FetchField($i); 412 $this->bind[strtoupper($o->name)] = $i; 413 } 415 416 return $this->fields[$this->bind[strtoupper($colname)]]; 417 }Size.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 365 lines
1<?php 2/** 331 332 switch (strtoupper($type)) { 333 case 'Y':twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
1<?php 2 26 'twitter_timeline', 27 /** This filter is documented in modules/widgets/facebook-likebox.php */ 28 apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ), 63 public function admin_scripts( $hook ) { 64 // This is still 'widgets.php' when managing widgets via the Customizer. 65 if ( 'widgets.php' === $hook ) { 78 public function widget( $args, $instance ) { 79 $instance['lang'] = substr( strtoupper( get_locale() ), 0, 2 ); 80 83 if ( isset( $instance['title'] ) ) { 84 /** This filter is documented in core/src/wp-includes/default-widgets.php */ 85 echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; 145 146 /** This action is documented in modules/widgets/social-media-icons.php */ 147 do_action( 'jetpack_bump_stats_extras', 'widget', 'twitter_timeline' );Log.php https://github.com/zeon/qpkg-piwik.git | PHP | 432 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Log.php 22632 2010-07-18 18:30:08Z ramon $ 20 */ 26 * @license http://framework.zend.com/license/new-bsd New BSD License 27 * @version $Id: Log.php 22632 2010-07-18 18:30:08Z ramon $ 28 */ 103 /** @see Zend_Log_Exception */ 104 // require_once 'Zend/Log/Exception.php'; 105 throw new Zend_Log_Exception('Configuration must be an array or instance of Zend_Config'); 136 /** @see Zend_Log_Exception */ 137 // require_once 'Zend/Log/Exception.php'; 138 throw new Zend_Log_Exception("{$writerName} does not extend Zend_Log_Writer_Abstract!"); 163 /** @see Zend_Log_Exception */ 164 // require_once 'Zend/Log/Exception.php'; 165 throw new Zend_Log_Exception("{$filterName} does not implement Zend_Log_Filter_Interface");CakeRoute.php https://github.com/gustavor/lore.git | PHP | 506 lines
1<?php 2/** 8 * 9 * PHP5 10 * 10 * 11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 18 * @link http://cakephp.org CakePHP(tm) Project 19 * @package Cake.Routing.Route 19 * @package Cake.Routing.Route 20 * @since CakePHP(tm) v 1.3 21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 187 } 188 $header = strtoupper($header); 189utils.php https://gitlab.com/Rad1calDreamer/honey | PHP | 461 lines
5 { 6 if (strtoupper(substr(PHP_OS, 0, 3)) === "WIN") 7 { 14 15 if (strpos($ffhtaccessContent, "/bitrix/virtual_file_system.php") === false) 16 { 27 "RewriteCond %{REQUEST_FILENAME} \\xF4[\\x80-\\x8F][\\x80-\\xBF]{2}\r\n". 28 "RewriteCond %{REQUEST_FILENAME} !/bitrix/virtual_file_system.php$\r\n". 29 "RewriteRule ^(.*)$ /bitrix/virtual_file_system.php [L]", $ffhtaccessContent); 56 57 if (file_exists($absolutePath."/".$dirName."/description.php")) 58 { 60 { 61 if (file_exists(($fname = $absolutePath."/".$dirName."/lang/".LangSubst(LANGUAGE_ID)."/description.php"))) 62 __IncludeLang($fname);Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
1<?php 2 120 121 $superGlobal = '_' . strtoupper($name); 122 328 $method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : ''; 329 $method = strtoupper($method); 330Form.php https://github.com/outlawscumbag/symfony.git | PHP | 390 lines
1<?php 2 124 /** 125 * Gets the field values as PHP. 126 * 127 * This method converts fields with th array notation 128 * (like foo[bar] to arrays) like PHP does. 129 * 133 */ 134 public function getPhpValues() 135 { 142 /** 143 * Gets the file field values as PHP. 144 * 145 * This method converts fields with th array notation 146 * (like foo[bar] to arrays) like PHP does. 147 *UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $ 26*/ 34 35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php'; 36 58 59 $this->recoveryFile = MAX_PATH.'/var/plugins/recover/'.strtoupper($this->aComponentGroup['name']); 60 /*$this->nobackupsFile = MAX_PATH.$pluginPath.'NOBACKUPS'; 60 /*$this->nobackupsFile = MAX_PATH.$pluginPath.'NOBACKUPS'; 61 $this->postTaskFile = MAX_PATH.$pluginPath.'TASKS.php';*/ 62OLERead.php https://github.com/nysenate/Bluebird-CRM.git | PHP | 348 lines
1<?php 2 2 3namespace PhpOffice\PhpSpreadsheet\Shared; 4 4 5use PhpOffice\PhpSpreadsheet\Reader\Exception as ReaderException; 6 290 // tmp helper to simplify checks 291 $upName = strtoupper($name); 292 335 // FIX: represent numbers correctly on 64-bit system 336 // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334 337 // Changed by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systemsController.class.php https://gitlab.com/fangfangchen/xianpipa | PHP | 307 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ] 4// +---------------------------------------------------------------------- 4// +---------------------------------------------------------------------- 5// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved. 6// +---------------------------------------------------------------------- 12/** 13 * ThinkPHP 控制器基类 抽象类 14 */ 211 if(empty($type)) $type = C('DEFAULT_AJAX_RETURN'); 212 switch (strtoupper($type)){ 213 case 'JSON' :TableProcessor.php https://gitlab.com/staging06/myproject | PHP | 356 lines
1<?php 2/** 2/** 3 * TableProcessor.php 4 * 32 33require_once(dirname(__FILE__) . '/AbstractProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 35require_once(dirname(__FILE__) . '/../utils/ExpressionType.php'); 36 89 90 $upper = strtoupper($trim); 91 switch ($upper) {all_patient.php https://gitlab.com/sharadmohajan/xyz | PHP | 291 lines
110 <div class="form-group"> 111 <input type="text" name="search"placeholder="Search" value="<?php if(isset($_GET['search'])){echo $catchSearch;}?>" id="search"> 112 <button type="submit" class="glyphicon glyphicon-search"></button> 207 <td><?php echo $info->room_id ?></td> 208 <td><a href="patient_view.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-info" role="button">View</a> 209 <a href="patient_edit.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-primary" role="button">Edit</a> 210 <a href="patient_delete.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-danger" role="button">Delete</a> 211 <a href="create_prescribe.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-info" role="button">Create Prescription</a> 212 <a href="prescribe.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-info" role="button">Prescription</a> 212 <a href="prescribe.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-info" role="button">Prescription</a> 213 <a href="release_patient.php?patient_id=<?php echo $info->patient_id ?>&room_id=<?php echo $info->room_id ?>" class="btn btn-info" role="button">Release</a> 214 221 <center> 222 <?php if((strtoupper($_SERVER['REQUEST_METHOD']=='GET'))&&(empty($_GET['search']))) { ?> 223 <ul class="pagination">mb.inc.php https://github.com/cpg-contrib/coppermine.git | PHP | 166 lines
1<?php 2/************************* 28 29# PHP 4 >= 4.0.6, PHP 5 30if (!function_exists('mb_strlen')) { 45 46# PHP 4 >= 4.3.0, PHP 5 47if (!function_exists('mb_strtolower')) { 53 54if (!function_exists('mb_strtoupper')) { 55 function mb_strtoupper($str) {generator.php https://github.com/russenreaktor/mkPhpSurvey.git | PHP | 589 lines
1<?php 2 2 3include("resources/class.database.php"); 4$database = new Database(); 5 6$generatorName = "mkPhpDbClassGenerator"; 7$generatorVer = "0.3"; 31 32<font face="Arial" size="3"><b>PHP MYSQL Class Generator</b></font> 33 35 36<form action="generator.php" method="POST" name="FORMGEN"> 37 42 43<?php 44$database->OpenLink();SqliteMetadata.php https://bitbucket.org/saifshuvo/zf2.git | PHP | 392 lines
1<?php 2/** 179 // TODO: Verify match, on_update, and on_delete values conform to SQL Standard 180 'match_option' => strtoupper($fk['match']), 181 'update_rule' => strtoupper($fk['on_update']), 181 'update_rule' => strtoupper($fk['on_update']), 182 'delete_rule' => strtoupper($fk['on_delete']), 183 ); 325 326 $data['event_manipulation'] = strtoupper($data['event_manipulation']); 327 if (empty($data['action_condition'])) { 330 if (!empty($data['action_timing'])) { 331 $data['action_timing'] = strtoupper($data['action_timing']); 332 if ('I' == $data['action_timing'][0]) {class-wc-shipping-zone.php https://gitlab.com/hunt9310/ras | PHP | 469 lines
1<?php 2 353 if ( 'postcode' === $type ) { 354 $code = trim( strtoupper( str_replace( chr( 226 ) . chr( 128 ) . chr( 166 ), '...', $code ) ) ); // No normalization - postcodes are matched against both normal and formatted versions to support wildcards. 355 }paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
1<?php 2/** 64 65 $paypal['currency'] = strtoupper($paypal['mc_currency']); // Normalize input currency. 66 $paypal['currency_symbol'] = c_ws_plugin__s2member_utils_cur::symbol($paypal['currency']);HeadStyle.php https://github.com/sidealice/zf2.git | PHP | 426 lines
1<?php 2/** 84 * 85 * Set separator to PHP_EOL. 86 * 91 parent::__construct(); 92 $this->setSeparator(PHP_EOL); 93 } 107 if ((null !== $content) && is_string($content)) { 108 switch (strtoupper($placement)) { 109 case 'SET': 357 358 $escapeStart = $indent . '<!--'. PHP_EOL; 359 $escapeEnd = $indent . '-->'. PHP_EOL; 367 368 $html = '<style type="text/css"' . $attrString . '>' . PHP_EOL 369 . $escapeStart . $indent . $item->content . PHP_EOL . $escapeEndcomposite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
14 */ 15require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 17define("HELP_FILE", "settings/composite_pages.php"); 18 121//Sorting 122$sortBy = mb_strtoupper($sorting->getField()); 123$sortBy = $logEntity->hasField($sortBy) ? $sortBy : "ID"; 123$sortBy = $logEntity->hasField($sortBy) ? $sortBy : "ID"; 124$sortOrder = mb_strtoupper($sorting->getOrder()); 125$sortOrder = $sortOrder !== "DESC" ? "ASC" : "DESC"; 221 $messageCell = 222 '<a href="composite_diff.php?lang='.LANGUAGE_ID.'&log_id='.$record["ID"].'" target="_blank">'. 223 Loc::getMessage("MAIN_COMPOSITE_LOG_VIEW_DIFF").'</a>';index.php https://gitlab.com/tanvir/Library-Management-System | PHP | 322 lines
196 <select class="form-control" id="sel1" name="itemPerPage" onchange='this.form.submit()'> 197 <option<?php if($itemPerPage==5){?> selected <?php }?>>5</option> 198 <option<?php if($itemPerPage==10){?> selected <?php }?>>10</option> 241 <a href="edit.php?book_id=<?php echo $book->book_id ?>" ><i class="fa fa-edit"></i></a> 242 <a href="delete.php?book_id=<?php echo $book->book_id ?>"><i class="fa fa-trash"></i></a> 243 </td> 249 250 <?php if(strtoupper($_SERVER['REQUEST_METHOD']=='GET')) { ?> 251 <ul class="pagination navbar-right"> 252 <?php if( $pageNo > 1 ): ?> 253 <li><a href="index.php?pageNo=<?php $prev = $pageNo-1; echo $prev; ?>">Prev</a></li> 254 <?php endif; ?> 258 <?php if( $pageNo < $noOfPage ): ?> 259 <li><a href="index.php?pageNo=<?php $next = $pageNo+1; echo $next;?>">Next</a></li> 260 <?php endif; ?>postgresql.php https://gitlab.com/ricardosanchez/prueba | PHP | 641 lines
1<?php 2/** 328 { 329 $glue = strtoupper($glue); 330 $this->forUpdate = new JDatabaseQueryElement('FOR UPDATE', 'OF ' . $table_name, "$glue "); 355 { 356 $glue = strtoupper($glue); 357 $this->forShare = new JDatabaseQueryElement('FOR SHARE', 'OF ' . $table_name, "$glue ");RbacUsers.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 288 lines
1<?php 2 3/** 4 * RbacUsers.php 5 * @package rbac-classes-model 29 */ 30require_once 'classes/model/om/BaseRbacUsers.php'; 31 82 //if ( $aFields['USR_PASSWORD'] == md5 ($sPassword ) ) { 83 if (mb_strtoupper($sUsername, 'utf-8') === mb_strtoupper($aFields['USR_USERNAME'], 'utf-8')) { 84 if ($aFields['USR_PASSWORD'] == md5($sPassword) ||php.js https://gitlab.com/manuvelasco/agostoliquida | JavaScript | 140 lines
32 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 33 builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"), 34 multiLineStrings: true, 63 var htmlMode = CodeMirror.getMode(config, "text/html"); 64 var phpMode = CodeMirror.getMode(config, phpConfig); 65 91 return style; 92 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 93 state.curMode = htmlMode; 112 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 113 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 114 if (state.curMode == htmlMode) cur = htmlNew; 138 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 139 CodeMirror.defineMIME("text/x-php", phpConfig); 140});EsmtpTransport.php https://gitlab.com/x33n/platform | PHP | 370 lines
1<?php 2 331 if (preg_match('/^[0-9]{3}[ -]([A-Z0-9-]+)((?:[ =].*)?)$/Di', $line, $matches)) { 332 $keyword = strtoupper($matches[1]); 333 $paramStr = strtoupper(ltrim($matches[2], ' ='));adodb-sqlite.inc.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 399 lines
1<?php 2/* 99 $size = trim($type[1],')'); 100 $fn = strtoupper($r['name']); 101 $fld = new ADOFieldObject; 109 if ($save == ADODB_FETCH_NUM) $arr[] = $fld; 110 else $arr[strtoupper($fld->name)] = $fld; 111 } 375 $o = $this->FetchField($i); 376 $this->bind[strtoupper($o->name)] = $i; 377 } 379 380 return $this->fields[$this->bind[strtoupper($colname)]]; 381 }TextStatistics.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 414 lines
1<?php 2/** 17 * 18 * @link http://code.google.com/p/php-text-statistics/ 19 * @link https://github.com/DaveChild/Text-Statistics (new repo location) 19 * @link https://github.com/DaveChild/Text-Statistics (new repo location) 20 * @license http://www.opensource.org/licenses/bsd-license.php New BSD license 21 * 186 /** 187 * Converts string to upper case. Tries mb_strtoupper and if that fails uses regular strtoupper. 188 * 193 if ( ! $this->blnMbstring ) { 194 return strtoupper( $strText ); 195 } 198 if ( $this->strEncoding == '' ) { 199 $strUpperCaseText = mb_strtoupper( $strText ); 200 } else {SCFields.php https://gitlab.com/ptisky/API_prestashop | PHP | 313 lines
1<?php 2/** 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/afl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2016 PrestaShop SA 23* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 26 27require_once(dirname(__FILE__).'/SCError.php'); 28 221 222 include dirname(__FILE__).'/../backward_compatibility/backward.php'; 223 234 { 235 return array_key_exists(Tools::strtoupper(trim($name)), $this->fields[$this->delivery_mode]); 236 }class-mb-include-exclude.php https://gitlab.com/code26/selah | PHP | 379 lines
1<?php 2/** 64 $conditions = $meta_box[ $type ]; 65 $relation = isset( $conditions['relation'] ) && in_array( strtoupper( $conditions['relation'] ), array( 'AND', 'OR' ), true ) ? strtoupper( $conditions['relation'] ) : 'OR'; 66 274 */ 275 if ( isset( $GLOBALS['pagenow'] ) && 'user-edit.php' === $GLOBALS['pagenow'] ) { 276 // If edit other's profile, check edited user. 283 return ! empty( $roles ); 284 } elseif ( isset( $GLOBALS['pagenow'] ) && 'profile.php' === $GLOBALS['pagenow'] ) { 285 // If edit profile, check current user. 298 protected static function check_edited_user_id( $user_ids ) { 299 if ( isset( $GLOBALS['pagenow'] ) && 'user-edit.php' === $GLOBALS['pagenow'] ) { 300 // If edit other's profile, check edited user. 303 return in_array( $user_id, self::csv_to_array( $user_ids ) ); 304 } elseif ( isset( $GLOBALS['pagenow'] ) && 'profile.php' === $GLOBALS['pagenow'] ) { 305 // If edit profile, check current user.Abstract.php https://github.com/grandison/budo16.git | PHP | 614 lines
1<?php 2/** 8 * @license http://www.socialengine.net/license/ 9 * @version $Id: Abstract.php 7244 2010-09-01 01:49:53Z john $ 10 */ 524 { 525 $type = strtoupper($type); 526 if( !isset($this->_loaders[$type]) ) {str.php https://bitbucket.org/codeyash/bootstrap.git | PHP | 416 lines
1<?php 2/** 9 * @copyright 2010 - 2013 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 17 * 18 * PHP needs to be compiled with --enable-mbstring 19 * or a fallback without encoding support is used 179 180 return function_exists('mb_strtoupper') 181 ? mb_strtoupper($str, $encoding) 181 ? mb_strtoupper($str, $encoding) 182 : strtoupper($str); 183 } 187 * 188 * Does not strtoupper first 189 *str.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 416 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 17 * 18 * PHP needs to be compiled with --enable-mbstring 19 * or a fallback without encoding support is used 179 180 return function_exists('mb_strtoupper') 181 ? mb_strtoupper($str, $encoding) 181 ? mb_strtoupper($str, $encoding) 182 : strtoupper($str); 183 } 187 * 188 * Does not strtoupper first 189 *arrayhelper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 461 lines
1<?php 2/** 268 // Handle the type constraint 269 switch (strtoupper($type)) 270 { 436 * 437 * @see http://php.net/manual/en/function.array-unique.php 438 * @since 11.2FreeBusyGenerator.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 322 lines
1<?php 2 157 $FBTYPE = 'BUSY'; 158 if (isset($component->TRANSP) && (strtoupper($component->TRANSP) === 'TRANSPARENT')) { 159 break; 161 if (isset($component->STATUS)) { 162 $status = strtoupper($component->STATUS); 163 if ($status==='CANCELLED') { 237 238 $fbType = isset($freebusy['FBTYPE'])?strtoupper($freebusy['FBTYPE']):'BUSY'; 239ValidFunctionNameSniff.php https://github.com/amumu/modev.git | PHP | 270 lines
17if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) { 18 throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found'); 19} 80 * 81 * @param PHP_CodeSniffer_File $phpcsFile The file being processed. 82 * @param int $stackPtr The position where this token was 87 */ 88 protected function processTokenWithinScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $currScope) 89 { 164 * 165 * @param PHP_CodeSniffer_File $phpcsFile The file being processed. 166 * @param int $stackPtr The position where this token was 170 */ 171 protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 172 {Util.php https://gitlab.com/CORP-RESELLER/shopping-cart-lite | PHP | 303 lines
1<?php 2/** 3 * Braintree Utility methods 4 * PHP version 5 5 * 135 { 136 // php doesn't garbage collect functions created by create_function() 137 // so use a static variable to avoid adding a new function to memory 140 if ($callback === null) { 141 $callback = create_function('$matches', 'return strtoupper($matches[1]);'); 142 } 168 { 169 // php doesn't garbage collect functions created by create_function() 170 // so use a static variable to avoid adding a new function to memoryInputDefinition.php https://gitlab.com/guillaumev/alkarama | PHP | 460 lines
1<?php 2 184 { 185 return $this->hasAnArrayArgument ? PHP_INT_MAX : count($this->arguments); 186 } 385 $option->isValueOptional() ? '[' : '', 386 strtoupper($option->getName()), 387 $option->isValueOptional() ? ']' : ''HttpClient.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 387 lines
1<?php 2 14 * 15 * PHP version 5 16 * 18 * @package WindowsAzure\Common\Internal\Http 19 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 20 * @copyright 2012 Microsoft Corporation 21 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 22 * @link https://github.com/windowsazure/azure-sdk-for-php 23 */ 32 33require_once 'HTTP/Request2.php'; 34 39 * @package WindowsAzure\Common\Internal\Http 40 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 41 * @copyright 2012 Microsoft CorporationStringUtil.class.php https://github.com/KomHunter2/WCF.git | PHP | 564 lines
9 * @copyright 2001-2009 WoltLab GmbH 10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> 11 * @package com.woltlab.wcf 114 /** 115 * alias to php trim() function 116 * 264 /** 265 * alias to php substr() function. 266 */ 279 /** 280 * alias to php strtoupper() function. 281 */ 282 public static function toUpperCase($string) { 283 return mb_strtoupper($string); 284 }Nirvanix.php https://github.com/kervin/kyzstudio.git | PHP | 399 lines
1<?php 2/** 19 20#require_once 'Zend/Cloud/StorageService/Adapter.php'; 21#require_once 'Zend/Cloud/StorageService/Exception.php'; 21#require_once 'Zend/Cloud/StorageService/Exception.php'; 22#require_once 'Zend/Service/Nirvanix.php'; 23 138 } catch(Zend_Service_Nirvanix_Exception $e) { 139// if (trim(strtoupper($e->getMessage())) != 'INVALID PATH') { 140// // TODO Differentiate among errors in the Nirvanix adapter 201 { 202 #require_once 'Zend/Cloud/OperationNotAvailableException.php'; 203 throw new Zend_Cloud_OperationNotAvailableException('Renaming not implemented');ParameterTest.php https://gitlab.com/x33n/respond | PHP | 416 lines
1<?php 2 86 $d['static'] = null; 87 $d['filters'] = 'strtoupper'; 88 $p = new Parameter($d);Nirvanix.php https://github.com/mrbanzai/zf2.git | PHP | 403 lines
1<?php 2/** 143 } catch(Zend\Service\Nirvanix\Exception $e) { 144// if (trim(strtoupper($e->getMessage())) != 'INVALID PATH') { 145// // TODO Differentiate among errors in the Nirvanix adapterSQLQuery.php https://github.com/benbruscella/vpcounselling.com.git | PHP | 478 lines
1<?php 2/** 199 if(isset($orderby['sort']) && !empty($orderby['sort']) && isset($orderby['dir']) && !empty($orderby['dir'])) { 200 $combinedOrderby = "\"" . Convert::raw2sql($orderby['sort']) . "\" " . Convert::raw2sql(strtoupper($orderby['dir'])); 201 } elseif(isset($orderby['sort']) && !empty($orderby['sort'])) { 211 // Some versions of MySQL choke if you have a group function referenced directly in the ORDER BY 212 if($combinedOrderby && strpos($combinedOrderby,'(') !== false && strtoupper(trim($combinedOrderby)) != DB::getConn()->random()) { 213 // Sort can be "Col1 DESC|ASC, Col2 DESC|ASC", we need to handle thatfunctions.inc.php https://bitbucket.org/vsposato/vivo-tools.git | PHP | 520 lines
26 * PHP License, version 3.0 or later. A copy of this license should have 27 * been distributed with this file in the file LICENSE.PHP . If this is not 28 * the case, you can obtain a copy at http://www.php.net/license/3_0.txt. 94 var_dump($mixed); 95 if ( php_sapi_name() !== "cli") 96 echo("</pre>"); 133 //($url[1] !== ':' || ($url[2]!=='\\' && $url[2]!=='/')) 134 if ($url[0] !== '/' && (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN' || ($url[0] !== '\\' && $url[1] !== ':'))) { 135 // For rel path and local acess we ignore the host, and run the path through realpath() 395 * 396 * @see http://www.php.net/manual/en/function.set-error_handler.php 397 * 506 * 507 * @link http://us.php.net/manual/en/function.sys-get-temp-dir.php#85261 508 */iblock_admin.php https://gitlab.com/Rad1calDreamer/honey | PHP | 484 lines
1<? 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3CModule::IncludeModule("iblock"); 3CModule::IncludeModule("iblock"); 4require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/iblock/prolog.php"); 5IncludeModuleLangFile(__FILE__); 8if($arIBTYPE===false) 9 LocalRedirect("/bitrix/admin/iblock_type_admin.php?lang=".LANGUAGE_ID); 10 19$oSort = new CAdminSorting($sTableID, "TIMESTAMP_X", "desc"); 20$arOrder = (strtoupper($by) === "ID"? array($by => $order): array($by => $order, "ID" => "ASC")); 21$lAdmin = new CAdminList($sTableID, $oSort); 248 { 249 $row =& $lAdmin->AddRow($f_ID, $dbrs, 'iblock_edit.php?ID='.$f_ID.'&type='.htmlspecialcharsbx($type).'&lang='.LANGUAGE_ID.'&admin='.($_REQUEST["admin"]=="Y"? "Y": "N"), GetMessage("IBLOCK_ADM_TO_EDIT")); 250 }Form.php https://gitlab.com/matijabelec/bigpandadev | PHP | 499 lines
1<?php 2 142 /** 143 * Gets the field values as PHP. 144 * 145 * This method converts fields with the array notation 146 * (like foo[bar] to arrays) like PHP does. 147 * 151 */ 152 public function getPhpValues() 153 { 167 /** 168 * Gets the file field values as PHP. 169 * 170 * This method converts fields with the array notation 171 * (like foo[bar] to arrays) like PHP does. 172 *WindDate.php https://gitlab.com/wuhang2003/phpwind | PHP | 332 lines
1<?php 2/** 5 * @author Qian Su <aoxue.1988.su.qian@163.com> 6 * @copyright ©2003-2103 phpwind.com 7 * @license http://www.windframework.com 7 * @license http://www.windframework.com 8 * @version $Id: WindDate.php 2973 2011-10-15 19:22:48Z yishuo $ 9 * @package utility 248 $oldTimezone = self::getTimezone(); 249 if ('UTC' !== strtoupper($oldTimezone)) { 250 self::setTimezone('UTC'); 252 $date = date('D, d M y H:i:s e', self::getTimeStamp($dateTime)); 253 if ('UTC' !== strtoupper($oldTimezone)) { 254 self::setTimezone($oldTimezone);PredisClusterHashStrategy.php https://bitbucket.org/helfreire/tccsite.git | PHP | 388 lines
1<?php 2 186 { 187 $commandId = strtoupper($commandId); 188sajax.php https://bitbucket.org/dgough/annamaria-daneswood-25102012.git | PHP | 416 lines
1<?php 2// ensure this file is being included by a parent file - Joomla! 1.0.x and 1.5 compatible 30 31 // Since str_split used in sajax_get_my_uri is only available on PHP 5, we have 32 // to provide an alternative for those using PHP 4.x 58 if ($myURI == "") { 59 $myURI = $mosConfig_live_site . "/administrator/index2.php"; 60 } 74 //global $mosConfig_live_site; 75 // $sajax_remote_uri = $mosConfig_live_site . "/administrator/index2.php?option=$option&no_html=1&act=ajax"; 76 $sajax_remote_uri = sajax_get_my_uri(); 180 181 $t = strtoupper($sajax_request_type); 182 if ($t != "" && $t != "GET" && $t != "POST") 189 // (c) copyright 2005 modernmethod, inc 190 var sajax_debug_mode = <?php echo $sajax_debug_mode ? "true" : "false"; ?>; 191 var sajax_request_type = "<?php echo $t; ?>";A2B_invoice_view.php https://github.com/hellbound/a2billing-mod.git | PHP | 301 lines
129$currencies_list = get_currencies(); 130if (!isset($currencies_list[strtoupper($curr)][2]) || !is_numeric($currencies_list[strtoupper($curr)][2])) {$mycur = 1;$display_curr=strtoupper(BASE_CURRENCY);} 131else {$mycur = $currencies_list[strtoupper($curr)][2];$display_curr=strtoupper($curr);} 139?> 140<a href="javascript:;" onClick="MM_openBrWindow('<?php echo $PHP_SELF ?>?popup_select=1&id=<?php echo $id ?>','','scrollbars=yes,resizable=yes,width=700,height=500')" > <img src="./templates/default/images/printer.png" title="Print" alt="Print" border="0"></a> 141 159 <div class="address"><span class="street"><?php echo $card['address'] ?></span> </div> 160 <div class="zipcode-city"><span class="zipcode"><?php echo $card['zipcode'] ?></span> <span class="city"><?php echo $card['city'] ?></span></div> 161 <div class="country break"><?php echo $card_country ?></div> 173 <div class="address"><span class="street"><?php echo $address ?></span> </div> 174 <div class="zipcode-city"><span class="zipcode"><?php echo $zipcode ?></span> <span class="city"><?php echo $city ?></span></div> 175 <div class="country break"><?php echo $country ?></div> 179 <div class="web"><?php echo $web ?></div> 180 <div class="vat-number"><?php echo gettext("VAT nr.")." : ".$vat_invoice; ?></div> 181 </div>form.php https://bitbucket.org/shadywallas/user-management-system.git | PHP | 618 lines
1<?php namespace Laravel; 2 55 { 56 $method = strtoupper($method); 57Nirvanix.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 399 lines
1<?php 2/** 19 20require_once 'Zend/Cloud/StorageService/Adapter.php'; 21require_once 'Zend/Cloud/StorageService/Exception.php'; 21require_once 'Zend/Cloud/StorageService/Exception.php'; 22require_once 'Zend/Service/Nirvanix.php'; 23 138 } catch(Zend_Service_Nirvanix_Exception $e) { 139// if (trim(strtoupper($e->getMessage())) != 'INVALID PATH') { 140// // TODO Differentiate among errors in the Nirvanix adapter 201 { 202 require_once 'Zend/Cloud/OperationNotAvailableException.php'; 203 throw new Zend_Cloud_OperationNotAvailableException('Renaming not implemented');OperationResponseParserTest.php https://gitlab.com/techniconline/kmc | PHP | 335 lines
1<?php 2 156 'type' => 'string', 157 'filters' => 'strtoupper' 158 )FlatTableBuilder.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 378 lines
1<?php 2/** 13 * Class FlatTableBuilder 14 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 15 */ 116 * @throws \Magento\Framework\Exception\LocalizedException 117 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 118 * @SuppressWarnings(PHPMD.NPathComplexity) 142 $indexProps = array_values($indexesNeed); 143 $upperPrimaryKey = strtoupper(\Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_PRIMARY); 144 foreach ($indexProps as $i => $indexProp) { 149 ); 150 $indexProp['type'] = strtoupper($indexProp['type']); 151 if ($indexProp['type'] == $upperPrimaryKey) {xpdoquery.class.php https://github.com/krisj/revolution.git | PHP | 294 lines
1<?php 2/* 28/** Include the base {@see xPDOQuery} class */ 29include_once (dirname(dirname(__FILE__)) . '/xpdoquery.class.php'); 30 47 $fieldMeta= $this->xpdo->getFieldMeta($this->_class); 48 $command= strtoupper($this->query['command']); 49 $alias= $command == 'SELECT' ? $this->_class : $this->xpdo->getTableName($this->_class, false); 58 } 59 $isString= in_array($fieldMeta[$k]['phptype'], $this->_quotable); 60 $field= array(); 110 } 111 elseif (isset($fieldMeta[$key]) && !in_array($fieldMeta[$key]['phptype'], $this->_quotable)) { 112 $type= PDO::PARAM_INT; 116 } 117 if (in_array(strtoupper($operator), array('IN', 'NOT IN')) && is_array($val)) { 118 $vals = array();Task.php https://github.com/rmasters/todo.txt-php.git | PHP | 306 lines
1<?php 2 157 if (isset($this->priority)) { 158 $task .= sprintf("(%s) ", strtoupper($this->priority)); 159 }QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
1<?php 2 178 179 $groups[$group]['type'] = strtoupper($type); 180 return $group; 189 public function setGroupOperator($type = 'AND') { 190 $this->groupOperator = strtoupper($type); 191 }page_source.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 291 lines
1<?php 2# ACS 20 foreach ($modeles as $m=>$src) { 21 $modeles_regexp .= '#'.strtoupper($m).'|'; 22 }Mssql.php https://github.com/jorgenils/zend-framework.git | PHP | 326 lines
1<?php 2 27 */ 28require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 29 92 $seperator = ':'; 93 if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { 94 $seperator = ','; 100 // this driver supports multiple DSN prefixes 101 // @see http://www.php.net/manual/en/ref.pdo-dblib.connection.php 102 if (isset($dsn['pdoType'])) { 268 /** @see Zend_Db_Adapter_Exception */ 269 require_once 'Zend/Db/Adapter/Exception.php'; 270 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 275 /** @see Zend_Db_Adapter_Exception */ 276 require_once 'Zend/Db/Adapter/Exception.php'; 277 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");class.wpcom-json-api-sharing-buttons-endpoint.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 385 lines
1<?php 2 44 if ( 'url' === strtolower( $key ) ) { 45 $key = strtoupper( $key ); 46 }Wkt.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 553 lines
1<?php 2/** 2/** 3 * PHP Geometry/WKT encoder/decoder 4 * 153 154 return strtoupper($type).'('.$data.')'; 155 } 189 { 190 $array[] = strtoupper(get_class($geom)).'('.$this->extract($geom).')'; 191 }HiveMail_122.php https://github.com/axxtel/agilebill.git | PHP | 360 lines
1<?php 2 243 $db2 = $dbm->DB_connect(false, $this->map['map']); 244 eval ( '@$db_prefix = DB2_PREFIX'. strtoupper($this->map['map']) .';' ); 245 $sql = "SELECT username FROM " . 290 $db2 = $dbm->DB_connect(false, $this->map['map']); 291 eval ( '@$db_prefix = DB2_PREFIX'. strtoupper($this->map['map']) .';' ); 292 $sql = "DELETE FROM " .Bootup.php https://bitbucket.org/helfreire/tccsite.git | PHP | 255 lines
1<?php // vi: set fenc=utf-8 ts=4 sw=4 et: 2/* 30 { 31 function_exists('utf8_encode') or require __DIR__ . '/Bootup/utf8_encode.php'; 32 } 40 { 41 user_error('php.ini settings: Please disable mbstring.encoding_translation or set mbstring.http_input to "pass"', E_USER_WARNING); 42 } 45 { 46 user_error('php.ini settings: Please disable mbstring.func_overload', E_USER_WARNING); 47 } 77 { 78 require __DIR__ . '/Bootup/mbstring.php'; 79 } 105 { 106 require __DIR__ . '/Bootup/iconv.php'; 107 }GetSetMethodNormalizer.php https://gitlab.com/mohamedchiheb.bida/workshopFOS | PHP | 318 lines
1<?php 2 256 '/(^|_|\.)+(.)/', function ($match) { 257 return ('.' === $match[1] ? '_' : '').strtoupper($match[2]); 258 }, $attributeNameclass-wp-image-editor-imagick.php https://gitlab.com/haque.mdmanzurul/wp-archivefusetheme | PHP | 511 lines
1<?php 2/** 9/** 10 * WordPress Image Editor Class for Image Manipulation through Imagick PHP Module 11 * 45 46 if ( version_compare( phpversion( 'imagick' ), '2.2.0', '<' ) ) 47 return false; 88 public static function supports_mime_type( $mime_type ) { 89 $imagick_extension = strtoupper( self::get_extension( $mime_type ) ); 90 122 /** This filter is documented in wp-includes/class-wp-image-editor-imagick.php */ 123 // Even though Imagick uses less PHP memory than GD, set higher limit for users that have low PHP.ini limits 124 @ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) ); 436 try { 437 $this->image->setImageFormat( strtoupper( $this->get_extension( $this->mime_type ) ) ); 438 }helper.php https://github.com/ianmacl/joomla-platform.git | PHP | 415 lines
1<?php 2/** 141 $filterData = $filters->$groupId; 142 $filterType = strtoupper($filterData->filter_type); 143 320 321 $path = JPATH_COMPONENT . '/' . $file . '.php'; 322CreditCard.php https://github.com/michaelmcandrew/vaw.git | PHP | 297 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 5 * 6 * PHP Versions 4 and 5 7 * 10 * the world-wide-web at 11 * http://www.opensource.org/licenses/bsd-license.php 12 * If you did not receive a copy of the new BSDlicense and are unable 13 * to obtain it through the world-wide-web, please send a note to 14 * pajoye@php.net so we can mail you a copy immediately. 15 * 20 * @copyright 1997-2005 Stefan Neufeind 21 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 22 * @version CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $ 22 * @version CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $ 23 * @link http://pear.php.net/package/Validate_Finance_CreditCard 24 */bp-settings-actions.php https://bitbucket.org/Red54/dianjihun.git | PHP | 351 lines
1<?php 2 30 // Bail if not a POST action 31 if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) 32 return; 222 // Bail if not a POST action 223 if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) 224 return; 268 // Bail if not a POST action 269 if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) 270 return; 317 // Bail if not a POST action 318 if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) 319 return;%%02^022^02283FE3%%ConvertLead.tpl.php https://github.com/joshbhamilton/sugar.git | PHP | 223 lines
1<?php /* Smarty version 2.6.11, created on 2011-09-01 16:50:26 2 compiled from modules/Leads/tpls/ConvertLead.tpl */ ?> 2 compiled from modules/Leads/tpls/ConvertLead.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'modules/Leads/tpls/ConvertLead.tpl', 41, false),array('function', 'sugar_field', 'modules/Leads/tpls/ConvertLead.tpl', 88, false),array('function', 'sugar_evalcolumn', 'modules/Leads/tpls/ConvertLead.tpl', 155, false),array('modifier', 'strtoupper', 'modules/Leads/tpls/ConvertLead.tpl', 83, false),array('modifier', 'count', 'modules/Leads/tpls/ConvertLead.tpl', 111, false),)), $this); ?> 43<span class="color">{$ERROR}</span> 44<?php $_from = $this->_tpl_vars['sectionPanels']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['section'] = array('total' => count($_from), 'iteration' => 0); 45if ($this->_foreach['section']['total'] > 0): 70" onclick="toggleDisplay('create<?php echo $this->_tpl_vars['module']; ?> 71');<?php if (! empty ( $this->_tpl_vars['def']['select'] )): ?>toggle<?php echo $this->_tpl_vars['module']; ?> 72Select();<?php endif; ?>"> 104<?php if (! empty ( $this->_tpl_vars['def']['select'] )): ?> 105 {sugar_translate label='LNK_SELECT_<?php echo ((is_array($_tmp=$this->_tpl_vars['module'])) ? $this->_run_mod_handler('strtoupper', true, $_tmp) : strtoupper($_tmp)); ?> 106' module='Leads'} 192 <td valign="top" width='<?php echo $this->_tpl_vars['def']['templateMeta']['widths'][($this->_foreach['colIteration']['iteration']-1)]['field']; ?> 193%' <?php if ($this->_tpl_vars['colData']['colspan']): ?>colspan='<?php echo $this->_tpl_vars['colData']['colspan']; ?> 194'<?php endif; ?>>SimulasiController.php https://bitbucket.org/gungun/contoh_program.git | PHP | 283 lines
1<?php 2 12 */ 13require_once 'BaseController.php'; 14class SimulasiController extends Web_BaseController { 41 42 if (trim(strtoupper($TipeAngsuran)) == 'ADV') $fTotalBayarAwal = $fUangMuka + $fAngsuranbulanan; 43lib.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 202 lines
1<?php 2 25 */ 26require_once($CFG->dirroot . '/repository/lib.php'); 27require_once($CFG->libdir.'/webdavlib.php'); 132 if ($path != $v['href']) { 133 $folders[strtoupper($title)] = array( 134 'title'=>rtrim($title, '/'), 143 $size = !empty($v['getcontentlength'])? $v['getcontentlength']:''; 144 $files[strtoupper($title)] = array( 145 'title'=>$title,Locale.php https://bitbucket.org/d1rk/lithium.git | PHP | 304 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 5 * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD License 7 */ 55 'script' => array('formatter' => array('strtolower', 'ucfirst')), 56 'territory' => array('formatter' => 'strtoupper'), 57 'variant' => array('formatter' => 'strtoupper')Size.php https://github.com/grjones/qframe.git | PHP | 404 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Size.php 22697 2010-07-26 21:14:47Z alexander $ 20 */ 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 109 } elseif (!is_array($options)) { 110 require_once 'Zend/Validate/Exception.php'; 111 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 183 if (!is_string($min) and !is_numeric($min)) { 184 require_once 'Zend/Validate/Exception.php'; 185 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 190 if (($max !== null) && ($min > $max)) { 191 require_once 'Zend/Validate/Exception.php'; 192 throw new Zend_Validate_Exception("The minimum must be less than or equal to the maximum filesize, but $min >"SieveClient.class.php https://github.com/treuter/xp-framework.git | PHP | 479 lines
1<?php 2/* This class is part of the XP framework 116 case 'SIEVE': 117 $this->_sinfo[$key]= explode(' ', strtoupper($value)); 118 break;Size.php https://gitlab.com/rsilveira1987/Expresso | PHP | 405 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 110 } elseif (!is_array($options)) { 111 require_once 'Zend/Validate/Exception.php'; 112 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 184 if (!is_string($min) and !is_numeric($min)) { 185 require_once 'Zend/Validate/Exception.php'; 186 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 191 if (($max !== null) && ($min > $max)) { 192 require_once 'Zend/Validate/Exception.php'; 193 throw new Zend_Validate_Exception("The minimum must be less than or equal to the maximum filesize, but $min >" 226 if (!is_string($max) && !is_numeric($max)) { 227 require_once 'Zend/Validate/Exception.php'; 228 throw new Zend_Validate_Exception ('Invalid options to validator provided');image.class.php https://github.com/konfirm/konsolidate.git | PHP | 442 lines
1<?php 2 228 { 229 switch( strToUpper( $sType ) ) 230 {Compass.php https://github.com/vivid-planet/library.git | PHP | 511 lines
1<?php 2require_once dirname(__FILE__) . '/../ExtensionInterface.php'; 68 $originalFunction = $function; 69 $function[0] = strtoupper($function[0]); 70 $func = create_function('$c', 'return strtoupper($c[1]);');Loader.php https://bitbucket.org/timgws/full-text-rss.git | PHP | 329 lines
65 // Framework Interop Group reference implementation: 66 // http://groups.google.com/group/php-standards/web/psr-0-final-proposal 67 $className = ltrim($class, '\\'); 97 if (!class_exists($class, false) && !interface_exists($class, false)) { 98 require_once 'Zend/Exception.php'; 99 throw new Zend_Exception("File \"$file\" does not exist or class \"$class\" was not found in the file"); 103 /** 104 * Loads a PHP file. This is a wrapper for PHP's include() function. 105 * 162 * Returns TRUE if the $filename is readable, or FALSE otherwise. 163 * This function uses the PHP include_path, where PHP's is_readable() 164 * does not. 181 182 if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' 183 && preg_match('/^[a-z]:/i', $filename)tuto6.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 165 lines
12<div class="source"> 13<pre><code><?php 14<span class="kw">require(</span><span class="str">'fpdf.php'</span><span class="kw">); 52 </span><span class="kw">if(</span>$e<span class="kw">[</span>0<span class="kw">]==</span><span class="str">'/'</span><span class="kw">) 53 </span>$<span class="kw">this-></span>CloseTag<span class="kw">(</span>strtoupper<span class="kw">(</span>substr<span class="kw">(</span>$e<span class="kw">,</span>1<span class="kw">))); 54 else 57 </span>$a2 <span class="kw">= </span>explode<span class="kw">(</span><span class="str">' '</span><span class="kw">,</span>$e<span class="kw">); 58 </span>$tag <span class="kw">= </span>strtoupper<span class="kw">(</span>array_shift<span class="kw">(</span>$a2<span class="kw">)); 59 </span>$attr <span class="kw">= array(); 62 if(</span>preg_match<span class="kw">(</span><span class="str">'/([^=]*)=["\']?([^"\']*)/'</span><span class="kw">,</span>$v<span class="kw">,</span>$a3<span class="kw">)) 63 </span>$attr<span class="kw">[</span>strtoupper<span class="kw">(</span>$a3<span class="kw">[</span>1<span class="kw">])] = </span>$a3<span class="kw">[</span>2<span class="kw">]; 64 } 137</div> 138<p class='demo'><a href='tuto6.php' target='_blank' class='demo'>[Demo]</a></p> 139The new method to print text is <a href='../doc/write.htm'>Write()</a>. It's very close to <a href='../doc/multicell.htm'>MultiCell()</a>; the differences are:helper.php https://bitbucket.org/gnomeontherun/square-one.git | PHP | 434 lines
1<?php 2/** 150 $filterData = $filters->$groupId; 151 $filterType = strtoupper($filterData->filter_type); 152 330 // Get component path 331 if ($app->isAdmin() && file_exists(JPATH_COMPONENT . '/admin.' . $file . '.php')) 332 { 332 { 333 $path = JPATH_COMPONENT . '/admin.' . $file . '.php'; 334 } 336 { 337 $path = JPATH_COMPONENT . '/' . $file . '.php'; 338 }call.php https://github.com/Hywan/atoum.git | PHP | 277 lines
1<?php 2 4 5require_once __DIR__ . '/../../../runner.php'; 6 147 ->boolean($call2->isEqualTo($call1))->isTrue() 148 ->if($call2 = new testedClass(strtoupper($function))) 149 ->then 175 ->boolean($call2->isEqualTo($call1))->isTrue() 176 ->if($call1 = new testedClass($function, $arguments = [$arg1 = uniqid(), $arg2 = uniqid(), $arg3 = new \mock\phpObject()])) 177 ->then 191 ->boolean($call2->isEqualTo($call1))->isFalse() 192 ->if($call1 = new testedClass($function = uniqid(), [$arg1 = uniqid(), $arg2 = uniqid(), $arg3 = new \mock\phpObject()])) 193 ->and($call2 = new testedClass($function, [$arg1, $arg2])) 197 ->if($call1 = new testedClass($function)) 198 ->and($call2 = new testedClass($function, [$object = new \mock\phpObject()])) 199 ->thenreleased_patient.php https://gitlab.com/sharadmohajan/xyz | PHP | 288 lines
101 <li><a href="patient_info.php">Patient Info</a></li> 102 <li><a href="doctor_info.php">Doctors</a></li> 103 <!--<li><a href="Authenticate/logout.php">Log Out</a></li>--> 150 <option <?php if($itemPerPage==15) echo "selected"?>>15</option> 151 <option <?php if($itemPerPage==20) echo "selected"?>>20</option> 152 <option <?php if($itemPerPage==25) echo "selected"?>>25</option> 208 <td><?php echo $info->room_id ?></td> 209 <td><a href="release_patient_view.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-info" role="button">View</a> 210 <a href="released_delete.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-danger" role="button">Delete</a> 210 <a href="released_delete.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-danger" role="button">Delete</a> 211 <a href="prescribe.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-success" role="button">Prescription</a> 212 </td> 218 <center> 219 <?php if((strtoupper($_SERVER['REQUEST_METHOD']=='GET'))&&(empty($_GET['search']))) { ?> 220 <ul class="pagination">SMW_NMDBHelper.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 303 lines
1<?php 2/* 58 while ( $row = $db->fetchObject( $res ) ) { 59 $type = strtoupper( $row->Type ); 60 if ( substr( $type, 0, 8 ) == 'VARCHAR(' ) { 153 } 154 if ( ob_get_level() == 0 ) { // be sure to have some buffer, otherwise some PHPs complain 155 ob_start();OAuthRequest.php https://gitlab.com/CORP-RESELLER/sdk-core-php | PHP | 323 lines
1<?php 2namespace PayPal\Auth\Oauth; 13 public static $version = '1.0'; 14 public static $POST_INPUT = 'php://input'; 15 18 $parameters = ($parameters) ? $parameters : array(); 19 $parameters = array_merge(OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters); 20 $this->parameters = $parameters; 178 { 179 return strtoupper($this->http_method); 180 }Decorators.php https://github.com/syfisher/limb.git | PHP | 363 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 4// +----------------------------------------------------------------------+ 5// | PHP Version 4 | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | Copyright (c) 1997-2002 The PHP Group | 8// +----------------------------------------------------------------------+ 8// +----------------------------------------------------------------------+ 9// | This source file is subject to version 2.02 of the PHP license, | 10// | that is bundled with this package in the file LICENSE, and is | 11// | available at through the world-wide-web at | 12// | http://www.php.net/license/3_0.txt. | 13// | If you did not receive a copy of the PHP license and are unable to | 14// | obtain it through the world-wide-web, please send a note to | 15// | license@php.net so we can mail you a copy immediately. | 16// +----------------------------------------------------------------------+event_log.php https://gitlab.com/alexprowars/bitrix | PHP | 354 lines
1<?php 2/** 112 } 113 $key = mb_strtoupper($key); 114 switch($key) 186 { 187 $by = mb_strtoupper($by); 188 $order = mb_strtoupper($order);processes_Import_Ajax.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 292 lines
1<?php 2/** 2/** 3 * processes_ImportFile.php 4 * 31 foreach ($data->reportTables as $rptIndex => $rptValue) { 32 if (in_array( strtoupper( $rptValue["REP_TAB_NAME"] ), $reservedWordsSql )) { 33 $arrayAux[] = $rptValue["REP_TAB_NAME"]; 44 foreach ($data->reportTablesVars as $rptIndex => $rptValue) { 45 if (in_array( strtoupper( $rptValue["REP_VAR_NAME"] ), $reservedWordsSql )) { 46 $arrayAux[] = $rptValue["REP_VAR_NAME"];Mssql.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 423 lines
1<?php 2/** 26 */ 27// require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 93 $seperator = ':'; 94 if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { 95 $seperator = ','; 101 // this driver supports multiple DSN prefixes 102 // @see http://www.php.net/manual/en/ref.pdo-dblib.connection.php 103 if (isset($dsn['pdoType'])) { 321 /** @see Zend_Db_Adapter_Exception */ 322 // require_once 'Zend/Db/Adapter/Exception.php'; 323 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 328 /** @see Zend_Db_Adapter_Exception */ 329 // require_once 'Zend/Db/Adapter/Exception.php'; 330 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");download.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 337 lines
1<?php 2/** 55 // Run the current download method 56 $method = 'get' . strtoupper( array_shift($adapters) ); 57 $result = self::$method($url, $fp); 105 // Run the current download method 106 $method = 'get' . strtoupper( array_shift($adapters) ); 107 $result = self::$method($url, null); 113 /** 114 * Does the server support PHP's cURL extension? 115 * @return bool True if it is supported 230 if(function_exists('stream_context_create')) { 231 // PHP 5+ way (best) 232 $httpopts = Array('user_agent'=>'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)'); 235 } else { 236 // PHP 4 way (actually, it's just a fallback as we can't run Admin Tools in PHP4) 237 if( function_exists('ini_set') ) {BaseFieldDescription.php https://github.com/quaninte/SonataAdminBundle.git | PHP | 459 lines
1<?php 2 446 { 447 return preg_replace(array('/(^|_| )+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property); 448 }sale_note_ticket.blade.php https://gitlab.com/laher01/factu40 | PHP | 270 lines
1@php 2 $establishment = $document->establishment; 9 10@endphp 11<html> 74 <p class="desc"> 75 {{ strtoupper($customer->address) }} 76 {{ ($customer->district_id !== '-')? ', '.strtoupper($customer->district->description) : '' }} 76 {{ ($customer->district_id !== '-')? ', '.strtoupper($customer->district->description) : '' }} 77 {{ ($customer->province_id !== '-')? ', '.strtoupper($customer->province->description) : '' }} 78 {{ ($customer->department_id !== '-')? '- '.strtoupper($customer->department->description) : '' }} 256 <tr><td><strong>PAGOS:</strong> </td></tr> 257 @php 258 $payment = 0; 258 $payment = 0; 259 @endphp 260 @foreach($payments as $row)LoggerOptionConverter.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 322 lines
1<?php 2/** 17 * 18 * @package log4php 19 */ 24 * @version $Revision: 822464 $ 25 * @package log4php 26 * @subpackage helpers 119 * where <i>full_file_classname</i> means the class filename with path 120 * but without php extension, then the specified class' <i>toLevel()</i> method 121 * is called to process the specified level string; if no '#' 146 if($hashIndex === false) { 147 if("NULL" == strtoupper($value)) { 148 return null; 160 // This is degenerate case but you never know. 161 if("NULL" == strtoupper($levelName)) { 162 return null;bookmark.php https://gitlab.com/morganestes/wordpress-develop | PHP | 448 lines
1<?php 2/** 211 wp_cache_set( 'get_bookmarks', $cache, 'bookmark' ); 212 /** This filter is documented in wp-includes/bookmark.php */ 213 return apply_filters( 'get_bookmarks', array(), $r ); 280 281 $order = strtoupper( $r['order'] ); 282 if ( '' !== $order && ! in_array( $order, array( 'ASC', 'DESC' ) ) ) { 304 305 /** This filter is documented in wp-includes/bookmark.php */ 306 return apply_filters( 'get_bookmarks', $results, $r ); 411 if ( 'edit' == $context ) { 412 /** This filter is documented in wp-includes/post.php */ 413 $value = apply_filters( "edit_{$field}", $value, $bookmark_id ); 420 } elseif ( 'db' == $context ) { 421 /** This filter is documented in wp-includes/post.php */ 422 $value = apply_filters( "pre_{$field}", $value );examples_day_2.php https://github.com/clarkphp/Code-Examples.git | PHP | 454 lines
201$EOLN = "\n"; 202# Complete function index at http://www.php.net/manual/en/indexes.php 203# Array functions http://www.php.net/manual/en/ref.array.php 203# Array functions http://www.php.net/manual/en/ref.array.php 204# String functions http://www.php.net/manual/en/book.strings.php 205 323var_dump($my_array); 324// http://www.php.net/manual/en/language.references.php 325 338exit; 339// http://www.php.net/manual/en/book.array.php 340 349#http://php.net/manual/en/intro.stream.php 350#http://www.php.net/manual/en/context.php 351$zend_home = file_get_contents('http://www.zend.com/');index.php https://bitbucket.org/Muntaser/cs425_project.git | PHP | 417 lines
1<?php 2 4 5class BackendPhpPdo 6{ 48 { 49 $obj = new BackendPhpPdo(); 50 $obj->what = 'PDO'; 62 { 63 $obj = new BackendPhpPdo(); 64 $obj->what = 'PDO_STATEMENT'; 81 } 82 $obj = new BackendPhpPdo(); 83 $obj->what = 'EXCEPTION'; 94 return $t; 95 $obj = new BackendPhpPdo(); 96 $obj->what = 'BENCH';Number.php https://github.com/sidealice/zf2.git | PHP | 414 lines
1<?php 2/** 237 case 'DUODECIMAL': 238 preg_match('/[0123456789AB]+/', strtoupper($value), $ergebnis); 239 $value = $ergebnis[0]; 242 case 'HEXADECIMAL': 243 preg_match('/[0123456789ABCDEF]+/', strtoupper($value), $ergebnis); 244 $value = $ergebnis[0]; 247 case 'ROMAN': 248 preg_match('/[IVXLCDM_]+/', strtoupper($value), $ergebnis); 249 $value = $ergebnis[0]; 291 if ($type === 'ROMAN') { 292 $input = strtoupper($input); 293 $input = preg_replace(array_keys(self::$_romanconvert), array_values(self::$_romanconvert), $input); 334 335 $newvalue = strtoupper(dechex($target)) . $newvalue; 336TextDescriptor.php https://gitlab.com/aleksbenmaza/PPE_NEW | PHP | 320 lines
1<?php 2 66 if ($option->acceptValue()) { 67 $value = '='.strtoupper($option->getName()); 68curl.php https://gitlab.com/afdallah/myongkir | PHP | 356 lines
1<?php 2/** 178 { 179 $this->options[CURLOPT_CUSTOMREQUEST] = strtoupper($method); 180 return $this; 184 { 185 $this->option(CURLOPT_HTTPAUTH, constant('CURLAUTH_'.strtoupper($type) )); 186 $this->option(CURLOPT_USERPWD, $username.':'.$password); 235 { 236 $code = constant('CURLOPT_' . strtoupper($code)); 237 }adodb-active-record.inc.php https://github.com/md-tech/openemr.git | PHP | 608 lines
1<?php 2/* 71 72 // php4 constructor 73 function ADODB_Active_Record($table = false, $pkeyarr=false, $db=false) 77 78 // php5 constructor 79 function __construct($table = false, $pkeyarr=false, $db=false) 112 { 113 $ut = strtoupper($table); 114 $len = strlen($table); 209 foreach($cols as $name => $fldobj) { 210 $name = strtoupper($name); 211 $this->$name = null; 215 foreach($pkeys as $k => $name) { 216 $keys[strtoupper($name)] = strtoupper($name); 217 }pdf.php https://github.com/md-tech/openemr.git | PHP | 466 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 7 */ 8if (! defined('PHPMYADMIN')) { 9 exit; 35define('PMA_PDF_FONT', 'DejaVuSans'); 36require_once './libraries/tcpdf/tcpdf.php'; 37 63 } else { 64 $orientation = strtoupper($orientation{0}); 65 if ($orientation != $this->DefOrientation) { 445 446 $pdf->AddFont('DejaVuSans', '', 'dejavusans.php'); 447 $pdf->AddFont('DejaVuSans', 'B', 'dejavusans-bold.php'); 447 $pdf->AddFont('DejaVuSans', 'B', 'dejavusans-bold.php'); 448 $pdf->AddFont('DejaVuSerif', '', 'dejavuserif.php'); 449 $pdf->AddFont('DejaVuSerif', 'B', 'dejavuserif-bold.php');Select.php https://github.com/gryzz/crystal_magento.git | PHP | 436 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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 249 $tmp = ''; 250 $tmp .= ' ' . strtoupper($table['joinType']) . ' '; 251CHAP.php https://github.com/kpike/moodle.git | PHP | 464 lines
1<?php 2/* 34 35require_once 'PEAR.php'; 36 293 294 $plain = substr(strtoupper($plain), 0, 14); 295 while (strlen($plain) < 14) {iblock.php https://gitlab.com/alexprowars/bitrix | PHP | 319 lines
1<?php 2 16 $res = CIBlock::MkOperationFilter($key); 17 $key = mb_strtoupper($res["FIELD"]); 18 $cOperationType = $res["OPERATION"];DibiFluent.php https://github.com/premiumcombination/nts.git | PHP | 502 lines
1<?php 2 247 { 248 $flag = strtoupper($flag); 249 if ($value) { 265 { 266 return isset($this->flags[strtoupper($flag)]); 267 } 486 } 487 return strtoupper(preg_replace('#[a-z](?=[A-Z])#', '$0 ', $s)); 488 }Number.php https://bitbucket.org/haichau59/manga.git | PHP | 420 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Number.php 24594 2012-01-05 21:27:01Z matthew $ 20 */ 24 */ 25//require_once 'Zend/Measure/Abstract.php'; 26//require_once 'Zend/Locale.php'; 157 if (!Zend_Locale::isLocale($locale, true, false)) { 158 //require_once 'Zend/Measure/Exception.php'; 159 throw new Zend_Measure_Exception("Language (" . (string) $locale . ") is unknown"); 171 if (isset($this->_units[$type]) === false) { 172 //require_once 'Zend/Measure/Exception.php'; 173 throw new Zend_Measure_Exception("Type ($type) is unknown"); 193 if (empty($this->_units[$type])) { 194 //require_once 'Zend/Measure/Exception.php'; 195 throw new Zend_Measure_Exception('unknown type of number:' . $type);Size.php https://github.com/luisbraschi/ursp.git | PHP | 404 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Size.php 22697 2010-07-26 21:14:47Z alexander $ 20 */ 24 */ 25#require_once 'Zend/Validate/Abstract.php'; 26 109 } elseif (!is_array($options)) { 110 #require_once 'Zend/Validate/Exception.php'; 111 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 183 if (!is_string($min) and !is_numeric($min)) { 184 #require_once 'Zend/Validate/Exception.php'; 185 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 190 if (($max !== null) && ($min > $max)) { 191 #require_once 'Zend/Validate/Exception.php'; 192 throw new Zend_Validate_Exception("The minimum must be less than or equal to the maximum filesize, but $min >"DailyMenus.php https://gitlab.com/gregtyka/opensis | PHP | 170 lines
1<?php 2 90 $day_time = mktime(0,0,0,$_REQUEST['month'],$i,$_REQUEST['year']); 91 $date = strtoupper(date('d-M-y',$day_time)); 92 142 143 echo "<FORM action=Modules.php?modname=$_REQUEST[modname]&menu_id=$_REQUEST[menu_id]&month=$_REQUEST[month]&year=$_REQUEST[year] METHOD=POST>"; 144 DrawHeader(PrepareDate(strtoupper(date("d-M-y",$time)),'',false,array('M'=>1,'Y'=>1,'submit'=>true)),SubmitButton('Save','submit[save]').'<INPUT type=submit value=\'Generate Menu\' name=submit[print]>'); 148 foreach($menus_RET as $id=>$meal) 149 $tabs[] = array('title'=>$meal[1]['TITLE'],'link'=>"Modules.php?modname=$_REQUEST[modname]&menu_id=$id&month=$_REQUEST[month]&year=$_REQUEST[year]"); 150 151 $extra = array('save'=>false,'search'=>false, 152 'header'=>WrapTabs($tabs,"Modules.php?modname=$_REQUEST[modname]&menu_id=$_REQUEST[menu_id]&month=$_REQUEST[month]&year=$_REQUEST[year]")); 153 $singular = $menus_RET[$_REQUEST['menu_id']][1]['TITLE'].' Day';ColumnMap.php https://github.com/kelios/imshop.git | PHP | 464 lines
1<?php 2 55 56 // The php name of the column 57 protected $phpName; 113 /** 114 * Set the php anme of this column. 115 * 115 * 116 * @param string $phpName A string representing the PHP name. 117 * @return void 118 */ 119 public function setPhpName($phpName) 120 { 120 { 121 $this->phpName = $phpName; 122 }Route.php https://bitbucket.org/laborautonomo/laborautonomo-site.git | PHP | 594 lines
1<?php 2 266 { 267 $this->methods = array_map('strtoupper', (array) $methods); 268ConvertCharset.class.php https://github.com/mysnip/Core.git | PHP | 307 lines
1<?php 2 151 { 152 $ArrayKey = strtoupper(str_replace(strtolower("0x"), "", $HexValue[1])); 153 $ArrayValue = strtoupper(str_replace(strtolower("0x"), "", $HexValue[0])); 187 $UnicodeHexChar = ""; 188 $HexChar = strtoupper(dechex(ord($StringToChange[$i]))); 189 if (strlen($HexChar) == 1) $HexChar = "0" . $HexChar; 191 $i++; 192 $HexChar .= strtoupper(dechex(ord($StringToChange[$i]))); 193 }OfertaActividad.php https://gitlab.com/bluedrayco/Portafolio | PHP | 568 lines
1<?php 2 504 //acuerdo al tipo dado, lo elimina si existe 505 if (false !== $key = array_search(strtoupper($acceso), $this->control_acceso[$tipo], true)) { 506 $controlAuxiliar = $this->control_acceso[$tipo]; 542 { 543 $acceso = strtoupper($acceso); 544 if(in_array($tipo, $this->control_acceso, true)){function.html_select_date.php https://github.com/Pablo-Merino/Bloggy.git | PHP | 330 lines
1<?php 2/** 30 * 31 * @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date} 32 * (Smarty online manual) 41{ 42 require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 43 require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 43 require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 44 require_once(SMARTY_PLUGINS_DIR . 'function.html_options.php'); 45 61 $reverse_years = false; 62 /* Should the select boxes be part of an array when returned from PHP? 63 e.g. setting it to "birthday", would create "birthday[Day]", 178 179 $field_order = strtoupper($field_order); 180idl.php https://github.com/tstarling/hiphop-php.git | PHP | 328 lines
1<?php 2 2 3include_once __DIR__ . '/base.php'; 4 32$name = preg_replace('|[/\.]|', '_', $name); 33$NAME = strtoupper($name); 34$Name = ucfirst($name); 59 60#include "hphp/runtime/base/base-includes.h" 61 71 72namespace HPHP { 73/////////////////////////////////////////////////////////////////////////////// 116 117namespace HPHP { 118///////////////////////////////////////////////////////////////////////////////messages.php https://github.com/dannyrealfox/Fu-Chi--Future-Chinatown.git | PHP | 233 lines
34 { 35 ?><li><a href="<?php echo url::site()."admin/messages/index/".$service_id; ?>?type=2" <?php if ($type == '2') echo "class=\"active\""; ?>><?php echo Kohana::lang('ui_main.outbox');?></a></li><?php 36 } 40 <li> </li> 41 <li><a href="?type=<?php echo $type ?>&level=0" <?php if ($level == '0') echo "class=\"active2\""; ?>><?php echo Kohana::lang('ui_main.all');?> (<?php echo $count_all; ?>)</a></li> 42 <li><a href="?type=<?php echo $type ?>&level=4" <?php if ($level == '4') echo "class=\"active2\""; ?>>Trusted (<?php echo $count_trusted; ?>)</a></li> 42 <li><a href="?type=<?php echo $type ?>&level=4" <?php if ($level == '4') echo "class=\"active2\""; ?>>Trusted (<?php echo $count_trusted; ?>)</a></li> 43 <li><a href="?type=<?php echo $type ?>&level=2" <?php if ($level == '2') echo "class=\"active2\""; ?>><?php echo Kohana::lang('ui_main.spam');?> (<?php echo $count_spam; ?>)</a></li> 44 <?php } ?> 177 'name' => 'newreply_' . $message_id)); ?> 178 <div class="reply_can"><a href="javascript:cannedReply('1', 'message_<?php echo $message_id; ?>')">+<?php echo Kohana::lang('ui_main.request_location');?></a> <a href="javascript:cannedReply('2', 'message_<?php echo $message_id; ?>')">+<?php echo Kohana::lang('ui_main.request_information');?></a></div> 179 <div id="replyerror_<?php echo $message_id; ?>" class="reply_error"></div> 200 { 201 ?><li class="none-separator">From: <a href="<?php echo url::site()."admin/messages/reporters/index/".$service_id."?k=".urlencode($message_from);?>"><strong class="reporters_<?php echo $level_id?>"><?php echo $message_from; ?></strong></a><?php 202 }examination.php https://github.com/web-gpambrosio/VMC.git | PHP | 334 lines
12if ((!isset($_GET['empno']) || trim($_GET['empno']) == '')&&(!isset($_GET['takeno']) || trim($_GET['takeno']) == '')) 13{ header("location:../index.php"); } 14 34 35 $name = strtoupper($zfname . ', ' . $zgname . ' ' . $zmname); 36 $staff = date("F d, Y",strtotime($zbdate)); 158<body onload="Down()"> 159<form action="query.php?<?php echo 'crewcode='.$crewcode.'&takeno='.$takeno; ?>" method="post" name="frmform"> 160<table width=100% height=100% border="0" cellpadding="0" cellspacing="0"> 249?> 250 <tr <?php echo $rad; ?>> 251 <td width="23" height="15" valign="top"> </td> 291 </tr> 292 <?php 293 }reporters.php https://github.com/rindou240/Ushahidi_Web.git | PHP | 263 lines
8 <ul class="tabset"> 9 <li><a href="<?php echo url::site()."admin/messages/index/".$service_id; ?>?type=1"><?php echo Kohana::lang('ui_main.inbox');?></a></li> 10 <?php 12 { 13 ?><li><a href="<?php echo url::site()."admin/messages/index/".$service_id; ?>?type=2"><?php echo Kohana::lang('ui_main.outbox');?></a></li><?php 14 } 22 <?php foreach($levels as $level) { ?> 23 <li><a href="#" onClick="reportersAction('l', 'Mark As <?php echo $level->level_title?>', '', <?php echo $level->id?>)" class="reporters_tab_<?php echo $level->id;?>"><?php echo $level->level_title?></a></li> 24 <?php } ?> 129 <div class="green-box"> 130 <h3><?php echo Kohana::lang('ui_main.reporter_has_been');?> <?php echo $form_action; ?></h3> 131 </div> 254 <?php foreach($levels as $level) { ?> 255 <li><a href="#" onClick="reportersAction('l', 'Mark As <?php echo $level->level_title?>', '', <?php echo $level->id?>)" class="reporters_tab_<?php echo $level->id;?>"><?php echo $level->level_title?></a></li> 256 <?php } ?>base.php https://github.com/onivan/akelos.git | PHP | 363 lines
1<?php 2 73 * 74 * The AkConfig class caches php representations of the yaml files inside: 75 * 122 if(!isset($dir_names[$type])){ 123 $contstant_name = 'AK_'.strtoupper(AkInflector::underscore($type)).'_DIR'; 124 if(defined($contstant_name)){ 215 public function readConfigYaml($namespace, $yaml_string, $environment = AK_ENVIRONMENT){ 216 require_once(AK_CONTRIB_DIR.DS.'TextParsers'.DS.'spyc.php'); 217 $content = self::parseSettingsConstants($yaml_string); 241 static function getCacheFileName($namespace, $environment = AK_ENVIRONMENT) { 242 return AkConfig::getCacheBasePath($environment).DS.'ak_config'.DS.'cache'.DS.$environment.DS.Ak::sanitize_include($namespace, 'high').'.php'; 243 } 271 $cache = <<<CACHE 272<?php 273/**Mysql.php https://github.com/grjones/qframe.git | PHP | 331 lines
1<?php 2/** 76 case 'time': 77 return strtoupper($type); 78 case 'string':