PageRenderTime 7671ms queryTime 572ms sortTime 1797ms getByIdsTime 224ms findMatchingLines 153ms

100+ results results for 'php date' (7671 ms)

Not the results you expected?
Store.php https://gitlab.com/ealexis.t/trends | PHP | 707 lines
                    
1<?php
                    
2
                    
218     */
                    
219    public function invalidate($lifetime = null)
                    
220    {
                    
                
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		}
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
112<?php
                    
113  require_once("vendor/autoload.php");
                    
114
                    
137from predictionio import EventClient
                    
138from datetime import datetime
                    
139import pytz
                    
149    }
                    
150first_event_time = datetime(
                    
151  2004, 12, 13, 21, 39, 45, 618000, pytz.timezone('US/Mountain'))
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
48
                    
49		// alter b_sale_basket - add recommendation, update it here
                    
50		if (!static::isOn())
                    
131					),
                    
132					'order' => array('DATE_VISIT' => 'DESC')
                    
133				))->fetch();
                    
149			'recommendation' => $recommendationId,
                    
150			'date' => date(DATE_ISO8601)
                    
151		);
                    
230		$data['domain'] = Context::getCurrent()->getServer()->getHttpHost();
                    
231		$data['date'] = date(DATE_ISO8601);
                    
232
                    
300		$data['domain'] = Context::getCurrent()->getServer()->getHttpHost();
                    
301		$data['date'] = date(DATE_ISO8601);
                    
302
                    
                
arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
196	* @see Arr::path()
                    
197	* @param array   $array     Array to update
                    
198	* @param string  $path      Path
                    
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	 *
                    
514	 * Creates a callable function and parameter list from a string representation.
                    
515	 * Note that this function does not validate the callback string.
                    
516	 *
                    
                
Url.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 548 lines
                    
1<?php
                    
2
                    
8/**
                    
9 * Parses and generates URLs based on URL parts. In favor of performance, URL parts are not validated.
                    
10 */
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
258            ['unsigned' => true, 'nullable' => false, 'default' => '0'],
                    
259            'Layout Update Id'
                    
260        )->addIndex(
                    
265                'widget_instance_page_layout',
                    
266                ['layout_update_id', 'page_id'],
                    
267                \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_UNIQUE
                    
302            ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true],
                    
303            'Layout Update Id'
                    
304        )->addColumn(
                    
374        )->addForeignKey(
                    
375            $installer->getFkName('layout_link', 'layout_update_id', 'layout_update', 'layout_update_id'),
                    
376            'layout_update_id',
                    
377            $installer->getTable('layout_update'),
                    
378            'layout_update_id',
                    
379            \Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
109            
                    
110            if ($this->_action == CRM_Core_Action::UPDATE) {
                    
111                $this->_single = true;
                    
237            }
                    
238            require_once 'CRM/Core/BAO/CustomOption.php';
                    
239            if ( CRM_Utils_Array::value( 'pledge_frequency_unit', $pledgeBlockDefaults ) ) {
                    
258            if ( CRM_Utils_Array::value( 'end_date', $defaults ) ) {
                    
259                list( $defaults['end_date'], $defaults['end_date_time'] ) = CRM_Utils_Date::setDateDefaults( $defaults['end_date'] );
                    
260            }
                    
262            if ( CRM_Utils_Array::value( 'start_date', $defaults ) ) {
                    
263                list( $defaults['start_date'], $defaults['start_date_time'] ) = CRM_Utils_Date::setDateDefaults( $defaults['start_date'] );
                    
264            }
                    
267            // set current date as start date
                    
268            list( $defaults['start_date'], $defaults['start_date_time'] ) = CRM_Utils_Date::setDateDefaults( );
                    
269        }
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
132            //Formata os dados para serem salvos
                    
133            $data['dataDescarte'] = new \DateTime($this->dateTimeFormat->formatUs($data['dataDescarte']));
                    
134            $data['estoqueOrigem'] = $this->getEm()->getReference("Admin\Entity\Estoque", $this->dadosUser['filtrosSelecionados']['estoque']['id']);
                    
168                    $dadosMovimentacao['valorTotal'] = $itemExcluido->getValorTotal();
                    
169                    $dadosMovimentacao['dataMovimentacao'] = new \DateTime('now');
                    
170                    $dadosMovimentacao['tipoMovimentacao'] = MovimentacaoEntity::TIPO_MOVIMENTACAO_ENTRADA;
                    
214                        $dadosMovimentacao['valorTotal'] = $data['valor-total'][$key];
                    
215                        $dadosMovimentacao['dataMovimentacao'] = new \DateTime('now');
                    
216                        $dadosMovimentacao['tipoMovimentacao'] = MovimentacaoEntity::TIPO_MOVIMENTACAO_SAIDA;
                    
256        if ($solicitacao->getSituacaoDescarte()->getId() == SolicitacaoDescarteEntity::STATUS_CADASTRADO) {
                    
257            $update = $this->update(array('id' => $solicitacao->getId(), 'situacaoDescarte' => $this->getEm()->getReference('Estoque\Entity\SituacaoDescarte', SolicitacaoDescarteEntity::STATUS_CANCELADO)));
                    
258
                    
258
                    
259            if ($update) {
                    
260
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
127		$time = time();
                    
128		$review_date = mdate($datestring, $time);
                    
129		
                    
132			"user_id" => $this->input->post("userid"),
                    
133			"admin_review_date" => $review_date,
                    
134			"admin_review_content" => $this->input->post("comment_content"),
                    
304		
                    
305		$update_project_state = $this->projects_model->update_project_state($parstate, $clausestate);
                    
306		
                    
312		);
                    
313		$update_project = $this->projects_model->update_project($upd_project, $clause);
                    
314		
                    
365					);
                    
366					$update_project = $this->projects_model->update_project($data_project, $clause);
                    
367					
                    
                
SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
                    
1<?php
                    
2
                    
225
                    
226  public function validateOptionsForm(&$form, FormStateInterface $form_state) {
                    
227    // Only accept integer values.
                    
316  /**
                    
317   * Update global paging info.
                    
318   *
                    
319   * This is called after the count query has been run to set the total
                    
320   * items available and to update the current page if the requested
                    
321   * page is out of range.
                    
322   */
                    
323  public function updatePageInfo() {
                    
324    if (!empty($this->options['total_pages'])) {
                    
383
                    
384  public function exposedFormValidate(&$form, FormStateInterface $form_state) {
                    
385    if (!$form_state->isValueEmpty('offset') && trim($form_state->getValue('offset'))) {
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
129        'missing_model' => 'Inställningssidan saknar en modell-definition',
                    
130        'update_success' => 'Inställningar för :name har uppdaterats',
                    
131        'return' => 'Återgå till systeminställningar',
                    
233        'theme_extracting' => 'Packar upp temat: :name',
                    
234        'update_label' => 'Uppdatera systemet',
                    
235        'update_completing' => 'Slutför uppdatering',
                    
235        'update_completing' => 'Slutför uppdatering',
                    
236        'update_loading' => 'Laddar tillgängliga uppdateringar...',
                    
237        'update_success' => 'Uppdateringen är slutförd.',
                    
237        'update_success' => 'Uppdateringen är slutförd.',
                    
238        'update_failed_label' => 'Updateringen misslyckades',
                    
239        'force_label' => 'Tvinga uppdatering',
                    
315        'manage_system_settings' => 'Hantera systeminställningar',
                    
316        'manage_software_updates' => 'Hantera systemuppdateringar',
                    
317        'access_logs' => 'Visa systemloggen',
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
                    
17		at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
                    
18		For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
                    
170      granted to You under this License for that Work shall terminate
                    
171      as of the date such litigation is filed.
                    
172
                    
                
upgrade_slims8_akasia.sql.php https://gitlab.com/mucill/sman7 | PHP | 269 lines
                    
17/*-- change all users password to : 'akasia'*/
                    
18// $sql['update'][] = "UPDATE `user` SET passwd='$2y$10$/Czdb/DbXSDO2peXwlfvDusUZ6CF0VTeSoErlOOXgSXXA2RanoLd.';";
                    
19
                    
21// $hash_member = '$2y$10$Vx12rbVCdtYW701HrULLYOLDKJdb3fDusG2rE7GJzAcH9mqu2MjKK';
                    
22// $sql['update'][] = "UPDATE `member` SET `mpasswd`='$hash_member' WHERE `mpasswd` IS NOT NULL;";
                    
23
                    
32  `code2` char(1) COLLATE utf8_unicode_ci NOT NULL,
                    
33  `input_date` datetime NOT NULL,
                    
34  `last_update` datetime NOT NULL
                    
40
                    
41$sql['insert'][] = "INSERT INTO `mst_carrier_type` (`id`, `carrier_type`, `code`, `code2`, `input_date`, `last_update`) VALUES
                    
42(1, 'audio cartridge', 'sg', 'g', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
222$sql['insert'][] = "INSERT IGNORE INTO `setting` (`setting_name`, `setting_value`) VALUES
                    
223('shortcuts_1', 'a:6:{i:0;s:42:\"Daftar Bibliografi|/bibliography/index.php\";i:1;s:61:\"Tambah Bibliografi Baru|/bibliography/index.php?action=detail\";i:2;s:51:\"Mulai Transaksi|/circulation/index.php?action=start\";i:3;s:48:\"Pengembalian Kilat|/circulation/quick_return.php\";i:4;s:42:\"Lihat Daftar Anggota|/membership/index.php\";i:5;s:37:\"Shortcut Setting|/system/shortcut.php\";}');";
                    
224
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
1<?php
                    
2
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
290    {
                    
291        $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
                    
292    }
                    
376
                    
377        $file = $this->findFileWithExtension($class, '.php');
                    
378
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/thereback | PHP | 470 lines
                    
1<?php
                    
2
                    
26			'twitter_timeline',
                    
27			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
28			apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ),
                    
63	public function admin_scripts( $hook ) {
                    
64		// This is still 'widgets.php' when managing widgets via the Customizer.
                    
65		if ( 'widgets.php' === $hook ) {
                    
83		if ( isset( $instance['title'] ) ) {
                    
84			/** This filter is documented in core/src/wp-includes/default-widgets.php */
                    
85			echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title'];
                    
145
                    
146		/** This action is documented in modules/widgets/social-media-icons.php */
                    
147		do_action( 'jetpack_bump_stats_extras', 'widget', 'twitter_timeline' );
                    
153	 *
                    
154	 * @see WP_Widget::update()
                    
155	 *
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
1<?php
                    
2/**
                    
14<br />A helytelen érték(ek)et piros kerettel jelöljük.';
                    
15$lang['updated']               = 'A módosítások sikeresen beállítva.';
                    
16$lang['nochoice']              = '(nincs egyéb lehetőség)';
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
91$lang['securecookie']          = 'A böngészők a HTTPS felett beállított sütijüket csak HTTPS felett küldhetik? Kapcsoljuk ki ezt az opciót, ha csak a bejelentkezést védjük SSL-lel, a wiki tartalmának böngészése nyílt forgalommal történik.';
                    
92$lang['updatecheck']           = 'Frissítések és biztonsági figyelmeztetések figyelése. Ehhez a DokuWikinek kapcsolatba kell lépnie a update.dokuwiki.org-gal.';
                    
93$lang['userewrite']            = 'Szép URL-ek használata';
                    
102$lang['locktime']              = 'Oldal-zárolás maximális időtartama (másodperc)';
                    
103$lang['fetchsize']             = 'Maximális méret (bájtban), amit a fetch.php letölthet kívülről';
                    
104$lang['notify']                = 'Az oldal-változásokat erre az e-mail címre küldje';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
118$lang['broken_iua']            = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">Bug 852</a> oldalt a további infóért.';
                    
119$lang['xsendfile']             = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';
                    
                
tcp_cubic.c https://gitlab.com/karrei/imx6-kernel | C | 497 lines
                    
19 * All testing results are available from:
                    
20 * http://netsrv.csc.ncsu.edu/wiki/index.php/TCP_Testing
                    
21 *
                    
87	u32	last_cwnd;	/* the last snd_cwnd */
                    
88	u32	last_time;	/* time when updated last_cwnd */
                    
89	u32	bic_origin_point;/* origin point of bic function */
                    
206 */
                    
207static inline void bictcp_update(struct bictcp *ca, u32 cwnd)
                    
208{
                    
288		delta = (cwnd * scale) >> 3;
                    
289		while (ca->ack_cnt > delta) {		/* update tcp cwnd */
                    
290			ca->ack_cnt -= delta;
                    
320	} else {
                    
321		bictcp_update(ca, tp->snd_cwnd);
                    
322		tcp_cong_avoid_ai(tp, ca->cnt);
                    
                
hostkreskoweczki.py https://gitlab.com/nunigaia/iptvplayer-for-e2 | Python | 318 lines
                    
16###################################################
                    
17from datetime import timedelta
                    
18import time
                    
57        self.AJAX_HEADER = dict(self.HEADER)
                    
58        self.AJAX_HEADER.update( {'X-Requested-With': 'XMLHttpRequest'} )
                    
59        
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
84            params = dict(cItem)
                    
85            params.update({'category':category, 'title':title, 'url':url})
                    
86            self.addDir(params)
                    
136            params = dict(cItem)
                    
137            params.update({'page':1, 'title':self.cleanHtmlStr(title), 'url':self.getFullUrl(url), 'icon':self.getFullUrl(icon)})
                    
138            if video:
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
149	}
                    
150	XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin),
                    
151	    chPtr->gc, chPtr->segArr, 2);
                    
234    if (!graphPtr->crosshairs->hidden) {
                    
235	TurnOnHairs(graphPtr, graphPtr->crosshairs);
                    
236    }
                    
243    if (!graphPtr->crosshairs->hidden) {
                    
244	TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs);
                    
245    }
                    
260void
                    
261Blt_UpdateCrosshairs(graphPtr)
                    
262    Graph *graphPtr;
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
112        $wikilib = TikiLib::lib('wiki');
                    
113        $wikilib->update_wikicontent_relations($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId));
                    
114        $wikilib->update_wikicontent_links($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId));
                    
                
class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
                    
172	 *    @type string $name         The name of the relationship.
                    
173	 *    @type string $date         The date the relationship was saved.
                    
174	 * }
                    
251
                    
252		$updated = $wpdb->update(
                    
253			$this->table,
                    
369	 *    @type string $name         The name of the relationship.
                    
370	 *    @type string $date         The date the relationship was saved.
                    
371	 *    @type array  $exclude      A list of relationship IDs to exclude from results.
                    
438	 *    @type string $name         The name of the relationship.
                    
439	 *    @type string $date         The date the relationship was saved.
                    
440	 *    @type array  $exclude      A list of relationship IDs to exclude from results.
                    
499	 *    @type string $name         The name of the relationship.
                    
500	 *    @type string $date         The date the relationship was saved.
                    
501	 * }
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
5 *
                    
6 * usally called as form action from tbl_change.php to insert or update table rows
                    
7 *
                    
54 */
                    
55require_once './libraries/common.inc.php';
                    
56
                    
69    $GLOBALS['js_include'][] = 'tbl_change.js';
                    
70    require_once './libraries/header.inc.php';
                    
71    require './tbl_change.php';
                    
119    } else {
                    
120        $goto_include = 'tbl_sql.php';
                    
121    }
                    
127} else {
                    
128    $err_url = 'tbl_change.php' . PMA_generate_common_url($url_params);
                    
129}
                    
                
Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP version 5                                                        |
                    
5// +----------------------------------------------------------------------+
                    
9// | This LICENSE is in the BSD license style.                            |
                    
10// | http://www.opensource.org/licenses/bsd-license.php                   |
                    
11// |                                                                      |
                    
43//
                    
44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $
                    
45//
                    
83 *                           NUMBER       revision number
                    
84 *                           "{" DATE "}" revision at start of the date
                    
85 *                           "HEAD"       latest in repository
                    
112 * <code>
                    
113 * <?php
                    
114 * require_once 'VersionControl/SVN.php';
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
138                $updateQuery = "
                    
139                UPDATE civicrm_activity_target cat, civicrm_activity ca 
                    
140                    SET cat.activity_id = {$dao->aid}  
                    
147                $updateParams = array( 1 => array(  $bulkEmailID, 'Integer' ) );    
                    
148                CRM_Core_DAO::executeQuery( $updateQuery,  $updateParams );
                    
149                
                    
194            
                    
195            //finally update participant record.
                    
196            CRM_Core_DAO::setFieldValue( 'CRM_Event_DAO_Participant', $participant->id, 'fee_currency', $currencyID );
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
69                                                                   ),
                    
70                                  CRM_Core_Action::UPDATE => array(
                    
71                                                                   'name'     => ts('Edit'),
                    
72                                                                   'url'      => 'civicrm/contact/view/contribution',
                    
73                                                                   'qs'       => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&honorId=%%honorId%%&context=%%cxt%%&subType=%%contributionType%%',
                    
74                                                                   'title'    => ts('Edit Contribution'),
                    
94    {
                    
95        require_once 'CRM/Contribute/BAO/Contribution.php';
                    
96
                    
180    /** 
                    
181     * This function is called when action is update or new 
                    
182     *  
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
334		{
                    
335			$timespan -= Date::YEAR * ($output['years'] = (int) floor($timespan / Date::YEAR));
                    
336		}
                    
505	{
                    
506		$timestamp = ($timestamp === FALSE) ? getdate() : getdate($timestamp);
                    
507
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
558
                    
559		$time = new DateTime($datetime_str, new DateTimeZone(
                    
560			$timezone ? $timezone : date_default_timezone_get()
                    
                
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
                    
69	 *
                    
70	 * if $is_init is FALSE, then all activity like add, update and delete for shortcodes attributes will be hold in
                    
71	 * the list of activity and will be executed after initialization.
                    
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.
                    
520			self::$sc[ $name ][ $setting_name ] = $value;
                    
521			visual_composer()->updateShortcodeSetting( $name, $setting_name, $value );
                    
522		}
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
118								</div>
                    
119							<?php endif; ?>
                    
120								<div class="clear"></div>
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
192								</div>
                    
193							<?php endfor; ?>
                    
194							</div>
                    
249								<div class="content-separator">
                    
250									<div class="nshDate"><?=$news[$i]['cn_pdatebegin'];?></div>
                    
251									<img src="<?=$baseurl;?>cnavatar/viewimage/<?=$news[$i]['cn_id'];?>" class="floated" alt=""/>
                    
278								<div class="content-separator">
                    
279									<div class="nshDate"><?=$shares[$i]['sh_pdatebegin'];?></div>
                    
280									<img src="<?=$baseurl;?>cshavatar/viewimage/<?=$shares[$i]['sh_id'];?>" class="floated" alt=""/>
                    
                
Command.php https://github.com/yclian/symfony-sandbox.git | PHP | 512 lines
                    
1<?php
                    
2
                    
106    /**
                    
107     * Initializes the command just after the input has been validated.
                    
108     *
                    
144
                    
145        $input->validate();
                    
146
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
                
Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $
                    
21 */
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
36/** Zend_XmlRpc_Value_DateTime */
                    
37require_once 'Zend/XmlRpc/Value/DateTime.php';
                    
38
                    
101    /**
                    
102     * Specify that the XML-RPC native type will be auto detected from a PHP variable type
                    
103     */
                    
118    const XMLRPC_TYPE_STRING   = 'string';
                    
119    const XMLRPC_TYPE_DATETIME = 'dateTime.iso8601';
                    
120    const XMLRPC_TYPE_BASE64   = 'base64';
                    
                
user.inc.php https://github.com/hansek/revolution.git | PHP | 202 lines
                    
1<?php
                    
2/**
                    
74$_lang['user_country'] = 'Country';
                    
75$_lang['user_dob'] = 'Date of birth';
                    
76$_lang['user_doesnt_exist'] = 'User does not exist';
                    
152$_lang['user_group_untitled'] = 'Untitled User Group';
                    
153$_lang['user_group_update'] = 'Update User Group';
                    
154$_lang['user_group_user_add'] = 'Add User to Group';
                    
158$_lang['user_group_user_remove_confirm'] = 'Are you sure you want to remove this user from the group?';
                    
159$_lang['user_group_user_update_role'] = 'Update Role for User in Usergroup';
                    
160$_lang['user_groups'] = 'User Groups';
                    
183$_lang['user_remote_data_msg'] = 'Edit remote user data here.';
                    
184$_lang['user_role_update'] = 'Update User Role';
                    
185$_lang['user_setting_err_remove'] = 'An error occurred while removing user settings.';
                    
193$_lang['user_other'] = 'Other';
                    
194$_lang['user_update'] = 'Update User';
                    
195$_lang['user_updated_password_message'] = 'The User has been updated. The password is: [[+password]]';
                    
                
user.inc.php https://github.com/hansek/revolution.git | PHP | 202 lines
                    
1<?php
                    
2/**
                    
74$_lang['user_country'] = 'Country';
                    
75$_lang['user_dob'] = 'Date of birth';
                    
76$_lang['user_doesnt_exist'] = 'User does not exist';
                    
152$_lang['user_group_untitled'] = 'Untitled User Group';
                    
153$_lang['user_group_update'] = 'Update User Group';
                    
154$_lang['user_group_user_add'] = 'Add User to Group';
                    
158$_lang['user_group_user_remove_confirm'] = 'Are you sure you want to remove this user from the group?';
                    
159$_lang['user_group_user_update_role'] = 'Update Role for User in Usergroup';
                    
160$_lang['user_groups'] = 'Brugergrupper';
                    
183$_lang['user_remote_data_msg'] = 'Edit remote user data here.';
                    
184$_lang['user_role_update'] = 'Update User Role';
                    
185$_lang['user_setting_err_remove'] = 'An error occurred while removing user settings.';
                    
193$_lang['user_other'] = 'Other';
                    
194$_lang['user_update'] = 'Update User';
                    
195$_lang['user_updated_password_message'] = 'The User has been updated. The password is: [[+password]]';
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
163			//reset all parent > child relations
                    
164			$this->pages_m->update_all(array('parent_id' => 0));
                    
165			
                    
168				//set the order of the root pages
                    
169				$this->pages_m->update_by('id', str_replace('page_', '', $page['id']), array('order' => $i));
                    
170				
                    
175			// rebuild page URIs
                    
176			$this->pages_m->update_lookup($this->input->post('root_pages'));
                    
177			
                    
223	{
                    
224		// Validate the page
                    
225		if ($this->form_validation->run())
                    
244
                    
245				// Update the page row
                    
246				$input['revision_id'] = $revision_id;
                    
                
Value.php https://github.com/jakedorst/ch3-dev-preview.git | PHP | 401 lines
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $
                    
21 */
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
36/** Zend_XmlRpc_Value_DateTime */
                    
37require_once 'Zend/XmlRpc/Value/DateTime.php';
                    
38
                    
101    /**
                    
102     * Specify that the XML-RPC native type will be auto detected from a PHP variable type
                    
103     */
                    
118    const XMLRPC_TYPE_STRING   = 'string';
                    
119    const XMLRPC_TYPE_DATETIME = 'dateTime.iso8601';
                    
120    const XMLRPC_TYPE_BASE64   = 'base64';
                    
                
BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
                    
1<?php
                    
2
                    
416				} else {
                    
417					$affectedRows += FcvalinmoldPeer::doUpdate($this, $con);
                    
418				}
                    
434	
                    
435	public function validate($columns = null)
                    
436	{
                    
436	{
                    
437		$res = $this->doValidate($columns);
                    
438		if ($res === true) {
                    
447	
                    
448	protected function doValidate($columns = null)
                    
449	{
                    
456
                    
457			if (($retval = FcvalinmoldPeer::doValidate($this, $columns)) !== true) {
                    
458				$failureMap = array_merge($failureMap, $retval);
                    
                
Configuration.php https://github.com/lsmith77/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
214                                    ->defaultValue(array('FrameworkBundle:Form'))
                    
215                                    ->validate()
                    
216                                        ->ifTrue(function($v) {return !in_array('FrameworkBundle:Form', $v); })
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
34    - NEU: upload
                    
35    - NEU: Download von einzelnen Dateien möglich
                    
36    - NEU: filesystemencoding
                    
60
                    
61    # Datei-Endungsfilter, nur diese Dateien werden beachtet
                    
62    "ext_whitelist": (".mp3",),
                    
93    "temp_prefix": "PyDown_",
                    
94    # Max. alter einer Temp-Datei in Sec. bevor sie automatisch gelöscht wird
                    
95    "temp_max_old": 60,
                    
211
                    
212        # Datenbankverbindung herstellen und dem request-Objekt anhängen
                    
213        self.setup_db()
                    
                
permissions.inc.php https://github.com/pandrox/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
48$_lang['perm.directory_remove_desc'] = 'Verzeichnisse löschen.';
                    
49$_lang['perm.directory_update_desc'] = 'Verzeichnisse umbenennen.';
                    
50$_lang['perm.edit_category_desc'] = 'Kategorien bearbeiten.';  // any: beliebige? (auch bei den anderen so aufgebauten Begriffen)
                    
65$_lang['perm.error_log_view_desc'] = 'Das Fehlerprotokoll anzeigen.';
                    
66$_lang['perm.export_static_desc'] = 'Die Site in statische HTML-Dateien exportieren.';
                    
67$_lang['perm.file_create_desc'] = 'Dateien anlegen.';
                    
67$_lang['perm.file_create_desc'] = 'Dateien anlegen.';
                    
68$_lang['perm.file_list_desc'] = 'Liste der in einem angegebenen Verzeichnis liegenden Dateien anzeigen.';
                    
69$_lang['perm.file_manager_desc'] = 'Den Dateimanager benutzen.';
                    
69$_lang['perm.file_manager_desc'] = 'Den Dateimanager benutzen.';
                    
70$_lang['perm.file_remove_desc'] = 'Dateien löschen.';
                    
71$_lang['perm.file_tree_desc'] = 'Den Dateibaum im linken Navigations-Bereich anzeigen.';
                    
71$_lang['perm.file_tree_desc'] = 'Den Dateibaum im linken Navigations-Bereich anzeigen.';
                    
72$_lang['perm.file_update_desc'] = 'Den Inhalt von Dateien ändern.';
                    
73$_lang['perm.file_upload_desc'] = 'Dateien in ein Verzeichnis hochladen.';
                    
                
lang.php https://github.com/brianshaler/PHXdata.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
11$lang['error']                 = 'Parâmetros de Configuração não actualizados devido a valores inválidos. Por favor, reveja as modificações que pretende efectuar antes de re-submetê-las.<br /> Os valores incorrectos serão mostrados dentro de uma "moldura" vermelha.';
                    
12$lang['updated']               = 'Parâmetros de Configuração actualizados com sucesso.';
                    
13$lang['nochoice']              = '(não existem outras escolhas disponíveis)';
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
90$lang['xmlrpcuser']            = 'Restringir acesso XML-RPC para os grupos separados por vírgula ou utilizadores inseridos aqui. Deixar vazio para dar acesso a todos.';
                    
91$lang['updatecheck']           = 'Verificar por actualizações e avisos de segurança? O DokuWiki precisa contactar o "splitbrain.org" para efectuar esta verificação.';
                    
92$lang['userewrite']            = 'Usar URLs SEO';
                    
101$lang['locktime']              = 'Idade máxima para locks (seg.)';
                    
102$lang['fetchsize']             = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior';
                    
103$lang['notify']                = 'Enviar notificações de mudanças para este endereço de email';
                    
115$lang['sitemap']               = 'Gerar Sitemap Google (dias)';
                    
116$lang['broken_iua']            = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">bug 852</a> para mais informações.';
                    
117$lang['xsendfile']             = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.';
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
119			
                    
120			case 'phpinfo':
                    
121			echo "</pre>";
                    
141			//  wpsc_populate_also_bought_list();
                    
142			$fields = "cmd=_notify-validate&mc_gross=0.10&invoice=7121255557327&protection_eligibility=Ineligible&address_status=unconfirmed&item_number1=105&payer_id=LCFQDE4F5F6U8&tax=0.00&address_street=2+Offa+RdBedford&payment_date=14%3A56%3A02+Oct+14%2C+2009+PDT&payment_status=Completed&charset=windows-1252&mc_tax1=0.00&address_zip=&mc_shipping=0.00&mc_handling=0.00&first_name=Thomas&mc_fee=0.10&address_country_code=NZ&address_name=test+test&notify_version=2.8&custom=&payer_status=verified&business=dan%40instinct.co.nz&address_country=New+Zealand&num_cart_items=1&mc_handling1=0.00&address_city=Bedfordshire&verify_sign=AGu.hbwMxRXoqDiyy-IJNOnULnvNAKaQoywaGolyEFLHTSZiM-w0YWH4&payer_email=thomas.howard%40gmail.com&mc_shipping1=0.00&tax1=0.00&txn_id=5014962043916743K&payment_type=instant&last_name=Howard&address_state=&item_name1=m%27a%2Fn.d%2Fe%22l%24%7Ct%2Fe%28s%7Et%29%3A%3B+%C3%85%C3%84%C3%96&receiver_email=dan%40instinct.co.nz&payment_fee=&quantity1=1&receiver_id=LENKCHY6CU2VY&txn_type=cart&mc!
                    
143 _gross_1=0.10&mc_currency=NZD&residence_country=NZ&transaction_subject=Shopping+Cart&payment_gross=";
                    
176	</div>
                    
177	<?php
                    
178}
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
189     * code passed it, or (b) the URL included it).
                    
190     * @param int $width Width passed to function (updated with final value)
                    
191     * @param int $height Height passed to function (updated with final value)
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
203        if ($this->extensions === null) {
                    
265        $langfiles = get_directory_list($basedir);
                    
266        $candidates = [];
                    
267        foreach ($langfiles as $langfile) {
                    
278                // Not an exact match but similar, for example "pt_br" is similar to "pt".
                    
279                $candidates[$lang] = $langfile;
                    
280            }
                    
                
Editor.php https://github.com/lazenge/zf2.git | PHP | 601 lines
                    
1<?php
                    
2/**
                    
578    /**
                    
579     * Set update interval
                    
580     *
                    
583     */
                    
584    public function setUpdateInterval($interval)
                    
585    {
                    
585    {
                    
586        return $this->setDijitParam('updateInterval', (int) $interval);
                    
587    }
                    
589    /**
                    
590     * Get update interval
                    
591     *
                    
593     */
                    
594    public function getUpdateInterval()
                    
595    {
                    
                
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
                    
133			sid = $(rd).attr("id");
                    
134			dp = {nd_: (new Date().getTime())};
                    
135			dp[ts.p.prmNames.subgridid]=sid;
                    
                
store.php https://github.com/dogma/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
187     * @param    string $module The module name  e.g. forum, journal, resource, course, user etc
                    
188     * @param    string $action 'view', 'update', 'add' or 'delete', possibly followed by another word to clarify.
                    
189     * @param    string $url The file and parameters used to see the results of the action
                    
197        // Note that this function intentionally does not follow the normal Moodle DB access idioms.
                    
198        // This is for a good reason: it is the most frequently used DB update function,
                    
199        // so it has been optimised for speed.
                    
246
                    
247        // If the 100 field size is changed, also need to alter print_log in course/lib.php.
                    
248        if (!empty($url) && \core_text::strlen($url) > 100) {
                    
271                $subject = 'Insert into log failed at your moodle site ' . $site->fullname;
                    
272                $message = "Insert into log table failed at " . date('l dS \of F Y h:i:s A') .
                    
273                    ".\n It is possible that your disk is full.\n\n";
                    
                
orderdocument.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
                    
1<?php
                    
2namespace Bitrix\Sale\Exchange\OneC;
                    
27                ),*/
                    
28				'DATE' => array(
                    
29					'TYPE' => 'date'
                    
112                        ),
                    
113                        '1C_PAYED_DATE' => array(
                    
114							'TYPE' => 'array',
                    
119								'VALUE' => array(
                    
120									'TYPE' => 'datetime'
                    
121								)
                    
123                        ),
                    
124                        '1C_DELIVERY_DATE' => array(
                    
125							'TYPE' => 'array',
                    
130								'VALUE' => array(
                    
131									'TYPE' => 'datetime'
                    
132								)
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
1<?php
                    
2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
                    
12
                    
13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
19require_once("tools/pushchecker.php");
                    
20require_once("tools/sitepatcher.php");
                    
112		return [
                    
113			"Bitrix\Sale\BsmSiteMaster\Steps\UpdateSystemStep" => [
                    
114				"SORT" => 350
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
178			// User exists, (crypt) unix_pw matches
                    
179			// Update the (MD5) user_pw and retry authentication
                    
180			// It should work, except for status errors
                    
180			// It should work, except for status errors
                    
181			$res = db_query ("UPDATE users
                    
182				SET user_pw='" . md5($passwd) . "'
                    
194				// Empty unix_pw, we'll take the MD5 as authoritative
                    
195				// Update the (crypt) unix_pw and retry authentication
                    
196				// It should work, except for status errors
                    
196				// It should work, except for status errors
                    
197				$res = db_query ("UPDATE users
                    
198					SET unix_pw='" . account_genunixpw($passwd) . "'
                    
490
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
                
Cloud.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 410 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
143    {
                    
144        // Validate and cleanup the tags
                    
145        $itemList = $this->getItemList();
                    
152            } else {
                    
153                #require_once 'Zend/Tag/Cloud/Exception.php';
                    
154                throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
174        } else {
                    
175            #require_once 'Zend/Tag/Cloud/Exception.php';
                    
176            throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
203        if (null === $this->_tags) {
                    
204            #require_once 'Zend/Tag/ItemList.php';
                    
205            $this->setItemList(new Zend_Tag_ItemList());
                    
                
class.jetpack-landing-page.php https://gitlab.com/thisishayat/itv-2016 | PHP | 299 lines
                    
27			$format         = _x( 'Jetpack %s', 'The menu item label with a new module count as %s', 'jetpack' );
                    
28			$update_markup  = "<span class='update-plugins count-{$new_modules_count}' title='$span_title'><span class='update-count'>$new_count_i18n</span></span>";
                    
29			$title          = sprintf( $format, $update_markup );
                    
49		add_action( "admin_footer-$hook", apply_filters( 'jetpack_landing_page_js_templates_callback', array( $this, 'js_templates' ), $hook ) );
                    
50		/** This action is documented in class.jetpack.php */
                    
51		do_action( 'jetpack_admin_menu', $hook );
                    
57
                    
58		add_action( 'jetpack_notices_update_settings', array( $this, 'show_notices_update_settings' ), 10, 1 );
                    
59	}
                    
183	 */
                    
184	function show_notices_update_settings( $module_id ) {
                    
185		$state = Jetpack::state( 'message' );
                    
203				<div class="squeezer">
                    
204					<h2><?php echo wp_kses( $message, array( 'strong' => array(), 'a' => array( 'href' => true ), 'br' => true ) ); ?></h2>
                    
205					<?php
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/prolog.php");
                    
10$selfFolderUrl = $adminPage->getSelfFolderUrl();
                    
11$listUrl = $selfFolderUrl."cat_contractor_list.php?lang=".LANGUAGE_ID;
                    
12$listUrl = $adminSidePanelHelper->editUrlToPublicPage($listUrl);
                    
20{
                    
21	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
22
                    
25
                    
26	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
                    
27	die();
                    
40
                    
41if ($_SERVER["REQUEST_METHOD"] == "POST" && check_bitrix_sessid() && $_REQUEST["Update"] <> '' && !$bReadOnly)
                    
42{
                    
                
README.md https://gitlab.com/freebird/WebApp | Markdown | 344 lines
                    
43``` php
                    
44<?php
                    
45
                    
96 * `LessFilter`: parses LESS into CSS (using less.js with node.js)
                    
97 * `LessphpFilter`: parses LESS into CSS (using lessphp)
                    
98 * `OptiPngFilter`: optimize your PNGs
                    
105 * `Sass\ScssFilter`: parses SCSS into CSS
                    
106 * `ScssphpFilter`: parses SCSS using scssphp
                    
107 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures
                    
136``` php
                    
137<?php
                    
138
                    
282``` php
                    
283<?php
                    
284
                    
                
PageRepositoryTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 282 lines
                    
1<?php
                    
2/**
                    
139    /**
                    
140     * Test update \Magento\Cms\Api\Data\PageInterface
                    
141     */
                    
141     */
                    
142    public function testUpdate()
                    
143    {
                    
                
actions.class.php https://github.com/dada888/phpcollab3.git | PHP | 291 lines
                    
23{
                    
24  private function validateStaffForm(sfWebRequest $request)
                    
25  {
                    
83        {
                    
84          $from_date = date('Y-m-d H:i:s', strtotime($project_filters['created_at']['year']."-".$project_filters['created_at']['month']."-".$project_filters['created_at']['day']));
                    
85        }
                    
87        !empty($project_filters['name']) ? $q->where('name LIKE ?', "%".$project_filters['name']."%") : null;
                    
88        !is_null($from_date) ? $q->andWhere("created_at > '".$from_date."'") : null;
                    
89      }
                    
103    $this->form = new idProjectForm();
                    
104    $this->form->setDefault('starting_date', date('Y-m-d H:i:s', time()));
                    
105  }
                    
140   */
                    
141  public function executeUpdate(sfWebRequest $request)
                    
142  {
                    
                
CreditCard.php https://github.com/michaelmcandrew/vaw.git | PHP | 297 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
16 * @category  Validate
                    
17 * @package   Validate_Finance_CreditCard
                    
18 * @author    Stefan Neufeind <pear.neufeind@speedpartner.de>
                    
22 * @version   CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $
                    
23 * @link      http://pear.php.net/package/Validate_Finance_CreditCard
                    
24 */
                    
42 * @copyright 1997-2005  Stefan Neufeind
                    
43 * @license   http://www.opensource.org/licenses/bsd-license.php  New BSD License
                    
44 * @version   Release: @package_version@
                    
44 * @version   Release: @package_version@
                    
45 * @link      http://pear.php.net/package/Validate_Finance_CreditCard
                    
46 */
                    
233     * This method only checks for the format. It doesn't
                    
234     * validate that the value is the one on the card.
                    
235     *
                    
                
TestOfLinkMySQLDAO.php https://github.com/dagda/ThinkUp.git | PHP | 290 lines
                    
1<?php
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
3require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php';
                    
4require_once THINKUP_ROOT_PATH.'webapp/config.inc.php';
                    
119            'http://example.com/test',
                    
120            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php', 'Very Long URL', '12345678901',
                    
121            'twitter', false);
                    
129        $this->assertEqual($result->expanded_url,
                    
130        'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php');
                    
131        $this->assertEqual($result->title, 'Very Long URL');
                    
145
                    
146        $updatedlink = $this->DAO->getLinkByUrl($link);
                    
147        $this->assertEqual($updatedlink->expanded_url, "http://expandedurl.com");
                    
149        $this->DAO->saveExpandedUrl($link, "http://expandedurl1.com", 'my title');
                    
150        $updatedlink = $this->DAO->getLinkByUrl($link);
                    
151        $this->assertEqual($updatedlink->expanded_url, "http://expandedurl1.com");
                    
                
lib.php https://bitbucket.org/ngmares/moodle.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24 */
                    
25require_once($CFG->dirroot . '/repository/lib.php');
                    
26require_once($CFG->libdir.'/flickrlib.php');
                    
58
                    
59        $this->flickr = new phpFlickr($this->api_key, $this->secret, $this->token);
                    
60
                    
157    /**
                    
158     * Converts result received from phpFlickr::photo_search to Filepicker/repository format
                    
159     *
                    
189                    'thumbnail_width'=>75, 'thumbnail_height'=>75,
                    
190                    'date'=>'', 'size'=>'unknown', 'url'=>$photos_url.$p['id']);
                    
191            }
                    
295            $instance = array_shift($instances);
                    
296            $callbackurl = $CFG->wwwroot.'/repository/repository_callback.php?repo_id='.$instance->id;
                    
297            $mform->addElement('static', 'callbackurl', '', get_string('callbackurltext', 'repository_flickr', $callbackurl));
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
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,''),
                    
106			.animate({backgroundColor:'#fff'}, 400)
                    
107			.animate({height:0}, 800, null, function(){jQuery(this).remove();updateMediaForm();});
                    
108
                    
115
                    
116function wpsc_updateMediaForm() {
                    
117	storeState();
                    
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";
                    
                
SharedTempStore.php https://gitlab.com/mohamed_hussein/prodt | PHP | 318 lines
                    
1<?php
                    
2
                    
34 * the same time. It is the responsibility of the implementation to decide
                    
35 * when and whether one owner can use or update another owner's data.
                    
36 *
                    
170      'data' => $value,
                    
171      'updated' => (int) $this->requestStack->getMainRequest()->server->get('REQUEST_TIME'),
                    
172    ];
                    
223      if (!$this->lockBackend->acquire($key)) {
                    
224        throw new TempStoreException("Couldn't acquire lock to update item '$key' in '{$this->storage->getCollectionName()}' temporary storage.");
                    
225      }
                    
230      'data' => $value,
                    
231      'updated' => (int) $this->requestStack->getMainRequest()->server->get('REQUEST_TIME'),
                    
232    ];
                    
244   * @return \Drupal\Core\TempStore\Lock|null
                    
245   *   An object with the owner and updated time if the key has a value, or
                    
246   *   NULL otherwise.
                    
                
wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
                    
1<?php // @codingStandardsIgnoreLine.
                    
2/**
                    
100		if ( ! empty( $this->data ) ) {
                    
101			update_site_option( $key, $this->data );
                    
102		}
                    
107	/**
                    
108	 * Update queue
                    
109	 *
                    
114	 */
                    
115	public function update( $key, $data ) {
                    
116		if ( ! empty( $data ) ) {
                    
116		if ( ! empty( $data ) ) {
                    
117			update_site_option( $key, $data );
                    
118		}
                    
314
                    
315			// Update or delete current batch.
                    
316			if ( ! empty( $batch->data ) ) {
                    
                
Tokens.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 261 lines
                    
10
                    
11<META NAME="date" CONTENT="2009-02-08">
                    
12
                    
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>
                    
                
fengoffice.php https://github.com/libersoft/fengoffice-ls.git | PHP | 121 lines
                    
1<?php return array(
                    
2	'chelp add event invitation' => 'Velg brukerene du vil invitere til arrangementet.',
                    
47	'chelp add event reminders' => 'Du kan velge om du vil motta en påminnelse når hendelsen starter. Velg om du vil ha påminnelser som sprettopp-beskjeder i systemet eller om du vil motta e-postvarsel.',
                    
48	'free trial upgrade' => 'Dette er en 30-dagers prøveinstallasjon. Dersom du vil beholde informasjonen og fortsette å bruke våre tjenester: <a class="dashboard-link" href="http://www.fengoffice.com/web/pricing.php">Oppgrader til et abonnement</a>',
                    
49	'chelp personal account' => '<b>Velkommen til kontopanelet</b><br/>
                    
51							På høyre side er det plassert en liste av handlinger. De viktigste handlingene er:<br/>
                    
52							<b>Oppdater profilen:</b> Lar deg endre din informasjon.<br/>
                    
53							<b>Endre passord:</b> Lar deg endre ditt passord<br/>',
                    
                
ki.php https://gitlab.com/muthuvel.ns/imp-file | PHP | 457 lines
                    
1<?php
                    
2/**
                    
161  ),
                    
162  'dateFormats' => 
                    
163  array (
                    
175  ),
                    
176  'dateTimeFormat' => '{1} {0}',
                    
177  'amName' => 'Kiroko',
                    
                
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;
                    
198$cfg_db['Export']['sql_structure_or_data'] = $cfg_db['Export']['_sod_select'];
                    
199$cfg_db['Export']['sql_type'] = array('INSERT', 'UPDATE', 'REPLACE');
                    
200$cfg_db['Export']['sql_insert_syntax'] = array(
                    
222/**
                    
223 * Basic validator assignments (functions from libraries/config/Validator.php
                    
224 * and 'validators' object in js/config.js)
                    
227$cfg_db['_validators'] = array(
                    
228    'CharTextareaCols' => 'validatePositiveNumber',
                    
229    'CharTextareaRows' => 'validatePositiveNumber',
                    
                
OracleSchemaManager.php https://gitlab.com/adrianjose605/SaintW | PHP | 322 lines
                    
1<?php
                    
2/*
                    
168                break;
                    
169            case 'date':
                    
170            case 'timestamp':
                    
289        $query  = 'CREATE USER ' . $username . ' IDENTIFIED BY ' . $password;
                    
290        $this->_conn->executeUpdate($query);
                    
291
                    
292        $query = 'GRANT CREATE SESSION, CREATE TABLE, UNLIMITED TABLESPACE, CREATE SEQUENCE, CREATE TRIGGER TO ' . $username;
                    
293        $this->_conn->executeUpdate($query);
                    
294
                    
306        foreach ($sql as $query) {
                    
307            $this->_conn->executeUpdate($query);
                    
308        }
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
80            Expiry = 0 # 不记住登录,设置数据库里存储的token的过期时间与登录时间相等
                    
81        #db.query('''update users set loginhost="%s",logindate="%s" where id="%s"''' % (LoginHost,LoginDate,SID))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
93        # 格式化日期,加上年月日在前台显示,如果为None,表示用户是第一次登录
                    
94        session.LastDate = time.strftime('%Y-%m-%d %H:%M:%S',time.strptime(str(LastDate),'%Y-%m-%d %H:%M:%S'))
                    
95    else:
                    
123                g = db.query('''
                    
124                    select U.id,U.username,U.nickname,U.loginfo,L.id as LID,L.ip,L.date from login_logs as L
                    
125                    left join users as U on L.uid=U.id
                    
143                LastIP = d.ip
                    
144                LastDate = d.date
                    
145                genSession(uid,Username,ShowName,LastIP,LastDate,token,Lstat,kpl='yes')
                    
178            ShowName = getData['nickname']
                    
179            LastDate = getData['date']
                    
180            LastIP = getData['ip']
                    
                
ConfigListener.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 383 lines
                    
1<?php
                    
2/**
                    
155
                    
156        // If enabled, update the config cache
                    
157        if (
                    
                
date.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 404 lines
                    
28 * - create_time() uses strptime and has currently a very bad hack to use strtotime for windows servers
                    
29 * - Uses strftime formatting for dates www.php.net/manual/en/function.strftime.php
                    
30 */
                    
112	 * @param   int     UNIX timestamp from current server
                    
113	 * @param   string  valid PHP timezone from www.php.net/timezones
                    
114	 * @return  Date
                    
151	{
                    
152		\Config::load('date', 'date');
                    
153
                    
166		{
                    
167			throw new \OutOfBoundsException('Input was invalid.'.(PHP_INT_SIZE == 4?' A 32-bit system only supports dates between 1901 and 2038.':''));
                    
168		}
                    
304	{
                    
305		\Config::load('date', 'date');
                    
306
                    
                
functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
                    
166
                    
167    $date = date_create_from_format("m-d-Y", $start_day);
                    
168
                    
169
                    
170    $myDateTime = date_format($date, "Y/m/d");
                    
171
                    
175
                    
176    $myDateTime1 = date_format($date1, "Y/m/d");
                    
177
                    
186
                    
187    $days_between = ceil(abs($newDate - $newDate1) / 84600);
                    
188
                    
199
                    
200      $days_between = ceil(abs($newDate - $newDate1) / 86400);
                    
201
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Created by PhpStorm.
                    
4 * User: THANH
                    
4 * User: THANH
                    
5 * Date: 13/07/2016
                    
6 * Time: 11:28 SA
                    
56                        'birthday' => '',
                    
57                        'regdate'=>CURRENT_TIME,
                    
58                        'gender' => '1',
                    
69                    $User['gender']   = Input::Post('gender','');
                    
70                    $User['birthday'] = Filter::DateToUnixTime($User['birthday'],0,0);
                    
71                    if($UserID = Authorized::AddUser($User)) {
                    
283                    $invoice['edit_time']= CURRENT_TIME;
                    
284                    $update = DB::Query('invoice')->Where('invoice_id','=',$id)->Update($invoice);
                    
285                    if($update->status){
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
247				if( !empty( $thumb_html ) ) {
                    
248					update_post_meta( $post_ID, $this->post_meta_key, $thumb_id );
                    
249
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
update.php https://bitbucket.org/sephora99/kmirock.git | PHP | 420 lines
                    
146	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
147	$timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
148	$time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked );
                    
225	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
226	$timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
227	$time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked );
                    
318		$update_wordpress = get_core_updates( array('dismissed' => false) );
                    
319		if ( ! empty( $update_wordpress ) && ! in_array( $update_wordpress[0]->response, array('development', 'latest') ) && current_user_can('update_core') )
                    
320			$counts['wordpress'] = 1;
                    
406add_action( 'load-plugins.php', 'wp_update_plugins' );
                    
407add_action( 'load-update.php', 'wp_update_plugins' );
                    
408add_action( 'load-update-core.php', 'wp_update_plugins' );
                    
412add_action( 'load-themes.php', 'wp_update_themes' );
                    
413add_action( 'load-update.php', 'wp_update_themes' );
                    
414add_action( 'load-update-core.php', 'wp_update_themes' );
                    
                
template.php https://bitbucket.org/frazras/higgler.git | PHP | 384 lines
                    
1<?php
                    
2
                    
103function alpha_element_info_alter(&$elements) {
                    
104  if (variable_get('preprocess_css', FALSE) && (!defined('MAINTENANCE_MODE') || MAINTENANCE_MODE != 'update')) {
                    
105    array_unshift($elements['styles']['#pre_render'], 'alpha_css_preprocessor');
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
27    protected $_userStyles = array(
                    
28        '<number:date-style style:name="nShortDate" number:automatic-order="true" 
                    
29                xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
                    
35            <number:year number:style="long"/>
                    
36        </number:date-style>',
                    
37        '<number:number-style style:name="N2"
                    
64        </style:style>',
                    
65        '<style:style style:name="ceShortDate" style:family="table-cell" style:data-style-name="nShortDate"
                    
66                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
246            $patterns = array(
                    
247                '/\{date\}/', 
                    
248                '/\{user\}/',
                    
255            $replacements = array(
                    
256                Zend_Date::now()->toString(Zend_Locale_Format::getDateFormat($this->_locale), $this->_locale),
                    
257                Tinebase_Core::getUser()->accountDisplayName,
                    
                
COOKBOOK-FIXERS.md https://gitlab.com/yousafsyed/easternglamor | Markdown | 466 lines
                    
9In order to be able to create a new fixer, you need some background.
                    
10PHP CS Fixer is a transcompiler which takes valid PHP code and pretty
                    
11print valid PHP code. It does all transformations in multiple passes,
                    
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)
                    
118The files are created, one thing is still missing though: we need to
                    
119update the README.md. Fortunately, PHP CS Fixer can help you here.
                    
120Execute the following command in your command shell:
                    
382
                    
383`$ php php-cs-fixer fix`
                    
384
                    
437
                    
438No. Short arrays were introduced in PHP 5.4 and PHP CS Fixer still
                    
439supports PHP 5.3.6.
                    
                
Flat.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 362 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 */
                    
260                    $reindexFlat = true;
                    
261                    $reindexData['catalog_product_flat_force_update'] = true;
                    
262                }
                    
324                        } else {
                    
325                            $this->_getIndexer()->updateProduct($productIds, $store->getId());
                    
326                        }
                    
332                $status = $data['catalog_product_flat_status'];
                    
333                $this->_getIndexer()->updateProductStatus($productIds, $status);
                    
334            }
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
128							<?=Loc::getMessage('SPOL_TPL_NUMBER_SIGN') . htmlspecialcharsbx($order['ORDER']['ACCOUNT_NUMBER'])?>
                    
129							<?=Loc::getMessage('SPOL_TPL_FROM_DATE')?>
                    
130							<?=$order['ORDER']['DATE_INSERT_FORMATED']?>
                    
303							<?=Loc::getMessage('SPOL_TPL_NUMBER_SIGN') . htmlspecialcharsbx($order['ORDER']['ACCOUNT_NUMBER'])?>
                    
304							<?=Loc::getMessage('SPOL_TPL_FROM_DATE')?>
                    
305							<?=$order['ORDER']['DATE_INSERT_FORMATED']?>
                    
362								?>
                    
363								<span class="sale-order-list-accomplished-date">
                    
364									<?=Loc::getMessage('SPOL_TPL_ORDER_FINISHED')?>
                    
376							?>
                    
377							<span class="sale-order-list-accomplished-date"><?= $order['ORDER']['DATE_STATUS_FORMATED'] ?></span>
                    
378						</div>
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
485					"ORDER_ID" => $this->order->getField("ACCOUNT_NUMBER"),
                    
486					"ORDER_DATE" => $this->order->getDateInsert()->toString(),
                    
487					"PAYMENT_ID" => $payment->getField("ACCOUNT_NUMBER"),
                    
                
CAutoComplete.php https://gitlab.com/RECITEC/yii | PHP | 294 lines
                    
1<?php
                    
2/**
                    
31	/**
                    
32	 * @var array data that would be saved as client-side data to provide candidate selections.
                    
33	 * Each array element can be string or an associative array.
                    
38	/**
                    
39	 * @var string|array the URL that can return the candidate selections.
                    
40	 * A 'q' GET parameter will be sent with the URL which contains what the user has entered so far.
                    
                
DateTimeType.php https://gitlab.com/Isaki/le331.fr | PHP | 290 lines
                    
31{
                    
32    const DEFAULT_DATE_FORMAT = \IntlDateFormatter::MEDIUM;
                    
33
                    
46     *
                    
47     * http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax
                    
48     * http://www.w3.org/TR/html-markup/input.datetime.html
                    
85
                    
86        $dateFormat = is_int($options['date_format']) ? $options['date_format'] : self::DEFAULT_DATE_FORMAT;
                    
87        $timeFormat = self::DEFAULT_TIME_FORMAT;
                    
91        if (!in_array($dateFormat, self::$acceptedFormats, true)) {
                    
92            throw new InvalidOptionsException('The "date_format" option must be one of the IntlDateFormatter constants (FULL, LONG, MEDIUM, SHORT) or a string representing a custom format.');
                    
93        }
                    
163                )))
                    
164                ->add('date', 'date', $dateOptions)
                    
165                ->add('time', 'time', $timeOptions)
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
1<?php
                    
2
                    
81							'status'     => 500,
                    
82							'message'    => sprintf(__('Scheduling update is not working with "upload" import type. Import #%s.', 'wp_all_import_plugin'), $id)
                    
83						));
                    
83						));
                    
84						//$logger and call_user_func($logger, sprintf(__('Scheduling update is not working with "upload" import type. Import #%s.', 'wp_all_import_plugin'), $id));
                    
85					}
                    
105									'created' => 0,
                    
106									'updated' => 0,
                    
107									'skipped' => 0,
                    
115									'import_id' => $import->id,
                    
116									'date' => date('Y-m-d H:i:s'),
                    
117									'type' => 'trigger',
                    
193									'import_id' => $import->id,
                    
194									'date' => date('Y-m-d H:i:s'),
                    
195									'type' => 'processing',
                    
                
Js.php https://github.com/gryzz/crystal_magento.git | PHP | 202 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) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
139                    $this->__('Please enter a valid phone number. For example (123) 456-7890 or 123-456-7890.'),
                    
140                'Please enter a valid date.' => $this->__('Please enter a valid date.'),
                    
141                'Please enter a valid email address. For example johndoe@domain.com.' =>
                    
188                'Your session has been expired, you will be relogged in now.' => $this->__('Your session has been expired, you will be relogged in now.'),
                    
189                'Incorrect credit card expiration date' => $this->__('Incorrect credit card expiration date'),
                    
190            // Date
                    
190            // Date
                    
191                'This date is a required value.' => $this->__('This date is a required value.'),
                    
192            );
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
462	/**
                    
463	 * Method to be called by another php script. Processes for SQL injection
                    
464	 *
                    
538		/*
                    
539		* Use the appropriate escape string depending upon which version of php
                    
540		* you are running
                    
                
jquery.tagsinput.js https://gitlab.com/techniconline/kmc | JavaScript | 358 lines
                    
10 Licensed under the MIT license:
                    
11 http://www.opensource.org/licenses/mit-license.php
                    
12
                    
120
                    
121                $.fn.tagsInput.updateTagsField(this, tagslist);
                    
122
                    
201            if (!id || delimiter[$(this).attr('id')]) {
                    
202                id = $(this).attr('id', 'tags' + new Date().getTime()).attr('id');
                    
203            }
                    
339
                    
340    $.fn.tagsInput.updateTagsField = function (obj, tagslist) {
                    
341        var id = $(obj).attr('id');
                    
                
Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
                    
1<?php
                    
2
                    
13
                    
14	// overridable settings that the user may define in settings.php
                    
15	private static $demoMode = false;	
                    
36	private static $version = "3.1.4";
                    
37	private static $releaseDate = "2014-09-06";
                    
38	private static $minimumPHPVersion = "5.3.0";
                    
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
                    
112		// ensure the timezone is set. This is an arbitrary value (well, I live in Vancouver!) but it prevents warnings
                    
113		if (ini_get("date.timezone") == "") {
                    
114			ini_set("date.timezone", "Canada/Vancouver");
                    
152     *
                    
153	 * Attempts to load the settings file. If successful, it updates the various private member vars
                    
154	 * with whatever's been defined.
                    
                
length_class.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 412 lines
                    
1<?php
                    
2class ControllerLocalisationLengthClass extends Controller {
                    
21		
                    
22		if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {
                    
23			$this->model_localisation_length_class->addLengthClass($this->request->post);
                    
46
                    
47	public function update() {
                    
48		$this->language->load('localisation/length_class');
                    
53		
                    
54		if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {
                    
55			$this->model_localisation_length_class->editLengthClass($this->request->get['length_class_id'], $this->request->post);
                    
85		
                    
86		if (isset($this->request->post['selected']) && $this->validateDelete()) {
                    
87			foreach ($this->request->post['selected'] as $length_class_id) {
                    
180				'text' => $this->language->get('text_edit'),
                    
181				'href' => $this->url->link('localisation/length_class/update', 'token=' . $this->session->data['token'] . '&length_class_id=' . $result['length_class_id'] . $url, 'SSL')
                    
182			);
                    
                
XmlFileLoader.php https://github.com/thewiredman/symfony.git | PHP | 402 lines
                    
1<?php
                    
2
                    
73
                    
74        $this->container->getParameterBag()->add($xml->parameters->getArgumentsAsPhp('parameter'));
                    
75    }
                    
84            $this->currentDir = dirname($file);
                    
85            $this->import((string) $import['resource'], (Boolean) $import->getAttributeAsPhp('ignore-errors'));
                    
86        }
                    
112                $method = 'set'.str_replace('-', '', $key);
                    
113                $definition->$method((string) $service->getAttributeAsPhp($key));
                    
114            }
                    
120
                    
121        $definition->setArguments($service->getArgumentsAsPhp('argument'));
                    
122
                    
137        foreach ($service->call as $call) {
                    
138            $definition->addMethodCall((string) $call['method'], $call->getArgumentsAsPhp('argument'));
                    
139        }
                    
                
derivative.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 540 lines
                    
1<?php
                    
2// +-----------------------------------------------------------------------+
                    
2// +-----------------------------------------------------------------------+
                    
3// | Piwigo - a PHP based photo gallery                                    |
                    
4// +-----------------------------------------------------------------------+
                    
71      $this->flags |= self::IS_MIMETYPE;
                    
72      if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false)
                    
73      {
                    
74        $this->rel_path = 'themes/default/icon/mimetypes/unknown.png';
                    
75        $size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path);
                    
76      }
                    
125  {
                    
126    return PHPWG_ROOT_PATH.$this->rel_path;
                    
127  }
                    
379      $rel_url = 'i';
                    
380      if ($conf['php_extension_in_urls']) $rel_url .= '.php';
                    
381      if ($conf['question_mark_in_urls']) $rel_url .= '?';
                    
                
ContratoController.php https://gitlab.com/SFMSP/Hagape | PHP | 315 lines
                    
1<?php
                    
2
                    
4
                    
5use Base\Helper\DatetimeFormat;
                    
6use Zend\Mvc\Controller\AbstractActionController;
                    
                
projectteam.php https://gitlab.com/julienv/joomleague | PHP | 394 lines
                    
1<?php
                    
2/**
                    
3* @copyright	Copyright (C) 2006-2014 joomleague.at. All rights reserved.
                    
4* @license		GNU/GPL, see LICENSE.php
                    
5* Joomla! is free software. This version may have been modified pursuant
                    
8* other free or open source software licenses.
                    
9* See COPYRIGHT.php for copyright notices and details.
                    
10*/
                    
55		if ($model->isCheckedOut($user->get('id'))) {
                    
56			$this->setRedirect('index.php?option=com_joomleague&task=projectteam.display&view=projectteams', JText::_('EDITED BY ANOTHER ADMIN'));
                    
57		}
                    
97	    }	
                    
98	    $link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
99	  	$this->setRedirect($link, $msg);  
                    
174
                    
175		$link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
176		$this->setRedirect($link, $msg);
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
77$_lang['resource_err_unpublish_sitestart'] = 'The resource is linked to the site_start variable and cannot be unpublished!';
                    
78$_lang['resource_err_unpublish_sitestart_dates'] = 'The resource is linked to the site_start variable and cannot have publish or unpublish dates set!';
                    
79$_lang['resource_folder'] = 'Container';
                    
101$_lang['resource_publish'] = 'Publish';
                    
102$_lang['resource_publish_confirm'] = 'Publishing this resource now will remove any (un)publishing dates that may have been set. If you wish to set or keep publish or unpublish dates, please choose to edit the resource instead.<br /><br />Proceed?';
                    
103$_lang['resource_publishdate'] = 'Publish Date';
                    
103$_lang['resource_publishdate'] = 'Publish Date';
                    
104$_lang['resource_publishdate_help'] = 'If you set a publish date, the resource will be published as soon as the publish date is reached. Click on the calendar icon to select a date, or leave it blank to set it so the resource is never automatically published.';
                    
105$_lang['resource_published'] = 'Publicat';
                    
125$_lang['resource_unpublish'] = 'Unpublish';
                    
126$_lang['resource_unpublish_confirm'] = 'Un-publishing this resource now will remove any (un)publishing dates that may have been set. If you wish to set or keep publish or unpublish dates, please choose to edit the resource instead. <br /><br />Proceed?';
                    
127$_lang['resource_unpublishdate'] = 'Ascunde automat începând cu data';
                    
127$_lang['resource_unpublishdate'] = 'Ascunde automat începând cu data';
                    
128$_lang['resource_unpublishdate_help'] = 'If you set an unpublish date, the resource will be unpublished as soon as the unpublish date is reached. Click on the calendar icon to select a date, or leave it blank to set it so the resource is never automatically unpublished.';
                    
129$_lang['resource_unpublished'] = 'Unpublished';
                    
                
CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
                    
22/**
                    
23 * @see Zend_Validate_Abstract
                    
24 */
                    
24 */
                    
25require_once 'Zend/Validate/Abstract.php';
                    
26
                    
32 */
                    
33class Zend_Validate_CreditCard extends Zend_Validate_Abstract
                    
34{
                    
229        if (!is_callable($service)) {
                    
230            require_once 'Zend/Validate/Exception.php';
                    
231            throw new Zend_Validate_Exception('Invalid callback given');
                    
301            try {
                    
302                require_once 'Zend/Validate/Callback.php';
                    
303                $callback = new Zend_Validate_Callback($this->_service);
                    
                
allfunctions.php https://gitlab.com/Toldierone/Compounds-mirror | PHP | 372 lines
                    
1<?php
                    
2$mysqli = new mysqli("localhost", "username", "password", "database");
                    
2$mysqli = new mysqli("localhost", "username", "password", "database");
                    
3date_default_timezone_set("America/Chicago");
                    
4/* ini_set("session.cookie_secure", 1); */
                    
27	$sql=<<<EOSQL
                    
28	SELECT * FROM users WHERE user_id = {$_SESSION['user_id']} AND (stasismode = 0 OR (stasisdate < DATE_SUB(NOW(), INTERVAL 24 HOUR)) OR stasisdate IS NULL)
                    
29EOSQL;
                    
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;
                    
                
class-page-title.php https://gitlab.com/campus-academy/krowkaramel | PHP | 530 lines
                    
427
                    
428		$heading_size_tag = Widgets_Loader::validate_html_tag( $settings['heading_tag'] );
                    
429		?>		
                    
435		?>
                    
436			<?php if ( '' != $head_link_url && 'custom' === $head_custom_link ) { ?>
                    
437						<a <?php echo wp_kses_post( $this->get_render_attribute_string( 'url' ) ); ?>>
                    
440			<?php } ?>
                    
441			<<?php echo $heading_size_tag; ?> class="elementor-heading-title elementor-size-<?php echo $settings['size']; ?>">
                    
442				<?php if ( '' !== $settings['new_page_title_select_icon']['value'] ) { ?>
                    
443						<span class="hfe-page-title-icon">
                    
444							<?php \Elementor\Icons_Manager::render_icon( $settings['new_page_title_select_icon'], [ 'aria-hidden' => 'true' ] ); ?>             </span>
                    
445				<?php } ?>				
                    
445				<?php } ?>				
                    
446				<?php if ( '' != $settings['before'] ) { ?>
                    
447					<?php echo wp_kses_post( $settings['before'] ); ?>
                    
                
tools.php https://gitlab.com/campus-academy/krowkaramel | PHP | 432 lines
                    
1<?php
                    
2namespace Elementor;
                    
100
                    
101		update_option( Manager::OPTION_ACTIVE, $created_default_kit );
                    
102
                    
109	 * Sends an ajax request to replace old URLs to new URLs. This method also
                    
110	 * updates all the Elementor data.
                    
111	 *
                    
152
                    
153		$plugin_slug = basename( ELEMENTOR__FILE__, '.php' );
                    
154
                    
205
                    
206			require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
                    
207
                    
298									'html' => sprintf( '<button data-nonce="%s" class="button elementor-button-spinner" id="elementor-library-sync-button">%s</button>', wp_create_nonce( 'elementor_reset_library' ), esc_html__( 'Sync Library', 'elementor' ) ),
                    
299									'desc' => esc_html__( 'Elementor Library automatically updates on a daily basis. You can also manually update it by clicking on the sync button.', 'elementor' ),
                    
300								],
                    
                
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 *
                    
267					WHEN 11 THEN \'DFLOAT\'
                    
268					WHEN 12 THEN \'DATE\'
                    
269					WHEN 13 THEN \'TIME\'
                    
308	/**
                    
309	 * Update statement
                    
310	 *
                    
310	 *
                    
311	 * Generates a platform-specific update string from the supplied data
                    
312	 *
                    
316	 */
                    
317	protected function _update($table, $values)
                    
318	{
                    
                
class-wp-customize-setting.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 439 lines
                    
1<?php
                    
2/**
                    
114
                    
115		$this->update( $value );
                    
116	}
                    
118	/**
                    
119	 * Fetches, validates, and sanitizes the $_POST value.
                    
120	 *
                    
155	 *
                    
156	 * @param mixed $value The value to update.
                    
157	 * @return mixed The result of saving the value.
                    
158	 */
                    
159	protected function update( $value ) {
                    
160		switch( $this->type ) {
                    
161			case 'theme_mod' :
                    
162				return $this->_update_theme_mod( $value );
                    
163				break;
                    
                
assignment_expression.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 314 lines
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
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          |
                    
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   +----------------------------------------------------------------------+
                    
25#include "hphp/compiler/analysis/constant_table.h"
                    
26#include "hphp/compiler/analysis/file_scope.h"
                    
27#include "hphp/compiler/expression/unary_op_expression.h"
                    
27#include "hphp/compiler/expression/unary_op_expression.h"
                    
28#include "hphp/parser/hphp.tab.hpp"
                    
29#include "hphp/compiler/code_model_enums.h"
                    
                
service.php https://gitlab.com/alexprowars/bitrix | PHP | 416 lines
                    
1<?php
                    
2/**
                    
36	const AUTHORIZE = "/register/";
                    
37	const REDIRECT_URI = "/bitrix/tools/seo_client.php";
                    
38
                    
249
                    
250			$result = SearchEngineTable::update($id, array(
                    
251				"CLIENT_ID" => $accessParams["client_id"],
                    
390	/**
                    
391	 * If site change domain - need update engine
                    
392	 * @param array $domains
                    
411
                    
412		SearchEngineTable::update($engine->getId(), [
                    
413			'REDIRECT_URI' => $newRedirectUri
                    
                
Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
                    
1<?php
                    
2
                    
18/**
                    
19 * This is the class that validates and merges configuration from your app/config files.
                    
20 *
                    
50            ->fixXmlConfig('block_by_class')
                    
51            ->validate()
                    
52                ->always(function ($value) {
                    
                
CakeValidationSetTest.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 337 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
15 * @since         CakePHP(tm) v 2.2.0
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
38/**
                    
39 * testValidate method
                    
40 *
                    
42 */
                    
43	public function testValidate() {
                    
44		$Field = new CakeValidationSet('title', 'notEmpty');
                    
                
SimpleHeaderSet.php https://gitlab.com/madwanz64/laravel | PHP | 399 lines
                    
1<?php
                    
2
                    
74    /**
                    
75     * Add a new Date header using $dateTime.
                    
76     *
                    
78     */
                    
79    public function addDateHeader($name, DateTimeInterface $dateTime = null)
                    
80    {
                    
80    {
                    
81        $this->storeHeader($name, $this->factory->createDateHeader($name, $dateTime));
                    
82    }
                    
                
file_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
214 * Reads the specified directory and builds an array containing the filenames,
                    
215 * filesize, dates, and permissions
                    
216 *
                    
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)))
                    
268*
                    
269* Given a file and path, returns the name, path, size, date modified
                    
270* Second parameter allows you to explicitly declare what information you want returned
                    
270* Second parameter allows you to explicitly declare what information you want returned
                    
271* Options are: name, server_path, size, date, readable, writable, executable, fileperms
                    
272* Returns FALSE if the file cannot be found.
                    
                
SYLK.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 450 lines
                    
34	define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
                    
35	require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
36}
                    
44 */
                    
45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader
                    
46{
                    
213	/**
                    
214	 * Loads PHPExcel from file into PHPExcel instance
                    
215	 *
                    
216	 * @param 	string 		$pFilename
                    
217	 * @param	PHPExcel	$objPHPExcel
                    
218	 * @return 	PHPExcel
                    
220	 */
                    
221	public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)
                    
222	{
                    
                
categories.php https://github.com/Lurttinen/customisation-db.git | PHP | 357 lines
                    
180			'CATEGORY' 						=> $category_id,
                    
181			'CATEGORY_NAME'					=> (isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name,
                    
182			'CATEGORY_NAME_CLEAN'			=> $category_object->category_name_clean,
                    
183			'CATEGORY_VISIBLE' 				=> $category_object->category_visible,
                    
184			'SECTION_NAME'					=> ($action == 'add') ? phpbb::$user->lang['CREATE_CATEGORY'] : phpbb::$user->lang['EDIT_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$old_category_name])) ? phpbb::$user->lang[$old_category_name] : $old_category_name),
                    
185
                    
272			'CATEGORY_NAME'					=> (isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name,
                    
273			'SECTION_NAME'					=> phpbb::$user->lang['DELETE_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name),
                    
274			'S_HAS_SUBCATS'					=> ($category_object->right_id - $category_object->left_id > 1) ? true : false,
                    
312				titania::generate_breadcrumbs(array(
                    
313					((isset(phpbb::$user->lang[$categories_ary[$row['category_id']]['category_name']])) ? phpbb::$user->lang[$categories_ary[$row['category_id']]['category_name']] : $categories_ary[$row['category_id']]['category_name'])	=> titania_url::build_url('manage/categories', array('c' => $row['category_id'])),
                    
314				), $block = 'nav_categories');
                    
333			'ICON_DELETE'			=> '<img src="' . titania::$images_path . 'icon_delete.gif" alt="' . phpbb::$user->lang['DELETE'] . '" title="' . phpbb::$user->lang['DELETE'] . '" />',
                    
334			'ICON_DELETE_DISABLED'		=> '<img src="' . titania::$images_path . 'icon_delete_disabled.gif" alt="' . phpbb::$user->lang['DELETE'] . '" title="' . phpbb::$user->lang['DELETE'] . '" />',
                    
335			'SECTION_NAME'			=> '<a href="' . titania_url::build_url('manage/categories') . '">' . phpbb::$user->lang['MANAGE_CATEGORIES'] . '</a>',
                    
                
Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
                    
1<?php
                    
2/*
                    
22 */
                    
23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
                    
24/**
                    
26 */
                    
27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
                    
28/**
                    
30 */
                    
31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
                    
32/**
                    
34 */
                    
35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
                    
36
                    
125    /**
                    
126     * If set to true, validate image size
                    
127     *
                    
                
 

Source

Language