PageRenderTime 1645ms queryTime 264ms sortTime 716ms getByIdsTime 65ms findMatchingLines 59ms

100+ results results for 'php ord repo:nfredricks/wp-employee-time' (1645 ms)

Not the results you expected?
Font.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 640 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
                
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
9	<meta name="author" content="Pivot Group" />
                    
10	<meta name="keywords" content="reservation telephone company" />
                    
11	<meta name="description" content="" />
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
34<link rel='next' title='Links' href='http://localhost:8888/reservation-telephone-company/links/' />
                    
35<meta name="generator" content="WordPress 3.0-RC1-15112" />
                    
36<link rel='canonical' href='http://localhost:8888/reservation-telephone-company/about/' />
                    
41         color:#000000;
                    
42         border-bottom:1px dotted #000000;
                    
43         }
                    
46         color:#000000;
                    
47         border-bottom:1px dotted #000000;
                    
48        }
                    
                
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
43
                    
44import java.awt.BorderLayout;
                    
45import java.awt.Dialog;
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
66import org.netbeans.modules.php.project.connections.sync.SyncItem;
                    
67import org.netbeans.modules.php.project.connections.transfer.TransferFile;
                    
                
Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
                    
116     * @param string                   $username Username of the URL
                    
117     * @param string                   $password Password of the URL
                    
118     * @param int                      $port     Port of the URL
                    
356     *
                    
357     * @param string $password Password to set
                    
358     *
                    
360     */
                    
361    public function setPassword($password)
                    
362    {
                    
496            $this->username = $url->getUsername();
                    
497            $this->password = $url->getPassword();
                    
498            $this->path = $url->getPath();
                    
508            $this->username = $url->getUsername();
                    
509            $this->password = $url->getPassword();
                    
510            $this->path = $url->getPath();
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
36  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
                    
37  border-radius: 5px;
                    
38  box-sizing: border-box;
                    
71    color: transparent;
                    
72    border: 0; }
                    
73  .sweet-alert button {
                    
74    color: #fff;
                    
75    border: 0;
                    
76    box-shadow: none;
                    
                
rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 425 lines
                    
1<?php
                    
2
                    
86
                    
87		//TODO: Watch out for ticket http://trac.wordpress.org/ticket/6627
                    
88		if ($wp_rewrite->using_permalinks() && $this->options['usePermalinks'] ) {
                    
211		//TODO: I could parse for the Picture name , gallery etc, but this increase the queries
                    
212		//TODO: Class nggdb need to cache the query for the nggfunctions.php
                    
213
                    
265            // XML request
                    
266            $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]'
                    
267		);  
                    
273	/**
                    
274	 * Mainly a copy of the same function in wp-includes\rewrite.php
                    
275     * Adding the NGG tags to each post & page. Never found easier and proper way to handle this with other functions.
                    
291
                    
292		$this->index = $wp_rewrite->index; //probably 'index.php'
                    
293
                    
                
index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 428 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26require('../../config.php');
                    
27require_once($CFG->libdir . '/completionlib.php');
                    
32$id = required_param('course',PARAM_INT);
                    
33$course = $DB->get_record('course',array('id'=>$id));
                    
34if (!$course) {
                    
66
                    
67$url = new moodle_url('/report/progress/index.php', array('course'=>$id));
                    
68if ($sort !== '') {
                    
92// nothing to display (no users or no activities)
                    
93$reportsurl = $CFG->wwwroot.'/course/report.php?id='.$course->id;
                    
94$completion = new completion_info($course);
                    
136        preg_replace('/[^a-z0-9-]/','_',textlib::strtolower(strip_tags($shortname))).'.csv');
                    
137    // Unicode byte-order mark for Excel
                    
138    if ($excel) {
                    
                
Period.php https://github.com/quarkness/piwik.git | PHP | 418 lines
                    
163		$this->loadSubPeriods();
                    
164		if(!is_array($aRecordName))
                    
165		{
                    
165		{
                    
166			$aRecordName = array($aRecordName);
                    
167		}
                    
169		$nameToCount = array();
                    
170		foreach($aRecordName as $recordName)
                    
171		{
                    
171		{
                    
172			$table = $this->getRecordDataTableSum($recordName, $invalidSummedColumnNameToRenamedName);
                    
173			
                    
178			destroy($table);
                    
179			$this->insertBlobRecord($recordName, $blob);
                    
180		}
                    
                
upgrade_slims8_akasia.sql.php https://gitlab.com/mucill/majalengka | PHP | 269 lines
                    
1<?php
                    
2
                    
16
                    
17/*-- change all users password to : 'akasia'*/
                    
18// $sql['update'][] = "UPDATE `user` SET passwd='$2y$10$/Czdb/DbXSDO2peXwlfvDusUZ6CF0VTeSoErlOOXgSXXA2RanoLd.';";
                    
19
                    
20/*-- change all members password to : 'akasia'*/
                    
21// $hash_member = '$2y$10$Vx12rbVCdtYW701HrULLYOLDKJdb3fDusG2rE7GJzAcH9mqu2MjKK';
                    
127(12, 'sounds', 'snd', 'i', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
128(13, 'spoken word', 'spw', 'i', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
129(14, 'still image', 'sti', 'k', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
222$sql['insert'][] = "INSERT IGNORE INTO `setting` (`setting_name`, `setting_value`) VALUES
                    
223('shortcuts_1', 'a:6:{i:0;s:42:\"Daftar Bibliografi|/bibliography/index.php\";i:1;s:61:\"Tambah Bibliografi Baru|/bibliography/index.php?action=detail\";i:2;s:51:\"Mulai Transaksi|/circulation/index.php?action=start\";i:3;s:48:\"Pengembalian Kilat|/circulation/quick_return.php\";i:4;s:42:\"Lihat Daftar Anggota|/membership/index.php\";i:5;s:37:\"Shortcut Setting|/system/shortcut.php\";}');";
                    
224
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
107    {
                    
108        return ord($this->_fread(1));
                    
109    }
                    
248            // It's a negative value since the highest bit is set
                    
249            if ($wordHigh == (int)0xFFFFFFFF  &&  ($wordLow & (int)0x80000000)) {
                    
250                return $wordLow;
                    
268
                    
269        return $wordHigh*(float)0x100000000/* 0x00000001 00000000 */ + $wordLow;
                    
270    }
                    
290            $wordHigh = (int)($value/(float)0x100000000/* 0x00000001 00000000 */);
                    
291            $wordLow  = $value - $wordHigh*(float)0x100000000/* 0x00000001 00000000 */;
                    
292
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
404			<input
                    
405				type="checkbox"<?php checked( in_array( 'noborders', $instance['chrome'] ) ); ?>
                    
406				id="<?php echo $this->get_field_id( 'chrome-noborders' ); ?>"
                    
409			/>
                    
410			<label for="<?php echo $this->get_field_id( 'chrome-noborders' ); ?>">
                    
411				<?php esc_html_e( 'No Borders', 'jetpack' ); ?>
                    
438		<p>
                    
439			<label for="<?php echo $this->get_field_id( 'border-color' ); ?>">
                    
440				<?php _e( 'Border Color (hex):', 'jetpack' ); ?>
                    
444				id="<?php echo $this->get_field_id( 'border-color' ); ?>"
                    
445				name="<?php echo $this->get_field_name( 'border-color' ); ?>"
                    
446				type="text"
                    
446				type="text"
                    
447				value="<?php echo esc_attr( $instance['border-color'] ); ?>"
                    
448			/>
                    
                
InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
159        )->addColumn(
                    
160            'sort_order',
                    
161            \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
                    
163            ['unsigned' => true, 'nullable' => false, 'default' => '0'],
                    
164            'Sort order'
                    
165        )->addForeignKey(
                    
316        )->addColumn(
                    
317            'sort_order',
                    
318            \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
                    
320            ['nullable' => false, 'default' => '0'],
                    
321            'Sort Order'
                    
322        )->addColumn(
                    
                
Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
                    
1<?php
                    
2
                    
35// Required classes
                    
36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
                    
37
                    
111    *
                    
112    * @return RecordSet
                    
113    *   <ul>
                    
157
                    
158        return DBC::NewRecordSet($query);
                    
159    }
                    
170    *
                    
171    * @return RecordSet
                    
172    *   <ul>
                    
220
                    
221        return DBC::NewRecordSet($query);
                    
222    }
                    
                
arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
283	 *
                    
284	 *     // Get the values "username", "password" from $_POST
                    
285	 *     $auth = Arr::extract($_POST, array('username', 'password'));
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
185
                    
186	// order detailed info (sale:OnSaleOrderSaved)
                    
187	public static function catchCatalogOrder(Event $event)
                    
258			{
                    
259				OrderTable::update($data['order_id'], array('BX_USER_ID' => $data['bx_user_id']));
                    
260			}
                    
263
                    
264	// order payment (sale:OnSaleOrderPaid)
                    
265	public static function catchCatalogOrderPayment(Event $event)
                    
311		// order itself
                    
312		$order = \CSaleOrder::getById($orderId);
                    
313
                    
323
                    
324		$result = \CSaleOrderPropsValue::GetList(array(), array("ORDER_ID" => $orderId));
                    
325		while ($row = $result->fetch())
                    
                
MaildirFolderTest.php https://github.com/MarcelloDuarte/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
224        $iterator = new \RecursiveIteratorIterator($mail->getFolders(), \RecursiveIteratorIterator::SELF_FIRST);
                    
225        // we search for this folder because we can't assume a order while iterating
                    
226        $search_folders = array('subfolder'      => 'subfolder',
                    
235
                    
236            // explicit call of __toString() needed for PHP < 5.2
                    
237            $found_folders[$folder->__toString()] = $localName;
                    
246        $iterator = new \RecursiveIteratorIterator($mail->getFolders(), \RecursiveIteratorIterator::SELF_FIRST);
                    
247        // we search for this folder because we can't assume a order while iterating
                    
248        $search_folders = array('subfolder'      => 'subfolder',
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
141static void
                    
142TurnOnHairs(graphPtr, chPtr)
                    
143    Graph *graphPtr;
                    
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    }
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
1/**
                    
2*  This is a nearly exact copy of the corresponding wordpress file, we needed to copy and modify it for our use of swfupoader as the wordpress handler code is specific to posts
                    
3*/ 
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
194
                    
195			postVars = "product_id="+product_id+"&order="+order;
                    
196			jQuery.post( 'index.php?wpsc_admin_action=rearrange_images', postVars, function(returned_data) {
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
120        try {
                    
121            //Em caso de edição, verifica se o registro de fato pode ser alterado, de acordo com o seu status
                    
122            if (!empty($data['id'])) {
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
17$_lang['perm.add_children_desc'] = 'Der angegebenen Ressource Kind-Ressourcen hinzufügen oder Elemente einer Kategorie hinzufügen.';
                    
18$_lang['perm.change_password_desc'] = 'Benutzer kann sein Benutzer-Passwort ändern.';
                    
19$_lang['perm.change_profile_desc'] = 'Benutzer kann sein Profil ändern.';
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
                    
1<?php
                    
2
                    
18
                    
19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
76
                    
77        $addedRoute = $collectionBuilder->add('/checkout', 'AppBundle:Order:checkout');
                    
78        $addedRoute2 = $collectionBuilder->add('/blogs', 'AppBundle:Blog:list', 'blog_list');
                    
79        $this->assertInstanceOf('Symfony\Component\Routing\Route', $addedRoute);
                    
80        $this->assertEquals('AppBundle:Order:checkout', $addedRoute->getDefault('_controller'));
                    
81
                    
85
                    
86    public function testFlushOrdering()
                    
87    {
                    
104        // 1) Add a route
                    
105        $routes->add('/checkout', 'AppBundle:Order:checkout', 'checkout_route');
                    
106        // 2) Import from a file
                    
                
class-wp-terms-list-table.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 454 lines
                    
86		if ( !empty( $_REQUEST['orderby'] ) )
                    
87			$args['orderby'] = trim( wp_unslash( $_REQUEST['orderby'] ) );
                    
88
                    
89		if ( !empty( $_REQUEST['order'] ) )
                    
90			$args['order'] = trim( wp_unslash( $_REQUEST['order'] ) );
                    
91
                    
407	<form method="get" action=""><table style="display: none"><tbody id="inlineedit">
                    
408		<tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
                    
409
                    
410			<fieldset><div class="inline-edit-col">
                    
411				<h4><?php _e( 'Quick Edit' ); ?></h4>
                    
412
                    
413				<label>
                    
414					<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
                    
415					<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
                    
                
Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
130		WHERE 1'.($active ? ' AND c.active = 1' : '').($contain_states ? ' AND c.`contains_states` = '.(int)$contain_states : '').'
                    
131		ORDER BY cl.name ASC');
                    
132        foreach ($result as $row) {
                    
136        if ($list_states) {
                    
137            $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC');
                    
138            foreach ($result as $row) {
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
283span.fileText{background-image:url(../images/small_icon/fileText.png);}

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

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

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

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

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

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

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

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

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

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

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

                    
343{

                    
344	border:none;

                    
345	padding:2px 6px;

                    
                
File.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
107    {
                    
108        return ord($this->_fread(1));
                    
109    }
                    
248            // It's a negative value since the highest bit is set
                    
249            if ($wordHigh == (int)0xFFFFFFFF  &&  ($wordLow & (int)0x80000000)) {
                    
250                return $wordLow;
                    
268
                    
269        return $wordHigh*(float)0x100000000/* 0x00000001 00000000 */ + $wordLow;
                    
270    }
                    
290            $wordHigh = (int)($value/(float)0x100000000/* 0x00000001 00000000 */);
                    
291            $wordLow  = $value - $wordHigh*(float)0x100000000/* 0x00000001 00000000 */;
                    
292
                    
                
index_002.php https://github.com/robert-fu-berlin/Exercises-Web-based-Information-Systems.git | PHP | 458 lines
                    
255  for( key in w.config.coordurls ) {
                    
256   if( url.substr(0,w.config.coordurls[key].length) === w.config.coordurls[key] ) {
                    
257    return true;
                    
289  // remove icons from title coordinates
                    
290  coord_title = document.getElementById('coordinates') || document.getElementById('coordinates-title');
                    
291  if( coord_title ) {
                    
330   coordinates = link.href.replace( /−/g, '-' );
                    
331   coord_params = coordinates.match(/&params=([^&=<>|]{7,255})/);
                    
332
                    
333   if(!coord_params) { continue; }
                    
334   coord_params = coord_params[1];
                    
335
                    
336   if(w.coord_filter.test(coord_params)) {
                    
337    w.coord_filter.exec(coord_params);
                    
338    marker.lat=(1.0*RegExp.$1) + ((RegExp.$2||0)/60.0) + ((RegExp.$3||0)/3600.0);
                    
                
Location.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 406 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
43      this.__position = this.__bodyStyles.position;
                    
44      this.__border = this.__bodyStyles.border;
                    
45      this.__padding = this.__bodyStyles.padding;
                    
62      this.__bodyStyles.position = this.__position;
                    
63      this.__bodyStyles.border = this.__border;
                    
64      this.__bodyStyles.padding = this.__padding;
                    
216      document.body.innerHTML =
                    
217      '<div id="div1" style="position: absolute; top: 200px; left: 10px; margin: 5px; border: 2px solid #000; padding: 3px; width: 200px; height: 200px;">' +
                    
218        '<div id="div2" style="position: absolute; top: -100px; left: -10px; margin: 5px; border: 2px solid #000; padding: 3px; width: 150px; height: 150px;">' +
                    
392      '<div style="width:100px">' +
                    
393       '<span id="span1" style="margin-left: 10px"><img src="about:blank" width="10px" height="10px" style="border: 0px"></img></span>' +
                    
394       '<span id="span2" style="margin-left: 10px">a</span>' +
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
1<?php
                    
2
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
147        'smtp_username' => 'Användarnamn',
                    
148        'smtp_password' => 'Lösenord',
                    
149        'smtp_port' => 'SMTP-port',
                    
                
main2.php https://github.com/MyITCRM/myitcrm1.git | PHP | 373 lines
                    
10if(isset($wo_id)) {
                    
11	$q = "SELECT WORK_ORDER_CURRENT_STATUS FROM ".PRFX."TABLE_WORK_ORDER WHERE WORK_ORDER_ID=".$db->qstr($wo_id);
                    
12	if(!$rs = $db->execute($q)) {
                    
22	} elseif ($status == '7') {
                    
23		force_page('workorder', 'view&wo_id='.$wo_id.'&error_msg=Can not set a schedule for closed work order&page_title=Work Order ID '.$wo_id.'&type=warning');
                    
24	} elseif ($status == '8') {
                    
26	} elseif ($status == '9') {
                    
27		force_page('workorder', 'view&wo_id='.$wo_id.'&error_msg=Can not set a schedule for closed work order&page_title=Work Order ID '.$wo_id.'&type=warning');
                    
28	}
                    
122					if($sch[$i]['WORK_ORDER_ID'] > 1 ) {
                    
123						//$calendar .= "<td class=\"menutd2\" align=\"center\" onClick=\"window.location='?page=workorder:view&wo_id=".$sch[$i]['WORK_ORDER_ID']."page_title=Work Order ID ".$sch[$i]['WORK_ORDER_ID ']."'\"><b>\n"; 
                    
124						$calendar .= "<td class=\"menutd2\" align=\"center\" onClick=\"window.location='?page=schedule:view&sch_id=".$sch[$i]['SCHEDULE_ID']."&y=".$y."&m=".$m."&d=".$d."'\">";
                    
151				if($sch[$i]['WORK_ORDER_ID'] > 1 ) {
                    
152					//$calendar .= "<td class=\"menutd2\" align=\"center\" onClick=\"window.location='?page=workorder:view&wo_id=".$sch[$i]['WORK_ORDER_ID']."page_title=Work Order ID ".$sch[$i]['WORK_ORDER_ID ']."'\"><b>\n"; 
                    
153					$calendar .= "<td class=\"menutd2\" align=\"center\" onClick=\"window.location='?page=schedule:view&sch_id=".$sch[$i]['SCHEDULE_ID']."&y=".$y."&m=".$m."&d=".$d."'\">";
                    
                
addons_modules.php https://bitbucket.org/mbaily/tremain.git | PHP | 468 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
84		$this->db->where('modules.module_id = '.$this->db->dbprefix('module_member_groups').'.module_id', NULL, FALSE);
                    
85		$this->db->order_by('module_name');
                    
86		
                    
186			// Send version to update class and let it do any required work
                    
187			if ($this->input->get('check_updates') && $status == 'installed' && file_exists($this->installed_modules[$module]['path'].'upd.'.$module.'.php'))
                    
188			{
                    
188			{
                    
189				require $this->installed_modules[$module]['path'].'upd.'.$module.'.php';
                    
190
                    
227		
                    
228		// Let's order by name just in case
                    
229		asort($names);
                    
324		// Send version to update class and let it do any required work
                    
325		if (file_exists($installed[$module]['path'].'upd.'.$module.'.php'))
                    
326		{
                    
                
linear_solver.h https://gitlab.com/Namdhari/cgal-AnatoMeCo | C Header | 478 lines
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
97    {
                    
98        D = 1;              // OpenNL does not support homogeneous coordinates
                    
99
                    
158    {
                    
159        D = 1;              // OpenNL does not support homogeneous coordinates
                    
160
                    
384        bool success = solver_traits.linear_solver(*A_, *b_, *x_, D) ;
                    
385        CGAL_assertion(D == 1.0);   // WARNING: this library does not support homogeneous coordinates!
                    
386
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
44{
                    
45    private $vendorDir;
                    
46
                    
63
                    
64    public function __construct($vendorDir = null)
                    
65    {
                    
65    {
                    
66        $this->vendorDir = $vendorDir;
                    
67    }
                    
312
                    
313        if (null === $this->vendorDir) {
                    
314            return;
                    
                
ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
                    
1<?php
                    
2/**
                    
18 * It can read MO files and use them for translating strings.
                    
19 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
20 *
                    
36    /**
                    
37     * Byte order.
                    
38     *
                    
44     */
                    
45    private $byteorder = 0;
                    
46
                    
148        if ($magic == -1794895138 || $magic == 2500072158) {
                    
149            // (int)0x950412de; PHP 5.2 wont convert this properly
                    
150            $this->byteorder = 0;
                    
151        } elseif ($magic == -569244523 || $magic == 3725722773) {
                    
152            // (int)0xde120495; PHP 5.2 wont convert this properly
                    
153            $this->byteorder = 1;
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
43                    $username = Input::Post('email','');
                    
44                    $password = Input::Post('password','');
                    
45                    if(G::$Authorized->CheckLogin($username, $password)){
                    
182                $productID[]= $item['product_id'];
                    
183                $insertOrder = DB::Query('order')->Insert($item);
                    
184                if($insertOrder->status && $insertOrder->insert_id>0){
                    
210            $invoice['total'] = $moneySend;
                    
211            $invoice['order_id'] = implode(',',$orderID);
                    
212            $invoice['product_id'] = implode(',',$productID);
                    
221                foreach($orderID as $ID){
                    
222                    DB::Query('order')->Where('order_id','=',$ID)->Update(array('invoice_id'=>$insertInvoice->insert_id));
                    
223                }
                    
261                $invoice = $invoice->Result[0];
                    
262                $order = DB::Query('order')->Where('order_id','INCLUDE',$invoice['order_id'])->Get()->Result;
                    
263                $shipMethod = DB::Query('ship')->Get()->Result;
                    
                
date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
68 *
                    
69 * This function is identical to PHPs date() function,
                    
70 * except that it allows date codes to be formatted using
                    
102 *
                    
103 * Returns a date formatted according to the submitted standard.
                    
104 *
                    
550	{
                    
551		// Note: Don't change the order of these even though
                    
552		// some items appear to be in the wrong order
                    
609
                    
610/* End of file date_helper.php */
                    
611/* Location: ./system/helpers/date_helper.php */
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
37 * A Zend_Http_CookieJar object is designed to contain and maintain HTTP cookies, and should
                    
38 * be used along with Zend_Http_Client in order to manage cookies across HTTP requests and
                    
39 * responses.
                    
                
TransducerGraph.ObjectToSetNodeProcessor.html https://github.com/ryantanner/thesis.git | HTML | 259 lines
                    
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
57&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A>&nbsp;
                    
58&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>
                    
97<DL>
                    
98<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html" title="interface in edu.stanford.nlp.fsm">TransducerGraph.NodeProcessor</A></DD>
                    
99</DL>
                    
190<DD><DL>
                    
191<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html#processNode(java.lang.Object)">processNode</A></CODE> in interface <CODE><A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html" title="interface in edu.stanford.nlp.fsm">TransducerGraph.NodeProcessor</A></CODE></DL>
                    
192</DD>
                    
226<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
227&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A>&nbsp;
                    
228&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>
                    
256<HR>
                    
257<FONT SIZE=2><A HREF="http://nlp.stanford.edu">Stanford NLP Group</A></FONT>
                    
258</BODY>
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * BuddyPress is social networking software with a twist from the creators of WordPress.
                    
6 *
                    
13 * Plugin URI:  http://buddypress.org
                    
14 * Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
                    
15 * Author:      The BuddyPress Community
                    
42	 *
                    
43	 * Most of them have reference functions located in bp-core-functions.php.
                    
44	 * The ones that don't can be accessed via their respective WordPress API's.
                    
260		// Place your custom code (actions/filters) in a file called
                    
261		// '/plugins/bp-custom.php' and it will be loaded before anything else.
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
263			require( WP_PLUGIN_DIR . '/bp-custom.php' );
                    
264
                    
                
sysvmsg.c https://gitlab.com/envieidoc/advancedtomato2 | C | 477 lines
                    
9  | available through the world-wide-web at the following url:           |
                    
10  | http://www.php.net/license/3_01.txt                                  |
                    
11  | If you did not receive a copy of the PHP license and are unable to   |
                    
12  | obtain it through the world-wide-web, please send a note to          |
                    
13  | license@php.net so we can mail you a copy immediately.               |
                    
14  +----------------------------------------------------------------------+
                    
36#define PHP_MSG_NOERROR		2
                    
37#define PHP_MSG_EXCEPT		4
                    
38
                    
145{
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
27    protected $_userStyles = array(
                    
28        '<number:date-style style:name="nShortDate" number:automatic-order="true" 
                    
29                xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
                    
295     *
                    
296     * @param Tinebase_Record_RecordSet $records
                    
297     */
                    
299    {
                    
300        $this->_resolveRecords($_records);
                    
301        
                    
304        foreach ($_records as $record) {
                    
305            $this->processRecord($record, $i);
                    
306            $i++;
                    
314     */
                    
315    public function processRecord($record, $idx)
                    
316    {
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
1<?php
                    
2/**
                    
86            'In Cart' => 2,
                    
87            'Before Order Confirmation' => 3
                    
88        ],
                    
156     *
                    
157     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
158     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
308     *
                    
309     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
310     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
345     *
                    
346     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
347     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
57		'et_pb_posts-remove_drop_shadow'                          => 'off',
                    
58		'et_pb_posts-border_radius'                               => '3px',
                    
59
                    
100		'et_pb_tabbed_posts-remove_drop_shadow'                   => 'off',
                    
101		'et_pb_tabbed_posts-border_radius'                        => '3px',
                    
102
                    
132		'et_pb_posts_carousel-remove_drop_shadow'                 => 'off',
                    
133		'et_pb_posts_carousel-border_radius'                      => '3px',
                    
134
                    
149		'et_pb_featured_posts_slider-remove_drop_shadow'          => 'off',
                    
150		'et_pb_featured_posts_slider-border_radius'               => '3px',
                    
151
                    
181		'et_pb_posts_blog_feed_standard-read_more_bg_color'       => 'rgba(0, 0, 0, 0.1)',
                    
182		'et_pb_posts_blog_feed_standard-read_more_border_radius'  => '3px',
                    
183
                    
                
COOKBOOK-FIXERS.md https://gitlab.com/yousafsyed/easternglamor | Markdown | 466 lines
                    
23If possible, try to get acquainted with the public interface for the
                    
24[Symfony/CS/Tokenizer/Tokens.php](Symfony/CS/Tokenizer/Tokens.php)
                    
25and [Symfony/CS/Tokenizer/Token.php](Symfony/CS/Tokenizer/Token.php)
                    
30* You are familiar with Test Driven Development.
                    
31* Forked FriendsOfPHP/PHP-CS-Fixer into your own Github Account.
                    
32* Cloned your forked repository locally.
                    
32* Cloned your forked repository locally.
                    
33* Downloaded PHP CS Fixer and have executed `php composer.phar
                    
34install`.
                    
47Create a new file in
                    
48`PHP-CS-Fixer/Symfony/CS/Fixer/Contrib/RemoveCommentsFixer.php`.
                    
49Put this content inside:
                    
121
                    
122`# php php-cs-fixer readme > README.rst`
                    
123
                    
                
Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 576 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
199     * @param string $login username
                    
200     * @param string $pass password
                    
201     */
                    
204        $this->_auth['login'] = $login;
                    
205        $this->_auth['password'] = $pass;
                    
206        //$val= base64_encode( "$login:$pass" );
                    
252     *
                    
253     * @param string $uri uri relative to host, ex. "/index.php"
                    
254     */
                    
                
class-wp-media-list-table.php https://github.com/vidor/vidor.me.git | PHP | 396 lines
                    
174?>
                    
175	<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
                    
176<?php
                    
253?>
                    
254		<td <?php echo $attributes ?>><?php
                    
255		$tags = get_the_tags();
                    
270?>
                    
271		<td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td>
                    
272<?php
                    
291?>
                    
292		<td <?php echo $attributes ?>><?php echo $h_time ?></td>
                    
293<?php
                    
313?>
                    
314			<td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br />
                    
315			<?php if( $user_can_edit ) {?>
                    
                
pre-check.php https://bitbucket.org/blackriver/openx.git | PHP | 394 lines
                    
70            <meta name="Description" content="" />
                    
71            <title>php Error page</title>
                    
72<style type="text/css">
                    
100    line-height:18px;
                    
101    border-top: 1px solid #eee;
                    
102    border-bottom: 1px solid #eee;
                    
246    // Prepare error strings, in the simplest possible way
                    
247    $errorString1 = 'The built in PHP function "';
                    
248    $errorString2 = '" is in the "disable_functions" list in your "php.ini" file.';
                    
322
                    
323    // Check PHP version, as use of PHP < 5.1.4 will result in parse errors
                    
324    $errorMessage = "PHP version 5.1.4, or greater, was not detected.";
                    
338    $phpMemoryLimit = OX_getMemoryLimitSizeInBytes();
                    
339    if ($phpMemoryLimit > 0 && $phpMemoryLimit < $minimumRequiredMemory) {
                    
340        // The memory limit is too low, but can it be increased?
                    
                
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $
                    
6* @package VirtueMart
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
10* VirtueMart is free software. This version may have been modified pursuant
                    
13* other free or open source software licenses.
                    
14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
15*
                    
34			$db = new ps_DB();
                    
35			$db->query('SELECT group_id,group_name,group_level FROM `#__{vm}_auth_group` ORDER BY group_level');
                    
36			while( $db->next_record() ) {
                    
70				$db->query( 'SELECT `name` FROM `#__core_acl_aro_groups` WHERE `'.$fieldname.'` ='.$gid );
                    
71				$db->next_record();
                    
72				$vmUser->usertype = $db->f( 'name' );
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
228									{
                    
229										?><a class="personal-order-item-order-btn-reorder" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_COPY"])?>"><?=Loc::getMessage('SPOL_TPL_REPEAT_ORDER')?></a><?
                    
230									}
                    
282						<div class="personal-order-item-additional-info-more-block">
                    
283							<a class="personal-order-item-additional-info-more-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_DETAIL"])?>"><?=Loc::getMessage('SPOL_TPL_MORE_ON_ORDER')?></a>
                    
284						</div>
                    
346							{
                    
347								?><a class="g-font-size-15 sale-order-list-cancel-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_CANCEL"])?>"><?=Loc::getMessage('SPOL_TPL_CANCEL_ORDER')?></a><?
                    
348							}
                    
350							{
                    
351								?><a class="personal-order-item-order-btn-reorder" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_COPY"])?>"><?=Loc::getMessage('SPOL_TPL_REPEAT_ORDER')?></a><?
                    
352							}
                    
379						<div class="personal-order-item-additional-info-more-block">
                    
380							<a class="personal-order-item-additional-info-more-link" href="<?=htmlspecialcharsbx($order["ORDER"]["URL_TO_DETAIL"])?>"><?=Loc::getMessage('SPOL_TPL_MORE_ON_ORDER')?></a>
                    
381						</div>
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
23
                    
24	/** @var \Bitrix\Sale\Order $order */
                    
25	protected $order = null;
                    
279		$registry = Sale\Registry::getInstance(Sale\Registry::REGISTRY_TYPE_ORDER);
                    
280		$orderClassName = $registry->getOrderClassName();
                    
281		$this->order = $orderClassName::loadByAccountNumber($this->arParams['ACCOUNT_NUMBER']);
                    
470				$paymentSum = $payment->getSum();
                    
471				$payment->setFieldNoDemand('SUM', $paymentSum + ($newOrderPrice - $oldOrderPrice));
                    
472			}
                    
485					"ORDER_ID" => $this->order->getField("ACCOUNT_NUMBER"),
                    
486					"ORDER_DATE" => $this->order->getDateInsert()->toString(),
                    
487					"PAYMENT_ID" => $payment->getField("ACCOUNT_NUMBER"),
                    
497
                    
498					$this->arResult["PAYMENT_LINK"] = $this->arParams['PATH_TO_PAYMENT'] . "?ORDER_ID=" . $this->order->getField("ACCOUNT_NUMBER") . "&PAYMENT_ID=" . $payment->getField('ACCOUNT_NUMBER');
                    
499				}
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
1<?php
                    
2/**
                    
286			$res = \CCrmLead::getListEx(
                    
287				$arOrder = array(),
                    
288				$arFilter = array('LOGIC' => 'OR', '%FULL_NAME' => $search, '%TITLE' => $search),
                    
327			$res = \CCrmDeal::getListEx(
                    
328				$arOrder = array(),
                    
329				$arFilter = array('%TITLE' => $search),
                    
                
fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
                    
1<?php
                    
2$translations = array(
                    
6	'Username' => 'نام كاربري',
                    
7	'Password' => 'كلمه عبور',
                    
8	'Permanent login' => '',
                    
16	'No extension' => 'پسوند نامعتبر',
                    
17	'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
19	'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد',
                    
20	'%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s',
                    
21	'Refresh' => 'بازيابي',
                    
                
length_class.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 412 lines
                    
33			if (isset($this->request->get['order'])) {
                    
34				$url .= '&order=' . $this->request->get['order'];
                    
35			}
                    
65			if (isset($this->request->get['order'])) {
                    
66				$url .= '&order=' . $this->request->get['order'];
                    
67			}
                    
138		if (isset($this->request->get['order'])) {
                    
139			$url .= '&order=' . $this->request->get['order'];
                    
140		}
                    
255		$this->data['sort'] = $sort;
                    
256		$this->data['order'] = $order;
                    
257
                    
301		if (isset($this->request->get['order'])) {
                    
302			$url .= '&order=' . $this->request->get['order'];
                    
303		}
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
11
                    
12require_once( './includes/default-list-tables.php' );
                    
13
                    
114	$submenu_file = "edit.php?post_type=$post_type";
                    
115	$post_new_file = "post-new.php?post_type=$post_type";
                    
116} else {
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
279
                    
280<input type="hidden" name="post_status" class="post_status_page" value="<?php echo !empty($_REQUEST['post_status']) ? esc_attr($_REQUEST['post_status']) : 'all'; ?>" />
                    
281<input type="hidden" name="post_type" class="post_type_page" value="<?php echo $post_type; ?>" />
                    
                
TestData.php https://github.com/orchestra-io/sample-openx.git | PHP | 301 lines
                    
1<?php
                    
2/*
                    
33require_once MAX_PATH . '/lib/OA/Dll.php';
                    
34require_once MAX_PATH . '/lib/max/Dal/Common.php';
                    
35require_once MAX_PATH . '/lib/OA/Dal/DataGenerator.php';
                    
47
                    
48    function generate($cHowManyRecords, $cHowManyBanners)
                    
49    {
                    
244        $doBanners->htmltemplate    = "<script type='text/javascript'><!--//<![CDATA[
                    
245   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
246   var m3_r = Math.floor(Math.random()*99999999999);
                    
257   document.write (\"'><\\/scr\"+\"ipt>\");
                    
258//]]>--></script><noscript><a href='http://ads.openx.org/delivery/ck.php?n=abc986b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.openx.org/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=abc986b1' border='0' alt='' /></a></noscript>";
                    
259
                    
260        $doBanners->htmlcache    = "<script type='text/javascript'><!--//<![CDATA[
                    
261   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
262   var m3_r = Math.floor(Math.random()*99999999999);
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
120			$categoryModel->setState('category.id', $item->catid);
                    
121			$categoryModel->setState('list.ordering', 'a.name');
                    
122			$categoryModel->setState('list.direction', 'asc');
                    
149		$options['category_id'] = $item->catid;
                    
150		$options['order by']    = 'a.default_con DESC, a.ordering ASC';
                    
151
                    
473		{
                    
474			$this->document->setMetadata('keywords', $this->item->metakey);
                    
475		}
                    
475		}
                    
476		elseif ($this->params->get('menu-meta_keywords'))
                    
477		{
                    
477		{
                    
478			$this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords'));
                    
479		}
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
151    {
                    
152        $f1  = str_pad(ord($input[0]), 2, '0', STR_PAD_LEFT);
                    
153        $f1 .= str_pad(ord($input[1]), 2, '0', STR_PAD_LEFT);
                    
153        $f1 .= str_pad(ord($input[1]), 2, '0', STR_PAD_LEFT);
                    
154        $f1 .= str_pad(ord($input[2]), 2, '0', STR_PAD_LEFT);
                    
155        $f1 .= str_pad(ord($input[3]), 2, '0', STR_PAD_LEFT);
                    
166    {
                    
167        $f1  = str_pad(ord($input[0]), 2, '0', STR_PAD_LEFT);
                    
168        $f1 .= str_pad(ord($input[1]), 2, '0', STR_PAD_LEFT);
                    
168        $f1 .= str_pad(ord($input[1]), 2, '0', STR_PAD_LEFT);
                    
169        $f1 .= str_pad(ord($input[2]), 2, '0', STR_PAD_LEFT);
                    
170        $f1 .= str_pad(ord($input[3]), 2, '0', STR_PAD_LEFT);
                    
184    {
                    
185        $f1  = (ord($input[0]) * pow(256, 3));
                    
186        $f1 += (ord($input[1]) * pow(256, 2));
                    
                
FixtureTask.php https://bitbucket.org/00firestar00/ejfirestar.com.git | PHP | 445 lines
                    
4 *
                    
5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://cakephp.org CakePHP(tm) Project
                    
14 * @since         CakePHP(tm) v 1.3
                    
252			}
                    
253			$records = $this->_makeRecordString($this->_generateRecords($tableInfo, $recordCount));
                    
254		}
                    
255		if (!empty($this->params['records']) || isset($importOptions['fromTable'])) {
                    
256			$records = $this->_makeRecordString($this->_getRecordsFromTable($model, $useTable));
                    
257		}
                    
431		$out = array();
                    
432		foreach ($records as $record) {
                    
433			$row = array();
                    
                
menu.php https://github.com/Manuite/FUEL-CMS.git | PHP | 438 lines
                    
6
                    
7<pre class="brush: php">$this->load->library('menu');</pre>
                    
8
                    
10
                    
11<pre class="brush: php">$this->load->library('menu', array('active_class'=>'on', 'render_type' => 'collapsible'));</pre>
                    
12
                    
15
                    
16<table border="0" cellspacing="1" cellpadding="0" class="tableborder">
                    
17	<tbody>
                    
183		<tr>
                    
184			<td>order</td>
                    
185			<td>'asc'</td>
                    
208<p>Below is an common example:</p>
                    
209<pre class="brush: php">
                    
210$nav = array();
                    
                
group___e_e_p_r_o_m.html https://github.com/nfox/team_252_10-11.git | HTML | 263 lines
                    
8<BODY bgcolor="#ffffff" link="#000000" vlink="#000000"> 
                    
9<table width="100%" bgcolor="navy" cellspacing=0 cellpadding=1 border=0> 
                    
10<tr><td><table width="100%" bgcolor="#EEEEDD" cellspacing=0 cellpadding=3 border=0> 
                    
11<tr> 
                    
12    <td width="33%" align="left"> <img src="images/LOGO_NXT.gif" width=266 height=44 border="0" alt="Mindstorms"></td> 
                    
13    <td><b><font size="+3" color="navy">3rd Party ROBOTC Drivers</font></b></td> 
                    
13    <td><b><font size="+3" color="navy">3rd Party ROBOTC Drivers</font></b></td> 
                    
14    <td align="right"> <img src="images/logo.png" width=44 height=44 border="0" alt="RobotC"></td>     
                    
15</tr> 
                    
16  <tr bgcolor="#cccc99" align="right"> 
                    
17          <td colspan=3> <font face="arial" size="-1"> [<a href=main.html>Home</a>] [<a target=_top href="https://sourceforge.net/projects/rdpartyrobotcdr/">Download</a>] [<a target=_top href="http://apps.sourceforge.net/mantisbt/rdpartyrobotcdr/my_view_page.php">Submit a bug/suggestion</a>]  [<a target=_top href="http://www.robotc.net/forums/">ROBOTC Forums</a>] [<a href="http://mightor.wordpress.com">Blog</a>] [<a target=_top href="http://sourceforge.net/donate/index.php?group_id=257238">Support this project</a>]</font> </td> 
                    
18</tr> 
                    
25[<a class="el" href="group__other.html">Other</a>]</small>
                    
26</h1><table border="0" cellpadding="0" cellspacing="0">
                    
27<tr><td colspan="2"><h2>Files</h2></td></tr>
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
12if(isset($_REQUEST['search']) )$allData =  $orgObject->search($_REQUEST);
                    
13$availableKeywords=$orgObject->getAllKeywords();
                    
14$comma_separated_keywords= '"'.implode('","',$availableKeywords).'"';
                    
243            <li>
                    
244                <a href="../SummaryOfOrganization/create.php">
                    
245                    <span class="title">Add New</span>
                    
272            <a href="xl.php" class="btn btn-primary" role="button">Download as XL</a>
                    
273            <a href="email.php?list=1" class="btn btn-primary" role="button">Email to friend</a>
                    
274        </td>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
179            
                    
180        videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php")
                    
181        if '' != videoData:
                    
                
simulator.js https://github.com/metaodi/TrailDevilsXPl-2.git | JavaScript | 362 lines
                    
140            if (!Ext.get(target).hasCls('recorderButton')) {
                    
141                this.getRecorder().record('main', e);
                    
142            }
                    
145            if (!this.recorder) {
                    
146                this.recorder = new Ext.util.EventRecorder();
                    
147                this.recorder.on({
                    
168            if (!this.doRecordWrap) {
                    
169                this.doRecordWrap = Ext.createDelegate(me.doRecord, me);
                    
170            }
                    
185            if (!this.doRecordWrap) {
                    
186                this.doRecordWrap = Ext.createDelegate(me.doRecord, me);
                    
187            }
                    
192
                    
193            window.localStorage.setItem('recordedEvents', JSON.stringify(this.getRecorder().getEventSet('main')));
                    
194        },
                    
                
ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
                    
82 : <strong>*</strong></em>
                    
83            <input type="password" title="Password" name="vPassword" id="vPassword" class="validate[required,minSize[6]] form-input-re"></label>
                    
84          <label><em><?php echo @LBL_RE_ENTER;?>
                    
86 : <strong>*</strong></em>
                    
87            <input type="password" title="Re-Enter Password" name="vRePassword" id="vRePassword" class="validate[required,equals[vPassword]] form-input-re">
                    
88          </label> 
                    
120                <option value="<?php echo $_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountryCode'];?>
                    
121" <?php if ($_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountryCode']==$_smarty_tpl->getVariable('vCountry')->value){?> selected <?php }?>><?php echo $_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountry'];?>
                    
122</option>
                    
156</option>
                    
157              <option value="EE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='EE'){?> selected <?php }?>><?php echo @LBL_ESTONIAN;?>
                    
158</option>
                    
158</option>
                    
159              <option value="LT" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='LT'){?> selected <?php }?>><?php echo @LBL_LITHUNIAN;?>
                    
160</option>
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
171		$this->msgBody .= "\r\n--PHP-alt-" . $this->randomHash . "--";*/
                    
172		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
173	}
                    
323		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
324		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
325	}
                    
342		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
343		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
344	}
                    
361		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
362		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
363	}
                    
380		$this->msgBody .= "--PHP-alt-" . $this->randomHash . "\r\n";*/
                    
381		$this->msgBody = wordwrap($this->msgBody, $this->wordwrap);
                    
382	}
                    
                
Account.php https://github.com/grandison/budo16.git | PHP | 317 lines
                    
44    $this->email->getValidator('NotEmpty')->setMessage('Please enter a valid email address.', 'isEmpty');
                    
45    $this->email->getValidator('Db_NoRecordExists')->setMessage('Someone has already registered this email address, please use another one.', 'recordFound');
                    
46
                    
85      $this->password->getDecorator('Description')->setOptions(array('placement' => 'APPEND'));
                    
86      $this->password->getValidator('NotEmpty')->setMessage('Please enter a valid password.', 'isEmpty');
                    
87
                    
99
                    
100      $specialValidator = new Engine_Validate_Callback(array($this, 'checkPasswordConfirm'), $this->password);
                    
101      $specialValidator->setMessage('Password did not match', 'invalid');
                    
129      $this->username->getValidator('NotEmpty')->setMessage('Please enter a valid profile address.', 'isEmpty');
                    
130      $this->username->getValidator('Db_NoRecordExists')->setMessage('Someone has already picked this profile address, please use another one.', 'recordFound');
                    
131      $this->username->getValidator('Regex')->setMessage('Profile addresses must start with a letter.', 'regexNotMatch');
                    
297
                    
298  public function checkPasswordConfirm($value, $passwordElement)
                    
299  {
                    
                
FormErrors.php https://github.com/mrbanzai/zf2.git | PHP | 466 lines
                    
1<?php
                    
2/**
                    
447        }
                    
448        foreach ($form->getElementsAndSubFormsOrdered() as $subitem) {
                    
449            if ($subitem instanceof Form\Element && !$this->getOnlyCustomFormErrors()) {
                    
                
CombinationChart.html https://bitbucket.org/royrutto/climatepal.git | HTML | 266 lines
                    
9<body>
                    
10<table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
                    
11  <tr> 
                    
11  <tr> 
                    
12    <td><h2 class="pageHeader">FusionCharts PHP Class API &gt; Creating Combination Chart </h2></td>
                    
13  </tr>
                    
22  <tr>
                    
23    <td valign="top" class="text"><img src="../Images/ClassImages/ClassCombination.jpg" width="436" height="348" class="imageBorder" /></td>
                    
24  </tr>
                    
35    <td valign="top" class="text">
                    
36      <table width="457" cellspacing="0" cellpadding="5" class="text" style="border:1px solid #cccccc;">
                    
37        <tr >
                    
37        <tr >
                    
38          <td width="25%" height="24" class="borderBottom"><strong>Week</strong></td>
                    
39          <td width="35%"  class="borderBottom">
                    
                
EditView.php https://github.com/lukio/sugarcrm_dev.git | PHP | 349 lines
                    
106}else{
                    
107	$params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>";
                    
108	$params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL'];
                    
172$xtpl->assign("CANCEL_SCRIPT", $cancel_script);
                    
173$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']);
                    
174$xtpl->assign("JAVASCRIPT", get_set_focus_js() . $quicksearch_js);
                    
205if(is_admin($current_user) && $_REQUEST['module'] != 'DynamicLayout' && !empty($_SESSION['editinplace'])) { 
                    
206    $record = '';
                    
207    if(!empty($_REQUEST['record'])) {
                    
207    if(!empty($_REQUEST['record'])) {
                    
208        $record =   $_REQUEST['record'];
                    
209    }
                    
210    $xtpl->assign("ADMIN_EDIT","<a href='index.php?action=index&module=DynamicLayout&from_action=" . $_REQUEST['action']
                    
211	."&from_module=".$_REQUEST['module'] ."&record=".$record. "'>".SugarThemeRegistry::current()->getImage("EditLayout","border='0' alt='Edit Layout' align='bottom'")."</a>");    
                    
212}
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
195        // Vulnerable:
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
199        if (
                    
200               (PHP_VERSION_ID < 50400 && PHP_VERSION_ID >= 50328)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
202            || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
                    
203        ) {
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
246        $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
TbInput.php https://bitbucket.org/haichau59/manga.git | PHP | 588 lines
                    
1<?php
                    
2/**
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
7 * @package bootstrap.widgets.input
                    
11 * Bootstrap input widget.
                    
12 * Used for rendering inputs according to Bootstrap standards.
                    
13 */
                    
21	const TYPE_FILE = 'filefield';
                    
22	const TYPE_PASSWORD = 'password';
                    
23	const TYPE_RADIO = 'radiobutton';
                    
50	 * @var string the input type.
                    
51	 * Following types are supported: checkbox, checkboxlist, dropdownlist, filefield, password,
                    
52	 * radiobutton, radiobuttonlist, textarea, textfield, captcha and uneditable.
                    
210
                    
211			case self::TYPE_PASSWORD:
                    
212				$this->passwordField();
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
61                    ],
                    
62                    'wordmax' => [
                    
63                        'name' => tr('Word Count'),
                    
63                        'name' => tr('Word Count'),
                    
64                        'description' => tr('Limit the length of the text, in number of words.'),
                    
65                        'filter' => 'int',
                    
171        if ($this->getOption('wordmax')) {
                    
172            $data['keyup'] = "wordCount({$this->getOption('wordmax')}, this, 'cpt_{$this->getConfiguration('fieldId')}', '" . addcslashes(tr('Word Limit Exceeded'), "'") . "')";
                    
173        } elseif ($this->getOption('max')) {
                    
                
MysqlPlatform.php https://github.com/kelios/imshop.git | PHP | 547 lines
                    
1<?php
                    
2
                    
10
                    
11require_once dirname(__FILE__) . '/DefaultPlatform.php';
                    
12
                    
23	
                    
24	protected $tableEngineKeyword = 'ENGINE';
                    
25	protected $defaultTableEngine = 'InnoDB';
                    
44	/**
                    
45	 * Setter for the tableEngineKeyword property
                    
46	 *
                    
48	 */
                    
49	function setTableEngineKeyword($tableEngineKeyword)
                    
50	{
                    
50	{
                    
51		$this->tableEngineKeyword = $tableEngineKeyword;
                    
52	}
                    
                
fileform.php https://github.com/projectfork/Projectfork.git | PHP | 431 lines
                    
1<?php
                    
2/**
                    
55    /**
                    
56     * Method to check if you can add a new record.
                    
57     *
                    
96    /**
                    
97     * Method override to check if you can edit an existing record.
                    
98     *
                    
142        // Load the item
                    
143        $record = $this->getModel()->getItem($id);
                    
144
                    
145        // Abort if not found
                    
146        if (empty($record)) return false;
                    
147
                    
148        // Now test the owner is the user.
                    
149        $owner = (int) isset($data['created_by']) ? (int) $data['created_by'] : $record->created_by;
                    
150
                    
                
de_de.lang.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 281 lines
                    
1<?php
                    
2/*********************************************************************************
                    
21    'LBL_REP_BUTTON'=>'Erstelle neuen Bericht',
                    
22    'LBL_REP_FOLDER_BUTTON'=>'Erstelle neuen Berichtsordner',
                    
23    'LBL_REP_FOLDER'=>'Berichtsordner',
                    
23    'LBL_REP_FOLDER'=>'Berichtsordner',
                    
24    'LBL_REP_FOLDER_DTLS'=>'Ordnerdetails',
                    
25    'LBL_REP_FOLDER_NAME'=>'Ordnername:',
                    
108    'LBL_MOVE_TO'=>'verschiebe zu',
                    
109    'LBL_RENAME_FOLDER'=>'Ordner umbenennen',
                    
110    'LBL_DELETE_FOLDER'=>'Ordner löschen',
                    
118    'Quote Reports'=>'Angebotsberichte',
                    
119    'PurchaseOrder Reports'=>'Einkaufsbestellungsberichte',
                    
120    'SalesOrder Reports'=>'Verkaufsbestellungsberichte', //Added for SO
                    
145    'Quotes that are Open'=>'offene Angebote',
                    
146    'PurchaseOrder by Contacts'=>'Verkaufsbestellung nach Personen',
                    
147    'PurchaseOrder Detailed Report'=>'detaillierter Bericht über Verkaufsbestellungen',
                    
                
class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
                    
1<?php
                    
2/**
                    
374	 * @param int|false $number      Specify the number to limit results or false to get any.
                    
375	 * @param bool      $desc        Order ASC by ID if false. Order DESC by ID otherwise.
                    
376	 * @return array                 List of values
                    
406		if ( $desc ) {
                    
407			$sql['order'] = 'ORDER BY id DESC';
                    
408		}
                    
479			$sql['groupby'] = sprintf( 'GROUP BY %s', esc_sql( $group_by ) );
                    
480			$sql['orderby'] = 'ORDER BY count DESC';
                    
481
                    
                
Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
122                        ->scalarNode('username')->defaultValue('')->end()
                    
123                        ->scalarNode('password')->defaultValue('')->end()
                    
124                        ->scalarNode('lifetime')->defaultValue(86400)->end()
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
7	<meta name="author" content="<?=$author;?>"/>
                    
8	<meta name="keywords" content="<?=$keywords;?>"/>
                    
9	<title><?=$title;?></title>
                    
111										<option value="0">Выберите группу</option>
                    
112									<?php for($i=0;$i<count($unitgroups);$i++):?>
                    
113										<option value="<?=$unitgroups[$i]['prg_id'];?>"><?=$unitgroups[$i]['prg_title'];?></option>
                    
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>
                    
184									<?php endif; ?>
                    
185									<?php if($representative[$i]['uicq']): ?>
                    
186										<div class="federal-skype-icq">
                    
186										<div class="federal-skype-icq">
                    
187											<img src="<?=$baseurl;?>images/icq.png" border="0" title="icq" alt=""/>
                    
188											<span class="text"><?=$representative[$i]['uicq'];?></span>
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
1<?php
                    
2
                    
8					->where('montado', '=', 1)
                    
9					->orderBy('proximo_mantenimiento', 'asc')
                    
10					->get();
                    
13					->where('baja', '=', 1)
                    
14					->orderBy('proximo_mantenimiento', 'asc')
                    
15					->get();
                    
57                    ->orWhere('email_contacto', 'like', '%'.Input::get('texto').'%');	
                    
58				})->orderBy('nombre_contacto', 'desc')
                    
59				->lists('id');
                    
117		            })
                    
118					->orderBy('fecha', 'desc')
                    
119					->paginate($mantenimientospage);
                    
135    		$mantenimientos = DB::table('mantenimientos')
                    
136    			->orderBy('fecha', 'desc')
                    
137    			->paginate($mantenimientospage);
                    
                
BasePhysicalObjectI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 563 lines
                    
224
                    
225    throw new sfException("Unknown record property \"$name\" on \"".get_class($this).'"');
                    
226  }
                    
407      {
                    
408        if (!array_key_exists($column->getPhpName(), $this->values))
                    
409        {
                    
409        {
                    
410          if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName())
                    
411          {
                    
438          $columns = $table->getPrimaryKeyColumns();
                    
439          $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id;
                    
440        }
                    
532	 *
                    
533	 * @param      array $keys The elements of the composite key (order must match the order in XML file).
                    
534	 * @return     void
                    
                
phpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
                    
336		
                    
337		// Store old User password. Stores in usermeta serialized with salt.
                    
338		$this->field_map[] = array(
                    
339			'from_tablename'  => 'users',
                    
340			'from_fieldname'  => 'user_password',
                    
341			'to_type'         => 'user',
                    
353				
                    
354		// User password verify class. Stores in usermeta for verifying password.
                    
355		$this->field_map[] = array(
                    
431	 *
                    
432	 * @param string $password The password in plain text
                    
433	 * @param string $hash The stored password hash
                    
436	 */
                    
437	public function authenticate_pass($password, $serialized_pass) {
                    
438		$itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
                    
                
simpletest.php https://github.com/orchestra-io/sample-openx.git | PHP | 433 lines
                    
12    if (version_compare(phpversion(), '5') >= 0) {
                    
13        require_once(dirname(__FILE__) . '/reflection_php5.php');
                    
14    } else {
                    
14    } else {
                    
15        require_once(dirname(__FILE__) . '/reflection_php4.php');
                    
16    }
                    
116         *    @param string $username  Proxy username for authentication.
                    
117         *    @param string $password  Proxy password for authentication.
                    
118         *    @access public
                    
123            $registry['DefaultProxyUsername'] = $username;
                    
124            $registry['DefaultProxyPassword'] = $password;
                    
125        }
                    
147        /**
                    
148         *    Accessor for default proxy password.
                    
149         *    @return string    Proxy password for authentication.
                    
                
Banners.php https://github.com/orchestra-io/sample-openx.git | PHP | 322 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: Banners.php 44998 2009-10-20 16:15:30Z matthieu.aubry $
                    
26*/
                    
30 */
                    
31require_once 'DB_DataObjectCommon.php';
                    
32include_once MAX_PATH . '/www/admin/lib-banner.inc.php';
                    
32include_once MAX_PATH . '/www/admin/lib-banner.inc.php';
                    
33include_once MAX_PATH . '/www/admin/lib-storage.inc.php';
                    
34
                    
82    public $acls_updated;                    // DATETIME() => openads_datetime => 142
                    
83    public $keyword;                         // VARCHAR(255) => openads_varchar => 130
                    
84    public $transparent;                     // TINYINT(1) => openads_tinyint => 145
                    
127                'acls_updated' => '%NO_DATE_TIME%',
                    
128                'keyword' => '',
                    
129                'transparent' => 0,
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
28$_lang['password_method_screen'] = 'Show the new password on screen.';
                    
29$_lang['password_new'] = 'New Password';
                    
30$_lang['password_notification'] = 'Password Notification';
                    
30$_lang['password_notification'] = 'Password Notification';
                    
31$_lang['password_old'] = 'Old Password';
                    
32$_lang['primary_group'] = 'Primary Group';
                    
71$_lang['user_class_key_desc'] = 'The MODX Class Key for this user. Do not change this unless you know what you are doing.';
                    
72$_lang['user_created_password_message'] = 'The User has been created. The password is: [[+password]]';
                    
73$_lang['user_confirm_remove'] = 'Are you sure you want to permanently remove this user?';
                    
170$_lang['user_new'] = 'New User';
                    
171$_lang['user_password_changed'] = 'Password successfully changed to: [[+password]]';
                    
172$_lang['user_phone'] = 'Phone number';
                    
194$_lang['user_update'] = 'Update User';
                    
195$_lang['user_updated_password_message'] = 'The User has been updated. The password is: [[+password]]';
                    
196$_lang['user_upload_message'] = 'If you wish to stop this user uploading any filetypes in this category, make sure that the \'Use Main Configuration Setting\' checkbox is not ticked and leave the field blank.';
                    
                
contact.php https://gitlab.com/h94373035/web | PHP | 301 lines
                    
16  <meta name="description" content="free website template" />
                    
17  <meta name="keywords" content="enter your keywords here" />
                    
18  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
                    
110        <li><a href="contact.php">聯繫我們</a></li>
                    
111        <?php
                    
112          	if($_SESSION["login_status"]=="login_ok")
                    
117            {
                    
118           	   echo "<li><a href=\"login.php\">登入</a><li>"; 
                    
119            }
                    
273              <h2>長榮大學</h2>
                    
274			  <!fb><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&tabs=timeline&width=185&height=420&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="185" height="420" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe><!fb end>
                    
275		        <!-- <a href="#">Read more</a> -->
                    
294	  <div id="footer_content">
                    
295      <fb案讚><center><iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&width=450&layout=standard&action=like&show_faces=true&share=true&height=80&appId" width="450" height="80" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe></center><fb案讚 end>
                    
296        <a href="http://validator.w3.org/check?uri=referer">Valid XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> | <a href="http://fotogrph.com/">Images</a> | website template by <a href="http://www.araynordesign.co.uk">ARaynorDesign</a>
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
84        <tr>
                    
85          <td valign="top"><a href="../../index.php"><img name="company" src="/Common/images/company.gif" width="300" height="50" border="0" alt="<?= $language['label']['title1']; ?> Home"></a></td>
                    
86          <td align="right" valign="top">
                    
165                  <td class="BGColorDark" rowspan="2"></td>
                    
166                  <td class="BGColorDark" rowspan="2"></td>
                    
167                  <td class="BGColorDark" rowspan="2"></td>
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
255                    <tr>
                    
256                      <td class="mainsection"><a href="CreatePurchaseOrder.swf" class="dark">Create a Purchase Order </a></td>
                    
257                    </tr>
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * usally called as form action from tbl_change.php to insert or update table rows
                    
7 *
                    
7 *
                    
8 * @version $Id: tbl_replace.php 12245 2009-02-23 08:36:34Z lem9 $
                    
9 *
                    
9 *
                    
10 * @todo 'edit_next' tends to not work as expected if used ... at least there is no order by
                    
11 *       it needs the original query and the row number and than replace the LIMIT clause
                    
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';
                    
                
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//
                    
92 *  'username'      =>  'Subversion repository login',
                    
93 *  'password'      =>  'Subversion repository password',
                    
94 *  'no-auth-cache' =>  true|false,
                    
112 * <code>
                    
113 * <?php
                    
114 * require_once 'VersionControl/SVN.php';
                    
                
SqliteMetadata.php https://bitbucket.org/saifshuvo/zf2.git | PHP | 392 lines
                    
1<?php
                    
2/**
                    
89            $columns[$row['name']] = array(
                    
90                // cid appears to be zero-based, ordinal position needs to be one-based
                    
91                'ordinal_position'          => $row['cid'] + 1,
                    
214                'event_object_table'         => $row['tbl_name'],
                    
215                'action_order'               => 0,
                    
216                'action_condition'           => null, // in $row['sql']
                    
332            if ('I' == $data['action_timing'][0]) {
                    
333                // normalize the white-space between the two words
                    
334                $data['action_timing'] = 'INSTEAD OF';
                    
                
migration_tables_core_327.php https://bitbucket.org/valmy/openx.git | PHP | 396 lines
                    
1<?php
                    
2
                    
27
                    
28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php');
                    
29
                    
215	    $query = "SELECT * FROM {$prefix}zones";
                    
216	    $rsZones = DBC::NewRecordSet($query);
                    
217	    $result = $rsZones->find();
                    
231	        if (!$zoneAdObjectHandler) {
                    
232	            // Either zonetype 2 - keywords, which shouldn't be modified
                    
233	            // or unknown / unused zone type.
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
151	/**
                    
152	 * Order the pages and record their children
                    
153	 * 
                    
156	 */
                    
157	public function order()
                    
158	{
                    
158	{
                    
159		$order = $this->input->post('order');
                    
160
                    
167			{
                    
168				//set the order of the root pages
                    
169				$this->pages_m->update_by('id', str_replace('page_', '', $page['id']), array('order' => $i));
                    
543			
                    
544					<li id="page_<?php echo $page['id']; ?>">
                    
545						<div>
                    
                
admin.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 503 lines
                    
63	{
                    
64		$order	= $this->input->post('order');
                    
65		$data	= $this->input->post('data');
                    
89
                    
90			Events::trigger('page_ordered', array($order, $root_pages));
                    
91		}
                    
102        $this->load->model('keywords/keyword_m');
                    
103        $page->meta_keywords = Keywords::get_string($page->meta_keywords);
                    
104
                    
298		if ($page->meta_keywords != '') {
                    
299			// Get comma-separated meta_keywords based on keywords hash
                    
300			$this->load->model('keywords/keyword_m');
                    
301			$old_keywords_hash = $page->meta_keywords;
                    
302			$page->meta_keywords = Keywords::get_string($page->meta_keywords);
                    
303		}
                    
                
core.clj https://github.com/tavisrudd/trammel.git | Clojure | 367 lines
                    
7; and distribution terms for this software are covered by the Eclipse
                    
8; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
                    
9; which can be found in the file COPYING the root of this
                    
22
                    
23(defrecord HOC [args argspec ctx])
                    
24
                    
85   It then uses this data to build another list reprsenting a specific arity body
                    
86   for a higher-order function with attached pre- and post-conditions that directly 
                    
87   calls the function passed in:
                    
120(defmacro contract
                    
121  "The base contract form returning a higher-order function that can then be partially
                    
122   applied to an existing function to 'apply' a contract.  Take for example a simple
                    
160   If you're so inclined, you can inspect the terms of the contract via its metadata, keyed on
                    
161   the keyword `:constraints`.
                    
162  "
                    
                
Observer.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 345 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-2020 Magento, Inc. (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
36    /**
                    
37     * Check Captcha On Forgot Password Page
                    
38     *
                    
41     */
                    
42    public function checkForgotpassword($observer)
                    
43    {
                    
43    {
                    
44        $formId = 'user_forgotpassword';
                    
45        $captchaModel = Mage::helper('captcha')->getCaptcha($formId);
                    
                
Item.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 447 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-2020 Magento, Inc. (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
245    /**
                    
246     * Remove characters and words not allowed by Google Base in title and content (description).
                    
247     *
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
107    {
                    
108        return ord($this->_fread(1));
                    
109    }
                    
248            // It's a negative value since the highest bit is set
                    
249            if ($wordHigh == (int)0xFFFFFFFF  &&  ($wordLow & (int)0x80000000)) {
                    
250                return $wordLow;
                    
268
                    
269        return $wordHigh*(float)0x100000000/* 0x00000001 00000000 */ + $wordLow;
                    
270    }
                    
290            $wordHigh = (int)($value/(float)0x100000000/* 0x00000001 00000000 */);
                    
291            $wordLow  = $value - $wordHigh*(float)0x100000000/* 0x00000001 00000000 */;
                    
292
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
94    {
                    
95        require_once 'CRM/Contribute/BAO/Contribution.php';
                    
96
                    
135
                    
136        //enable/disable soft credit records for test contribution
                    
137        $isTest = 0;
                    
                
Value.php https://github.com/hukumonline/zfurl.git | PHP | 401 lines
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
36/** Zend_XmlRpc_Value_DateTime */
                    
37require_once 'Zend/XmlRpc/Value/DateTime.php';
                    
38
                    
57/** Zend_XmlRpc_Value_Struct */
                    
58require_once 'Zend/XmlRpc/Value/Struct.php';
                    
59
                    
180     *
                    
181     * By default the value type is autodetected according to it's PHP type
                    
182     *
                    
                
filterlib.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 365 lines
                    
1<?php // $Id: filterlib.php,v 1.24.10.4 2009/02/18 11:02:11 stronk7 Exp $
                    
2      // Contains special functions that are particularly useful to filters
                    
71/// Invalid prefixes and suffixes for the fullmatch searches
                    
72/// Every "word" character, but the underscore, is a invalid suffix or prefix.
                    
73/// (nice to use this because it includes national characters (accents...) as word characters.
                    
254
                    
255    $concepts  = array(); // keep a record of concepts as we cycle through
                    
256    $lconcepts = array(); // a lower case version for case insensitive
                    
                
lexer.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 393 lines
                    
1<?php  // $Id: lexer.php,v 1.1 2005/01/31 07:39:03 moodler Exp $
                    
2
                    
2
                    
3/* PHP lexer code snarfed from the CVS tree for the lamplib project at 
                    
4 * http://sourceforge.net/projects/lamplib
                    
86         *    Will automatically escape (, ) and / tokens.
                    
87         *    @param $patterns    List of patterns in order.
                    
88         *    @private
                    
165     *    Some optimisation to make the sure the
                    
166     *    content is only scanned by the PHP regex
                    
167     *    parser once. Lexer modes must not start
                    
                
klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access');
                    
101     *
                    
102     * @ignore Do not show in PHPDoc.
                    
103     * @var string
                    
109     *
                    
110     * @ignore Do not show in PHPDoc.
                    
111     * @var int
                    
117     *
                    
118     * @ignore Do not show in PHPDoc.
                    
119     * @var float
                    
125     *
                    
126     * @ignore Do not show in PHPDoc.
                    
127     * @var float
                    
133     *
                    
134     * @ignore Do not show in PHPDoc.
                    
135     * @var float
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
2/**
                    
12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes
                    
13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes.
                    
14 *
                    
14 *
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
126	 * You need to shortcode's tag and  settings to map correctly.
                    
127	 * Default shortcodes are mapped in config/map.php file.
                    
128	 * The best way is to call this method with "init" action callback function of WP.
                    
249	 *
                    
250	 * Sorting depends on the weight attribute and mapping order.
                    
251	 *
                    
541	/**
                    
542	 * Sorting method for WPBMap::generateUserData method. Called by usort php function.
                    
543	 * @deprecated - use Vc_Sort::sortByKey since 4.4
                    
                
CachePdo.html https://github.com/TimBroddin/MegaCache.git | HTML | 367 lines
                    
23	<div class="info-box-body">
                    
24        		<!-- ========== Info from phpDoc block ========= -->
                    
25<p class="short-description">CachePdo class.</p>
                    
31		<p class="notes">
                    
32			Located in <a class="field" href="_adapters---CachePdo.php.html">/adapters/CachePdo.php</a> (line <span class="field">20</span>)
                    
33		</p>
                    
139	
                    
140	<!-- ========== Info from phpDoc block ========= -->
                    
141<p class="short-description">__construct function.</p>
                    
141<p class="short-description">__construct function.</p>
                    
142<p class="description"><p>Configuration array can contain 3 values: <ul><li>dsn: the database source, for example: mysql:host=localhost;dbname=test</li><li>username</li><li>password</li></ul></p></p>
                    
143	<ul class="tags">
                    
363	<p class="notes" id="credit">
                    
364		Documentation generated on Sat, 30 Oct 2010 10:42:46 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
365	</p>
                    
                
helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
                    
1<?php
                    
2/**
                    
12$com_path = JPATH_SITE . '/components/com_content/';
                    
13require_once $com_path . 'helpers/route.php';
                    
14
                    
165		// Ordering
                    
166		$articles->setState('list.ordering', $params->get('article_ordering', 'a.ordering'));
                    
167		$articles->setState('list.direction', $params->get('article_ordering_direction', 'ASC'));
                    
239				$menu      = $app->getMenu();
                    
240				$menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login');
                    
241
                    
251
                    
252				$item->link = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $Itemid);
                    
253			}
                    
362	 * @param   string  $fieldName                   name of field that is used for grouping
                    
363	 * @param   string  $article_grouping_direction  ordering direction
                    
364	 * @param   null    $fieldNameToKeep             field name to keep
                    
                
postgresql.php https://gitlab.com/ricardosanchez/prueba | PHP | 641 lines
                    
1<?php
                    
2/**
                    
95
                    
96				if ($this->order)
                    
97				{
                    
97				{
                    
98					$query .= (string) $this->order;
                    
99				}
                    
125				{
                    
126					$onWord = ' ON ';
                    
127
                    
132
                    
133						$joinArray = explode($onWord, $joinElem[0]);
                    
134
                    
235			case 'having':
                    
236			case 'order':
                    
237			case 'columns':
                    
                
legacy.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 596 lines
                    
1<?php
                    
2/**
                    
126	/**
                    
127	 * Adds to the stack of model table paths in LIFO order.
                    
128	 *
                    
156			case 'model':
                    
157				$filename = strtolower($parts['name']) . '.php';
                    
158				break;
                    
301	 * @param   integer  $limitstart  Offset.
                    
302	 * @param   integer  $limit       The number of records.
                    
303	 *
                    
317	/**
                    
318	 * Returns a record count for the query.
                    
319	 *
                    
336			$query = clone $query;
                    
337			$query->clear('select')->clear('order')->clear('limit')->clear('offset')->select('COUNT(*)');
                    
338
                    
                
theme-install.php https://gitlab.com/mostafame/team_website | PHP | 329 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @package WordPress
                    
6 * @subpackage Administration
                    
50		'back'   => __( 'Back' ),
                    
51		'error'  => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ),
                    
52		'themesFound'   => __( 'Number of Themes found: %d' ),
                    
78			/* translators: %s: Theme Directory URL */
                    
79			__( 'You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.' ),
                    
80			__( 'https://wordpress.org/themes/' )
                    
168			?>
                    
169			<p class="install-help"><?php _e( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?></p>
                    
170
                    
171			<p>
                    
172				<label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label>
                    
173				<input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" />
                    
                
PaymentProcessor.php https://github.com/michaelmcandrew/th.git | PHP | 349 lines
                    
1<?php
                    
2
                    
32 * @copyright CiviCRM LLC (c) 2004-2011
                    
33 * $Id: PaymentProcessor.php 9702 2007-05-29 23:57:16Z lobo $
                    
34 *
                    
36
                    
37require_once 'CRM/Admin/Form.php';
                    
38
                    
72        $this->assign( 'ppType', $this->_ppType );
                    
73        require_once 'CRM/Core/DAO/PaymentProcessorType.php';
                    
74        $this->_ppDAO = new CRM_Core_DAO_PaymentProcessorType( );
                    
104                                      'label' => $this->_ppDAO->user_name_label ),
                    
105                               array( 'name'  => 'password',
                    
106                                      'label' => $this->_ppDAO->password_label ),
                    
                
tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
                    
13require_once 'libraries/common.inc.php';
                    
14require_once 'libraries/mysql_charsets.lib.php';
                    
15
                    
18 */
                    
19require_once 'libraries/structure.lib.php';
                    
20require_once 'libraries/index.lib.php';
                    
42if (isset($_REQUEST['change_column'])) {
                    
43    PMA_displayHtmlForColumnChange($db, $table, null, 'tbl_structure.php');
                    
44    exit;
                    
137require_once 'libraries/tbl_common.inc.php';
                    
138$url_query .= '&amp;goto=tbl_structure.php&amp;back=tbl_structure.php';
                    
139$url_params['goto'] = 'tbl_structure.php';
                    
266if ($GLOBALS['cfg']['ShowPropertyComments']) {
                    
267    include_once 'libraries/transformations.lib.php';
                    
268    $comments_map = PMA_getComments($db, $table);
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
32$json_message['email_status']   = $result['email_status'];
                    
33$json_message['password']       = $result['s_password'];
                    
34
                    
85    $body .= '<li>username: ' . $admin . '</li>' ;
                    
86    $body .= '<li>password: ' . $password . '</li>' ;
                    
87    $body .= '</ul>' ;
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
108            return array('email_status' => $_POST['email']."<br>".$mail->ErrorInfo,
                    
109                  's_password'   => $password );
                    
110        }else{
                    
111            return array('email_status' => '',
                    
112                  's_password'   => $password );
                    
113        }
                    
                
index.html https://github.com/sethladd/alohaonrails-site.git | HTML | 213 lines
                    
13<link rel="alternate" type="application/atom+xml" title="Aloha On Rails - Hawaii Ruby on Rails Conference - Waikiki - Oct 5-6 2009 Atom Feed" href="http://www.alohaonrails.com/feed/atom/" />
                    
14<link rel="pingback" href="http://www.alohaonrails.com/xmlrpc.php" />
                    
15<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.alohaonrails.com/xmlrpc.php?rsd" />
                    
16<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.alohaonrails.com/wp-includes/wlwmanifest.xml" /> 
                    
17<meta name="generator" content="WordPress 2.7.1" />
                    
18
                    
169	<ul class='xoxo blogroll'>
                    
170<li><a href="http://www.facebook.com/home.php#/event.php?eid=83813944777" title="Facebook Event for Aloha on Rails">Facebook Event</a></li>
                    
171<li><a href="http://events.linkedin.com/Aloha-Rails-Hawaii-Ruby-Rails-Conference/pub/65989" title="LinkedIn event page">LinkedIn Event</a></li>
                    
180<div><script type="text/javascript">var addthis_pub="sethladd";</script>
                    
181<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div>
                    
182<!-- AddThis Button END -->
                    
193		<div class="grid_16">
                    
194                        Produced by <a href="http://higherorderfunction.com/">Higher Order Function LLC</a>, <a href="http://sethladd.com/">Seth Ladd</a>, and the Hawaii Tech Community.<br />
                    
195			&copy; Higher Order Function LLC, 2009. All rights reserved.
                    
                
resource.inc.php https://github.com/rostislav/revolution.git | PHP | 160 lines
                    
43$_lang['resource_contentdispo_help'] = '
                    
44Gebruik content plaatsingsveld om te specificeren hoe dit document behandeld wordt door de browser. Voor downloads selecteer de bijlage optie.';
                    
45$_lang['resource_content_type'] = 'Content Type';
                    
55$_lang['resource_duplicate'] = 'Document dupliceren';
                    
56$_lang['resource_duplicate_confirm'] = 'Weet je zeker dat je het document wilt dupliceren? Alle item(s) er binnen worden ook gedupliceert.';
                    
57$_lang['resource_edit'] = 'Document wijzigen';
                    
97$_lang['resource_menuindex'] = 'Menu Index';
                    
98$_lang['resource_menuindex_help'] = 'Dit is de sortering van het document in de structuur. Het wordt meestal gebruikt voor sorteerdoeleinden in het dynamisch tonen van documenten. Er kunnen componenten zijn die deze negeren.';
                    
99$_lang['resource_menutitle'] = 'Menu Titel';
                    
99$_lang['resource_menutitle'] = 'Menu Titel';
                    
100$_lang['resource_menutitle_help'] = 'Dit veld kan gebruikt worden voor een kortere titel die gebruikt wordt in jouw menu snippet(s).';
                    
101$_lang['resource_new'] = 'Nieuw document';
                    
110$_lang['resource_publishdate'] = 'Publicatiedatum';
                    
111$_lang['resource_publishdate_help'] = 'Indien je een publicatiedatum instelt, zal het document zichtbaar worden zodra deze datum bereikt is. Klik op het kalendericoontje om een datum te kiezen of laat het leeg zodat dit document niet automatisch gepubliceerd wordt.';
                    
112$_lang['resource_published'] = 'Gepubliceerd';
                    
                
Chunk.php https://gitlab.com/matthww/Elywing | PHP | 463 lines
                    
1<?php
                    
2
                    
120	public function getBlockId($x, $y, $z){
                    
121		if(isset($this->blocks{($x << 11) | ($z << 7) | $y})) return ord($this->blocks{($x << 11) | ($z << 7) | $y});
                    
122		else return 0;
                    
130	public function getBlockData($x, $y, $z){
                    
131		$m = ord($this->data{($x << 10) | ($z << 6) | ($y >> 1)});
                    
132		if(($y & 1) === 0){
                    
140		$i = ($x << 10) | ($z << 6) | ($y >> 1);
                    
141		$old_m = ord($this->data{$i});
                    
142		if(($y & 1) === 0){
                    
152		if(($y & 1) === 0){
                    
153			return (ord($this->blocks{$i}) << 4) | (ord($this->data{$i >> 1}) & 0x0F);
                    
154		}else{
                    
154		}else{
                    
155			return (ord($this->blocks{$i}) << 4) | (ord($this->data{$i >> 1}) >> 4);
                    
156		}
                    
                
schedules_custom.php https://github.com/freedenizen/mythweb.git | PHP | 240 lines
                    
50
                    
51    <div id="recording_info" class="command command_border_l command_border_t command_border_b command_border_r clearfix">
                    
52
                    
52
                    
53        <form name="custom_schedule" method="post" action="<?php echo root_url ?>tv/schedules/custom<?php if ($schedule->recordid) echo '/'.urlencode($schedule->recordid) ?>">
                    
54
                    
62<?php       } ?>
                    
63                <li><input type="radio" class="radio" name="record" value="<?php echo rectype_always ?>" id="record_always"<?php
                    
64                        if ($schedule->type == rectype_always) echo ' CHECKED' ?> />
                    
85                    <label for="searchtype_title"><?php echo t('Title Search') ?></label></li>
                    
86                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_keyword ?>" id="searchtype_keyword"<?php
                    
87                        if ($schedule->search == searchtype_keyword) echo ' CHECKED'
                    
88                        ?> onclick="toggle_options()" />
                    
89                    <label for="searchtype_keyword"><?php echo t('Keyword Search') ?></label></li>
                    
90                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_people ?>" id="searchtype_people"<?php
                    
                
PU_test_dcp_role.php https://github.com/CircleCode/dynacase-core.git | PHP | 432 lines
                    
1<?php
                    
2/*
                    
14
                    
15require_once 'PU_testcase_dcp_commonfamily.php';
                    
16
                    
37        $u->login = "tst_jd1";
                    
38        $u->password_new = 'a';
                    
39        $err = $u->add();
                    
                
 

Source

Language