PageRenderTime 1047ms queryTime 82ms sortTime 331ms getByIdsTime 288ms findMatchingLines 80ms

100+ results results for 'php round repo:nhurman/insalan.fr' (1047 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
38    .calnk a:hover {
                    
39         background-position:0 0;
                    
40         text-decoration:none;  
                    
59        margin: -3px 0 0 0;
                    
60        background:#ccc; 
                    
61        display:block;
                    
75        border:1px solid #D6DED5;
                    
76        background-color:#E4EBE3;
                    
77     }
                    
96        border:1px solid #DFE6DE;
                    
97        background-color:#EBF2EA;
                    
98     }
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
24.sweet-overlay {
                    
25  background-color: rgba(0, 0, 0, 0.4);
                    
26  position: fixed;
                    
34.sweet-alert {
                    
35  background-color: #fff;
                    
36  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
                    
94      vertical-align: middle;
                    
95      background-color: transparent !important;
                    
96      color: transparent;
                    
                
ImageMagick.php https://gitlab.com/yousafsyed/easternglamor | PHP | 480 lines
                    
1<?php
                    
2/**
                    
33    /**
                    
34     * Set/get background color. Check Imagick::COLOR_* constants
                    
35     *
                    
38     */
                    
39    public function backgroundColor($color = null)
                    
40    {
                    
52            if ($this->_imageHandler) {
                    
53                $this->_imageHandler->setImageBackgroundColor($color);
                    
54            }
                    
55        } else {
                    
56            $pixel = $this->_imageHandler->getImageBackgroundColor();
                    
57        }
                    
58
                    
59        $this->imageBackgroundColor = $pixel->getColorAsString();
                    
60
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
149	}
                    
150	XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin),
                    
151	    chPtr->gc, chPtr->segArr, 2);
                    
200    gcValues.line_width = LineWidth(chPtr->lineWidth);
                    
201    gcMask = (GCForeground | GCBackground | GCFunction | GCLineWidth);
                    
202    if (LineIsDashed(chPtr->dashes)) {
                    
234    if (!graphPtr->crosshairs->hidden) {
                    
235	TurnOnHairs(graphPtr, graphPtr->crosshairs);
                    
236    }
                    
243    if (!graphPtr->crosshairs->hidden) {
                    
244	TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs);
                    
245    }
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
Profiles.php https://gitlab.com/gregtyka/opensis | PHP | 258 lines
                    
71	{
                    
72		$file = 'Users/User.php&category_id='.$category['ID'];
                    
73		$tmp_menu['Users'][$xprofile][$file] = ' &nbsp; &nbsp; &rsaquo; '.$category['TITLE'];
                    
128PopTable('header','Permissions');
                    
129	echo "<FORM name=pref_form id=pref_form action=Modules.php?modname=$_REQUEST[modname]&modfunc=update&profile_id=$_REQUEST[profile_id] method=POST>";
                    
130	DrawHeaderHome('Select the programs that users of this profile can use and which programs those users can use to save information.');
                    
143		if($_REQUEST['profile_id']!='' && $id==$_REQUEST['profile_id'])
                    
144			echo '<TR id=selected_tr onmouseover="" onmouseout="" bgcolor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",20):'').'</TD><TD '.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">';
                    
145		else
                    
145		else
                    
146			echo '<TR onmouseover=\'this.style.backgroundColor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\' onmouseout=\'this.style.cssText="background-color:transparent; color:black;";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",15):'').'</TD><TD'.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">';
                    
147		echo '<b><a style="cursor: pointer; cursor:hand; text-decoration:none;">'.($id>3?'':'<b>').$profile[1]['TITLE'].($id>3?'':'</b>').'</a></b> &nbsp;';
                    
158	echo '<TR id=new_tr><TD colspan=3'.$style1.'>';
                    
159	echo '<a style="cursor: pointer;" onclick=\'document.getElementById("selected_tr").onmouseover="this.style.backgroundColor=\"'.Preferences('HIGHLIGHT').'\"; this.style.color=\"white\";"; document.getElementById("selected_tr").onmouseout="this.style.cssText=\"background-color:transparent; color:black;\";"; document.getElementById("selected_tr").style.cssText="background-color:transparent; color:black;"; changeHTML({"new_id_div":"new_id_content"},["main_div"]);document.getElementById("new_tr").onmouseover="";document.getElementById("new_tr").onmouseout="";this.onclick="";\'><b> Add a User Profile<BR></a><br><DIV id=new_id_div></DIV> </b>';
                    
160	echo '</TD>';
                    
                
core.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @package       app.Config
                    
89 * To configure CakePHP *not* to use mod_rewrite and to
                    
90 * use CakePHP pretty URLs, remove these .htaccess
                    
91 * files:
                    
205 *
                    
206 * - 'php' - Uses settings defined in your php.ini.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
208 * - 'database' - Uses CakePHP's database sessions.
                    
209 * - 'cache' - Use the Cache class to save sessions.
                    
                
Font.php https://bitbucket.org/amorello/changeover.git | PHP | 640 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
1<?php
                    
2/**
                    
42	 *
                    
43	 * Most of them have reference functions located in bp-core-functions.php.
                    
44	 * The ones that don't can be accessed via their respective WordPress API's.
                    
260		// Place your custom code (actions/filters) in a file called
                    
261		// '/plugins/bp-custom.php' and it will be loaded before anything else.
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
263			require( WP_PLUGIN_DIR . '/bp-custom.php' );
                    
264
                    
290
                    
291			// If we're using https, update the protocol. Workaround for WP13941, WP15928, WP19037.
                    
292			if ( is_ssl() )
                    
354		// Load the WP abstraction file so BuddyPress can run on all WordPress setups.
                    
355		require( BP_PLUGIN_DIR . '/bp-core/bp-core-wpabstraction.php' );
                    
356
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
91         *
                    
92         * Indicates the total roundtrip delay to the primary reference
                    
93         * source at the root of the synchronization subnet, in seconds
                    
394        /*
                    
395         * Indicates the total roundtrip delay to the primary reference source at the
                    
396         * root of the synchronization subnet, in seconds.
                    
411        /*
                    
412         * The roundtrip delay of the peer clock relative to the local clock
                    
413         * over the network path between them, in seconds.
                    
417         */
                    
418        $this->_info['roundtrip']  = $binary['receivestamp'];
                    
419        $this->_info['roundtrip'] -= $binary['originatestamp'];
                    
419        $this->_info['roundtrip'] -= $binary['originatestamp'];
                    
420        $this->_info['roundtrip'] -= $binary['transmitstamp'];
                    
421        $this->_info['roundtrip'] += $binary['clientreceived'];
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/imx6-kernel | C | 487 lines
                    
27
                    
28#define pr_fmt(fmt) "acpiphp_ibm: " fmt
                    
29
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
104		u32 lvl, void *context, void **rv);
                    
105static int __init ibm_acpiphp_init(void);
                    
106static void __exit ibm_acpiphp_exit(void);
                    
117};
                    
118static struct acpiphp_attention_info ibm_attention_info =
                    
119{
                    
125/**
                    
126 * ibm_slot_from_id - workaround for bad ibm hardware
                    
127 * @id: the slot number that linux refers to the slot by
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
1<?php
                    
2/**
                    
25$debug_page = false;
                    
26include_once('debug/header.php');
                    
27
                    
145                            <tr>
                    
146                              <td nowrap><a href="../index.php" class="off">Home</a></td>
                    
147                              <td width="30" valign="middle" nowrap><div align="center"><img src="../../images/Dot.gif" width="10" height="10"></div></td>	
                    
148							  <!--						
                    
149                              <td nowrap><a href="../Help/CER/index.php" class="off">Capital Expense</a></td>
                    
150                              <td width="20" valign="middle" nowrap><div align="center"><img src="../images/Dot.gif" width="10" height="10"></div></td>
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
config.php https://github.com/olberger/fusionforge.git | PHP | 396 lines
                    
16define ('_DEBUG_PARSER',    4); // verbose parsing steps
                    
17define ('_DEBUG_TRACE',     8); // test php memory usage, prints php debug backtraces
                    
18define ('_DEBUG_INFO',     16);
                    
242        // do reinit to purge PHP's static cache [43ms]
                    
243        if ( ($lcfile = FindLocalizedFile("LC_MESSAGES/phpwiki.php", 'missing_ok', 'reinit')) ) {
                    
244            include($lcfile);
                    
246    } else {
                    
247        // If PHP is in safe mode, this is not allowed,
                    
248        // so hide errors...
                    
299    // $SCRIPT_NAME, since pages appear at
                    
300    // e.g. /dir/index.php/HomePage.
                    
301
                    
350 * (BlockParser)
                    
351 * We need to eval it as workaround for the php5 parser.
                    
352 * See http://www.acko.net/node/54
                    
                
Indicators.class.php https://github.com/bgerp/bgerp.git | PHP | 440 lines
                    
1<?php
                    
2
                    
105        $this->FLD('name', 'varchar(64)', 'caption=Наименование,column=none');
                    
106        $this->FLD('value', 'double(minDecimals=0, maxDecimals=4, smartRound)', 'caption=Стойност,smartCenter,input=none');
                    
107        $this->FLD('lastValue', 'datetime', 'caption=Към момент,oldFieldName=time,input=none');
                    
421        $attr = array('title' => 'Хронологични записи');
                    
422        $attr = ht::addBackgroundIcon($attr, 'img/16/clock_history.png');
                    
423        
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
20	border:1px solid #a1a1a1;

                    
21	background-image: url(../images/panel_bg.gif);

                    
22	background-repeat: repeat-y;

                    
22	background-repeat: repeat-y;

                    
23	background-position: left top;

                    
24	background-color: #d9dbdc;

                    
41}

                    
42input{ padding: 0; background-color: transparent;}

                    
43/*~~~~~~Layout Setting ~~~~~~~~*/

                    
289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);}

                    
290span.filePhp{background-image:url(../images/small_icon/filePhp.png);}

                    
291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);}

                    
328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);}

                    
329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);}

                    
330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);}

                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
26	var $tagBlacklist = array ('applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml');
                    
27	var $attrBlacklist = array ('action', 'background', 'codebase', 'dynsrc', 'lowsrc'); // also will strip ALL event handlers
                    
28
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
462	/**
                    
463	 * Method to be called by another php script. Processes for SQL injection
                    
464	 *
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
44                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
45            <style:table-cell-properties fo:background-color="#ccffff"/>
                    
46            <style:paragraph-properties fo:text-align="center" fo:margin-left="0cm"/>
                    
56                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
57            <style:table-cell-properties fo:background-color="#ccccff"/>
                    
58        </style:style>',
                    
61                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
62            <style:table-cell-properties fo:background-color="#ccccff"/>
                    
63            <style:paragraph-properties fo:text-align="center" fo:margin-left="0cm"/>
                    
77                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
78            <style:table-cell-properties fo:background-color="#ccccff"/>
                    
79            <style:paragraph-properties fo:text-align="right"/>
                    
                
COOKBOOK-FIXERS.md https://gitlab.com/yousafsyed/easternglamor | Markdown | 466 lines
                    
23If possible, try to get acquainted with the public interface for the
                    
24[Symfony/CS/Tokenizer/Tokens.php](Symfony/CS/Tokenizer/Tokens.php)
                    
25and [Symfony/CS/Tokenizer/Token.php](Symfony/CS/Tokenizer/Token.php)
                    
30* You are familiar with Test Driven Development.
                    
31* Forked FriendsOfPHP/PHP-CS-Fixer into your own Github Account.
                    
32* Cloned your forked repository locally.
                    
32* Cloned your forked repository locally.
                    
33* Downloaded PHP CS Fixer and have executed `php composer.phar
                    
34install`.
                    
121
                    
122`# php php-cs-fixer readme > README.rst`
                    
123
                    
437
                    
438No. Short arrays were introduced in PHP 5.4 and PHP CS Fixer still
                    
439supports PHP 5.3.6.
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
60			// Tabbed Posts
                    
61		'et_pb_tabbed_posts-active_tab_background_color'          => '#ffffff',
                    
62		'et_pb_tabbed_posts-inactive_tab_background_color'        => '#f6f9fd',
                    
147
                    
148		'et_pb_featured_posts_slider-slide_caption_background'    => 'rgba(0, 0, 0, 0.6)',
                    
149		'et_pb_featured_posts_slider-remove_drop_shadow'          => 'off',
                    
224			// Ads
                    
225		'et_pb_ads-background_color'                              => '#FFFFFF',
                    
226		'et_pb_ads-remove_drop_shadow'                            => 'off',
                    
                
pre-check.php https://bitbucket.org/blackriver/openx.git | PHP | 394 lines
                    
59        $bodyBackground = "url('{$imageRelativePath}body_piksel.gif') repeat-x";
                    
60        $liBackground = "background: url('{$imageRelativePath}list_element.gif') no-repeat;";
                    
61        $openXLogo = "background: url('{$imageRelativePath}openx_logo.gif') no-repeat;";
                    
74    margin: 0;
                    
75    background: #fff '. $bodyBackground .';
                    
76    font-family: Arial, Helvetica, sans-serif;
                    
246    // Prepare error strings, in the simplest possible way
                    
247    $errorString1 = 'The built in PHP function "';
                    
248    $errorString2 = '" is in the "disable_functions" list in your "php.ini" file.';
                    
322
                    
323    // Check PHP version, as use of PHP < 5.1.4 will result in parse errors
                    
324    $errorMessage = "PHP version 5.1.4, or greater, was not detected.";
                    
338    $phpMemoryLimit = OX_getMemoryLimitSizeInBytes();
                    
339    if ($phpMemoryLimit > 0 && $phpMemoryLimit < $minimumRequiredMemory) {
                    
340        // The memory limit is too low, but can it be increased?
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
42
                    
43.. php:staticmethod:: tokenize($data, $separator = ',', $leftBound = '(', $rightBound = ')')
                    
44
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
81
                    
82.. php:staticmethod:: wrap($text, $options = array())
                    
83
                    
103
                    
104.. php:method:: highlight(string $haystack, string $needle, array $options = array() )
                    
105
                    
                
instructions_de.htm https://bitbucket.org/vins13pattar/adaptive-images.git | HTML | 177 lines
                    
136 @media only screen and (max-device-width: 479px) {
                    
137   html { background-image:url(ai-cookie.php?maxwidth=479); } }
                    
138 @media only screen and (min-device-width: 480px) and (max-device-width: 767px) {
                    
140 @media only screen and (min-device-width: 768px) and (max-device-width: 991px) {
                    
141   html { background-image:url(ai-cookie.php?maxwidth=991); } }
                    
142 @media only screen and (min-device-width: 992px) and (max-device-width: 1381px) {
                    
142 @media only screen and (min-device-width: 992px) and (max-device-width: 1381px) {
                    
143   html { background-image:url(ai-cookie.php?maxwidth=1381); } }
                    
144 @media only screen and (min-device-width: 1382px) {
                    
144 @media only screen and (min-device-width: 1382px) {
                    
145   html { background-image:url(ai-cookie.php?maxwidth=unknown); } }
                    
146&lt;/style&gt;</code></pre>
                    
168Methode setzt eine externe Datei voraus - sie fordert vom Server 
                    
169"background-image" an, welche von der PHP Datei nur benötigt wird um das Cookie zu setzen. 
                    
170Das Problem ist das der Browser beim laden der externen Datein nicht anhält,
                    
                
class.evstat.html https://bitbucket.org/thncr/manuals.git | HTML | 359 lines
                    
11 <div class="up"><a href="book.ev.html">Ev</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="class.evstat" class="reference">
                    
53    (highly recommended) then a suitable, unspecified default value will be
                    
54    used(which could be expected to be around 5 seconds, although this might
                    
55    change dynamically).
                    
56    <em class="emphasis">libev</em>
                    
57    will also impose a minimum interval which is currently around
                    
58    <strong><code>0.1</code></strong>
                    
357 <div class="up"><a href="book.ev.html">Ev</a></div>
                    
358 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
359</div></body></html>
                    
                
jplayer.blue.monday.css https://github.com/kawazrepos/Kommonz.git | CSS | 448 lines
                    
8 * Dual licensed under the MIT and GPL licenses.
                    
9 *  - http://www.opensource.org/licenses/mit-license.php
                    
10 *  - http://www.gnu.org/copyleft/gpl.html
                    
40	position: relative;
                    
41	background-color:#eee;
                    
42	/* width:418px; */
                    
110a.jp-play {
                    
111	background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
                    
112}
                    
113a.jp-play:hover {
                    
114	background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
                    
115}
                    
116a.jp-pause {
                    
117	background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
                    
118	display: none;
                    
                
filing_costs.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 198 lines
                    
39        ?>
                    
40        <div class="finance_country <?php echo $status ?> custom_accordion" ref="filing_cost_country_<?php echo $invoice->id ?>"><?php echo $invoice->country ?></div>
                    
41
                    
96                            <input type="hidden" name="additional_fee_id[]" value="<?php echo $additional_fee->additional_fee_id ?>">
                    
97                            <?php echo $currency_sign ?><input title="<?php echo $additional_fee->additional_fee_description_by_fa ?>" name="additional_fee_corrected_by_pm[]" value="<?php echo $additional_fee_value ?>" type="text"/>
                    
98                        </div>
                    
116                        <?php foreach($invoice->invoices as $file) { ?>
                    
117                            <a href="<?php echo base_url() ?>cases/download_file/<?php echo $file->file_id ?>"><?php echo $file->filename ?></a>
                    
118                        <?php } ?>
                    
169                    <div class="finance_input float_left">
                    
170                        <?php echo $currency_sign ?><input name="estimated_by_pm_additional_fee" value="<?php echo $estimated_by_pm_additional_fee ?>" readonly="true" type="text"/>
                    
171                    </div>
                    
178                    <div class="finance_input float_left">
                    
179                        <?php echo $currency_sign ?><input readonly="true" value="<?php echo $estimate_summ ?>" type="text"/>
                    
180                    </div>
                    
                
Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP Version 5
                    
6 *
                    
11 * @copyright  2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
12 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
13 * @link       http://docblox-project.org
                    
24 * @author     Mike van Riel <mike.vanriel@naenius.com>
                    
25 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
26 * @link       http://docblox-project.org
                    
104            ->setLabel($full_namespace_name != 'default' ? $namespace : '')
                    
105            ->setStyle('rounded')
                    
106            ->setColor($full_namespace_name != 'default' ? 'gray' : 'none')
                    
127            if (!isset($this->class_paths[$sub_element->getElementsByTagName('full_name')->item(0)->nodeValue])) {
                    
128                echo $sub_element->getElementsByTagName('full_name')->item(0)->nodeValue.PHP_EOL;
                    
129            } else {
                    
                
ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
                    
1<?php
                    
2
                    
28		);
                    
29		# Most of the output depends on background queries
                    
30		if ( !$this->readyForQuery() ) {
                    
187			global $wgPhpCli;
                    
188			$ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php';
                    
189			$path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );
                    
                
amocles_administrateurs_liste.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 390 lines
                    
1<?php
                    
2
                    
2
                    
3	// inc/amocles_administrateurs_liste.php
                    
4	
                    
100//
                    
101// complement de action/editer_auteurs.php pour notifier la recherche d'auteur
                    
102//
                    
368			$res .= "\n<option value=\"x\" />";
                    
369			$res .= "\n<option value=\"x\" style='background-color: $couleur_claire;'> $statut</option>";
                    
370		}
                    
                
notice.php https://github.com/mhoofman/wordpress-heroku.git | PHP | 102 lines
                    
1<?php if ( $type == 'plugin' ) :?>
                    
2<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
                    
3	<style type="text/css">
                    
4.akismet_activate{min-width:825px;border:1px solid #4F800D;padding:5px;margin:15px 0;background:#83AF24;background-image:-webkit-gradient(linear,0% 0,80% 100%,from(#83AF24),to(#4F800D));background-image:-moz-linear-gradient(80% 100% 120deg,#4F800D,#83AF24);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.akismet_activate .aa_a{position:absolute;top:-5px;right:10px;font-size:140px;color:#769F33;font-family:Georgia, "Times New Roman", Times, serif;z-index:1}.akismet_activate .aa_button{font-weight:bold;border:1px solid #029DD6;border-top:1px solid #06B9FD;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029DD6;border-bottom:1px solid #00A8EF;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#F0F8FB;background:#0079B1;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#0079B1),to(#0092BF));background-image:-moz-linear-gradient(0% 100% 90deg,#0092BF,#0079B1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button_border{border:1px solid #006699;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6)}.akismet_activate .aa_button_container{cursor:pointer;display:inline-block;background:#DEF1B8;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.akismet_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#E5F2B1;font-size:15px;z-index:1000}.akismet_activate .aa_description strong{color:#FFF;font-weight:normal}
                    
5	</style>
                    
5	</style>
                    
6	<form name="akismet_activate" action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="POST">
                    
7		<div class="akismet_activate">
                    
10				<div class="aa_button_border">
                    
11					<div class="aa_button"><?php esc_html_e('Activate your Akismet account', 'akismet');?></div>
                    
12				</div>
                    
26<?php elseif ( $type == 'version' ) :?>
                    
27<div id="akismet-warning" class="updated fade"><p><strong><?php printf( esc_html__('Akismet %s requires WordPress 3.0 or higher.', 'akismet'), AKISMET_VERSION);?></strong> <?php printf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?></p></div>
                    
28<?php elseif ( $type == 'alert' ) :?>
                    
42	<h3 class="key-status failed"><?php esc_html_e('Network functions are disabled.', 'akismet'); ?></h3>
                    
43	<p class="description"><?php printf( __('Your web host or server administrator has disabled PHP&#8217;s <code>gethostbynamel</code> functions.  <strong>Akismet cannot work correctly until this is fixed.</strong>  Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet&#8217;s system requirements</a>.', 'akismet'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
                    
44</div>
                    
                
text_effects.hs https://gitlab.com/stallmanifold/imagemagick | Haskell | 313 lines
                    
5See this forum thread for the genesis of these effects
                    
6http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=11586
                    
7and Anthony's Text Effects page at:
                    
27--           -fill white  -stroke black  -annotate +25+65 'Anthony' \
                    
28--           \( +clone -background navy  -shadow 70x4+5+5 \) +swap \
                    
29--           -background lightblue -flatten  -trim +repage  font_shadow_soft.jpg
                    
30
                    
31-- NOTE - if an image has a transparent background, adding a border of any colour other
                    
32-- than "none" will remove all the transparency and replace it with the border's colour
                    
59  (_,cloneW) <- cloneMagickWand w
                    
60  -- Set the background colour to blue for the shadow
                    
61  pw `setColor` "blue"
                    
61  pw `setColor` "blue"
                    
62  w `setImageBackgroundColor` pw
                    
63
                    
                
Currency.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 357 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 */
                    
225    /**
                    
226     * Apply currency format to number with specific rounding precision
                    
227     *
                    
                
utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
                    
1<?php
                    
2
                    
44    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
45	require_once('php_image_magician.php');
                    
46	$magicianObj = new imageLib($imgfile);
                    
55    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
56	require_once('php_image_magician.php');
                    
57	$magicianObj = new imageLib($imgfile);
                    
68   $u = 0;
                    
69   while ( (round($size / 1024) > 0) && ($u < 4) ) {
                    
70     $size = $size / 1024;
                    
                
codebench.php https://bitbucket.org/seyar/kinda.local.git | PHP | 258 lines
                    
1<?php defined('SYSPATH') or die('No direct access allowed.');
                    
2/**
                    
7 * @copyright  (c) 2009 Kohana Team
                    
8 * @license    http://kohanaphp.com/license.html
                    
9 */
                    
16	<meta charset="utf-8" />
                    
17	<title><?php if ($class !== '') echo $class, ' · ' ?>Codebench</title>
                    
18
                    
187					<h2 title="<?php printf('%01.6f', $benchmark['time']) ?>s">
                    
188						<span class="grade-<?php echo $benchmark['grade']['time'] ?>" style="width:<?php echo $benchmark['percent']['slowest']['time'] ?>%">
                    
189							<span class="method"><?php echo $method ?></span>
                    
208									<td>
                    
209										<strong class="help" title="(<?php echo gettype($codebench['subjects'][$subject_key]) ?>) <?php echo HTML::chars(var_export($codebench['subjects'][$subject_key], TRUE)) ?>">
                    
210											[<?php echo HTML::chars($subject_key) ?>] →
                    
250	<p id="footer">
                    
251		Page executed in <strong><?php echo round(microtime(TRUE) - KOHANA_START_TIME, 2) ?>&nbsp;s</strong>
                    
252		using <strong><?php echo Text::widont(Text::bytes(memory_get_usage(), 'MB')) ?></strong> of memory.<br />
                    
                
eclipse.php https://github.com/kpike/moodle.git | PHP | 307 lines
                    
1<?php
                    
2/**
                    
10 */
                    
11include_once 'unit_tester.php';
                    
12include_once 'test_case.php';
                    
12include_once 'test_case.php';
                    
13include_once 'invoker.php';
                    
14include_once 'socket.php';
                    
14include_once 'socket.php';
                    
15include_once 'mock_objects.php';
                    
16/**#@-*/
                    
255                    if ($lcnt > 0){
                    
256                        $cc .= round(($ccnt/$lcnt) * 100, 2) . '%';
                    
257                    }else{
                    
                
reindex.php https://github.com/karpenoktem/punbb.git | PHP | 267 lines
                    
89<!DOCTYPE html>
                    
90<html lang="<?php $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>">
                    
91<head>
                    
102<body>
                    
103<p><?php echo $lang_admin_reindex['Rebuilding index'] ?></p>
                    
104
                    
229					<div class="sf-box text">
                    
230						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_admin_reindex['Posts per cycle'] ?></span> <small><?php echo $lang_admin_reindex['Posts per cycle info'] ?></small></label><br />
                    
231						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_per_page" size="7" maxlength="7" value="100" /></span>
                    
236					<div class="sf-box text">
                    
237						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span class="fld-label"><?php echo $lang_admin_reindex['Starting post'] ?></span> <small><?php echo $lang_admin_reindex['Starting post info'] ?></small></label><br />
                    
238						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_start_at" size="7" maxlength="7" value="<?php echo (isset($first_id)) ? $first_id : 0 ?>" /></span>
                    
244						<span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="i_empty_index" value="1" checked="checked" /></span>
                    
245						<label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_admin_reindex['Empty index'] ?></label>
                    
246					</div>
                    
                
index.php https://github.com/karpenoktem/punbb.git | PHP | 244 lines
                    
83	$load_averages = empty($load_averages) ? array() : explode(' ', $load_averages);
                    
84	$server_load = isset($load_averages[2]) ? forum_number_format(round($load_averages[0], 2), 2).' '.forum_number_format(round($load_averages[1], 2), 2).' '.forum_number_format(round($load_averages[2], 2), 2) : 'Not available';
                    
85}
                    
86else if (!in_array(PHP_OS, array('WINNT', 'WIN32')) && preg_match('/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/i', @exec('uptime'), $load_averages))
                    
87	$server_load = forum_number_format(round($load_averages[1], 2), 2).' '.forum_number_format(round($load_averages[2], 2), 2).' '.forum_number_format(round($load_averages[3], 2), 2);
                    
88else
                    
128else if (isset($_PHPA))
                    
129	$php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>';
                    
130else if (ini_get('apc.enabled'))
                    
130else if (ini_get('apc.enabled'))
                    
131	$php_accelerator ='<a href="http://www.php.net/apc/">Alternative PHP Cache (APC)</a>';
                    
132else if (ini_get('zend_optimizer.optimization_level'))
                    
213						<li><span><?php echo $lang_admin_index['Operating system'] ?>: <?php echo PHP_OS ?></span></li>
                    
214						<li><span>PHP: <?php echo PHP_VERSION ?> - <a href="<?php echo forum_link($forum_url['admin_index']) ?>?action=phpinfo"><?php echo $lang_admin_index['Show info'] ?></a></span></li>
                    
215						<li><span><?php echo $lang_admin_index['Accelerator'] ?>: <?php echo $php_accelerator ?></span></li>
                    
                
editUserGroup.php https://bitbucket.org/jasonrogena/fulcrum-dqs.git | PHP | 353 lines
                    
1<?php include "../phpScripts/accessConfirmation.php";?>
                    
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                    
10	background-color:#FFF;
                    
11	background-repeat: no-repeat;
                    
12	background-attachment: scroll;
                    
53	padding-top: 12px;
                    
54	background-attachment: scroll;
                    
55	background-repeat: no-repeat;
                    
123<?php
                    
124include '../phpScripts/dbConnect.php';
                    
125dbConnect($_COOKIE['developerUsername'], $_COOKIE['developerPassword']);
                    
193    {
                    
194        echo "<meta http-equiv=\"refresh\" content=\"0;URL=../phpScripts/updateUserGroup.php\" />";
                    
195    }
                    
214?></div>
                    
215<div><a href="../phpScripts/logout.php" class="links">logout</a></div>
                    
216</td></tr>
                    
                
simpletest.php https://github.com/orchestra-io/sample-openx.git | PHP | 433 lines
                    
1<?php
                    
2    /**
                    
5     *	@subpackage	UnitTester
                    
6     *	@version	$Id: simpletest.php 7321 2007-06-05 09:08:01Z andrew.hill@openads.org $
                    
7     */
                    
12    if (version_compare(phpversion(), '5') >= 0) {
                    
13        require_once(dirname(__FILE__) . '/reflection_php5.php');
                    
14    } else {
                    
14    } else {
                    
15        require_once(dirname(__FILE__) . '/reflection_php4.php');
                    
16    }
                    
39         *    because the class is an abstract case that should
                    
40         *    not be run. Once PHP4 is dropped this will disappear
                    
41         *    as a public method and "abstract" will rule.
                    
205     *    test run. Makes things like error queues
                    
206     *    available to PHP event handlers, and also
                    
207     *    gets around some nasty reference issues in
                    
                
index.php https://gitlab.com/israt12/AtomicProject_IsratJerin_146574_CRUD_Create_Read_update_delete | PHP | 293 lines
                    
23    <script src="http://getbootstrap.com/docs-assets/js/respond.min.js"></script>
                    
24    <link href="../../resource/assets1/css/round-about.css" rel="stylesheet">
                    
25
                    
33            <div id="logo" class="col-xs-12 col-sm-2">
                    
34                <a href="index.php">Atomic Project</a>
                    
35            </div>
                    
45                        <a href="#" class="about">about</a>
                    
46                        <a href="index.php" class="style2"></a>
                    
47                        <ul class="nav navbar-nav pull-right panel-menu">
                    
50                                    <div class="avatar">
                    
51                                        <img src="../../resource/assets/img/backgrounds/10.jpg" class="img-circle" alt="avatar" />
                    
52                                    </div>
                    
110                <li>
                    
111                    <a href="index.php" class="">
                    
112                        <i class="fa fa-dashboard"></i>
                    
                
twitter.js https://github.com/Val9/KitchenSink.git | JavaScript | 309 lines
                    
35				
                    
36				var row = Ti.UI.createTableViewRow({hasChild:true,height:'auto',backgroundColor:bgcolor});
                    
37
                    
115function strtotime (str, now) {
                    
116	// Emlulates the PHP strtotime function in JavaScript
                    
117 	// obtained from http://phpjs.org/functions/strtotime:554
                    
126    } else if (now) {
                    
127        now = new Date(now*1000); // Accept PHP-style seconds
                    
128    } else {
                    
                
README.md https://github.com/elrond79/pymel.git | Markdown | 289 lines
                    
9  - graphviz: using an OS package manager like `yum`, `apt-get`, or `brew`, or
                    
10    on windows, from an [installer](http://www.graphviz.org/Download_windows.php)
                    
11  - python dependencies:
                    
16    pip install -U pip
                    
17    # the extra args are to get around an insecure SSL in python < 2.7.9 - see:
                    
18    # https://urllib3.readthedocs.org/en/latest/security.<html id="insecureplatformwarning"></html>
                    
                
EntityOperations.php https://gitlab.com/Drulenium-bot/workbench_moderation | PHP | 267 lines
                    
1<?php
                    
2
                    
151      // There's currently a bug in core where $entity->original always points
                    
152      // to the default revision, for now work around this by loading the latest
                    
153      // revision.
                    
                
menu-header.php https://gitlab.com/campus-academy/krowkaramel | PHP | 306 lines
                    
1<?php
                    
2/**
                    
13 */
                    
14$self = preg_replace( '|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF'] );
                    
15$self = preg_replace( '|^.*/wp-admin/|i', '', $self );
                    
31 *
                    
32 * Allows plugins to move sub-menu items around.
                    
33 *
                    
120		 * If the string 'none' (previously 'div') is passed instead of a URL, don't output
                    
121		 * the default menu image so an icon can be added to div.wp-menu-image as background
                    
122		 * with CSS. Dashicons and base64-encoded data:image/svg_xml URIs are also handled
                    
131				$img       = '<br />';
                    
132				$img_style = ' style="background-image:url(\'' . esc_attr( $item[6] ) . '\')"';
                    
133				$img_class = ' svg';
                    
162			if ( ! empty( $menu_hook )
                    
163				|| ( ( 'index.php' !== $submenu_items[0][2] )
                    
164					&& file_exists( WP_PLUGIN_DIR . "/$menu_file" )
                    
                
admin.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 503 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
134
                    
135		// No parent around? Do what you like
                    
136		if (is_null($parent_id))
                    
                
theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
                    
1<?php
                    
2/**
                    
91
                    
92		// Custom background color.
                    
93//		add_theme_support(
                    
93//		add_theme_support(
                    
94//			'custom-background',
                    
95//			array(
                    
                
variantlp-functions.php https://gitlab.com/vanafroo/voipWEB | PHP | 341 lines
                    
1<?php
                    
2define('VARIANTLP_DIR', get_template_directory() . '/mods/');
                    
14 */
                    
15require_once VARIANTLP_DIR . '/inc/customizer/variant-customizer.php';
                    
16require_once VARIANTLP_DIR . '/inc/customizer/variant-custom-controls.php';
                    
74function variantlp_load_template() {
                    
75//    include_once VARIANTLP_DIR . 'template/landing-page.php';
                    
76    locate_template('mods/template/landing-page.php', true);
                    
107        </style>
                    
108        <?php
                    
109    }
                    
118    ?>
                    
119    <style id="top_background" type="text/css">
                    
120        .top_feature_container {
                    
120        .top_feature_container {
                    
121            background: url("<?php echo esc_url(variantlp_four_get_option($bg_id, VARIANTLP_DIR_URI . 'assets/imgs/' . $default_bg . '.png')); ?>") center top repeat-x;
                    
122            width: 100%;
                    
                
php-crypt_r.cpp https://gitlab.com/iranjith4/hhvm | C++ | 381 lines
                    
3   +----------------------------------------------------------------------+
                    
4   | PHP Version 7                                                        |
                    
5   +----------------------------------------------------------------------+
                    
5   +----------------------------------------------------------------------+
                    
6   | Copyright (c) 1997-2015 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
makeXMLForOneService.php https://gitlab.com/florianocomercial/centreon | PHP | 287 lines
                    
1<?php
                    
2/*
                    
38 */
                    
39require_once realpath(dirname(__FILE__) . "/../../../../../../config/centreon.config.php");
                    
40
                    
40
                    
41include_once $centreon_path . "www/class/centreonUtils.class.php";
                    
42
                    
45 */
                    
46include_once _CENTREON_PATH_ . "www/class/centreonXMLBGRequest.class.php";
                    
47include_once _CENTREON_PATH_ . "www/class/centreonLang.class.php";
                    
110		" s.notes," .
                    
111		" ROUND(s.percent_state_change) as percent_state_change," .
                    
112		" s.notify," .
                    
176	$obj->XML->writeElement("hostname", CentreonUtils::escapeSecure($hostname), false);
                    
177	$obj->XML->writeElement("color", $obj->backgroundService[$data["state"]]);
                    
178	$obj->XML->startElement("current_state");
                    
                
module.php https://gitlab.com/mostafame/team_website | PHP | 471 lines
                    
1<?php
                    
2
                    
49				'affect_on_change_el' => '.dslc-tp-excerpt',
                    
50				'affect_on_change_rule' => 'background-color',
                    
51				'section' => 'styling',
                    
461			if ( $the_excerpt ) :
                    
462				?><div class="dslc-tp-excerpt"><?php echo $the_excerpt; ?></div><?php
                    
463			endif;
                    
                
postgresql.php https://gitlab.com/ricardosanchez/prueba | PHP | 641 lines
                    
1<?php
                    
2/**
                    
127
                    
128					// Workaround for special case of JOIN with UPDATE
                    
129					foreach ($this->join as $join)
                    
                
style.css https://gitlab.com/github-cloud-corp/aws-sdk-php | CSS | 672 lines
                    
140#menu #groups span:hover {
                    
141  background-position: -12px 0;
                    
142}
                    
230.navbar .nav > li.active > span {
                    
231  background-color: #E7E7E7;
                    
232  color: #555;
                    
431  float: left;
                    
432  background-color: transparent;
                    
433}
                    
438
                    
439.php-keyword1 {
                    
440  color: #468847;
                    
490
                    
491span.l .php-var a:hover, span.l .php-var a:active, span.l .php-var a:focus {
                    
492  color: #c09853 !important;
                    
                
notice.php https://gitlab.com/edgarze188/sunrise | PHP | 102 lines
                    
1<?php if ( $type == 'plugin' ) :?>
                    
2<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
                    
3	<style type="text/css">
                    
4.akismet_activate{min-width:825px;border:1px solid #4F800D;padding:5px;margin:15px 0;background:#83AF24;background-image:-webkit-gradient(linear,0% 0,80% 100%,from(#83AF24),to(#4F800D));background-image:-moz-linear-gradient(80% 100% 120deg,#4F800D,#83AF24);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.akismet_activate .aa_a{position:absolute;top:-5px;right:10px;font-size:140px;color:#769F33;font-family:Georgia, "Times New Roman", Times, serif;z-index:1}.akismet_activate .aa_button{font-weight:bold;border:1px solid #029DD6;border-top:1px solid #06B9FD;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029DD6;border-bottom:1px solid #00A8EF;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#F0F8FB;background:#0079B1;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#0079B1),to(#0092BF));background-image:-moz-linear-gradient(0% 100% 90deg,#0092BF,#0079B1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button_border{border:1px solid #006699;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6)}.akismet_activate .aa_button_container{cursor:pointer;display:inline-block;background:#DEF1B8;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.akismet_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#E5F2B1;font-size:15px;z-index:1000}.akismet_activate .aa_description strong{color:#FFF;font-weight:normal}
                    
5	</style>
                    
5	</style>
                    
6	<form name="akismet_activate" action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="POST">
                    
7		<div class="akismet_activate">
                    
10				<div class="aa_button_border">
                    
11					<div class="aa_button"><?php esc_html_e('Activate your Akismet account', 'akismet');?></div>
                    
12				</div>
                    
26<?php elseif ( $type == 'version' ) :?>
                    
27<div id="akismet-warning" class="updated fade"><p><strong><?php printf( esc_html__('Akismet %s requires WordPress 3.0 or higher.', 'akismet'), AKISMET_VERSION);?></strong> <?php printf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?></p></div>
                    
28<?php elseif ( $type == 'alert' ) :?>
                    
42	<h3 class="key-status failed"><?php esc_html_e('Network functions are disabled.', 'akismet'); ?></h3>
                    
43	<p class="description"><?php printf( __('Your web host or server administrator has disabled PHP&#8217;s <code>gethostbynamel</code> functions.  <strong>Akismet cannot work correctly until this is fixed.</strong>  Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet&#8217;s system requirements</a>.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?></p>
                    
44</div>
                    
                
article.php https://bitbucket.org/eternaware/joomus.git | PHP | 323 lines
                    
1<?php
                    
2/**
                    
116				// Join on voting table
                    
117				$query->select('ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count');
                    
118				$query->join('LEFT', '#__content_rating AS v ON a.id = v.content_id');
                    
                
wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
                    
1<?php // @codingStandardsIgnoreLine.
                    
2/**
                    
2/**
                    
3 * Abstract WP_Background_Process class.
                    
4 *
                    
4 *
                    
5 * @package WP-Background-Processing
                    
6 * @extends WP_Async_Request
                    
11/**
                    
12 * Abstract WP_Background_Process class.
                    
13 */
                    
13 */
                    
14abstract class WP_Background_Process extends WP_Async_Request {
                    
15
                    
18	 *
                    
19	 * (default value: 'background_process')
                    
20	 *
                    
                
nfs-storage-config.php https://github.com/qyjohn/openqrm.git | PHP | 336 lines
                    
13.ui-progressbar-value {
                    
14	background-image: url(/openqrm/base/img/progress.gif);
                    
15}
                    
29
                    
30<?php
                    
31/*
                    
50// error_reporting(E_ALL);
                    
51$thisfile = basename($_SERVER['PHP_SELF']);
                    
52$RootDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/base/';
                    
53$BaseDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/';
                    
54require_once "$RootDir/include/user.inc.php";
                    
55require_once "$RootDir/class/image.class.php";
                    
55require_once "$RootDir/class/image.class.php";
                    
56require_once "$RootDir/class/storage.class.php";
                    
57require_once "$RootDir/class/resource.class.php";
                    
                
image_variants.html https://github.com/TitoAgudelo/Web-Library.git | HTML | 149 lines
                    
100<li><a href="bgimages" style="background-repeat:repeat-x; background-position:-4px -8px;">repeat-x position:-4px--8px</a></li>
                    
101<li><a href="bgimages" style="background-repeat:repeat-x; background-position:32px 0px;">repeat-x position:32px-0px</a></li>
                    
102<li><a href="bgimages" style="background-repeat:repeat-x; background-position:0px 8px;">repeat-x position:0px-8px</a></li>
                    
111<li><a href="bgimages" style="background-repeat:repeat; background-position:4px 8px;">repeat position:4px-8px</a></li>
                    
112<li><a href="bgimages" style="background-repeat:repeat; background-position:-4px -8px;">repeat position:-4px--8px</a></li>
                    
113<li><a href="bgimages" style="background-repeat:repeat; background-position:32px 0px;">repeat position:32px-0px</a></li>
                    
113<li><a href="bgimages" style="background-repeat:repeat; background-position:32px 0px;">repeat position:32px-0px</a></li>
                    
114<li><a href="bgimages" style="background-repeat:repeat; background-position:0px 8px;">repeat position:0px-8px</a></li>
                    
115</ul>
                    
139</div>
                    
140<p><a href="bgimages" style="line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph link no-repeat position:default</a></p>
                    
141<p style="text-align:left;line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph text no-repeat position:left-top; more text text more text text bla bla sdfjkhs sdfsjksdfks sdfkjsfsf skjfh ksjdfhsd </p>
                    
141<p style="text-align:left;line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph text no-repeat position:left-top; more text text more text text bla bla sdfjkhs sdfsjksdfks sdfkjsfsf skjfh ksjdfhsd </p>
                    
142<p style="text-align:left;line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left center;">paragraph text no-repeat position:left-center; more text text more text text bla bla sdfjkhs sdfsjksdfks sdfkjsfsf skjfh ksjdfhsd </p>
                    
143<p>
                    
                
slot.c https://github.com/andikleen/linux-misc.git | C | 380 lines
                    
201 * There are known platforms with broken firmware that assign the same
                    
202 * name to multiple slots. Workaround these broken platforms by renaming
                    
203 * the slots on behalf of the caller. If firmware assigns name N to
                    
212 * In most cases, @pci_bus, @slot_nr will be sufficient to uniquely identify
                    
213 * a slot. There is one notable exception - pSeries (rpaphp), where the
                    
214 * @slot_nr cannot be determined until a device is actually inserted into
                    
                
quickhashstringinthash.loadfromfile.html https://bitbucket.org/thncr/manuals.git | HTML | 195 lines
                    
11 <div class="up"><a href="class.quickhashstringinthash.html">QuickHashStringIntHash</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="quickhashstringinthash.loadfromfile" class="refentry">
                    
114       The amount of bucket lists to configure. The number you pass in will be
                    
115       automatically rounded up to the next power of two. It is also
                    
116       automatically limited from 4 to 4194304.
                    
156    <div class="example-contents">
                    
157<div class="phpcode"><code><span style="color: #000000">
                    
158<span style="color: #0000BB">&lt;?php<br />$file&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">__FILE__&nbsp;</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"/simple.hash.string"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$hash&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">QuickHashStringIntHash</span><span style="color: #007700">::</span><span style="color: #0000BB">loadFromFile</span><span style="color: #007700">(<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$file</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">QuickHashStringIntHash</span><span style="color: #007700">::</span><span style="color: #0000BB">DO_NOT_USE_ZEND_ALLOC<br /></span><span style="color: #007700">);<br />foreach(&nbsp;</span><span style="color: #0000BB">range</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0x0f&nbsp;</span><span style="color: #007700">)&nbsp;as&nbsp;</span><span style="color: #0000BB">$key&nbsp;</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">48712&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">$key&nbsp;</span><span style="color: #007700">*&nbsp;</span><span style="color: #0000BB">1631</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$k&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">base_convert</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">$i</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">10</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">36&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">$k</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'&nbsp;=&gt;&nbsp;'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$hash</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">$k&nbsp;</span><span style="color: #007700">),&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
                    
193 <div class="up"><a href="class.quickhashstringinthash.html">QuickHashStringIntHash</a></div>
                    
194 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
195</div></body></html>
                    
                
Fuzzy.php https://github.com/Exercise/zf2.git | PHP | 286 lines
                    
1<?php
                    
2/**
                    
280        if ($this->getBoost() != 1) {
                    
281            $query .= '^' . round($this->getBoost(), 4);
                    
282        }
                    
                
page.css https://github.com/dibyasakti/ragnousa.git | CSS | 587 lines
                    
62 * To use you need to uncomment the conditional statements in 
                    
63 * genesis_preprocess_page(), @see template.php.
                    
64 */
                    
247#skip-nav a:focus {
                    
248  background: #FFF;
                    
249  color: #C00000;
                    
419#nav .primary-links {
                    
420  background: #DDD; /* Default gray for dev only. */
                    
421  font-weight: bold;
                    
469#nav .secondary-links {
                    
470  background: #EEE; /* Default gray for dev only. */
                    
471  font-weight: bold;
                    
                
move.php https://github.com/MarxGames/E-Hobused.git | PHP | 328 lines
                    
1<?php
                    
2include_once 'models/game.php';
                    
53/*
                    
54move : game_id , round , performed_at , type , object , subject , param1 , param2 , extra
                    
55*/
                    
110    	
                    
111		$query_string = sprintf("INSERT INTO move(game_id, type, subject, object, round, param1, param2, param3) ".
                    
112			"VALUES (%d, 'place_horse', %d, %d, %d, %d, %d, %d);",
                    
174        parent::save($game);  
                    
175		$query_string = sprintf("INSERT INTO move(game_id, type, subject, object, round, param1, param2, param3) ".
                    
176			"VALUES (%d, 'remove_horse', %d, %d, %d, %d, %d, %d);",
                    
                
index.markdown https://gitlab.com/orvi2014/phpjs | Markdown | 317 lines
                    
14<!-- Generated by Rakefile:build -->
                    
15A JavaScript equivalent of PHP's array_multisort
                    
16
                    
16
                    
17{% codeblock array/array_multisort.js lang:js https://raw.github.com/kvz/phpjs/master/functions/array/array_multisort.js raw on github %}
                    
18function array_multisort(arr) {
                    
18function array_multisort(arr) {
                    
19  //  discuss at: http://phpjs.org/functions/array_multisort/
                    
20  // original by: Theriault
                    
100  // Store first argument into sortArrs and sortKeys if an Object.
                    
101  // First Argument should be either a Javascript Array or an Object, otherwise function would return FALSE like in PHP
                    
102  if (Object.prototype.toString.call(arr) === '[object Array]') {
                    
304
                    
305Please note that php.js uses JavaScript objects as substitutes for PHP arrays, they are 
                    
306the closest match to this hashtable-like data structure. 
                    
                
topic.php https://github.com/mkfmn/cake-forum.git | PHP | 467 lines
                    
1<?php
                    
2/** 
                    
6 * @copyright	Copyright 2006-2010, Miles Johnson, Inc.
                    
7 * @license		http://opensource.org/licenses/mit-license.php - Licensed under The MIT License
                    
8 * @link		http://milesj.me/resources/script/forum-plugin
                    
258		
                    
259		return round($days);
                    
260	}
                    
                
released_patient.php https://gitlab.com/sharadmohajan/xyz | PHP | 288 lines
                    
95        <div class="navbar-header">
                    
96            <a class="navbar-brand" href="welcome.php"><img src="../Resources/welcome/img/logo.PNG"width="100" height="30"></a>
                    
97        </div>
                    
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>-->
                    
109                    <div class="form-group">
                    
110                        <input type="text" name="search"placeholder="Search" value="<?php if(isset($_GET['search'])){echo $catchSearch;}?>" id="search">
                    
111                        <button type="submit" class="glyphicon glyphicon-search"></button>
                    
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>
                    
                
speed.py https://github.com/hmeyer/ReplicatorG.git | Python | 321 lines
                    
5The speed manual page is at:
                    
6http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Speed
                    
7
                    
107from __future__ import absolute_import
                    
108#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
                    
109import __init__
                    
159		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Speed', self, '')
                    
160		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Speed')
                    
161		self.activateSpeed = settings.BooleanSetting().getFromValue('Activate Speed:', self, True )
                    
                
view_jadwal_pelajaran.php https://gitlab.com/imadd23/sijs | PHP | 303 lines
                    
10	.dropped-area-ruang{
                    
11		background-color: #FFB752;
                    
12		color: white;
                    
49</style>
                    
50<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ace/plugin/perfect-scrollbar/css/perfect-scrollbar.css');?>">-->
                    
51<div class="row">
                    
53		<h3 class="row header smaller lighter blue">
                    
54			<span class="col-sm-6"> Jadwal Pelajaran <?php echo $semester;?></span><!-- /.col -->
                    
55			
                    
57				<label class="pull-right inline">
                    
58					<?php if ($obj->has_access('jadwal_pelajaran', 'view')){ ?>
                    
59						<a class="btn btn-xs btn-primary" target="_blank" href="<?php echo site_url('jadwal_pelajaran/export');?>">
                    
62						</a>
                    
63					<?php } ?>
                    
64
                    
                
style.css https://bitbucket.org/zachisit/zachis.it-m.git | CSS | 374 lines
                    
7The CSS, XHTML and design is released under GPL: 
                    
8http://www.opensource.org/licenses/gpl-license.php
                    
9Header photo by Ville Miettinen, used with permission
                    
25body {
                    
26	background: #fff;
                    
27	color: #000000;
                    
38#container { 
                    
39	background: #ffffff;
                    
40	width: 780px;
                    
122	display: block;
                    
123	background: #ffffff;
                    
124	width: 100%; 
                    
252/* lAnDinG pAGE SpECiFiC STylnG */
                    
253#landing_header {height:100px;margin-top:150px;float:left;width:100%;background:white;}
                    
254#landing_header a {border-bottom:2px solid #2FAACE;padding-bottom:5px;color:#2F2F2F !important;text-decoration:none;}
                    
                
img2thumb.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 393 lines
                    
1<?php
                    
2/**
                    
3* class Image2Thumbnail
                    
4* Thumbnail creation with PHP4 and GDLib (recommended, but not mandatory: 2.0.1 !)
                    
5*
                    
24*
                    
25*	@var int $bg_red				0-255 - red color variable for background filler
                    
26*	@var int $bg_green				0-255 - green color variable for background filler
                    
26*	@var int $bg_green				0-255 - green color variable for background filler
                    
27*	@var int $bg_blue				0-255 - blue color variable for background filler
                    
28*	@var int $maxSize				0-1 - true/false - should thumbnail be filled to max pixels
                    
48*	@param string $fileout			output image path
                    
49*	@param int $thumbMaxSize		whether thumbnail should have background fill to make it exactly $newxsize x $newysize
                    
50*	@param int $bgred				0-255 - red color variable for background filler
                    
50*	@param int $bgred				0-255 - red color variable for background filler
                    
51*	@param int $bggreen				0-255 - green color variable for background filler
                    
52*	@param int $bgblue				0-255 - blue color variable for background filler
                    
                
signature.vim https://github.com/Lubomir-Russia/dotfiles.git | Vim Script | 320 lines
                    
24" ### Vim.org mirror
                    
25" http://www.vim.org/scripts/script.php?script_id=4118  
                    
26" 
                    
61" The default behavior of `]'`, `['`, ``]` `` and ``[` `` is supported and enhanced by
                    
62" wrapping around when beginning or end of file is reached.  
                    
63" 
                    
79" * `g:SignatureWrapJumps` ( Default : 1 )  
                    
80" Specify if jumping to marks should wrap-around.
                    
81" `b:SignatureWrapJumps` can be set to specify buffer-specific settings.  
                    
153" Restecp to (no, that's a reference and not a typo :P )  
                    
154" * Sergey Khorev for [mark-tools](http://www.vim.org/scripts/script.php?script_id=2929)
                    
155" * Zak Johnson for [vim-showmarks](https://github.com/zakj/vim-showmarks)  
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 261 lines
                    
1<?php
                    
2    // The $body_* variables are for compatibility with pre-existing css
                    
10EXTRA_HEADERS;
                    
11    @include_once "{$config['file_root']}/{$lang}/includes/header.inc.php";
                    
12?>
                    
18    Testing beta builds of Firefox helps ensure that they are secure and stable
                    
19    for hundreds of millions of users around the world. Please let us know if
                    
20    you experience any new problems, either using <a
                    
258
                    
259<?php
                    
260  @include_once "{$config['file_root']}/{$lang}/includes/footer.inc.php";
                    
                
parameter.php https://github.com/Shigaru/shigaru.git | PHP | 454 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: parameter.php 14401 2010-01-26 14:10:00Z louis $
                    
4 * @package		Joomla.Framework
                    
6 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
                    
7 * @license		GNU/GPL, see LICENSE.php
                    
8 * Joomla! is free software. This version may have been modified pursuant
                    
11 * other free or open source software licenses.
                    
12 * See COPYRIGHT.php for copyright notices and details.
                    
13 */
                    
20//Register the element class with the loader
                    
21JLoader::register('JElement', dirname(__FILE__).DS.'parameter'.DS.'element.php');
                    
22
                    
384
                    
385		if( (isset( $this->_elements[$signature] ) && !is_a($this->_elements[$signature], '__PHP_Incomplete_Class'))  && $new === false ) {
                    
386			return	$this->_elements[$signature];
                    
                
lessen.tpl.d17.php https://github.com/jonathanslenders/balancirk-website.git | PHP | 361 lines
                    
58                /*background-color: #69a325;  */
                    
59             background-color: #3e502b; }
                    
60 
                    
71				margin-top: -74px;
                    
72                background-image: url('graphics/background-right.png');
                    
73                background-position: right center; background-repeat: no-repeat;}
                    
76                background-image: url('graphics/background-left.png');
                    
77                background-position: left center; background-repeat: no-repeat; }
                    
78            #container3 {
                    
132            #content table td, #content table th { color: #5d7f2b; }
                    
133            #content table.transparent td { background-color: transparent; color: #68a323; }
                    
134            #content p, #content ul { margin: 1em 0; }
                    
139            #content a img { border: none; }
                    
140            #content table tr td { background-color: #bfd5b1; }
                    
141            #content table.form-table tr td { background-color: transparent; }
                    
                
FusionCharts.js https://github.com/hibiscustech/keupon.git | JavaScript | 362 lines
                    
10 * Morphed from SWFObject (http://blog.deconcept.com/swfobject/) under MIT License:
                    
11 * http://www.opensource.org/licenses/mit-license.php
                    
12 *
                    
38	
                    
39	//Set background color
                    
40	if(c) { this.addParam('bgcolor', c); }
                    
                
sso.php https://gitlab.com/Lidbary/foxyshop | PHP | 242 lines
                    
113	}
                    
114	</style><?php
                    
115}
                    
134	?>
                    
135	<h3><?php _e('FoxyCart User Data') ?></h3>
                    
136	<table class="form-table">
                    
138	<th><label for="foxycart_customer_id"><?php _e('FoxyCart Customer ID', 'foxyshop'); ?></label></th>
                    
139	<td><input type="text" name="foxycart_customer_id" id="foxycart_customer_id" value="<?php echo esc_attr(get_user_meta($user->ID, 'foxycart_customer_id', 1) ); ?>" /> <span class="description"><?php _e('Editing is not recommended', 'foxyshop'); ?></span></td>
                    
140	</tr>
                    
160        <tr>
                    
161            <th class="manage-column column-columnname" scope="col"><?php echo FOXYSHOP_PRODUCT_NAME_SINGULAR . ' ' . __('Code', 'foxyshop'); ?></th>
                    
162            <th class="manage-column column-columnname" scope="col"><?php _e('Active', 'foxyshop'); ?></th>
                    
174            <td class="column-columnname"><?php echo ($val['is_active'] == 1 ? __('Yes', 'foxyshop') : __('No', 'foxyshop')); ?></td>
                    
175            <td class="column-columnname"><a href="<?php echo $val['sub_token_url']; ?>&amp;cart=checkout" target="_blank"><?php _e('Update Info', 'foxyshop');?></a> | <a href="<?php echo $val['sub_token_url']; ?>&amp;sub_cancel=true&amp;cart=checkout" target="_blank"><?php _e('Cancel', 'foxyshop');?></a></td>
                    
176        </tr>
                    
                
PhotoMenu.cs https://github.com/AnthonyNystrom/GenXSource.git | C# | 293 lines
                    
131                {
                    
132                    Extra.BackgroundColor = Color.Empty;
                    
133                    Extra.Enable = false;
                    
180                Extra.Enable = false;
                    
181                Extra.BackgroundColor = Color.Empty;
                    
182
                    
221                    {
                    
222                        frmSelectBackGround frmSelectBG = new frmSelectBackGround(mainForm);
                    
223                        DialogResult res = frmSelectBG.ShowDialog();
                    
227                            Extra.Enable = false;
                    
228                            Extra.BackgroundColor = Color.Empty;
                    
229                            return;
                    
252                    Extra.Enable = false;
                    
253                    Extra.BackgroundColor = Color.Empty;
                    
254
                    
                
overview.md https://gitlab.com/xanium4332/atom-config | Markdown | 231 lines
                    
7
                    
8Marko supports [progressive HTML rendering](http://markojs.com/docs/marko/async-taglib/) by writing directly to an output stream so that HTML can be sent over the wire sooner. Marko automatically flushes around asynchronous parts of the template so that the HTML is delivered in the optimized number of chunks. Because Marko is an asynchronous templating language, additional data can be asynchronously fetched even after rendering has begun. These characteristics make Marko an excellent choice for creating high performance websites.
                    
9
                    
22- Sublime Text: [marko-sublime](https://github.com/merwan7/sublime-marko)
                    
23- WebStorm: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle) (See: [Importing TextMate Bundles](https://www.jetbrains.com/phpstorm/help/importing-textmate-bundles.html))
                    
24- TextMate: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle)
                    
                
authentication_documentation.html https://github.com/cgajardo/repositorium.git | HTML | 355 lines
                    
71                    <h1>File test</h1>
                    
72<pre style="background-color: lightgray; color: black">
                    
73HTTP/1.1 401 Authorization Required
                    
74Date: Sat, 18 Sep 2004 19:25:18 GMT
                    
75Server: Apache/1.3.29 (Unix) PHP/4.3.4
                    
76WWW-Authenticate: Basic realm="SimpleTest basic authentication"
                    
79</pre>
                    
80                    <div style="padding: 8px; margin-top: 1em; background-color: green; color: white;">1/1 test cases complete.
                    
81                    <strong>0</strong> passes, <strong>0</strong> fails and <strong>0</strong> exceptions.</div>
                    
198    function testSessionCookieSetBeforeForm() {
                    
199        $this-&gt;get('http://www.my-site.com/login.php');<strong>
                    
200        $this-&gt;assertCookie('SID');</strong>
                    
209    function testSessionCookieIsCorrectPattern() {
                    
210        $this-&gt;get('http://www.my-site.com/login.php');
                    
211        $this-&gt;assertCookie('SID', <strong>new PatternExpectation('/[a-f0-9]{32}/i')</strong>);
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 237 lines
                    
2    require_once "{$config['file_root']}/includes/force_ssl.php";
                    
3    require_once "{$config['file_root']}/includes/min/inline.php";
                    
4
                    
21        body {
                    
22            background-image: url("/img/covehead/firefox/direct/page-background.png");
                    
23        }
                    
50    $head_scripts = min_inline_js('js_utils');
                    
51    include_once "{$config['file_root']}/{$lang}/includes/header.inc.php";
                    
52?>
                    
52?>
                    
53<?php
                    
54    // Funnelcake Config
                    
74    <div id="home-download">
                    
75    <script><?php include $config['file_root'] . '/js/download.old.js';?></script>
                    
76    <script>
                    
                
Home.org https://github.com/manveru/ramaze-wiki-pages.git | Org | 108 lines
                    
34 * Avdi Grimm featured Ramaze in [[http://avdi.org/devblog/2008/04/27/on-beauty-in-code/][On Beauty in Code]] //on April 28 2008//
                    
35 * Ramaze mentioned in Juixe's [[http://www.juixe.com/techknow/index.php/2008/04/14/ruby-web-frameworks/][Ruby Web Frameworks]] article //on April 14 2008//
                    
36 * Michael [[http://jaoo.dk/ruby-oslo-2008/file%3Fpath%3D/jaoo-ruby-oslo-2008/slides/ramaze.pdf][presented Ramaze]] at Ruby Fools 2008 //on April 3 2008//
                    
44 * Ramaze [[http://antoniocangiano.com/2008/01/08/ramaze-a-ruby-framework-that-will-amaze/][featured on Zen and the Art of Ruby Programming]] //on Jan 8 2008//
                    
45 * Ramaze mentioned on [[http://www.smashingmagazine.com/2008/01/04/frameworks-round-up-when-to-use-how-to-choose/][Frameworks Round-Up: When to Use, How to Choose?]] //on Jan 1 2008//
                    
46 * Ramaze [[Benchmarks][runs on ruby 1.9]]! //on Jan 1 2008//
                    
                
jqplot.pointLabels.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 362 lines
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
15 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
16 *
                    
17 * If you are feeling kind and generous, consider supporting the project by
                    
18 * making a donation at: http://www.jqplot.com/donate.php .
                    
19 *
                    
83        // prop: location
                    
84        // compass location where to position the label around the point.
                    
85        // 'n', 'ne', 'e', 'se', 's', 'sw', 'w', 'nw'
                    
                
the_view.rst https://github.com/dcsg/symfony-docs.git | ReStructuredText | 293 lines
                    
6learn more about the Symfony2 template engine, `Twig`_. Twig is a flexible,
                    
7fast, and secure template engine for PHP. It makes your templates more
                    
8readable and concise; it also makes them more friendly for web designers.
                    
11
                    
12    Instead of Twig, you can also use :doc:`PHP </cookbook/templating/PHP>`
                    
13    for your templates. Both template engines are supported by Symfony2.
                    
93    but the print statement. If you access variables inside tags don't put the
                    
94    braces around.
                    
95
                    
101differently: a template can be decorated by another one. This works exactly
                    
102the same as PHP classes: template inheritance allows you to build a base
                    
103"layout" template that contains all the common elements of your site and
                    
195
                    
196    // src/Acme/DemoBundle/Controller/DemoController.php
                    
197
                    
                
check.php https://github.com/rair/yacs.git | PHP | 468 lines
                    
1<?php
                    
2/**
                    
35// common definitions and initial processing
                    
36include_once '../shared/global.php';
                    
37include_once 'links.php';
                    
37include_once 'links.php';
                    
38include_once 'link.php';
                    
39
                    
155	// display the execution time
                    
156	$time = round(get_micro_time() - $context['start_time'], 2);
                    
157	$context['text'] .= '<p>'.sprintf(i18n::s('Script terminated in %.2f seconds.'), $time).'</p>';
                    
169	// avoid banned sources
                    
170	include_once $context['path_to_root'].'servers/servers.php';
                    
171	$banned_pattern = Servers::get_banned_pattern();
                    
177		// seek the database and check newest referrals
                    
178		include_once '../agents/referrals.php';
                    
179		if(($rows = Referrals::list_by_dates($links_offset, CHUNK_SIZE)) && count($rows)) {
                    
                
style.css https://github.com/cpg-contrib/coppermine.git | CSS | 678 lines
                    
37body {
                    
38        background-color: #FAFAFA;
                    
39        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
                    
58h2 {
                    
59        background-image : url(images/box_left_icon.gif);
                    
60        background-repeat : no-repeat;
                    
60        background-repeat : no-repeat;
                    
61        background-position : left;
                    
62        padding-left : 18px;
                    
98.top_menu_left_bttn a {
                    
99        background-image : url(images/left_menu_button.gif);
                    
100        background-repeat : no-repeat;
                    
670#vanity img {border:0}
                    
671#v_php {float:left;background-image:url(../../images/powered-php.gif);}
                    
672#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
                    
                
massmessage.php https://github.com/TravianWar/Travianx.git | PHP | 327 lines
                    
1<?php
                    
2
                    
5## --------------------------------------------------------------------------- ##
                    
6##  Filename       massmessage.php                                                 ##
                    
7##  Developed by:  Dzoki                                                       ##
                    
12
                    
13include_once("GameEngine/Account.php");
                    
14$max_per_pass = 1000;
                    
69	mysql_query($sql);
                    
70	if (($users_count - $_GET['from']) > $max_per_pass) echo header("Location: massmessage.php?send=true&from=",$_GET['from'] + $max_per_pass); else $done = true;
                    
71}
                    
76	<head>
                    
77		<title><?php echo SERVER_NAME; ?></title>
                    
78        <link REL="shortcut icon" HREF="favicon.ico"/>
                    
87        .tbg {
                    
88        background-color:#C0C0C0;
                    
89        font-size:10pt;
                    
                
style.css https://github.com/martijnvermaat/quick-hacks.git | CSS | 647 lines
                    
13	The CSS, XHTML and design is released under GPL:
                    
14	http://www.opensource.org/licenses/gpl-license.php
                    
15
                    
146	margin-top: 10px;
                    
147	background: #fff;
                    
148}
                    
179	position: relative;
                    
180	background: url(images/splash/tofu.jpg) 0 0 no-repeat;
                    
181}
                    
185	letter-spacing: -2pt;
                    
186	background: transparent url(images/ico/h1-bg.png);
                    
187	color: #fff;
                    
192#top {
                    
193	background: #C00000;
                    
194}
                    
                
class-wp-customize-setting.php https://gitlab.com/Gashler/dp | PHP | 439 lines
                    
1<?php
                    
2/**
                    
426 */
                    
427final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting {
                    
428	public $id = 'background_image_thumb';
                    
436	public function update( $value ) {
                    
437		remove_theme_mod( 'background_image_thumb' );
                    
438	}
                    
                
blocklayered.tpl https://gitlab.com/staging06/myproject | Smarty Template | 252 lines
                    
8* It is also available through the world-wide-web at this URL:
                    
9* http://opensource.org/licenses/afl-3.0.php
                    
10* If you did not receive a copy of the license and are unable to
                    
21*  @copyright  2007-2015 PrestaShop SA
                    
22*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23*  International Registred Trademark & Property of PrestaShop SA
                    
92										{if isset($filter.is_color_group) && $filter.is_color_group}
                    
93											<input class="color-option {if isset($value.checked) && $value.checked}on{/if} {if !$value.nbr}disable{/if}" type="button" name="layered_{$filter.type_lite}_{$id_value}" data-rel="{$id_value}_{$filter.id_key}" id="layered_id_attribute_group_{$id_value}" {if !$value.nbr}disabled="disabled"{/if} style="background: {if isset($value.color)}{if file_exists($col_img_dir|cat:$id_value|cat:'.jpg')}url({$img_col_dir}{$id_value}.jpg){else}{$value.color}{/if}{else}#CCC{/if};" title="{$value.name|escape:html:'UTF-8'}" />
                    
94											{if isset($value.checked) && $value.checked}<input type="hidden" name="layered_{$filter.type_lite}_{$id_value}" value="{$id_value}" />{/if}
                    
113										{if isset($filter.is_color_group) && $filter.is_color_group}
                    
114											<input class="radio color-option {if isset($value.checked) && $value.checked}on{/if} {if !$value.nbr}disable{/if}" type="button" name="layered_{$filter.type_lite}_{$id_value}" data-rel="{$id_value}_{$filter.id_key}" id="layered_id_attribute_group_{$id_value}" {if !$value.nbr}disabled="disabled"{/if} style="background: {if isset($value.color)}{if file_exists($col_img_dir|cat:$id_value|cat:'.jpg')}url({$img_col_dir}{$id_value}.jpg){else}{$value.color}{/if}{else}#CCC{/if};" title="{$value.name|escape:html:'UTF-8'}"/>
                    
115											{if isset($value.checked) && $value.checked}<input type="hidden" name="layered_{$filter.type_lite}_{$id_value}" value="{$id_value}" />{/if}
                    
                
about.php https://gitlab.com/syed3/washnsave | PHP | 296 lines
                    
46
                    
47<?php include('includes/header.php'); ?>
                    
48
                    
50	<!-- BANNER ROTATOR -->
                    
51	<div class="section subbanner" style="background:url('images/slide_page.jpg') no-repeat center center;   -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover">
                    
52		<div class="container">
                    
57						<ol class="breadcrumb">
                    
58						  <li><a href="index.php">Home</a></li>
                    
59						  <li class="active">About Us</li>
                    
141	<!-- STATS SECTION FACTS --> 
                    
142	<div class="section stat-facts" style="background:url('images/page_img-u24411-fr.png') no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover">
                    
143		<!--<div class="bg-overlay">
                    
295	<!-- FOOTER SECTION -->
                    
296<?php include('includes/footer.php'); ?>
                    
                
View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
                    
1<?php
                    
2namespace Concrete\Core\View;
                    
210        if (!$this->innerContentFile) { // will already be set in a legacy tools file
                    
211            $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle));
                    
212        }
                    
247
                    
248        // Render the template around it
                    
249        if (file_exists($this->template)) {
                    
466
                    
467        $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php');
                    
468        $_file = $_record->getFile();
                    
                
SimpleFontData.cpp https://gitlab.com/x33n/phantomjs | C++ | 304 lines
                    
91{
                    
92    GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(this, 0)->page();
                    
93
                    
111{
                    
112    GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(this, 0)->page();
                    
113    if (!glyphPageZero) {
                    
136    determinePitch();
                    
137    m_adjustedSpaceWidth = m_treatAsFixedPitch ? ceilf(width) : roundf(width);
                    
138
                    
160    else
                    
161        GlyphPageTreeNode::pruneTreeFontData(this);
                    
162}
                    
170{
                    
171    GlyphPageTreeNode* node = GlyphPageTreeNode::getRootChild(this, character / GlyphPage::size);
                    
172    return node->page() ? node->page()->glyphAt(character % GlyphPage::size) : 0;
                    
                
server.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 407 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_HTTP_SERVER_SERVER_H_
                    
18#define incl_HPHP_HTTP_SERVER_SERVER_H_
                    
                
AdminPreferencesController.php https://gitlab.com/staging06/myproject | PHP | 246 lines
                    
40        if (get_class($this) == 'AdminPreferencesController') {
                    
41            $round_mode = array(
                    
42                array(
                    
42                array(
                    
43                    'value' => PS_ROUND_HALF_UP,
                    
44                    'name' => $this->l('Round up away from zero, when it is half way there (recommended)')
                    
62                array(
                    
63                    'value' => PS_ROUND_DOWN,
                    
64                    'name' => $this->l('Round down to the nearest value')
                    
144                    'title' => $this->l('Round mode'),
                    
145                    'desc' => $this->l('You can choose among 6 different ways of rounding prices. "Round up away from zero ..." is the recommended behavior.'),
                    
146                    'validation' => 'isInt',
                    
163                            'name' => $this->l('Round on each line'),
                    
164                            'id' => Order::ROUND_LINE
                    
165                            ),
                    
                
ReviewerSubmission.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 518 lines
                    
132	function getDecisions($round = null) {
                    
133		if ($round == null) {
                    
134			return $this->editorDecisions;
                    
135		} else {
                    
136			if (isset($this->editorDecisions[$round])) return $this->editorDecisions[$round];
                    
137			else return null;
                    
143	 * @param $editorDecisions array
                    
144	 * @param $round int
                    
145	 */
                    
147		$this->stampStatusModified();
                    
148		return $this->editorDecisions[$round] = $editorDecisions;
                    
149	}
                    
356	function setRound($round) {
                    
357		return $this->setData('round', $round);
                    
358	}
                    
                
Manager.js https://github.com/flomotlik/grails-qooxdoo.git | JavaScript | 453 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
157
                    
158      // set a new border for the box element - this element actually gets moved around
                    
159      qx.bom.element.Style.set(element, "border", "1px dashed red");
                    
                
wipe.py https://github.com/jmil/SFACT.git | Python | 266 lines
                    
7The wipe manual page is at:
                    
8http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe
                    
9
                    
82from __future__ import absolute_import
                    
83#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
                    
84import __init__
                    
131		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Wipe', self, '')
                    
132		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe')
                    
133		self.activateWipe = settings.BooleanSetting().getFromValue('Activate Wipe', self, False )
                    
                
ch14s16.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 95 lines
                    
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Using background gradients</title><link rel="stylesheet" type="text/css" href="manual.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="ch14.html" title="Chapter 14. Common features for all Cartesian (x,y) graph types"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Using background gradients</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center">Chapter 14. Common features for all Cartesian (x,y) graph types</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="sect1" title="Using background gradients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2552733"></a>Using background gradients</h2></div></div></div>
                    
2            
                    
2            
                    
3            <p>A color gradient background will change the color from a start color to a finish
                    
4                color in even steps (the number of steps depends on the size of the graph). The
                    
5                direction of the gradient is controlled by specifying a style parameter for the
                    
6                gradient. The signature for the gradient background method is</p>
                    
7            <p>
                    
8                </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
                    
9                        <p><code class="code">Graph::SetBackgroundGradient($aFrom='navy',$aTo='silver',$aGradType=2,$aStyle=BGRAD_FRAME)</code></p>
                    
10                    </li></ol></div><p>
                    
74            </p>
                    
75            <div class="sect2" title="Generating gradient background off-line"><div class="titlepage"><div><div><h3 class="title"><a name="id2553714"></a>Generating gradient background off-line</h3></div></div></div>
                    
76                
                    
76                
                    
77                <p>A drawback of using gradient backgrounds is that they are processing intensive
                    
78                    and since they are generated each time the graph is generated it can take
                    
                
CalculatorViewController.m https://github.com/oliverbarreto/CS193P-A4.git | Objective C | 376 lines
                    
93                //UIImage *myButtonImage = [UIImage imageNamed:@"Button_GreyLight_40.png"];
                    
94                [radiansModeButton setBackgroundImage:nil forState:UIControlStateNormal];
                    
95                
                    
101                UIImage *myButtonImage = [UIImage imageNamed:@"Button_GreyDark_40.png"];
                    
102                [radiansModeButton setBackgroundImage:myButtonImage forState:UIControlStateNormal];
                    
103            }   
                    
196
                    
197- (IBAction)graphPressed:(id)sender {
                    
198    
                    
235            //UIImage *myButtonImage = [UIImage imageNamed:@"Button_GreyLight_40.png"];
                    
236            [editVariableModeEnabledButton setBackgroundImage:nil forState:UIControlStateNormal];
                    
237                
                    
241            UIImage *myButtonImage = [UIImage imageNamed:@"Button_GreyDark_40.png"];
                    
242            [editVariableModeEnabledButton setBackgroundImage:myButtonImage forState:UIControlStateNormal];
                    
243        }   
                    
                
class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
                    
1<?php
                    
2/**
                    
56
                    
57		// When orderby is set, WordPress shows posts. Get around that here.
                    
58		if ( $q->is_home() && 'page' == get_option('show_on_front') && get_option('page_on_front') == woocommerce_get_page_id('shop') ) {
                    
                
jquery.blockUI.js https://github.com/aherbert/openmicroscopy.git | JavaScript | 398 lines
                    
8 * Dual licensed under the MIT and GPL licenses:
                    
9 * http://www.opensource.org/licenses/mit-license.php
                    
10 * http://www.gnu.org/licenses/gpl.html
                    
77        border:         '3px solid #aaa',
                    
78        backgroundColor:'#fff',
                    
79        cursor:         'wait'
                    
83    overlayCSS:  {
                    
84        backgroundColor: '#000',
                    
85        opacity:         '0.6'
                    
98	    color:    '#fff',
                    
99	    backgroundColor: '#000',
                    
100	    '-webkit-border-radius': '10px',
                    
                
PagstractAbstractToken.php https://gitlab.com/php.bjoernbartels.earth/phpagstract | PHP | 535 lines
                    
1<?php
                    
2/**
                    
4 */
                    
5namespace PHPagstract\Token\Tokens;
                    
6
                    
6
                    
7use PHPagstract\Token\Exception\TokenizerException;
                    
8use PHPagstract\Token\PagstractTokenizer;
                    
12 *
                    
13 * @package   PHPagstract
                    
14 * @author    Björn Bartels <coding@bjoernbartels.earth>
                    
14 * @author    Björn Bartels <coding@bjoernbartels.earth>
                    
15 * @link      https://gitlab.bjoernbartels.earth/php/phpagstract
                    
16 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
                    
87        Token::ELEMENT,
                    
88        Token::PHP,
                    
89        Token::TEXT,
                    
                
blocklayered.tpl https://gitlab.com/sutrix.hoa.tran/Research-Prestashop | Smarty Template | 252 lines
                    
8* It is also available through the world-wide-web at this URL:
                    
9* http://opensource.org/licenses/afl-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/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23*  International Registred Trademark & Property of PrestaShop SA
                    
92										{if isset($filter.is_color_group) && $filter.is_color_group}
                    
93											<input class="color-option {if isset($value.checked) && $value.checked}on{/if} {if !$value.nbr}disable{/if}" type="button" name="layered_{$filter.type_lite}_{$id_value}" data-rel="{$id_value}_{$filter.id_key}" id="layered_id_attribute_group_{$id_value}" {if !$value.nbr}disabled="disabled"{/if} style="background: {if isset($value.color)}{if file_exists($col_img_dir|cat:$id_value|cat:'.jpg')}url({$img_col_dir}{$id_value}.jpg){else}{$value.color}{/if}{else}#CCC{/if};" title="{$value.name|escape:html:'UTF-8'}" />
                    
94											{if isset($value.checked) && $value.checked}<input type="hidden" name="layered_{$filter.type_lite}_{$id_value}" value="{$id_value}" />{/if}
                    
113										{if isset($filter.is_color_group) && $filter.is_color_group}
                    
114											<input class="radio color-option {if isset($value.checked) && $value.checked}on{/if} {if !$value.nbr}disable{/if}" type="button" name="layered_{$filter.type_lite}_{$id_value}" data-rel="{$id_value}_{$filter.id_key}" id="layered_id_attribute_group_{$id_value}" {if !$value.nbr}disabled="disabled"{/if} style="background: {if isset($value.color)}{if file_exists($col_img_dir|cat:$id_value|cat:'.jpg')}url({$img_col_dir}{$id_value}.jpg){else}{$value.color}{/if}{else}#CCC{/if};" title="{$value.name|escape:html:'UTF-8'}"/>
                    
115											{if isset($value.checked) && $value.checked}<input type="hidden" name="layered_{$filter.type_lite}_{$id_value}" value="{$id_value}" />{/if}
                    
                
jlparameter.php https://gitlab.com/julienv/joomleague | PHP | 552 lines
                    
1<?php
                    
2/**
                    
3 * @copyright	Copyright (C) 2005-2014 joomleague.at. All rights reserved.
                    
4 * @license		GNU/GPL, see LICENSE.php
                    
5 * Joomla! is free software. This version may have been modified pursuant
                    
8 * other free or open source software licenses.
                    
9 * See COPYRIGHT.php for copyright notices and details.
                    
10 */
                    
301
                    
302		return implode(PHP_EOL, $html);
                    
303	}
                    
470
                    
471		if ((isset($this->_elements[$signature]) && !($this->_elements[$signature] instanceof __PHP_Incomplete_Class)) && $new === false)
                    
472		{
                    
487
                    
488			$file = JFilterInput::getInstance()->clean(str_replace('_', DS, $type) . '.php', 'path');
                    
489
                    
                
resetscript.php https://github.com/Naddiseo/WW2Game.git | PHP | 353 lines
                    
57// Include everything we need
                    
58require_once('vsys.php');
                    
59
                    
209foreach($users as $user) {
                    
210	echo "resetscript: (" . round(($i / $nusers)*100, 2) . "%) calculating user ($user->id:$user->username)\n";
                    
211	$i++;
                    
                
README.md https://gitlab.com/alidzapp/Link-Preview | Markdown | 243 lines
                    
5
                    
6The algorithm keeps tracking what you are typing in the status field and through regular expressions identifies a url. Thereafter, the text is in the field is passed to PHP that does all the work to analyze all the source code of the url found. If you enter more than one url, it will consider that the first one is the more relevant and it will create a preview.
                    
7Once the source code of the url is obtained, regular expressions begin to seek out and capture relevant information on it. This information is basically the title page, the images contained therein, and a brief description of the content covered in the page.
                    
23
                    
24- Apache (must support mod_php)
                    
25
                    
108
                    
109To custom your database configurations, you need to change the following values in [Database.php](/src/link-preview/php/classes/Database.php)
                    
110
                    
130        
                    
131                var url = 'src/link-preview/php/retrieve.php';
                    
132                $http({
                    
182    
                    
183Also, check the file [database-template.php](src/link-preview/template/database-template.php) to see an example of how to display the data retrieved from database.    
                    
184       
                    
                
 

Source

Language