100+ results results for 'php max' (1212 ms)
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 242 * @param integer $step stepping 243 * @param integer $max ending number 244 * @return array 245 */ 246 public static function range($step = 10, $max = 100) 247 { 251 $array = array(); 252 for ($i = $step; $i <= $max; $i += $step) 253 { 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 *VarCloner.php https://gitlab.com/alamgircsejnu/AMS-Project-Laravel | PHP | 324 lines
38 $maxItems = $this->maxItems; 39 $maxString = $this->maxString; 40 $cookie = (object) array(); // Unique object used to detect hard references 103 $stub->class = Stub::STRING_BINARY; 104 if (0 <= $maxString && 0 < $cut = strlen($v) - $maxString) { 105 $stub->cut = $cut; 109 } 110 } elseif (0 <= $maxString && isset($v[1 + ($maxString >> 2)]) && 0 < $cut = mb_strlen($v, 'UTF-8') - $maxString) { 111 $stub = new Stub(); 169 $stub->value = null; 170 if (0 <= $maxItems && $maxItems <= $pos) { 171 $stub->cut = count($a); 193 $stub->value = null; 194 if (0 <= $maxItems && $maxItems <= $pos) { 195 $stub->cut = count($a);functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
1<?php 2 28 'filter' => FILTER_VALIDATE_INT, 29 'options' => array('min_range' => 0, 'max_range' => 1000) 30 ),jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
9 * 10 * The MIT License (http://www.opensource.org/licenses/mit-license.php) 11 * 57 el.each(function() { 58 if (options.maxlength !== false) { 59 el.attr('maxlength', mask.length); 235 p.destroyEvents(); 236 p.val(jMask.getCleanVal()).removeAttr('maxlength'); 237 }; 273 274 if (input.attr('data-mask-maxlength') === 'false') { 275 options.maxlength = false;ParameterTest.php https://gitlab.com/x33n/respond | PHP | 416 lines
1<?php 2 19 'minLength' => 2, 20 'maxLength' => 5, 21 'location' => 'body', 34 $this->assertEquals(2, $p->getMinLength()); 35 $this->assertEquals(5, $p->getMaxLength()); 36 $this->assertEquals('body', $p->getLocation()); 136 ->setSentAs('f') 137 ->setMaxLength(1) 138 ->setMinLength(1) 139 ->setMinimum(2) 140 ->setMaximum(2) 141 ->setMinItems(3) 141 ->setMinItems(3) 142 ->setMaxItems(3) 143 ->setRequired(true)Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
37 private static $releaseDate = "2014-09-06"; 38 private static $minimumPHPVersion = "5.3.0"; 39 private static $minimumMySQLVersion = "4.1.3"; 46 // left as public, because they're often modified / accessed, and it's just too fussy otherwise. The 47 // PHPDoc helps my IDE figure out what the hell each of them are 48 177 if (isset($maxGeneratedRows)) { 178 self::$maxGeneratedRows = $maxGeneratedRows; 179 } 183 if (isset($maxDemoModeRows)) { 184 self::$maxDemoModeRows = $maxDemoModeRows; 185 } 273 */ 274 public static function getMaxGeneratedRows() { 275 return self::$maxGeneratedRows;wp-settings.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 323 lines
1<?php 2/** 5 * 6 * Allows for some configuration in wp-config.php (see default-constants.php) 7 * 7 * 8 * @internal This file must be parsable by PHP4. 9 * 20// Include files required for initialization. 21require( ABSPATH . WPINC . '/load.php' ); 22require( ABSPATH . WPINC . '/default-constants.php' ); 61if ( WP_CACHE ) 62 WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' ); 63 315 * 316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for 317 * users not logged in.yii.php https://gitlab.com/aintenebris/memoria | PHP | 114 lines
1<?php 2/** 39 'The file "{file}" is not an image.' => 'Die Datei "{file}" ist kein Bild.', 40 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.', 41 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.', 42 'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.', 43 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel hoch sein.', 44 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel breit sein.', 55 'You are not allowed to perform this action.' => 'Sie dürfen diese Aktion nicht durchführen.', 56 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Sie können maximal {limit, number} {limit, plural, one{eine Datei} other{# Dateien}} hochladen.', 57 'in {delta, plural, =1{a day} other{# days}}' => 'in {delta, plural, =1{einem Tag} other{# Tagen}}', 78 '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} muss kleiner oder gleich "{compareValue}" sein.', 79 '{attribute} must be no greater than {max}.' => '{attribute} darf nicht größer als {max} sein.', 80 '{attribute} must be no less than {min}.' => '{attribute} darf nicht kleiner als {min} sein.', 83 '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} muss mindestens {min, number} Zeichen enthalten.', 84 '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} darf maximal {max, number} Zeichen enthalten.', 85 '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} muss aus genau {length, number} Zeichen bestehen.',de_DE.js https://gitlab.com/wuhang2003/core | JavaScript | 123 lines
10 "There is no error, the file uploaded with success" : "Es ist kein Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.", 11 "The uploaded file exceeds the upload_max_filesize directive in php.ini: " : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini", 12 "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe erlaubt, die im HTML-Formular spezifiziert ist", 99 "Restored by %2$s" : "Wiederhergestellt durch %2$s", 100 "Upload (max. %s)" : "Hochladen (max. %s)", 101 "File handling" : "Dateibehandlung", 101 "File handling" : "Dateibehandlung", 102 "Maximum upload size" : "Maximale Upload-Größe", 103 "max. possible: " : "maximal möglich:", 104 "Save" : "Speichern", 105 "With PHP-FPM it might take 5 minutes for changes to be applied." : "Bei PHP-FPM kann es 5 Minuten dauern, bis Änderungen angewendet sind.", 106 "Missing permissions to edit from here." : "Fehlende Berechtigungen um von hier aus zu bearbeiten.", 116 "Upload too large" : "Der Upload ist zu groß", 117 "The files you are trying to upload exceed the maximum size for file uploads on this server." : "Die Datei überschreitet die Maximalgröße für Uploads auf diesem Server.", 118 "No favorites" : "Keine Favoriten",FreeBusyGenerator.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 322 lines
1<?php 2 179 180 $maxRecurrences = 200; 181 181 182 while($iterator->valid() && --$maxRecurrences) { 183SYLK.php https://gitlab.com/tonmoy1a/bitm-php-batch-26 | PHP | 450 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 44 */ 45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 213 /** 214 * Loads PHPExcel from file into PHPExcel instance 215 * 216 * @param string $pFilename 217 * @param PHPExcel $objPHPExcel 218 * @return PHPExcel 220 */ 221 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 222 {template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
14 <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' /> 15 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css"> 16 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/styles/styles.min.css"> 25 </head> 26 <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>> 27 75 <a class="navbar-brand" href="<?php echo home_url(); ?>"> 76 <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" /> 77 </a> 78 </div> 79 <?php 80 192 <?php if (returnBrowser() !== "internet-explorer-8"): ?> 193 <script src="<?php echo PAGEDIR; ?>/machines/libraries/dynamics/dynamics.js"></script> 194 <?php endif; ?>MultishippingTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 271 lines
1<?php 2/** 7 8class MultishippingTest extends \PHPUnit_Framework_TestCase 9{ 15 /** 16 * @var \PHPUnit_Framework_MockObject_MockObject 17 */ 20 /** 21 * @var \PHPUnit_Framework_MockObject_MockObject 22 */ 25 /** 26 * @var \PHPUnit_Framework_MockObject_MockObject 27 */ 30 /** 31 * @var \PHPUnit_Framework_MockObject_MockObject 32 */options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
1<?php 2$module_id = 'landing'; 23// lang 24IncludeModuleLangFile($docRoot . '/bitrix/modules/main/options.php'); 25Loc::loadMessages(__FILE__); 333 ob_start(); 334 require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php'); 335 ob_end_clean(); 400 elseif ($type[0] == 'text'): 401 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val)?>" name="<?echo \htmlspecialcharsbx($Option[0])?>" /><? 402 elseif ($type[0] == 'doubletext'): 403 list($val1, $val2) = explode('x', $val); 404 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val1)?>" name="<?echo \htmlspecialcharsbx($Option[0].'_1')?>" /><? 405 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val2)?>" name="<?echo \htmlspecialcharsbx($Option[0].'_2')?>" /><? 464 $tabControl->BeginNextTab(); 465 require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php'); 466composite_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 35 $duration = intval($request->getPost("duration")); 36 $duration = max($duration, 300); 37 Option::set("main", "composite_debug_duration", $duration); 208 209 $pageCell = '<div style="max-width:250px; word-wrap: break-word"><a href="//%s" target="_blank">%s</a><br>%s</div>'; 210 $pageLink = htmlspecialcharsbx($record["HOST"].$record["URI"]); 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>';view.html.php https://gitlab.com/julienv/joomleague | PHP | 170 lines
1<?php defined( '_JEXEC' ) or die( 'Restricted access' ); 2 82 { 83 require_once( JLG_PATH_SITE.DS."assets".DS."classes".DS."open-flash-chart".DS."open-flash-chart.php" ); 84 93 94 $matchDayGoalsCountMax = 0; 95 foreach( $data as $rw ) 159 $y = new y_axis(); 160 $y->set_range( 0, max($matchDayGoalsCount)+2, $config['y_axis_steps']); 161 $y->set_colours($config['y_axis_colour'], $config['y_axis_colour_inner']);grid.locale-ro.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 198 lines
5 * Dual licensed under the MIT and GPL licenses: 6 * http://www.opensource.org/licenses/mit-license.php 7 * http://www.gnu.org/licenses/gpl.html 87 minValue: "valoarea trebuie sa fie mai mare sau egală cu", 88 maxValue: "valoarea trebuie sa fie mai mică sau egală cu", 89 email: "nu este o adresă de e-mail validă",grid.locale-fa.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 173 lines
3 * Dual licensed under the MIT and GPL licenses: 4 * http://www.opensource.org/licenses/mit-license.php 5 * http://www.gnu.org/licenses/gpl.html 69 minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با", 70 maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي", 71 email: "پست الکترونيک وارد شده معتبر نيست",RemoteValidator.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 151 lines
42 43package org.netbeans.modules.php.project.connections.common; 44 44 45import org.netbeans.modules.php.api.util.StringUtils; 46import org.netbeans.modules.php.project.connections.transfer.TransferFile; 54 public static final int MINIMUM_PORT = 0; 55 public static final int MAXIMUM_PORT = 65535; 56 public static final String INVALID_SEPARATOR = "\\"; // NOI18N 81 int p = Integer.parseInt(port); 82 if (p < MINIMUM_PORT || p > MAXIMUM_PORT) { // see InetSocketAddress 83 err = NbBundle.getMessage(RemoteValidator.class, "MSG_PortInvalid", String.valueOf(MINIMUM_PORT), String.valueOf(MAXIMUM_PORT));InternalFrame.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 221 lines
6 * 7 * 6/01/2006: I, Raphpael Valyi, changed back the header of this file to LGPL 8 * because nobody changed the file significantly since the last 8 * because nobody changed the file significantly since the last 9 * 3.0 version of GPGraphpad that was LGPL. By significantly, I mean: 10 * - less than 3 instructions changes could honnestly have been done from an old fork, 112 * @param closable 113 * @param maximizable 114 */ 118 boolean closable, 119 boolean maximizable) { 120 super(title, resizable, closable, maximizable); 130 * @param closable 131 * @param maximizable 132 * @param iconifiableextras.php https://gitlab.com/WPTRT/doingitwrong | PHP | 203 lines
1<?php 2/** 65 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 66 $title .= " $sep " . sprintf( __( 'Page %s', 'nopasare' ), max( $paged, $page ) ); 67 } 115 $form = ' 116 <form class="password-form" action="/wp-login.php?action=postpass" method="post"> 117 <p>' . __( 'This post is password protected. To read it please enter the password below.' ) . '</p> 179 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> 180 <input id="<?php echo $this->get_field_id( 'title' ); ?>" class="widefat" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $title; ?>" /> 181 <label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e( 'Limit:' ); ?></label> 181 <label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e( 'Limit:' ); ?></label> 182 <input id="<?php echo $this->get_field_id( 'limit' ); ?>" class="widefat" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo $limit; ?>" /> 183 <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php _e( 'Type:' ); ?></label> 183 <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php _e( 'Type:' ); ?></label> 184 <select id="<?php echo $this->get_field_id( 'type' ); ?>" name="<?php echo $this->get_field_name( 'type' ); ?>"> 185 <?php foreach ( $types as $key => $typo ) {ajax.html https://gitlab.com/victor.flores/prueba | HTML | 310 lines
5 <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> 6 <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> 7 132 133 <div class="php"> 134 <p>The script used to perform the server-side processing for this table is shown below. Please note 134 <p>The script used to perform the server-side processing for this table is shown below. Please note 135 that this is just an example script using PHP. Server-side processing scripts can be written in any 136 language, using <a href="//datatables.net/manual/server-side">the protocol described in theSqlServerGrammar.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 551 lines
1<?php 2 264 { 265 return 'nvarchar(max)'; 266 } 275 { 276 return 'nvarchar(max)'; 277 } 286 { 287 return 'nvarchar(max)'; 288 } 407 { 408 return 'nvarchar(max)'; 409 } 418 { 419 return 'nvarchar(max)'; 420 }BaseVarDumper.php https://gitlab.com/I-NOZex/quiz | PHP | 272 lines
1<?php 2/** 32 * @param mixed $var variable to be dumped 33 * @param integer $depth maximum depth that the dumper should go into the variable. Defaults to 10. 34 * @param boolean $highlight whether the result should be syntax-highlighted 45 * @param mixed $var variable to be dumped 46 * @param integer $depth maximum depth that the dumper should go into the variable. Defaults to 10. 47 * @param boolean $highlight whether the result should be syntax-highlighted 56 if ($highlight) { 57 $result = highlight_string("<?php\n" . self::$_output, true); 58 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 119 self::$_output .= "$className#$id\n" . $spaces . '('; 120 if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) { 121 $dumpValues = $var->__debugInfo(); 141 * 142 * The string is a valid PHP expression that can be evaluated by PHP parser 143 * and the evaluation result will give back the variable value.CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
1<?php 2/** 152 */ 153 public $max; 154 /** 270 'extraParams', 'multiple', 'multipleSeparator', 'width', 271 'autoFill', 'max', 'scroll', 'scrollHeight', 'inputClass', 272 'resultsClass', 'loadingClass');upload.php https://gitlab.com/plusplusminus/aevitas | PHP | 245 lines
1<?php 2 7/** 8 * upload.php 9 * 35 // If the file is bigger than the server can accept then the form_id might not arrive. 36 // This might happen if the file is bigger than the max post size ini setting. 37 // Validation in the browser reduces the risk of this happening. 38 if ( ! isset( $_REQUEST['form_id'] ) ) { 39 GFCommon::log_debug( 'GFAsyncUpload::upload(): File upload aborted because the form_id was not found. The file may have been bigger than the max post size ini setting.' ); 40 die( '{"status" : "error", "error" : {"code": 500, "message": "' . __( 'Failed to upload file.', 'gravityforms' ) . '"}}' ); 111 112 $max_upload_size_in_bytes = $field->maxFileSize > 0 ? $field->maxFileSize * 1048576 : wp_max_upload_size(); 113 $max_upload_size_in_mb = $max_upload_size_in_bytes / 1048576; 115 if ( $_FILES['file']['size'] > 0 && $_FILES['file']['size'] > $max_upload_size_in_bytes ) { 116 die( '{"status" : "error", "error" : {"code": 104, "message": "' . sprintf( __( 'File exceeds size limit. Maximum file size: %dMB', 'gravityforms' ), $max_upload_size_in_mb ) . '"}}' ); 117 }shipping.php https://gitlab.com/firstrate/firstrate | PHP | 268 lines
1<?php 2class ControllerApiShipping extends Controller { 137 $this->response->addHeader('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); 138 $this->response->addHeader('Access-Control-Max-Age: 1000'); 139 $this->response->addHeader('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With'); 207 $this->response->addHeader('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); 208 $this->response->addHeader('Access-Control-Max-Age: 1000'); 209 $this->response->addHeader('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With'); 260 $this->response->addHeader('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); 261 $this->response->addHeader('Access-Control-Max-Age: 1000'); 262 $this->response->addHeader('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With');edit.php https://gitlab.com/JrLucena/moodle | PHP | 241 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26require_once('lib.php'); 27require_once('edit_form.php'); 28 39 if (!empty($id)) { 40 $returnurl = new moodle_url($CFG->wwwroot . '/course/view.php', array('id' => $id)); 41 } else { 46 case 'category': 47 $returnurl = new moodle_url($CFG->wwwroot . '/course/index.php', array('categoryid' => $categoryid)); 48 break; 49 case 'catmanage': 50 $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php', array('categoryid' => $categoryid)); 51 break; 107// Prepare course and the editor. 108$editoroptions = array('maxfiles' => EDITOR_UNLIMITED_FILES, 'maxbytes'=>$CFG->maxbytes, 'trusttext'=>false, 'noclean'=>true); 109$overviewfilesoptions = course_overviewfiles_options($course);config.values.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 277 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 6 * 7 * @package PhpMyAdmin 8 */ 9 10if (!defined('PHPMYADMIN')) { 11 exit; 59); 60$cfg_db['MaxRows'] = array(25, 50, 100, 250, 500); 61$cfg_db['Order'] = array('ASC', 'DESC', 'SMART'); 148 = $cfg_db['Export']['sql_compatibility'] = array( 149 'NONE', 'ANSI', 'DB2', 'MAXDB', 'MYSQL323', 150 'MYSQL40', 'MSSQL', 'ORACLE', 222/** 223 * Basic validator assignments (functions from libraries/config/Validator.php 224 * and 'validators' object in js/config.js)view.html.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 138 lines
1<?php 2/** 7?> 8<?php 9class EmailViewEmail extends JView 41 $values = null; 42 $values->maxupload = (acymailing_bytes(ini_get('upload_max_filesize')) > acymailing_bytes(ini_get('post_max_size'))) ? ini_get('post_max_size') : ini_get('upload_max_filesize'); 43 $toggleClass = acymailing_get('helper.toggle'); 78 $script .= "function insertTag(tag){ try{jInsertEditorText(tag,'editor_body'); document.getElementById('iframetag').style.display = 'none'; displayTags(); return true;} catch(err){alert('Your editor does not enable AcyMailing to automatically insert the tag, please copy/paste it manually in your Newsletter'); return false;}}"; 79 $iFrame = "'<iframe src=\'index.php?option=com_acymailing&ctrl=tag&task=tag&type=news\' width=\'100%\' height=\'100%\' scrolling=\'auto\'></iframe>'"; 80 $script .= "var openTag = true; 97 openTag = !openTag;}"; 98 $iFrame = "'<iframe src=\'index.php?option=com_acymailing&ctrl=template&task=theme&tmpl=component\' width=\'100%\' height=\'100%\' scrolling=\'auto\'></iframe>'"; 99 $script .= "var openTemplate = true;perfmon_hit_grouped.php https://gitlab.com/alexprowars/bitrix | PHP | 247 lines
5define("PERFMON_STOP", true); 6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 7/** @global CMain $APPLICATION */ 10Loader::includeModule('perfmon'); 11require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php"); 12 88 89$arGrpFuncs = array("MAX", "MIN", "SUM", "AVG"); 90$arGrpCols = array( 131 "COUNT", 132 "MAX_INCLUDED_FILES", 133 "MAX_MEMORY_PEAK_USAGE", 154 155$max_display_url = COption::GetOptionInt("perfmon", "max_display_url"); 156while ($arRes = $rsData->NavNext(true, "f_"))create.php https://gitlab.com/Git_lab/PHP-OOP-CRUD | PHP | 115 lines
38 </div> 39 <div class="floatR r5 minimize-maximize-container minimize-maximize"> 40 <i class="fa fa-caret-up"></i> 47 <div class="form-container table-container"> 48 <form action="store.php" method="post" id="crudForm" enctype="multipart/form-data" class="form-horizontal" accept-charset="utf-8"> 49 <div class="form-group customerName_form_group"> 70 71 <button class="btn btn-default cancel-button b10" type="button" id="cancel-button" onclick="window.location = 'index.php'"> 72 <i class="fa fa-warning"></i>innodb.lib.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 411 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-Engines 7 */ 7 */ 8if (! defined('PHPMYADMIN')) { 9 exit; 14 * 15 * @package PhpMyAdmin-Engines 16 */ 92 ), 93 'innodb_max_dirty_pages_pct' => array( 94 'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC, 95 ), 96 'innodb_max_purge_lag' => array( 97 ),CookieJar.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 385 lines
1<?php 2 26 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 27 * @link https://wiki.jasig.org/display/CASC/phpCAS 28 */ 35 * @category Authentication 36 * @package PhpCAS 37 * @author Adam Franco <afranco@middlebury.edu> 127 * Parse Cookies without PECL 128 * From the comments in http://php.net/manual/en/function.http-parse-cookie.php 129 * 137 { 138 phpCAS::traceBegin(); 139 $cookies = array(); 145 146 phpCAS::traceEnd($cookies); 147 return $cookies;DebugBar.php https://gitlab.com/ntphuc/FoodyBackend | PHP | 468 lines
1<?php 2/* 183 * 184 * If no http driver where defined, a PhpHttpDriver is automatically created 185 * 190 if ($this->httpDriver === null) { 191 $this->httpDriver = new PhpHttpDriver(); 192 } 250 * @param string $headerName 251 * @param integer $maxHeaderLength 252 * @return array 253 */ 254 public function getDataAsHeaders($headerName = 'phpdebugbar', $maxHeaderLength = 4096, $maxTotalHeaderLength = 250000) 255 { 290 */ 291 public function sendDataInHeaders($useOpenHandler = null, $headerName = 'phpdebugbar', $maxHeaderLength = 4096) 292 {grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 224 lines
6 * Dual licensed under the MIT and GPL licenses: 7 * http://www.opensource.org/licenses/mit-license.php 8 * http://www.gnu.org/licenses/gpl.html 74 minValue: "value must be greater than or equal to ", 75 maxValue: "value must be less than or equal to", 76 email: "is not a valid e-mail", 158 masks: { 159 // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid 160 // and see http://docs.jquery.com/UI/Datepicker/formatDate 163 // information about date, time, numbers and currency formats used in different countries 164 // one should just convert the information in PHP format 165 // short date:function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 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 | 9 | available through the world-wide-web at the following url: | 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 | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_FUNCTION_SCOPE_H_ 18#define incl_HPHP_FUNCTION_SCOPE_H_SimpleFontData.cpp https://gitlab.com/x33n/phantomjs | C++ | 304 lines
91{ 92 GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(this, 0)->page(); 93 106 if (m_maxCharWidth <= 0.f) 107 m_maxCharWidth = max(m_avgCharWidth, m_fontMetrics.floatAscent()); 108} 111{ 112 GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(this, 0)->page(); 113 if (!glyphPageZero) { 130 // every character and the space are the same width. Otherwise we round. 131 m_spaceGlyph = glyphPageZero->glyphDataForCharacter(' ').glyph; 132 float width = widthForGlyph(m_spaceGlyph); 170{ 171 GlyphPageTreeNode* node = GlyphPageTreeNode::getRootChild(this, character / GlyphPage::size); 172 return node->page() ? node->page()->glyphAt(character % GlyphPage::size) : 0;BigMath.php https://gitlab.com/x33n/ampache | PHP | 451 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 20 */ 21require_once 'Auth/OpenID/CryptUtil.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 39 * 40 * @param integer $long The long number (can be a normal PHP 41 * integer or a number created by one of the available long number 135 * random number to return 136 * @param integer $stop The end of the range, or the maximum 137 * random number to returnTableProcessor.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 184 case 'PASSWORD': 185 case 'MAX_ROWS': 186 case 'MIN_ROWS':elfinder.pt_BR.js https://gitlab.com/r.collas/site_central | JavaScript | 320 lines
28 'errConf' : 'Configuração inválida do backend.', 29 'errJSON' : 'Módulo PHP JSON não está instalado.', 30 'errNoVolumes' : 'Não existe nenhum volume legível disponivel.', 55 'errUploadNoFiles' : 'Não foi encontrado nenhum arquivo para upload.', 56 'errMaxSize' : 'Os dados excedem o tamanho máximo permitido.', 57 'errFileMaxSize' : 'Arquivo excede o tamanho máximo permitido.', 269 'kindTextPlain' : 'Texto simples', 270 'kindPHP' : 'PHP', 271 'kindCSS' : 'CSS',BCGean8.barcode.php https://gitlab.com/talueses/SIPVE | PHP | 244 lines
1<?php 2/** 15 * Copyright (C) Jean-Sebastien Goupil 16 * http://www.barcodephp.com 17 */ 17 */ 18include_once('BCGBarcode1D.php'); 19 86 /** 87 * Returns the maximal size of a barcode. 88 *Db.php https://gitlab.com/devtoannh/cafe | PHP | 286 lines
1<?php 2 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Db.php 24417 2011-08-28 10:15:47Z padraic $ 21 */ 86 * 'ATTR_FETCH_CATALOG_NAMES', 'ATTR_DRIVER_NAME', 87 * 'ATTR_STRINGIFY_FETCHES', 'ATTR_MAX_COLUMN_LEN', 'ERRMODE_SILENT', 88 * 'ERRMODE_WARNING', 'ERRMODE_EXCEPTION', 'CASE_NATURAL', 113 const ATTR_FETCH_TABLE_NAMES = 14; 114 const ATTR_MAX_COLUMN_LEN = 18; 115 const ATTR_ORACLE_NULLS = 11; 226 */ 227 require_once 'Zend/Db/Exception.php'; 228 throw new Zend_Db_Exception('Adapter parameters must be in an array or a Zend_Config object'); 237 */ 238 require_once 'Zend/Db/Exception.php'; 239 throw new Zend_Db_Exception('Adapter name must be specified in a string');alias-class.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 374 lines
9 | available through the world-wide-web at the following url: | 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 | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 20 21#include "hphp/runtime/test/test-context.h" 22 22 23#include "hphp/runtime/vm/jit/alias-class.h" 24#include "hphp/runtime/vm/jit/ir-unit.h" 282 { 283 auto const imax = std::numeric_limits<int32_t>::max(); 284 AliasClass const deep_stk1 = AStack { FP, -10, imax };php.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 456 lines
280PHPAPI int php_write(void *buf, uint size TSRMLS_DC); 281PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 282 2); 298 299PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0); 300 308PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...) 309 PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 3, PHP_ATTR_FMT_OFFSET + 4); 310PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...) 310PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...) 311 PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 4, PHP_ATTR_FMT_OFFSET + 5); 312PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...) 312PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...) 313 PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6); 314#ifdef PHP_WIN32yii.php https://gitlab.com/I-NOZex/quiz | PHP | 114 lines
1<?php 2/** 78 '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} måste vara mindre än eller lika med "{compareValue}".', 79 '{attribute} must be no greater than {max}.' => '{attribute} får inte överskrida {max}.', 80 '{attribute} must be no less than {min}.' => '{attribute} får som minst vara {min}.', 83 '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} bör innehålla minst {min, number} tecken.', 84 '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} bör innehålla max {max, number} tecken.', 85 '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} bör innehålla {length, number} tecken.',news-edit.php https://gitlab.com/Nightprince/Warcry-CMS | PHP | 436 lines
64 65 <form method="post" action="<?php echo $config['BaseURL']; ?>/admin/execute.php?take=editNews&id=<?php echo $row['id']; ?>" id="newsForm" name="editNewsForm"> 66 98 99 <input type="hidden" name="image" id="newsImage" value="<?php echo $row['image']; ?>" /> 100 <script> 102 { 103 productUpdatePreview('<?php echo $config['BaseURL'] . '/uploads/news/icons/' . $row['image']; ?>', '<?php echo $row['image']; ?>'); 104 }); 122 123 <form id="croppingForm" method="POST" onsubmit="return false;" action="<?php echo $config['BaseURL']; ?>/admin/execute.php?take=cropImage" name="cropForm"> 124 405 406 $(image).css({ maxWidth: $maxWidth, }); 407tablageneral.php https://gitlab.com/juliocesartors/t-rex-proyect | PHP | 254 lines
1<?php 2 6 7header ("Location: index.php"); 8 19?> 20<?php 21 21 22require "base.php"; 23 27<head> 28 <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> 29 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> 29 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> 30 <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> 31 <link rel="stylesheet" href="css/scroll.css">crop-avatar.php https://gitlab.com/oytunistrator/cropper | PHP | 197 lines
1<?php 2 class CropAvatar { 145 case UPLOAD_ERR_INI_SIZE: 146 $message = 'The uploaded file exceeds the upload_max_filesize directive in php.ini'; 147 break; 149 case UPLOAD_ERR_FORM_SIZE: 150 $message = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'; 151 break;GISPointTest.php https://gitlab.com/luyxtran264/myproject | PHP | 362 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-test 7 */ 10 11require_once 'GISGeomTest.php'; 12require_once 'libraries/tcpdf/tcpdf.php'; 16 * 17 * @package PhpMyAdmin-test 18 */ 163 'minX' => 12, 164 'maxX' => 12, 165 'minY' => 35, 165 'minY' => 35, 166 'maxY' => 35, 167 )config.php https://gitlab.com/alexprowars/bitrix | PHP | 112 lines
1<?php 2$MESS["BX_IM_COMPONENT_CALL_ALL_CHATS"] = "Alle Chats"; 40$MESS["BX_IM_COMPONENT_CALL_ERROR_KICK_FROM_CALL"] = "Sie wurden aus dieser Videokonferenz entfernt."; 41$MESS["BX_IM_COMPONENT_CALL_ERROR_MAX_FILE_SIZE"] = "Maximale Dateigröße überschritten: (#LIMIT# MB)."; 42$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_B24_ONLY"] = "Videokonferenz ist nur für Bitrix24 verfügbar."; 44$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_PLEASE_LOG_IN"] = "Wir haben Ihren Account in diesem Bitrix24 gefunden. Bitte loggen Sie sich ein."; 45$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_USER_LIMIT"] = "Die Videokonferenz hat ihre maximale Kapazität erreicht."; 46$MESS["BX_IM_COMPONENT_CALL_ERROR_NOT_STARTED"] = "Videokonferenz wurde noch nicht begonnen.";component.php https://gitlab.com/alexprowars/bitrix | PHP | 255 lines
1<?php 2 117 { 118 for ($i = 0; $i <= intval($_POST["max_count"]); $i++) 119 {sm750_hw.c https://gitlab.com/kush/linux | C | 568 lines
71 * don't use pdev_resource[x].end - resource[x].start to 72 * calculate the resource size, it's only the maximum available 73 * size but not the actual size, using 130 val = peek32(SYSTEM_CTRL) & ~SYSTEM_CTRL_DPMS_MASK; 131 val |= SYSTEM_CTRL_DPMS_VPHP; 132 poke32(SYSTEM_CTRL, val); 436 pr_debug("flag = FB_BLANK_UNBLANK\n"); 437 dpms = SYSTEM_CTRL_DPMS_VPHP; 438 pps = PANEL_DISPLAY_CTRL_DATA; 441 pr_debug("flag = FB_BLANK_NORMAL\n"); 442 dpms = SYSTEM_CTRL_DPMS_VPHP; 443 crtdb = CRT_DISPLAY_CTRL_BLANK;simple.html https://gitlab.com/victor.flores/prueba | HTML | 374 lines
5 <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> 6 <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> 7 31 editor = new $.fn.dataTable.Editor( { 32 ajax: "../php/staff.php", 33 table: "#example", 61 dom: "Tfrtip", 62 ajax: "../php/staff.php", 63 columns: [ 146 editor = new $.fn.dataTable.Editor( { 147 ajax: "../php/staff.php", 148 table: "#example", 176 dom: "Tfrtip", 177 ajax: "../php/staff.php", 178 columns: [Explosion.php https://gitlab.com/wesleyvanneck/ImagicalMine | PHP | 277 lines
1<?php 2/** 2/** 3 * src/pocketmine/level/Explosion.php 4 * 82 $this->source = $center; 83 $this->size = max($size, 0); 84 $this->what = $what; 183 $minX = Math::floorFloat($this->source->x - $explosionSize - 1); 184 $maxX = Math::ceilFloat($this->source->x + $explosionSize + 1); 185 $minY = Math::floorFloat($this->source->y - $explosionSize - 1); 185 $minY = Math::floorFloat($this->source->y - $explosionSize - 1); 186 $maxY = Math::ceilFloat($this->source->y + $explosionSize + 1); 187 $minZ = Math::floorFloat($this->source->z - $explosionSize - 1); 189 190 $explosionBB = new AxisAlignedBB($minX, $minY, $minZ, $maxX, $maxY, $maxZ); 191class-wp-image-editor.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 403 lines
1<?php 2/** 88 * 89 * @param int $max_w 90 * @param int $max_h 93 */ 94 abstract public function resize( $max_w, $max_h, $crop = false ); 95about.php https://gitlab.com/ibnukipa/cakra | PHP | 243 lines
72 <div class="media-container"> 73 <img src="https://s.w.org/images/core/4.4/twenty-sixteen-white-fullsize-2x.png" alt="" srcset="https://s.w.org/images/core/4.4/twenty-sixteen-white-smartphone-1x.png 268w, https://s.w.org/images/core/4.4/twenty-sixteen-white-smartphone-2x.png 536w, https://s.w.org/images/core/4.4/twenty-sixteen-white-tablet-1x.png 558w, https://s.w.org/images/core/4.4/twenty-sixteen-white-desktop-1x.png 840w, https://s.w.org/images/core/4.4/twenty-sixteen-white-fullsize-1x.png 1086w, https://s.w.org/images/core/4.4/twenty-sixteen-white-tablet-2x.png 1116w, https://s.w.org/images/core/4.4/twenty-sixteen-white-desktop-2x.png 1680w, https://s.w.org/images/core/4.4/twenty-sixteen-white-fullsize-2x.png 2172w" sizes="(max-width: 500px) calc((100vw - 40px) * .8), (max-width: 782px) calc((100vw - 70px) * .8), (max-width: 960px) calc((100vw - 116px) * .8), (max-width: 1290px) calc((100vw - 240px) * .8), 840px" /> 74 </div> 81 <div class="content"> 82 <img class="feature-image horizontal-screen" src="https://s.w.org/images/core/4.4/twenty-sixteen-dark-fullsize-2x.png?2" alt="" srcset="https://s.w.org/images/core/4.4/twenty-sixteen-dark-smartphone-1x.png?2 268w, https://s.w.org/images/core/4.4/twenty-sixteen-dark-smartphone-2x.png?2 535w, https://s.w.org/images/core/4.4/twenty-sixteen-dark-desktop-1x.png?2 558w, https://s.w.org/images/core/4.4/twenty-sixteen-dark-fullsize-1x.png?2 783w, https://s.w.org/images/core/4.4/twenty-sixteen-dark-desktop-2x.png?2 1116w, https://s.w.org/images/core/4.4/twenty-sixteen-dark-fullsize-2x.png?2 1566w" sizes="(max-width: 500px) calc((100vw - 40px) * .8), (max-width: 782px) calc((100vw - 70px) * .8), (max-width: 960px) calc((100vw - 116px) * .5216), (max-width: 1290px) calc((100vw - 240px) * .5216), 548px" /> 83 </div> 86 <div class="col feature-image"> 87 <img class="vertical-screen" src="https://s.w.org/images/core/4.4/twenty-sixteen-red-fullsize-2x.png" alt="" srcset="https://s.w.org/images/core/4.4/twenty-sixteen-red-smartphone-1x.png 107w, https://s.w.org/images/core/4.4/twenty-sixteen-red-smartphone-2x.png 214w, https://s.w.org/images/core/4.4/twenty-sixteen-red-desktop-1x.png 252w, https://s.w.org/images/core/4.4/twenty-sixteen-red-fullsize-1x.png 410w, https://s.w.org/images/core/4.4/twenty-sixteen-red-desktop-2x.png 504w, https://s.w.org/images/core/4.4/twenty-sixteen-red-fullsize-2x.png 820w" sizes="(max-width: 500px) calc((100vw - 40px) * .32), (max-width: 782px) calc((100vw - 70px) * .32), (max-width: 960px) calc((100vw - 116px) * .24), (max-width: 1290px) calc((100vw - 240px) * .24), 252px" /> 88 </div> 96 <div class="media-container"> 97 <img src="https://s.w.org/images/core/4.4/responsive-devices-fullsize-2x.png" alt="" srcset="https://s.w.org/images/core/4.4/responsive-devices-smartphone-1x.png 335w, https://s.w.org/images/core/4.4/responsive-devices-desktop-1x.png 500w, https://s.w.org/images/core/4.4/responsive-devices-smartphone-2x.png 670w, https://s.w.org/images/core/4.4/responsive-devices-tablet-1x.png 698w, https://s.w.org/images/core/4.4/responsive-devices-desktop-2x.png 1000w, https://s.w.org/images/core/4.4/responsive-devices-fullsize-1x.png 1200w, https://s.w.org/images/core/4.4/responsive-devices-tablet-2x.png 1396w, https://s.w.org/images/core/4.4/responsive-devices-fullsize-2x.png 2400w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 960px) calc((100vw - 116px) * .476), (max-width: 1290px) calc((100vw - 240px) * .476), 500px" /> 98 </div> 203 <?php endif; ?> 204 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> 205 </div>PhpTransliteration.php https://gitlab.com/geeta7/drupal | PHP | 288 lines
1<?php 2 4 * @file 5 * Contains \Drupal\Component\Transliteration\PhpTransliteration. 6 * 20 * The database comes from two types of files, both of which are searched for in 21 * the PhpTransliteration::$dataDirectory directory. First, language-specific 22 * overrides are searched (see PhpTransliteration::readLanguageOverrides()). If 24 * transliteration character tables are searched (see 25 * PhpTransliteration::readGenericData()). If looking up the character in the 26 * generic table results in a NULL value, or an illegal character is 28 */ 29class PhpTransliteration implements TransliterationInterface { 30 34 * The constructor sets this (by default) to subdirectory 'data' underneath 35 * the directory where the class's PHP file resides. 36 *class-walker-nav-menu-edit.php https://gitlab.com/VTTE/sitios-vtte | PHP | 313 lines
120 <div class="menu-item-handle"> 121 <span class="item-title"><span class="menu-item-title"><?php echo esc_html( $title ); ?></span> <span class="is-submenu" <?php echo $submenu_text; ?>><?php _e( 'sub item' ); ?></span></span> 122 <span class="item-controls"> 187 <?php _e( 'URL' ); ?><br /> 188 <input type="text" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" /> 189 </label> 194 <?php _e( 'Navigation Label' ); ?><br /> 195 <input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" /> 196 </label> 200 <?php _e( 'Title Attribute' ); ?><br /> 201 <input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" /> 202 </label> 224 <?php _e( 'Description' ); ?><br /> 225 <textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); // textarea_escaped ?></textarea> 226 <span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>AdminTaxesController.php https://gitlab.com/goolic/PrestaShop | PHP | 297 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 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 208 'name' => 'rate', 209 'maxlength' => 6, 210 'required' => true,CommentStorage.php https://gitlab.com/geeta7/drupal | PHP | 340 lines
1<?php 2 73 */ 74 public function getMaxThread(CommentInterface $comment) { 75 $query = $this->database->select('comment_field_data', 'c') 79 ->condition('default_langcode', 1); 80 $query->addExpression('MAX(thread)', 'thread'); 81 return $query->execute() 87 */ 88 public function getMaxThreadPerThread(CommentInterface $comment) { 89 $query = $this->database->select('comment_field_data', 'c') 94 ->condition('default_langcode', 1); 95 $query->addExpression('MAX(thread)', 'thread'); 96 return $query->execute()Abstract.php https://gitlab.com/yousafsyed/easternglamor | PHP | 385 lines
1<?php 2/** 262 if ($this->_captureLock) { 263 #require_once 'Zend/View/Helper/Placeholder/Container/Exception.php'; 264 $e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder'); 336 * 337 * as defined by the PHP manual 338 * @return int 346 347 return $nextIndex = max($keys) + 1; 348 }MDB2Store.php https://gitlab.com/r.collas/site_central | PHP | 413 lines
1<?php 2 5 * 6 * PHP versions 4 and 5 7 * 15 16require_once 'MDB2.php'; 17 20 */ 21require_once 'Auth/OpenID/Interface.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 30 */ 31require_once 'Auth/OpenID/Nonce.php'; 32DefaultRevalidationTest.php https://gitlab.com/x33n/respond | PHP | 246 lines
1<?php 2 42 "HTTP/1.1 200 OK\r\nDate: " . $this->getHttpDate('-100 hours') . "\r\nContent-Length: 4\r\n\r\nData", 43 "HTTP/1.1 304 NOT MODIFIED\r\nCache-Control: max-age=2000000\r\nContent-Length: 0\r\n\r\n", 44 ), 145 "Date: Mon, 12 Nov 2012 03:06:37 GMT\r\n" . 146 "Cache-Control: private, s-maxage=0, max-age=0, must-revalidate\r\n" . 147 "Last-Modified: Mon, 12 Nov 2012 02:53:38 GMT\r\n" . 174 'Date' => $lm, 175 'Cache-Control' => 'max-age=100, must-revalidate, stale-if-error=9999', 176 'Last-Modified' => $lm, 196 'Date' => $lm, 197 'Cache-Control' => 'must-revalidate, max-age=0, stale-if-error=1200', 198 'Last-Modified' => $lm, 223 "Date: Mon, 12 Nov 2012 03:06:37 GMT\r\n" . 224 "Cache-Control: private, s-maxage=0, max-age=0, must-revalidate\r\n" . 225 "Last-Modified: Mon, 12 Nov 2012 02:53:38 GMT\r\n" .2012-43-109.html https://gitlab.com/bernagg/TI | HTML | 357 lines
52 <form method="post" 53 action="/search.php" 54 id="search-form"> 60 <td style="padding-left: 4px;"> 61 <input type="text" name="query" id="query" value="" maxlength="50" class="inp-text"> 62 </td> 77var code = "884"; 78loader.src = "http://hits.informer.com/log.php?id=" + code + "&r=" + Math.round(100000 * Math.random()); 79})(); 311var code = "368"; 312loader.src = "http://hits.informer.com/log.php?id=" + code + "&r=" + Math.round(100000 * Math.random()); 313})();Database.php https://gitlab.com/blingbang2016/shop | PHP | 350 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) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 66 ), 'File Id') 67 ->addColumn('content', Varien_Db_Ddl_Table::TYPE_VARBINARY, Varien_Db_Ddl_Table::MAX_VARBINARY_SIZE, array( 68 'nullable' => falselib.php https://gitlab.com/JrLucena/moodle | PHP | 339 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 24 */ 25require_once($CFG->dirroot . '/repository/lib.php'); 26 36class repository_youtube extends repository { 37 /** @var int maximum number of thumbs per page */ 38 const YOUTUBE_THUMBS_PER_PAGE = 27; 86 if (!isset($this->service)) { 87 require_once($CFG->libdir . '/google/lib.php'); 88 $this->client = get_google_client(); 173 * @param int $start 174 * @param int $max max results 175 * @param string $sort 196 'q' => $keyword, 197 'maxResults' => $max, 198 'order' => $sort,class-Shoestrap_Color.php https://gitlab.com/aristath/shoestrap-3 | PHP | 481 lines
143 $green = max( 0, min( 255, $green + $steps ) ); 144 $blue = max( 0, min( 255, $blue + $steps ) ); 145 223 $var_max = max( $var_r, $var_g, $var_b); 224 $del_max = $var_max - $var_min; 225 231 } else { 232 $s = $del_max / $var_max; 233 233 234 $del_r = ( ( ( $var_max - $var_r ) / 6 ) + ( $del_max / 2 ) ) / $del_max; 235 $del_g = ( ( ( $var_max - $var_g ) / 6 ) + ( $del_max / 2 ) ) / $del_max; 235 $del_g = ( ( ( $var_max - $var_g ) / 6 ) + ( $del_max / 2 ) ) / $del_max; 236 $del_b = ( ( ( $var_max - $var_b ) / 6 ) + ( $del_max / 2 ) ) / $del_max; 237collapse.html https://gitlab.com/x33n/formvalidation | HTML | 264 lines
20 21 <form id="defaultForm" method="post" class="form-horizontal" action="target.php"> 22 <div class="panel-group" id="steps"> 199 min: 6, 200 max: 30, 201 message: 'The username must be more than 6 and less than 30 characters long'smarty_cacheresource.php https://gitlab.com/staging06/myproject | PHP | 442 lines
1<?php 2/** 122 { 123 // theoretically locking_timeout should be checked against time_limit (max_execution_time) 124 $start = microtime(true);template.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 352 lines
30<?php global $arras_registered_alt_layouts; if ( count($arras_registered_alt_layouts) > 0 ) : ?> 31<link rel="stylesheet" href="<?php bloginfo('template_url') ?>/css/layouts/<?php echo arras_get_option('layout') ?>.css" type="text/css" /> 32<?php endif; ?> 222 if (ARRAS_THUMB == 'phpthumb') { 223 return get_bloginfo('template_directory') . '/library/phpthumb/phpThumb.php?src=' . $thumbnail . '&w=' . $w . '&h=' . $h . '&zc=1'; 224 } else { 251 <?php endif ?> 252 <h3 class="entry-title"><a rel="bookmark" href="<?php the_permalink() ?>" title="<?php printf( __('Permalink to %s', 'arras'), get_the_title() ) ?>"><?php the_title() ?></a></h3> 253 <span class="entry-comments"><?php comments_number() ?></span> 287?> 288 <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>"> 289 <div class="comment-node" id="comment-<?php comment_ID(); ?>"> 301 <div class="comment-controls"> 302 <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?> 303 </div>PdoSessionHandler.php https://gitlab.com/oytunistrator/92five | PHP | 255 lines
1<?php 2 126 */ 127 public function gc($maxlifetime) 128 { 133 $stmt = $this->pdo->prepare($sql); 134 $stmt->bindValue(':time', time() - $maxlifetime, \PDO::PARAM_INT); 135 $stmt->execute();blog-layout.php https://gitlab.com/hop23typhu/list-theme | PHP | 281 lines
1<?php 2/** 46} else { 47 $number_of_pages = $wp_query->max_num_pages; 48} 280 281// Omit closing PHP tag to avoid "Headers already sent" issues. 282Search.php https://gitlab.com/Illprotectyew/xlt | PHP | 462 lines
1<?php namespace Myth\Docs; 2/** 28 * @license http://opensource.org/licenses/MIT (MIT) 29 * @link http://sprintphp.com 30 * @since Version 1.0 53 /** 54 * Maximum characters that can be submitted for a search. 55 * 57 */ 58 protected $max_chars = 30; 59 64 */ 65 protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md'; 66 90 /** 91 * The maximum number of results allowed from a single file. 92 *Users.php https://gitlab.com/urbanjunglestudio/movidly_admin | PHP | 132 lines
1<?php 2 14 * - reputation integer the reputation of the user on a scale from 0 to 100, with 75 generally being a "good" reputation 15 * - hourly_quota integer the maximum number of emails Mandrill will deliver for this user each hour. Any emails beyond that will be accepted and queued for later delivery. Users with higher reputations will have higher hourly quotas 16 * - backlog integer the number of emails that are queued for delivery due to exceeding your monthly or hourly quotasQueryBuilder.php https://gitlab.com/aintenebris/memoria | PHP | 260 lines
1<?php 2/** 136 $value = $this->db->useMaster(function (Connection $db) use ($tableSchema) { 137 return $db->createCommand("SELECT MAX(\"{$tableSchema->primaryKey}\") FROM \"{$tableSchema->name}\"")->queryScalar(); 138 }) + 1; 141 return "DROP SEQUENCE \"{$tableSchema->name}_SEQ\";" 142 . "CREATE SEQUENCE \"{$tableSchema->name}_SEQ\" START WITH {$value} INCREMENT BY 1 NOMAXVALUE NOCACHE"; 143 }ko.js http://avblog.googlecode.com/svn/trunk/ | JavaScript | 502 lines
5 * Licensed under the terms of the GNU Lesser General Public License: 6 * http://www.opensource.org/licenses/lgpl-license.php 7 * 101 102FitWindow : "Maximize the editor size", //MISSING 103 419DlgTextCharWidth : "?? ??", 420DlgTextMaxChars : "?? ???", 421DlgTextType : "??",server_side.html https://gitlab.com/betanurlaila/UI_onlineshop | HTML | 233 lines
5 <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> 6 <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> 7 <title>ColReorder example - Server-side processing</title> 32 serverSide: true, 33 ajax: "../../../../examples/server_side/scripts/objects.php", 34 columns: [ 93 serverSide: true, 94 ajax: "../../../../examples/server_side/scripts/objects.php", 95 columns: [ 140 </div> 141 <div class="php"> 142 <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-sideAbstract.php https://gitlab.com/yousafsyed/easternglamor | PHP | 309 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $ 21 */ 124 */ 125 #require_once 'Zend/Service/Ebay/Exception.php'; 126 throw new Zend_Service_Ebay_Exception('Invalid options provided.'); 143 * array( 144 * 'name' => 'MaxPrice', 145 * 'value' => 25, 172 * 'paginationInput.pageNumber' => '2', 173 * 'itemFilter(0).name' => 'MaxPrice', 174 * 'itemFilter(0).value' => '25', 244 /** 245 * Translate native PHP values format to ebay format for request. 246 *QueryFactoryTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 265 lines
10 11class QueryFactoryTest extends \PHPUnit_Framework_TestCase 12{ 12{ 13 const XML_PATH_MAX_QUERY_LENGTH = 'catalog/search/max_query_length'; 14 16 17 /** @var \Magento\Search\Model\Query|\PHPUnit_Framework_MockObject_MockObject */ 18 protected $queryMock; 19 20 /** @var \Magento\Framework\App\RequestInterface|\PHPUnit_Framework_MockObject_MockObject */ 21 protected $requestMock; 31 32 /** @var \Magento\Framework\ObjectManagerInterface|\PHPUnit_Framework_MockObject_MockObject */ 33 protected $objectManagerMock;joined_enquiry.php https://gitlab.com/msdusad/all_ones | PHP | 209 lines
92 <td><?php echo $fetch['country'];?></td> 93 <td><?php echo $fetch['country_code'];?>-<?php echo $fetch['contact'];?></td> 94 <td><?php echo $fetch['enq_type'];?></td> 172 <td><?php echo $fetch['in_interface'];?></td> 173 <td><a href="updatestatus.php?uid=<?= $fetch['id']; ?>"style="color:#fff;"><?php echo $fetch['enq_status'];?></a></td> 174 <td><a href="joined_enquiry.php?did=<?= $fetch['id'];?>"><img src="img/DeleteRed.png" width="20" height="20"></a></td> 178 <tr style="background:green;color:#fff;"> 179 <td><a href="show_enquiry.php?sid=<?= $fetch['id'];?>" style="color:#fff;"><?php echo $fetch['id'];?></a></td> 180 <td><?php echo $fetch['u_name'];?></td> 182 <td><?php echo $fetch['country'];?></td> 183 <td><?php echo $fetch['country_code'];?>-<?php echo $fetch['contact'];?></td> 184 <td><?php echo $fetch['enq_type'];?></td> 187 <td><?php echo $fetch['in_interface'];?></td> 188 <td><a href="updatestatus.php?uid=<?= $fetch['id']; ?>" style="color:#fff;"><?php echo $fetch['enq_status'];?></a></td> 189 <td><a href="joined_enquiry.php?did=<?= $fetch['id'];?>"><img src="img/DeleteRed.png" width="20" height="20"></a></td>RuleInterface.php https://gitlab.com/yousafsyed/easternglamor | PHP | 449 lines
1<?php 2/** 166 * @return bool 167 * @SuppressWarnings(PHPMD.BooleanGetMethodName) 168 */ 212 * @return bool 213 * @SuppressWarnings(PHPMD.BooleanGetMethodName) 214 */ 228 * @return bool 229 * @SuppressWarnings(PHPMD.BooleanGetMethodName) 230 */ 297 /** 298 * Return maximum qty discount is applied 299 * 304 /** 305 * Set maximum qty discount is applied 306 *yii.php https://gitlab.com/I-NOZex/quiz | PHP | 125 lines
1<?php 2/** 86 '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} mestilah kurang daripada atau sama dengan "{compareValue}".', 87 '{attribute} must be no greater than {max}.' => '{attribute} tidak boleh lebih besar daripada {max}.', 88 '{attribute} must be no less than {min}.' => '{attribute} tidak boleh kurang daripada {min}.', 92 '{attribute} mesti mengandungi sekurang-kurangnya {min, number} {min, plural, one{character} other{characters}}.', 93 '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => 94 '{attribute} mesti mengangungi paling banyak {max, number} {max, plural, one{character} other{characters}}.',profiler.php https://gitlab.com/ken3/bluSky | PHP | 385 lines
151 152 if ($max['memory'] === NULL OR $memory > $max['memory']) 153 { 241 242 if ( ! isset($groups[$group]['max']['time']) OR $groups[$group]['max']['time'] < $total['time']) 243 { 246 } 247 if ( ! isset($groups[$group]['max']['memory']) OR $groups[$group]['max']['memory'] < $total['memory']) 248 { 335 // Calculate max time 336 if ($stats['max']['time'] === NULL OR $time > $stats['max']['time']) 337 { 350 // Calculate max memory 351 if ($stats['max']['memory'] === NULL OR $memory > $stats['max']['memory']) 352 {widgets.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 241 lines
1<?php 2/** 78 <div class="sidebar-name-arrow"><br /></div> 79 <h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3> 80 </div> 80 </div> 81 <?php 82 } 131 if ( preg_match( '/' . $id_base . '-([0-9]+)$/', $widget_id, $matches ) ) 132 $number = max($number, $matches[1]); 133 } 194 <a class="widget-action hide-if-no-js" href="#available-widgets"></a> 195 <a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"> 196 <span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span> 196 <span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span> 197 <span class="add"><?php _ex( 'Add', 'widget' ); ?></span> 198 <span class="screen-reader-text"><?php echo $widget_title; ?></span>ParameterBagTest.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 224 lines
1<?php 2 15 16class ParameterBagTest extends \PHPUnit_Framework_TestCase 17{ 181 'flags' => FILTER_FLAG_ALLOW_HEX, 182 'options' => array('min_range' => 1, 'max_range' => 0xff), 183 )), '->filter() gets a value of parameter as integer between boundaries'); 186 'flags' => FILTER_FLAG_ALLOW_HEX, 187 'options' => array('min_range' => 1, 'max_range' => 0xff), 188 )), '->filter() gets a value of parameter as integer between boundaries');about.css https://gitlab.com/webkod3r/tripolis | CSS | 481 lines
20 margin: 25px 40px 0 20px; 21 max-width: 1050px; /* readability */ 22 font-size: 15px; 39 margin: 0; 40 max-width: 100%; 41 height: auto; 267 width: 100%; 268 max-width: 100%; 269 height: 0; 291 margin: 0 auto; 292 max-width: 80%; 293} 303.about-wrap .embed-container iframe { 304 max-width: 100%; 305}IndexController.php https://gitlab.com/wuhang2003/phpwind | PHP | 251 lines
1<?php 2Wind::import('APPS:.profile.controller.BaseProfileController'); 11 * @author xiaoxia.xu <xiaoxia.xuxx@aliyun-inc.com> 12 * @copyright ©2003-2103 phpwind.com 13 * @license http://www.phpwind.com 13 * @license http://www.phpwind.com 14 * @version $Id: IndexController.php 28946 2013-05-31 04:59:50Z jieyin $ 15 * @package src.products.u.controller.profile 18 19 /* (non-PHPdoc) 20 * @see BaseProfileController::beforeAction() 26 27 /* (non-PHPdoc) 28 * @see WindController::run() 62 $this->setOutput($isSignBan, 'isSignBan'); 63 $this->setOutput($this->loginUser->getPermission('sign_max_length'), 'signMaxLength'); 64 $this->setOutput($year, 'years');errors.html https://gitlab.com/sumonchai/Mikrotik-Manager | HTML | 140 lines
46</td> 47<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td> 48</tr> 62 63<p class="important"><strong>Note:</strong> By default, CodeIgniter displays all PHP errors. You might 64wish to change this behavior once your development is complete. You'll find the <dfn>error_reporting()</dfn> 64wish to change this behavior once your development is complete. You'll find the <dfn>error_reporting()</dfn> 65function located at the top of your main index.php file. Disabling error reporting will NOT prevent log files 66from being written if there are errors.</p> 75<p>This function will display the error message supplied to it using the following error template:</p> 76<p><dfn>application/errors/</dfn><kbd>error_general.php</kbd></p> 77<p>The optional parameter $status_code determines what HTTP status code should be sent with the error.</p> 80<p>This function will display the 404 error message supplied to it using the following error template:</p> 81<p><dfn>application/errors/</dfn><kbd>error_404.php</kbd></p> 82rus_post.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
1<?php 2 159 "redirect" => true, 160 "redirectMax" => 5, 161 ));template-tags.php https://gitlab.com/aristath/mdl | PHP | 266 lines
1<?php 2/** 17 // Don't print empty markup if there's only one page. 18 if ( $GLOBALS['wp_query']->max_num_pages < 2 ) { 19 return; 22 <nav class="navigation posts-navigation" role="navigation"> 23 <h2 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'mdl' ); ?></h2> 24 <div class="nav-links"> 25 26 <?php if ( get_next_posts_link() ) : ?> 27 <div class="nav-previous"><?php next_posts_link( esc_html__( 'Older posts', 'mdl' ) ); ?></div> 27 <div class="nav-previous"><?php next_posts_link( esc_html__( 'Older posts', 'mdl' ) ); ?></div> 28 <?php endif; ?> 29 29 30 <?php if ( get_previous_posts_link() ) : ?> 31 <div class="nav-next"><?php previous_posts_link( esc_html__( 'Newer posts', 'mdl' ) ); ?></div>Abstract.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 309 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $ 21 */ 124 */ 125 require_once 'Zend/Service/Ebay/Exception.php'; 126 throw new Zend_Service_Ebay_Exception('Invalid options provided.'); 143 * array( 144 * 'name' => 'MaxPrice', 145 * 'value' => 25, 172 * 'paginationInput.pageNumber' => '2', 173 * 'itemFilter(0).name' => 'MaxPrice', 174 * 'itemFilter(0).value' => '25', 244 /** 245 * Translate native PHP values format to ebay format for request. 246 *MonthSelect.php https://gitlab.com/yousafsyed/easternglamor | PHP | 361 lines
49 */ 50 protected $maxYear; 51 97 * - min_year: min year to use in the year select 98 * - max_year: max year to use in the year select 99 * 123 if (isset($options['max_year'])) { 124 $this->setMaxYear($options['max_year']); 125 } 229 */ 230 public function setMaxYear($maxYear) 231 { 231 { 232 $this->maxYear = $maxYear; 233 return $this;media-template.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 467 lines
75 76 $upload_size_unit = $max_upload_size = wp_max_upload_size(); 77 $byte_sizes = array( 'KB', 'MB', 'GB' ); 91 92 <p class="max-upload-size"><?php 93 printf( __( 'Maximum upload file size: %d%s.' ), esc_html($upload_size_unit), esc_html($byte_sizes[$u]) ); 95 96 <?php if ( ( $GLOBALS['is_IE'] || $GLOBALS['is_opera']) && $max_upload_size > 100 * 1024 * 1024 ) : 97 $browser_uploader = admin_url( 'media-new.php?browser-uploader&post_id=' ) . '{{ data.postId }}'; 328 if ( size ) { #> 329 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, 'full' ); ?>> 330 <?php echo esc_html( $name ); ?> – {{ size.width }} × {{ size.height }} 363 <?php for ( $i = 1; $i <= 9; $i++ ) : ?> 364 <option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, 3 ); ?>> 365 <?php echo esc_html( $i ); ?>MysqliStatement.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 370 lines
1<?php 2/* 37 PDO::PARAM_INT => 'i', 38 PDO::PARAM_LOB => 's' // TODO Support LOB bigger then max package size. 39 ); 94 // Index 0 is types 95 // Need to init the string else php think we are trying to access it as a array. 96 $bindedValues = array(0 => str_repeat('s', $paramCount));_form.php https://gitlab.com/aintenebris/memoria | PHP | 221 lines
1<?php 2 28 29 <?php $form = ActiveForm::begin(['id' => 'dynamic-form']); ?> 30 30 31 <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> 32 93 94 <?php DynamicFormWidget::begin([ 95 'widgetContainer' => 'dynamicform_wrapper', // required: only alphanumeric characters plus "_" [A-Za-z0-9_] 97 'widgetItem' => '.item', // required: css class 98 'limit' => 50, // the maximum times, an element can be added (default 999) 99 'min' => 1, // 0 or 1 (default 1) 124 <div class="container-items"><!-- widgetBody --> 125 <?php foreach ($modelsCatalogItemSize as $i => $modelsCatalogItemSize): ?> 126 <div class="item panel panel-default"><!-- widgetItem -->ClientInterface.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 230 lines
1<?php 2 115 * @method int zcard($key) 116 * @method string zcount($key, $min, $max) 117 * @method string zincrby($key, $increment, $member) 119 * @method array zrange($key, $start, $stop, array $options = null) 120 * @method array zrangebyscore($key, $min, $max, array $options = null) 121 * @method int zrank($key, $member) 123 * @method int zremrangebyrank($key, $start, $stop) 124 * @method int zremrangebyscore($key, $min, $max) 125 * @method array zrevrange($key, $start, $stop, array $options = null) 125 * @method array zrevrange($key, $start, $stop, array $options = null) 126 * @method array zrevrangebyscore($key, $min, $max, array $options = null) 127 * @method int zrevrank($key, $member) 131 * @method array zrangebylex($key, $start, $stop, array $options = null) 132 * @method int zremrangebylex($key, $min, $max) 133 * @method int zlexcount($key, $min, $max)offeredcourse.php https://gitlab.com/redwan4re/web-apps-php-26 | PHP | 173 lines
13 14<?php include_once 'header.php'; ?> 15<!-- Page header --> 29 <!-- Detached sidebar --> 30 <?php include_once 'sidebar.php'; ?> 31 <!-- /detached sidebar --> 115 <td class="text-center"> 116 <a class="btn bg-teal" type="button" href="show.php?id=<?php echo $singleData['unique_id']; ?>"> 117 <i class="icon-enlarge6 position-left"></i> 129 <td class="text-center"> 130 <a class="btn bg-teal" type="button" href="trash.php?id=<?php echo $singleData['unique_id']; ?>"> 131 <i class="icon-close2 position-left"></i> 167<!-- /detached content --> 168<?php include_once 'footer.php';?> 169cotizador_email_backend.php https://gitlab.com/victor.flores/prueba | PHP | 201 lines
1<?php 2 //clearstatcache(); 19 <!-- Theme CSS --> 20 <link rel="stylesheet" type="text/css" href="<?php echo $ruta; ?>assets/skin/default_skin/css/theme.css"> 21 <link rel="stylesheet" type="text/css" href="<?php echo $ruta; ?>assets/admin-tools/admin-forms/css/admin-forms.css"> 22 <!-- CUSTOM CSS --> 23 <link rel="stylesheet" type="text/css" href="<?php echo $ruta; ?>assets/skin/default_skin/css/custom.css"> 24 <link rel="stylesheet" type="text/css" href="<?php echo $ruta; ?>vendor/plugins/webui-popover-master/src/jquery.webui-popover.css"> 29 <!--[if lt IE 9]> 30 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> 31 <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> 47 </div> 48 <?php 49 include('solicitudes_web_email_modal.php'); 50 ?> 51 <input type="hidden" name="oportunidad_id" value="<?php echo($_GET['id_registro']); ?>" /> 52 <input type="hidden" name="id_solicitud" value="<?php echo($_GET['id_solicitud']); ?>" />common.js https://gitlab.com/ctheilman92/Aging-In-Place | JavaScript | 288 lines
18 * 19 * The content for this is normally loaded from Header.class.php or 20 * Response.class.php and executed by ajax.js 96 * 97 * The content for this is normally loaded from Header.class.php or 98 * Response.class.php and executed by ajax.js 134 * @param mixed url Undefined to refresh to the same page 135 * String to go to a different page, e.g: 'index.php' 136 * 180 if (! url) { 181 url = 'querywindow.php' + PMA_commonParams.getUrlQuery(); 182 } 227 // we need first to open the window and cannot pass the query with it 228 // as we dont know if the query exceeds max url length 229 queryToLoad = sql_query;form.js https://gitlab.com/ivandevp/petshop | JavaScript | 506 lines
8* It is also available through the world-wide-web at this URL: 9* http://opensource.org/licenses/osl-3.0.php 10* If you did not receive a copy of the license and are unable to 21* @copyright 2007-2016 PrestaShop SA 22* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 23* International Registered Trademark & Property of PrestaShop SA 32 $.get( 33 'ajax-tab.php', 34 {controller:'AdminCartRules',token:currentToken,newProductRuleGroup:1,product_rule_group_id:product_rule_groups_counter}, 51 $.get( 52 'ajax-tab.php', 53 {controller:'AdminCartRules',token:currentToken,newProductRule:1,product_rule_type:$('#product_rule_type_' + product_rule_group_id).val(),product_rule_group_id:product_rule_group_id,product_rule_id:product_rule_counters[product_rule_group_id]}, 290 .autocomplete( 291 'ajax-tab.php', { 292 minChars: 2,bcm_umi_nand.c https://gitlab.com/rychly/rk3026-linux-sources | C | 579 lines
6* under the terms of the GNU General Public License version 2, available at 7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). 8* 73#define DMA_MIN_BUFLEN 512 74#define DMA_MAX_BUFLEN PAGE_SIZE 75#define USE_DIRECT_IO(len) (((len) < DMA_MIN_BUFLEN) || \ 75#define USE_DIRECT_IO(len) (((len) < DMA_MIN_BUFLEN) || \ 76 ((len) > DMA_MAX_BUFLEN)) 77 82 * 83 * Need to make sure REG_NAND_DATA_PADDR + DMA_MAX_LEN < 0x80002000 84 */ 84 */ 85#define DMA_MAX_LEN 1024 86class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
1<?php 2/** 27 28 /** @public array Stores post IDs matching layered nav, so price filter can find max price in view */ 29 public $layered_nav_product_ids = array(); 340 341 // And filtered post ids which just take layered nav into consideration (to find max price in the price widget) 342 if ( sizeof( $this->layered_nav_post__in ) > 0 )NativeSessionStorage.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 414 lines
76 * gc_divisor, "100" 77 * gc_maxlifetime, "1440" 78 * gc_probability, "1" 133 134 if (PHP_VERSION_ID >= 50400 && \PHP_SESSION_ACTIVE === session_status()) { 135 throw new \RuntimeException('Failed to start the session: already started by PHP.'); 139 // not 100% fool-proof, but is the most reliable way to determine if a session is active in PHP 5.3 140 throw new \RuntimeException('Failed to start the session: already started by PHP ($_SESSION is set).'); 141 } 153 if (!$this->saveHandler->isWrapper() && !$this->saveHandler->isSessionHandlerInterface()) { 154 // This condition matches only PHP 5.3 with internal save handlers 155 $this->saveHandler->setActive(true); 391 * are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). 392 * PHP takes the return value from the read() handler, unserializes it 393 * and populates $_SESSION with the result automatically.SearchHelper.php git://github.com/thorsten/phpMyFAQ.git | PHP | 382 lines
1<?php 2 3/** 4 * Helper class for phpMyFAQ search. 5 * 9 * 10 * @package phpMyFAQ\Helper 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @copyright 2009-2021 phpMyFAQ Team 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @link https://www.phpmyfaq.de 15 * @since 2009-09-07 17 18namespace phpMyFAQ\Helper; 19Server.php https://gitlab.com/robfrawley/php-memcached-admin | PHP | 513 lines
1<?php 2/** 5 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 6 * @package phpMemcachedAdmin 7 */ 279 # Executing command : stats cachedump 280 if(($result = $this->exec('stats cachedump ' . $slab . ' ' . self::$_ini->get('max_item_dump'), $server, $port))) 281 {