PageRenderTime 359ms queryTime 54ms sortTime 2ms getByIdsTime 47ms findMatchingLines 60ms

100+ results results for 'php empty repo:levjke/kohanablogds' (359 ms)

Not the results you expected?
Route.php git://github.com/symfony/symfony.git | PHP | 568 lines
                    
1<?php
                    
2
                    
180     * Returns the lowercased schemes this route is restricted to.
                    
181     * So an empty array means that any scheme is allowed.
                    
182     *
                    
191     * Sets the schemes (e.g. 'https') this route is restricted to.
                    
192     * So an empty array means that any scheme is allowed.
                    
193     *
                    
219     * Returns the uppercased HTTP methods this route is restricted to.
                    
220     * So an empty array means that any method is allowed.
                    
221     *
                    
230     * Sets the HTTP methods (e.g. 'POST') this route is restricted to.
                    
231     * So an empty array means that any method is allowed.
                    
232     *
                    
557        if ('' === $regex) {
                    
558            throw new \InvalidArgumentException(sprintf('Routing requirement for "%s" cannot be empty.', $key));
                    
559        }
                    
                
SubscriberPreferencesControl.ascx.cs https://hg01.codeplex.com/mojoportal | C# | 306 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
31        private List<LetterInfo> siteAvailableSubscriptions = null;
                    
32        private Guid userGuid = Guid.Empty;
                    
33        protected string siteRoot = string.Empty;
                    
118                                {
                    
119                                    subscriptions.Verify(s.SubscribeGuid, true, Guid.Empty);
                    
120                                    LetterInfo.UpdateSubscriberCount(availableSubscription.LetterInfoGuid);
                    
178
                    
179            return string.Empty;
                    
180
                    
225            //        Resource.ButtonDisabledPleaseWait,
                    
226            //        Page.ClientScript.GetPostBackEventReference(this.btnSavePreferences, string.Empty)
                    
227            //        );
                    
                
OLE_Root.php https://PHPExcel.svn.codeplex.com/svn | PHP | 482 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
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          |
                    
22
                    
23require_once 'PHPExcel/Shared/OLE/OLE_PPS.php';
                    
24
                    
31*/
                    
32class PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS
                    
33	{
                    
152				$raList[$i]->Size = $raList[$i]->_DataLen();
                    
153				if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) {
                    
154					$iSBcnt += floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE)
                    
407		$iBbCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;
                    
408		$i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;
                    
409	  
                    
                
AnalyticsAsyncTopScript.cs https://hg01.codeplex.com/mojoportal | C# | 348 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
34        private SiteSettings siteSettings = null;
                    
35        private string googleAnalyticsProfileId = string.Empty;
                    
36        private List<AnalyticsTransaction> transactions = new List<AnalyticsTransaction>();
                    
38        private string memberType = "member";
                    
39        private string pageToTrack = string.Empty;
                    
40        private string sectionKey = "section";
                    
40        private string sectionKey = "section";
                    
41        private string section = string.Empty;
                    
42        private string overrideDomain = string.Empty;
                    
195                {
                    
196                    writer.Write(" _gaq.push(['_trackPageview','" + pageToTrack.Replace("'", string.Empty).Replace("\"", string.Empty) + "']); ");
                    
197                }
                    
                
content_object_share_form.class.php https://bitbucket.org/chamilo/chamilo-repository-dev/ | PHP | 260 lines
                    
1<?php
                    
2
                    
21/**
                    
22 * $Id: user_view_form.class.php 200 2009-11-13 12:30:04Z kariboe $
                    
23 * @package repository.lib.forms
                    
86                $type = $content_object->get_type_name();
                    
87                $file = Path :: get_repository_content_object_path() . $type . '/php/' . $type . '_content_object_share_form.class.php';
                    
88                if (file_exists($file))
                    
120        $buttons[] = $this->createElement('style_reset_button', 'reset', Translation :: get('Reset', null, Utilities :: COMMON_LIBRARIES), array(
                    
121                'class' => 'normal empty'));
                    
122        
                    
140        $buttons[] = $this->createElement('style_reset_button', 'reset', Translation :: get('Reset', null, Utilities :: COMMON_LIBRARIES), array(
                    
141                'class' => 'normal empty'));
                    
142        
                    
                
Template.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 479 lines
                    
1<?php
                    
2/***************************************************************************
                    
2/***************************************************************************
                    
3 *                              template.php
                    
4 *                            -------------------
                    
5 *   begin                : Saturday, Feb 13, 2001
                    
6 *   copyright            : (C) 2001 The phpBB Group
                    
7 *   email                : support@phpbb.com
                    
8 *
                    
9 *   $Id: template.php,v 1.10 2002/04/02 21:13:47 the_systech Exp $
                    
10 *
                    
23/**
                    
24 * Template class. By Nathan Codding of the phpBB group.
                    
25 * The interface was originally inspired by PHPLib templates,
                    
119		// actually compile the template now.
                    
120		if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
                    
121		{
                    
                
handlers.dev.js http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | JavaScript | 433 lines
                    
2function fileDialogStart() {
                    
3	jQuery("#media-upload-error").empty();
                    
4}
                    
113		jQuery.ajax({
                    
114			url: 'admin-ajax.php',
                    
115			type: 'post',
                    
131		jQuery.ajax({
                    
132			url: 'admin-ajax.php',
                    
133			type: 'post',
                    
168	error.html('<div class="file-error"><button type="button" id="dismiss-'+id+'" class="button dismiss">'+swfuploadL10n.dismiss+'</button>'+html+'</div>');
                    
169	jQuery('#dismiss-'+id).click(function(){jQuery(this).parents('.file-error').slideUp(200, function(){jQuery(this).empty();})});
                    
170}
                    
198
                    
199	jQuery('.filename:empty', item).remove();
                    
200	jQuery('.filename .title', item).css('font-weight','bold');
                    
                
loader-disabled.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 438 lines
                    
252			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?>
                    
253				   checked="checked"<?php endif; ?>  value="1" /> <?php _e( 'Yes', "bp-media" ) ?> &nbsp;
                    
254			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
254			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
255				   checked="checked"<?php endif; ?>  value="0" /> <?php _e( 'No', "bp-media" ) ?>
                    
256			</td>
                    
261			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?>
                    
262				   checked="checked"<?php endif; ?>  value="1" /> <?php _e( 'Yes', "bp-media" ) ?> &nbsp;
                    
263			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
263			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
264				   checked="checked"<?php endif; ?>  value="0" /> <?php _e( 'No', "bp-media" ) ?>
                    
265			</td>
                    
301
                    
302	<?php
                    
303
                    
                
group.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
21$savegroup = $nv_Request->get_int( 'savegroup', 'post', 0 );
                    
22if ( ! empty( $savegroup ) )
                    
23{
                    
82            nv_del_moduleCache( $module_name );
                    
83            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
84            die();
                    
110            
                    
111            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
112            die();
                    
209
                    
210include ( NV_ROOTDIR . "/includes/header.php" );
                    
211echo nv_admin_theme( $contents );
                    
211echo nv_admin_theme( $contents );
                    
212include ( NV_ROOTDIR . "/includes/footer.php" );
                    
213
                    
                
Sliding.php https://code.google.com/p/s3db/ | PHP | 315 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------+
                    
4// +----------------------------------------------------------------------+
                    
5// | Copyright (c) 1997-2003 The PHP Group                                |
                    
6// +----------------------------------------------------------------------+
                    
6// +----------------------------------------------------------------------+
                    
7// | This source file is subject to version 2.0 of the PHP license,       |
                    
8// | that is bundled with this package in the file LICENSE, and is        |
                    
9// | available at through the world-wide-web at                           |
                    
10// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+
                    
17//
                    
18// $Id: Sliding.php,v 1.5 2004/01/16 10:29:57 quipo Exp $
                    
19
                    
                
PHPExcel_Worksheet_RowDimension.html https://PHPExcel.svn.codeplex.com/svn | HTML | 403 lines
                    
38      	  <div class="package">
                    
39			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_ColumnDimension_php.html">		ColumnDimension.php
                    
40		</a><br>
                    
44		</a><br>
                    
45			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_PageMargins_php.html">		PageMargins.php
                    
46		</a><br>
                    
46		</a><br>
                    
47			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_PageSetup_php.html">		PageSetup.php
                    
48		</a><br>
                    
48		</a><br>
                    
49			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_Protection_php.html">		Protection.php
                    
50		</a><br>
                    
50		</a><br>
                    
51			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_RowDimension_php.html">		RowDimension.php
                    
52		</a><br>
                    
                
date.php git://github.com/gallery/gallery3.git | PHP | 395 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
7 * @copyright  (c) 2007-2009 Kohana Team
                    
8 * @license    http://kohanaphp.com/license
                    
9 */
                    
55	 * Returns the offset (in seconds) between two time zones.
                    
56	 * @see     http://php.net/timezones
                    
57	 *
                    
213		// We use caching for months, because time functions are used
                    
214		if (empty($months[$year][$month]))
                    
215		{
                    
280		// Invalid output
                    
281		if (empty($output))
                    
282			return FALSE;
                    
288		$time1  = max(0, (int) $time1);
                    
289		$time2  = empty($time2) ? time() : max(0, (int) $time2);
                    
290
                    
                
period_manager.class.php https://bitbucket.org/chamilo/chamilo-app-internship-organizer-dev/ | PHP | 318 lines
                    
1<?php
                    
2namespace application\internship_organizer;
                    
7
                    
8require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period_manager/component/browser/browser_table.class.php';
                    
9require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period_menu.class.php';
                    
9require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period_menu.class.php';
                    
10require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period.class.php';
                    
11
                    
134
                    
135    function get_period_emptying_url($period)
                    
136    {
                    
281     * Helper function for the SubManager class,
                    
282     * pending access to class constants via variables in PHP 5.3
                    
283     * e.g. $name = $class :: DEFAULT_ACTION
                    
296     * Helper function for the SubManager class,
                    
297     * pending access to class constants via variables in PHP 5.3
                    
298     * e.g. $name = $class :: PARAM_ACTION
                    
                
usercp_viewprofile.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 241 lines
                    
1<?php
                    
2
                    
4
                    
5require(INC_DIR .'bbcode.php');
                    
6
                    
10
                    
11if (empty($_GET[POST_USERS_URL]) || $_GET[POST_USERS_URL] == GUEST_UID)
                    
12{
                    
49{
                    
50	$email_uri = ($bb_cfg['board_email_form']) ? 'profile.php?mode=email&amp;'. POST_USERS_URL .'='. $profiledata['user_id'] : 'mailto:'. $profiledata['user_email'];
                    
51	$email = '<a class="editable" href="'. $email_uri .'">'. $profiledata['user_email'] .'</a>';
                    
61//
                    
62include(INC_DIR ."functions_report.php");
                    
63$report_user = report_modules('name', 'report_user');
                    
142	'TRAF_STATS'           => !(IS_AM || $profile_user_id),
                    
143	'U_MANAGE'             => (IS_ADMIN) ? "profile.php?mode=editprofile&amp;u={$profiledata['user_id']}" : 'profile.php?mode=editprofile',
                    
144));
                    
                
ContentRating.cs https://hg01.codeplex.com/mojoportal | C# | 441 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
45
                    
46        private Guid rowGuid = Guid.Empty;
                    
47        private Guid siteGuid = Guid.Empty;
                    
47        private Guid siteGuid = Guid.Empty;
                    
48        private Guid contentGuid = Guid.Empty;
                    
49        private Guid userGuid = Guid.Empty;
                    
49        private Guid userGuid = Guid.Empty;
                    
50        private string emailAddress = string.Empty;
                    
51        private int rating = -1;
                    
51        private int rating = -1;
                    
52        private string comments = string.Empty;
                    
53        private string ipAddress = string.Empty;
                    
                
logs.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
44		exit();
                    
58	
                    
59	if ( ! empty ( $data_search['q'] ) and $data_search['q'] != $lang_module['filter_enterkey'] )
                    
60	{
                    
64	
                    
65	if ( ! empty ( $data_search['from'] ) )
                    
66	{
                    
75	
                    
76	if ( ! empty ( $data_search['to'] ) )
                    
77	{
                    
                
image.php http://myzapp.googlecode.com/svn/trunk/ | PHP | 347 lines
                    
1<?php
                    
2include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','application','configs','env.php')));
                    
2include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','application','configs','env.php')));
                    
3include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','library','phplib.php')));
                    
4
                    
6{
                    
7	if (empty($header)) {
                    
8		require_once 'Zend/Controller/Request/Exception.php';
                    
35
                    
36$config = include(join(DIRECTORY_SEPARATOR,array(dirname(__FILE__),'..','application','configs','application.php')));
                    
37$secret = $config['secret_word'];
                    
173		list($width, $height) = explode('x', isset($size) ? $size : '0x0', 2);
                    
174		$width  = empty($width)  ? $srcWidth  : (int)$width;
                    
175		$height = empty($height) ? $srcHeight : (int)$height;
                    
175		$height = empty($height) ? $srcHeight : (int)$height;
                    
176		$crop = empty($crop) ? 0 : (int)$crop;
                    
177		$sharp = isset($sharp) ? max(0, (int)$sharp) : 20;
                    
                
ContentPage.cs https://hg01.codeplex.com/mojoportal | C# | 474 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
31
                    
32        private string resourceFile = string.Empty;
                    
33        private string name = string.Empty;
                    
33        private string name = string.Empty;
                    
34        private string title = string.Empty;
                    
35        private string url = string.Empty;
                    
35        private string url = string.Empty;
                    
36        private string menuImage = string.Empty;
                    
37        private int pageOrder = 1;
                    
40        private string visibleToRoles = "All Users;";
                    
41        private string editRoles = string.Empty;
                    
42        private string draftEditRoles = string.Empty;
                    
                
user_waiting.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
71        
                    
72        $full_name = ( ! empty( $row['full_name'] ) ) ? $row['full_name'] : $row['username'];
                    
73        $subject = $lang_module['adduser_register'];
                    
73        $subject = $lang_module['adduser_register'];
                    
74        $message = sprintf( $lang_module['adduser_register_info'], $full_name, $global_config['site_name'], NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name, $row['username'] );
                    
75        $message .= "<br /><br />------------------------------------------------<br /><br />";
                    
112
                    
113if ( ! empty( $method ) and isset( $methods[$method] ) and ! empty( $methodvalue ) )
                    
114{
                    
154$head_tds['username']['title'] = $lang_module['account'];
                    
155$head_tds['username']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=user_waiting&amp;sortby=username&amp;sorttype=ASC";
                    
156$head_tds['full_name']['title'] = $lang_module['name'];
                    
158$head_tds['email']['title'] = $lang_module['email'];
                    
159$head_tds['email']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=user_waiting&amp;sortby=email&amp;sorttype=ASC";
                    
160$head_tds['regdate']['title'] = $lang_module['register_date'];
                    
                
file_helper.php git://github.com/philsturgeon/codeigniter-restserver.git | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
136				{
                    
137					// Ignore empty folders
                    
138					if (substr($filename, 0, 1) != '.')
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
354		{
                    
355			if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/mimes.php'))
                    
356			{
                    
                
default.css https://hg01.codeplex.com/mojoportal | CSS | 528 lines
                    
309}
                    
310.qtfile .file-panel.file-list-empty
                    
311{
                    
311{
                    
312	/* background: url('empty_folder_bg.png') 50% 50% no-repeat; */
                    
313}
                    
467/* Impromptu 
                    
468http://trentrichardson.com/Impromptu/index.php
                    
469*/
                    
                
handlers.dev.js http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | JavaScript | 452 lines
                    
3function fileDialogStart() {
                    
4	jQuery("#media-upload-error").empty();
                    
5}
                    
111	else {
                    
112		item.load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
113	}
                    
146		jQuery.ajax({
                    
147			url: 'admin-ajax.php',
                    
148			type: 'post',
                    
164		jQuery.ajax({
                    
165			url: 'admin-ajax.php',
                    
166			type: 'post',
                    
257
                    
258	jQuery('.filename:empty', item).remove();
                    
259	jQuery('.filename .title', item).css('font-weight','bold');
                    
                
sub-activity-class-singlepost.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 381 lines
                    
1<?php
                    
2
                    
36
                    
37                if( empty($activity_post_id) || empty($album_id) || empty($media_id) ){
                    
38                    return false;
                    
                
fsource_PHPExcel_Shared__PHPExcelSharedPasswordHasher.php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 124 lines
                    
15  		  [ <a href="../classtrees_PHPExcel_Shared.html" class="menu">class tree: PHPExcel_Shared</a> ]
                    
16		  [ <a href="../elementindex_PHPExcel_Shared.html" class="menu">index: PHPExcel_Shared</a> ]
                    
17		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
                    
28              <a href="../li_PHPExcel_Cell.html">PHPExcel_Cell</a><br />
                    
29              <a href="../li_PHPExcel_Reader.html">PHPExcel_Reader</a><br />
                    
30              <a href="../li_PHPExcel_Shared.html">PHPExcel_Shared</a><br />
                    
42<h1 align="center">Source for file PasswordHasher.php</h1>
                    
43<p>Documentation is available at <a href="../PHPExcel_Shared/_Classes_PHPExcel_Shared_PasswordHasher_php.html">PasswordHasher.php</a></p>
                    
44<div class="php">
                    
44<div class="php">
                    
45<div class="listing"><pre><ol><li><a name="a1"></a><span class="src-php">&lt;?php</span></li>
                    
46<li><a name="a2"></a><span class="src-doc">/**</span></li>
                    
79<li><a name="a35"></a><span class="src-doc"> */</span></li>
                    
80<li><a name="a36"></a><span class="src-key">class </span><a href="../PHPExcel_Shared/PHPExcel_Shared_PasswordHasher.html">PHPExcel_Shared_PasswordHasher</a></li>
                    
81<li><a name="a37"></a><span class="src-sym">{</span></li>
                    
                
plugins.php http://typecho.googlecode.com/svn/trunk/ | PHP | 145 lines
                    
38                            <?php if (!$activatedPlugins->dependence): ?>
                    
39                            <img src="<?php $options->adminUrl('images/notice.gif'); ?>" title="<?php _e('%s ???????typecho?????', $activatedPlugins->title); ?>" alt="<?php _e('%s ???????typecho?????', $activatedPlugins->title); ?>" class="tiny" />
                    
40                            <?php endif; ?>
                    
49                                        <?php if ($activatedPlugins->config): ?>
                    
50                                            <a href="<?php $options->adminUrl('options-plugin.php?config=' . $activatedPlugins->name); ?>"><?php _e('??'); ?></a> 
                    
51                                            | 
                    
52                                        <?php endif; ?>
                    
53                                        <a lang="<?php _e('???????? %s ??', $activatedPlugins->name); ?>" href="<?php $options->index('/action/plugins-edit?deactivate=' . $activatedPlugins->name); ?>"><?php _e('??'); ?></a>
                    
54                                    <?php else: ?>
                    
69                        <td colspan="3"><span class="warning"><?php _e('?????????????????, ????????'); ?></span></td>
                    
70                        <td><a lang="<?php _e('???????? %s ??', $key); ?>" href="<?php $options->index('/action/plugins-edit?deactivate=' . $key); ?>"><?php _e('??'); ?></a></td>
                    
71                        </tr>
                    
114                                        <?php if ($deactivatedPlugins->config): ?>
                    
115                                            <a href="<?php $options->adminUrl('options-plugin.php?config=' . $deactivatedPlugins->name); ?>"><?php _e('??'); ?></a> 
                    
116                                            | 
                    
                
UserDetails.php http://web3cms.googlecode.com/svn/trunk/ | PHP | 247 lines
                    
1<?php
                    
2
                    
74        // isEmailConfirmed is in range
                    
75        $retval[]=array('isEmailConfirmed', 'in', 'range'=>array(null,self::EMAIL_IS_CONFIRMED,self::EMAIL_IS_NOT_CONFIRMED), 'strict'=>true, 'allowEmpty'=>false, 'on'=>'not sure');
                    
76        // isEmailVisible is in range
                    
76        // isEmailVisible is in range
                    
77        $retval[]=array('isEmailVisible', 'in', 'range'=>array(null,self::EMAIL_IS_VISIBLE,self::EMAIL_IS_NOT_VISIBLE), 'strict'=>true, 'allowEmpty'=>false, 'on'=>'not sure');
                    
78        if(Yii::app()->user->checkAccess(User::ADMINISTRATOR))
                    
                
inc.tplparse_feeds.php http://punchcms.googlecode.com/svn/trunk/ | PHP | 257 lines
                    
1<?php
                    
2
                    
19			//*** Post the profile form if submitted.
                    
20			if (count($_CLEAN_POST) > 0 && !empty($_CLEAN_POST['dispatch']) && $_CLEAN_POST['dispatch'] == "editFeed") {
                    
21				//*** The element form has been posted.
                    
84			$intPosition = request("pos");
                    
85			$intPosition = (!empty($intPosition) && is_numeric($intPosition)) ? $intPosition : 0;
                    
86			$intPosition = floor($intPosition / $_SESSION["listCount"]) * $_SESSION["listCount"];
                    
242			$strReturnTo = request('returnTo');
                    
243			if (empty($strReturnTo)) {
                    
244				header("Location: " . Request::getUri() . "/?cid=" . request("cid") . "&cmd=" . CMD_LIST);
                    
                
index.php http://phpshop.googlecode.com/svn/trunk/ | PHP | 371 lines
                    
3//
                    
4// This source file is part of phpShop(R).
                    
5//
                    
20
                    
21// $Id: index.php,v 1.1.1.1 2004/07/27 14:58:07 pablo Exp $
                    
22
                    
37if (!get_magic_quotes_gpc()) {
                    
38	die("You must enable magic_quotes_gpc in php.ini in order to run phpShop. Read <a href=\"http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc\"> the docs</a>.");
                    
39}
                    
59  $HTTP_COOKIE_VARS = $_COOKIE;
                    
60  $PHP_SELF = $_SERVER["PHP_SELF"];
                    
61  $SERVER_NAME = $_SERVER["SERVER_NAME"];
                    
72} else {
                    
73  //http://de.php.net/manual/de/function.import-request-variables.php
                    
74  //if you're stuck using a pre-4.10 version of php
                    
                
tpl_shopping_cart_default.php http://google-checkout-zencart.googlecode.com/svn/trunk/ | PHP | 240 lines
                    
85       <td class="cartProductDisplay">
                    
86<a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo $product['productsImage']; ?></span><span id="cartProdTitle"><?php echo $product['productsName'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>'; ?></span></a>
                    
87<br class="clearBoth" />
                    
188
                    
189<h2 id="cartEmptyText"><?php echo TEXT_CART_EMPTY; ?></h2>
                    
190
                    
203?>
                    
204<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
                    
205<?php } ?>
                    
213?>
                    
214<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
                    
215<?php } ?>
                    
223?>
                    
224<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
                    
225<?php } ?>
                    
                
UserController.php http://wolfcms.googlecode.com/svn/trunk/ | PHP | 332 lines
                    
1<?php
                    
2
                    
76
                    
77        if (empty($user)) {
                    
78            $user = new User;
                    
136        foreach ($fields as $field) {
                    
137            if (!empty($data[$field]) && !Validate::alphanum_space($data[$field])) {
                    
138                $errors[] = __('Illegal value for :fieldname field!', array(':fieldname' => $field));
                    
141
                    
142        if (!empty($data['email']) && !Validate::email($data['email'])) {
                    
143            $errors[] = __('Illegal value for :fieldname field!', array(':fieldname' => 'email'));
                    
145
                    
146        if (!empty($data['language']) && !Validate::alpha($data['language'])) {
                    
147            $errors[] = __('Illegal value for :fieldname field!', array(':fieldname' => 'language'));
                    
163            // now we need to add permissions if needed
                    
164            if (!empty($_POST['user_permission']))
                    
165                UserRole::setPermissionsFor($user->id, $_POST['user_permission']);
                    
                
dbo_odbc.php git://github.com/cakephp/datasources.git | PHP | 380 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP versions 4 and 5
                    
6 *
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP(tm) Project
                    
15 * @package       datasources
                    
16 * @subpackage    datasources.models.datasources.dbo
                    
17 * @since         CakePHP Datasources v 0.1
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
213
                    
214		if ($data === null || (is_array($data) && empty($data))) {
                    
215			return 'NULL';
                    
                
FormLayout.php http://php-ext.googlecode.com/svn/trunk/ | PHP | 227 lines
                    
16 */
                    
17include_once 'PhpExt/Layout/AnchorLayout.php';
                    
18
                    
42 */
                    
43class PhpExt_Layout_FormLayout extends PhpExt_Layout_AnchorLayout  {
                    
44	
                    
82	/**
                    
83	 * The default label alignment. The default value is empty string '' or {@link PhpExt_Form_FormPanel::LABEL_ALIGN_LEFT} for left alignment, but specifying {@link PhpExt_Form_FormPanel::LABEL_ALIGN_TOP} will align the labels above the fields.
                    
84	 * @uses PhpExt_Form_FormPanel::LABEL_ALIGN_LEFT
                    
84	 * @uses PhpExt_Form_FormPanel::LABEL_ALIGN_LEFT
                    
85	 * @uses PhpExt_Form_FormPanel::LABEL_ALIGN_TOP
                    
86	 * @uses PhpExt_Form_FormPanel::LABEL_ALIGN_RIGHT
                    
94	/**
                    
95	 * The default label alignment. The default value is empty string '' or {@link PhpExt_Form_FormPanel::LABEL_ALIGN_LEFT} for left alignment, but specifying {@link PhpExt_Form_FormPanel::LABEL_ALIGN_TOP} will align the labels above the fields.
                    
96	 * @uses PhpExt_Form_FormPanel::LABEL_ALIGN_LEFT
                    
                
nrepl.clj git://github.com/clojure/tools.nrepl.git | Clojure | 246 lines
                    
2;   The use and distribution terms for this software are covered by the
                    
3;   Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
                    
4;   which can be found in the file epl-v10.html at the root of this distribution.
                    
154   the result of (read)ing it.  Returns the message unchanged if the :value
                    
155   slot is empty or not a string."
                    
156  [{:keys [value] :as msg}]
                    
                
index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
7Modification History:
                    
82008.04.25: Fix problems reported in phperror.log
                    
9*/
                    
13require_once "includes/config.php";
                    
14$strSetupDir = (empty($ThUserData['domain'])) ? "" : $ThUserData['domain'];
                    
15$frmLoginDomain = isset($frmLoginDomain) ? $frmLoginDomain : ''; //2008.05.16
                    
16$strSetupDir = (is_dir("setup/{$strSetupDir}")) ? $strSetupDir . '/' : "";
                    
17$strSettingScript = "setup" . $strSetupDir . "setting.php";
                    
18include_once $strSettingScript;
                    
21include'includes/variables.php';
                    
22include_once("lib/multidbconnection.php");                                                                                                
                    
23$dbLinkFunc =Open($dbtype,$connecttype,$dbhost,$dbuser,$dbpass,$dbname);
                    
52
                    
53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:'';  //2008.05.06
                    
54
                    
                
captcha_helper.php git://github.com/EllisLab/CodeIgniter.git | PHP | 384 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
90		{
                    
91			if ( ! is_array($data) && empty($$key))
                    
92			{
                    
158
                    
159		if (empty($word))
                    
160		{
                    
164
                    
165			// PHP7 or a suitable polyfill
                    
166			if (function_exists('random_int'))
                    
183
                    
184		if (empty($word))
                    
185		{
                    
                
admin_ranks.php http://xoxoshop2010.googlecode.com/svn/trunk/ | PHP | 350 lines
                    
8 *
                    
9 *   $Id: admin_ranks.php,v 1.13.2.8 2006/04/13 09:56:48 grahamje Exp $
                    
10 *
                    
21
                    
22if( !empty($setmodules) )
                    
23{
                    
43{
                    
44	redirect('admin/' . append_sid("admin_ranks.$phpEx", true));
                    
45}
                    
207
                    
208		$message .= "<br /><br />" . sprintf($lang['Click_return_rankadmin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
                    
209
                    
248
                    
249			$message = $lang['Rank_removed'] . "<br /><br />" . sprintf($lang['Click_return_rankadmin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
                    
250
                    
                
Currency.php https://code.google.com/p/ecartcommerce/ | PHP | 354 lines
                    
1<?php
                    
2/**
                    
103    {
                    
104        if (!empty($code) && $this->getData($code)) {
                    
105            return true;
                    
117    {
                    
118        if (empty($code)) {
                    
119            $code = $this->getCode();
                    
216    {
                    
217        if (empty($code)) {
                    
218            $code = $this->getCode();
                    
226
                    
227        if (!empty($key)) {
                    
228            return $this->_data[$code][$key];
                    
297        foreach ($data as $id => $values) {
                    
298            $format = empty($values['format']) ?
                    
299                new Zend_Db_Expr('NULL') : $values['format'];
                    
                
PHPExcel_Writer_Excel2007_ContentTypes.html https://PHPExcel.svn.codeplex.com/svn | HTML | 386 lines
                    
38      	  <div class="package">
                    
39			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_ContentTypes_php.html">		ContentTypes.php
                    
40		</a><br>
                    
50		</a><br>
                    
51			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Theme_php.html">		Theme.php
                    
52		</a><br>
                    
52		</a><br>
                    
53			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Workbook_php.html">		Workbook.php
                    
54		</a><br>
                    
54		</a><br>
                    
55			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Worksheet_php.html">		Worksheet.php
                    
56		</a><br>
                    
56		</a><br>
                    
57			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_WriterPart_php.html">		WriterPart.php
                    
58		</a><br>
                    
                
_Classes_PHPExcel_Writer_Excel2007_php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 123 lines
                    
95PHPExcel_IComparable<br /><br /><p>PHPExcel_IComparable</p><br />require_once(<a href="../PHPExcel/_________________________Classes_PHPExcel_Cell_php.html">'PHPExcel/Cell.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a41">41</a>]<br />
                    
96PHPExcel_Cell<br /><br /><p>PHPExcel_Cell</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_WriterPart_php.html">'PHPExcel/Writer/Excel2007/WriterPart.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a47">47</a>]<br />
                    
97PHPExcel_Writer_Excel2007_WriterPart<br /><br /><p>PHPExcel_Writer_Excel2007_WriterPart</p><br />require_once(<a href="../PHPExcel/_Classes_PHPExcel_php.html">'PHPExcel.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a29">29</a>]<br />
                    
98PHPExcel<br /><br /><p>PHPExcel</p><br />require_once(<a href="../PHPExcel_Writer/_Classes_PHPExcel_Writer_IWriter_php.html">'PHPExcel/Writer/IWriter.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a44">44</a>]<br />
                    
99PHPExcel_IWriter<br /><br /><p>PHPExcel_IWriter</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_StringTable_php.html">'PHPExcel/Writer/Excel2007/StringTable.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a50">50</a>]<br />
                    
100PHPExcel_Writer_Excel2007_StringTable<br /><br /><p>PHPExcel_Writer_Excel2007_StringTable</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/____________Classes_PHPExcel_Writer_Excel2007_ContentTypes_php.html">'PHPExcel/Writer/Excel2007/ContentTypes.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a53">53</a>]<br />
                    
101PHPExcel_Writer_Excel2007_ContentTypes<br /><br /><p>PHPExcel_Writer_Excel2007_ContentTypes</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/__________Classes_PHPExcel_Writer_Excel2007_DocProps_php.html">'PHPExcel/Writer/Excel2007/DocProps.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a56">56</a>]<br />
                    
102PHPExcel_Writer_Excel2007_DocProps<br /><br /><p>PHPExcel_Writer_Excel2007_DocProps</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Rels_php.html">'PHPExcel/Writer/Excel2007/Rels.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a59">59</a>]<br />
                    
103PHPExcel_Writer_Excel2007_Rels<br /><br /><p>PHPExcel_Writer_Excel2007_Rels</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Style_php.html">'PHPExcel/Writer/Excel2007/Style.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a65">65</a>]<br />
                    
103PHPExcel_Writer_Excel2007_Rels<br /><br /><p>PHPExcel_Writer_Excel2007_Rels</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Style_php.html">'PHPExcel/Writer/Excel2007/Style.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a65">65</a>]<br />
                    
104PHPExcel_Writer_Excel2007_Style<br /><br /><p>PHPExcel_Writer_Excel2007_Style</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Workbook_php.html">'PHPExcel/Writer/Excel2007/Workbook.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a68">68</a>]<br />
                    
105PHPExcel_Writer_Excel2007_Workbook<br /><br /><p>PHPExcel_Writer_Excel2007_Workbook</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Worksheet_php.html">'PHPExcel/Writer/Excel2007/Worksheet.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a71">71</a>]<br />
                    
105PHPExcel_Writer_Excel2007_Workbook<br /><br /><p>PHPExcel_Writer_Excel2007_Workbook</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Worksheet_php.html">'PHPExcel/Writer/Excel2007/Worksheet.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a71">71</a>]<br />
                    
106PHPExcel_Writer_Excel2007_Worksheet<br /><br /><p>PHPExcel_Writer_Excel2007_Worksheet</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/__________________Classes_PHPExcel_Writer_Excel2007_Drawing_php.html">'PHPExcel/Writer/Excel2007/Drawing.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a74">74</a>]<br />
                    
107PHPExcel_Writer_Excel2007_Drawing<br /><br /><p>PHPExcel_Writer_Excel2007_Drawing</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Theme_php.html">'PHPExcel/Writer/Excel2007/Theme.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer__PHPExcelWriterExcel2007.php.html#a62">62</a>]<br />
                    
                
elementindex_PHPExcel_Writer.html https://PHPExcel.svn.codeplex.com/svn | HTML | 205 lines
                    
98							<dt><b>__construct</b></dt>
                    
99				<dd>in file Excel2007.php, method <a href="PHPExcel_Writer/PHPExcel_Writer_Excel2007.html#method__construct">PHPExcel_Writer_Excel2007::__construct()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Create a new PHPExcel_Writer_Excel2007</dd>
                    
100							<dt><b>__construct</b></dt>
                    
132							<dt><b>getPHPExcel</b></dt>
                    
133				<dd>in file Serialized.php, method <a href="PHPExcel_Writer/PHPExcel_Writer_Serialized.html#methodgetPHPExcel">PHPExcel_Writer_Serialized::getPHPExcel()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get PHPExcel object</dd>
                    
134							<dt><b>getPHPExcel</b></dt>
                    
134							<dt><b>getPHPExcel</b></dt>
                    
135				<dd>in file Excel2007.php, method <a href="PHPExcel_Writer/PHPExcel_Writer_Excel2007.html#methodgetPHPExcel">PHPExcel_Writer_Excel2007::getPHPExcel()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get PHPExcel object</dd>
                    
136							<dt><b>getStringTable</b></dt>
                    
188							<dt><b>setPHPExcel</b></dt>
                    
189				<dd>in file Serialized.php, method <a href="PHPExcel_Writer/PHPExcel_Writer_Serialized.html#methodsetPHPExcel">PHPExcel_Writer_Serialized::setPHPExcel()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get PHPExcel object</dd>
                    
190							<dt><b>setPHPExcel</b></dt>
                    
190							<dt><b>setPHPExcel</b></dt>
                    
191				<dd>in file Excel2007.php, method <a href="PHPExcel_Writer/PHPExcel_Writer_Excel2007.html#methodsetPHPExcel">PHPExcel_Writer_Excel2007::setPHPExcel()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Get PHPExcel object</dd>
                    
192					</dl>
                    
                
conf.auth.php http://classroombookings.googlecode.com/svn/trunk/ | PHP | 316 lines
                    
1<?php
                    
2echo form_open('configure/save_auth', array('name' => 'form_confauth', 'id' => 'form_confauth'));
                    
18			<label for="preauth" class="check">
                    
19			<?php
                    
20			echo form_hidden('preauthkey', $auth->preauthkey);
                    
24			$check['value'] = '1';
                    
25			$check['checked'] = set_radio($check['name'], $check['value'], (!empty($auth->preauthkey)));
                    
26			$check['tabindex'] = $t;
                    
33	
                    
34	<?php
                    
35	if(!empty($auth->preauthkey)){
                    
43		<td class="field">
                    
44			<?php
                    
45			echo form_dropdown('preauthgroup_id', $groups, set_value('preauthgroup_id', (isset($auth->preauthgroup_id)) ? $auth->preauthgroup_id : 0), array('tabindex' => $t));
                    
55		<td class="field">
                    
56			<?php
                    
57			unset($input);
                    
                
functions.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
28    {
                    
29        $name = "<a href=\"" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=" . $list[$id]['alias'] . "\">" . $list[$id]['title'] . "</a> &raquo; " . $name;
                    
30    }
                    
61    
                    
62    if ( ! empty( $list ) )
                    
63    {
                    
76                    {
                    
77                        $list2[$row['id']]['name'] = "<a href=\"" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=" . $list2[$row['id']]['alias'] . "\">" . $list2[$row['id']]['name'] . "</a>";
                    
78                    }
                    
88                    {
                    
89                        $list2[$row['id']]['name'] = "<a href=\"" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "\">" . $module_info['custom_title'] . "</a> &raquo; " . $list2[$row['id']]['name'];
                    
90                    }
                    
117    
                    
118    $download_config['upload_filetype'] = ! empty( $download_config['upload_filetype'] ) ? explode( ",", $download_config['upload_filetype'] ) : array();
                    
119    if ( ! empty( $download_config['upload_filetype'] ) ) $download_config['upload_filetype'] = array_map( "trim", $download_config['upload_filetype'] );
                    
                
ExtPanel.cs https://hg01.codeplex.com/mojoportal | C# | 277 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
24        private bool animCollapse = true;
                    
25        private string autoLoad = string.Empty;
                    
26        private bool autoScroll = false;
                    
32        private bool headerAsText = true;
                    
33        private string title = string.Empty;
                    
34        private string layout = string.Empty;
                    
34        private string layout = string.Empty;
                    
35        private string region = string.Empty;
                    
36        private bool frame = false;
                    
36        private bool frame = false;
                    
37        private string iconCls = string.Empty;
                    
38        private string ctCls = string.Empty;
                    
                
_Classes_PHPExcel_Writer_Excel2007_Drawing_php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 133 lines
                    
40		</a><br>
                    
41			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_Drawing_php.html">		Drawing.php
                    
42		</a><br>
                    
54		</a><br>
                    
55			<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_WriterPart_php.html">		WriterPart.php
                    
56		</a><br>
                    
112<div class="tags">
                    
113require_once(<a href="../PHPExcel_Writer/_Classes_PHPExcel_Writer_Excel2007_php.html">'PHPExcel/Writer/Excel2007.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a29">29</a>]<br />
                    
114PHPExcel_Writer_Excel2007<br /><br /><p>PHPExcel_Writer_Excel2007</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_WriterPart_php.html">'PHPExcel/Writer/Excel2007/WriterPart.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a32">32</a>]<br />
                    
114PHPExcel_Writer_Excel2007<br /><br /><p>PHPExcel_Writer_Excel2007</p><br />require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_WriterPart_php.html">'PHPExcel/Writer/Excel2007/WriterPart.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a32">32</a>]<br />
                    
115PHPExcel_Writer_Excel2007_WriterPart<br /><br /><p>PHPExcel_Writer_Excel2007_WriterPart</p><br />require_once(<a href="../PHPExcel_Worksheet/______________________________________________Classes_PHPExcel_Worksheet_Drawing_php.html">'PHPExcel/Worksheet/Drawing.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a35">35</a>]<br />
                    
116PHPExcel_Worksheet_Drawing<br /><br /><p>PHPExcel_Worksheet_Drawing</p><br />require_once(<a href="../PHPExcel/_Classes_PHPExcel_Worksheet_php.html">'PHPExcel/Worksheet.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a38">38</a>]<br />
                    
116PHPExcel_Worksheet_Drawing<br /><br /><p>PHPExcel_Worksheet_Drawing</p><br />require_once(<a href="../PHPExcel/_Classes_PHPExcel_Worksheet_php.html">'PHPExcel/Worksheet.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a38">38</a>]<br />
                    
117PHPExcel_Worksheet<br /><br /><p>PHPExcel_Worksheet</p><br />require_once(<a href="../PHPExcel/_________________________Classes_PHPExcel_Cell_php.html">'PHPExcel/Cell.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Drawing.php.html#a41">41</a>]<br />
                    
118PHPExcel_Cell<br /><br /><p>PHPExcel_Cell</p><br /></div>
                    
                
YamlFileLoader.php git://github.com/symfony/symfony.git | PHP | 262 lines
                    
1<?php
                    
2
                    
75
                    
76        // empty file
                    
77        if (null === $parsedConfig) {
                    
                
_Classes_PHPExcel_Writer_Excel2007_Style_php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 143 lines
                    
118require_once(<a href="../PHPExcel_Writer_Excel2007/_Classes_PHPExcel_Writer_Excel2007_WriterPart_php.html">'PHPExcel/Writer/Excel2007/WriterPart.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a33">33</a>]<br />
                    
119PHPExcel_Writer_Excel2007_WriterPart<br /><br /><p>PHPExcel_Writer_Excel2007_WriterPart</p><br />require_once(<a href="../PHPExcel/_Classes_PHPExcel_Style_php.html">'PHPExcel/Style.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a36">36</a>]<br />
                    
120PHPExcel_Style<br /><br /><p>PHPExcel_Style</p><br />require_once(<a href="../PHPExcel_Style/__________________________________Classes_PHPExcel_Style_Borders_php.html">'PHPExcel/Style/Borders.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a39">39</a>]<br />
                    
120PHPExcel_Style<br /><br /><p>PHPExcel_Style</p><br />require_once(<a href="../PHPExcel_Style/__________________________________Classes_PHPExcel_Style_Borders_php.html">'PHPExcel/Style/Borders.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a39">39</a>]<br />
                    
121PHPExcel_Style_Borders<br /><br /><p>PHPExcel_Style_Borders</p><br />require_once(<a href="../PHPExcel_Writer/_____________________________________________Classes_PHPExcel_Writer_Excel2007_php.html">'PHPExcel/Writer/Excel2007.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a30">30</a>]<br />
                    
122PHPExcel_Writer_Excel2007<br /><br /><p>PHPExcel_Writer_Excel2007</p><br />require_once(<a href="../PHPExcel_Style/_______________________________Classes_PHPExcel_Style_Border_php.html">'PHPExcel/Style/Border.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a42">42</a>]<br />
                    
122PHPExcel_Writer_Excel2007<br /><br /><p>PHPExcel_Writer_Excel2007</p><br />require_once(<a href="../PHPExcel_Style/_______________________________Classes_PHPExcel_Style_Border_php.html">'PHPExcel/Style/Border.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a42">42</a>]<br />
                    
123PHPExcel_Style_Border<br /><br /><p>PHPExcel_Style_Border</p><br />require_once(<a href="../PHPExcel_Style/_________________________Classes_PHPExcel_Style_Color_php.html">'PHPExcel/Style/Color.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a45">45</a>]<br />
                    
124PHPExcel_Style_Color<br /><br /><p>PHPExcel_Style_Color</p><br />require_once(<a href="../PHPExcel_Style/____________________________________Classes_PHPExcel_Style_Font_php.html">'PHPExcel/Style/Font.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a51">51</a>]<br />
                    
124PHPExcel_Style_Color<br /><br /><p>PHPExcel_Style_Color</p><br />require_once(<a href="../PHPExcel_Style/____________________________________Classes_PHPExcel_Style_Font_php.html">'PHPExcel/Style/Font.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a51">51</a>]<br />
                    
125PHPExcel_Style_Font<br /><br /><p>PHPExcel_Style_Font</p><br />require_once(<a href="../PHPExcel_Style/______________________Classes_PHPExcel_Style_NumberFormat_php.html">'PHPExcel/Style/NumberFormat.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a54">54</a>]<br />
                    
126PHPExcel_Style_NumberFormat<br /><br /><p>PHPExcel_Style_NumberFormat</p><br />require_once(<a href="../PHPExcel_Style/____________________________________Classes_PHPExcel_Style_Conditional_php.html">'PHPExcel/Style/Conditional.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a57">57</a>]<br />
                    
126PHPExcel_Style_NumberFormat<br /><br /><p>PHPExcel_Style_NumberFormat</p><br />require_once(<a href="../PHPExcel_Style/____________________________________Classes_PHPExcel_Style_Conditional_php.html">'PHPExcel/Style/Conditional.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a57">57</a>]<br />
                    
127PHPExcel_Style_Conditional<br /><br /><p>PHPExcel_Style_Conditional</p><br />require_once(<a href="../PHPExcel_Style/____________________________________________Classes_PHPExcel_Style_Fill_php.html">'PHPExcel/Style/Fill.php'</a>) [line <a href="..//__filesource/fsource_PHPExcel_Writer_Excel2007__PHPExcelWriterExcel2007Style.php.html#a48">48</a>]<br />
                    
128PHPExcel_Style_Fill<br /><br /><p>PHPExcel_Style_Fill</p><br /></div>
                    
                
grid.custom.js https://hg01.codeplex.com/razorpad | JavaScript | 0 lines
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl-2.0.html
                    
77			if (this.p.pager) {
                    
78				$(this.p.pager).empty().removeClass("ui-state-default ui-jqgrid-pager corner-bottom");
                    
79			}
                    
                
downloadalbum.php git://github.com/gallery/gallery3-contrib.git | PHP | 301 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2/**
                    
32
                    
33        $zipname = (empty($container->name))
                    
34            ? 'Gallery.zip' // @todo purified_version_of($container->title).'.zip'
                    
214  /**
                    
215   * See system/helpers/download.php
                    
216   */
                    
224  /**
                    
225   * See system/helpers/download.php
                    
226   */
                    
233    $mime = Kohana::config('mimes.'.strtolower(substr(strrchr($filename, '.'), 1)));
                    
234    $mime = empty($mime) ? 'application/octet-stream' : $mime[0];
                    
235    header("Content-Type: $mime");
                    
287  /**
                    
288   * See http://bugs.php.net/bug.php?id=45028
                    
289   */
                    
                
locales.php git://github.com/gallery/gallery3.git | PHP | 264 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2/**
                    
31  static function available() {
                    
32    if (empty(self::$locales)) {
                    
33      self::_init_language_data();
                    
134  static function display_name($locale=null) {
                    
135    if (empty(self::$locales)) {
                    
136      self::_init_language_data();
                    
163          $requested_locale = strtolower($matches[1]);
                    
164          if (!empty($matches[2])) {
                    
165            $requested_locale .= "_" . strtoupper($matches[2]);
                    
                
CoreController.php git://github.com/sonata-project/SonataAdminBundle.git | PHP | 167 lines
                    
1<?php
                    
2
                    
62    /**
                    
63     * The search action first render an empty page, if the query is set, then the template generates
                    
64     * some ajax request to retrieve results for each admin. The Ajax query returns a JSON response.
                    
                
CssEditor.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 168 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
41    {
                    
42        protected string skinName = string.Empty;
                    
43        protected string cssFile = string.Empty;
                    
43        protected string cssFile = string.Empty;
                    
44        private string skinBasePath = string.Empty;
                    
45        private bool allowEditing = false;
                    
137            skinBasePath = "~/Data/Sites/" + siteSettings.SiteId.ToInvariantString() + "/skins/";
                    
138            skinName = WebUtils.ParseStringFromQueryString("s", string.Empty);
                    
139            cssFile = WebUtils.ParseStringFromQueryString("f", string.Empty);
                    
                
FieldTypeTest.php git://github.com/symfony/symfony.git | PHP | 308 lines
                    
16require_once __DIR__ . '/../../../Fixtures/FixedDataTransformer.php';
                    
17require_once __DIR__ . '/../../../Fixtures/FixedFilterListener.php';
                    
18
                    
196
                    
197    public function testBindEmptyWithEmptyDataCreatesNoObjectIfNotRequired()
                    
198    {
                    
211
                    
212    public function testBindEmptyWithEmptyDataCreatesObjectIfRequired()
                    
213    {
                    
229     */
                    
230    public function testBindWithEmptyDataStoresArrayIfNoClassAvailable()
                    
231    {
                    
240
                    
241    public function testBindWithEmptyDataUsesEmptyDataOption()
                    
242    {
                    
                
Mail.php git://github.com/osCommerce/oscommerce.git | PHP | 375 lines
                    
136      if ( empty($this->_body) ) {
                    
137        if ( !empty($this->_body_plain) && !empty($this->_body_html) ) {
                    
138          $this->_boundary = '=_____MULTIPART_MIXED_BOUNDARY____';
                    
188          $this->_body .= '--' . $this->_boundary . '--' . "\n\n";
                    
189        } elseif ( !empty($this->_body_html) && !empty($this->_images) ) {
                    
190          $this->_boundary = '=_____MULTIPART_MIXED_BOUNDARY____';
                    
224          $this->_body .= '--' . $this->_boundary . '--' . "\n";
                    
225        } elseif ( !empty($this->_attachments) ) {
                    
226          $this->_boundary = '=_____MULTIPART_MIXED_BOUNDARY____';
                    
237                         'Content-Transfer-Encoding: ' . $this->_content_transfer_encoding . "\n\n" .
                    
238                         (empty($this->_body_plain) ? $this->_body_html : $this->_body_plain) . "\n\n" .
                    
239                         '--' . $this->_related_boundary . '--' . "\n\n";
                    
322
                    
323      if ( empty($this->_from['email_address']) || empty($to_email_addresses) ) {
                    
324        return false;
                    
                
GreyBoxHyperlink.cs https://hg01.codeplex.com/mojoportal | C# | 189 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
24        private string scriptBaseUrl = "~/ClientScript/greybox/";
                    
25        private string rel = string.Empty;
                    
26        private string dialogCloseText = string.Empty;
                    
26        private string dialogCloseText = string.Empty;
                    
27        private string clientClick = string.Empty;
                    
28
                    
                
UrlRewriter.cs https://hg01.codeplex.com/mojoportal | C# | 383 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
104            {
                    
105                virtualFolderName = string.Empty;
                    
106            }
                    
130            string pathInfo = app.Request.PathInfo;
                    
131            if (pathInfo != string.Empty)
                    
132            {
                    
155                    // caused by this commented line
                    
156                    //targetUrl = targetUrl.Replace(virtualFolderName + "/", string.Empty);
                    
157                    //fixed by changing to this
                    
244                    //2009-03-01 same bug as above
                    
245                    //string pathToUse = requestPath.Replace(virtualFolderName + "/", string.Empty);
                    
246                    string pathToUse = requestPath.Remove(0, virtualFolderName.Length + 1);
                    
                
Excel5.php https://PHPExcel.svn.codeplex.com/svn | PHP | 389 lines
                    
22 * @package    PHPExcel_Writer
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/lgpl.txt	LGPL
                    
71	 *
                    
72	 * @param 	PHPExcel	$phpExcel	PHPExcel object
                    
73	 */
                    
252			// 	// Print area
                    
253			// 	$printArea = PHPExcel_Cell::splitRange($phpSheet->getPageSetup()->getPrintArea());
                    
254			// 	$printArea[0] = PHPExcel_Cell::coordinateFromString($printArea[0]);
                    
348	 * @param 	PHPExcel				$pPHPExcel
                    
349	 * @return 	PHPExcel_Style[]		All styles in PHPExcel
                    
350	 * @throws 	Exception
                    
351	 */
                    
352	private function _allStyles(PHPExcel $pPHPExcel = null)
                    
353	{	
                    
                
Kohana_Config.php git://github.com/gallery/gallery3-contrib.git | PHP | 331 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
5 *
                    
6 * $Id: Kohana_Config.php 4679 2009-11-10 01:45:52Z isaiah $
                    
7 *
                    
10 * @copyright  (c) 2007-2009 Kohana Team
                    
11 * @license    http://kohanaphp.com/license
                    
12 */
                    
43		// If the driver has not been initialised, intialise it
                    
44		if ( empty(Kohana_Config::$instance))
                    
45		{
                    
                
ErrorCollector.php git://github.com/gallery/gallery3-contrib.git | PHP | 209 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2
                    
36     * Sends an error message to the collector for later use
                    
37     * @param $severity int Error severity, PHP error style (don't use E_USER_)
                    
38     * @param $msg string Error message text
                    
65
                    
66        if (empty($args)) {
                    
67            $msg = $this->locale->getMessage($msg);
                    
71
                    
72        if (!empty($subst)) $msg = strtr($msg, $subst);
                    
73
                    
110        // Now, check if we need to operate on a lower structure
                    
111        if (!empty($attr)) {
                    
112            $struct = $struct->getChild(HTMLPurifier_ErrorStruct::ATTR, $attr);
                    
116        }
                    
117        if (!empty($cssprop)) {
                    
118            $struct = $struct->getChild(HTMLPurifier_ErrorStruct::CSSPROP, $cssprop);
                    
                
access.class.php http://xfw-xkid-framework.googlecode.com/svn/trunk/ | PHP | 345 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHP Class to user access (login, register, logout, etc)
                    
4 * 
                    
4 * 
                    
5 * <code><?php
                    
6 * include('access.class.php');
                    
10 * For support issues please refer to the webdigity forums :
                    
11 *				http://www.webdigity.com/index.php/board,91.0.html
                    
12 * or the official web site:
                    
12 * or the official web site:
                    
13 *				http://phpUserClass.com/
                    
14 * ==============================================================================
                    
15 * 
                    
16 * @version $Id: access.class.php,v 0.93 2008/05/02 10:54:32 $
                    
17 * @copyright Copyright (c) 2007 Nick Papanotas (http://www.webdigity.com)
                    
                
config.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
48    $array_config['deny_email'] = filter_text_input( 'deny_email', 'post', '', 1 );
                    
49    if ( ! empty( $array_config['deny_email'] ) )
                    
50    {
                    
58    $array_config['deny_name'] = filter_text_input( 'deny_name', 'post', '', 1 );
                    
59    if ( ! empty( $array_config['deny_name'] ) )
                    
60    {
                    
87$array_config['allowloginchange'] = ! empty( $array_config['allowloginchange'] ) ? " checked=\"checked\"" : "";
                    
88$array_config['allowuserlogin'] = ! empty( $array_config['allowuserlogin'] ) ? " checked=\"checked\"" : "";
                    
89$array_config['openid_mode'] = ! empty( $array_config['openid_mode'] ) ? " checked=\"checked\"" : "";
                    
89$array_config['openid_mode'] = ! empty( $array_config['openid_mode'] ) ? " checked=\"checked\"" : "";
                    
90$array_config['is_user_forum'] = ! empty( $array_config['is_user_forum'] ) ? " checked=\"checked\"" : "";
                    
91
                    
134    $forum_files = @scandir( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet' );
                    
135    if ( ! empty( $forum_files ) and in_array( 'is_user.php', $forum_files ) and in_array( 'changepass.php', $forum_files ) and in_array( 'editinfo.php', $forum_files ) and in_array( 'login.php', $forum_files ) and in_array( 'logout.php', $forum_files ) and in_array( 'lostpass.php', $forum_files ) and in_array( 'register.php', $forum_files ) )
                    
136    {
                    
                
DatabaseSQLite.php https://code.google.com/p/php-blackops-rcon/ | PHP | 243 lines
                    
1<?php defined('ROOT_PATH') or die('No direct script access.');
                    
2
                    
25 * @subpackage core
                    
26 * @license    http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
27 */
                    
52    {
                    
53        // Empty config
                    
54        if (empty($config))
                    
                
Survey.cs https://hg01.codeplex.com/mojoportal | C# | 356 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
51
                    
52		private Guid surveyGuid = Guid.Empty;
                    
53		private Guid siteGuid = Guid.Empty;
                    
187		{
                    
188			if(this.surveyGuid != Guid.Empty)
                    
189			{
                    
                
TestFailure.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 252 lines
                    
42 * @version    SVN: $Id: TestFailure.php 3164 2008-06-08 12:22:29Z sb $
                    
43 * @link       http://www.phpunit.de/
                    
44 * @since      File available since Release 2.0.0
                    
46
                    
47require_once 'PHPUnit/Framework.php';
                    
48require_once 'PHPUnit/Util/Filter.php';
                    
49
                    
50PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
                    
51
                    
83     */
                    
84    public function __construct(PHPUnit_Framework_Test $failedTest, Exception $thrownException)
                    
85    {
                    
127        if ($e instanceof PHPUnit_Framework_SelfDescribing) {
                    
128            if ($e instanceof PHPUnit_Framework_ExpectationFailedException) {
                    
129                $comparisonFailure = $e->getComparisonFailure();
                    
                
supplier_inventories_controller.php https://code.google.com/p/mj-its/ | PHP | 0 lines
                    
1<?php
                    
2
                    
21        // Customer เป็นคนดู ส่ง Supplier_id ที่ต้องการดูมาใน named params
                    
22        if (!empty($this->passedArgs['supplier_id'])) {
                    
23            $supplier_id = $this->passedArgs['supplier_id'];
                    
54            'stock_code' => 'LIKE',
                    
55            'supplier_current_stock' => !empty($this->data['Operand']['supplier_current_stock']) ? $this->data['Operand']['supplier_current_stock'] : '>',
                    
56            'reserve_qty' => !empty($this->data['Operand']['reserve_qty']) ? $this->data['Operand']['reserve_qty'] : '>',
                    
56            'reserve_qty' => !empty($this->data['Operand']['reserve_qty']) ? $this->data['Operand']['reserve_qty'] : '>',
                    
57            'min_stock' => !empty($this->data['Operand']['min_stock']) ? $this->data['Operand']['min_stock'] : '>',
                    
58            'max_stock' => !empty($this->data['Operand']['max_stock']) ? $this->data['Operand']['max_stock'] : '>',
                    
                
Instance.php http://atomikframework.googlecode.com/svn/trunk/ | PHP | 639 lines
                    
1<?php
                    
2/**
                    
17 * @copyright 2008-2009 (c) Maxime Bouroumeau-Fuseau
                    
18 * @license http://www.opensource.org/licenses/mit-license.php
                    
19 * @link http://www.atomikframework.com
                    
22/** Atomik_Db_Query */
                    
23require_once 'Atomik/Db/Query.php';
                    
24
                    
25/** Atomik_Db_Adapter */
                    
26require_once 'Atomik/Db/Adapter.php';
                    
27
                    
28/** Atomik_Db_Adapter_Interface */
                    
29require_once 'Atomik/Db/Adapter/Interface.php';
                    
30
                    
66	{
                    
67		if (empty($prefix)) {
                    
68			$prefix = '';
                    
                
fckconfig.js http://fckeditor-for-wordpress.googlecode.com/svn/trunk/ | JavaScript | 225 lines
                    
52// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
                    
53// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
                    
54// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
                    
84FCKConfig.ToolbarCanCollapse	= true ;
                    
85FCKConfig.IgnoreEmptyParagraphValue = true ;
                    
86FCKConfig.PreserveSessionOnFileBrowser = false ;
                    
150FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
                    
151FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
                    
152
                    
182var _FileBrowserLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
183var _QuickUploadLanguage	= 'asp' ;	// asp | aspx | cfm | lasso | php
                    
184
                    
207FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
                    
208FCKConfig.LinkUploadDeniedExtensions	= ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ;	// empty for no one
                    
209
                    
                
fckconfig.js http://iiccms.googlecode.com/svn/trunk/ | JavaScript | 228 lines
                    
57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
                    
58// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
                    
59// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
                    
154FCKConfig.IeSpellDownloadUrl	= 'http://wcarchive.cdrom.com/pub/simtelnet/handheld/webbrow1/ieSpellSetup240428.exe' ;
                    
155FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
                    
156
                    
185// Custom implementations should just ignore it.
                    
186var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
187var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | php
                    
210FCKConfig.LinkUploadAllowedExtensions	= "" ;			// empty for all
                    
211FCKConfig.LinkUploadDeniedExtensions	= ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ;	// empty for no one
                    
212
                    
215FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png|bmp)$" ;		// empty for all
                    
216FCKConfig.ImageUploadDeniedExtensions	= ".(asp|jsp|php|js)$" ;							// empty for no one
                    
217
                    
                
functions_report_admin.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 569 lines
                    
1<?php
                    
2
                    
68		if (!class_exists("report_module"))
                    
69			include(INC_DIR . "report_module.php");
                    
70
                    
80		{
                    
81			if (!preg_match('#(.*)\.' . bb_preg_quote('php', '#') . '$#', $file, $matches))
                    
82			{
                    
98
                    
99			$lang_file = LANG_ROOT_DIR ."lang_{$bb_cfg['default_lang']}/report_hack/lang_$module_name.php";
                    
100			if (file_exists($lang_file))
                    
110			//
                    
111			if (!empty($modules[$module_name]->mode) && in_array($modules[$module_name]->mode, $deny_modes))
                    
112			{
                    
                
DbUtils.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 327 lines
                    
1<?php
                    
2//****************************************************************
                    
5// Date de creation : 25/01/2010
                    
6// Fichier : DbUtils.php
                    
7//
                    
11
                    
12include_once(CHEMIN_CONFIGURATION . "DB.php"); // Intיgration des informations de configuration pour la connexion א la base de donnיes
                    
13include_once(CHEMIN_CLASSES_UTILS . "MessagesErreurs.php"); // Intיgration des constantes d'erreurs
                    
13include_once(CHEMIN_CLASSES_UTILS . "MessagesErreurs.php"); // Intיgration des constantes d'erreurs
                    
14include_once(CHEMIN_CLASSES_VR . "TemplateVR.php" );
                    
15include_once(CHEMIN_CLASSES_VR . "VRerreur.php" );
                    
306			// si il y a un tri
                    
307			if(isset($lTris[0]['champ']) && isset($lTris[0]['sens']) && !empty($lTris[0]['champ']) && !empty($lTris[0]['sens'])) {
                    
308				$lResultat .= " ORDER BY ";
                    
310				foreach($lTris as $lTri) {
                    
311					if(!empty($lTri['champ']) && !empty($lTri['sens'])) {		
                    
312						$lResultat .= $lTri['champ'] . " " . $lTri['sens'] . ",";
                    
                
Role.cs https://hg01.codeplex.com/mojoportal | C# | 516 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
53
                    
54        private Guid roleGuid = Guid.Empty;
                    
55		private int roleID = -1;
                    
56		private int siteID = -1;
                    
57        private Guid siteGuid = Guid.Empty;
                    
58		private string roleName = string.Empty;
                    
58		private string roleName = string.Empty;
                    
59		private string displayName = string.Empty;
                    
60        //private bool enforceRelatedSitesMode = false;
                    
393            {
                    
394                if (string.IsNullOrEmpty(roleName)) { continue; }
                    
395                Role r = Role.GetRoleByName(siteId, roleName);
                    
                
poster.tex git://github.com/moorepants/PhysicalParameters.git | LaTeX | 272 lines
                    
4% August 2009
                    
5% http://www.nathanieljohnston.com/index.php/2009/08/latex-poster-template/
                    
6%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                    
73
                    
74% Empty side column for spacing
                    
75\begin{column}{\sepwid}\end{column}	% empty spacer column
                    
123% Spacer column
                    
124\begin{column}{\sepwid}\end{column} % empty spacer column
                    
125
                    
203% Spacer column
                    
204\begin{column}{\sepwid}\end{column} % empty spacer column
                    
205
                    
238% Spacer column
                    
239\begin{column}{\sepwid}\end{column} % empty spacer column
                    
240
                    
                
index.php https://bitbucket.org/dotclear/dotclear/ | PHP | 373 lines
                    
15
                    
16if (!empty($_REQUEST['edit']) && !empty($_REQUEST['id'])) {
                    
17	include dirname(__FILE__).'/edit.php';
                    
25# Import links
                    
26if (!empty($_POST['import_links']) && !empty($_FILES['links_file']))
                    
27{
                    
115# Delete link
                    
116if (!empty($_POST['removeaction']) && !empty($_POST['remove'])) {
                    
117	foreach ($_POST['remove'] as $k => $v)
                    
142
                    
143if (!empty($_POST['saveorder']) && !empty($order))
                    
144{
                    
197
                    
198<?php if (!$rs->isEmpty()) { ?>
                    
199
                    
                
mysqli_driver.php git://github.com/EllisLab/CodeIgniter.git | PHP | 540 lines
                    
129				? 'p:'.$this->hostname : $this->hostname;
                    
130			$port = empty($this->port) ? NULL : $this->port;
                    
131			$socket = NULL;
                    
164			empty($this->encrypt['ssl_key'])    OR $ssl['key']    = $this->encrypt['ssl_key'];
                    
165			empty($this->encrypt['ssl_cert'])   OR $ssl['cert']   = $this->encrypt['ssl_cert'];
                    
166			empty($this->encrypt['ssl_ca'])     OR $ssl['ca']     = $this->encrypt['ssl_ca'];
                    
166			empty($this->encrypt['ssl_ca'])     OR $ssl['ca']     = $this->encrypt['ssl_ca'];
                    
167			empty($this->encrypt['ssl_capath']) OR $ssl['capath'] = $this->encrypt['ssl_capath'];
                    
168			empty($this->encrypt['ssl_cipher']) OR $ssl['cipher'] = $this->encrypt['ssl_cipher'];
                    
178				// Apparently (when it exists), setting MYSQLI_OPT_SSL_VERIFY_SERVER_CERT
                    
179				// to FALSE didn't do anything, so PHP 5.6.16 introduced yet another
                    
180				// constant ...
                    
181				//
                    
182				// https://secure.php.net/ChangeLog-5.php#5.6.16
                    
183				// https://bugs.php.net/bug.php?id=68344
                    
                
dateformat.py git://github.com/django/django.git | Python | 349 lines
                    
1"""
                    
2PHP date() style date formatting
                    
3See http://www.php.net/date for format strings
                    
77
                    
78        If timezone information is not available, return an empty string.
                    
79        """
                    
128
                    
129        If timezone information is not available, return an empty string.
                    
130        """
                    
161
                    
162        If timezone information is not available, return an empty string.
                    
163        """
                    
188
                    
189        If timezone information is not available, return an empty string.
                    
190        """
                    
                
Console.php http://atomikframework.googlecode.com/svn/trunk/ | PHP | 342 lines
                    
1<?php
                    
2/**
                    
17 * @copyright 2008-2009 (c) Maxime Bouroumeau-Fuseau
                    
18 * @license http://www.opensource.org/licenses/mit-license.php
                    
19 * @link http://www.atomikframework.com
                    
27 * 
                    
28 * index.php command [arg1 [arg2 [...]]]
                    
29 *
                    
107			/* checks if a script file exists */
                    
108			if (($scriptFilename = Atomik::path($command . '.php', self::getScriptDirs())) !== false) {
                    
109				/* run the script */
                    
187	{
                    
188		echo ' [SUCCESS' . (!empty($message) ? ': ' . $message : '') . ']';
                    
189		return true;
                    
199	{
                    
200		echo ' [FAIL' . (!empty($message) ? ': ' . $message : '') . ']';
                    
201		return false;
                    
                
BaseValidationRule.php http://owasp-esapi-php.googlecode.com/svn/trunk/ | PHP | 276 lines
                    
1<?php
                    
2/**
                    
7 * 
                    
8 * PHP version 5.2
                    
9 *
                    
19 * @copyright 2009-2010 The OWASP Foundation
                    
20 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD license
                    
21 * @version   SVN: $Id$
                    
21 * @version   SVN: $Id$
                    
22 * @link      http://www.owasp.org/index.php/ESAPI
                    
23 */
                    
28 */
                    
29require_once dirname(__FILE__) . '/../../ValidationRule.php';
                    
30require_once dirname(__FILE__) . '/../DefaultEncoder.php';
                    
40 * @copyright 2009-2010 The OWASP Foundation
                    
41 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD license
                    
42 * @version   Release: @package_version@
                    
                
create.class.php https://bitbucket.org/chamilo/chamilo-repository-dev/ | PHP | 194 lines
                    
1<?php
                    
2
                    
63        
                    
64        if (! empty($extra) || $_FILES['file']['size'] > 0)
                    
65        {
                    
                
Menu.php http://typecho.googlecode.com/svn/trunk/ | PHP | 299 lines
                    
112            array(_t('????'), _t('????'), 'profile.php', 'subscriber'),
                    
113            array(_t('??'), _t('????'), 'plugins.php', 'administrator'),
                    
114            array(array('Widget_Plugins_Config', 'getMenuTitle'), array('Widget_Plugins_Config', 'getMenuTitle'), 'options-plugin.php?config=', 'administrator', true),
                    
116            array(array('Widget_Themes_Files', 'getMenuTitle'), array('Widget_Themes_Files', 'getMenuTitle'), 'theme-editor.php', 'administrator', true),
                    
117            array(array('Widget_Themes_Config', 'getMenuTitle'), array('Widget_Themes_Config', 'getMenuTitle'), 'options-theme.php', 'administrator', true),
                    
118            array(_t('??'), _t('????'), 'upgrade.php', 'administrator', true),
                    
127        array(
                    
128            array(_t('??'), _t('????'), 'manage-posts.php', 'contributor', false, 'write-post.php'),
                    
129            array(array('Widget_Contents_Post_Admin', 'getMenuTitle'), array('Widget_Contents_Post_Admin', 'getMenuTitle'), 'manage-posts.php?uid=', 'contributor', true),
                    
129            array(array('Widget_Contents_Post_Admin', 'getMenuTitle'), array('Widget_Contents_Post_Admin', 'getMenuTitle'), 'manage-posts.php?uid=', 'contributor', true),
                    
130            array(_t('????'), _t('??????'), 'manage-pages.php', 'editor', false, 'write-page.php'),
                    
131            array(_t('??'), _t('????'), 'manage-comments.php', 'contributor'),
                    
135            array(array('Widget_Contents_Attachment_Edit', 'getMenuTitle'), array('Widget_Contents_Attachment_Edit', 'getMenuTitle'), 'media.php?cid=', 'contributor', true),
                    
136            array(_t('??'), _t('????'), 'manage-users.php', 'administrator', false, 'user.php'),
                    
137            array(_t('????'), _t('????'), 'user.php', 'administrator', true),
                    
                
admin_add_edit_teacher_2.php http://swifttide.googlecode.com/svn/trunk/ | PHP | 187 lines
                    
155    <td width="50%" align="left"><font size="2">&nbsp;&nbsp;<?php echo date(_DATE_FORMAT); ?></font></td>
                    
156    <td width="50%"><?php echo _ADMIN_ADD_EDIT_TEACHER_2_UPPER?></td>
                    
157  </tr>
                    
165	?>
                    
166	   <h1><?php echo _ADMIN_ADD_EDIT_TEACHER_2_TITLE?> <?php echo $msg_header; ?> <?php echo _ADMIN_ADD_EDIT_TEACHER_2_TEACHER?></h1>
                    
167	   <br>
                    
173	?>
                    
174	   <h1><?php echo _ADMIN_ADD_EDIT_TEACHER_2_SUCCESSFULLY?> <?php echo $msg_header; ?> <?php echo _ADMIN_ADD_EDIT_TEACHER_2_TEACHER?></h1>
                    
175	   <br>
                    
177	   <br>
                    
178	   <a href="admin_add_edit_teacher_1.php?action=new" class="aform"><?php echo _ADMIN_ADD_EDIT_TEACHER_2_ADD_TEACHER?></a>
                    
179	<?php
                    
182</div>
                    
183<?php include "admin_menu.inc.php"; ?>
                    
184</body>
                    
                
Download.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 191 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
100
                    
101                string fileType = Path.GetExtension(sharedFile.FriendlyName).Replace(".", string.Empty);
                    
102
                    
                
FeedLinksControl.ascx.cs https://hg01.codeplex.com/mojoportal | C# | 199 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
26        private int moduleId = -1;
                    
27        private string siteRoot = string.Empty;
                    
28        private BlogConfiguration config = new BlogConfiguration();
                    
28        private BlogConfiguration config = new BlogConfiguration();
                    
29        private string imageSiteRoot = string.Empty;
                    
30        private SiteSettings siteSettings = null;
                    
30        private SiteSettings siteSettings = null;
                    
31        protected string addThisAccountId = string.Empty;
                    
32        protected string RssImageFile = WebConfigSettings.RSSImageFileName;
                    
96
                    
97            lnkAddThisRss.HRef = "http://www.addthis.com/feed.php?pub="
                    
98                + addThisAccountId + "&amp;h1=" + Server.UrlEncode(GetRssUrl())
                    
                
node75.html git://github.com/facebook/phpembed.git | HTML | 111 lines
                    
9<HEAD>
                    
10<TITLE>php_stl::call_long_long_map</TITLE>
                    
11<META NAME="description" CONTENT="php_stl::call_long_long_map">
                    
18
                    
19<LINK REL="STYLESHEET" HREF="phpembed.css">
                    
20
                    
46<B> Next:</B> <A NAME="tex2html1212"
                    
47  HREF="node76.html">php_stl::call_long_set</A>
                    
48<B> Up:</B> <A NAME="tex2html1208"
                    
70<P>
                    
71<I>Description:</I> Call the PHP function <code>fn</code> with the arguments described by <code>argspec</code> and included as subsequent arguments. If <code>argspec</code> is not specified the function will be called without any arguments. The type of the value returned from PHP must be an array and each key-value pair in that array will be inserted into an STL map as such. Each time PHP type conversion is necessary to convert a key or value in the array to a <code>long</code> it may generate a type mismatch warning if those warnings are enabled.
                    
72
                    
74<I>Errors:</I> It is an error for the number of arguments described in <code>argspec</code> to differ from the number of arguments provided thereafter. It is an error for the types of additional arguments to differ from their description in <code>argspec</code>(see Table 1 on page&nbsp;<A HREF="node9.html#Table1"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]"
                    
75 SRC="file:/usr/local/share/lib/latex2html/icons/crossref.png"></A> for details). If the value returned by PHP is not an array <code>call_long_long_map</code> will output a type mismatch error (regardless of whether type warnings are on or not) and return an empty map. Any internal errors during execution will result in the <code>status</code> flag (see <code>php::status</code>) being set to a nonzero value.
                    
76
                    
                
currency.php http://phreedom.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
1<?php
                    
2// +-----------------------------------------------------------------+
                    
17// +-----------------------------------------------------------------+
                    
18//  Path: /modules/phreedom/classes/currency.php
                    
19//
                    
95	  $rate = $this->$quote_function($currency->fields['code'], $this->def_currency);
                    
96	  if (empty($rate) && (gen_not_null(CURRENCY_SERVER_BACKUP))) {
                    
97		$message[] = sprintf(SETUP_WARN_PRIMARY_SERVER_FAILED, CURRENCY_SERVER_PRIMARY, $currency->fields['title'], $currency->fields['code']);
                    
                
Player.php git://github.com/ornicar/lichess.git | PHP | 620 lines
                    
1<?php
                    
2
                    
193    {
                    
194        return !empty($this->mts) && strlen($this->mts) > 12;
                    
195    }
                    
608        $pieces = array();
                    
609        if (!empty($this->ps)) {
                    
610            foreach(explode(' ', $this->ps) as $p) {
                    
                
admin_attendance_codes.php http://swifttide.googlecode.com/svn/trunk/ | PHP | 160 lines
                    
19//Initiate database functions
                    
20include_once "ez_sql.php";
                    
21//Include paging class
                    
119    <td width="50%" align="left"><font size="2">&nbsp;&nbsp;<?php echo date(_DATE_FORMAT); ?></font></td>
                    
120    <td width="50%"><?php echo _ADMIN_ATTENDANCE_CODES_UPPER?></td>
                    
121  </tr>
                    
125<div id="Content">
                    
126	<h1><?php echo _ADMIN_ATTENDANCE_CODES_TITLE?></h1>
                    
127	<br>
                    
145		  <p class="pform"><?php echo _ADMIN_ATTENDANCE_CODES_UPDATE_ATT?><br>
                    
146	      <input type="text" onChange="capitalizeMe(this)" name="attendancename" size="20" value="<?php echo $attendance_codes_desc; ?>">&nbsp;<A class="aform" href="javascript: submitform('attendancename')"><?php echo _ADMIN_ATTENDANCE_CODES_UPDATE?></a>
                    
147	      <input type="hidden" name="action" value="update">
                    
155</div>
                    
156<?php include "admin_maint_tables_menu.inc.php"; ?>
                    
157</body>
                    
                
doubanOAuth.php http://onlinedict.googlecode.com/svn/trunk/ | PHP | 159 lines
                    
1<?php
                    
2/*
                    
9 * Fire Eagle code - http://github.com/myelin/fireeagle-php-lib
                    
10 * twitterlibphp - http://github.com/poseurtech/twitterlibphp
                    
11 */
                    
13/* Load OAuth lib. You can find it at http://oauth.net */
                    
14//require_once('OAuth.php');
                    
15
                    
48    $this->consumer = new OAuthConsumer($consumer_key, $consumer_secret);
                    
49    if (!empty($oauth_token) || !empty($oauth_token_secret)) {
                    
50      $this->token = new OAuthConsumer($oauth_token, $oauth_token_secret);
                    
121  function oAuthRequest($url, $args = array(), $method = NULL) {/*{{{*/
                    
122    if (empty($method)) $method = empty($args) ? "GET" : "POST";
                    
123    $req = OAuthRequest::from_consumer_and_token($this->consumer, $this->token, $method, $url, $args);
                    
                
plugins.php https://bitbucket.org/dotclear/dotclear/ | PHP | 253 lines
                    
1<?php
                    
2# -- BEGIN LICENSE BLOCK ---------------------------------------
                    
12
                    
13require dirname(__FILE__).'/../inc/admin/prepend.php';
                    
14
                    
93# -- Plugins install messages --
                    
94if (!empty($plugins_install['success'])) {
                    
95	echo
                    
105}
                    
106if (!empty($plugins_install['failure'])) {
                    
107	echo
                    
123	$modules = $list->store->get(true);
                    
124	if (!empty($modules)) {
                    
125		echo
                    
201
                    
202	if (!empty($search) || !empty($modules)) {
                    
203		echo
                    
                
Rule.php git://github.com/peteboere/css-crush.git | PHP | 375 lines
                    
1<?php
                    
2/**
                    
21		// Parse the selectors chunk
                    
22		if ( !empty( $selector_string ) ) {
                    
23
                    
82			if ( $value === false or $value === '' ) {
                    
83				// We'll ignore declarations with empty values
                    
84				continue;
                    
119		$intersect = array_intersect( array_keys( $aliasedProperties ), array_keys( $this->properties ) );
                    
120		if ( empty( $intersect ) ) {
                    
121			return;
                    
162
                    
163		if ( empty( $aliased_functions ) ) {
                    
164			return;
                    
178				$declaration->skip or
                    
179				empty( $declaration->functions ) 
                    
180			) {
                    
                
CommentController.php https://code.google.com/p/ecartcommerce/ | PHP | 127 lines
                    
1<?php
                    
2/**
                    
64           $this->view->crumbs()->add(
                    
65               empty($category['title']) ?
                    
66                   $category['link'] : $category['title'],
                    
                
eBPLS.SignTemp.class.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 288 lines
                    
3
                    
4Module : eBPLS.SignTemp.class.php
                    
5
                    
6Dependencies : 
                    
7	eBPLS.dbfuncs.php
                    
8	eBPLS.dataencapsulator.class.php
                    
19
                    
20require_once("class/eBPLS.dataencapsulator.class.php");
                    
21require_once("lib/eBPLS.dbfuncs.php");
                    
45		// for error message pair in case validation failed 
                    
46		$this->addDataElement( RS_ID, "is_not_empty", "[VALUES]");
                    
47		$this->addDataElement( REPORT_FILE, "is_not_empty", "[VALUES]");
                    
47		$this->addDataElement( REPORT_FILE, "is_not_empty", "[VALUES]");
                    
48		$this->addDataElement( SIGN_ID, "is_not_empty", "[VALUES]");
                    
49		$this->addDataElement( DATE_UPDATED, "is_not_empty", "[VALUES]");
                    
                
PublicAction.class.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 363 lines
                    
1<?php
                    
2class PublicAction extends Action {
                    
9					//???????
                    
10					redirect(PHP_FILE.C('USER_AUTH_GATEWAY'));
                    
11				}
                    
17					if (C('GUEST_AUTH_ON' )) {
                    
18						$this->assign('jumpUrl',PHP_FILE.C('USER_AUTH_GATEWAY'));
                    
19					}
                    
29	public function checkLogin() {
                    
30		if(empty($_POST['account'])) {
                    
31			$this->error('?????');
                    
31			$this->error('?????');
                    
32		}elseif (empty($_POST['password'])){
                    
33			$this->error('?????');
                    
33			$this->error('?????');
                    
34		}elseif (empty($_POST['verify'])){
                    
35			$this->error('??????');
                    
                
User.php http://digitalus-cms.googlecode.com/svn/trunk/ | PHP | 423 lines
                    
1<?php
                    
2/**
                    
18 * @license     http://digitalus-media.com/license/new-bsd     New BSD License
                    
19 * @version     $Id: User.php Mon Dec 24 20:38:38 EST 2007 20:38:38 forrest lyman $
                    
20 * @link        http://www.digitaluscms.com
                    
26 */
                    
27require_once 'Digitalus/Db/Table.php';
                    
28
                    
55     */
                    
56    const USERNAME_REGEX_NOTMATCH = 'Please only use alphanumeric characters, `\'´ and empty space!';
                    
57
                    
110        $role = Model_Group::GUEST_ROLE;
                    
111        if (isset($userRowset->role) && !empty($userRowset->role)) {
                    
112            $role = $userRowset->role;
                    
124        $currentUser = Digitalus_Auth::getIdentity();
                    
125        if (!empty($currentUser) && isset($currentUser->name) && Model_Group::GUEST_ROLE != $currentUser->name) {
                    
126            return $this->find($currentUser->name)->current();
                    
                
CommandeDetailReservationValid.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 351 lines
                    
1<?php
                    
2//****************************************************************
                    
5// Date de creation : 14/10/2010
                    
6// Fichier : CommandeDetailReservationValid.php
                    
7//
                    
11// Inclusion des classes
                    
12include_once(CHEMIN_CLASSES_UTILS . "TestFonction.php" );
                    
13include_once(CHEMIN_CLASSES_VR . "VRerreur.php" );
                    
13include_once(CHEMIN_CLASSES_VR . "VRerreur.php" );
                    
14include_once(CHEMIN_CLASSES_VR . MOD_COMMANDE . "/CommandeDetailReservationVR.php" );
                    
15include_once(CHEMIN_CLASSES_MANAGERS . "ProduitManager.php");
                    
15include_once(CHEMIN_CLASSES_MANAGERS . "ProduitManager.php");
                    
16include_once(CHEMIN_CLASSES_MANAGERS . "DetailCommandeManager.php");
                    
17
                    
86			//Tests Fonctionnels
                    
87			if(empty($pData['stoQuantite'])) {
                    
88				$lVr->setValid(false);
                    
                
testValid.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 344 lines
                    
1<?php
                    
2//****************************************************************
                    
5// Date de creation : 27/08/2010
                    
6// Fichier : testValid.php
                    
7//
                    
11// Inclusion des classes
                    
12include_once(CHEMIN_CLASSES_UTILS . "TestFonction.php" );
                    
13include_once(CHEMIN_CLASSES_VR . "VRerreur.php" );
                    
13include_once(CHEMIN_CLASSES_VR . "VRerreur.php" );
                    
14include_once(CHEMIN_CLASSES_VR . "testVR.php" );
                    
15
                    
113		//Tests Fonctionnels
                    
114		if(empty($pData['toto'])) {
                    
115			$lVr->setValid(false);
                    
121		}
                    
122		if(empty($pData['tata'])) {
                    
123			$lVr->setValid(false);
                    
                
users.php https://code.google.com/p/php-blackops-rcon/ | PHP | 399 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2
                    
25 * @subpackage    controller
                    
26 * @license        http://www.opensource.org/licenses/bsd-license.php    New BSD License
                    
27 */
                    
101        // Form
                    
102        if(!empty($_POST))
                    
103        {
                    
104            // Change password?
                    
105            if(isset($_POST['password']) AND !empty($_POST['password']))
                    
106            {
                    
171        // Submitted form?
                    
172        if(isset($_POST['username']) AND !empty($_POST['username']))
                    
173        {
                    
174            // Check other required fields
                    
175            if(!isset($_POST['password']) OR empty($_POST['password']) OR !isset($_POST['password_confirm']) OR empty($_POST['password_confirm'])
                    
176               OR !isset($_POST['email']) OR empty($_POST['email']))
                    
                
prepend.php https://bitbucket.org/dotclear/dotclear/ | PHP | 299 lines
                    
1<?php
                    
2# -- BEGIN LICENSE BLOCK ---------------------------------------
                    
14
                    
15require_once dirname(__FILE__).'/../prepend.php';
                    
16
                    
50		if ((preg_match('/^images\/menu\/(.+)$/',$img,$m)) ||
                    
51			(preg_match('/^index\.php\?pf=(.+)$/',$img,$m))) {
                    
52			if ($m[1]) {
                    
84	# Check nonce from POST requests
                    
85	if (!empty($_POST))
                    
86	{
                    
86	{
                    
87		if (empty($_POST['xd_check']) || !$core->checkNonce($_POST['xd_check'])) {
                    
88			throw new Exception('Precondition Failed.');
                    
91
                    
92	if (empty($_SESSION['sess_blog_id'])) {
                    
93		throw new Exception('Permission denied.');
                    
                
class.image.meta.php https://bitbucket.org/dotclear/dotclear/ | PHP | 406 lines
                    
1<?php
                    
2# -- BEGIN LICENSE BLOCK ---------------------------------------
                    
61		{
                    
62			if (!empty($this->xmp[$k])) {
                    
63				$this->properties[$k] = $this->xmp[$k];
                    
63				$this->properties[$k] = $this->xmp[$k];
                    
64			} elseif (!empty($this->iptc[$k])) {
                    
65				$this->properties[$k] = $this->iptc[$k];
                    
65				$this->properties[$k] = $this->iptc[$k];
                    
66			} elseif (!empty($this->exif[$k])) {
                    
67				$this->properties[$k] = $this->exif[$k];
                    
                
UserThreadList.ascx.cs https://hg01.codeplex.com/mojoportal | C# | 147 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
34        private SiteSettings siteSettings = null;
                    
35        private string siteRoot = string.Empty;
                    
36        private string imageSiteRoot = string.Empty;
                    
                
ThreadList.ascx.cs https://hg01.codeplex.com/mojoportal | C# | 288 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
31        private SiteSettings siteSettings = null;
                    
32        private string notificationUrl = string.Empty;
                    
33        private Forum forum = null;
                    
89
                    
90        private string siteRoot = string.Empty;
                    
91
                    
97
                    
98        private string imageSiteRoot = string.Empty;
                    
99
                    
                
ProductListControl.ascx.cs https://hg01.codeplex.com/mojoportal | C# | 242 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
40        private Store store = null;
                    
41        private string siteRoot = string.Empty;
                    
42        protected string teaserFileBaseUrl = string.Empty;
                    
                
mover.class.php https://bitbucket.org/chamilo/chamilo-repository-dev/ | PHP | 180 lines
                    
1<?php
                    
2namespace repository;
                    
16/**
                    
17 * $Id: mover.class.php 204 2009-11-13 12:51:30Z kariboe $
                    
18 * @package repository.lib.repository_manager.component
                    
32        $ids = Request :: get(RepositoryManager :: PARAM_CONTENT_OBJECT_ID);
                    
33        if (! empty($ids))
                    
34        {
                    
                
FileAttachment.cs https://hg01.codeplex.com/mojoportal | C# | 401 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
38
                    
39        private Guid rowGuid = Guid.Empty;
                    
40        private Guid siteGuid = Guid.Empty;
                    
40        private Guid siteGuid = Guid.Empty;
                    
41        private Guid moduleGuid = Guid.Empty;
                    
42        private Guid itemGuid = Guid.Empty;
                    
42        private Guid itemGuid = Guid.Empty;
                    
43        private Guid specialGuid1 = Guid.Empty;
                    
44        private Guid specialGuid2 = Guid.Empty;
                    
44        private Guid specialGuid2 = Guid.Empty;
                    
45        private string serverFileName = string.Empty;
                    
46        private string fileName = string.Empty;
                    
                
main.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
25    {
                    
26        if ( file_exists( NV_ROOTDIR . "/modules/" . $site_mods[$mod]['module_file'] . "/language/admin_" . NV_LANG_INTERFACE . ".php" ) )
                    
27        {
                    
27        {
                    
28            include ( NV_ROOTDIR . "/modules/" . $site_mods[$mod]['module_file'] . "/language/admin_" . NV_LANG_INTERFACE . ".php" );
                    
29        }
                    
29        }
                    
30        elseif ( file_exists( NV_ROOTDIR . "/modules/" . $site_mods[$mod]['module_file'] . "/language/admin_" . NV_LANG_DATA . ".php" ) )
                    
31        {
                    
31        {
                    
32            include ( NV_ROOTDIR . "/modules/" . $site_mods[$mod]['module_file'] . "/language/admin_" . NV_LANG_DATA . ".php" );
                    
33        }
                    
33        }
                    
34        elseif ( file_exists( NV_ROOTDIR . "/modules/" . $site_mods[$mod]['module_file'] . "/language/admin_en.php" ) )
                    
35        {
                    
                
ProfileView.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 386 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
27	{
                    
28        private Guid userGuid = Guid.Empty;
                    
29        private int userID = -1;
                    
35        private bool disableAvatars = true;
                    
36        private string avatarPath = string.Empty;
                    
37        private SiteUser siteUser = null;
                    
174            timeZone = SiteUtils.GetUserTimeZone();
                    
175            userGuid = WebUtils.ParseGuidFromQueryString("u", Guid.Empty);
                    
176
                    
179                siteUser = new SiteUser(siteSettings, userID);
                    
180                if (siteUser.UserGuid == Guid.Empty) { siteUser = null; }
                    
181            }
                    
                
TinyMceTemplates.ashx.cs https://hg01.codeplex.com/mojoportal | C# | 194 lines
                    
5// Licensed under the terms of the GNU Lesser General Public License:
                    
6//	http://www.opensource.org/licenses/lgpl-license.php
                    
7//
                    
30    /// otherwise returns a json list of templates
                    
31    /// http://wiki.moxiecode.com/index.php/TinyMCE:Index
                    
32    /// http://wiki.moxiecode.com/index.php/TinyMCE:Custom_filebrowser
                    
32    /// http://wiki.moxiecode.com/index.php/TinyMCE:Custom_filebrowser
                    
33    /// http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
                    
34    /// http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template
                    
34    /// http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template
                    
35    /// http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advanced_blockformats
                    
36    /// </summary>
                    
41        private SiteSettings siteSettings = null;
                    
42        private Guid templateGuid = Guid.Empty;
                    
43        private string templateGuidString = string.Empty;
                    
                
LoggerLayoutTTCC.php http://owasp-esapi-php.googlecode.com/svn/trunk/ | PHP | 210 lines
                    
1<?php
                    
2/**
                    
27 * <p>If no dateFormat is specified it defaults to '%c'. 
                    
28 * See php {@link PHP_MANUAL#date} function for details.</p>
                    
29 *
                    
34 * - {@link $microSecondsPrinting} (true|false) enable/disable micro seconds reporting in timestamp.
                    
35 * - {@link $dateFormat} (string) set date format. See php {@link PHP_MANUAL#date} function for details.
                    
36 *
                    
37 * @version $Revision: 795643 $
                    
38 * @package log4php
                    
39 * @subpackage layouts
                    
47	 // TODO: not used?
                    
48	const LOG4PHP_LOGGER_LAYOUT_NULL_DATE_FORMAT = 'NULL';
                    
49	
                    
54	 // TODO: not used?
                    
55	const LOG4PHP_LOGGER_LAYOUT_RELATIVE_TIME_DATE_FORMAT = 'RELATIVE';
                    
56	
                    
                
VolumeFeedTest.php http://becontent.googlecode.com/svn/trunk/ | PHP | 109 lines
                    
1<?php
                    
2
                    
25 */
                    
26require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
                    
27
                    
27
                    
28require_once 'Zend/Gdata/Books/VolumeFeed.php';
                    
29require_once 'Zend/Gdata/Books.php';
                    
34 */
                    
35class Zend_Gdata_Books_VolumeFeedTest extends PHPUnit_Framework_TestCase
                    
36{
                    
62
                    
63    public function testEmptyEntryShouldHaveNoExtensionElements() {
                    
64        $this->assertTrue(is_array($this->feed->extensionElements));
                    
67
                    
68    public function testEmptyEntryShouldHaveNoExtensionAttributes() {
                    
69        $this->assertTrue(is_array($this->feed->extensionAttributes));
                    
                
kalendorius.php http://mightmedia.googlecode.com/svn/trunk/ | PHP | 178 lines
                    
1<?php
                    
2
                    
23		foreach ($array[$siandien] as $key => $val) {
                    
24			if (empty($return)) {
                    
25				$return .= $val;
                    
108		}
                    
109		if (!empty($svente)) {
                    
110			$return .= "<td$class ><div style='color:red' title=\"<b>{$lang['calendar']['this']}</b><br/>" . $svente . "<br/>\">$actday</div></td>";
                    
131			}
                    
132			if (!empty($svente)) {
                    
133				$return .= "<td$class ><div style='color:red' title=\"<b>{$lang['calendar']['this']}</b><br/>" . $svente . "<br/>\">$actday</div></td>";
                    
156			if ($actday <= $lastDay['mday']) {
                    
157				if (!empty($svente)) {
                    
158					$return .= "<td$class ><div style='color:red' title=\"<b>{$lang['calendar']['this']}</b><br/>" . $svente . "<br/>\">$actday</div></td>";
                    
                
ebpls.sysref.class.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 378 lines
                    
3
                    
4Module : ebpls.sysref.class.php
                    
5
                    
6Dependencies :
                    
7	ebpls.database.funcs.php
                    
8	ebpls.dataencapsulator.class.php
                    
8	ebpls.dataencapsulator.class.php
                    
9	ebpls.global.const.php
                    
10	ebpls.global.funcs.php
                    
30
                    
31require_once("ebpls-php-lib/ebpls.dataencapsulator.class.php");
                    
32require_once("ebpls-php-lib/ebpls.global.funcs.php");
                    
32require_once("ebpls-php-lib/ebpls.global.funcs.php");
                    
33require_once("ebpls-php-lib/ebpls.database.funcs.php");
                    
34
                    
                
nurse_info_1.php http://swifttide.googlecode.com/svn/trunk/ | PHP | 190 lines
                    
67    <td width="50%" align="left"><font size="2">&nbsp;&nbsp;<?php echo date(_DATE_FORMAT); ?></font></td>
                    
68    <td width="50%"><?php echo _WELCOME?>, <?php echo $tfname. " " .$tlname; ?></td>
                    
69  </tr>
                    
119				   ?>
                    
120			       <option value="<?php echo $grade->grades_id; ?>"><?php echo $grade->grades_desc; ?></option>
                    
121				   <?php
                    
144	          <td width="25%" class="tdinput">
                    
145			  &nbsp;<?php echo _NURSE_INFO_1_ACTIVE?>: <input type="radio" value="1" name="active" checked=checked> <?php echo _YES?> <input type="radio" value="" name="active"> <?php echo _NO?></td>
                    
146	          <td width="25%" class="tdinput">
                    
146	          <td width="25%" class="tdinput">
                    
147	          &nbsp;<?php echo _NURSE_INFO_1_HOMED?>: <input type="radio" value="1" name="homed"> <?php echo _YES?> <input type="radio" value="" name="homed" checked=checked> <?php echo _NO?></td>
                    
148			  <td width="25%" class="tdinput">			  
                    
148			  <td width="25%" class="tdinput">			  
                    
149			  &nbsp;<?php echo _NURSE_INFO_1_SPED?>: <input type="radio" value="1" name="sped"> <?php echo _YES?> <input type="radio" value="" name="sped" checked=checked> <?php echo _NO?></td>
                    
150			  <td width="25%" class="tdinput" align="center">			  
                    
                
fckconfig.js http://uniquestudiocms.googlecode.com/svn/trunk/ | JavaScript | 325 lines
                    
57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
                    
58// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
                    
59// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
                    
72
                    
73FCKConfig.FillEmptyBlocks	= true ;
                    
74
                    
91FCKConfig.ToolbarCanCollapse	= true ;
                    
92FCKConfig.IgnoreEmptyParagraphValue = true ;
                    
93FCKConfig.FloatingPanelsZIndex = 10000 ;
                    
163FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
                    
164FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
                    
165FCKConfig.FirefoxSpellChecker	= false ;
                    
275var _FileBrowserLanguage	= 'aspx' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
276var _QuickUploadLanguage	= 'aspx' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
277
                    
                
AjoutAdherentControleur.php http://zeybux.googlecode.com/svn/trunk/ | PHP | 174 lines
                    
1<?php
                    
2//****************************************************************
                    
5// Date de creation : 01/02/2010
                    
6// Fichier : AjoutAdherentControleur.php
                    
7//
                    
11// Inclusion des classes
                    
12include_once(CHEMIN_CLASSES_UTILS . "StringUtils.php" );
                    
13include_once(CHEMIN_CLASSES_VO . "AutorisationVO.php");
                    
13include_once(CHEMIN_CLASSES_VO . "AutorisationVO.php");
                    
14include_once(CHEMIN_CLASSES_MANAGERS . "ModuleManager.php");
                    
15include_once(CHEMIN_CLASSES_MANAGERS . "AutorisationManager.php");
                    
15include_once(CHEMIN_CLASSES_MANAGERS . "AutorisationManager.php");
                    
16include_once(CHEMIN_CLASSES_MANAGERS . "AdherentManager.php");
                    
17include_once(CHEMIN_CLASSES_RESPONSE . MOD_GESTION_ADHERENTS . "/AfficheAjoutAdherentResponse.php" );
                    
17include_once(CHEMIN_CLASSES_RESPONSE . MOD_GESTION_ADHERENTS . "/AfficheAjoutAdherentResponse.php" );
                    
18include_once(CHEMIN_CLASSES_MANAGERS . "CompteManager.php");
                    
19include_once(CHEMIN_CLASSES_MANAGERS . "OperationManager.php");
                    
                
metadata_associations_form.class.php https://bitbucket.org/chamilo/chamilo-app-metadata/ | PHP | 212 lines
                    
1<?php
                    
2namespace metadata;
                    
94        //$attributes['options'] = '';
                    
95        $attributes['search_url'] = Path :: get(WEB_PATH) . 'metadata/php/xml_feeds/xml_attributes_feed.php';
                    
96       
                    
137        $attributes['locale']['Searching'] = 'Searching';
                    
138        $attributes['search_url'] = Path :: get(WEB_PATH) . 'metadata/php/xml_feeds/xml_attributes_feed.php';
                    
139        $element_finder = $this->createElement('element_finder', MetadataManager :: PARAM_METADATA_ELEMENT_NESTING, Translation :: get('SelectObjects', array('OBJECT' => Translation :: get('MetadataAttribute')), Utilities :: COMMON_LIBRARIES), $attributes['search_url'], $attributes['locale'], $attributes['defaults'], $attributes['options']);
                    
150        $buttons[] = $this->createElement('style_submit_button', 'submit', Translation :: get('Update', null, Utilities :: COMMON_LIBRARIES), array('class' => 'positive update'));
                    
151        $buttons[] = $this->createElement('style_reset_button', 'reset', Translation :: get('Reset', null, Utilities :: COMMON_LIBRARIES), array('class' => 'normal empty'));
                    
152        
                    
160        $buttons[] = $this->createElement('style_submit_button', 'submit', Translation :: get('Create', null, Utilities :: COMMON_LIBRARIES), array('class' => 'positive'));
                    
161        $buttons[] = $this->createElement('style_reset_button', 'reset', Translation :: get('Reset', null, Utilities :: COMMON_LIBRARIES), array('class' => 'normal empty'));
                    
162        
                    
                
admin_add_edit_contact_5.php http://swifttide.googlecode.com/svn/trunk/ | PHP | 279 lines
                    
105<div id="Content">
                    
106	   <h1><?php echo _ADMIN_ADD_EDIT_CONTACT_5_EDIT?> <?php echo $type;?> <?php echo _ADMIN_ADD_EDIT_CONTACT_5_CFS?></h1>
                    
107	   <br>
                    
127				   ?>
                    
128			       <option value="<?php echo $title->title_desc; ?>" <?php if ($title->title_desc==$set_title){echo "selected=selected";};?>><?php echo $title->title_desc; ?></option>
                    
129				   <?php
                    
162				   ?>
                    
163			       <option value="<?php echo $relation->relation_codes_id; ?>" <?php if ($relation->relation_codes_id==$set_relation){echo "selected=selected";};?>><?php echo $relation->relation_codes_desc; ?></option>
                    
164				   <?php
                    
197				   ?>
                    
198			       <option value="<?php echo $state->state_code; ?>" <?php if ($state->state_code==$set_state){echo "selected=selected";};?>><?php echo $state->state_name; ?></option>
                    
199				   <?php
                    
259		  <tr>
                    
260		    <td width="50%"><a href="admin_edit_student_1.php?studentid=<?php echo $studentid; ?>" class="aform"><?php echo _ADMIN_ADD_EDIT_CONTACT_5_BACK?></a>
                    
261			</td>
                    
                
is_user.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
33            $user_info['email'] = $row['email'];
                    
34            $user_info['full_name'] = ( empty( $row['full_name'] ) ) ? $row['username'] : $row['full_name'];
                    
35            $user_info['gender'] = $row['gender'];
                    
54            //$user_info['last_ip'] = $user['last_ip'];
                    
55            $user_info['st_login'] = ! empty( $row['password'] ) ? true : false;
                    
56            //$user_info['current_mode'] = $user['current_mode'];
                    
71        
                    
72        if ( ! empty( $_user ) and $global_config['allowuserlogin'] )
                    
73        {
                    
90						isset( $user['current_agent'] ) and ! empty( $user['current_agent'] ) and strcasecmp( $user['current_agent'], $row['last_agent'] ) == 0 and //user_agent
                    
91						isset( $user['current_ip'] ) and ! empty( $user['current_ip'] ) and strcasecmp( $user['current_ip'], $row['last_ip'] ) == 0 and //current IP
                    
92						isset( $user['current_login'] ) and ! empty( $user['current_login'] ) and strcasecmp( $user['current_login'], intval( $row['last_login'] ) ) == 0 ) //current login
                    
119                            $user_info['st_login'] = ! empty( $row['password'] ) ? true : false;
                    
120                            $user_info['valid_question'] = ( ! empty( $row['question'] ) and ! empty( $row['answer'] ) ) ? true : false;
                    
121                            $user_info['current_mode'] = ! empty( $row['last_openid'] ) ? 2 : 1;
                    
                
FeedManager.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 310 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
37        protected FeedManagerConfiguration config = new FeedManagerConfiguration();
                    
38        protected string ConfirmImage = string.Empty;
                    
39        protected string allowedImageUrlRegexPattern = SecurityHelper.RegexRelativeImageUrlPatern;
                    
189        //{
                    
190        //    string retVal = string.Empty;
                    
191        //    if (previousPubDate != pubDate.ToString(config.DateFormat))
                    
                
Banner.php git://github.com/osCommerce/oscommerce.git | PHP | 333 lines
                    
1<?php
                    
2/**
                    
195
                    
196      if ( empty($id) && isset($this->_exists_id) && is_numeric($this->_exists_id) ) {
                    
197        $id = $this->_exists_id;
                    
208      if ( $result !== false ) {
                    
209        if ( !empty($result['banners_html_text']) ) {
                    
210          $banner_string = $result['banners_html_text'];
                    
                
MetaContent.ascx.cs https://hg01.codeplex.com/mojoportal | C# | 250 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
41       
                    
42        private string keywordCsv = string.Empty;
                    
43        private string description = string.Empty;
                    
43        private string description = string.Empty;
                    
44        private string additionalMetaMarkup = string.Empty;
                    
45        private StringBuilder keywords = null;
                    
                
socket.php git://github.com/swiftmailer/swiftmailer.git | PHP | 308 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage MockObjects
                    
6 *  @version    $Id: socket.php 1788 2008-04-27 11:01:59Z pp11 $
                    
7 */
                    
11 */
                    
12require_once(dirname(__FILE__) . '/compatibility.php');
                    
13/**#@-*/
                    
16 *    Stashes an error for later. Useful for constructors
                    
17 *    until PHP gets exceptions.
                    
18 *    @package SimpleTest
                    
24    /**
                    
25     *    Sets the error to empty.
                    
26     *    @access public
                    
42     *    Accessor for an outstanding error.
                    
43     *    @return string     Empty string if no error otherwise
                    
44     *                       the error message.
                    
                
fsource_PHPExcel_Reader__PHPExcelReaderIReader.php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 101 lines
                    
15  		  [ <a href="../classtrees_PHPExcel_Reader.html" class="menu">class tree: PHPExcel_Reader</a> ]
                    
16		  [ <a href="../elementindex_PHPExcel_Reader.html" class="menu">index: PHPExcel_Reader</a> ]
                    
17		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
                    
29              <a href="../li_PHPExcel_Reader.html">PHPExcel_Reader</a><br />
                    
30              <a href="../li_PHPExcel_Style.html">PHPExcel_Style</a><br />
                    
31              <a href="../li_PHPExcel_Worksheet.html">PHPExcel_Worksheet</a><br />
                    
42<h1 align="center">Source for file IReader.php</h1>
                    
43<p>Documentation is available at <a href="../PHPExcel_Reader/_PHPExcel---Reader---IReader.php.html">IReader.php</a></p>
                    
44<div class="src-code">
                    
66<li><div class="src-line"><a name="a22"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@package</span><span class="src-doc">&nbsp;&nbsp;&nbsp;&nbsp;PHPExcel_Reader</span></div></li>
                    
67<li><div class="src-line"><a name="a23"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@copyright</span><span class="src-doc">&nbsp;&nbsp;Copyright&nbsp;(c)&nbsp;2006&nbsp;-&nbsp;2007&nbsp;PHPExcel&nbsp;(http://www.codeplex.com/PHPExcel)</span></div></li>
                    
68<li><div class="src-line"><a name="a24"></a><span class="src-doc">&nbsp;*&nbsp;</span><span class="src-doc-coretag">@license</span><span class="src-doc">&nbsp;&nbsp;&nbsp;&nbsp;http://www.gnu.org/licenses/gpl.txt&nbsp;&nbsp;&nbsp;&nbsp;GPL</span></div></li>
                    
78<li><div class="src-line"><a name="a34"></a><span class="src-doc">&nbsp;*/</span></div></li>
                    
79<li><div class="src-line"><a name="a35"></a><span class="src-key">interface&nbsp;</span><a href="../PHPExcel_Reader/PHPExcel_Reader_IReader.html">PHPExcel_Reader_IReader</a></div></li>
                    
80<li><div class="src-line"><a name="a36"></a><span class="src-sym">{</span></div></li>
                    
                
Dumper.php git://github.com/symfony/symfony.git | PHP | 125 lines
                    
1<?php
                    
2
                    
16/**
                    
17 * Dumper dumps PHP variables to YAML strings.
                    
18 *
                    
41    /**
                    
42     * Dumps a PHP value to YAML.
                    
43     *
                    
43     *
                    
44     * @param mixed $input  The PHP value
                    
45     * @param int   $inline The level where you switch to inline YAML
                    
48     *
                    
49     * @return string The YAML representation of the PHP value
                    
50     */
                    
57        if (Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \stdClass)) {
                    
58            $dumpObjectAsInlineMap = empty((array) $input);
                    
59        }
                    
                
theme.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
20        {
                    
21            include ( NV_ROOTDIR . "/language/" . NV_LANG_INTERFACE . "/admin_" . $mod . ".php" );
                    
22        }
                    
22        }
                    
23        elseif ( file_exists( NV_ROOTDIR . "/language/" . NV_LANG_DATA . "/admin_" . $mod . ".php" ) )
                    
24        {
                    
123        $lang_site = ( ! empty( $site_mods ) ) ? NV_LANG_DATA : $global_config['site_lang'];
                    
124        $xtpl->assign( 'NV_GO_CLIENTSECTOR_URL', NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . $lang_site );
                    
125        $xtpl->assign( 'NV_LOGOUT', $lang_global['logout'] );
                    
196                    {
                    
197                        $xtpl->assign( 'VERTICAL_MENU_SUB_CURRENT', ( ( ( ! empty( $op ) and $op == $n ) or ( ! empty( $set_active_op ) and $set_active_op == $n ) ) ? " class=\"sub_current\"" : " class=\"sub_normal\"" ) );
                    
198                        $xtpl->assign( 'VERTICAL_MENU_SUB_HREF', $m );
                    
208    }
                    
209    if ( ! empty( $select_options ) )
                    
210    {
                    
                
IndexItem.cs https://hg01.codeplex.com/mojoportal | C# | 494 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
88        private int pageNumber = 1; // for use in pageable modules like forums
                    
89        private string pageName = string.Empty;
                    
90        private string featureId = Guid.Empty.ToString();
                    
90        private string featureId = Guid.Empty.ToString();
                    
91        private string featureName = string.Empty;
                    
92        private string featureResourceFile = string.Empty;
                    
92        private string featureResourceFile = string.Empty;
                    
93        private string moduleTitle = string.Empty;
                    
94        private string title = string.Empty;
                    
94        private string title = string.Empty;
                    
95        private string content = string.Empty;
                    
96        private string otherContent = string.Empty;
                    
                
Ftp.php git://github.com/EllisLab/CodeIgniter.git | PHP | 667 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
113	{
                    
114		empty($config) OR $this->initialize($config);
                    
115		log_message('info', 'FTP Class Initialized');
                    
484		$list = $this->list_files($filepath);
                    
485		if ( ! empty($list))
                    
486		{
                    
632	{
                    
633		return in_array($ext, array('txt', 'text', 'php', 'phps', 'php4', 'js', 'css', 'htm', 'html', 'phtml', 'shtml', 'log', 'xml'), TRUE)
                    
634			? 'ascii'
                    
                
user.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 417 lines
                    
1<?php
                    
2/**
                    
131		// Load the real group data based on the bound ids.
                    
132		if ($return && !empty($this->groups))
                    
133		{
                    
                
komentarai.php http://mightmedia.googlecode.com/svn/trunk/ | PHP | 73 lines
                    
1<?php
                    
2
                    
46		}
                    
47		if (!empty($text)) {
                    
48			lentele($lang['comments']['comments'], $text);
                    
53//Irasom nauja komentara jei nurodytas puslapis, gal perdidele salyga bet saugumo sumetimais :)
                    
54if (isset($_POST['n_kom']) && !empty($_POST['n_kom']) && !empty($_POST['Naujas']) && $_POST['Naujas'] == $lang['comments']['send'] && isset($_POST['id']) && !empty($_POST['id']) && isnum($_POST['id']) && defined("LEVEL") && LEVEL > 0 && isset($_SESSION['username']) && !empty($_SESSION['username'])) {
                    
55	mysql_query1("UPDATE `" . LENTELES_PRIESAGA . "users` SET taskai=taskai+1 WHERE nick=" . escape($_SESSION['username']) . " AND `id` = " . escape($_SESSION['id']) . "");
                    
62// Trinam komentara
                    
63if (isset($url['dk']) && isnum($url['dk']) && $url['dk'] > 0 && isset($url['id']) && !empty($url['id']) && isnum($url['id']) && defined("LEVEL") && (LEVEL == 1 || (isset($_SESSION['mod']) && is_array(unserialize($_SESSION['mod'])) && in_array('com', unserialize($_SESSION['mod']))))) {
                    
64	$id = (int)$url['dk'];
                    
                
flexicontent.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 504 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: flexicontent.php 1806 2013-11-10 01:38:20Z ggppdk $
                    
4 * @package Joomla
                    
125		// Lets load the categories if it doesn't already exist
                    
126		if (empty($this->_data))
                    
127		{
                    
320		// Lets load the total nr if it doesn't already exist
                    
321		if (empty($this->_total))
                    
322		{
                    
338		// Load the content if it doesn't already exist
                    
339		if (empty($this->_pagination)) {
                    
340			//jimport('joomla.html.pagination');
                    
340			//jimport('joomla.html.pagination');
                    
341			require_once (JPATH_COMPONENT.DS.'helpers'.DS.'pagination.php');
                    
342			$this->_pagination = new FCPagination($this->getTotal(), $this->getState('limitstart'), $this->getState('limit') );
                    
                
flexicontent.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 504 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: flexicontent.php 1876 2014-03-24 03:24:41Z ggppdk $
                    
4 * @package Joomla
                    
125		// Lets load the categories if it doesn't already exist
                    
126		if (empty($this->_data))
                    
127		{
                    
320		// Lets load the total nr if it doesn't already exist
                    
321		if (empty($this->_total))
                    
322		{
                    
338		// Load the content if it doesn't already exist
                    
339		if (empty($this->_pagination)) {
                    
340			//jimport('joomla.html.pagination');
                    
340			//jimport('joomla.html.pagination');
                    
341			require_once (JPATH_COMPONENT.DS.'helpers'.DS.'pagination.php');
                    
342			$this->_pagination = new FCPagination($this->getTotal(), $this->getState('limitstart'), $this->getState('limit') );
                    
                
singleupload.php http://punchcms.googlecode.com/svn/trunk/ | PHP | 358 lines
                    
1<?php
                    
2
                    
153		
                    
154		if (!empty($strLocalName)) {
                    
155			//*** Connect to the server.
                    
251			$strName = $this->fixFilename(basename(strtolower($strName), $strExtension));
                    
252			$strReturn = (empty($strName)) ? strtotime("now") : $strName . "__" . strtotime("now");
                    
253			$strReturn = $strReturn . $this->getExtension($this->strOriginalName);
                    
261	protected function checkFilename($strName) {
                    
262		if (!empty($strName)) {
                    
263			if (strlen($strName) > $this->intMaxNameLength) {
                    
286		
                    
287		if (!empty($strReturn)) {
                    
288			if (strlen($strName) > $this->intMaxNameLength) {
                    
                
s3rl.php https://code.google.com/p/s3db/ | PHP | 455 lines
                    
1<?php
                    
2#this script accepts inputs of url,public key and, in case an update is attemtped, an encripted message as well
                    
15else {
                    
16	echo 's3rl.php is a function to retrieve the url of a specific Did. For documentation and usage please refer to  <a href="http://s3db.org/">s3db.org</a>';
                    
17
                    
68
                    
69include_once('config.inc.php');
                    
70$key=$GLOBALS['deployment_project']['key'];
                    
70$key=$GLOBALS['deployment_project']['key'];
                    
71include 'core.header.php';
                    
72#include (S3DB_SERVER_ROOT.'/webActions.php');
                    
72#include (S3DB_SERVER_ROOT.'/webActions.php');
                    
73#require_once(S3DB_SERVER_ROOT.'/s3dbcore/class.db.inc.php');
                    
74#include_once(S3DB_SERVER_ROOT.'/s3dbcore/common_functions.inc.php');
                    
74#include_once(S3DB_SERVER_ROOT.'/s3dbcore/common_functions.inc.php');
                    
75#include_once(S3DB_SERVER_ROOT.'/s3dbcore/callback.php');
                    
76#Generate Did, and,  since we're on it, name if empty
                    
                
TestController.php http://myzapp.googlecode.com/svn/trunk/ | PHP | 151 lines
                    
1<?php
                    
2
                    
122
                    
123			exprTest(!$category->isEmpty(), null, '???????????? ????????? ?? ??????');
                    
124
                    
130
                    
131			exprTest($category->isEmpty(), null, '???????????? ????????? ??????');
                    
132
                    
                
Plugin.php http://typecho.googlecode.com/svn/trunk/ | PHP | 122 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * This is a wrapper for Jim Riggs' <a href="http://jimandlissa.com/project/textilephp">PHP implementation</a> of <a href="http://bradchoate.com/mt-plugins/textile">Brad Choate's Textile 2</a>.  It is feature compatible with the MovableType plugin. <strong>Does not play well with the Markdown, Textile, or Textile 2 plugins that ship with WordPress.</strong>  Packaged by <a href="http://idly.org/">Adam Gessaman</a>.
                    
4 * 
                    
8 * @dependence 9.9.2-*
                    
9 * @link http://jimandlissa.com/project/textilephp
                    
10 */
                    
11 
                    
12require('Textile2/Textile.php');
                    
13
                    
99    {
                    
100        $text = empty($lastResult) ? $text : $lastResult;
                    
101        
                    
                
OrdersAction.class.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 384 lines
                    
1<?php
                    
2/**
                    
12		$map=array();
                    
13		if(!empty($_REQUEST['sn'])){
                    
14			$map['sn']=array('like','%'.$_REQUEST['sn'].'%');
                    
138				$this->memberlist=$memberlist;
                    
139				if(!empty($orderlist['express_method'])){
                    
140					$this->express_method="Express delivery:".$orderlist['express_method'];
                    
190		$_POST['dateline']=time();
                    
191		if (empty($_POST['ExpressSN'])){
                    
192			$this->error('?????????');
                    
307	public function excel(){
                    
308		Vendor('Excel.php-excel');
                    
309		$map['id']=array('in',$_REQUEST['id']);
                    
                
GMapBasePanel.cs https://hg01.codeplex.com/mojoportal | C# | 177 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
26        private string googleJsBasePath = "~/ClientScript/google/";
                    
27        private string gMapApiKey = string.Empty;
                    
28        private string gMapWebConfigKey = "GoogleMapsAPIKey";
                    
                
html_helper.php git://github.com/EllisLab/CodeIgniter.git | PHP | 391 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
184
                    
185		// If there is no alt attribute defined, set it to an empty string
                    
186		if ( ! isset($src['alt']))
                    
237		{
                    
238			if (file_exists(APPPATH.'config/doctypes.php'))
                    
239			{
                    
239			{
                    
240				include(APPPATH.'config/doctypes.php');
                    
241			}
                    
242
                    
243			if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/doctypes.php'))
                    
244			{
                    
                
class.dc.filter.words.php https://bitbucket.org/dotclear/dotclear/ | PHP | 370 lines
                    
1<?php
                    
2# -- BEGIN LICENSE BLOCK ---------------------------------------
                    
68		# Create list
                    
69		if (!empty($_POST['createlist']))
                    
70		{
                    
80		# Adding a word
                    
81		if (!empty($_POST['swa']))
                    
82		{
                    
82		{
                    
83			$globalsw = !empty($_POST['globalsw']) && $core->auth->isSuperAdmin();
                    
84
                    
94		# Removing spamwords
                    
95		if (!empty($_POST['swd']) && is_array($_POST['swd']))
                    
96		{
                    
125		$rs = $this->getRules();
                    
126		if ($rs->isEmpty())
                    
127		{
                    
                
AccessDecisionManagerTest.php git://github.com/symfony/symfony.git | PHP | 152 lines
                    
1<?php
                    
2
                    
16
                    
17class AccessDecisionManagerTest extends \PHPUnit_Framework_TestCase
                    
18{
                    
51     */
                    
52    public function testSetVotersEmpty()
                    
53    {
                    
                
SalesItemReport.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 145 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
30        private bool isCommerceReportViewer = false;
                    
31        private Guid moduleGuid = Guid.Empty;
                    
32        private Module module = null;
                    
116            moduleGuid = WebUtils.ParseGuidFromQueryString("m", moduleGuid);
                    
117            if (moduleGuid != Guid.Empty)
                    
118            {
                    
                
SurveyResponse.cs https://hg01.codeplex.com/mojoportal | C# | 280 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
41
                    
42        private Guid responseGuid = Guid.Empty;
                    
43        private Guid surveyGuid = Guid.Empty;
                    
43        private Guid surveyGuid = Guid.Empty;
                    
44        private Guid userGuid = Guid.Empty;
                    
45        private DateTime submissionDate = DateTime.MinValue;
                    
147
                    
148            if(responseGuid == Guid.Empty)
                    
149                result = Create();
                    
                
fields.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 177 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: fields.php 1683 2013-06-02 07:51:11Z ggppdk $
                    
4 * @package Joomla
                    
131		$values			= FLEXI_J16GE ? $this->value : $value;
                    
132		if ( empty($values) )							$values = array();
                    
133		else if ( ! is_array($values) )		$values = !FLEXI_J16GE ? array($values) : explode("|", $values);
                    
                
moving.html https://bitbucket.org/ellislab/expressionengine-user-guide/ | HTML | 162 lines
                    
65	<p>
                    
66		Create a new, empty database on the new server and import the back-up file you created in Step 3 into it.
                    
67		Typically this will be a SQL file (or a ZIP file containing the SQL file).
                    
73	<ul>
                    
74		<li><dfn>admin.php</dfn></li>
                    
75		<li><dfn>index.php</dfn></li>
                    
84	<p class="important">If you are moving to <a href="http://enginehosting.com">EngineHosting</a> you can skip this step.
                    
85	For other Unix hosts the following is typical, but you may check with your host to see if more restrictive permissions can be used to allow PHP to write to files (666) and folders (777).
                    
86	On Windows servers the following will not apply, but you will need to ensure that the files and folders are writable by ExpressionEngine. You may need to contact your host for this.</p>
                    
114
                    
115	<h2>8. Verify index.php and admin.php</h2>
                    
116	<p>
                    
116	<p>
                    
117		Verify that your site's root <kbd>index.php</kbd> and <kbd>admin.php</kbd> files have the correct settings for the new server.
                    
118	</p>
                    
                
admin_manage_attendance_3.php http://swifttide.googlecode.com/svn/trunk/ | PHP | 242 lines
                    
134	<br>
                    
135	<h2><?php echo _ADMIN_MANAGE_ATTENDANCE_3_INSERTED?><?php echo $user; ?></h2>
                    
136	<table border="1" cellpadding="0" cellspacing="0" width="100%">
                    
157			   ?>
                    
158		       <option value="<?php echo $attendancecode->attendance_codes_id; ?>" <?php if ($attendancecode->attendance_codes_id==$attendance->attendance_codes_id){echo "selected=selected";};?>><?php echo $attendancecode->attendance_codes_desc; ?></option>
                    
159			   <?php
                    
213	?><tr><td><select name="new_custom_field_id">
                    
214	<option value="0" selected><?php echo _ADMIN_MANAGE_ATTENDANCE_3_ADD_NEW?>...</option><?php
                    
215	foreach($custom_fields as $custom_field) {
                    
228	  <tr>
                    
229	    <td width="50%"><a href="admin_edit_student_1.php?studentid=<?php echo $studentid; ?>" class="aform"><?php echo _ADMIN_MANAGE_ATTENDANCE_3_BACK?></a></td>
                    
230	    <td width="50%" align="right"><input type="submit" name="submit" value="<?php if($action=="edit"){echo _ADMIN_MANAGE_ATTENDANCE_3_UPDATE;}else{echo _ADMIN_MANAGE_ATTENDANCE_3_ADD;};?>" class="frmbut"></td>
                    
237</div>
                    
238<?php include "admin_menu.inc.php"; ?>
                    
239</body>
                    
                
ContentMeta.cs https://hg01.codeplex.com/mojoportal | C# | 188 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
30
                    
31        private Guid guid = Guid.Empty;
                    
32        private Guid siteGuid = Guid.Empty;
                    
32        private Guid siteGuid = Guid.Empty;
                    
33        private Guid moduleGuid = Guid.Empty;
                    
34        private Guid contentGuid = Guid.Empty;
                    
34        private Guid contentGuid = Guid.Empty;
                    
35        private string name = string.Empty;
                    
36        private string scheme = string.Empty;
                    
36        private string scheme = string.Empty;
                    
37        private string langCode = string.Empty;
                    
38        private string dir = string.Empty;
                    
                
Results.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 260 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
29        private int moduleId = -1;
                    
30        private Guid surveyGuid = Guid.Empty;
                    
31        private Guid responseGuid = Guid.Empty;
                    
110            lblCompletionDate.Text = currentResponse.SubmissionDate.ToString();
                    
111            if (currentResponse.UserGuid != Guid.Empty)
                    
112            {
                    
159        {
                    
160            surveyGuid = WebUtils.ParseGuidFromQueryString("SurveyGuid", Guid.Empty);
                    
161            pageId = WebUtils.ParseInt32FromQueryString("pageid", -1);
                    
162            moduleId = WebUtils.ParseInt32FromQueryString("mid", -1);
                    
163            responseGuid = WebUtils.ParseGuidFromQueryString("ResponseGuid", Guid.Empty);
                    
164
                    
                
ProductSearchIndexBuilder.cs https://hg01.codeplex.com/mojoportal | C# | 271 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
90                    indexItem.Title = row["Name"].ToString();
                    
91                    indexItem.ViewPage = row["Url"].ToString().Replace("/", string.Empty);
                    
92                    if (indexItem.ViewPage.Length > 0)
                    
234                {
                    
235                    indexItem.ViewPage = product.Url.Replace("~/", string.Empty);
                    
236                    indexItem.UseQueryStringParams = false;
                    
250                    = product.Teaser 
                    
251                    + " " + product.Description.Replace(tabScript, string.Empty) 
                    
252                    + " " + product.MetaDescription 
                    
                
PHPExcel_Worksheet_RowDimension.html https://PHPExcel.svn.codeplex.com/svn | HTML | 398 lines
                    
36      	  <div class="package">
                    
37			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_ColumnDimension_php.html">		ColumnDimension.php
                    
38		</a><br>
                    
40		</a><br>
                    
41			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_HeaderFooter_php.html">		HeaderFooter.php
                    
42		</a><br>
                    
42		</a><br>
                    
43			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_PageMargins_php.html">		PageMargins.php
                    
44		</a><br>
                    
44		</a><br>
                    
45			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_PageSetup_php.html">		PageSetup.php
                    
46		</a><br>
                    
46		</a><br>
                    
47			<a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_RowDimension_php.html">		RowDimension.php
                    
48		</a><br>
                    
                
tbs_plugin_syntaxes.php http://xfw-xkid-framework.googlecode.com/svn/trunk/ | PHP | 150 lines
                    
1<?php
                    
2
                    
130		// $IsSupported: (Read/Write) set this argument to true to indicates that the plug-in supports the field, otherwise TBS will raise an error for unsupported Special Var field.
                    
131		// $Value:       (Read/Write) value of the field (empty string by default).
                    
132		// $PrmLst:      (Read/Write) the array of the field's parameters.
                    
                
BingMapConfiguration.cs https://hg01.codeplex.com/mojoportal | C# | 160 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
81
                    
82        private string location = string.Empty;
                    
83
                    
88
                    
89        private string caption = string.Empty;
                    
90
                    
151
                    
152        private string instanceCssClass = string.Empty;
                    
153
                    
                
CacheTool.aspx.cs https://hg01.codeplex.com/mojoportal | C# | 152 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
39    {
                    
40        private string cssCacheCookieName = string.Empty;
                    
41
                    
74            {
                    
75                HttpCookie cssCookie = new HttpCookie(cssCacheCookieName, string.Empty);
                    
76                cssCookie.Expires = DateTime.Now.AddMinutes(-10);
                    
                
jsCalendarDatePickerAdapter.cs https://hg01.codeplex.com/mojoportal | C# | 182 lines
                    
5// Licensed under the terms of the GNU Lesser General Public License:
                    
6//	http://www.opensource.org/licenses/lgpl-license.php
                    
7//
                    
131
                    
132        private string yearRange = string.Empty;
                    
133        public string YearRange
                    
139        // not really implemented in this datepicker but needed to support chanfges in IDatePicker so we can use more of jQuery Datepicker features
                    
140        private string calculateWeek = string.Empty;
                    
141        public string CalculateWeek
                    
                
mod_items.php http://glossword.googlecode.com/svn/trunk/ | PHP | 285 lines
                    
1<?php
                    
2/* The common functions for $target */
                    
233
                    
234		/* Do not link to an empty term */
                    
235		if ( SITE_WEB_MODE && $str_descr == '' )
                    
                
lessify.inc.php git://github.com/leafo/lessphp.git | PHP | 451 lines
                    
1<?php
                    
2/**
                    
4 * Convert a css file into a less file
                    
5 * http://leafo.net/lessphp
                    
6 * Copyright 2010, leaf corcoran <leafot@gmail.com>
                    
8 * WARNING: THIS DOES NOT WORK ANYMORE. NEEDS TO BE UPDATED FOR
                    
9 * LATEST VERSION OF LESSPHP.
                    
10 *
                    
12
                    
13require "lessc.inc.php";
                    
14
                    
75    public function parse() {
                    
76        if (empty(self::$combinators)) {
                    
77            self::$combinators = '(' . implode('|', array_map(array($this, 'preg_quote'),
                    
195
                    
196        if (!empty($match[3])) {
                    
197            // give back combinator
                    
                
 

Source

Language