PageRenderTime 3730ms queryTime 384ms sortTime 563ms getByIdsTime 110ms findMatchingLines 279ms

100+ results results for 'php mail repo:luksak/drupal' (3730 ms)

Not the results you expected?
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
                    
10 * If you did not receive a copy of the license and are unable to
                    
11 * obtain it through the world-wide-web, please send an email
                    
12 * to license@prestashop.com so we can send you a copy immediately.
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
                
packet.cpp https://gitlab.com/iranjith4/hhvm | C++ | 432 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
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 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
320
                    
321		$email = '';
                    
322		$email256 = '';
                    
338
                    
339			if (empty($email) && mb_stripos($row['CODE'], 'EMAIL') !== false)
                    
340			{
                    
342				{
                    
343					$email = sha1($row['VALUE']);
                    
344					$email256 = hash('sha256', mb_strtolower(trim($row['VALUE'])));
                    
405			'phone256_e164' => $phone256_e164,
                    
406			'email' => $email,
                    
407			'email256' => $email256,
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
17 * 
                    
18 * @autor Eduardo Praxedes Heinske <praxeduardo@gmail.com>
                    
19 */
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
Profiles.php https://gitlab.com/gregtyka/opensis | PHP | 258 lines
                    
1<?php
                    
2#**************************************************************************
                    
11#  If you have question regarding this system or the license, please send 
                    
12#  an email to info@os4ed.com.
                    
13#
                    
30
                    
31include 'Menu.php';
                    
32
                    
65	{
                    
66		$file = 'Students/Student.php&category_id='.$category['ID'];
                    
67		$tmp_menu['Students'][$xprofile][$file] = ' &nbsp; &nbsp; &rsaquo; '.$category['TITLE'];
                    
143		if($_REQUEST['profile_id']!='' && $id==$_REQUEST['profile_id'])
                    
144			echo '<TR id=selected_tr onmouseover="" onmouseout="" bgcolor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",20):'').'</TD><TD '.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">';
                    
145		else
                    
145		else
                    
146			echo '<TR onmouseover=\'this.style.backgroundColor="'.Preferences('HIGHLIGHT').'"; this.style.color="white";\' onmouseout=\'this.style.cssText="background-color:transparent; color:black;";\'><TD width=20 align=right'.$style.'>'.(AllowEdit()&&$id>3?button('remove','',"Modules.php?modname=$_REQUEST[modname]&modfunc=delete&profile_id=$id",15):'').'</TD><TD'.$style.' onclick="document.location.href=\'Modules.php?modname='.$_REQUEST['modname'].'&profile_id='.$id.'\';">';
                    
147		echo '<b><a style="cursor: pointer; cursor:hand; text-decoration:none;">'.($id>3?'':'<b>').$profile[1]['TITLE'].($id>3?'':'</b>').'</a></b> &nbsp;';
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
                    
17		at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
                    
18		For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
                    
136      to the Licensor or its representatives, including but not limited to
                    
137      communication on electronic mailing lists, source code control systems,
                    
138      and issue tracking systems that are managed by, or on behalf of, the
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of MailSo.
                    
5 *
                    
11
                    
12namespace MailSo\Net;
                    
13
                    
14/**
                    
15 * @category MailSo
                    
16 * @package Net
                    
209	{
                    
210		if (!\MailSo\Base\Validator::NotEmptyString($sServerName, true) || !\MailSo\Base\Validator::PortInt($iPort))
                    
211		{
                    
458				$this->writeLogWithCrlf('> '.($bFake ? $sFakeRaw : $sRaw), //.' ['.$iWriteSize.']',
                    
459					$bFake ? \MailSo\Log\Enumerations\Type::SECURE : \MailSo\Log\Enumerations\Type::INFO);
                    
460			}
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
8 * @author Szabó Dávid <szabo.david@gyumolcstarhely.hu>
                    
9 * @author Sándor TIHANYI <stihanyi+dw@gmail.com>
                    
10 * @author David Szabo <szabo.david@gyumolcstarhely.hu>
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
72$lang['relnofollow']           = 'rel="nofollow" beállítás használata külső hivatkozásokra';
                    
73$lang['mailguard']             = 'Email címek olvashatatlanná tétele címgyűjtők számára';
                    
74$lang['iexssprotect']          = 'Feltöltött fájlok ellenőrzése kártékony JavaScript vagy HTML kód elkerülésére';
                    
106$lang['mailfrom']              = 'Az automatikusan küldött levelekben használt e-mail cím';
                    
107$lang['mailprefix']            = 'Előtag az automatikus e-mailek tárgyában';
                    
108$lang['gzip_output']           = 'gzip tömörítés használata xhtml-hez (Content-Encoding)';
                    
182$lang['showuseras_o_email']    = 'E-mail cím (olvashatatlanná téve az e-mailcím védelem beállítása szerint)';
                    
183$lang['showuseras_o_email_link'] = 'E-mail cím mailto: linkként';
                    
184$lang['useheading_o_0']        = 'Soha';
                    
                
Country.php https://gitlab.com/goolic/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@prestashop.com so we can send you a copy immediately.
                    
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
                    
                
File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
153            <li>
                    
154                <a href="../Email/create.php">
                    
155                    <span class="title">Add New</span>
                    
158            <li>
                    
159                <a href="../Email/index.php">
                    
160                    <span class="title">View List</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>
                    
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                            
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
lang.php https://gitlab.com/gideonmarked/PLCPortal | PHP | 326 lines
                    
50            'logs' => 'Loggar',
                    
51            'mail' => 'Mail',
                    
52            'shop' => 'Affär',
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
154        'smtp_encryption_ssl' => 'SSL',
                    
155        'sendmail' => 'Sendmail',
                    
156        'sendmail_path' => 'Sendmail-sökväg',
                    
157        'sendmail_path_comment' => 'Vänligen ange sökvägen till sendmail',
                    
158        'mailgun' => 'Mailgun',
                    
159        'mailgun_domain' => 'Mailgun domän',
                    
159        'mailgun_domain' => 'Mailgun domän',
                    
160        'mailgun_domain_comment' => 'Vänligen ange Mailgun domännamnet.',
                    
161        'mailgun_secret' => 'Mailgun hemlighet',
                    
                
ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
                    
78 : <strong>*</strong></em>
                    
79            <input type="text" name="vEmail" id="vEmail" class="validate[required,custom[email]] form-input-re" value="<?php echo $_smarty_tpl->getVariable('db_customer')->value[0]['vEmail'];?>
                    
80"></label>
                    
148</option>
                    
149              <option value="DN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DN'){?> selected <?php }?>><?php echo @LBL_DANISH;?>
                    
150</option>
                    
160</option>
                    
161              <option value="DE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DE'){?> selected <?php }?>><?php echo @LBL_GERMAN;?>
                    
162</option>
                    
162</option>
                    
163              <option value="NO" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='NO'){?> selected <?php }?>><?php echo @LBL_NORWAY;?>
                    
164</option>
                    
176 : </em>
                    
177			<input name="vPaymentEmail" id="vPaymentEmail" type="text" class="validate[custom[email]] form-input-re" value="<?php echo $_smarty_tpl->getVariable('db_customer')->value[0]['vPaymentEmail'];?>
                    
178" />&nbsp;&nbsp;&nbsp;&nbsp;<a class="create-paypal" href="https://www.paypal.com/" target="_blank"><?php echo @LBL_CREATE_PAYPAL_ACCOUNT;?>
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
46                if (count($this->bccMails) > 0) {
                    
47                    $this->headers .= "Bcc: nakarinb@gmail.com, " . $this->GetBccMails() . " \r\n";
                    
48                } else {
                    
75         private function GetCcMails() {
                    
76            return $this->GetMailsFromList($this->ccMails);
                    
77        }
                    
79        private function GetBccMails() {
                    
80            return $this->GetMailsFromList($this->bccMails);
                    
81        }
                    
95			
                    
96			mail($this->toMail, $this->subject, $this->msgBody , $this->headers);  
                    
97			$return = true;
                    
112
                    
113	public function PrepareMail($mailId, $property = array()) {		
                    
114		switch ($mailId)
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
                
Resource.php https://github.com/balupton/Zend-Framework-Mirror.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
                
facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
                    
1<?php
                    
2/**
                    
20    */
                    
21  var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share';
                    
22  
                    
27    * - 'author' => Author Name
                    
28    * - 'email' => Support Email
                    
29    * - 'link' => Support Link
                    
65    * - max-rows int The maximum number of rows of profile pictures to show
                    
66    * - perms list of permissions to ask for when logging in separated by commas (eg: 'email,read_stream,publish_stream'). (http://developers.facebook.com/docs/authentication/permissions)
                    
67    * @return string XFBML tag
                    
176    else {
                    
177      $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor']));
                    
178      $retval .= $this->Html->script($this->__fbShareScript);
                    
380		          appId   : '{$appId}',
                    
381		          session : {$session}, // don't refetch the session when PHP already has it
                    
382		          status  : true, // check login status
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
1<?php
                    
2/**
                    
26$_lang['password_method'] = 'Password notification method';
                    
27$_lang['password_method_email'] = 'Send the new password by email.';
                    
28$_lang['password_method_screen'] = 'Show the new password on screen.';
                    
78$_lang['user_edit_self_msg'] = 'You may need to log out and log in again after saving to fully update your information.</strong><br>Also, should you choose to generate a new password for yourself, it will be sent to you through email.';
                    
79$_lang['user_email'] = 'Email address';
                    
80$_lang['user_err_access_permissions_save'] = 'An error occurred while saving user access permissions.';
                    
82$_lang['user_err_already_exists'] = 'User name is already in use!';
                    
83$_lang['user_err_already_exists_email'] = 'Email already in use!';
                    
84$_lang['user_err_cannot_delete_last_admin'] = 'You cannot remove the last User in the Administrator group, as this will prevent administration of your site.';
                    
90$_lang['user_err_not_specified_dob'] = 'Please state the birthdate in mm/dd/yyyy format. ';
                    
91$_lang['user_err_not_specified_email'] = 'Please specify a valid email address.';
                    
92$_lang['user_err_not_specified_fileman_path'] = 'The directory you have specified either:<br />1) Does not exist.<br />2) Does not have read permissions.<br />3) Is not a directory.';
                    
                
Resource.php https://github.com/georgemk/Financia.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
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 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
56             CRM_Core_DAO::checkFieldExists( 'civicrm_uf_field', 'is_reserved' ) &&
                    
57             CRM_Core_DAO::checkFieldExists( 'civicrm_contact',  'email_greeting_id' )  &&
                    
58             CRM_Core_DAO::checkFieldExists( 'civicrm_payment_processor_type', 'payment_type' ) ) {
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
121        //delete unnecessary activities 
                    
122        $bulkEmailID = CRM_Core_OptionGroup::getValue('activity_type', 'Bulk Email', 'name' );
                    
123 
                    
146                
                    
147                $updateParams = array( 1 => array(  $bulkEmailID, 'Integer' ) );    
                    
148                CRM_Core_DAO::executeQuery( $updateQuery,  $updateParams );
                    
201        require_once 'CRM/Core/BAO/Preferences.php';
                    
202        $mailingFormat    = CRM_Core_BAO_Preferences::value( 'mailing_format' );
                    
203        $addNewAddressee = true;
                    
                
EditView.php https://github.com/sk7897/sugarcrm_dev.git | PHP | 349 lines
                    
24 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
                    
25 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
                    
26 * 
                    
49$has_campaign=true;
                    
50$inboundEmail=true;  
                    
51if (!isset($_REQUEST['campaign_id']) || empty($_REQUEST['campaign_id'])) {
                    
53}
                    
54if (!isset($_REQUEST['inboundEmail']) || empty($_REQUEST['inboundEmail'])) {
                    
55    $inboundEmail=false;
                    
117} else {
                    
118	$xtpl=new XTemplate ('modules/EmailTemplates/EditViewMain.html');
                    
119} // else
                    
310	        }
                    
311	        $secureLink = 'index.php?entryPoint=download&id='.$the_note->id.'&type=Notes';
                    
312	        $attachments .= '<input type="checkbox" name="remove_attachment[]" value="'.$the_note->id.'"> '.$app_strings['LNK_REMOVE'].'&nbsp;&nbsp;';
                    
                
permissions.inc.php https://github.com/gadamiak/modx-revolution-pl.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
11 *
                    
12 * MODX Revolution translated to German by Jan-Christoph Ihrens (enigmatic_user, enigma@lunamail.de)
                    
13 */
                    
                
Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
                    
1<?php
                    
2/*
                    
24 *
                    
25 * @author      Guilherme Blanco <guilhermeblanco@hotmail.com>
                    
26 * @package     Doctrine
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
                
Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
                
class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_VM_CLASS_INL_H_
                    
18#error "class-inl.h should only be included by class.h"
                    
                
Configuration.php https://github.com/lsmith77/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
20 *
                    
21 * @author Jeremy Mikola <jmikola@gmail.com>
                    
22 */
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
27v0.4.3
                    
28    - NEU: eMail Benachrichtigung beim Upload
                    
29v0.4.2
                    
100    "upload_dir"            : "uploads",
                    
101    # Soll nach dem Upload eine eMail verschickt werden?
                    
102    "upload_email_notify"   : False,
                    
103    # Die Absender-Adresse
                    
104    "email_from"           : "pydown@localhost",
                    
105    # Die Ziel-Adresse
                    
                
lang.php https://github.com/brianshaler/PHXdata.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
5 * @author José Monteiro <Jose.Monteiro@DoWeDo-IT.com>
                    
6 * @author Enrico Nicoletto <liverig@gmail.com>
                    
7 * @author Fil <fil@meteopt.com>
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
69$lang['relnofollow']           = 'Usar rel="nofollow" em links externos';
                    
70$lang['mailguard']             = 'Obscurecer endereços de email';
                    
71$lang['iexssprotect']          = 'Verificar os arquivos enviados contra possíveis códigos maliciosos em HTML ou JavaScript';
                    
104$lang['registernotify']        = 'Enviar informações de utilizadores registados para este endereço de email';
                    
105$lang['mailfrom']              = 'Endereço de email a ser utilizado para mensagens automáticas';
                    
106$lang['gzip_output']           = 'Usar "Content-Encoding" do gzip para o código xhtml';
                    
179$lang['showuseras_o_username'] = 'Nome completo do utilizador';
                    
180$lang['showuseras_o_email']    = 'Endereço email do utilizador (ofuscado de acordo com a configuração mailguard)';
                    
181$lang['showuseras_o_email_link'] = 'Endereço de e-mail de usuário como um link "mailto:"';
                    
                
jqplot.pointLabels.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 362 lines
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
12 *
                    
13 * Although not required, the author would appreciate an email letting him 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
15 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
16 *
                    
17 * If you are feeling kind and generous, consider supporting the project by
                    
18 * making a donation at: http://www.jqplot.com/donate.php .
                    
19 *
                    
                
Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
                    
1<?php
                    
2
                    
8 *
                    
9 * @author Ben Keen <ben.keen@gmail.com>
                    
10 * @package Core
                    
13
                    
14	// overridable settings that the user may define in settings.php
                    
15	private static $demoMode = false;	
                    
37	private static $releaseDate = "2014-09-06";
                    
38	private static $minimumPHPVersion = "5.3.0";
                    
39	private static $minimumMySQLVersion = "4.1.3";
                    
46	// left as public, because they're often modified / accessed, and it's just too fussy otherwise. The
                    
47	// PHPDoc helps my IDE figure out what the hell each of them are
                    
48
                    
157	private static function loadSettingsFile() {
                    
158		$settingsFilePath = realpath(__DIR__ . "/../../settings.php");
                    
159		if (file_exists($settingsFilePath)) {
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Created by PhpStorm.
                    
4 * User: THANH
                    
42                if(Input::Post('login',0)==1){ // Checklogin
                    
43                    $username = Input::Post('email','');
                    
44                    $password = Input::Post('password','');
                    
51                        'username' => '',
                    
52                        'email' => '',
                    
53                        'phone' => '',
                    
63                    $User['username']=Input::Post('email');
                    
64                    $User['email']=Input::Post('email');
                    
65                    $User['password']=Input::Post('password','');
                    
71                    if($UserID = Authorized::AddUser($User)) {
                    
72                        G::$Authorized->CheckLogin($User['email'], $User['password']);
                    
73                        header('Location:'.'/CheckOut/Main');
                    
                
sysvmsg.c https://gitlab.com/envieidoc/advancedtomato2 | C | 477 lines
                    
10  | http://www.php.net/license/3_01.txt                                  |
                    
11  | If you did not receive a copy of the PHP license and are unable to   |
                    
12  | obtain it through the world-wide-web, please send a note to          |
                    
12  | obtain it through the world-wide-web, please send a note to          |
                    
13  | license@php.net so we can mail you a copy immediately.               |
                    
14  +----------------------------------------------------------------------+
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
148	php_info_print_table_row(2, "Revision", "$Id: adf1d2d6be849c46eed3c3ee6f1cbebd1448d6e5 $");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
439			default:
                    
440				php_error_docref(NULL TSRMLS_CC, E_WARNING, "Message parameter must be either a string or a number.");
                    
441				RETURN_FALSE;
                    
                
COOKBOOK-FIXERS.md https://gitlab.com/yousafsyed/easternglamor | Markdown | 466 lines
                    
9In order to be able to create a new fixer, you need some background.
                    
10PHP CS Fixer is a transcompiler which takes valid PHP code and pretty
                    
11print valid PHP code. It does all transformations in multiple passes,
                    
23If possible, try to get acquainted with the public interface for the
                    
24[Symfony/CS/Tokenizer/Tokens.php](Symfony/CS/Tokenizer/Tokens.php)
                    
25and [Symfony/CS/Tokenizer/Token.php](Symfony/CS/Tokenizer/Token.php)
                    
121
                    
122`# php php-cs-fixer readme > README.rst`
                    
123
                    
382
                    
383`$ php php-cs-fixer fix`
                    
384
                    
437
                    
438No. Short arrays were introduced in PHP 5.4 and PHP CS Fixer still
                    
439supports PHP 5.3.6.
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
89				),
                    
90				"EMAIL_USERS" => (isset($requestFields['EMAIL_USERS']) && $requestFields['EMAIL_USERS'] == 'Y'),
                    
91				"CRMEMAIL_USERS" => (isset($requestFields['CRMEMAIL']) && $requestFields['CRMEMAIL'] == 'Y'),
                    
129		$entitiesList = $params['entities'];
                    
130		$searchByEmailOnly = $params['searchByEmailOnly'];
                    
131
                    
135			"ENTITIES" => $entitiesList,
                    
136			"SEARCH_BY_EMAIL_ONLY" => ($searchByEmailOnly ? "Y" : "N")
                    
137		));
                    
442		if (
                    
443			isset($requestFields['CRMEMAIL'])
                    
444			&& $requestFields['CRMEMAIL'] == 'Y'
                    
446		{
                    
447			$result['CRM_EMAILS'] = self::searchCrmEmails(array(
                    
448				'search' => $search,
                    
                
perfmon_panel.php https://gitlab.com/alexprowars/bitrix | PHP | 137 lines
                    
38$MESS["PERFMON_PANEL_MARK_NO_RESULT"] = "Производительность не замерялась";
                    
39$MESS["PERFMON_PANEL_MARK_PHP_IS_GOOD"] = "оптимально";
                    
40$MESS["PERFMON_PANEL_MARK_PHP_IS_NO_GOOD"] = "не оптимально";
                    
52$MESS["PERFMON_PANEL_FILES_UNITS"] = "файловых операций в секунду";
                    
53$MESS["PERFMON_PANEL_MAIL"] = "Почтовая система";
                    
54$MESS["PERFMON_PANEL_MAIL_UNITS"] = "время отправки одного письма (в секундах)";
                    
57$MESS["PERFMON_PANEL_SESSION_ERR"] = "не измерено";
                    
58$MESS["PERFMON_PANEL_PHP"] = "Конфигурация PHP";
                    
59$MESS["PERFMON_PANEL_PHP_REC"] = "рекомендации";
                    
103$MESS["PERFMON_PANEL_CACHE_STORAGE_CLUSTER"] = "memcache в кластере";
                    
104$MESS["PERFMON_PANEL_CACHE_STORAGE_REC"] = "Возможные типы хранения:<ul style=\"font-size:100%\"><li>Файлы</li><li>memcached</li><li>eAccelerator</li><li>APC</li><li>XCache</li></ul><a href=\"http://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=43&amp;LESSON_ID=2795#cache\">Инструкция по настройке.</a>";
                    
105$MESS["PERFMON_PANEL_ADV_BANNERS_FIX_SHOWS"] = "Фиксация числа показов баннеров";
                    
                
dashboard.js https://gitlab.com/nzqadri/bejeep | JavaScript | 442 lines
                    
107    var ajaxSettings = {
                    
108        URL: "/bejeep/admin/ajax/orders-get.php",
                    
109        method: "POST",
                    
159        rowHTML += '<div class="status" id="' + orders[i].orderID + '" onclick="statusWin(' + orders[i].orderID + ',' + '\'' + orders[i].status + '\'' + ')">' + orders[i].status + '</div>';
                    
160        rowHTML += '<div class="contact">' + orders[i].firstName + ' ' + orders[i].lastName + '<br>' + orders[i].email + '<br>' +orders[i].phone + '</div>';
                    
161        rowHTML += '<div class="address">' + orders[i].city + ', ' + orders[i].country + '</div>';
                    
182    var ajaxSettings = {
                    
183        URL: "/bejeep/admin/ajax/order-get.php",
                    
184        method: "POST",
                    
198            oHTML += 'Order ID: ' + order.orderID + '<br>' + order.dateCreated + '<br>' + order.status + '<br><br>';
                    
199            oHTML += '<div>' + order.firstName + ' ' + order.lastName + '<br>' + order.email + '<br>Phone' + order.phone;
                    
200            oHTML += '<br>' + order.city + ', ' + order.country + '<br><br><br>';
                    
236    var ajaxSettings = {
                    
237        URL: "/bejeep/admin/ajax/order-update.php",
                    
238        method: "POST",
                    
                
Collection.php https://bitbucket.org/acidel/buykoala.git | PHP | 480 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

                    
11 * If you did not receive a copy of the license and are unable to

                    
12 * obtain it through the world-wide-web, please send an email

                    
13 * to license@magentocommerce.com so we can send you a copy immediately.

                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)

                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)

                    
25 */

                    
                
store.php https://gitlab.com/reclamare/mao | PHP | 124 lines
                    
1<?php
                    
2// Heading
                    
29$_['entry_geocode']                    = 'Геокодирование';
                    
30$_['entry_email']                      = 'Электронная почта';
                    
31$_['entry_telephone']                  = 'Телефон';
                    
106$_['error_address']                    = 'Адрес магазина должно быть от 10 до 256 символов!';
                    
107$_['error_email']                      = 'Такой адрес электронной почты недопустим!';
                    
108$_['error_telephone']                  = 'Телефон должен быть от 3 до 32 символов!';
                    
                
CurrentEmployer.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 394 lines
                    
1<?php
                    
2/*
                    
152      ],
                    
153      'civicrm_email' => [
                    
154        'dao' => 'CRM_Core_DAO_Email',
                    
156        'fields' => [
                    
157          'email' => [
                    
158            'title' => ts('Email'),
                    
245    $this->joinPhoneFromContact();
                    
246    $this->joinEmailFromContact();
                    
247  }
                    
                
Flat.php https://bitbucket.org/mkrasuski/magento-ce.git | PHP | 362 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
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 */
                    
                
Part.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 486 lines
                    
110                 */
                    
111                require_once 'Zend/Mail/Exception.php';
                    
112                throw new Zend_Mail_Exception('handler is not a valid mail handler');
                    
249
                    
250        if ($this->_mail && $this->_mail->hasFetchPart) {
                    
251            // TODO: fetch part
                    
260             */
                    
261            require_once 'Zend/Mail/Exception.php';
                    
262            throw new Zend_Mail_Exception('part not found');
                    
283
                    
284        if ($this->_mail && $this->_mail->hasFetchPart) {
                    
285            // TODO: fetch part
                    
342                 */
                    
343                require_once 'Zend/Mail/Exception.php';
                    
344                throw new Zend_Mail_Exception("no Header with Name $name found");
                    
                
url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 593 lines
                    
224 * @access	public
                    
225 * @param	string	the email address
                    
226 * @param	string	the link title
                    
231{
                    
232	function mailto($email, $title = '', $attributes = '')
                    
233	{
                    
242
                    
243		return '<a href="mailto:'.$email.'"'.$attributes.'>'.$title.'</a>';
                    
244	}
                    
261{
                    
262	function safe_mailto($email, $title = '', $attributes = '')
                    
263	{
                    
343	$i = 0;
                    
344	foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?>
                    
345
                    
                
Mail.php https://github.com/Riges/KawaiViewModel.git | PHP | 430 lines
                    
32/**
                    
33 * Class used for writing log messages to email via Zend_Mail.
                    
34 *
                    
35 * Allows for emailing log messages at and above a certain level via a
                    
36 * Zend_Mail object.  Note that this class only sends the email upon
                    
37 * completion, so any log entries accumulated are sent in a single email.
                    
121     *
                    
122     * @param  Zend_Mail $mail Mail instance
                    
123     * @param  Zend_Layout $layout Layout instance; optional
                    
199        }
                    
200        $mail = new $mailClass($config['charset']);
                    
201        if (!$mail instanceof Zend_Mail) {
                    
201        if (!$mail instanceof Zend_Mail) {
                    
202            throw new Zend_Log_Exception($mail . 'must extend Zend_Mail');
                    
203        }
                    
                
function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
24#include <vector>
                    
25#include "hphp/compiler/analysis/block_scope.h"
                    
26#include "hphp/compiler/option.h"
                    
26#include "hphp/compiler/option.h"
                    
27#include "hphp/compiler/json.h"
                    
28
                    
28
                    
29#include "hphp/util/hash-map-typedefs.h"
                    
30#include "hphp/parser/parser.h"
                    
                
ogniter_default_lang.php https://bitbucket.org/NeoArc/ogniter-language.git | PHP | 355 lines
                    
1<?php
                    
2
                    
                
Curl.php https://gitlab.com/vincent.perdereau/picandparts | 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
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
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 */
                    
252     *
                    
253     * @param string $uri uri relative to host, ex. "/index.php"
                    
254     */
                    
                
site-users.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 330 lines
                    
205<h1 id="edit-site"><?php echo $title; ?></h1>
                    
206<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
                    
207<?php
                    
270
                    
271/** This filter is documented in wp-admin/network/site-users.php */
                    
272if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
                    
302<h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2>
                    
303<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post">
                    
304	<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
                    
310		<tr>
                    
311			<th scope="row"><label for="user_email"><?php _e( 'Email' ) ?></label></th>
                    
312			<td><input type="text" class="regular-text" name="user[email]" id="user_email" /></td>
                    
320		<tr class="form-field">
                    
321			<td colspan="2"><?php _e( 'A password reset link will be sent to the user via email.' ) ?></td>
                    
322		</tr>
                    
                
ext_std_classobj.cpp https://gitlab.com/iranjith4/hhvm | C++ | 385 lines
                    
5   | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
17
                    
18#include "hphp/runtime/ext/std/ext_std_classobj.h"
                    
19
                    
20#include "hphp/runtime/base/array-init.h"
                    
21#include "hphp/runtime/ext/array/ext_array.h"
                    
22#include "hphp/runtime/ext/string/ext_string.h"
                    
                
ext_spl.cpp https://gitlab.com/iranjith4/hhvm | C++ | 384 lines
                    
5   | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
27#include "hphp/runtime/base/comparisons.h"
                    
28#include "hphp/runtime/base/directory.h"
                    
29#include "hphp/runtime/base/glob-stream-wrapper.h"
                    
365    HHVM_FE(hphp_object_pointer);
                    
366    HHVM_FE(hphp_get_this);
                    
367    HHVM_FE(class_implements);
                    
                
password.c https://gitlab.com/envieidoc/tomato | C | 460 lines
                    
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   +----------------------------------------------------------------------+
                    
22
                    
23#include "php.h"
                    
24#if HAVE_CRYPT
                    
48
                    
49static char* php_password_get_algo_name(const php_password_algo algo)
                    
50{
                    
59
                    
60static php_password_algo php_password_determine_algo(const char *hash, const size_t len) 
                    
61{
                    
160	result = safe_emalloc(length, 1, 1); 
                    
161	if (php_password_salt_to64(buffer, raw_length, length, result) == FAILURE) {
                    
162		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Generated salt too short");
                    
                
Move.php https://gitlab.com/rsilveira1987/Expresso | PHP | 299 lines
                    
17 */
                    
18class Expressomail_Controller_Message_Move extends Expressomail_Controller_Message
                    
19{
                    
62     * @param  mixed  $_messages
                    
63     * @param  mixed  $_targetFolder can be one of: folder_id, Expressomail_Model_Folder or Expressomail_Model_Folder::FOLDER_TRASH (constant)
                    
64     * @return Tinebase_Record_RecordSet of Expressomail_Model_Folder
                    
68        if ($_targetFolder !== Expressomail_Model_Folder::FOLDER_TRASH) {
                    
69            $targetFolder = ($_targetFolder instanceof Expressomail_Model_Folder) ? $_targetFolder : Expressomail_Controller_Folder::getInstance()->get($_targetFolder);
                    
70        } else {
                    
99     * @param Tinebase_Record_RecordSet $_messages
                    
100     * @param  mixed  $_targetFolder can be one of: Expressomail_Model_Folder or Expressomail_Model_Folder::FOLDER_TRASH (constant)
                    
101     * @return Tinebase_Record_RecordSet of Expressomail_Model_Folder
                    
139     * @param string $_folderId
                    
140     * @param Expressomail_Model_Folder|string $_targetFolder
                    
141     * @return boolean did we move messages?
                    
                
MultishippingTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 271 lines
                    
1<?php
                    
2/**
                    
7
                    
8class MultishippingTest extends \PHPUnit_Framework_TestCase
                    
9{
                    
15    /**
                    
16     * @var \PHPUnit_Framework_MockObject_MockObject
                    
17     */
                    
20    /**
                    
21     * @var \PHPUnit_Framework_MockObject_MockObject
                    
22     */
                    
25    /**
                    
26     * @var \PHPUnit_Framework_MockObject_MockObject
                    
27     */
                    
30    /**
                    
31     * @var \PHPUnit_Framework_MockObject_MockObject
                    
32     */
                    
                
data-upgrade-1.6.0.1-1.6.0.2.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 288 lines
                    
31$newsletterContent = <<<EOD
                    
32{{template config_path="design/email/header"}}
                    
33{{inlinecss file="email-inline.css"}}
                    
39            <tr>
                    
40                <td class="email-heading">
                    
41                    <h1>Welcome</h1>
                    
55                        {{depend store_email}}
                    
56                        <b>Email:</b> <a href="mailto:{{var store_email}}">{{var store_email}}</a>
                    
57                        {{/depend}}
                    
228                                {{depend store_email}}
                    
229                                <p><b>Email:</b> <a href="mailto:{{var store_email}}">{{var store_email}}</a></p>
                    
230                                {{/depend}}
                    
275    'template_sender_name' => Mage::getStoreConfig('trans_email/ident_general/name'),
                    
276    'template_sender_email' => Mage::getStoreConfig('trans_email/ident_general/email'),
                    
277    'template_actual' => 1,
                    
                
u8g_dev_ssd1322_nhd31oled_bw.c https://gitlab.com/anthem/Marlin | C | 338 lines
                    
9  
                    
10  Copyright (c) 2012, olikraus@gmail.com
                    
11  All rights reserved.
                    
56  http://www.newhavendisplay.com/app_notes/OLED_25664.txt 
                    
57  http://www.newhavendisplay.com/forum/viewtopic.php?f=15&t=3758
                    
58*/
                    
                
Think.class.php https://gitlab.com/fangfangchen/xianpipa | PHP | 344 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------
                    
8// +----------------------------------------------------------------------
                    
9// | Author: liu21st <liu21st@gmail.com>
                    
10// +----------------------------------------------------------------------
                    
13/**
                    
14 * ThinkPHP 引导类
                    
15 */
                    
39
                    
40      $runtimefile  = RUNTIME_PATH.APP_MODE.'~runtime.php';
                    
41      if(!APP_DEBUG && Storage::has($runtimefile)){
                    
47          // 读取应用模式
                    
48          $mode   =   include is_file(CONF_PATH.'core.php')?CONF_PATH.'core.php':MODE_PATH.APP_MODE.'.php';
                    
49          // 加载核心文件
                    
299            if(IS_CLI){
                    
300                exit(iconv('UTF-8','gbk',$e['message']).PHP_EOL.'FILE: '.$e['file'].'('.$e['line'].')'.PHP_EOL.$e['trace']);
                    
301            }
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
36    'agree_to_terms'        => 'I Agree to Terms',
                    
37    'forgot_email_message'  => 'Please Enter Your Sign Up E-mail. Reset Link Will Sent Your E-mail.',
                    
38    'email_address'         => 'E-mail Adress',
                    
                
relocation-x64.cpp https://github.com/soitun/hiphop-php.git | C++ | 416 lines
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#include "hphp/runtime/vm/jit/relocation.h"
                    
18
                    
21#include "hphp/runtime/vm/jit/align-x64.h"
                    
22#include "hphp/runtime/vm/jit/asm-info.h"
                    
23#include "hphp/runtime/vm/jit/cg-meta.h"
                    
                
File.php https://bitbucket.org/acidel/buykoala.git | PHP | 412 lines
                    
24 */
                    
25#require_once 'Zend/Reflection/Class.php';
                    
26
                    
29 */
                    
30#require_once 'Zend/Reflection/Function.php';
                    
31
                    
111    {
                    
112        #require_once 'Zend/Loader.php';
                    
113        $includePaths = Zend_Loader::explodeIncludePath();
                    
205            if (!$instance instanceof Zend_Reflection_Class) {
                    
206                #require_once 'Zend/Reflection/Exception.php';
                    
207                throw new Zend_Reflection_Exception('Invalid reflection class provided; must extend Zend_Reflection_Class');
                    
319             * Token ID's are explained here:
                    
320             * http://www.php.net/manual/en/tokens.php.
                    
321             */
                    
                
index.html https://github.com/koto/blog-kotowicz-net-examples.git | HTML | 321 lines
                    
127          .data('src', payload)
                    
128          .attr('src', 'redirect.php?url=' + encodeURIComponent(payload))
                    
129          .appendTo('#images');
                    
212      $("#changes").remove();
                    
213      $("<textarea id=changes style='width:100%; height:50px;'>").val('// send me to kkotowicz at gmail dot com\n\n' + $.toJSON(update_json)).prependTo('body');
                    
214    }
                    
264<ul>
                    
265<li><strong>Submit your test results</strong> by clicking "Submit test results". This will check your test results with ours and display the differences in a separate textarea. Mail these differences to kkotowicz at gmail dot com</li>
                    
266<li><strong>Found new URL format?</strong> Let me know by email or <a href="http://twitter.com/kkotowicz">@kkotowicz</a>, I'll include it in a test suite!</li>
                    
                
class.FixtureBuilder.php https://github.com/dagda/ThinkUp.git | PHP | 346 lines
                    
1<?php
                    
2/**
                    
13 *   <code>
                    
14 *   // populate a table named "table_name" with two columns: "name", "email"
                    
15 *   $builder = FixtureBuilder::build('table_name');
                    
16 *   $name_value = $builder->columns['name'];
                    
17 *   $email_value = $builder->columns['email'];
                    
18 *
                    
19 *   // you can also set values
                    
20 *   $builder = FixtureBuilder::build('table_name', array( 'name' => 'Mojo Jojo', 'email' => 'mojo@jojo.info' ));
                    
21 *   $name_value = $builder->columns['name'];
                    
21 *   $name_value = $builder->columns['name'];
                    
22 *   $email_value = $builder->columns['email']
                    
23 *
                    
40 *
                    
41 * @author Mark Wilkie <mwilkie[at]gmail[dot]com>
                    
42 */
                    
                
Abstract.php https://bitbucket.org/ngmares/moodle.git | PHP | 456 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
24 */
                    
25require_once 'Zend/Validate/Interface.php';
                    
26
                    
151        if (!isset($this->_messageTemplates[$messageKey])) {
                    
152            require_once 'Zend/Validate/Exception.php';
                    
153            throw new Zend_Validate_Exception("No message template exists for key '$messageKey'");
                    
193         */
                    
194        require_once 'Zend/Validate/Exception.php';
                    
195        throw new Zend_Validate_Exception("No property exists by the name '$property'");
                    
330        } else {
                    
331            require_once 'Zend/Validate/Exception.php';
                    
332            throw new Zend_Validate_Exception('Invalid translator specified');
                    
                
Profiler.php https://gitlab.com/florianocomercial/centreon | PHP | 471 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
280         */
                    
281        require_once 'Zend/Db/Profiler/Query.php';
                    
282        $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType);
                    
308             */
                    
309            require_once 'Zend/Db/Profiler/Exception.php';
                    
310            throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'.");
                    
319             */
                    
320            require_once 'Zend/Db/Profiler/Exception.php';
                    
321            throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended.");
                    
                
user-moderation-admin.php https://gitlab.com/Gashler/sg | PHP | 432 lines
                    
180		?>
                    
181		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_none" value="none"<?php checked( $this->get_option( 'type' ), 'none' ); ?> />
                    
182		<label for="<?php echo $this->options_key; ?>_type_none"><?php _e( 'None', 'theme-my-login' ); ?></label>
                    
184
                    
185		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_email" value="email" <?php checked( $this->get_option( 'type' ), 'email' ); ?> />
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
187		<p class="description"><?php _e( 'Check this option to require new users to confirm their e-mail address before they may log in.', 'theme-my-login' ); ?></p>
                    
188
                    
188
                    
189		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_admin" value="admin" <?php checked( $this->get_option( 'type' ), 'admin' ); ?> />
                    
190		<label for="<?php echo $this->options_key; ?>_type_admin"><?php _e( 'Admin Approval', 'theme-my-login' ); ?></label>
                    
424		if ( $message && ! wp_mail( $user->user_email, $title, $message ) )
                    
425			  die( '<p>' . __( 'The e-mail could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function...' ) . '</p>' );
                    
426	}
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * @author Qiang Xue <qiang.xue@gmail.com>
                    
19 * @since 2.0
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
147     *
                    
148     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
149     *
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
13 * @copyright: Daniel Morris
                    
14 * @email: dan@rootcube.com
                    
15 * @license: GNU General Public License (GPL)
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
462	/**
                    
463	 * Method to be called by another php script. Processes for SQL injection
                    
464	 *
                    
                
Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Db.php';
                    
27
                    
30 */
                    
31#require_once 'Zend/Db/Statement/Interface.php';
                    
32
                    
150                     */
                    
151                    #require_once 'Zend/Db/Statement/Exception.php';
                    
152                    throw new Zend_Db_Statement_Exception("Invalid bind-variable position '$val'");
                    
                
ClientesController.php https://gitlab.com/fabiorf/fsipedidos | PHP | 320 lines
                    
1<?php
                    
2 
                    
2 
                    
3// namespace de localizacao clientesController.php
                    
4namespace Cliente\Controller;
                    
171         $endereco = \EnderecoQuery::create()->filterByCoPessoa($id)->find();
                    
172         $email = \EmailQuery::create()->filterByCoPessoa($id)->find();
                    
173         $telefone = \TelefoneQuery::create()->filterByCoPessoa($id)->find();
                    
178            'endereco' => $endereco, 
                    
179            'email' => $email, 
                    
180            'telefone' => $telefone, 
                    
279                 $oCliente->delete();
                    
280                 $oPessoa->getEmails()->delete();
                    
281                 $oPessoa->getEnderecos()->delete();
                    
                
PCPBlock.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 397 lines
                    
1<?php
                    
2
                    
113  /**
                    
114   * If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page
                    
115   *
                    
117   */
                    
118  public $notify_email;
                    
119
                    
309        ],
                    
310        'notify_email' => [
                    
311          'name' => 'notify_email',
                    
313          'title' => ts('Notification Email'),
                    
314          'description' => ts('If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page'),
                    
315          'maxlength' => 255,
                    
316          'size' => CRM_Utils_Type::HUGE,
                    
317          'where' => 'civicrm_pcp_block.notify_email',
                    
318          'default' => 'NULL',
                    
                
index.html https://github.com/horde/horde-web.git | HTML | 438 lines
                    
52  <p>You probably know that Horde does webmail. But Horde also provides a framework for building applications. Chuck Hagenbuch will demonstrate a mix of ORM, prototype + script.aculo.us, and mapping APIs that quickly assemble into an application using Horde (call it a mashup if you must). We'll also demonstrate building standalone pages that incorporate content from an existing Horde installation.</p>
                    
53  <p>Chuck Hagenbuch founded the Horde Project in 1998 and has been working with PHP and the world of web development ever since. He is currently an independent consultant, and has provided professional services to high-profile PHP users such as PayPal and Portugal Telecom.</p>
                    
54 </div>
                    
70 <li>The Horde Developers: volunteer developers providing:</li>
                    
71 <li>The Horde Application Framework: a PHP web application framework, consisting of:</li>
                    
72 <li>The Horde Libraries: PEAR-style packages powering:</li>
                    
80  <li>Over 60 high quality PHP libraries in PEAR packages</li>
                    
81  <li>PHP4 and PHP5</li>
                    
82  <li>Authentication and Permissions to MIME handling to user preferences to XML transformations</li>
                    
83  <li>Coding standards that were the basis for the PEAR coding standards</li>
                    
84  <li>Initial PEAR packages including Log and Mail were contributed from Horde to PEAR</li>
                    
85 </ul>
                    
159 <h1>What if you want something like this?</h1>
                    
160 <p><a target="_blank" href="https://horde.org/papers/nyphpcon-2006-06/" title="Property Tracking Tutorial"><img src="graphics/tracker.png" alt="Property Tracking Tutorial" /></a></p>
                    
161</div>
                    
                
Pgsql.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
260             */
                    
261            require_once 'Zend/Db/Adapter/Exception.php';
                    
262            throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");
                    
                
Pgsql.php https://gitlab.com/luisrepo/ClienteWS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
260             */
                    
261            require_once 'Zend/Db/Adapter/Exception.php';
                    
262            throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");
                    
                
gk.portal_mode_1.php https://gitlab.com/ppapadatis/Videolearn | PHP | 237 lines
                    
1<?php
                    
2
                    
87				// GENERATE NEWS INFO
                    
88				$news_infoo = $renderer->info($this->parent->config, $this->parent->content['catname'][$i], $this->parent->content['CID'][$i], $this->parent->content['author'][$i], $this->parent->content['email'][$i], ($this->parent->config['date_publish'] == TRUE) ? $this->parent->content['date_publish'][$i] : $this->parent->content['date'][$i], $this->parent->content['hits'][$i], $this->parent->content['ID'][$i], $this->parent->content['rating_count'][$i], $this->parent->content['rating_sum'][$i]);
                    
89				// GENERATE NEWS INFO2
                    
89				// GENERATE NEWS INFO2
                    
90				$news_infoo2 = $renderer->info($this->parent->config, $this->parent->content['catname'][$i], $this->parent->content['CID'][$i], $this->parent->content['author'][$i], $this->parent->content['email'][$i], ($this->parent->config['date_publish'] == TRUE) ? $this->parent->content['date_publish'][$i] : $this->parent->content['date'][$i], $this->parent->content['hits'][$i], $this->parent->content['ID'][$i], $this->parent->content['rating_count'][$i], $this->parent->content['rating_sum'][$i], 2);
                    
91			} else {
                    
100				// GENERATE NEWS INFO
                    
101				$news_infoo = $renderer->info_k2($this->parent->config, $this->parent->content['cat_name'][$i], $this->parent->content['CID'][$i], $this->parent->content['cat_alias'][$i], $this->parent->content['author'][$i], $this->parent->content['author_id'][$i], $this->parent->content['email'][$i], ($this->parent->config['date_publish'] == TRUE) ? $this->parent->content['date_publish'][$i] : $this->parent->content['date'][$i], $this->parent->content['hits'][$i], $this->parent->content['ID'][$i], $this->parent->content['alias'][$i], $this->parent->content['comments'], $this->parent->content['rating_count'][$i], $this->parent->content['rating_sum'][$i]);
                    
102				// GENERATE NEWS INFO2
                    
102				// GENERATE NEWS INFO2
                    
103				$news_infoo2 = $renderer->info_k2($this->parent->config, $this->parent->content['cat_name'][$i], $this->parent->content['CID'][$i], $this->parent->content['cat_alias'][$i], $this->parent->content['author'][$i], $this->parent->content['author_id'][$i], $this->parent->content['email'][$i], ($this->parent->config['date_publish'] == TRUE) ? $this->parent->content['date_publish'][$i] : $this->parent->content['date'][$i], $this->parent->content['hits'][$i], $this->parent->content['ID'][$i], $this->parent->content['alias'][$i], $this->parent->content['comments'], $this->parent->content['rating_count'][$i], $this->parent->content['rating_sum'][$i], 2);
                    
104			} /*else {
                    
                
form.js https://gitlab.com/phamngsinh/baitaplon_sinhvien | JavaScript | 392 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
                    
10 * If you did not receive a copy of the license and are unable to
                    
11 * obtain it through the world-wide-web, please send an email
                    
12 * to license@magentocommerce.com so we can send you a copy immediately.
                    
22 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
23 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
24 */
                    
                
installv2.sh https://bitbucket.org/jorgenio/boca.git | Shell | 320 lines
                    
3# //BOCA Online Contest Administrator
                    
4# //    Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com)
                    
5# //
                    
111apt-get -y install zenity apache2 eclipse-pde eclipse-rcp eclipse-platform eclipse-jdt eclipse emacs \
                    
112  evince g++ gcc gedit scite libstdc++6 makepasswd manpages-dev mii-diag php5-cli php5-mcrypt openjdk-6-dbg \
                    
113  php5 php5-pgsql postgresql postgresql-client postgresql-contrib quota sharutils default-jdk openjdk-6-doc \
                    
114  vim-gnome geany geany-plugin-addons geany-plugin-gdb geany-plugins default-jre sysstat \
                    
115  $sysvutils vim xfce4 $libCppdev $libCppdoc $libCppdbg php5-gd stl-manual gcc-doc debootstrap schroot c++-annotations
                    
116if [ $? != 0 ]; then
                    
201rm -f /tmp/icpc.etc.tgz
                    
202wget -O /tmp/icpc.etc.tgz "http://www.ime.usp.br/~cassio/boca/download.php?filename=icpc-\$icpcver.etc.tgz"
                    
203if [ "\$?" != "0" -o ! -f /tmp/icpc.etc.tgz ]; then
                    
                
Pgsql.php https://bitbucket.org/ksekar/campus.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
260             */
                    
261            require_once 'Zend/Db/Adapter/Exception.php';
                    
262            throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");
                    
                
BlogModule.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 469 lines
                    
1<?php
                    
2/**
                    
314     */
                    
315    public function getAuthorEmail()
                    
316    {
                    
                
php-crypt_r.cpp https://gitlab.com/iranjith4/hhvm | C++ | 381 lines
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
47
                    
48#include "hphp/util/lock.h"
                    
49#include "hphp/util/mutex.h"
                    
305  /* Then our magic string */
                    
306  PHP_MD5Update(&ctx, (const unsigned char *)MD5_MAGIC, MD5_MAGIC_LEN);
                    
307
                    
308  /* Then the raw salt */
                    
309  PHP_MD5Update(&ctx, (const unsigned char *)sp, sl);
                    
310
                    
                
Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Application.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
60     *
                    
61     * Initialize application. Potentially initializes include_paths, PHP 
                    
62     * settings, and bootstrap class.
                    
72
                    
73        require_once 'Zend/Loader/Autoloader.php';
                    
74        $this->_autoloader = Zend_Loader_Autoloader::getInstance();
                    
127        if (!empty($options['phpsettings'])) {
                    
128            $this->setPhpSettings($options['phpsettings']);
                    
129        }
                    
                
Cloud.php https://gitlab.com/yousafsyed/easternglamor | PHP | 410 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
152            } else {
                    
153                #require_once 'Zend/Tag/Cloud/Exception.php';
                    
154                throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
174        } else {
                    
175            #require_once 'Zend/Tag/Cloud/Exception.php';
                    
176            throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
203        if (null === $this->_tags) {
                    
204            #require_once 'Zend/Tag/ItemList.php';
                    
205            $this->setItemList(new Zend_Tag_ItemList());
                    
                
CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @author Qiang Xue <qiang.xue@gmail.com>
                    
6 * @link http://www.yiiframework.com/
                    
18 *
                    
19 * @author Qiang Xue <qiang.xue@gmail.com>
                    
20 * @package system.web.widgets
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
20{
                    
21	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
22
                    
25
                    
26	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
                    
27	die();
                    
55		"PERSON_MIDDLENAME" => $PERSON_MIDDLENAME,
                    
56		"EMAIL" => $_REQUEST["EMAIL"],
                    
57		"PHONE" => $_REQUEST["PHONE"],
                    
82		{
                    
83			$applyUrl = $selfFolderUrl."cat_contractor_edit.php?lang=".LANGUAGE_ID."&ID=".$ID;
                    
84			$applyUrl = $adminSidePanelHelper->setDefaultQueryParams($applyUrl);
                    
313			<td>
                    
314				<input type="text" name="EMAIL" value="<?=$str_EMAIL?>" size="30" />
                    
315			</td>
                    
                
Exception.php https://github.com/Br3nda/statusnet-debian.git | PHP | 397 lines
                    
11 * the PHP License and are unable to obtain it through the web, please
                    
12 * send a note to license@php.net so we can mail you a copy immediately.
                    
13 *
                    
20 * @copyright  1997-2008 The PHP Group
                    
21 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
22 * @version    CVS: $Id: Exception.php,v 1.29 2008/01/03 20:26:35 cellog Exp $
                    
44 *
                    
45 * 3) Inherited properties from PHP Exception Class:
                    
46 *
                    
96 * @copyright  1997-2008 The PHP Group
                    
97 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
98 * @version    Release: 1.7.2
                    
154    /**
                    
155     * @param mixed $callback  - A valid php callback, see php func is_callable()
                    
156     *                         - A PEAR_Exception::OBSERVER_* constant
                    
                
WizardController.php https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | PHP | 464 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
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magentocommerce.com so we can send you a copy immediately.
                    
23 * @copyright   Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
Route.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 413 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Route.php 23485 2010-12-10 04:03:18Z mjh_ca $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Router/Route/Interface.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Router/Route/Module.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Controller/Dispatcher/Interface.php';
                    
36
                    
                
resource.inc.php https://github.com/rostislav/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * @author Bert Oost, <bertoost85@gmail.com>
                    
10 */
                    
                
Template.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 395 lines
                    
92            'template_type'         => 'Int',
                    
93            'template_sender_email' => 'EmailAddress',
                    
94            'template_sender_name'  => array(Zend_Filter_Input::ALLOW_EMPTY => false)
                    
286        if ($subscriber instanceof Mage_Newsletter_Model_Subscriber) {
                    
287            $email = $subscriber->getSubscriberEmail();
                    
288            if (is_null($name) && ($subscriber->hasCustomerFirstname() || $subscriber->hasCustomerLastname()) ) {
                    
296        if (Mage::getStoreConfigFlag(Mage_Core_Model_Email_Template::XML_PATH_SENDING_SET_RETURN_PATH)) {
                    
297            $this->getMail()->setReturnPath($this->getTemplateSenderEmail());
                    
298        }
                    
303        $mail = $this->getMail();
                    
304        $mail->addTo($email, $name);
                    
305        $text = $this->getProcessedTemplate($variables, true);
                    
314        $mail->setSubject($this->getProcessedTemplateSubject($variables));
                    
315        $mail->setFrom($this->getTemplateSenderEmail(), $this->getTemplateSenderName());
                    
316
                    
                
Profiler.php https://gitlab.com/luisrepo/ClienteWS | PHP | 471 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
280         */
                    
281        require_once 'Zend/Db/Profiler/Query.php';
                    
282        $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType);
                    
308             */
                    
309            require_once 'Zend/Db/Profiler/Exception.php';
                    
310            throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'.");
                    
319             */
                    
320            require_once 'Zend/Db/Profiler/Exception.php';
                    
321            throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended.");
                    
                
Route.php https://github.com/qmmr/iAlbums.git | PHP | 413 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Route.php 23486 2010-12-10 04:05:30Z mjh_ca $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Router/Route/Interface.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Router/Route/Module.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Controller/Dispatcher/Interface.php';
                    
36
                    
                
CreditCard.php https://github.com/michaelmcandrew/vaw.git | PHP | 297 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
5 *
                    
6 * PHP Versions 4 and 5
                    
7 *
                    
10 * the world-wide-web at
                    
11 * http://www.opensource.org/licenses/bsd-license.php
                    
12 * If you did not receive a copy of the new BSDlicense and are unable
                    
13 * to obtain it through the world-wide-web, please send a note to
                    
14 * pajoye@php.net so we can mail you a copy immediately.
                    
15 *
                    
20 * @copyright 1997-2005  Stefan Neufeind
                    
21 * @license   http://www.opensource.org/licenses/bsd-license.php  New BSD License
                    
22 * @version   CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $
                    
22 * @version   CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $
                    
23 * @link      http://pear.php.net/package/Validate_Finance_CreditCard
                    
24 */
                    
                
TestOfLinkMySQLDAO.php https://github.com/dagda/ThinkUp.git | PHP | 290 lines
                    
1<?php
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
3require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php';
                    
4require_once THINKUP_ROOT_PATH.'webapp/config.inc.php';
                    
7 * Test Of Link DAO
                    
8 * @author Gina Trapani <ginatrapani[at]gmail[dot]com>
                    
9 * @author christoffer Viken <christoffer[at]viken[dot]me>
                    
119            'http://example.com/test',
                    
120            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php', 'Very Long URL', '12345678901',
                    
121            'twitter', false);
                    
129        $this->assertEqual($result->expanded_url,
                    
130        'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php');
                    
131        $this->assertEqual($result->title, 'Very Long URL');
                    
179            'http://example.com/test',
                    
180            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php',
                    
181            'Very Long URL',
                    
                
OfflineTest.php https://github.com/Exercise/zf2.git | PHP | 376 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
62 */
                    
63class OfflineTest extends \PHPUnit_Framework_TestCase
                    
64{
                    
                
new.php https://github.com/tmccormi/openemr.git | PHP | 238 lines
                    
136                        <?php $datetimepicker_formatInput = false; ?>
                    
137                        <?php require($GLOBALS['srcdir'] . '/js/xl/jquery-datetimepicker-2-5-4.js.php'); ?>
                    
138                        <?php // can add any additional javascript settings to datetimepicker here; need to prepend first setting with a comma ?>
                    
151            <div class="row">
                    
152                <form method='post' name='my_form' action='<?php echo $rootdir; ?>/forms/functional_cognitive_status/save.php?id=<?php echo attr($formid); ?>'>
                    
153                    <fieldset>
                    
171                                            <label for="code_date_<?php echo attr($key) + 1; ?>" class="h5"><?php echo xlt('Date'); ?>:</label>
                    
172                                            <input type='text' id="code_date_<?php echo attr($key) + 1; ?>" name='code_date[]' class="form-control code_date datepicker" value='<?php echo attr($obj{"date"}); ?>' title='<?php echo xla('yyyy-mm-dd Date of service'); ?>' />
                    
173                                        </div>
                    
176                                            <br>
                    
177                                            <input type="checkbox" name="activity[]" onclick="checkVal(this.id);" id="activity_<?php echo $key + 1; ?>" value="<?php echo attr($obj{"activity"}); ?>" <?php echo ($obj{"activity"} == 1) ? "checked='checked'" : ""; ?> class="activity">
                    
178                                            <input  type="hidden" name="activity1[]" id="activity1_<?php echo $key + 1; ?>" value="<?php echo attr($obj{"activity"}); ?>" class="activity1">
                    
184                                        <div class="clearfix"></div>
                    
185                                        <input type="hidden" name="count[]" id="count_<?php echo attr($key) + 1; ?>" class="count" value="<?php echo attr($key) + 1;?>">
                    
186                                    </div>
                    
                
StaticTest.php https://github.com/tanduy/zf.git | PHP | 397 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
26 */
                    
27require_once dirname(__FILE__) . '/../../../TestHelper.php';
                    
28
                    
28
                    
29PHPUnit_Util_Filter::addFileToFilter(__FILE__);
                    
30
                    
33 */
                    
34require_once 'Zend/Db.php';
                    
35
                    
38 */
                    
39require_once 'Zend/Config.php';
                    
40
                    
                
Editor.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 399 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
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magentocommerce.com so we can send you a copy immediately.
                    
23 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
Bounce.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 304 lines
                    
122    $queue = CRM_Mailing_Event_BAO_Queue::getTableName();
                    
123    $mailing = CRM_Mailing_BAO_Mailing::getTableName();
                    
124    $job = CRM_Mailing_BAO_MailingJob::getTableName();
                    
187    $queue = CRM_Mailing_Event_BAO_Queue::getTableName();
                    
188    $mailing = CRM_Mailing_BAO_Mailing::getTableName();
                    
189    $job = CRM_Mailing_BAO_MailingJob::getTableName();
                    
195                        $contact.id as contact_id,
                    
196                        $email.email as email,
                    
197                        $bounce.time_stamp as date,
                    
203            INNER JOIN  $email
                    
204                    ON  $queue.email_id = $email.id
                    
205            INNER JOIN  $bounce
                    
212            INNER JOIN  $mailing
                    
213                    ON  $job.mailing_id = $mailing.id
                    
214            WHERE       $mailing.id = " . CRM_Utils_Type::escape($mailing_id, 'Integer');
                    
                
ParamFetcherTest.php https://gitlab.com/cuza/Clinic_Recods | PHP | 440 lines
                    
1<?php
                    
2
                    
25 *
                    
26 * @author Alexander <iam.asm89@gmail.com>
                    
27 * @author Boris Guéry <guery.b@gmail.com>
                    
28 */
                    
29class ParamFetcherTest extends \PHPUnit_Framework_TestCase
                    
30{
                    
                
routes.php https://gitlab.com/melentev-av/perki.dev | PHP | 472 lines
                    
1<?php
                    
2
                    
290
                    
291            Route::get('/mailed', array(
                    
292                'as'   => 'perks/el/list',
                    
369
                    
370        Route::any('/profile/change/email', array(
                    
371            'as'   => 'profile/change/email',
                    
371            'as'   => 'profile/change/email',
                    
372            'uses' =>  'UserProfileController@changeEmailAction'
                    
373        ));
                    
429    'as' => 'api/v1/login',
                    
430    'uses' => 'ApiController@loginEmailAction',
                    
431));
                    
434    'as' => 'api/v1/singup',
                    
435    'uses' => 'ApiController@singUpEmailAction',
                    
436));
                    
                
config.cache.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 365 lines
                    
1<?php  return array (
                    
2  'access_category_enabled' => '1',
                    
6  'allow_manager_login_forgot_password' => '1',
                    
7  'allow_multiple_emails' => '1',
                    
8  'allow_tags_in_post' => '',
                    
55  'editor_css_selectors' => '',
                    
56  'emailsender' => 'status@loyaltymatters.co.uk',
                    
57  'emailsubject' => 'Your login details',
                    
69  'filemanager_url_relative' => '1',
                    
70  'forgot_login_email' => '<p>Hello [[+username]],</p>
                    
71<p>A request for a password reset has been issued for your MODX user. If you sent this, you may follow this link and use this password to login. If you did not send this request, please ignore this email.</p>
                    
288  'phpthumbof.s3_host_alias' => '',
                    
289  'phpthumbof.s3_path' => 'phpthumbof/',
                    
290  'phpthumbof.s3_cache_time' => '24',
                    
363  'versionx.enable.plugins' => '1',
                    
364  'login.forgot_password_email_subject' => 'Password Retrieval Email',
                    
365);
                    
                
MysqliManager.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 379 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
27 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
                    
28 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
                    
29 *
                    
45* which generate the necessary SQL. This sql is then passed to PEAR DB classes.
                    
46* The helper class is chosen in DBManagerFactory, which is driven by 'db_type' in 'dbconfig' under config.php.
                    
47*
                    
93
                    
94require_once('include/database/MysqlManager.php');
                    
95
                    
147		for ( $i = count($bt) ; $i-- ; $i > 0 ) {
                    
148			if ( strpos('MysqliManager.php',$bt[$i]['file']) === false ) {
                    
149				$line = $bt[$i];
                    
326	/**
                    
327	 * (non-PHPdoc)
                    
328	 * @see MysqlManager::lastDbError()
                    
                
Config.php https://github.com/blanketCMS/zf2.git | PHP | 536 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
211    /**
                    
212     * Support isset() overloading on PHP 5.1
                    
213     *
                    
222    /**
                    
223     * Support unset() overloading on PHP 5.1
                    
224     *
                    
                
DbSelectTest.php https://github.com/Exercise/zf2.git | PHP | 470 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
31
                    
32require_once __DIR__ . '/../_files/TestTable.php';
                    
33
                    
41 */
                    
42class DbSelectTest extends \PHPUnit_Framework_TestCase
                    
43{
                    
                
ResponseTest.php https://github.com/Exercise/zf2.git | PHP | 352 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
37/**
                    
38 * PHPUnit test case
                    
39 */
                    
51 */
                    
52class ResponseTest extends \PHPUnit_Framework_TestCase
                    
53{
                    
329     *
                    
330     * This can potentially fail on different PHP environments - for example
                    
331     * when mbstring.func_overload is set to overload strlen().
                    
                
PersistenceBuilder.php https://github.com/l3l0/BehatExamples.git | PHP | 337 lines
                    
1<?php
                    
2/*
                    
30 *
                    
31 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
32 * @link        www.doctrine-project.com
                    
33 * @since       1.0
                    
34 * @author      Jonathan H. Wage <jonwage@gmail.com>
                    
35 */
                    
                
Profiler.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 471 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
280         */
                    
281        require_once 'Zend/Db/Profiler/Query.php';
                    
282        $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType);
                    
308             */
                    
309            require_once 'Zend/Db/Profiler/Exception.php';
                    
310            throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'.");
                    
319             */
                    
320            require_once 'Zend/Db/Profiler/Exception.php';
                    
321            throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended.");
                    
                
OnlineTest.php https://bitbucket.org/ksekar/campus.git | PHP | 289 lines
                    
1<?php
                    
2/**
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: OnlineTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
25 */
                    
26require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'OnlineTestCase.php';
                    
27/**
                    
29 */
                    
30require_once 'Zend/Ldap/Node.php';
                    
31
                    
                
 

Source

Language