PageRenderTime 1201ms queryTime 99ms sortTime 521ms getByIdsTime 55ms findMatchingLines 71ms

100+ results results for 'php mail' (1201 ms)

Not the results you expected?
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
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$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
                
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.');
                    
                
WizardController.php https://github.com/rgranadino/magento-mirror.git | 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) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
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,
                    
                
MaildirFolderTest.php https://github.com/MarcelloDuarte/zf2.git | PHP | 444 lines
                    
48        if (!is_dir($this->_originalDir . '/cur/')) {
                    
49            $this->markTestSkipped('You have to unpack maildir.tar in Zend/Mail/_files/test.maildir/ '
                    
50                                 . 'directory before enabling the maildir tests');
                    
189    {
                    
190        $mail = new Folder\Maildir($this->_params);
                    
191        try {
                    
286    {
                    
287        $mail = new Folder\Maildir($this->_params);
                    
288        $iterator = new \RecursiveIteratorIterator($mail->getFolders(), \RecursiveIteratorIterator::SELF_FIRST);
                    
297    {
                    
298        $mail = new Folder\Maildir($this->_params);
                    
299
                    
388    {
                    
389        $mail = new Folder\Maildir($this->_params);
                    
390        $root = $mail->getFolders();
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
17 * 
                    
18 * @autor Eduardo Praxedes Heinske <praxeduardo@gmail.com>
                    
19 */
                    
                
WizardController.php https://bitbucket.org/sevenly/magento-ce.git | 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) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
Resource.php https://github.com/rico/flextrine.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');
                    
                
Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
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://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.');
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | 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',
                    
                
Inflector.php https://github.com/grandison/budo16.git | PHP | 506 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: Inflector.php 17705 2009-08-21 07:50:57Z thomas $
                    
20 */
                    
25 */
                    
26// require_once 'Zend/Filter.php';
                    
27
                    
30 */
                    
31// require_once 'Zend/Loader/PluginLoader.php';
                    
32
                    
463        if ($this->_throwTargetExceptionsOn && (preg_match('#(?='.$pregQuotedTargetReplacementIdentifier.'[A-Za-z]{1})#', $inflectedTarget) == true)) {
                    
464            // require_once 'Zend/Filter/Exception.php';
                    
465            throw new Zend_Filter_Exception('A replacement identifier ' . $this->_targetReplacementIdentifier . ' was found inside the inflected target, perhaps a rule was not satisfied with a target source?  Unsatisfied inflected target: ' . $inflectedTarget);
                    
                
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
                    
                
Resource.php https://github.com/ianbogda/FileZ.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');
                    
                
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			}
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 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.
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
                
TestData.php https://github.com/orchestra-io/sample-openx.git | PHP | 301 lines
                    
32require_once MAX_PATH . '/lib/OA/Dal.php';
                    
33require_once MAX_PATH . '/lib/OA/Dll.php';
                    
34require_once MAX_PATH . '/lib/max/Dal/Common.php';
                    
34require_once MAX_PATH . '/lib/max/Dal/Common.php';
                    
35require_once MAX_PATH . '/lib/OA/Dal/DataGenerator.php';
                    
36
                    
244        $doBanners->htmltemplate    = "<script type='text/javascript'><!--//<![CDATA[
                    
245   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
246   var m3_r = Math.floor(Math.random()*99999999999);
                    
257   document.write (\"'><\\/scr\"+\"ipt>\");
                    
258//]]>--></script><noscript><a href='http://ads.openx.org/delivery/ck.php?n=abc986b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.openx.org/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=abc986b1' border='0' alt='' /></a></noscript>";
                    
259
                    
260        $doBanners->htmlcache    = "<script type='text/javascript'><!--//<![CDATA[
                    
261   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
262   var m3_r = Math.floor(Math.random()*99999999999);
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
157		 */
                    
158		$item->email_raw = $item->email_to;
                    
159
                    
159
                    
160		if ($item->email_to && $item->params->get('show_email'))
                    
161		{
                    
161		{
                    
162			$item->email_to = JHtml::_('email.cloak', $item->email_to, (bool) $item->params->get('add_mailto_link', true));
                    
163		}
                    
216				{
                    
217					$image2 = JHtml::_('image', $item->params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL') . ': ', null, false);
                    
218				}
                    
220				{
                    
221					$image2 = JHtml::_('image', 'contacts/' . $item->params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL') . ': ', null, true);
                    
222				}
                    
                
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';
                    
                
IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 lines
                    
226    {
                    
227        $email = (string) $this->getRequest()->getParam('email');
                    
228        $params = $this->getRequest()->getParams();
                    
229
                    
230        if (!empty($email) && !empty($params)) {
                    
231            // Validate received data to be an email address
                    
231            // Validate received data to be an email address
                    
232            if (Zend_Validate::is($email, 'EmailAddress')) {
                    
233                $collection = Mage::getResourceModel('admin/user_collection');
                    
234                /** @var $collection Mage_Admin_Model_Resource_User_Collection */
                    
235                $collection->addFieldToFilter('email', $email);
                    
236                $collection->load(false);
                    
250                $this->_getSession()
                    
251                    ->addSuccess(Mage::helper('adminhtml')->__('If there is an account associated with %s you will receive an email with a link to reset your password.', Mage::helper('adminhtml')->escapeHtml($email)));
                    
252                $this->_redirect('*/*/login');
                    
                
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>
                    
                
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)
                    
                
EditView.php https://github.com/lukio/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;';
                    
                
lang.php https://github.com/godber/PHXdata-Website.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:"';
                    
                
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');
                    
                
Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
20 *
                    
21 * @author Jeremy Mikola <jmikola@gmail.com>
                    
22 */
                    
                
permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
11 *
                    
12 * MODX Revolution translated to German by Jan-Christoph Ihrens (enigmatic_user, enigma@lunamail.de)
                    
13 */
                    
                
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
                    
                
phpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Implementation of phpBB converter.
                    
5 */
                    
5 */
                    
6class phpBB extends BBP_Converter_Base {
                    
7	function __construct() {
                    
357			'to_fieldname' => '_bbp_class',
                    
358			'default'      => 'phpBB'
                    
359		);
                    
368				
                    
369		// User email.
                    
370		$this->field_map[] = array(
                    
371			'from_tablename' => 'users',
                    
372			'from_fieldname' => 'user_email',
                    
373			'to_type'        => 'user',
                    
                
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.';
                    
                
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;
                    
                
Value.php https://github.com/hukumonline/zfurl.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
                    
                
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$
                    
                
File.php https://github.com/mwturnage/frapi-1.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 20096 2010-01-06 02:05:09Z bkarwin $
                    
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.');
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
31$result = basic_info();
                    
32$json_message['email_status']   = $result['email_status'];
                    
33$json_message['password']       = $result['s_password'];
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
103        $mail->Subject = 'OSClass successfully installed!' ;
                    
104        $mail->AddAddress($_POST['email'], 'OSClass administrator') ;
                    
105        $mail->Body = $body ;
                    
107        if (!$mail->Send()) {
                    
108            return array('email_status' => $_POST['email']."<br>".$mail->ErrorInfo,
                    
109                  's_password'   => $password );
                    
113        }
                    
114    }catch(phpmailerException $exception) {
                    
115
                    
                
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"
                    
                
Value.php https://github.com/jakedorst/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
                    
                
event.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 418 lines
                    
185		$data[ 'blogAuthorLink' ]		= EasyBlogRouter::getRoutedURL( 'index.php?option=com_easyblog&view=blogger&layout=listings&id=' . $author->id , false , true );
                    
186		$data[ 'blogAuthorEmail' ]		= $author->user->email;
                    
187		$data[ 'blogIntro' ]			= $blog->intro;
                    
220			// Do not send email to the author.
                    
221			if( $author->user->email != $user->email )
                    
222			{
                    
223				$obj 				= new stdClass();
                    
224				$obj->email 		= $user->email;
                    
225				$emails[]			= $obj;
                    
229		$notification	= EasyBlogHelper::getHelper( 'Notification' );
                    
230		$emailBlogTitle = JString::substr( $blog->title , 0 , $config->get( 'main_mailtitle_length' ) );
                    
231		$emailTitle 	= JText::sprintf( 'COM_EASYBLOG_EMAIL_TITLE_NEW_BLOG_ADDED_WITH_TITLE' ,  $emailBlogTitle ) . ' ...';
                    
231		$emailTitle 	= JText::sprintf( 'COM_EASYBLOG_EMAIL_TITLE_NEW_BLOG_ADDED_WITH_TITLE' ,  $emailBlogTitle ) . ' ...';
                    
232		$notification->send( $emails , $emailTitle , 'email.blog.new' , $data );
                    
233	}
                    
                
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
                    
                
index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
                    
27
                    
28require '../../main.inc.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
30require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
                    
31require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
                    
141			print '<td>'.$commandestatic->LibStatut($status, 0).'</td>';
                    
142			print '<td class="right"><a href="list.php?statut='.$status.'">'.(isset($vals[$status]) ? $vals[$status] : 0).'</a></td>';
                    
143			print "</tr>\n";
                    
206				print '<td class="nowrap">';
                    
207				print "<a href=\"card.php?id=".$obj->rowid."\">".img_object($langs->trans("ShowOrder"), "order").' '.$obj->ref."</a></td>";
                    
208				print '<td><a href="'.DOL_URL_ROOT.'/fourn/card.php?socid='.$obj->socid.'">'.img_object($langs->trans("ShowCompany"), "company").' '.dol_trunc($obj->name, 24).'</a></td></tr>';
                    
258			$userstatic->firstname = $obj->firstname;
                    
259			$userstatic->email = $obj->email;
                    
260			$userstatic->statut = $obj->statut;
                    
                
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)) {
                    
                
LimitTestCase.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 329 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
76        $this->assertEqual($users->count(), 5);
                    
77        $this->assertEqual($q->getSqlQuery(), "SELECT e.id AS e__id, e2.id AS e2__id, e2.address AS e2__address FROM entity e LEFT JOIN email e2 ON e.email_id = e2.id WHERE (e.type = 0) LIMIT 5");
                    
78
                    
86        $this->assertEqual($users->count(), 5);
                    
87        $this->assertEqual($q->getSqlQuery(), "SELECT e.id AS e__id, e2.id AS e2__id, e2.address AS e2__address FROM entity e INNER JOIN email e2 ON e.email_id = e2.id WHERE (e.type = 0) LIMIT 5");
                    
88    }
                    
224
                    
225        $this->assertEqual($q->getSqlQuery(), 'SELECT e.id AS e__id, e.name AS e__name, e.loginname AS e__loginname, e.password AS e__password, e.type AS e__type, e.created AS e__created, e.updated AS e__updated, e.email_id AS e__email_id, p.id AS p__id, p.phonenumber AS p__phonenumber, p.entity_id AS p__entity_id FROM entity e LEFT JOIN phonenumber p ON e.id = p.entity_id WHERE e.id IN (SELECT DISTINCT e2.id FROM entity e2 LEFT JOIN phonenumber p2 ON e2.id = p2.entity_id WHERE e2.name = ? AND (e2.type = 0) LIMIT 5) AND e.name = ? AND (e.type = 0)');
                    
226        
                    
294
                    
295        $this->assertEqual($q->getSqlQuery(), "SELECT e.id AS e__id, e.name AS e__name, e.loginname AS e__loginname, e.password AS e__password, e.type AS e__type, e.created AS e__created, e.updated AS e__updated, e.email_id AS e__email_id FROM entity e LEFT JOIN groupuser g ON (e.id = g.user_id) LEFT JOIN entity e2 ON e2.id = g.group_id AND e2.type = 1 WHERE e2.name = ? AND (e.type = 0) ORDER BY e.id DESC LIMIT 5");
                    
296        $this->manager->setAttribute(Doctrine::ATTR_QUERY_LIMIT, Doctrine::LIMIT_RECORDS);
                    
                
string-util.cpp https://github.com/tstarling/hiphop-php.git | C++ | 461 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        |
                    
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#include "hphp/runtime/base/string-util.h"
                    
18#include <algorithm>
                    
19#include <vector>
                    
20#include "hphp/zend/zend-html.h"
                    
21#include "hphp/runtime/base/zend-string.h"
                    
                
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');
                    
                
ucp_prefs.php https://github.com/naderman/phpbb-orchestra.git | PHP | 357 lines
                    
29	{
                    
30		global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx;
                    
31
                    
47					'dst'			=> request_var('dst', (bool) $user->data['user_dst']),
                    
48					'viewemail'		=> request_var('viewemail', (bool) $user->data['user_allow_viewemail']),
                    
49					'massemail'		=> request_var('massemail', (bool) $user->data['user_allow_massemail']),
                    
82							'user_allow_pm'			=> $data['allowpm'],
                    
83							'user_allow_viewemail'	=> $data['viewemail'],
                    
84							'user_allow_massemail'	=> $data['massemail'],
                    
132
                    
133					'S_NOTIFY_EMAIL'	=> ($data['notifymethod'] == NOTIFY_EMAIL) ? true : false,
                    
134					'S_NOTIFY_IM'		=> ($data['notifymethod'] == NOTIFY_IM) ? true : false,
                    
135					'S_NOTIFY_BOTH'		=> ($data['notifymethod'] == NOTIFY_BOTH) ? true : false,
                    
136					'S_VIEW_EMAIL'		=> $data['viewemail'],
                    
137					'S_MASS_EMAIL'		=> $data['massemail'],
                    
                
sysvmsg.c https://gitlab.com/envieidoc/tomato | 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.
                    
                
Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 576 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
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     */
                    
                
Flat.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 362 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
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 */
                    
                
OLE.php https://bitbucket.org/blackriver/openx.git | PHP | 410 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP Version 4                                                        |
                    
5// +----------------------------------------------------------------------+
                    
5// +----------------------------------------------------------------------+
                    
6// | Copyright (c) 1997-2002 The PHP Group                                |
                    
7// +----------------------------------------------------------------------+
                    
7// +----------------------------------------------------------------------+
                    
8// | This source file is subject to version 2.02 of the PHP license,      |
                    
9// | that is bundled with this package in the file LICENSE, and is        |
                    
10// | available at through the world-wide-web at                           |
                    
11// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+
                    
                
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,
                    
                
Abstract.php https://bitbucket.org/kudutest1/moodlegit.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');
                    
                
BaseUserService.php https://github.com/rgranadino/magento-mirror.git | PHP | 399 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: BaseUserService.php 20166 2010-01-09 19:00:17Z bkarwin $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Service/DeveloperGarden/Client/ClientAbstract.php';
                    
27
                    
30 */
                    
31#require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/GetQuotaInformationResponse.php';
                    
32
                    
35 */
                    
36#require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/ChangeQuotaPoolResponse.php';
                    
37
                    
                
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  }
                    
                
SetupController.php https://github.com/geraintp/frontend.git | PHP | 444 lines
                    
49    $appId = isset($_POST['appId']) ? $_POST['appId'] : '';
                    
50    $email = isset($_POST['email']) ? $_POST['email'] : '';
                    
51    $input = array(
                    
51    $input = array(
                    
52      array('Email', $email, 'required')
                    
53    );
                    
59      getSession()->set('appId', $appId);
                    
60      getSession()->set('email', $email);
                    
61
                    
64
                    
65    $body = getTheme()->get('setup.php', array('emai' => $email, 'appId' => $appId, 'step' => $step, 'errors' => $errors));
                    
66    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
                    
422      '{s3Host}' => getSession()->get('s3BucketName') . '.s3.amazonaws.com',
                    
423      '{email}' => getSession()->get('email')
                    
424    );
                    
                
TemperatureTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 447 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: TemperatureTest.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
22
                    
23if (!defined('PHPUnit_MAIN_METHOD')) {
                    
24    define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main');
                    
29 */
                    
30require_once 'Zend/Measure/Temperature.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Registry.php';
                    
36
                    
                
Account.php https://github.com/grandison/budo16.git | PHP | 317 lines
                    
32    $this->addElement('Text', 'email', array(
                    
33      'label' => 'Email Address',
                    
34      'description' => 'You will use your email address to login.',
                    
43    $this->email->getDecorator('Description')->setOptions(array('placement' => 'APPEND'));
                    
44    $this->email->getValidator('NotEmpty')->setMessage('Please enter a valid email address.', 'isEmpty');
                    
45    $this->email->getValidator('Db_NoRecordExists')->setMessage('Someone has already registered this email address, please use another one.', 'recordFound');
                    
47    if( !empty($inviteSession->invite_email) ) {
                    
48      $this->email->setValue($inviteSession->invite_email);
                    
49    }
                    
50
                    
51    //if( $settings->getSetting('user.signup.verifyemail', 0) > 0 && $settings->getSetting('user.signup.checkemail', 0) == 1 ) {
                    
52    //  $this->email->addValidator('Identical', true, array($inviteSession->invite_email));
                    
52    //  $this->email->addValidator('Identical', true, array($inviteSession->invite_email));
                    
53    //  $this->email->getValidator('Identical')->setMessage('Your email address must match the address that was invited.', 'notSame');
                    
54    //}
                    
                
MaildirTest.php https://github.com/mrbanzai/zf2.git | PHP | 444 lines
                    
157    {
                    
158        $mail = new Storage\Maildir(array('dirname' => $this->_maildir));
                    
159
                    
412    {
                    
413        $mail = new Storage\Maildir(array('dirname' => $this->_maildir));
                    
414        $this->assertEquals($mail->getMessage(4)->getPart(2)->contentType, 'text/x-vertical');
                    
418    {
                    
419        $mail = new Storage\Maildir(array('dirname' => $this->_maildir));
                    
420        $this->assertEquals($mail->getMessage(4)->getPart(2)->getSize(), 88);
                    
426        rename($this->_maildir . '/cur/1000000001.P1.example.org:2,FS', $this->_maildir . '/cur/1000000001.P1.example.org,S=456:2,FS');
                    
427        $mail = new Storage\Maildir(array('dirname' => $this->_maildir));
                    
428        $shouldSizes = array(1 => 123, 456, 694, 452, 497);
                    
437        rename($this->_maildir . '/cur/1000000001.P1.example.org:2,FS', $this->_maildir . '/cur/1000000001.P1.example.org,S=456:2,FS');
                    
438        $mail = new Storage\Maildir(array('dirname' => $this->_maildir));
                    
439
                    
                
Config.php https://github.com/mrbanzai/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     *
                    
                
form.js https://bitbucket.org/sevenly/magento-ce.git | 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 */
                    
                
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
                    
                
Pgsql.php https://github.com/kervin/kyzstudio.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 22788 2010-08-03 18:29:55Z ramon $
                    
21 */
                    
26 */
                    
27#require_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");
                    
                
AbstractClassMetadataFactory.php https://github.com/nattaphat/hgis.git | PHP | 389 lines
                    
1<?php
                    
2/*
                    
33 * @author  Benjamin Eberlei <kontakt@beberlei.de>
                    
34 * @author  Guilherme Blanco <guilhermeblanco@hotmail.com>
                    
35 * @author  Jonathan Wage <jonwage@gmail.com>
                    
270     * Scenarios in a code-generation setup might have access to XML/YAML
                    
271     * Mapping files without the actual PHP code existing here. That is why the
                    
272     * {@see Doctrine\Common\Persistence\Mapping\ReflectionService} interface
                    
                
Config.php https://bitbucket.org/jokusafet/magento2.git | PHP | 429 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) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
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        }
                    
                
TbInput.php https://bitbucket.org/haichau59/manga.git | PHP | 588 lines
                    
1<?php
                    
2/**
                    
3 * TbInput class file.
                    
4 * @author Christoffer Niska <ChristofferNiska@gmail.com>
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
7 * @package bootstrap.widgets.input
                    
                
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"
                    
                
File.php https://github.com/grandison/budo16.git | PHP | 465 lines
                    
25 */
                    
26// require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31// require_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.');
                    
                
override_form.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 266 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
28
                    
29require_once($CFG->libdir . '/formslib.php');
                    
30
                    
101                    // Generate an error.
                    
102                    $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id));
                    
103                    print_error('groupsnone', 'quiz', $link);
                    
143                        $users = get_users_by_capability($this->context, 'mod/quiz:attempt',
                    
144                                'u.id, u.firstname, u.lastname, u.email',
                    
145                                $sort, '', '', array_keys($groups),
                    
149                    $users = get_users_by_capability($this->context, 'mod/quiz:attempt',
                    
150                            'u.id, u.firstname, u.lastname, u.email' ,
                    
151                            $sort, '', '', '', '', false, true);
                    
154                    // Generate an error.
                    
155                    $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id));
                    
156                    print_error('usersnone', 'quiz', $link);
                    
                
ValidatorTypeGuesser.php https://github.com/Exercise/symfony.git | PHP | 273 lines
                    
1<?php
                    
2
                    
123
                    
124            case 'Symfony\Component\Validator\Constraints\Email':
                    
125                return new TypeGuess('email', array(), Guess::HIGH_CONFIDENCE);
                    
                
imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    enrol_imsenterprise
                    
21 * @category   phpunit
                    
22 * @copyright  2012 David Monllaó
                    
28global $CFG;
                    
29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php');
                    
30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php');
                    
35 * @package    enrol_imsenterprise
                    
36 * @category   phpunit
                    
37 * @copyright  2012 David Monllaó
                    
95        $user1->username = 'u1';
                    
96        $user1->email = 'u1@u1.org';
                    
97        $user1->firstname = 'U';
                    
268    </name>
                    
269    <email>'.$user->email.'</email>
                    
270  </person>';
                    
                
ogniter_default_lang.php https://bitbucket.org/NeoArc/ogniter-language.git | PHP | 355 lines
                    
1<?php
                    
2
                    
                
scalar_expression.cpp https://bitbucket.org/gnanakeethan/hiphop-php.git | C++ | 526 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
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   +----------------------------------------------------------------------+
                    
17#include "hphp/compiler/expression/scalar_expression.h"
                    
18#include "hphp/util/parser/hphp.tab.hpp"
                    
19#include "hphp/util/util.h"
                    
23#include "hphp/compiler/analysis/constant_table.h"
                    
24#include "hphp/compiler/statement/statement_list.h"
                    
25#include "hphp/compiler/analysis/function_scope.h"
                    
393    if (m_quoted) {
                    
394      string output = Util::escapeStringForPHP(m_originalValue);
                    
395      cg_printf("%s", output.c_str());
                    
                
CloneCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 431 lines
                    
1/*
                    
2 * Copyright (C) 2011, Chris Aniszczyk <caniszczyk@gmail.com>
                    
3 * and other copyright owners as documented in the project's IP log.
                    
7 * accompanies this distribution, is reproduced below, and is
                    
8 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9 *
                    
                
site-users.php https://gitlab.com/hop23typhu/bryepoxy | 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>
                    
                
Pgsql.php https://github.com/grjones/qframe.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 22789 2010-08-03 19:01:10Z ramon $
                    
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");
                    
                
Resource.php https://github.com/orchestra-io/sample-openx.git | PHP | 436 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-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 14026 2009-02-09 19:03:22Z matthew $
                    
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');
                    
                
Profiler.php https://github.com/kervin/kyzstudio.git | 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.");
                    
                
setup.php https://github.com/Doap/xoops.git | PHP | 202 lines
                    
104define("_INSTALL_ADMIN_LOGIN_LABEL", "Admin login");
                    
105define("_INSTALL_ADMIN_EMAIL_LABEL", "Admin email");
                    
106define("_INSTALL_ADMIN_PASS_LABEL", "Admin password");
                    
135//define("ERR_NO_XOOPS_FOUND", "No system installation could be found in the specified folder.");
                    
136define("_INSTALL_ERR_INVALID_EMAIL", "Invalid Email");
                    
137define("_INSTALL_ERR_REQUIRED", "Information is required.");
                    
176define("_INSTALL_REQUIREMENT_SERVER_MOD_REWRITE", "Apache \"mod_rewrite\" module is required, check <a href='http://httpd.apache.org/docs/current/mod/mod_rewrite.html' title='mod_rewrite' target='_blank'>mod_rewrite</a> for details.");
                    
177define("_INSTALL_REQUIREMENT_SERVER_NOT_SUPPORTED", "The webserver is currently not supported, please use <a href='http://nginx.net' title='nginx' target='_blank'>nginx</a> or <a href='http://www.php.net/manual/en/book.apache.php' target='_blank' title='Apache'>Apache</a>.");
                    
178define("_INSTALL_REQUIREMENT_PHP", "PHP");
                    
179define("_INSTALL_REQUIREMENT_PDO", "PDO drivers");
                    
180define("_INSTALL_REQUIREMENT_PDO_PROMPT", "PHP Data Objects (PDO) extension with MySQL driver is required for regular Xoops Engine instances, check <a href='http://www.php.net/manual/en/book.pdo.php' title='PDO' target='_blank'>PDO manual</a> for details.");
                    
181define("_INSTALL_REQUIREMENT_PERSIST", "Persist options");
                    
190define("_INSTALL_EXTENSION_APC", "APC");
                    
191define("_INSTALL_EXTENSION_APC_PROMPT", 'The Alternative PHP Cache (APC) is highly recommended for high-performance senario. Refer to <a href="http://www.php.net/manual/en/intro.apc.php" target="_blank" title="APC introduction">APC introduction</a> for details.');
                    
192define("_INSTALL_EXTENSION_REDIS", "Redis");
                    
                
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/advancedtomato2 | 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            }
                    
                
Template.php https://github.com/rgranadino/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
                    
                
 

Source

Language