PageRenderTime 3400ms queryTime 531ms sortTime 494ms getByIdsTime 61ms findMatchingLines 158ms

100+ results results for 'php ord repo:neerav/wp-post-to-pdf' (3400 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();
                    
                
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) {
                    
                
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
                    
                
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),
                    
                
Country.php https://gitlab.com/goolic/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) {
                    
                
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        },
                    
                
linear_solver.h https://gitlab.com/khumba/cglab | 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
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/Loupak/Laravel-GRUD | 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
                    
                
InstallSchema.php https://gitlab.com/AlexandrSy/magento.xxx | 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(
                    
                
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
                    
                
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);
                    
                
Curl.php https://gitlab.com/blingbang2016/shop | 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     */
                    
                
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*
                    
                
class-wp-customize-setting.php https://gitlab.com/Gashler/dp | 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
                    
                
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			{
                    
                
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                            ),
                    
                
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>");
                    
                
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" />
                    
                
Feed.php https://gitlab.com/gregtyka/SiberianCMS | 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)) {
                    
                
CakeTestFixture.php https://gitlab.com/shubam39/CakeTooDoo | 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));
                    
                
QueryBuilder.php https://gitlab.com/aintenebris/memoria | 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        }
                    
                
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	 *
                    
                
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>
                    
                
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                    );
                    
                
LockerTest.php https://gitlab.com/tigefa/composer | PHP | 284 lines
                    
1<?php
                    
2
                    
6 * (c) Nils Adermann <naderman@naderman.de>
                    
7 *     Jordi Boggiano <j.boggiano@seld.be>
                    
8 *
                    
17
                    
18class LockerTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
                
MassCancelTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 292 lines
                    
181            ->getMock();
                    
182        $orders = [$order1, $order2];
                    
183        $countOrders = count($orders);
                    
226    {
                    
227        $order1 = $this->getMockBuilder('Magento\Sales\Model\Order')
                    
228            ->disableOriginalConstructor()
                    
229            ->getMock();
                    
230        $order2 = $this->getMockBuilder('Magento\Sales\Model\Order')
                    
231            ->disableOriginalConstructor()
                    
233
                    
234        $orders = [$order1, $order2];
                    
235        $countOrders = count($orders);
                    
238            ->method('getItems')
                    
239            ->willReturn([$order1, $order2]);
                    
240
                    
                
FilesystemTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 240 lines
                    
1<?php
                    
2
                    
6 * (c) Nils Adermann <naderman@naderman.de>
                    
7 *     Jordi Boggiano <j.boggiano@seld.be>
                    
8 *
                    
120     */
                    
121    public function testRemoveDirectoryPhp()
                    
122    {
                    
127        $fs = new Filesystem;
                    
128        $this->assertTrue($fs->removeDirectoryPhp($tmp . "/composer_testdir"));
                    
129        $this->assertFalse(file_exists($tmp . "/composer_testdir/level1/level2/hello.txt"));
                    
                
MultishippingTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 271 lines
                    
30    /**
                    
31     * @var \PHPUnit_Framework_MockObject_MockObject
                    
32     */
                    
63        $this->customerSessionMock = $this->getMock('\Magento\Customer\Model\Session', [], [], '', false);
                    
64        $orderFactoryMock = $this->getMock('\Magento\Sales\Model\OrderFactory', [], [], '', false);
                    
65        $eventManagerMock = $this->getMock('\Magento\Framework\Event\ManagerInterface', [], [], '', false);
                    
69        $toOrderMock = $this->getMock('\Magento\Quote\Model\Quote\Address\ToOrder', [], [], '', false);
                    
70        $toOrderAddressMock = $this->getMock('\Magento\Quote\Model\Quote\Address\ToOrderAddress', [], [], '', false);
                    
71        $toOrderPaymentMock = $this->getMock('\Magento\Quote\Model\Quote\Payment\ToOrderPayment', [], [], '', false);
                    
71        $toOrderPaymentMock = $this->getMock('\Magento\Quote\Model\Quote\Payment\ToOrderPayment', [], [], '', false);
                    
72        $toOrderItemMock = $this->getMock('\Magento\Quote\Model\Quote\Item\ToOrderItem', [], [], '', false);
                    
73        $storeManagerMock = $this->getMock('\Magento\Store\Model\StoreManagerInterface', [], [], '', false);
                    
75        $this->helperMock = $this->getMock('\Magento\Multishipping\Helper\Data', [], [], '', false);
                    
76        $orderSenderMock = $this->getMock('\Magento\Sales\Model\Order\Email\Sender\OrderSender', [], [], '', false);
                    
77        $priceMock = $this->getMock('\Magento\Framework\Pricing\PriceCurrencyInterface', [], [], '', false);
                    
                
SetTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 295 lines
                    
1<?php
                    
2/** 
                    
11 
                    
12class SetTest extends \PHPUnit_Framework_TestCase
                    
13{
                    
14    /**
                    
15     * @var \PHPUnit_Framework_MockObject_MockObject|Set
                    
16     */
                    
19    /**
                    
20     * @var \PHPUnit_Framework_MockObject_MockObject
                    
21     */
                    
24    /**
                    
25     * @var \PHPUnit_Framework_MockObject_MockObject
                    
26     */
                    
29    /**
                    
30     * @var \PHPUnit_Framework_MockObject_MockObject
                    
31     */
                    
                
composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
                    
123$sortBy = $logEntity->hasField($sortBy) ? $sortBy : "ID";
                    
124$sortOrder = mb_strtoupper($sorting->getOrder());
                    
125$sortOrder = $sortOrder !== "DESC" ? "ASC" : "DESC";
                    
137	"filter" => $filter,
                    
138	"order" => array($sortBy => $sortOrder),
                    
139	"count_total" => true,
                    
208
                    
209	$pageCell = '<div style="max-width:250px; word-wrap: break-word"><a href="//%s" target="_blank">%s</a><br>%s</div>';
                    
210	$pageLink = htmlspecialcharsbx($record["HOST"].$record["URI"]);
                    
221		$messageCell =
                    
222			'<a href="composite_diff.php?lang='.LANGUAGE_ID.'&log_id='.$record["ID"].'" target="_blank">'.
                    
223			Loc::getMessage("MAIN_COMPOSITE_LOG_VIEW_DIFF").'</a>';
                    
228	{
                    
229		$messageCell = '<div style="max-width:250px; word-wrap: break-word;">%s</div>';
                    
230		$message = str_replace("\n", "<br>", htmlspecialcharsbx($record["MESSAGE_SHORT"]));
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
                    
1<?php
                    
2$module_id = 'landing';
                    
23// lang
                    
24IncludeModuleLangFile($docRoot . '/bitrix/modules/main/options.php');
                    
25Loc::loadMessages(__FILE__);
                    
99		),
                    
100		'order' => array(
                    
101			'SORT' => 'ASC'
                    
333		ob_start();
                    
334		require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php');
                    
335		ob_end_clean();
                    
464	$tabControl->BeginNextTab();
                    
465	require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php');
                    
466
                    
                
2012-01-202.html https://gitlab.com/bernagg/TI | HTML | 359 lines
                    
16	<META NAME="description" CONTENT="YouTubeMP3 is advanced youtube to mp3 converter which allows you to convert and download YouTube videos. For example you can use YouTubeMP3 to convert your favorite YouTube videos to mp3 files!">
                    
17	<META NAME="keywords"    CONTENT="youtube, mp3, converter, free, download, online">
                    
18	
                    
44			<tr><td width="100%"></td><td>
                    
45			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FYoutubeMP3tv%2F220993711269458&amp;width=270&amp;colorscheme=light&amp;show_faces=false&amp;border_color&amp;stream=false&amp;header=false&amp;height=62&amp;layout=button_count" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:21px;" allowTransparency="true"></iframe>
                    
46			<!-- <iframe src="http://www.facebook.com/plugins/like.php?app_id=147297765356025&amp;href=http%3A%2F%2Fyoutubemp3.tv%2F&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe> -->
                    
192				<div id="progress_div" class="upload_block" style="display: none;">
                    
193					<iframe src="blank.html" id="progress_frame" name="transfer2" SCROLLING=NO frameborder=0 style="width: 395px; height: 200px;"></iframe>
                    
194				</div>
                    
266		</div>
                    
267<iframe width="560" height="315" src="http://www.youtube.com/embed/LCRTr-LTnB4" frameborder="0" allowfullscreen></iframe>	</div>
                    
268
                    
                
jqplot.pointLabels.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 362 lines
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
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 *
                    
115        // Number of pixels that the label must be away from an axis
                    
116        // boundary in order to be drawn.  Negative values will allow overlap
                    
117        // with the grid boundaries.
                    
                
AuthenticationHttpTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 458 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
10
                    
11require_once 'libraries/config.default.php';
                    
12require_once 'test/PMATestCase.php';
                    
16 *
                    
17 * @package PhpMyAdmin-test
                    
18 */
                    
141        $_REQUEST['old_usr'] = '1';
                    
142        $GLOBALS['cfg']['Server']['LogoutURL'] = 'http://phpmyadmin.net/logout';
                    
143
                    
145            0, 0, 0,
                    
146            array('Location: http://phpmyadmin.net/logout' . ((SID) ? '?' . SID : ''))
                    
147        );
                    
                
Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
                    
37	private static $releaseDate = "2014-09-06";
                    
38	private static $minimumPHPVersion = "5.3.0";
                    
39	private static $minimumMySQLVersion = "4.1.3";
                    
46	// left as public, because they're often modified / accessed, and it's just too fussy otherwise. The
                    
47	// PHPDoc helps my IDE figure out what the hell each of them are
                    
48
                    
157	private static function loadSettingsFile() {
                    
158		$settingsFilePath = realpath(__DIR__ . "/../../settings.php");
                    
159		if (file_exists($settingsFilePath)) {
                    
165			self::$dbUsername = (isset($dbUsername)) ? $dbUsername : null;
                    
166			self::$dbPassword = (isset($dbPassword)) ? $dbPassword : null;
                    
167			self::$dbTablePrefix = (isset($dbTablePrefix)) ? $dbTablePrefix : null;
                    
259	 */
                    
260    public static function getDbPassword() {
                    
261		return self::$dbPassword;
                    
                
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;
                    
                
classement_index.php https://gitlab.com/Potatoes_IIE/projet_web | PHP | 281 lines
                    
1<?php
                    
2
                    
159    print '<tbody>';
                    
160    $sql = "SELECT * FROM rencontre_attente ORDER BY id ASC";
                    
161    $res = $db->query($sql);
                    
162    while(($row = pg_fetch_row($res))){
                    
163        echo "<tr><td>$row[0]</td><td>$row[1]</td><td>$row[2]</td><td>$row[3]</td><td>$row[4]</td><td>$row[5]</td><td>$row[6]</td><td>$row[7]</td><td><a href=\"php/add_match.php?id=$row[0]\"><button type=\"button\" class=\"btn btn-success btn-xs btn-round\"><span class=\"glyphicon glyphicon-ok\"></span></button></a> <a href=\"php/del_match_attente.php?id=$row[0]\"><button type=\"button\" class=\"btn btn-danger btn-xs btn-round\"><span class=\"glyphicon glyphicon-remove\"></span></button></a></td></tr>";
                    
164    }
                    
210    $db = new database();
                    
211    $sql = "SELECT date,SUM(nb_elo) FROM evo_elo WHERE pseudo = '$pseudo' GROUP BY date ORDER BY date";
                    
212    $res = $db->query($sql);
                    
225    $db = new database();
                    
226    $sql = "SELECT SUM(nb_elo) FROM evo_elo WHERE pseudo = '$pseudo' GROUP BY date ORDER BY date";
                    
227    $res = $db->query($sql);
                    
243    $db = new database();
                    
244    $sql = "SELECT date,SUM(nb_elo) FROM evo_elo WHERE pseudo = '$pseudo' GROUP BY date ORDER BY date";
                    
245    $sql2 = "SELECT date_ins FROM joueur WHERE pseudo = '$pseudo'";
                    
                
Pagination.class.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 447 lines
                    
4 * Pagination
                    
5 * @link https://github.com/onassar/PHP-Pagination/blob/master/Pagination.class.php
                    
6 * Supplies an API for setting pagination details, and renders the resulting
                    
18 *     // source inclusion
                    
19 *     require_once APP . '/vendors/PHP-Pagination/Pagination.class.php';
                    
20 *
                    
23 *
                    
24 *     // instantiate with page and records as constructor parameters
                    
25 *     $pagination = (new Pagination($page, 200));
                    
30 *     // source inclusion
                    
31 *     require_once APP . '/vendors/PHP-Pagination/Pagination.class.php';
                    
32 *
                    
35 *
                    
36 *     // instantiate; set current page; set number of records
                    
37 *     $pagination = (new Pagination());
                    
                
Pgsql.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
130     * COLUMN_NAME      => string; column name
                    
131     * COLUMN_POSITION  => number; ordinal position of column in table
                    
132     * DATA_TYPE        => string; SQL datatype name of column
                    
174        }
                    
175        $sql .= ' ORDER BY a.attnum';
                    
176
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
config.values.php https://gitlab.com/luyxtran264/myproject | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
28        'AllowDeny'    => array(
                    
29            'order' => array('', 'deny,allow', 'allow,deny', 'explicit')
                    
30        ),
                    
60$cfg_db['MaxRows'] = array(25, 50, 100, 250, 500);
                    
61$cfg_db['Order'] = array('ASC', 'DESC', 'SMART');
                    
62$cfg_db['RowActionLinks'] = array(
                    
67);
                    
68$cfg_db['TablePrimaryKeyOrder'] = array(
                    
69    'NONE'  => __('None'),
                    
                
Pgsql.php https://gitlab.com/luisrepo/ClienteWS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
130     * COLUMN_NAME      => string; column name
                    
131     * COLUMN_POSITION  => number; ordinal position of column in table
                    
132     * DATA_TYPE        => string; SQL datatype name of column
                    
174        }
                    
175        $sql .= ' ORDER BY a.attnum';
                    
176
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
Headers.php https://gitlab.com/yousafsyed/easternglamor | PHP | 472 lines
                    
1<?php
                    
2/**
                    
43     *
                    
44     * Parses a string for headers, and aggregates them, in order, in the
                    
45     * current instance, primarily as strings until they are needed (they
                    
                
XsdTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 302 lines
                    
84                'Element \'total\': Missing child element(s). Expected is one of ( title, title_source_field, ' .
                    
85                'font_size, display_zero, sort_order, model, amount_prefix ).'
                    
86            ],
                    
91                'Element \'total\': Missing child element(s). Expected is one of ( source_field, ' .
                    
92                'title_source_field, font_size, display_zero, sort_order, model, amount_prefix ).'
                    
93            ],
                    
270                '<config><totals><total name="i1"><title>Title</title><source_field>foo</source_field>' .
                    
271                '<sort_order>100</sort_order></total></totals></config>',
                    
272                [],
                    
275                '<config><totals><total name="i1"><title>Title</title><source_field>foo</source_field>' .
                    
276                '<sort_order>0</sort_order></total></totals></config>',
                    
277                [],
                    
280                '<config><totals><total name="i1"><title>Title</title><source_field>foo</source_field>' .
                    
281                '<sort_order>A</sort_order></total></totals></config>',
                    
282                [
                    
                
update.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 476 lines
                    
1<?php
                    
2/**
                    
5 *  @license GNU General Public License version 3, or later
                    
6 *  @version $Id: update.php 82 2010-10-23 19:13:50Z nikosdion $
                    
7 */
                    
32		jimport('joomla.filesystem.file');
                    
33		$this->isPro = JFile::exists(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables'.DS.'redirs.php');
                    
34
                    
162				$username = $params->get('update_username', '');
                    
163				$password = $params->get('update_password', '');
                    
164				if( !empty($username) && !empty($password) )
                    
165				{
                    
166					$suffix = '?username='.urlencode($username).'&password='.urlencode($password).'&format=raw';
                    
167				}
                    
409			} else {
                    
410				// PHP 4 way (actually, it's just a fallback as we can't run Admin Tools in PHP4)
                    
411				ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)');
                    
                
Tabs.php https://gitlab.com/Sang240892/ecommerce | PHP | 268 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * ```php
                    
19 * echo Tabs::widget([
                    
224     * Normalizes dropdown item options by removing tab specific keys `content` and `contentOptions`, and also
                    
225     * configure `panes` accordingly.
                    
226     * @param string $itemNumber number of the item
                    
                
join.html https://gitlab.com/victor.flores/prueba | HTML | 385 lines
                    
31	editor = new $.fn.dataTable.Editor( {
                    
32		ajax: "../php/join.php",
                    
33		table: "#example",
                    
53		ajax: {
                    
54			url: "../php/join.php",
                    
55			type: 'POST'
                    
93				libraries <code>leftJoin()</code> method make working with joins on the server-side just as easy as on
                    
94				the client-side - see the <a href="//editor.datatables.net/manual/php/joins">PHP join documentation</a>
                    
95				for further information on the library options.</p>
                    
162	editor = new $.fn.dataTable.Editor( {
                    
163		ajax: &quot;../php/join.php&quot;,
                    
164		table: &quot;#example&quot;,
                    
184		ajax: {
                    
185			url: &quot;../php/join.php&quot;,
                    
186			type: 'POST'
                    
                
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	}
                    
                
twitter-timeline.php https://gitlab.com/memuller.web/wp_site | 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			/>
                    
                
Builder.php https://gitlab.com/habracoder/advertising | PHP | 446 lines
                    
1<?php 
                    
2
                    
23	 *    'having'     => "name = 'Kamil'",
                    
24	 *    'order'      => array('name', 'id'),
                    
25	 *    'limit'      => 20,
                    
48
                    
49		protected $_order;
                    
50
                    
334		/**
                    
335		 * Sets a ORDER BY condition clause
                    
336		 *
                    
337		 *<code>
                    
338		 *	$builder->orderBy('Robots.name');
                    
339		 *	$builder->orderBy(array('1', 'Robots.name'));
                    
344		 */
                    
345		public function orderBy($orderBy){ }
                    
346
                    
                
DateTimeType.php https://gitlab.com/matijabelec/bigpandadev | PHP | 290 lines
                    
1<?php
                    
2
                    
53     *
                    
54     * It was supposedly fixed, but is not available in all PHP installations
                    
55     * yet. To temporarily circumvent this issue, DateTimeToRfc3339Transformer
                    
242
                    
243        // Don't add some defaults in order to preserve the defaults
                    
244        // set in DateType and TimeType
                    
                
allfunctions.php https://gitlab.com/Toldierone/Compounds-mirror | PHP | 372 lines
                    
1<?php
                    
2$mysqli = new mysqli("localhost", "username", "password", "database");
                    
33		session_unset();
                    
34		header("Location: index.php");
                    
35		exit;
                    
46    if (!$GLOBALS['userinfo']['user_id']) {
                    
47		header("Location: index.php");
                    
48		exit;
                    
52    if ($GLOBALS['userinfo']['stasismode']) {
                    
53        header("Location: userinfo.php");
                    
54        exit;
                    
56    if (!$GLOBALS['userinfo']['alliance_id']) {
                    
57		header("Location: index.php");
                    
58		exit;
                    
150LEFT JOIN resources r ON r.resource_id = rd.resource_id AND r.user_id = '{$_SESSION['user_id']}'
                    
151ORDER BY resource_id ASC
                    
152EOSQL;
                    
                
test.php https://gitlab.com/blingbang2016/shop | 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']);
                    
                
logout_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 132 lines
                    
6<meta name="generator" content="Doxygen 1.8.4"/>
                    
7<title>BRL-CAD Online Geometry Viewer: accounts/logout.php Source File</title>
                    
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
52          </span><span class="right">
                    
53            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
                    
54          </span>
                    
73<div id="MSearchResultsWindow">
                    
74<iframe src="javascript:void(0)" frameborder="0" 
                    
75        name="MSearchResults" id="MSearchResults">
                    
85  <div class="headertitle">
                    
86<div class="title">logout.php</div>  </div>
                    
87</div><!--header-->
                    
88<div class="contents">
                    
89<a href="logout_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
                    
90<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*                         L O G O U T . P H P</span></div>
                    
                
rulemailcollector.class.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 333 lines
                    
1<?php
                    
2/*
                    
45   static $rightname = 'rule_mailcollector';
                    
46   public $orderby   = "name";
                    
47   public $can_sort  = true;
                    
                
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;
                    
                
ajax.html https://gitlab.com/victor.flores/prueba | HTML | 310 lines
                    
114						<p>This example uses a little bit of additional CSS beyond what is loaded from the library
                    
115						files (below), in order to correctly display the table. The additional CSS used is shown
                    
116						below:</p><code class="multiline brush: js;"></code>
                    
132
                    
133				<div class="php">
                    
134					<p>The script used to perform the server-side processing for this table is shown below. Please note
                    
134					<p>The script used to perform the server-side processing for this table is shown below. Please note
                    
135					that this is just an example script using PHP. Server-side processing scripts can be written in any
                    
136					language, using <a href="//datatables.net/manual/server-side">the protocol described in the
                    
204							<li><a href="../styling/no-classes.html">Base style - no styling classes</a></li>
                    
205							<li><a href="../styling/cell-border.html">Base style - cell borders</a></li>
                    
206							<li><a href="../styling/compact.html">Base style - compact</a></li>
                    
207							<li><a href="../styling/hover.html">Base style - hover</a></li>
                    
208							<li><a href="../styling/order-column.html">Base style - order-column</a></li>
                    
209							<li><a href="../styling/row-border.html">Base style - row borders</a></li>
                    
                
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;

                    
                
lib.php https://gitlab.com/JrLucena/moodle | PHP | 339 lines
                    
24 */
                    
25require_once($CFG->dirroot . '/repository/lib.php');
                    
26
                    
86        if (!isset($this->service)) {
                    
87            require_once($CFG->libdir . '/google/lib.php');
                    
88            $this->client = get_google_client();
                    
123    public function check_login() {
                    
124        return !empty($this->keyword);
                    
125    }
                    
134        $sort = optional_param('youtube_sort', '', PARAM_TEXT);
                    
135        $sess_keyword = 'youtube_'.$this->id.'_keyword';
                    
136        $sess_sort = 'youtube_'.$this->id.'_sort';
                    
138        // This is the request of another page for the last search, retrieve the cached keyword and sort
                    
139        if ($page && !$search_text && isset($SESSION->{$sess_keyword})) {
                    
140            $search_text = $SESSION->{$sess_keyword};
                    
                
Protection.php https://gitlab.com/JrLucena/moodle | PHP | 581 lines
                    
22 * @package    PHPExcel_Worksheet
                    
23 * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_Worksheet
                    
34 * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
334     * @param boolean $pValue
                    
335     * @return PHPExcel_Worksheet_Protection
                    
336     */
                    
560        if (!$pAlreadyHashed) {
                    
561            $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue);
                    
562        }
                    
562        }
                    
563        $this->password = $pValue;
                    
564        return $this;
                    
                
Database.php https://gitlab.com/blingbang2016/shop | PHP | 350 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
178            )
                    
179            ->order('file_id')
                    
180            ->limit($count, $offset);
                    
344            ->where($adapter->prepareSqlCondition('directory', array('seq' => $directory)))
                    
345            ->order('file_id');
                    
346
                    
                
qrsplit.php https://gitlab.com/leoquiroa/TAC | 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);
                    
                
functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
                    
100        } else {
                    
101            $resultado['password'] = $value['password'];
                    
102            $valido = true;
                    
129        }
                    
130        /* 	if(!$resultado['password'] || $resultado['password']!=$_POST['password2'] ){
                    
131          $error['password'] = 'Password debe tener de 6 a 12 caracteres y las dos contrasenyas deben ser iguales';
                    
242            $error['password'] = 'El password no es valido';
                    
243            $resultado['password'] = $value['password'];
                    
244            $valido = false;
                    
245        } else {
                    
246            $resultado['password'] = $value['password'];
                    
247            $valido = true;
                    
270  $errores = array('usuario' => $usuario, 'password' => $password);
                    
271  $datos = array('usuario' => $_POST['nombre'], 'password' => $_POST['password']);
                    
272
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
84    Wraps a block of text to a set width, and indent blocks as well.
                    
85    Can intelligently wrap text so words are not sliced across lines::
                    
86
                    
97    * ``width`` The width to wrap to. Defaults to 72.
                    
98    * ``wordWrap`` Whether or not to wrap whole words. Defaults to true.
                    
99    * ``indent`` The character to indent lines with. Defaults to ''.
                    
299    :title lang=en: String
                    
300    :keywords lang=en: array php,array name,string options,data options,result string,class string,string data,string class,placeholders,default method,key value,markup,rfc,replacements,convenience,templates
                    
301
                    
                
index.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 305 lines
                    
75<tr valign="middle">
                    
76<td nowrap="true"><span class="title">JasperReports - XLS Data Source Sample (version 3.7.4)</span></td><td align="right"><img border="0" src="../../resources/jasperreports.png"></td>
                    
77</tr>
                    
118</table>
                    
119<table border="0" cellpadding="0" cellspacing="0" width="100%">
                    
120<tr>
                    
120<tr>
                    
121<td><img height="1" width="20" border="0" src="../../resources/px.gif"></td><td><img height="1" width="20" border="0" src="../../resources/px.gif"></td><td><img height="1" width="20" border="0" src="../../resources/px.gif"></td><td><img height="1" width="20" border="0" src="../../resources/px.gif"></td><td width="100%">
                    
122<br>
                    
187<br>
                    
188Data sources are very useful when data come as a set of structured records, either extracted from a 
                    
189relational database, or loaded from specific files. In order to become more familiar with data source 
                    
201source field-mapping explained in the <a href="../csvdatasource" target="_blank"><span class="element">CSV Data Source</span></a> sample. It works on the assumption that 
                    
202the workbook contains data in a tabular form (rows are records and columns contain 
                    
203report-field values).
                    
                
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>
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
                    
46			if ( !isset($_REQUEST['orderby']) )
                    
47				$_GET['orderby'] = $_REQUEST['orderby'] = 'id';
                    
48			if ( !isset($_REQUEST['order']) )
                    
48			if ( !isset($_REQUEST['order']) )
                    
49				$_GET['order'] = $_REQUEST['order'] = 'DESC';
                    
50			$args['count_total'] = false;
                    
53		if ( isset( $_REQUEST['orderby'] ) )
                    
54			$args['orderby'] = $_REQUEST['orderby'];
                    
55
                    
176							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
177							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
178						</th>
                    
186						echo "<td $attributes>"; ?>
                    
187							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
188							if ( in_array( $user->user_login, $super_admins ) )
                    
                
news-edit.php https://gitlab.com/Nightprince/Warcry-CMS | PHP | 436 lines
                    
22		<li><a href="index.php?page=news">News</a></li>
                    
23		<li><a href="index.php?page=news-post">Post</a></li>
                    
24        <li class="current"><a href="#">Edit</a></li>
                    
64            
                    
65            <form method="post" action="<?php echo $config['BaseURL']; ?>/admin/execute.php?take=editNews&id=<?php echo $row['id']; ?>" id="newsForm" name="editNewsForm">
                    
66            
                    
94                  <div>
                    
95                    <textarea class="required bbcode" id="textarea" name="text"><?php echo $row['text']; ?></textarea>
                    
96                  </div>
                    
102                {
                    
103                    productUpdatePreview('<?php echo $config['BaseURL'] . '/uploads/news/icons/' . $row['image']; ?>', '<?php echo $row['image']; ?>');
                    
104                });
                    
122        
                    
123                    <form id="croppingForm" method="POST" onsubmit="return false;" action="<?php echo $config['BaseURL']; ?>/admin/execute.php?take=cropImage" name="cropForm">
                    
124                        
                    
                
font_metrics.cls.php https://gitlab.com/narugamy/inventariado | PHP | 363 lines
                    
21 *
                    
22 * Declared here because PHP5 prevents constants from being declared with expressions
                    
23 */
                    
23 */
                    
24define('__DOMPDF_FONT_CACHE_FILE', DOMPDF_FONT_DIR . "dompdf_font_family_cache.php");
                    
25
                    
86  static function get_text_width($text, $font, $size, $word_spacing = 0.0, $char_spacing = 0.0) {
                    
87    //return self::$_pdf->get_text_width($text, $font, $size, $word_spacing, $char_spacing);
                    
88    
                    
288      $font = Font::load($file);
                    
289      $records = $font->getData("name", "records");
                    
290      $type = self::get_type($records[2]);
                    
290      $type = self::get_type($records[2]);
                    
291      $names[mb_strtolower($records[1])][$type] = $file;
                    
292    }
                    
                
backend-scripts.js https://gitlab.com/glancr/system | JavaScript | 326 lines
                    
10
                    
11// Remove red border on input fields when they have focus, since the user might input missing data now.
                    
12$('input[type="text"]').focus(function () {
                    
20
                    
21// Reorder active modules when user changes a row layout.
                    
22$('#layout').change(function () {
                    
44
                    
45  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
46    .done(function () {
                    
76  modules[row][col] = ''
                    
77  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
78    .done(function () {
                    
115
                    
116  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
117    .done(function () {
                    
                
events_test.php https://gitlab.com/JrLucena/moodle | PHP | 372 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
27global $CFG;
                    
28require_once($CFG->dirroot . '/mod/choice/lib.php');
                    
29
                    
59        $this->choice = $this->getDataGenerator()->create_module('choice', array('course' => $this->course->id));
                    
60        $this->cm = $DB->get_record('course_modules', array('id' => $this->choice->cmid));
                    
61        $this->context = context_module::instance($this->choice->cmid);
                    
71
                    
72        $optionids = array_keys($DB->get_records('choice_options', array('choiceid' => $this->choice->id)));
                    
73        // Redirect event.
                    
84        $this->assertEquals(array($optionids[3]), $events[0]->other['optionid']);
                    
85        $expected = array($this->course->id, "choice", "choose", 'view.php?id=' . $this->cm->id, $this->choice->id, $this->cm->id);
                    
86        $this->assertEventLegacyLogData($expected, $events[0]);
                    
102            'allowmultiple' => 1));
                    
103        $cm = $DB->get_record('course_modules', array('id' => $choice->cmid));
                    
104        $context = context_module::instance($choice->cmid);
                    
                
sysvmsg.c https://gitlab.com/0072016/appengine-php | 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
                    
                
file_helper.php https://gitlab.com/ashish21590/rigalio.com | 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 */
                    
                
form-receipt.client.view.html https://gitlab.com/pentacode/poweraire-erp | HTML | 201 lines
                    
8      <span class="dtl-label">RECEIPT NO:</span> {{vm.receipt.number}} <br />
                    
9      <span class="small-font"><span class="dtl-label">PURCHASE ORDER NO:</span> {{vm.purchaseOrder.number}}</span>
                    
10    </div>
                    
21          <!--<input name="supplier" type="text" ng-model="vm.ponumber" class="form-control" placeholder="Purchase Order Number" ng-change="vm.searchPONumber()" typeahead="c as c.number for c in vm.po" typeahead-wait-ms="50" ng-blur="vm.selectPONumber()" required>-->
                    
22          <select name="supplier" type="text" ng-model="vm.ponumber" id="supplier" class="form-control" placeholder="Purchase Order Number" ng-options="c as c.number for c in vm.purchaseOrder | orderBy: 'c.date'" ng-change="vm.selectPONumber()"  required></select>
                    
23          <div ng-messages="vm.form.receiptForm.supplier.$error" role="alert">
                    
58          <th width="13%" class="reqd">Quantity</th>
                    
59          <th width="7%">Amount (Php) </th>
                    
60          <th width="10%">Status</th>
                    
103
                    
104        <table class="table table-bordered table-condensed table-striped table-hover table-responsive">
                    
105        <tr>
                    
133          <button type="button" class="btn btn-default" ng-show="!vm.receipt._id" ng-click="vm.resetReceipt()">Reset</button>
                    
134          <button type="button" class="btn btn-primary" data-ui-sref="receipts.purchaseOrder({ purchaseOrderId: vm.purchaseOrder._id })" data-ng-if="vm.fromPurchaseUI">View Purchase Order</button>
                    
135          <button type="button" class="btn btn-default" data-ui-sref="receipts.list">Back</button>
                    
                
View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
                    
1<?php
                    
2namespace Concrete\Core\View;
                    
210        if (!$this->innerContentFile) { // will already be set in a legacy tools file
                    
211            $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle));
                    
212        }
                    
466
                    
467        $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php');
                    
468        $_file = $_record->getFile();
                    
469
                    
470        unset($_record);
                    
471        unset($_app);
                    
                
permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
                    
1<?php
                    
2/**
                    
12$_lang['perm.add_children_desc'] = 'Untuk menambah sumber daya sebagai anak-anak sumber daya tertentu atau elemen kategori.';
                    
13$_lang['perm.change_password_desc'] = 'Pengguna dapat mengubah sandi pengguna.';
                    
14$_lang['perm.change_profile_desc'] = 'Pengguna dapat mengubah profil mereka.';
                    
                
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';
                    
                
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 ) ); ?>" />
                    
                
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' => 'بازيابي',
                    
                
ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
64	/**
                    
65	 * ORDER BY random keyword
                    
66	 *
                    
68	 */
                    
69	protected $_random_keyword = array('RAND()', 'RAND()');
                    
70
                    
88		return ($persistent === TRUE)
                    
89			? ibase_pconnect($this->hostname.':'.$this->database, $this->username, $this->password, $this->char_set)
                    
90			: ibase_connect($this->hostname.':'.$this->database, $this->username, $this->password, $this->char_set);
                    
106
                    
107		if (($service = ibase_service_attach($this->hostname, $this->username, $this->password)))
                    
108		{
                    
                
shortcodes.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 334 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * WordPress API for creating bbcode like tags or what WordPress calls
                    
4 * "shortcodes." The tag and attribute parsing or regular expression code is
                    
17 * {@internal
                    
18 * Please be aware that the above note was made during the beta of WordPress 2.6
                    
19 * and in the future may not be accurate. Please update the note when it is no
                    
27 *
                    
28 * @link http://codex.wordpress.org/Shortcode_API
                    
29 *
                    
29 *
                    
30 * @package WordPress
                    
31 * @subpackage Shortcodes
                    
49 * plugin has a similar shortcode, it will override yours or yours will override
                    
50 * theirs depending on which order the plugins are included and/or ran.
                    
51 *
                    
                
index.php https://gitlab.com/gustCL/syscar | PHP | 188 lines
                    
1<?php
                    
2require_once ('head.php');
                    
8                  AND lo.idLote = e.idLote AND p.codigoProducto = ps.codigoProducto AND p.codigoProducto = u.codigoProducto
                    
9                  AND e.idUbicacion = u.idUbicacion GROUP BY lo.codigoProducto ORDER BY p.nombreComercial ASC";
                    
10    $comando = Database::getInstance()->getDb()->prepare($registro);
                    
15                 WHERE p.codigoProducto = lo.codigoProducto AND lo.idLote = ex.idLote
                    
16AND ub.codigoProducto = p.codigoProducto AND ps.codigoProducto = p.codigoProducto AND p.estado = 1 ORDER BY p.codigoProducto DESC */
                    
17?>
                    
67                                             <td>
                    
68                                                 <a class="btn btn-warning shiny"  href="nuevo_producto.php" >
                    
69                                                        <i class="fa fa-plus">
                    
110                                                <tbody>
                    
111                                                    <?php
                    
112
                    
137                                                                <td>                          
                    
138                                                                    <a href="ver_producto.php?id=<?= $idP ?>" class="btn btn-default btn-xs blue" ><i class="fa fa-eye"></i> Ver</a>
                    
139                                                                    <a href="mod_producto.php?id=<?= $idP ?>"   class="btn btn-default btn-xs purple"  ><i class="fa fa-edit"></i> Editar</a>
                    
                
CSV.php https://gitlab.com/x0139/sstu.gov39.ru | 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    }
                    
                
usuarioController.php https://gitlab.com/fabian.morales/Spencial | PHP | 264 lines
                    
50        if (!$password){
                    
51            $password = $req->getVar('password_login', '', "RAW");
                    
52        }        
                    
59        $credenciales['username'] = $username;
                    
60        $credenciales['password'] = $password;		
                    
61        $error = myApp::login($credenciales, $opciones);
                    
127        
                    
128        $passwordOrig = $usuario->password;
                    
129        
                    
182            $salt = JUserHelper::genRandomPassword(32);
                    
183            $crypt = JUserHelper::getCryptedPassword($password, $salt);
                    
184            $usuario->password = $crypt.':'.$salt;
                    
186        else{
                    
187            $usuario->password = $passwordOrig;
                    
188        }
                    
                
4975e0f5fe3b209b6ae299a0b4dcacd96964a1b21c3c1a9bac84d3983e4d8884.php https://gitlab.com/bofbof93/PISprintWeb | PHP | 218 lines
                    
1<?php
                    
2
                    
47        <div class=\"box box-info\">
                    
48            <div class=\"box-header with-border\">
                    
49                <h3 class=\"box-title\">Ajouter une produit</h3>
                    
167/*         <div class="box box-info">*/
                    
168/*             <div class="box-header with-border">*/
                    
169/*                 <h3 class="box-title">Ajouter une produit</h3>*/
                    
                
show2.php https://gitlab.com/redwan4re/web-apps-php-26 | PHP | 182 lines
                    
14
                    
15<?php include_once 'header.php'; ?>
                    
16<!-- Page container -->
                    
40                <!-- detached sidebar -->
                    
41                <?php include_once 'sidebar.php'; ?>
                    
42                <!-- /sidebar -->
                    
58                                <div class="heading-btn-group">
                    
59                                    <a type="button" class="btn bg-teal btn-labeled" href="edit.php?id=<?php echo $oneData['unique_id']; ?>"><b><i class="icon-pencil7"></i></b> Edit Course</a>
                    
60                                    
                    
60                                    
                    
61                                    <a type="button" onclick="return checkDelete()" class="btn bg-teal btn-labeled" href="trash.php?id=<?php echo $oneData['unique_id']; ?>"><b><i class="icon-close2"></i></b> Disable Course</a>
                    
62                                    
                    
181
                    
182                <?php include_once 'footer.php'; ?>
                    
183
                    
                
auth_lang.php https://gitlab.com/jankube/CodeIgniter-Ion-Auth | PHP | 165 lines
                    
125$lang['change_password_heading']                               = 'Changer le mot de passe';
                    
126$lang['change_password_old_password_label']                    = 'Ancien mot de passe :';
                    
127$lang['change_password_new_password_label']                    = 'Le nouveau mot de passe (doit contenir %s caractères minimum) :';
                    
129$lang['change_password_submit_btn']                            = 'Enregistrer';
                    
130$lang['change_password_validation_old_password_label']         = 'Ancien mot de passe';
                    
131$lang['change_password_validation_new_password_label']         = 'Nouveau mot de passe';
                    
131$lang['change_password_validation_new_password_label']         = 'Nouveau mot de passe';
                    
132$lang['change_password_validation_new_password_confirm_label'] = 'Confirmer le nouveau mot de passe';
                    
133
                    
146$lang['reset_password_new_password_label']                    = 'Nouveau mot de passe (doit contenir %s caractères minimum) :';
                    
147$lang['reset_password_new_password_confirm_label']            = 'Confirmez le nouveau mot de passe :';
                    
148$lang['reset_password_submit_btn']                            = 'Enregistrer';
                    
149$lang['reset_password_validation_new_password_label']         = 'Nouveau mot de passe';
                    
150$lang['reset_password_validation_new_password_confirm_label'] = 'Confirmer le nouveau mot de passe';
                    
151
                    
                
index.md https://gitlab.com/suyesh/www.ruby-lang.org | Markdown | 249 lines
                    
33![Graph courtesy of
                    
34Gmane.](http://gmane.org/plot-rate.php?group=gmane.comp.lang.ruby.general&amp;width=320&amp;height=160&amp;title=Ruby-Talk+Activity
                    
35"Graph courtesy of Gmane."){: style="padding-left:8px;"}
                    
82For example, addition is performed with the plus (`+`) operator. But, if
                    
83you’d rather use the readable word `plus`, you could add such a method
                    
84to Ruby’s builtin `Numeric` class.
                    
105the most popular features for newcomers to Ruby from other imperative
                    
106languages like PHP or Visual Basic.
                    
107
                    
119construct. The `map` method applies the block to the provided list of
                    
120words. Many other methods in Ruby leave a hole open for a coder to write
                    
121their own block to fill in the details of what that method should do.
                    
145While Ruby often uses very limited punctuation and usually prefers
                    
146English keywords, some punctuation is used to decorate Ruby. Ruby needs
                    
147no variable declarations. It uses simple naming conventions to denote
                    
                
QueryBuilder.php https://gitlab.com/daigiangaitu91/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        }
                    
207     *
                    
208     * ```php
                    
209     * $sql = $queryBuilder->batchInsert('user', ['name', 'age'], [
                    
                
gallery.tpl.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 122 lines
                    
37      <div class="tubepress_thumb">
                    
38        <a id="tubepress_image_<?php echo $video->getId(); ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>" rel="tubepress_<?php echo ${org_tubepress_api_const_template_Variable::EMBEDDED_IMPL_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::PLAYER_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>">
                    
39          <img alt="<?php echo htmlspecialchars($video->getTitle(), ENT_QUOTES, "UTF-8"); ?>" src="<?php echo $video->getThumbnailUrl(); ?>" width="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_WIDTH}; ?>" height="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_HEIGHT}; ?>" />
                    
43          <?php if (${org_tubepress_api_const_template_Variable::META_SHOULD_SHOW}[org_tubepress_api_const_options_names_Meta::TITLE]): ?>
                    
44          <dt class="tubepress_meta tubepress_meta_title"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::TITLE]; ?></dt><dd class="tubepress_meta tubepress_meta_title"><a id="tubepress_title_<?php echo $video->getId(); ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>" rel="tubepress_<?php echo ${org_tubepress_api_const_template_Variable::EMBEDDED_IMPL_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::PLAYER_NAME}; ?>_<?php echo ${org_tubepress_api_const_template_Variable::GALLERY_ID}; ?>"><?php echo htmlspecialchars($video->getTitle(), ENT_QUOTES, "UTF-8"); ?></a></dd>
                    
45          <?php endif; ?>
                    
53
                    
54          <dt class="tubepress_meta tubepress_meta_author"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::AUTHOR]; ?></dt><dd class="tubepress_meta tubepress_meta_author"><?php echo $video->getAuthorDisplayName(); ?></dd>
                    
55          <?php endif; ?>
                    
58
                    
59          <dt class="tubepress_meta tubepress_meta_keywords"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::KEYWORDS]; ?></dt><dd class="tubepress_meta tubepress_meta_keywords"><?php echo $raw = htmlspecialchars(implode(" ", $video->getKeywords()), ENT_QUOTES, "UTF-8"); ?></dd>
                    
60          <?php endif; ?>
                    
63
                    
64          <dt class="tubepress_meta tubepress_meta_url"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::URL]; ?></dt><dd class="tubepress_meta tubepress_meta_url"><a rel="external nofollow" href="<?php echo $video->getHomeUrl(); ?>"><?php echo ${org_tubepress_api_const_template_Variable::META_LABELS}[org_tubepress_api_const_options_names_Meta::URL]; ?></a></dd>
                    
65          <?php endif; ?>
                    
                
class-zip.php https://gitlab.com/endomorphosis/falkenstein | PHP | 306 lines
                    
1<?php
                    
2
                    
64		$exec = $this->binzip." -v -@ ".escapeshellarg($this->path);
                    
65		$last_recorded_alive = time();
                    
66		$something_useful_happened = $updraftplus->something_useful_happened;
                    
120					if ($w && $updraftplus_backup->debug) $updraftplus->log("Output from zip: ".trim($w), 'debug');
                    
121					if (time() > $last_recorded_alive + 5) {
                    
122						$updraftplus->record_still_alive();
                    
122						$updraftplus->record_still_alive();
                    
123						$last_recorded_alive = time();
                    
124					}
                    
217	public function open($path, $flags = 0) {
                    
218		if(!class_exists('PclZip')) include_once(ABSPATH.'/wp-admin/includes/class-pclzip.php');
                    
219		if(!class_exists('PclZip')) {
                    
                
publicize.php https://gitlab.com/endomorphosis/falkenstein | PHP | 307 lines
                    
29		if ( $this->in_jetpack )
                    
30			require_once dirname( __FILE__ ) . '/publicize/publicize-jetpack.php';
                    
31		else {
                    
31		else {
                    
32			require_once dirname( dirname( __FILE__ ) ) . '/mu-plugins/keyring/keyring.php';
                    
33			require_once dirname( __FILE__ ) . '/publicize/publicize-wpcom.php';
                    
35
                    
36		require_once dirname( __FILE__ ) . '/publicize/ui.php';
                    
37		$publicize_ui = new Publicize_UI();
                    
110		// @see wp_trim_words()
                    
111		if ( 'characters' == _x( 'words', 'word count: words or characters?', 'jetpack' ) ) {
                    
112			return trim( mb_substr( $string, 0, $length - 1, 'UTF-8' ) ) . "\xE2\x80\xA6"; // ellipsis
                    
118		while ( strlen( $word = array_shift( $words ) ) ) {
                    
119			$new_return = $return ? "$return $word" : $word;
                    
120			$new_return_length = mb_strlen( $new_return, 'UTF-8' );
                    
                
index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
                    
1<?php
                    
2# Manage user preferences
                    
41require_once('../../include/init.php');
                    
42require_once('../../include/timezones.php');
                    
43
                    
98
                    
99  # Reversed comment order
                    
100  if ($form_reverse_comments_order == "1")
                    
151print $HTML->box_top(_('Authentication Setup'));
                    
152print '<a href="change.php?item=password">'._("Change Password").'</a>';
                    
153print '<p class="smaller">'._("This password gives access to the web interface.").'<br />';
                    
167print $HTML->box_nextitem(utils_get_alt_row_color($i));
                    
168print '<a href="editsshkeys.php">';
                    
169if ($keynum > 0)
                    
334
                    
335print '<input type="checkbox" name="form_reverse_comments_order" value="1" '.(user_get_preference("reverse_comments_order") ? 'checked="checked"':'').' /> '._("Print items comments from the oldest to the latest");
                    
336
                    
                
AdvancedServerDatabaseConfig.cs https://openHistorian.svn.codeplex.com/svn | C# | 388 lines
                    
10//
                    
11//      http://www.opensource.org/licenses/eclipse-1.0.php
                    
12//
                    
205        /// <summary>
                    
206        /// Gets the supported encoding methods for streaming data. This list is in a prioritized order.
                    
207        /// </summary>
                    
                
wp-settings.php https://gitlab.com/gregtyka/wordpress-heroku | PHP | 323 lines
                    
1<?php
                    
2/**
                    
3 * Used to set up and fix common variables and include
                    
4 * the WordPress procedural and class library.
                    
5 *
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
notice.php https://gitlab.com/gregtyka/helloworld1234 | PHP | 102 lines
                    
3	<style type="text/css">
                    
4.akismet_activate{min-width:825px;border:1px solid #4F800D;padding:5px;margin:15px 0;background:#83AF24;background-image:-webkit-gradient(linear,0% 0,80% 100%,from(#83AF24),to(#4F800D));background-image:-moz-linear-gradient(80% 100% 120deg,#4F800D,#83AF24);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.akismet_activate .aa_a{position:absolute;top:-5px;right:10px;font-size:140px;color:#769F33;font-family:Georgia, "Times New Roman", Times, serif;z-index:1}.akismet_activate .aa_button{font-weight:bold;border:1px solid #029DD6;border-top:1px solid #06B9FD;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029DD6;border-bottom:1px solid #00A8EF;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#F0F8FB;background:#0079B1;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#0079B1),to(#0092BF));background-image:-moz-linear-gradient(0% 100% 90deg,#0092BF,#0079B1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button_border{border:1px solid #006699;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6)}.akismet_activate .aa_button_container{cursor:pointer;display:inline-block;background:#DEF1B8;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.akismet_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#E5F2B1;font-size:15px;z-index:1000}.akismet_activate .aa_description strong{color:#FFF;font-weight:normal}
                    
5	</style>
                    
26<?php elseif ( $type == 'version' ) :?>
                    
27<div id="akismet-warning" class="updated fade"><p><strong><?php printf( esc_html__('Akismet %s requires WordPress 3.0 or higher.', 'akismet'), AKISMET_VERSION);?></strong> <?php printf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?></p></div>
                    
28<?php elseif ( $type == 'alert' ) :?>
                    
42	<h3 class="key-status failed"><?php esc_html_e('Network functions are disabled.', 'akismet'); ?></h3>
                    
43	<p class="description"><?php printf( __('Your web host or server administrator has disabled PHP&#8217;s <code>gethostbynamel</code> functions.  <strong>Akismet cannot work correctly until this is fixed.</strong>  Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet&#8217;s system requirements</a>.', 'akismet'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
                    
44</div>
                    
54</div>
                    
55<?php elseif ( $type == 'cancelled' ) :?>
                    
56<div class="wrap alert critical">
                    
98	<h3 class="key-status failed"><?php esc_html_e("You're using Akismet on far too many sites for your Pro subscription.", 'akismet'); ?></h3>
                    
99	<p class="description"><?php printf( __('To continue your service, <a href="%s" target="_blank">upgrade to an Enterprise subscription</a>, which covers an unlimited number of sites. Please <a href="%s" target="_blank">contact our support team</a> with any questions.', 'akismet'), 'https://akismet.com/account/upgrade/', 'https://akismet.com/contact/'); ?></p>
                    
100	<?php endif; ?>
                    
                
SQLite3.php https://gitlab.com/dmsapiens/physicians | PHP | 322 lines
                    
33 * @package    PHPExcel_CachedObjectStorage
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache {
                    
37
                    
102     *
                    
103     * @param 	string 			$pCoord		Coordinate of the cell
                    
104     * @throws 	PHPExcel_Exception
                    
138	 *
                    
139	 * @param	string		$pCoord		Coordinate address of the cell to check
                    
140	 * @return	boolean
                    
161     *
                    
162     * @param	string			$pCoord		Coordinate address of the cell to delete
                    
163     * @throws	PHPExcel_Exception
                    
                
yii.php https://gitlab.com/aintenebris/memoria | PHP | 114 lines
                    
1<?php
                    
2/**
                    
27    'Invalid data received for parameter "{param}".' => 'Ungültige Daten erhalten für Parameter "{param}".',
                    
28    'Login Required' => 'Anmeldung erforderlich',
                    
29    'Missing required arguments: {params}' => 'Pflichtargumente fehlen: {params}',
                    
40    'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.',
                    
41    'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.',
                    
42    'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.',
                    
                
db_operations.php https://gitlab.com/luyxtran264/myproject | PHP | 315 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
11 *
                    
12 * @package PhpMyAdmin
                    
13 */
                    
18 */
                    
19require_once 'libraries/common.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
21require_once 'libraries/display_create_table.lib.php';
                    
22
                    
25 */
                    
26require_once 'libraries/check_user_privileges.lib.php';
                    
27require_once 'libraries/operations.lib.php';
                    
71
                    
72        include_once "libraries/plugin_interface.lib.php";
                    
73        // remove all foreign key constraints, otherwise we can get errors
                    
                
CsvBulkLoader.php https://gitlab.com/djpmedia/silverstripe-framework | PHP | 453 lines
                    
280     */
                    
281    protected function processRecord($record, $columnMap, &$results, $preview = false)
                    
282    {
                    
364
                    
365        // write record
                    
366        if (!$preview) {
                    
399     */
                    
400    public function findExistingObject($record, $columnMap = [])
                    
401    {
                    
423                if ($this->hasMethod($duplicateCheck['callback'])) {
                    
424                    $existingRecord = $this->{$duplicateCheck['callback']}($record[$fieldName], $record);
                    
425                } elseif ($SNG_objectClass->hasMethod($duplicateCheck['callback'])) {
                    
425                } elseif ($SNG_objectClass->hasMethod($duplicateCheck['callback'])) {
                    
426                    $existingRecord = $SNG_objectClass->{$duplicateCheck['callback']}($record[$fieldName], $record);
                    
427                } else {
                    
                
de_DE.js https://gitlab.com/wuhang2003/core | JavaScript | 123 lines
                    
10    "There is no error, the file uploaded with success" : "Es ist kein Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.",
                    
11    "The uploaded file exceeds the upload_max_filesize directive in php.ini: " : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
                    
12    "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe erlaubt, die im HTML-Formular spezifiziert ist",
                    
49    "Could not rename \"{fileName}\", it does not exist any more" : "Die Datei konnte nicht umbennant werden \"{fileName}\", da die Datei nicht mehr existiert",
                    
50    "The name \"{targetName}\" is already used in the folder \"{dir}\". Please choose a different name." : "Der Name „{targetName}“ wird bereits im Ordner „{dir}“ benutzt. Bitte wählen Sie einen anderen Namen.",
                    
51    "Could not rename \"{fileName}\"" : "Die Datei konnte nicht umbenannt werden \"{fileName}\"",
                    
60    "Modified" : "Geändert",
                    
61    "_%n folder_::_%n folders_" : ["%n Ordner","%n Ordner"],
                    
62    "_%n file_::_%n files_" : ["%n Datei","%n Dateien"],
                    
78    "Folder" : "Ordner",
                    
79    "New folder" : "Neuer Ordner",
                    
80    "{newname} already exists" : "{newname} existiert bereits",
                    
104    "Save" : "Speichern",
                    
105    "With PHP-FPM it might take 5 minutes for changes to be applied." : "Bei PHP-FPM kann es 5 Minuten dauern, bis Änderungen angewendet sind.",
                    
106    "Missing permissions to edit from here." : "Fehlende Berechtigungen um von hier aus zu bearbeiten.",
                    
                
PwDesignUserDataService.php https://gitlab.com/wuhang2003/phpwind | PHP | 311 lines
                    
14 * @license http://www.windframework.com
                    
15 * @version $Id: PwDesignUserDataService.php 24726 2013-02-18 06:15:04Z gao.wanggao $
                    
16 * @package src.service.design.srv.model.user
                    
20	/**
                    
21	 * (non-PHPdoc)
                    
22	 * @see src/service/design/srv/model/PwDesignModelBase::decorateAddProperty()
                    
30	/**
                    
31	 * (non-PHPdoc)
                    
32	 * @see src/service/design/srv/model/PwDesignModelBase::decorateEditProperty()
                    
65
                    
66	/* (non-PHPdoc)
                    
67	 * @see PwDesignModelBase::getData()
                    
83		
                    
84		$orderby = $field['orderby'];
                    
85		switch($orderby) {
                    
                
Tokens.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 261 lines
                    
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
                    
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
                    
36<TR>
                    
38<A NAME="navbar_top_firstrow"><!-- --></A>
                    
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
                    
40  <TR ALIGN="center" VALIGN="top">
                    
87
                    
88<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
                    
89<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
                    
100<A NAME="net.sourceforge.pmd.cpd"><!-- --></A>
                    
101<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
                    
102<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
                    
152<CODE>&nbsp;void</CODE></FONT></TD>
                    
153<TD><CODE><B>PHPTokenizer.</B><B><A HREF="../../../../../net/sourceforge/pmd/cpd/PHPTokenizer.html#tokenize(net.sourceforge.pmd.cpd.SourceCode, net.sourceforge.pmd.cpd.Tokens)">tokenize</A></B>(<A HREF="../../../../../net/sourceforge/pmd/cpd/SourceCode.html" title="class in net.sourceforge.pmd.cpd">SourceCode</A>&nbsp;tokens,
                    
154         <A HREF="../../../../../net/sourceforge/pmd/cpd/Tokens.html" title="class in net.sourceforge.pmd.cpd">Tokens</A>&nbsp;tokenEntries)</CODE>
                    
                
AdminPreferencesController.php https://gitlab.com/ivandevp/petshop | 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-2016 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                            ),
                    
                
view-about.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 106 lines
                    
6        <div class="inside">
                    
7        <p><?php _e( 'WP-Table Reloaded allows you to create and manage tables in the admin-area of WordPress.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'Those tables may contain strings, numbers and even HTML (e.g. to include images or links).', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'You can then show the tables in your posts, on your pages or in text-widgets by using a shortcode.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'If you want to show your tables anywhere else in your theme, you can use a template tag function.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p>
                    
8        </div>
                    
13        <div class="inside">
                    
14        <p><?php _e( 'At first you should add or import a table.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'This means that you either let the plugin create an empty table for you or that you load an existing table from either a CSV, XML or HTML file.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php _e( 'Then you can edit your data or change the structure of your table (e.g. by inserting or deleting rows or columns, swaping rows or columns or sorting them) and select specific table options like alternating row colors or whether to print the name or description, if you want.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'To easily add a link or an image to a cell, use the provided buttons. Those will ask you for the URL and a title. Then you can click into a cell and the corresponding HTML will be added to it for you.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php printf( __( 'To insert the table into a page, post or text-widget, copy the shortcode <strong>[table id=%s /]</strong> and paste it into the corresponding place in the editor.', WP_TABLE_RELOADED_TEXTDOMAIN ), '&lt;ID&gt;' ); ?> <?php printf( __( 'You can also select the desired table from a list (after clicking the button &quot;%s&quot; in the editor toolbar) and the corresponding shortcode will be added for you.', WP_TABLE_RELOADED_TEXTDOMAIN ), __( 'Table', WP_TABLE_RELOADED_TEXTDOMAIN ) ); ?></p><p><?php _e( 'Tables can be styled by changing and adding CSS commands.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'The plugin ships with default CSS Stylesheets, which can be customized with own code or replaced with other Stylesheets.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'For this, each table is given certain CSS classes that can be used as CSS selectors.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php printf ( __( 'Please see the <a href="%s">documentation</a> for a list of these selectors and for styling examples.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/' ); ?></p>
                    
15        </div>
                    
20        <div class="inside">
                    
21        <p><?php printf( __( 'More information about WP-Table Reloaded can be found on the <a href="%s">plugin\'s website</a> or on its page in the <a href="%s">WordPress Plugin Directory</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/website/', 'http://wordpress.org/extend/plugins/wp-table-reloaded/' ); ?> <?php printf( __( 'For technical information, see the <a href="%s">documentation</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/' ); ?></p>
                    
22        </div>
                    
27        <div class="inside">
                    
28        <p><?php printf( __( '<a href="%s">Support</a> is provided through the <a href="%s">WordPress Support Forums</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/support/', 'http://www.wordpress.org/support/' ); ?> <?php printf( __( 'Before asking for support, please carefully read the <a href="%s">Frequently Asked Questions</a> where you will find answered to the most common questions, and search through the forums.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/faq/' ); ?></p><p><?php printf( __( 'If you do not find an answer there, please <a href="%s">open a new thread</a> in the WordPress Support Forums with the tag &quot;wp-table-reloaded&quot;.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/tags/wp-table-reloaded' ); ?></p>
                    
29        </div>
                    
34        <div class="inside">
                    
35        <p><?php printf( __( 'This plugin was written by <a href="%s">Tobias B&auml;thge</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/' ); ?> <?php _e( 'It is licensed as Free Software under GPL 2.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/><?php printf( __( 'If you like the plugin, <a href="%s"><strong>a donation</strong></a> is recommended.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/donate/' ); ?> <?php printf( __( 'Please rate the plugin in the <a href="%s">WordPress Plugin Directory</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/extend/plugins/wp-table-reloaded/' ); ?><br/><?php _e( 'Donations and good ratings encourage me to further develop the plugin and to provide countless hours of support. Any amount is appreciated! Thanks!', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p>
                    
36        </div>
                    
                
 

Source

Language