PageRenderTime 3067ms queryTime 433ms sortTime 528ms getByIdsTime 57ms findMatchingLines 72ms

100+ results results for 'php ord repo:MHordecki/milionkostek' (3067 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
9	<meta name="author" content="Pivot Group" />
                    
10	<meta name="keywords" content="reservation telephone company" />
                    
11	<meta name="description" content="" />
                    
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" /> 
                    
34<link rel='next' title='Links' href='http://localhost:8888/reservation-telephone-company/links/' />
                    
35<meta name="generator" content="WordPress 3.0-RC1-15112" />
                    
36<link rel='canonical' href='http://localhost:8888/reservation-telephone-company/about/' />
                    
41         color:#000000;
                    
42         border-bottom:1px dotted #000000;
                    
43         }
                    
46         color:#000000;
                    
47         border-bottom:1px dotted #000000;
                    
48        }
                    
                
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
43
                    
44import java.awt.BorderLayout;
                    
45import java.awt.Dialog;
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
66import org.netbeans.modules.php.project.connections.sync.SyncItem;
                    
67import org.netbeans.modules.php.project.connections.transfer.TransferFile;
                    
                
Font.php https://gitlab.com/adamlwalker/generatedata | 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		}
                    
                
Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
                    
116     * @param string                   $username Username of the URL
                    
117     * @param string                   $password Password of the URL
                    
118     * @param int                      $port     Port of the URL
                    
356     *
                    
357     * @param string $password Password to set
                    
358     *
                    
360     */
                    
361    public function setPassword($password)
                    
362    {
                    
496            $this->username = $url->getUsername();
                    
497            $this->password = $url->getPassword();
                    
498            $this->path = $url->getPath();
                    
508            $this->username = $url->getUsername();
                    
509            $this->password = $url->getPassword();
                    
510            $this->path = $url->getPath();
                    
                
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 */
                    
36  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
                    
37  border-radius: 5px;
                    
38  box-sizing: border-box;
                    
71    color: transparent;
                    
72    border: 0; }
                    
73  .sweet-alert button {
                    
74    color: #fff;
                    
75    border: 0;
                    
76    box-shadow: none;
                    
                
upgrade_slims8_akasia.sql.php https://gitlab.com/mucill/majalengka | PHP | 269 lines
                    
1<?php
                    
2
                    
16
                    
17/*-- change all users password to : 'akasia'*/
                    
18// $sql['update'][] = "UPDATE `user` SET passwd='$2y$10$/Czdb/DbXSDO2peXwlfvDusUZ6CF0VTeSoErlOOXgSXXA2RanoLd.';";
                    
19
                    
20/*-- change all members password to : 'akasia'*/
                    
21// $hash_member = '$2y$10$Vx12rbVCdtYW701HrULLYOLDKJdb3fDusG2rE7GJzAcH9mqu2MjKK';
                    
127(12, 'sounds', 'snd', 'i', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
128(13, 'spoken word', 'spw', 'i', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
129(14, 'still image', 'sti', 'k', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
222$sql['insert'][] = "INSERT IGNORE INTO `setting` (`setting_name`, `setting_value`) VALUES
                    
223('shortcuts_1', 'a:6:{i:0;s:42:\"Daftar Bibliografi|/bibliography/index.php\";i:1;s:61:\"Tambah Bibliografi Baru|/bibliography/index.php?action=detail\";i:2;s:51:\"Mulai Transaksi|/circulation/index.php?action=start\";i:3;s:48:\"Pengembalian Kilat|/circulation/quick_return.php\";i:4;s:42:\"Lihat Daftar Anggota|/membership/index.php\";i:5;s:37:\"Shortcut Setting|/system/shortcut.php\";}');";
                    
224
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
107    {
                    
108        return ord($this->_fread(1));
                    
109    }
                    
248            // It's a negative value since the highest bit is set
                    
249            if ($wordHigh == (int)0xFFFFFFFF  &&  ($wordLow & (int)0x80000000)) {
                    
250                return $wordLow;
                    
268
                    
269        return $wordHigh*(float)0x100000000/* 0x00000001 00000000 */ + $wordLow;
                    
270    }
                    
290            $wordHigh = (int)($value/(float)0x100000000/* 0x00000001 00000000 */);
                    
291            $wordLow  = $value - $wordHigh*(float)0x100000000/* 0x00000001 00000000 */;
                    
292
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
404			<input
                    
405				type="checkbox"<?php checked( in_array( 'noborders', $instance['chrome'] ) ); ?>
                    
406				id="<?php echo $this->get_field_id( 'chrome-noborders' ); ?>"
                    
409			/>
                    
410			<label for="<?php echo $this->get_field_id( 'chrome-noborders' ); ?>">
                    
411				<?php esc_html_e( 'No Borders', 'jetpack' ); ?>
                    
438		<p>
                    
439			<label for="<?php echo $this->get_field_id( 'border-color' ); ?>">
                    
440				<?php _e( 'Border Color (hex):', 'jetpack' ); ?>
                    
444				id="<?php echo $this->get_field_id( 'border-color' ); ?>"
                    
445				name="<?php echo $this->get_field_name( 'border-color' ); ?>"
                    
446				type="text"
                    
446				type="text"
                    
447				value="<?php echo esc_attr( $instance['border-color'] ); ?>"
                    
448			/>
                    
                
InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
159        )->addColumn(
                    
160            'sort_order',
                    
161            \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
                    
163            ['unsigned' => true, 'nullable' => false, 'default' => '0'],
                    
164            'Sort order'
                    
165        )->addForeignKey(
                    
316        )->addColumn(
                    
317            'sort_order',
                    
318            \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
                    
320            ['nullable' => false, 'default' => '0'],
                    
321            'Sort Order'
                    
322        )->addColumn(
                    
                
arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
283	 *
                    
284	 *     // Get the values "username", "password" from $_POST
                    
285	 *     $auth = Arr::extract($_POST, array('username', 'password'));
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
185
                    
186	// order detailed info (sale:OnSaleOrderSaved)
                    
187	public static function catchCatalogOrder(Event $event)
                    
258			{
                    
259				OrderTable::update($data['order_id'], array('BX_USER_ID' => $data['bx_user_id']));
                    
260			}
                    
263
                    
264	// order payment (sale:OnSaleOrderPaid)
                    
265	public static function catchCatalogOrderPayment(Event $event)
                    
311		// order itself
                    
312		$order = \CSaleOrder::getById($orderId);
                    
313
                    
323
                    
324		$result = \CSaleOrderPropsValue::GetList(array(), array("ORDER_ID" => $orderId));
                    
325		while ($row = $result->fetch())
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
1/**
                    
2*  This is a nearly exact copy of the corresponding wordpress file, we needed to copy and modify it for our use of swfupoader as the wordpress handler code is specific to posts
                    
3*/ 
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
194
                    
195			postVars = "product_id="+product_id+"&order="+order;
                    
196			jQuery.post( 'index.php?wpsc_admin_action=rearrange_images', postVars, function(returned_data) {
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
120        try {
                    
121            //Em caso de edição, verifica se o registro de fato pode ser alterado, de acordo com o seu status
                    
122            if (!empty($data['id'])) {
                    
                
Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
130		WHERE 1'.($active ? ' AND c.active = 1' : '').($contain_states ? ' AND c.`contains_states` = '.(int)$contain_states : '').'
                    
131		ORDER BY cl.name ASC');
                    
132        foreach ($result as $row) {
                    
136        if ($list_states) {
                    
137            $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC');
                    
138            foreach ($result as $row) {
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
283span.fileText{background-image:url(../images/small_icon/fileText.png);}

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

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

                    
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);}

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

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

                    
324dt.fileFlash{background-image:url(../images/big_icon/fileFlash.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);}

                    
343{

                    
344	border:none;

                    
345	padding:2px 6px;

                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
1<?php
                    
2
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
147        'smtp_username' => 'Användarnamn',
                    
148        'smtp_password' => 'Lösenord',
                    
149        'smtp_port' => 'SMTP-port',
                    
                
linear_solver.h https://gitlab.com/Namdhari/cgal-AnatoMeCo | C Header | 478 lines
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
97    {
                    
98        D = 1;              // OpenNL does not support homogeneous coordinates
                    
99
                    
158    {
                    
159        D = 1;              // OpenNL does not support homogeneous coordinates
                    
160
                    
384        bool success = solver_traits.linear_solver(*A_, *b_, *x_, D) ;
                    
385        CGAL_assertion(D == 1.0);   // WARNING: this library does not support homogeneous coordinates!
                    
386
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
44{
                    
45    private $vendorDir;
                    
46
                    
63
                    
64    public function __construct($vendorDir = null)
                    
65    {
                    
65    {
                    
66        $this->vendorDir = $vendorDir;
                    
67    }
                    
312
                    
313        if (null === $this->vendorDir) {
                    
314            return;
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
43                    $username = Input::Post('email','');
                    
44                    $password = Input::Post('password','');
                    
45                    if(G::$Authorized->CheckLogin($username, $password)){
                    
182                $productID[]= $item['product_id'];
                    
183                $insertOrder = DB::Query('order')->Insert($item);
                    
184                if($insertOrder->status && $insertOrder->insert_id>0){
                    
210            $invoice['total'] = $moneySend;
                    
211            $invoice['order_id'] = implode(',',$orderID);
                    
212            $invoice['product_id'] = implode(',',$productID);
                    
221                foreach($orderID as $ID){
                    
222                    DB::Query('order')->Where('order_id','=',$ID)->Update(array('invoice_id'=>$insertInvoice->insert_id));
                    
223                }
                    
261                $invoice = $invoice->Result[0];
                    
262                $order = DB::Query('order')->Where('order_id','INCLUDE',$invoice['order_id'])->Get()->Result;
                    
263                $shipMethod = DB::Query('ship')->Get()->Result;
                    
                
date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
68 *
                    
69 * This function is identical to PHPs date() function,
                    
70 * except that it allows date codes to be formatted using
                    
102 *
                    
103 * Returns a date formatted according to the submitted standard.
                    
104 *
                    
550	{
                    
551		// Note: Don't change the order of these even though
                    
552		// some items appear to be in the wrong order
                    
609
                    
610/* End of file date_helper.php */
                    
611/* Location: ./system/helpers/date_helper.php */
                    
                
sysvmsg.c https://gitlab.com/envieidoc/advancedtomato2 | C | 477 lines
                    
9  | available through the world-wide-web at the following url:           |
                    
10  | http://www.php.net/license/3_01.txt                                  |
                    
11  | If you did not receive a copy of the PHP license and are unable to   |
                    
12  | obtain it through the world-wide-web, please send a note to          |
                    
13  | license@php.net so we can mail you a copy immediately.               |
                    
14  +----------------------------------------------------------------------+
                    
36#define PHP_MSG_NOERROR		2
                    
37#define PHP_MSG_EXCEPT		4
                    
38
                    
145{
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
27    protected $_userStyles = array(
                    
28        '<number:date-style style:name="nShortDate" number:automatic-order="true" 
                    
29                xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
                    
295     *
                    
296     * @param Tinebase_Record_RecordSet $records
                    
297     */
                    
299    {
                    
300        $this->_resolveRecords($_records);
                    
301        
                    
304        foreach ($_records as $record) {
                    
305            $this->processRecord($record, $i);
                    
306            $i++;
                    
314     */
                    
315    public function processRecord($record, $idx)
                    
316    {
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
1<?php
                    
2/**
                    
86            'In Cart' => 2,
                    
87            'Before Order Confirmation' => 3
                    
88        ],
                    
156     *
                    
157     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
158     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
308     *
                    
309     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
310     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
345     *
                    
346     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
347     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
57		'et_pb_posts-remove_drop_shadow'                          => 'off',
                    
58		'et_pb_posts-border_radius'                               => '3px',
                    
59
                    
100		'et_pb_tabbed_posts-remove_drop_shadow'                   => 'off',
                    
101		'et_pb_tabbed_posts-border_radius'                        => '3px',
                    
102
                    
132		'et_pb_posts_carousel-remove_drop_shadow'                 => 'off',
                    
133		'et_pb_posts_carousel-border_radius'                      => '3px',
                    
134
                    
149		'et_pb_featured_posts_slider-remove_drop_shadow'          => 'off',
                    
150		'et_pb_featured_posts_slider-border_radius'               => '3px',
                    
151
                    
181		'et_pb_posts_blog_feed_standard-read_more_bg_color'       => 'rgba(0, 0, 0, 0.1)',
                    
182		'et_pb_posts_blog_feed_standard-read_more_border_radius'  => '3px',
                    
183
                    
                
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`.
                    
47Create a new file in
                    
48`PHP-CS-Fixer/Symfony/CS/Fixer/Contrib/RemoveCommentsFixer.php`.
                    
49Put this content inside:
                    
121
                    
122`# php php-cs-fixer readme > README.rst`
                    
123
                    
                
Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 576 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 */
                    
199     * @param string $login username
                    
200     * @param string $pass password
                    
201     */
                    
204        $this->_auth['login'] = $login;
                    
205        $this->_auth['password'] = $pass;
                    
206        //$val= base64_encode( "$login:$pass" );
                    
252     *
                    
253     * @param string $uri uri relative to host, ex. "/index.php"
                    
254     */
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/martinstti/silex-microframework-rest | PHP | 324 lines
                    
1<?php
                    
2
                    
18
                    
19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
76
                    
77        $addedRoute = $collectionBuilder->add('/checkout', 'AppBundle:Order:checkout');
                    
78        $addedRoute2 = $collectionBuilder->add('/blogs', 'AppBundle:Blog:list', 'blog_list');
                    
79        $this->assertInstanceOf('Symfony\Component\Routing\Route', $addedRoute);
                    
80        $this->assertEquals('AppBundle:Order:checkout', $addedRoute->getDefault('_controller'));
                    
81
                    
85
                    
86    public function testFlushOrdering()
                    
87    {
                    
104        // 1) Add a route
                    
105        $routes->add('/checkout', 'AppBundle:Order:checkout', 'checkout_route');
                    
106        // 2) Import from a file
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
228									{
                    
229										?><a class="personal-order-item-order-btn-reorder" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_COPY"])?>"><?=Loc::getMessage('SPOL_TPL_REPEAT_ORDER')?></a><?
                    
230									}
                    
282						<div class="personal-order-item-additional-info-more-block">
                    
283							<a class="personal-order-item-additional-info-more-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_DETAIL"])?>"><?=Loc::getMessage('SPOL_TPL_MORE_ON_ORDER')?></a>
                    
284						</div>
                    
346							{
                    
347								?><a class="g-font-size-15 sale-order-list-cancel-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_CANCEL"])?>"><?=Loc::getMessage('SPOL_TPL_CANCEL_ORDER')?></a><?
                    
348							}
                    
350							{
                    
351								?><a class="personal-order-item-order-btn-reorder" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_COPY"])?>"><?=Loc::getMessage('SPOL_TPL_REPEAT_ORDER')?></a><?
                    
352							}
                    
379						<div class="personal-order-item-additional-info-more-block">
                    
380							<a class="personal-order-item-additional-info-more-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_DETAIL"])?>"><?=Loc::getMessage('SPOL_TPL_MORE_ON_ORDER')?></a>
                    
381						</div>
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
23
                    
24	/** @var \Bitrix\Sale\Order $order */
                    
25	protected $order = null;
                    
279		$registry = Sale\Registry::getInstance(Sale\Registry::REGISTRY_TYPE_ORDER);
                    
280		$orderClassName = $registry->getOrderClassName();
                    
281		$this->order = $orderClassName::loadByAccountNumber($this->arParams['ACCOUNT_NUMBER']);
                    
470				$paymentSum = $payment->getSum();
                    
471				$payment->setFieldNoDemand('SUM', $paymentSum + ($newOrderPrice - $oldOrderPrice));
                    
472			}
                    
485					"ORDER_ID" => $this->order->getField("ACCOUNT_NUMBER"),
                    
486					"ORDER_DATE" => $this->order->getDateInsert()->toString(),
                    
487					"PAYMENT_ID" => $payment->getField("ACCOUNT_NUMBER"),
                    
497
                    
498					$this->arResult["PAYMENT_LINK"] = $this->arParams['PATH_TO_PAYMENT'] . "?ORDER_ID=" . $this->order->getField("ACCOUNT_NUMBER") . "&PAYMENT_ID=" . $payment->getField('ACCOUNT_NUMBER');
                    
499				}
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
1<?php
                    
2/**
                    
286			$res = \CCrmLead::getListEx(
                    
287				$arOrder = array(),
                    
288				$arFilter = array('LOGIC' => 'OR', '%FULL_NAME' => $search, '%TITLE' => $search),
                    
327			$res = \CCrmDeal::getListEx(
                    
328				$arOrder = array(),
                    
329				$arFilter = array('%TITLE' => $search),
                    
                
fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
                    
1<?php
                    
2$translations = array(
                    
6	'Username' => 'نام كاربري',
                    
7	'Password' => 'كلمه عبور',
                    
8	'Permanent login' => '',
                    
16	'No extension' => 'پسوند نامعتبر',
                    
17	'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
19	'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد',
                    
20	'%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s',
                    
21	'Refresh' => 'بازيابي',
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
12if(isset($_REQUEST['search']) )$allData =  $orgObject->search($_REQUEST);
                    
13$availableKeywords=$orgObject->getAllKeywords();
                    
14$comma_separated_keywords= '"'.implode('","',$availableKeywords).'"';
                    
243            <li>
                    
244                <a href="../SummaryOfOrganization/create.php">
                    
245                    <span class="title">Add New</span>
                    
272            <a href="xl.php" class="btn btn-primary" role="button">Download as XL</a>
                    
273            <a href="email.php?list=1" class="btn btn-primary" role="button">Email to friend</a>
                    
274        </td>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
179            
                    
180        videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php")
                    
181        if '' != videoData:
                    
                
ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
                    
82 : <strong>*</strong></em>
                    
83            <input type="password" title="Password" name="vPassword" id="vPassword" class="validate[required,minSize[6]] form-input-re"></label>
                    
84          <label><em><?php echo @LBL_RE_ENTER;?>
                    
86 : <strong>*</strong></em>
                    
87            <input type="password" title="Re-Enter Password" name="vRePassword" id="vRePassword" class="validate[required,equals[vPassword]] form-input-re">
                    
88          </label> 
                    
120                <option value="<?php echo $_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountryCode'];?>
                    
121" <?php if ($_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountryCode']==$_smarty_tpl->getVariable('vCountry')->value){?> selected <?php }?>><?php echo $_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountry'];?>
                    
122</option>
                    
156</option>
                    
157              <option value="EE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='EE'){?> selected <?php }?>><?php echo @LBL_ESTONIAN;?>
                    
158</option>
                    
158</option>
                    
159              <option value="LT" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='LT'){?> selected <?php }?>><?php echo @LBL_LITHUNIAN;?>
                    
160</option>
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
171		$this->msgBody .= "\r\n--PHP-alt-" . $this->randomHash . "--";*/
                    
172		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
173	}
                    
323		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
324		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
325	}
                    
342		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
343		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
344	}
                    
361		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
362		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
363	}
                    
380		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
381		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
382	}
                    
                
simulator.js https://gitlab.com/gregtyka/Scryve-Webapp | JavaScript | 362 lines
                    
140            if (!Ext.get(target).hasCls('recorderButton')) {
                    
141                this.getRecorder().record('main', e);
                    
142            }
                    
145            if (!this.recorder) {
                    
146                this.recorder = new Ext.util.EventRecorder();
                    
147                this.recorder.on({
                    
168            if (!this.doRecordWrap) {
                    
169                this.doRecordWrap = Ext.createDelegate(me.doRecord, me);
                    
170            }
                    
185            if (!this.doRecordWrap) {
                    
186                this.doRecordWrap = Ext.createDelegate(me.doRecord, me);
                    
187            }
                    
192
                    
193            window.localStorage.setItem('recordedEvents', JSON.stringify(this.getRecorder().getEventSet('main')));
                    
194        },
                    
                
class-wp-media-list-table.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 396 lines
                    
174?>
                    
175	<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
                    
176<?php
                    
253?>
                    
254		<td <?php echo $attributes ?>><?php
                    
255		$tags = get_the_tags();
                    
270?>
                    
271		<td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td>
                    
272<?php
                    
291?>
                    
292		<td <?php echo $attributes ?>><?php echo $h_time ?></td>
                    
293<?php
                    
313?>
                    
314			<td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br />
                    
315			<?php if( $user_can_edit ) {?>
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
195        // Vulnerable:
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
199        if (
                    
200               (PHP_VERSION_ID < 50400 && PHP_VERSION_ID >= 50328)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
202            || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
                    
203        ) {
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
246        $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
61                    ],
                    
62                    'wordmax' => [
                    
63                        'name' => tr('Word Count'),
                    
63                        'name' => tr('Word Count'),
                    
64                        'description' => tr('Limit the length of the text, in number of words.'),
                    
65                        'filter' => 'int',
                    
171        if ($this->getOption('wordmax')) {
                    
172            $data['keyup'] = "wordCount({$this->getOption('wordmax')}, this, 'cpt_{$this->getConfiguration('fieldId')}', '" . addcslashes(tr('Word Limit Exceeded'), "'") . "')";
                    
173        } elseif ($this->getOption('max')) {
                    
                
class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
                    
1<?php
                    
2/**
                    
374	 * @param int|false $number      Specify the number to limit results or false to get any.
                    
375	 * @param bool      $desc        Order ASC by ID if false. Order DESC by ID otherwise.
                    
376	 * @return array                 List of values
                    
406		if ( $desc ) {
                    
407			$sql['order'] = 'ORDER BY id DESC';
                    
408		}
                    
479			$sql['groupby'] = sprintf( 'GROUP BY %s', esc_sql( $group_by ) );
                    
480			$sql['orderby'] = 'ORDER BY count DESC';
                    
481
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
1<?php
                    
2
                    
8					->where('montado', '=', 1)
                    
9					->orderBy('proximo_mantenimiento', 'asc')
                    
10					->get();
                    
13					->where('baja', '=', 1)
                    
14					->orderBy('proximo_mantenimiento', 'asc')
                    
15					->get();
                    
57                    ->orWhere('email_contacto', 'like', '%'.Input::get('texto').'%');	
                    
58				})->orderBy('nombre_contacto', 'desc')
                    
59				->lists('id');
                    
117		            })
                    
118					->orderBy('fecha', 'desc')
                    
119					->paginate($mantenimientospage);
                    
135    		$mantenimientos = DB::table('mantenimientos')
                    
136    			->orderBy('fecha', 'desc')
                    
137    			->paginate($mantenimientospage);
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
28$_lang['password_method_screen'] = 'Show the new password on screen.';
                    
29$_lang['password_new'] = 'New Password';
                    
30$_lang['password_notification'] = 'Password Notification';
                    
30$_lang['password_notification'] = 'Password Notification';
                    
31$_lang['password_old'] = 'Old Password';
                    
32$_lang['primary_group'] = 'Primary Group';
                    
71$_lang['user_class_key_desc'] = 'The MODX Class Key for this user. Do not change this unless you know what you are doing.';
                    
72$_lang['user_created_password_message'] = 'The User has been created. The password is: [[+password]]';
                    
73$_lang['user_confirm_remove'] = 'Are you sure you want to permanently remove this user?';
                    
170$_lang['user_new'] = 'New User';
                    
171$_lang['user_password_changed'] = 'Password successfully changed to: [[+password]]';
                    
172$_lang['user_phone'] = 'Phone number';
                    
194$_lang['user_update'] = 'Update User';
                    
195$_lang['user_updated_password_message'] = 'The User has been updated. The password is: [[+password]]';
                    
196$_lang['user_upload_message'] = 'If you wish to stop this user uploading any filetypes in this category, make sure that the \'Use Main Configuration Setting\' checkbox is not ticked and leave the field blank.';
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
86		if ( !empty( $_REQUEST['orderby'] ) )
                    
87			$args['orderby'] = trim( wp_unslash( $_REQUEST['orderby'] ) );
                    
88
                    
89		if ( !empty( $_REQUEST['order'] ) )
                    
90			$args['order'] = trim( wp_unslash( $_REQUEST['order'] ) );
                    
91
                    
407	<form method="get" action=""><table style="display: none"><tbody id="inlineedit">
                    
408		<tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
                    
409
                    
410			<fieldset><div class="inline-edit-col">
                    
411				<h4><?php _e( 'Quick Edit' ); ?></h4>
                    
412
                    
413				<label>
                    
414					<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
                    
415					<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
                    
                
contact.php https://gitlab.com/h94373035/web | PHP | 301 lines
                    
16  <meta name="description" content="free website template" />
                    
17  <meta name="keywords" content="enter your keywords here" />
                    
18  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
                    
110        <li><a href="contact.php">聯繫我們</a></li>
                    
111        <?php
                    
112          	if($_SESSION["login_status"]=="login_ok")
                    
117            {
                    
118           	   echo "<li><a href=\"login.php\">登入</a><li>"; 
                    
119            }
                    
273              <h2>長榮大學</h2>
                    
274			  <!fb><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&tabs=timeline&width=185&height=420&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="185" height="420" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe><!fb end>
                    
275		        <!-- <a href="#">Read more</a> -->
                    
294	  <div id="footer_content">
                    
295      <fb案讚><center><iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&width=450&layout=standard&action=like&show_faces=true&share=true&height=80&appId" width="450" height="80" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe></center><fb案讚 end>
                    
296        <a href="http://validator.w3.org/check?uri=referer">Valid XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> | <a href="http://fotogrph.com/">Images</a> | website template by <a href="http://www.araynordesign.co.uk">ARaynorDesign</a>
                    
                
klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access');
                    
101     *
                    
102     * @ignore Do not show in PHPDoc.
                    
103     * @var string
                    
109     *
                    
110     * @ignore Do not show in PHPDoc.
                    
111     * @var int
                    
117     *
                    
118     * @ignore Do not show in PHPDoc.
                    
119     * @var float
                    
125     *
                    
126     * @ignore Do not show in PHPDoc.
                    
127     * @var float
                    
133     *
                    
134     * @ignore Do not show in PHPDoc.
                    
135     * @var float
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
2/**
                    
12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes
                    
13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes.
                    
14 *
                    
14 *
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
126	 * You need to shortcode's tag and  settings to map correctly.
                    
127	 * Default shortcodes are mapped in config/map.php file.
                    
128	 * The best way is to call this method with "init" action callback function of WP.
                    
249	 *
                    
250	 * Sorting depends on the weight attribute and mapping order.
                    
251	 *
                    
541	/**
                    
542	 * Sorting method for WPBMap::generateUserData method. Called by usort php function.
                    
543	 * @deprecated - use Vc_Sort::sortByKey since 4.4
                    
                
helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
                    
1<?php
                    
2/**
                    
12$com_path = JPATH_SITE . '/components/com_content/';
                    
13require_once $com_path . 'helpers/route.php';
                    
14
                    
165		// Ordering
                    
166		$articles->setState('list.ordering', $params->get('article_ordering', 'a.ordering'));
                    
167		$articles->setState('list.direction', $params->get('article_ordering_direction', 'ASC'));
                    
239				$menu      = $app->getMenu();
                    
240				$menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login');
                    
241
                    
251
                    
252				$item->link = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $Itemid);
                    
253			}
                    
362	 * @param   string  $fieldName                   name of field that is used for grouping
                    
363	 * @param   string  $article_grouping_direction  ordering direction
                    
364	 * @param   null    $fieldNameToKeep             field name to keep
                    
                
postgresql.php https://gitlab.com/ricardosanchez/prueba | PHP | 641 lines
                    
1<?php
                    
2/**
                    
95
                    
96				if ($this->order)
                    
97				{
                    
97				{
                    
98					$query .= (string) $this->order;
                    
99				}
                    
125				{
                    
126					$onWord = ' ON ';
                    
127
                    
132
                    
133						$joinArray = explode($onWord, $joinElem[0]);
                    
134
                    
235			case 'having':
                    
236			case 'order':
                    
237			case 'columns':
                    
                
legacy.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 596 lines
                    
1<?php
                    
2/**
                    
126	/**
                    
127	 * Adds to the stack of model table paths in LIFO order.
                    
128	 *
                    
156			case 'model':
                    
157				$filename = strtolower($parts['name']) . '.php';
                    
158				break;
                    
301	 * @param   integer  $limitstart  Offset.
                    
302	 * @param   integer  $limit       The number of records.
                    
303	 *
                    
317	/**
                    
318	 * Returns a record count for the query.
                    
319	 *
                    
336			$query = clone $query;
                    
337			$query->clear('select')->clear('order')->clear('limit')->clear('offset')->select('COUNT(*)');
                    
338
                    
                
theme-install.php https://gitlab.com/mostafame/team_website | PHP | 329 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage Administration
                    
50		'back'   => __( 'Back' ),
                    
51		'error'  => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ),
                    
52		'themesFound'   => __( 'Number of Themes found: %d' ),
                    
78			/* translators: %s: Theme Directory URL */
                    
79			__( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),
                    
80			__( 'https://wordpress.org/themes/' )
                    
168			?>
                    
169			<p class="install-help"><?php _e( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?></p>
                    
170
                    
171			<p>
                    
172				<label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label>
                    
173				<input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" />
                    
                
SqliteMetadata.php https://gitlab.com/jalon/doadoronline | PHP | 392 lines
                    
1<?php
                    
2/**
                    
89            $columns[$row['name']] = array(
                    
90                // cid appears to be zero-based, ordinal position needs to be one-based
                    
91                'ordinal_position'          => $row['cid'] + 1,
                    
214                'event_object_table'         => $row['tbl_name'],
                    
215                'action_order'               => 0,
                    
216                'action_condition'           => null, // in $row['sql']
                    
332            if ('I' == $data['action_timing'][0]) {
                    
333                // normalize the white-space between the two words
                    
334                $data['action_timing'] = 'INSTEAD OF';
                    
                
tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
                    
13require_once 'libraries/common.inc.php';
                    
14require_once 'libraries/mysql_charsets.lib.php';
                    
15
                    
18 */
                    
19require_once 'libraries/structure.lib.php';
                    
20require_once 'libraries/index.lib.php';
                    
42if (isset($_REQUEST['change_column'])) {
                    
43    PMA_displayHtmlForColumnChange($db, $table, null, 'tbl_structure.php');
                    
44    exit;
                    
137require_once 'libraries/tbl_common.inc.php';
                    
138$url_query .= '&amp;goto=tbl_structure.php&amp;back=tbl_structure.php';
                    
139$url_params['goto'] = 'tbl_structure.php';
                    
266if ($GLOBALS['cfg']['ShowPropertyComments']) {
                    
267    include_once 'libraries/transformations.lib.php';
                    
268    $comments_map = PMA_getComments($db, $table);
                    
                
Chunk.php https://gitlab.com/matthww/Elywing | PHP | 463 lines
                    
1<?php
                    
2
                    
120	public function getBlockId($x, $y, $z){
                    
121		if(isset($this->blocks{($x << 11) | ($z << 7) | $y})) return ord($this->blocks{($x << 11) | ($z << 7) | $y});
                    
122		else return 0;
                    
130	public function getBlockData($x, $y, $z){
                    
131		$m = ord($this->data{($x << 10) | ($z << 6) | ($y >> 1)});
                    
132		if(($y & 1) === 0){
                    
140		$i = ($x << 10) | ($z << 6) | ($y >> 1);
                    
141		$old_m = ord($this->data{$i});
                    
142		if(($y & 1) === 0){
                    
152		if(($y & 1) === 0){
                    
153			return (ord($this->blocks{$i}) << 4) | (ord($this->data{$i >> 1}) & 0x0F);
                    
154		}else{
                    
154		}else{
                    
155			return (ord($this->blocks{$i}) << 4) | (ord($this->data{$i >> 1}) >> 4);
                    
156		}
                    
                
class-wc-frontend-scripts.php https://gitlab.com/haque.mdmanzurul/soundkreationsfinal | PHP | 301 lines
                    
1<?php
                    
2/**
                    
147		if ( is_lost_password_page() ) {
                    
148			self::enqueue_script( 'wc-lost-password', $frontend_script_path . 'lost-password' . $suffix . '.js', array( 'jquery', 'woocommerce' ) );
                    
149		}
                    
176	 * @access private
                    
177	 * @since  2.3.0 this needs less wp_script_is() calls due to https://core.trac.wordpress.org/ticket/28404 being added in WP 4.0.
                    
178	 * @param  string $handle
                    
221					'wc_ajax_url'               => WC_AJAX::get_endpoint( "%%endpoint%%" ),
                    
222					'update_order_review_nonce' => wp_create_nonce( 'update-order-review' ),
                    
223					'apply_coupon_nonce'        => wp_create_nonce( 'apply-coupon' ),
                    
226					'checkout_url'              => WC_AJAX::get_endpoint( "checkout" ),
                    
227					'is_checkout'               => is_page( wc_get_page_id( 'checkout' ) ) && empty( $wp->query_vars['order-pay'] ) && ! isset( $wp->query_vars['order-received'] ) ? 1 : 0,
                    
228					'debug_mode'                => defined('WP_DEBUG') && WP_DEBUG,
                    
                
mssql_driver.php https://gitlab.com/Illprotectyew/xlt | PHP | 517 lines
                    
64	/**
                    
65	 * ORDER BY random keyword
                    
66	 *
                    
68	 */
                    
69	protected $_random_keyword = array('NEWID()', 'RAND(%d)');
                    
70
                    
111		$this->conn_id = ($persistent)
                    
112				? mssql_pconnect($this->hostname, $this->username, $this->password)
                    
113				: mssql_connect($this->hostname, $this->username, $this->password);
                    
294
                    
295		return $sql.' ORDER BY '.$this->escape_identifiers('name');
                    
296	}
                    
448		{
                    
449			$orderby = $this->_compile_order_by();
                    
450
                    
                
jqplot.highlighter.min.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 57 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 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
11 * choose the license that best suits your project and use it accordingly. 
                    
12 *
                    
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 *
                    
34 * under both the MIT and GPL version 2.0 licenses. This means that you can 
                    
35 * choose the license that best suits your project and use it accordingly.
                    
36 *
                    
                
class-wp-filesystem-base.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 321 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Base WordPress Filesystem.
                    
4 *
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage Filesystem
                    
9/**
                    
10 * Base WordPress Filesystem class for which Filesystem implementations extend
                    
11 *
                    
49		$folder = $this->find_folder(ABSPATH);
                    
50		//Perhaps the FTP folder is rooted at the WordPress install, Check for wp-includes folder in root, Could have some false positives, but rare.
                    
51		if ( ! $folder && $this->is_dir('/wp-includes') )
                    
279 	 *
                    
280	 * @link http://docs.php.net/manual/en/function.chmod.php#49614
                    
281	 * @since 2.5
                    
                
class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Base WordPress Image Editor
                    
4 *
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage Image_Editor
                    
                
developer_generates_method.feature https://gitlab.com/Pasantias/pasantiasASLG | Gherkin Specification | 417 lines
                    
3  I want to automate creating methods
                    
4  In order to avoid repetitive tasks and interruptions in development flow
                    
5
                    
6  Scenario: Generating a method
                    
7    Given the spec file "spec/CodeGeneration/MethodExample1/MarkdownSpec.php" contains:
                    
8      """
                    
8      """
                    
9      <?php
                    
10
                    
12
                    
13      use PhpSpec\ObjectBehavior;
                    
14      use Prophecy\Argument;
                    
24      """
                    
25    And the class file "src/CodeGeneration/MethodExample1/Markdown.php" contains:
                    
26      """
                    
                
extension.cache.sqlite3.php https://gitlab.com/x33n/ampache | PHP | 265 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////////////////////
                    
8///                                                                            //
                    
9// extension.cache.sqlite3.php - part of getID3()                              //
                    
10// Please see readme.txt for more information                                  //
                    
24*
                    
25*       require_once 'getid3/getid3.php';
                    
26*       $getID3 = new getID3;
                    
32*
                    
33*       require_once 'getid3/getid3.php';
                    
34*       require_once 'getid3/extension.cache.sqlite3.php';
                    
47*   -------------------------------------------------------------------
                    
48*   mysql               host, database, username, password
                    
49*
                    
49*
                    
50*   sqlite3             table='getid3_cache', hide=false        (PHP5)
                    
51*
                    
                
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       
                    
                
1416863327-migrate-reports.php https://gitlab.com/e0/X2CRM | PHP | 315 lines
                    
1<?php
                    
2/***********************************************************************************
                    
30 * 
                    
31 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
                    
32 * these Appropriate Legal Notices must retain the display of the "Powered by
                    
33 * X2Engine" logo. If the display of the logo is not reasonably feasible for
                    
34 * technical reasons, the Appropriate Legal Notices must display the words
                    
35 * "Powered by X2Engine".
                    
76            case 'all':
                    
77                $dateRange['start'] = 0;        // every record
                    
78                $dateRange['end'] = time();
                    
309    Yii::app()->db->createCommand ("
                    
310    INSERT INTO `x2_reports_2` (`id`, `createdBy`, `lastUpdated`, `name`, `settings`, `version`, `type`) VALUES (1, 'admin',1414093271,'Services Report','{\"columns\":[\"name\",\"impact\",\"status\",\"assignedTo\",\"lastUpdated\",\"updatedBy\"],\"orderBy\":[],\"primaryModelType\":\"Services\",\"allFilters\":[],\"anyFilters\":[],\"export\":false,\"print\":false,\"email\":false}','4.3','rowsAndColumns'),(2, 'admin',1414093762,'Deal Report','{\"columns\":[\"name\",\"assignedTo\",\"company\",\"leadscore\",\"closedate\",\"dealvalue\",\"dealstatus\",\"rating\",\"lastUpdated\"],\"orderBy\":[],\"primaryModelType\":\"Contacts\",\"allFilters\":[],\"anyFilters\":[],\"export\":false,\"print\":false,\"email\":false}','5.0','rowsAndColumns');")->execute ();
                    
311
                    
                
Phrase.php https://gitlab.com/Ltaimao/wecenter | PHP | 270 lines
                    
62    /**
                    
63     * Sets the number of other words permitted between words in query phrase.
                    
64     * If zero, then this is an exact phrase search.  For larger values this works
                    
68     * moves of terms in the query phrase out of position.  For example, to switch
                    
69     * the order of two words requires two moves (the first move places the words
                    
70     * atop one another), so to permit re-orderings of phrases, the slop must be
                    
124// Allow to use wildcards within phrases
                    
125// They are either removed by text analyzer or used as a part of keyword for keyword fields
                    
126//
                    
159        // encoding is not used since we expect binary matching
                    
160        //require_once 'Zend/Search/Lucene/Index/Term.php';
                    
161        $term = new Zend_Search_Lucene_Index_Term($this->_phrase, $this->_field);
                    
172        // tokenize phrase using current analyzer and process it as a phrase query
                    
173        //require_once 'Zend/Search/Lucene/Analysis/Analyzer.php';
                    
174        $tokens = Zend_Search_Lucene_Analysis_Analyzer::getDefault()->tokenize($this->_phrase, $this->_phraseEncoding);
                    
                
FontDescriptor.php https://gitlab.com/Ltaimao/wecenter | PHP | 204 lines
                    
1<?php
                    
2/**
                    
24/** Internally used classes */
                    
25//require_once 'Zend/Pdf/Element/Array.php';
                    
26//require_once 'Zend/Pdf/Element/Dictionary.php';
                    
26//require_once 'Zend/Pdf/Element/Dictionary.php';
                    
27//require_once 'Zend/Pdf/Element/Name.php';
                    
28//require_once 'Zend/Pdf/Element/Numeric.php';
                    
30/** Zend_Pdf_Font */
                    
31//require_once 'Zend/Pdf/Font.php';
                    
32
                    
55    {
                    
56        //require_once 'Zend/Pdf/Exception.php';
                    
57        throw new Zend_Pdf_Exception('Zend_Pdf_Resource_Font_FontDescriptor is not intended to be instantiated');
                    
129         * The vertical stem width is not yet extracted from the OpenType font
                    
130         * file. For now, record zero which is interpreted as 'unknown'.
                    
131         * @todo Calculate value for StemV.
                    
                
class-wcs-query.php https://gitlab.com/remyvianne/krowkaramel | PHP | 389 lines
                    
1<?php
                    
2/**
                    
100				// translators: placeholder is a subscription ID.
                    
101				$title = ( $subscription ) ? sprintf( _x( 'Subscription #%s', 'hash before order number', 'woocommerce-subscriptions' ), $subscription->get_order_number() ) : '';
                    
102				break;
                    
135
                    
136		// Add our menu item after the Orders tab if it exists, otherwise just add it to the end
                    
137		if ( array_key_exists( 'orders', $menu_items ) ) {
                    
137		if ( array_key_exists( 'orders', $menu_items ) ) {
                    
138			$menu_items = wcs_array_insert_after( 'orders', $menu_items, 'subscriptions', $label );
                    
139		} else {
                    
159				$subscription = reset( $subscriptions );
                    
160				$url          = $subscription->get_view_order_url();
                    
161			}
                    
253
                    
254		wp_redirect( $url ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect
                    
255		exit();
                    
                
TargetCpaSimulationPoint.php https://gitlab.com/remyvianne/krowkaramel | PHP | 488 lines
                    
1<?php
                    
2# Generated by the protocol buffer compiler.  DO NOT EDIT!
                    
18    /**
                    
19     * Projected required daily budget that the advertiser must set in order to
                    
20     * receive the estimated traffic, in micros of advertiser currency.
                    
82     *     @type int|string $required_budget_amount_micros
                    
83     *           Projected required daily budget that the advertiser must set in order to
                    
84     *           receive the estimated traffic, in micros of advertiser currency.
                    
115    /**
                    
116     * Projected required daily budget that the advertiser must set in order to
                    
117     * receive the estimated traffic, in micros of advertiser currency.
                    
127    /**
                    
128     * Projected required daily budget that the advertiser must set in order to
                    
129     * receive the estimated traffic, in micros of advertiser currency.
                    
                
QueryBuilder.php https://gitlab.com/brucealdridge/yii2 | PHP | 260 lines
                    
1<?php
                    
2/**
                    
49     */
                    
50    public function buildOrderByAndLimit($sql, $orderBy, $limit, $offset)
                    
51    {
                    
51    {
                    
52        $orderBy = $this->buildOrderBy($orderBy);
                    
53        if ($orderBy !== '') {
                    
53        if ($orderBy !== '') {
                    
54            $sql .= $this->separator . $orderBy;
                    
55        }
                    
                
listCommand.php https://gitlab.com/florianocomercial/centreon | PHP | 232 lines
                    
1<?php
                    
2/*
                    
39
                    
40include_once("./class/centreonUtils.class.php");
                    
41
                    
41
                    
42include_once "./include/common/autoNumLimit.php";
                    
43
                    
78
                    
79include_once "./include/common/checkPagination.php";
                    
80
                    
108if (isset($search) && $search) {
                    
109	$rq = "SELECT `command_id`, `command_name`, `command_line`, `command_type` FROM `command` WHERE `command_name` LIKE '%".htmlentities($search, ENT_QUOTES, "UTF-8")."%' $type_str ORDER BY `command_name` LIMIT ".$num * $limit.", ".$limit;
                    
110} else if ($type) {
                    
110} else if ($type) {
                    
111	$rq = "SELECT `command_id`, `command_name`, `command_line`, `command_type` FROM `command` WHERE `command_type` = '".$type."' ORDER BY command_name LIMIT ".$num * $limit.", ".$limit;
                    
112} else {
                    
                
node--lobbies-con-mapa.tpl.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 305 lines
                    
12 *   given element.
                    
13 * - $user_picture: The node author's picture from user-picture.tpl.php.
                    
14 * - $date: Formatted creation date. Preprocess functions can reformat it by
                    
165			height: 350px;
                    
166			border: 5px solid #BDBDBD;
                    
167			margin-bottom: 50px;
                    
238</style>
                    
239<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
                    
240
                    
244  <?php if (!$page): ?>
                    
245    <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
                    
246  <?php endif; ?>
                    
255  <div class="content"<?php print $content_attributes; ?>>
                    
256    <?php
                    
257      // We hide the comments and links now so that we can render them later.
                    
                
test.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 305 lines
                    
34        #echo "<table border=1><tr><td>Order</td><td>Payment</td><td>Shipping</td><td>Refund</td><td>Return</td><td>Admin Status</td><td>Frontend Status</td><td>Actions</td></tr>";
                    
35        echo "<table border=1><tr><td>Order</td><td>Payment</td><td>Refund</td><td>Shipping</td><td>Actions</td></tr>";
                    
36        foreach (array('new', 'onhold', 'processing', 'complete', 'closed', 'cancelled', 'void') as $orderStatus) {
                    
36        foreach (array('new', 'onhold', 'processing', 'complete', 'closed', 'cancelled', 'void') as $orderStatus) {
                    
37            $this->getOrder()->setOrderStatus($orderStatus);
                    
38            foreach (array('not_authorized', 'pending', 'authorized', 'partial', 'paid') as $paymentStatus) {
                    
234
                    
235        if ($this->matchOrderStatus('order', 'onhold')) {
                    
236            $actions['unhold'] = 1;
                    
261
                    
262        if ($this->matchOrderStatus('payment', 'partial,paid') && !$this->matchOrderStatus('refund', 'refunded')) {
                    
263            $actions['creditmemo'] = 1;
                    
265
                    
266        if ($this->matchOrderStatus('order', 'void')) {
                    
267            unset($actions['ship'], $actions['invoice'], $actions['ship'], $actions['hold']);
                    
                
example57_new_mPDF_v5-3_active_forms.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 233 lines
                    
3
                    
4include("../mpdf.php");
                    
5
                    
44<b>Input Password</b>
                    
45<input type="password" size="40" name="password" value="mysecretpassword" title="This field is set to act as a password field." > 
                    
46<br /><br />
                    
131<input type="image" name="imageButton" value="imagesubmitted" src="goto.gif" title="Click to run javascript" onClick="
                    
132var npass = this.getField(\'password\').value;
                    
133app.alert(\'Value of password field is: \\\'\' + npass + \'\\\'\');
                    
155var npass = this.getField(\'password\').value;
                    
156app.alert(\'Value of password field is: \\\'\' + npass + \'\\\'\');
                    
157var nButton = app.alert({
                    
187/*
                    
188// Try playing around with these (these are also in config.php)
                    
189$mpdf->formUseZapD = false;
                    
                
ja.php https://gitlab.com/techniconline/kmc | PHP | 133 lines
                    
1<?php
                    
2
                    
8 * @author yama yamamoto@kyms.jp
                    
9 * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
                    
10 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
                    
17
                    
18    // Date time formats. See http://www.php.net/manual/en/function.strftime.php
                    
19    '_dateTimeFull' => "%Y/%m/%d %H:%M",
                    
94    "Show:" => "表示項目:",
                    
95    "Order by:" => "表示順:",
                    
96    "Thumbnails" => "サムネイル",
                    
                
CakeTestFixture.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 328 lines
                    
2/**
                    
3 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
12 * @package       Cake.TestSuite.Fixture
                    
170
                    
171			if (isset($import['records']) && $import['records'] !== false && isset($model) && isset($db)) {
                    
172				$this->records = array();
                    
283				$fields = array();
                    
284				foreach ($this->records as $record) {
                    
285					$fields = array_merge($fields, array_keys(array_intersect_key($record, $this->fields)));
                    
288				$default = array_fill_keys($fields, null);
                    
289				foreach ($this->records as $record) {
                    
290					$merge = array_values(array_merge($default, $record));
                    
                
file_helper.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
109 * Deletes all files contained in the supplied directory path.
                    
110 * Files must be writable or owned by the system in order to be deleted.
                    
111 * If the second parameter is set to TRUE, any directories contained
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
354		{
                    
355			if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/mimes.php'))
                    
356			{
                    
                
class-wp-customize-setting.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 439 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage Customize
                    
377 *
                    
378 * @package WordPress
                    
379 * @subpackage Customize
                    
394 *
                    
395 * @package WordPress
                    
396 * @subpackage Customize
                    
422/**
                    
423 * @package WordPress
                    
424 * @subpackage Customize
                    
                
AdminPreferencesController.php https://gitlab.com/staging06/myproject | PHP | 246 lines
                    
1<?php
                    
2/*
                    
9* It is also available through the world-wide-web at this URL:
                    
10* http://opensource.org/licenses/osl-3.0.php
                    
11* If you did not receive a copy of the license and are unable to
                    
22*  @copyright  2007-2015 PrestaShop SA
                    
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
24*  International Registered Trademark & Property of PrestaShop SA
                    
97                    'title' => $this->l('Enable SSL'),
                    
98                    'desc' => $this->l('If you own an SSL certificate for your shop\'s domain name, you can activate SSL encryption (https://) for customer account identification and order processing.'),
                    
99                    'hint' => $this->l('If you want to enable SSL on all the pages of your shop, activate the "Enable on all the pages" option below.'),
                    
159                            'name' => $this->l('Round on each item'),
                    
160                            'id' => Order::ROUND_ITEM
                    
161                            ),
                    
163                            'name' => $this->l('Round on each line'),
                    
164                            'id' => Order::ROUND_LINE
                    
165                            ),
                    
                
cat_msproduct_get.php https://gitlab.com/ptisky/API_prestashop | PHP | 311 lines
                    
1<?php

                    
2/**

                    
34			WHERE deleted!='1'

                    
35			ORDER BY name";

                    
36	$res = Db::getInstance()->executeS($sql);

                    
270	$sql.=" WHERE ps.id_product IN (".psql($idlist).")

                    
271			ORDER BY ps.id_product, ps.id_shop";

                    
272	$res = Db::getInstance()->executeS($sql);

                    
                
file_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
109 * Deletes all files contained in the supplied directory path.
                    
110 * Files must be writable or owned by the system in order to be deleted.
                    
111 * If the second parameter is set to TRUE, any directories contained
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
477
                    
478/* End of file file_helper.php */
                    
479/* Location: ./system/helpers/file_helper.php */
                    
                
CSV.php https://gitlab.com/hoanghung.dev/aloads | PHP | 352 lines
                    
27 */
                    
28class PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter
                    
29{
                    
89     *
                    
90     * @param    PHPExcel    $phpExcel    PHPExcel object
                    
91     */
                    
108        $saveDebugLog = PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->getWriteDebugLog();
                    
109        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog(false);
                    
110        $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType();
                    
110        $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType();
                    
111        PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE);
                    
112
                    
150        PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType);
                    
151        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog);
                    
152    }
                    
                
class-wc-report-taxes-by-date.php https://gitlab.com/campus-academy/krowkaramel | PHP | 264 lines
                    
141				'filter_range'        => true,
                    
142				'order_types'         => array( 'shop_order_refund' ),
                    
143				'parent_order_status' => array( 'refunded' ),
                    
212					<th class="total_row"><?php _e( 'Number of orders', 'woocommerce' ); ?></th>
                    
213					<th class="total_row"><?php _e( 'Total sales', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Order total' field within your orders.", 'woocommerce' ) ); ?></th>
                    
214					<th class="total_row"><?php _e( 'Total shipping', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Shipping total' field within your orders.", 'woocommerce' ) ); ?></th>
                    
215					<th class="total_row"><?php _e( 'Total tax', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'This is the total tax for the rate (shipping tax + product tax).', 'woocommerce' ) ); ?></th>
                    
216					<th class="total_row"><?php _e( 'Net profit', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'Total sales minus shipping and tax.', 'woocommerce' ) ); ?></th>
                    
217				</tr>
                    
229							</th>
                    
230							<td class="total_row"><?php echo $tax_row->total_orders; ?></td>
                    
231							<td class="total_row"><?php echo wc_price( $gross ); ?></td>
                    
246						<th scope="row"><?php _e( 'Totals', 'woocommerce' ); ?></th>
                    
247						<th class="total_row"><?php echo array_sum( wp_list_pluck( (array) $tax_rows, 'total_orders' ) ); ?></th>
                    
248						<th class="total_row"><?php echo wc_price( $gross ); ?></th>
                    
                
Feed.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 320 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
                    
26
                    
58        $this->_setExplicit($this->_dom, $this->_base);
                    
59        $this->_setKeywords($this->_dom, $this->_base);
                    
60        $this->_setNewFeedUrl($this->_dom, $this->_base);
                    
213    /**
                    
214     * Set feed keywords
                    
215     *
                    
221    {
                    
222        $keywords = $this->getDataContainer()->getItunesKeywords();
                    
223        if (!$keywords || empty($keywords)) {
                    
                
http.php https://gitlab.com/Gashler/dp | PHP | 519 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Will eventually replace and standardize the WordPress HTTP requests made.
                    
6 *
                    
6 *
                    
7 * @link http://trac.wordpress.org/ticket/4779 HTTP API Proposal
                    
8 *
                    
8 *
                    
9 * @package WordPress
                    
10 * @subpackage HTTP
                    
143 * 'httpversion' => '1.0'
                    
144 * 'user-agent'  => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' )
                    
145 * 'blocking'    => true
                    
319	if ( $url && !isset( $capabilities['ssl'] ) ) {
                    
320		$scheme = parse_url( $url, PHP_URL_SCHEME );
                    
321		if ( 'https' == $scheme || 'ssl' == $scheme ) {
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
18    'username'              => 'Username',
                    
19    'password'              => 'Password',
                    
20    'again_password'        => 'Password Again',
                    
28    'sign_up'               => 'Sign Up',
                    
29    'forgot_password'       => 'Forgot Password',
                    
30    'change_password'       => 'Change Password',
                    
32    'view_profile'          => 'View Profile',
                    
33    'please_enter_your_password_informations'       => 'Please Enter Your Password Informations',
                    
34    'last_password'         => 'Last Password',
                    
34    'last_password'         => 'Last Password',
                    
35    'new_password'          => 'New Password',
                    
36    'agree_to_terms'        => 'I Agree to Terms',
                    
122    'next'                  => 'Next',
                    
123    'order_by'              => 'Order By',
                    
124    'finishing_closer'      => 'Finishing Closer',
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl-2.0.html
                    
54			var tddiv, i,  sgmap,
                    
55			dummy = $("<table cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),
                    
56			trdiv = $("<tr></tr>");
                    
90			var tddiv,result,i,cur, sgmap,j,
                    
91			dummy = $("<table cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),
                    
92			trdiv = $("<tr></tr>");
                    
                
README.md https://gitlab.com/danieldanielecki/ditectrev_v2 | Markdown | 227 lines
                    
39
                    
40Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.
                    
41
                    
122```js
                    
123// Remove unused CSS from URLs (php, node, etc.)
                    
124// (Note that`nonull` must be true, or else Grunt
                    
161
                    
162* [Using grunt-uncss with Wordpress](https://github.com/sboodhoo/Grunt-UnCSS-WordPress)
                    
163* [JSON Sitemap generator for grunt-uncss](https://github.com/phoenixMag00/JSON-Sitemap-Generator-for-Grunt-UnCSS-with-WordPress)
                    
199
                    
200## WordPress
                    
201
                    
204[@lgladdy](https://github.com/lgladdy) wrote a guide on how to do this
                    
205[on his blog](https://gladdy.uk/blog/2014/04/13/using-uncss-and-grunt-uncss-with-wordpress/)
                    
206
                    
                
text_effects.hs https://gitlab.com/stallmanifold/imagemagick | Haskell | 313 lines
                    
121  trimImage w 0
                    
122  -- Add a transparent border
                    
123  pw `setColor` "lightblue"
                    
123  pw `setColor` "lightblue"
                    
124  borderImage w pw 5 5
                    
125  -- and write it
                    
130--           -annotate +25+65 'Anthony' -distort Arc 120 \
                    
131--           -trim +repage -bordercolor lightblue -border 10  font_arc.jpg
                    
132textEffect3 :: (MonadResource m) => PMagickWand -> PDrawingWand -> PPixelWand -> m ()
                    
209  trimImage w 0
                    
210  -- Add the border
                    
211  pw `setColor` "none"
                    
211  pw `setColor` "none"
                    
212  borderImage w pw 10 10
                    
213  -- MagickSetImageMatte(magick_wand,MagickTrue);
                    
                
ApiGenOptionsPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 336 lines
                    
41 */
                    
42package org.netbeans.modules.php.apigen.ui.options;
                    
43
                    
65import javax.swing.event.DocumentListener;
                    
66import org.netbeans.modules.php.api.util.FileUtils;
                    
67import org.netbeans.modules.php.api.util.UiUtils;
                    
67import org.netbeans.modules.php.api.util.UiUtils;
                    
68import org.netbeans.modules.php.apigen.commands.ApiGenScript;
                    
69import org.netbeans.spi.options.OptionsPanelController;
                    
78@NbBundle.Messages("ApiGenOptionsPanel.keywords.documentation=documentation")
                    
79@OptionsPanelController.Keywords(keywords={"php", "apigen", "phpdoc", "phpdocumentor", "#ApiGenOptionsPanel.keywords.documentation"},
                    
80        location=UiUtils.OPTIONS_PATH, tabTitle= "#LBL_PHPGenOptionsName")
                    
                
DeleteComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 355 lines
                    
1<?php
                    
2
                    
5 */
                    
6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
                    
7
                    
10 *
                    
11 * @package    WordPress
                    
12 * @subpackage UnitTests
                    
71		$_POST['_page']       = 1;
                    
72		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
73
                    
128		$_POST['_page']       = 1;
                    
129		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
130
                    
158		$_POST['_page']       = 1;
                    
159		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
160
                    
                
media-template.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 467 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * WordPress media templates.
                    
4 *
                    
50		<?php if ( ! _device_can_upload() ) : ?>
                    
51			<h3 class="upload-instructions"><?php _e('The web browser on your device cannot be used to upload files. You may be able to use the <a href="http://wordpress.org/extend/mobile/">native app for your device</a> instead.'); ?></h3>
                    
52		<?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>
                    
328						if ( size ) { #>
                    
329							<option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, 'full' ); ?>>
                    
330								<?php echo esc_html( $name ); ?> &ndash; {{ size.width }} &times; {{ size.height }}
                    
363				<?php for ( $i = 1; $i <= 9; $i++ ) : ?>
                    
364					<option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, 3 ); ?>>
                    
365						<?php echo esc_html( $i ); ?>
                    
371		<label class="setting">
                    
372			<span><?php _e( 'Random Order' ); ?></span>
                    
373			<input type="checkbox" data-setting="_orderbyRandom" />
                    
                
html.php https://gitlab.com/Bartwillemsen/aurora-framework | PHP | 376 lines
                    
1<?php
                    
2namespace Aurora;
                    
37
                    
38		return '<script src="'.$url.'"'.static::attributes($attributes).'></script>'.PHP_EOL;
                    
39	}
                    
69
                    
70		return '<link href="'.$url.'"'.static::attributes($attributes).'>'.PHP_EOL;
                    
71	}
                    
239	/**
                    
240	 * Generate an ordered list of items.
                    
241	 *
                    
251	/**
                    
252	 * Generate an un-ordered list of items.
                    
253	 *
                    
263	/**
                    
264	 * Generate an ordered or un-ordered list.
                    
265	 *
                    
                
qrsplit.php https://gitlab.com/Ltaimao/wecenter | PHP | 311 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * PHP QR Code encoder
                    
4 *
                    
9 *
                    
10 * PHP QR Code is distributed under LGPL 3
                    
11 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
                    
52            
                    
53            return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9')));
                    
54        }
                    
82                    $word = (ord($c) << 8) | ord($d);
                    
83                    if(($word >= 0x8140 && $word <= 0x9ffc) || ($word >= 0xe040 && $word <= 0xebbf)) {
                    
84                        return QR_MODE_KANJI;
                    
286                } else {
                    
287                    if (ord($this->dataStr[$p]) >= ord('a') && ord($this->dataStr[$p]) <= ord('z')) {
                    
288                        $this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
                    
                
web-sites-digital-marketing-application-solution-overview.md https://gitlab.com/yeah568/azure-content | Markdown | 140 lines
                    
34
                    
35The Azure Marketplace provides templates from the popular website content management systems (CMS), such as Orchard, Umbraco, Drupal, and [WordPress]. You can create a web app using your favorite CMS flavor. You can choose from various database backends to meet your needs, including [Azure SQL Database] and [MySQL].
                    
36
                    
36
                    
37Your existing web assets can run on Web Apps, whether they are .NET, PHP, Java, Node.js, or Python. You can move them to Web Apps using your familiar [FTP] tools. If you frequently create digital marketing campaigns, it is possible that you have existing web assets in a source control management system. You can deploy to Web Apps directly from popular source control options, such as [Visual Studio], [Visual Studio Team Services], and [Git] - local, GitHub, BitBucket, DropBox, Mercurial, etc..
                    
38
                    
98
                    
99[WordPress]:web-sites-php-web-site-gallery.md
                    
100  
                    
100  
                    
101[MySQL]:web-sites-php-mysql-deploy-use-git.md
                    
102[Azure SQL Database]:web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database.md
                    
                
MY_url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 542 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
246 * human-friendly URL string with either a dash
                    
247 * or an underscore as the word separator.
                    
248 *
                    
540
                    
541/* End of file MY_url_helper.php */
                    
542/* Location: ./application/helpers/MY_url_helper.php */
                    
                
ExceptionHandlerAsm.asm https://gitlab.com/envieidoc/Clover | Assembly | 445 lines
                    
5; which accompanies this distribution.  The full text of the license may be found at
                    
6; http://opensource.org/licenses/bsd-license.php.
                    
7;
                    
32
                    
33EXTRN mErrorCodeFlag:DWORD            ; Error code flags for exceptions
                    
34EXTRN mDoFarReturnFlag:DWORD          ; Do far return flag
                    
203    push    ecx                          ; ESP
                    
204    push    dword ptr [ebp]              ; EBP
                    
205    push    esi
                    
210    push    eax
                    
211    movzx   eax, word ptr [ebp + 4 * 4]
                    
212    push    eax
                    
288;; UINT32  ExceptionData;
                    
289    push    dword ptr [ebp + 2 * 4]
                    
290
                    
                
class-gsc-table.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 385 lines
                    
109			'first_detected' => __( 'First detected', 'wordpress-seo' ),
                    
110			'response_code'  => __( 'Response code', 'wordpress-seo' ),
                    
111		);
                    
314		// If no sort, default to title.
                    
315		$orderby = ( $orderby = filter_input( INPUT_GET, 'orderby' ) ) ? $orderby : 'url';
                    
316
                    
317		// If no order, default to asc.
                    
318		$order = ( $order = filter_input( INPUT_GET, 'order' ) ) ? $order : 'asc';
                    
319
                    
321		if ( array_key_exists( $orderby . '_raw', $a ) && array_key_exists( $orderby . '_raw', $b ) ) {
                    
322			$orderby = $orderby . '_raw';
                    
323		}
                    
325		// Determine sort order.
                    
326		$result = strcmp( $a[ $orderby ], $b[ $orderby ] );
                    
327
                    
                
biblio_list.inc.php https://gitlab.com/mucill/majalengka | PHP | 294 lines
                    
1<?php
                    
2/**
                    
3 * biblio_list class
                    
4 * Class for generating list of bibliographic records
                    
5 *
                    
65    $this->orig_query = $str_criteria;
                    
66    $_queries = simbio_tokenizeCQL($str_criteria, $this->searchable_fields, $this->stop_words, $this->queries_word_num_allowed);
                    
67    // echo '<pre>'; var_dump($_queries); echo '</pre>';
                    
98			$_searched_word = str_replace(array('+', '-', '*'), '', $_q);
                    
99			$this->words[$_searched_word] = $_searched_word;
                    
100      // searched fields flag set
                    
218    // below for debugging purpose only
                    
219    // echo "<div style=\"border: 1px solid #f00; padding: 5px; color: #f00; margin: 5px;\">$_sql_criteria</div>";
                    
220
                    
255    // checking custom frontpage fields file
                    
256    $custom_frontpage_record_file = SB.$sysconf['template']['dir'].'/'.$sysconf['template']['theme'].'/custom_frontpage_record.inc.php';
                    
257    if (file_exists($custom_frontpage_record_file)) {
                    
                
author.php https://gitlab.com/mucill/majalengka | PHP | 264 lines
                    
74            // filter update record ID
                    
75            $updateRecordID = (integer)$_POST['updateRecordID'];
                    
76            // update the data
                    
136      <a href="<?php echo MWB; ?>master_file/author.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i>&nbsp;<?php echo __('Author List'); ?></a>
                    
137      <a href="<?php echo MWB; ?>master_file/author.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i>&nbsp;<?php echo __('Add New Author'); ?></a>
                    
138	  </div>
                    
138	  </div>
                    
139    <form name="search" action="<?php echo MWB; ?>master_file/author.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> :
                    
140    <input type="text" name="keywords" size="30" />
                    
235    if (isset($_GET['keywords']) AND $_GET['keywords']) {
                    
236       $keywords = $dbs->escape_string($_GET['keywords']);
                    
237       $sql_criteria .= " AND a.author_name LIKE '%$keywords%'";
                    
256    $datagrid_result = $datagrid->createDataGrid($dbs, $table_spec, 20, ($can_read AND $can_write));
                    
257    if (isset($_GET['keywords']) AND $_GET['keywords']) {
                    
258        $msg = str_replace('{result->num_rows}', $datagrid->num_rows, __('Found <strong>{result->num_rows}</strong> from your keywords')); //mfc
                    
                
ResetPasswordPostTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 307 lines
                    
10
                    
11class ResetPasswordPostTest extends \PHPUnit_Framework_TestCase
                    
12{
                    
167                [
                    
168                    ['password', $password],
                    
169                    ['password_confirmation', $passwordConfirmation],
                    
233                    ['password', $password],
                    
234                    ['password_confirmation', $passwordConfirmation],
                    
235                ]
                    
239            ->method('addError')
                    
240            ->with(__('New Password and Confirm New Password values didn\'t match.'))
                    
241            ->willReturnSelf();
                    
280                    ['password', $password],
                    
281                    ['password_confirmation', $passwordConfirmation],
                    
282                ]
                    
                
view.php https://gitlab.com/agustus/wisata-web | PHP | 269 lines
                    
5					<h3 class="page-title">
                    
6						<?php echo $title;?> <small><?php echo $description;?></small>
                    
7					</h3>
                    
106															<div class="col-md-1">
                    
107																<?php echo ucwords($array_permisi);?>
                    
108															</div>
                    
175					                                    		<td class="text-left">
                    
176					                                    			<img src="<?php echo base_url("assets/upload/".$dataGaleri['url_foto']); ?>" id="url_foto<?php echo $image_row; ?>" height="100" width="100" alt="1" title="" />
                    
177										                        </td>
                    
179										                        <td class="text-right">
                    
180										                        	<input type="text" disabled name="foto[<?php echo $image_row; ?>][nama_foto]" value="<?php echo $dataGaleri['nama_foto']; ?>" class="form-control" />
                    
181										                        </td>
                    
183										                      	<td class="text-right">
                    
184										                      		<input type="text" disabled name="foto[<?php echo $image_row; ?>][deskripsi_foto]" value="<?php echo $dataGaleri['deskripsi_foto']; ?>" class="form-control" />
                    
185										                      	</td>
                    
                
Database.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 350 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
178            )
                    
179            ->order('file_id')
                    
180            ->limit($count, $offset);
                    
344            ->where($adapter->prepareSqlCondition('directory', array('seq' => $directory)))
                    
345            ->order('file_id');
                    
346
                    
                
6fc78b159f4a9e83ef134f25b7f439fa03b2da3b56daec84739a3e2daad0.php https://gitlab.com/kamags/manutd | PHP | 257 lines
                    
1<?php
                    
2
                    
26        // line 7
                    
27        if ( !twig_test_empty((isset($context["metaKeywords"]) ? $context["metaKeywords"] : null))) {
                    
28            // line 8
                    
29            echo "\t<meta name=\"keywords\" content=\"";
                    
30            echo (isset($context["metaKeywords"]) ? $context["metaKeywords"] : null);
                    
31            echo "\" />
                    
                
emogrifier.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 228 lines
                    
1<?php defined('_JEXEC') or die('Restricted access'); ?>
                    
2<?php
                    
14                Fixed support for HTML entities.
                    
15    2009-08-17  Fixed CSS selector processing so that selectors are processed by precedence/specificity, and not just in order.
                    
16    2009-10-29  Fixed so that selectors appearing later in the CSS will have precedence over identical selectors appearing earlier.
                    
20    2010-06-16  Added static caching for less processing overhead in situations where multiple emogrification takes place
                    
21    2010-07-26  Fixed bug where '0' values were getting discarded because of php's empty() function... Thanks Scott!
                    
22    2010-09-03  Added checks to invisible node removal to ensure that we don't try to remove non-existent child nodes of parents that have already been deleted
                    
102                                             'attributes' => $matches[2][$key],
                    
103                                             'index' => $key, // keep track of where it appears in the file, since order is important
                    
104                    );
                    
                
CHANGES.md https://gitlab.com/reasonat/test8 | Markdown | 322 lines
                    
10
                    
11* Disallowed failures on PHP 7 on Travis (tests were passing since a long time)
                    
12
                    
17* Improved the window resize test to consider headless browsers
                    
18* Fixed the compatibility of the testsuite with PHPUnit 5
                    
19* Added a test ensuring that `wait()` always return a boolean even when the JS expression does not cast the value
                    
45
                    
46* Fixed the URL assertions when comparing paths ending in ``.php``
                    
47* Silenced deprecation warnings (following the Symfony convention) to make
                    
47* Silenced deprecation warnings (following the Symfony convention) to make
                    
48  them less invasive. Use the `symfony/phpunit-bridge` to get them reported
                    
49  when using Mink in your PHPUnit tests.
                    
53
                    
54* Made the testsuite compatible with PHPUnit strict timing mode (only the library testsuite, not the driver one)
                    
55* Added testing against PHP 7
                    
                
 

Source

Language