PageRenderTime 251ms queryTime 41ms sortTime 16ms getByIdsTime 33ms findMatchingLines 39ms

100+ results results for 'php ord repo:sahilbabu/phpb2b' (251 ms)

Not the results you expected?
board.controller.php http://xe-board.googlecode.com/svn/trunk/ | PHP | 354 lines
                    
1<?php
                    
2    /**
                    
156            // get the relevant data for inserting comment
                    
157            $obj = Context::gets('document_srl','comment_srl','parent_srl','content','password','nick_name','member_srl','email_address','homepage','is_secret','notify_message','use_html');
                    
158            $obj->module_srl = $this->module_srl;
                    
281        /**
                    
282         * @brief check the password for document and comment
                    
283         **/
                    
285            // get the id number of the document and the comment
                    
286            $password = Context::get('password');
                    
287            $document_srl = Context::get('document_srl');
                    
299                // compare the comment password and the user input password
                    
300                if(!$oMemberModel->isValidPassword($oComment->get('password'),$password)) return new Object(-1, 'msg_invalid_password');
                    
301
                    
309                // compare the document password and the user input password
                    
310                if(!$oMemberModel->isValidPassword($oDocument->get('password'),$password)) return new Object(-1, 'msg_invalid_password');
                    
311
                    
                
ko.js http://avblog.googlecode.com/svn/trunk/ | JavaScript | 502 lines
                    
36PasteText			: "???? ????",
                    
37PasteWord			: "MS Word ???? ????",
                    
38Print				: "????",
                    
138Done				: "??",
                    
139PasteWordConfirm	: "???? ? ???? MS Word?? ??? ????. ???? ?? MS Word ??? ?????????",
                    
140NotCompatiblePaste	: "? ??? ???????? 5.5 ?? ????? ?????. ??? ???? ?? ???? ???????",
                    
186DlgBtnResetSize		: "?? ???",
                    
187DlgImgBorder		: "???",
                    
188DlgImgHSpace		: "????",
                    
279DlgTableColumns		: "???",
                    
280DlgTableBorder		: "??? ??",
                    
281DlgTableAlign		: "??",
                    
341PasteAsText		: "???? ????",
                    
342PasteFromWord	: "MS Word ???? ????",
                    
343
                    
                
auto_search_table_shell.php http://prohits.googlecode.com/svn/trunk/ | PHP | 376 lines
                    
28  7. get searched resuts file.
                    
29  8. shell > php auto_search_table_shell.php tableName taskID thisScriptURL sleepSec
                    
30  9. check shell process 
                    
59
                    
60$php_command_location = PHP_PATH;
                    
61//maybe it is remote connect prohits server---------
                    
76		$theURL = $_SERVER['argv'][3];
                    
77    $frm_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$theURL) . "autoBackup/download_raw_file.php";
                    
78    
                    
237  //}
                    
238  $tpp_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$tpp_theURL) . "tppTask/tpp_task_shell.php";
                    
239  $tpp_theURL .='?tableName='.$tableName.'&tppTaskID='.$theTask_arr['RunTPP'];
                    
338  writeLog("Get new created files from $tableName machine to Prohits.");
                    
339  $com_backup = PHP_PATH. " " .dirname(dirname(__FILE__))."/autoBackup/raw_backup_shell.php"." 0 ". $tableName;
                    
340  system($com_backup);
                    
                
simulator.js https://hg01.codeplex.com/social | JavaScript | 0 lines
                    
140            if (!Ext.get(target).hasCls('recorderButton')) {
                    
141                this.getRecorder().record('main', e);
                    
142            }
                    
145            if (!this.recorder) {
                    
146                this.recorder = new Ext.util.EventRecorder();
                    
147                this.recorder.on({
                    
168            if (!this.doRecordWrap) {
                    
169                this.doRecordWrap = Ext.createDelegate(me.doRecord, me);
                    
170            }
                    
185            if (!this.doRecordWrap) {
                    
186                this.doRecordWrap = Ext.createDelegate(me.doRecord, me);
                    
187            }
                    
192
                    
193            window.localStorage.setItem('recordedEvents', JSON.stringify(this.getRecorder().getEventSet('main')));
                    
194        },
                    
                
phpbb2_template.class.php https://bitbucket.org/chamilo/chamilo/ | PHP | 478 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 5142 2005-05-06 20:50:13Z acydburn $
                    
10 *
                    
23/**
                    
24 * Template class. By Nathan Codding of the phpBB group.
                    
25 * The interface was originally inspired by PHPLib templates,
                    
29
                    
30class Phpbb2Template {
                    
31	var $classname = "Phpbb2Template";
                    
                
0918fckconfig.js http://prosporous.googlecode.com/svn/trunk/ | JavaScript | 315 lines
                    
55// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
                    
56// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
                    
57// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
                    
103	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
                    
104	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
                    
105	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
                    
115	['Style','FontFormat','FontName','FontSize'],
                    
116	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','OrderedList','UnorderedList','-','TextColor','BGColor','-','Link','Unlink','-','Image','Smiley']
                    
117] ;
                    
158FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
                    
159FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
                    
160FCKConfig.FirefoxSpellChecker	= false ;
                    
264// Custom implementations should just ignore it.
                    
265var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
266var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
                
GroupBenchmarkTest.php https://bitbucket.org/zurmo/zurmo/ | PHP | 351 lines
                    
1<?php
                    
2    /*********************************************************************************
                    
29     *
                    
30     * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
                    
31     * these Appropriate Legal Notices must retain the display of the Zurmo
                    
32     * logo and Zurmo copyright notice. If the display of the logo is not reasonably
                    
33     * feasible for technical reasons, the Appropriate Legal Notices must display the words
                    
34     * "Copyright Zurmo Inc. 2015. All rights reserved".
                    
61                $user->lastName     = "Uuuuuu{$i}son";
                    
62                $user->setPassword("uuuuu$i");
                    
63                $this->assertTrue($user->save());
                    
                
mostlyce.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2/**
                    
12global $mosConfig_live_site, $jspath, $mosConfig_absolute_path, $adminside;
                    
13include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
14
                    
50	global $adminside, $mosConfig_secret, $mosConfig_cachetime;
                    
51	include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
52
                    
88
                    
89    //Check access level and MOStlyCE Admin preference.  Set editor items accordingly.  
                    
90    //Script Elements (Only loads for Admin)
                    
172	Notes: 
                    
173	* The TinyMCE PHP gzip compressor cannot and will not work if zlib compression is already enabled on the server.
                    
174	* If they requested editor compression run the checks otherwise don't waste the cycles
                    
260		function fileBrowserCallBack(field_name, url, type, win) {
                    
261		var connector = "$jspath/mambots/editors/mostlyce/jscripts/tiny_mce/filemanager/browser.php?Connector=connectors/php/connector.php";
                    
262		var enableAutoTypeSelection = false;
                    
                
WrapperTypeDef.cpp https://Phalanger.svn.codeplex.com/svn | C++ | 443 lines
                    
13//
                    
14// ExtSupport - substitute for php4ts.dll/php5ts.dll
                    
15//
                    
32
                    
33using namespace PHP::Core;
                    
34using namespace PHP::ExtManager;
                    
35
                    
36namespace PHP
                    
37{
                    
42		/// <summary>
                    
43		/// Adds a parameter type information (left-to-right order).
                    
44		/// </summary>
                    
88					ParameterTypeInfo ^info = Params[i]->Clone();
                    
89					info->ParamType = (info->IsOut ? PHP::Core::PhpReference::typeid : Object::typeid);
                    
90
                    
                
SluggableBehavior.php git://github.com/infinitas/infinitas.git | PHP | 342 lines
                    
1<?php
                    
2	/**
                    
8	 * @version $Revision: 36 $
                    
9	 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
                    
10	 * @package Infinitas.Libs.Model.Behavior
                    
43		 * - overwrite: (boolean, optional) set to true if slugs should be re-generated when
                    
44		 * 				updating an existing record. DEFAULTS TO: false
                    
45		 *
                    
                
comment.php http://lazycms.googlecode.com/svn/trunk/ | PHP | 358 lines
                    
248                    'title'    => $title,
                    
249                    'keywords' => post_get_taxonomy($post['keywords']),
                    
250                    'description' => $post['description'],
                    
265                // ????
                    
266                $order  = tpl_get_attr($block['tag'],'order');
                    
267                // ?????
                    
271                $number = validate_is($number,VALIDATE_IS_NUMERIC) ? $number : 10;
                    
272                $order  = instr(strtoupper($order),'ASC,DESC') ? $order : 'DESC';
                    
273                // ????
                    
276                $db = get_conn(); $i = $length = 0; $page = 1;
                    
277                $rs = $db->query("SELECT * FROM `#@_comment` WHERE `postid`=%d AND `approved`='1' ORDER BY `cmtid` {$order};", $post['postid']);
                    
278                $total = $db->result(sprintf("SELECT COUNT(`cmtid`) FROM `#@_comment` WHERE `postid`=%d AND `approved`='1';", $post['postid']));
                    
319                            'pagelist' => pages_list(ROOT.$basename.'_$'.$suffix, '!_$', $page, $pages, $length),
                    
320                            'keywords' => post_get_taxonomy($post['keywords']),
                    
321                            'description' => $post['description'],
                    
                
widget-categories.php http://ooxx.googlecode.com/svn/trunk/ | PHP | 246 lines
                    
157		<p>
                    
158			<label for="<?php echo $this->get_field_id( 'order' ); ?>"><?php _e( 'Order:', $this->textdomain ); ?> <code>order</code></label> 
                    
159			<select id="<?php echo $this->get_field_id( 'order' ); ?>" name="<?php echo $this->get_field_name( 'order' ); ?>" class="widefat" style="width:100%;">
                    
164		<p>
                    
165			<label for="<?php echo $this->get_field_id( 'orderby' ); ?>"><?php _e( 'Order By:', $this->textdomain ); ?> <code>orderby</code></label> 
                    
166			<select id="<?php echo $this->get_field_id( 'orderby' ); ?>" name="<?php echo $this->get_field_name( 'orderby' ); ?>" class="widefat" style="width:100%;">
                    
229			<label for="<?php echo $this->get_field_id( 'show_count' ); ?>">
                    
230			<input class="checkbox" type="checkbox" <?php checked( $instance['show_count'], true ); ?> id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" /> <?php _e( 'Show count?', $this->textdomain ); ?> <code>show_count</code></label>
                    
231		</p>
                    
233			<label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>">
                    
234			<input class="checkbox" type="checkbox" <?php checked( $instance['hide_empty'], true ); ?> id="<?php echo $this->get_field_id( 'hide_empty' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" /> <?php _e( 'Hide empty?', $this->textdomain ); ?> <code>hide_empty</code></label>
                    
235		</p>
                    
237			<label for="<?php echo $this->get_field_id( 'feed' ); ?>">
                    
238			<input class="checkbox" type="checkbox" <?php checked( $instance['feed'], true ); ?> id="<?php echo $this->get_field_id( 'feed' ); ?>" name="<?php echo $this->get_field_name( 'feed' ); ?>" /> <?php _e( 'Show RSS feed?', $this->textdomain ); ?> <code>feed</code></label>
                    
239		</p>
                    
                
li_SWX.html http://swx-format.googlecode.com/svn/trunk/ | HTML | 221 lines
                    
165    tree_file.icon = 'media/images/foldericon.png';
                    
166    	  var file = new WebFXTreeItem('Calculator.php', 'SWX/_services---Calculator.php.html');
                    
167      file.openIcon = 'media/images/file.png';
                    
169      tree_file.add(file);
                    
170    	  var file = new WebFXTreeItem('DiscoveryService.php', 'SWX/_services---amfphp---DiscoveryService.php.html');
                    
171      file.openIcon = 'media/images/file.png';
                    
173      tree_file.add(file);
                    
174    	  var file = new WebFXTreeItem('Flickr.php', 'SWX/_services---Flickr.php.html');
                    
175      file.openIcon = 'media/images/file.png';
                    
181      tree_file.add(file);
                    
182    	  var file = new WebFXTreeItem('MyFirst.php', 'SWX/_services---MyFirst.php.html');
                    
183      file.openIcon = 'media/images/file.png';
                    
201      tree_file.add(file);
                    
202    	  var file = new WebFXTreeItem('TheTenWordReview.php', 'SWX/_services---TheTenWordReview.php.html');
                    
203      file.openIcon = 'media/images/file.png';
                    
                
Font.php https://PHPExcel.svn.codeplex.com/svn | PHP | 505 lines
                    
32/** PHPExcel_IComparable */
                    
33require_once 'PHPExcel/IComparable.php';
                    
34
                    
42 */
                    
43class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
44{
                    
136		$this->_striketrough		= false;
                    
137		$this->_color				= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);
                    
138    }
                    
158     *
                    
159     * Returns the PHPExcel_Style_Font that is actual bound to PHPExcel_Style
                    
160	 *
                    
175     *
                    
176     * If no PHPExcel_Style_Font has been bound to PHPExcel_Style then bind this one. Return the actual bound one.
                    
177	 *
                    
                
Excel2007.php https://PHPExcel.svn.codeplex.com/svn | PHP | 398 lines
                    
67/** PHPExcel_Writer_Excel2007_Workbook */
                    
68require_once 'PHPExcel/Writer/Excel2007/Workbook.php';
                    
69
                    
158     *
                    
159	 * @param 	PHPExcel	$pPHPExcel
                    
160     */
                    
314	 *
                    
315	 * @param 	PHPExcel 	$pPHPExcel	PHPExcel object
                    
316	 * @throws	Exception
                    
317	 */
                    
318	public function setPHPExcel($pPHPExcel = null) {
                    
319		if ($pPHPExcel instanceof PHPExcel) {
                    
371    /**
                    
372     * Get PHPExcel_Style_Borders HashTable
                    
373     *
                    
                
helper.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 530 lines
                    
283	 * @param	string	$plaintext	The plaintext password to encrypt.
                    
284	 * @param	string	$salt		The salt to use to encrypt the password. []
                    
285	 *								If not present, a new salt will be
                    
286	 *								generated.
                    
287	 * @param	string	$encryption	The kind of pasword encryption to use.
                    
288	 *								Defaults to md5-hex.
                    
360					}
                    
361					$p[] = JUserHelper::_toAPRMD5((ord($binary[$i]) << 16) | (ord($binary[$k]) << 8) | (ord($binary[$j])), 5);
                    
362				}
                    
374	 * Returns a salt for the appropriate kind of password encryption.
                    
375	 * Optionally takes a seed and a plaintext password, to extract the seed
                    
376	 * of an existing password, or for encryption types that use the plaintext
                    
498	{
                    
499		/* 64 characters that are valid for APRMD5 passwords. */
                    
500		$APRMD5 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
                    
                
beamer_display.class.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 210 lines
                    
41			if ( $var == "text" ) { return '<img src="design/images/icon_text.png" alt="Text" border="0">'; }
                    
42			if ( $var == "wrapper" ) { return '<img src="design/images/icon_url.png" alt="Bild" border="0">'; }	
                    
43			if ( $var == "turnier" ) { return '<img src="design/images/icon_tree.png" alt="Bild" border="0">'; }				
                    
47		function formatBStatus ( $var, $bcid , $beamerid ) {
                    
48			if ( $var == "1" ) { return '<a href="index.php?mod=beamer&action=togglebeameractive&bcid='.$bcid.'&beamerid='.$beamerid.'"><img src="design/images/icon_active_sm.png" alt="Aktiv" border="0"></a>'; }
                    
49			if ( $var == "0" ) { return '<a href="index.php?mod=beamer&action=togglebeameractive&bcid='.$bcid.'&beamerid='.$beamerid.'"><img src="design/images/icon_deactive_sm.png" alt="Deaktiv" border="0"></a>'; }
                    
59			if ( $var == "1" ) { return '<a href="index.php?mod=beamer&action=toggleactive&bcid='.$var2.'"><img src="design/images/icon_active.png" alt="Aktiv" border="0"></a>'; }
                    
60			if ( $var == "0" ) { return '<a href="index.php?mod=beamer&action=toggleactive&bcid='.$var2.'"><img src="design/images/icon_deactive.png" alt="Deaktiv" border="0"></a>'; }
                    
61		}
                    
80		$ms2->AddIconField('edit','index.php?mod=beamer&action=editcontent&bcid=',t('Bearbeiten'));
                    
81		$ms2->AddIconField('delete','index.php?mod=beamer&action=askfordelete&bcid=',t('L&ouml;schen'));
                    
82		$ms2->PrintSearch('index.php?mod=beamer&action=content', 'bcID');		
                    
85						   "Das Beamermodul zeigt immer den &auml;ltesten Eintrag von \"Zuletzt angezeigt\". Durch Klick auf das Icon <img src=\"design/images/icon_reset_timestamp.png\" alt=\"Set2First\" border=\"0\"> setzt man den Zeitstempel, wann das Element zuletzt angezeigt wurde, auf Null.</div>");
                    
86		$dsp->AddSingleRow("<br/><div align=\"middle\">". $dsp->FetchCssButton( t('Inhalte hinzuf&uuml;gen') ,'index.php?mod=beamer&action=newcontent','Ein neues Inhaltselement hinzuf&uuml;gen.'."</div>"));
                    
87		$dsp->AddContent();
                    
                
Workbook.php https://PHPExcel.svn.codeplex.com/svn | PHP | 355 lines
                    
144	 */
                    
145	private function _writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
146	{
                    
174	 */
                    
175	private function _writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
176	{
                    
183			if ($pPHPExcel->getSecurity()->getRevisionsPassword() != '') {
                    
184				$objWriter->writeAttribute('revisionsPassword',	$pPHPExcel->getSecurity()->getRevisionsPassword());
                    
185			}
                    
187			if ($pPHPExcel->getSecurity()->getWorkbookPassword() != '') {
                    
188				$objWriter->writeAttribute('workbookPassword',	$pPHPExcel->getSecurity()->getWorkbookPassword());	
                    
189			}
                    
266	 */
                    
267	private function _writeDefinedNames(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
268	{
                    
                
fsource_PHPExcel_Shared__PHPExcelSharedPasswordHasher.php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 124 lines
                    
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">
                    
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>
                    
91<li><a name="a47"></a><span class="src-doc">     */</span></li>
                    
92<li><a name="a48"></a>    <span class="src-key">public </span><span class="src-key">static </span><span class="src-key">function </span><a href="../PHPExcel_Shared/PHPExcel_Shared_PasswordHasher.html#methodhashPassword">hashPassword</a><span class="src-sym">(</span><span class="src-var">$pPassword </span>= <span class="src-str">''</span><span class="src-sym">) </span><span class="src-sym">{</span></li>
                    
93<li><a name="a49"></a>        <span class="src-var">$password </span>= <span class="src-num">0x0000</span><span class="src-sym">;</span></li>
                    
105<li><a name="a61"></a>&nbsp;</li>
                    
106<li><a name="a62"></a>        <span class="src-var">$password </span>^= <a href="http://www.php.net/strlen">strlen</a><span class="src-sym">(</span><span class="src-var">$pPassword</span><span class="src-sym">)</span><span class="src-sym">;</span></li>
                    
107<li><a name="a63"></a>        <span class="src-var">$password </span>^= <span class="src-num">0xCE4B</span><span class="src-sym">;</span></li>
                    
108<li><a name="a64"></a>&nbsp;</li>
                    
109<li><a name="a65"></a>        <span class="src-key">return</span><span class="src-sym">(</span><a href="http://www.php.net/strtoupper">strtoupper</a><span class="src-sym">(</span><a href="http://www.php.net/dechex">dechex</a><span class="src-sym">(</span><span class="src-var">$password</span><span class="src-sym">)))</span><span class="src-sym">;</span></li>
                    
110<li><a name="a66"></a>    <span class="src-sym">}</span></li>
                    
                
PlatformRepository.php git://github.com/composer/composer.git | PHP | 365 lines
                    
96
                    
97        $php = new CompletePackage('php', $version, $prettyVersion);
                    
98        $php->setDescription('The PHP interpreter');
                    
106
                    
107        if (defined('PHP_ZTS') && PHP_ZTS) {
                    
108            $phpzts = new CompletePackage('php-zts', $version, $prettyVersion);
                    
114            $php64 = new CompletePackage('php-64bit', $version, $prettyVersion);
                    
115            $php64->setDescription('The PHP interpreter, 64bit');
                    
116            $this->addPackage($php64);
                    
122            $phpIpv6 = new CompletePackage('php-ipv6', $version, $prettyVersion);
                    
123            $phpIpv6->setDescription('The PHP interpreter, with IPv6 support');
                    
124            $this->addPackage($phpIpv6);
                    
302        // Skip if PHP is overridden and we are adding a php-* package
                    
303        if (isset($this->overrides['php']) && 0 === strpos($package->getName(), 'php-')) {
                    
304            $overrider = $this->addOverriddenPackage($this->overrides['php'], $package->getPrettyName());
                    
                
fckconfig.js http://esnippet.googlecode.com/svn/trunk/ | JavaScript | 317 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>
                    
104	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
                    
105	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
                    
106	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
                    
115FCKConfig.ToolbarSets["Basic"] = [
                    
116	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
                    
117] ;
                    
159FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
                    
160FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
                    
161FCKConfig.FirefoxSpellChecker	= false ;
                    
270// Custom implementations should just ignore it.
                    
271var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
272var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
                    
                
StateDropDown.js https://rabcg.svn.codeplex.com/svn | JavaScript | 582 lines
                    
22// To edit the list, just delete a line or add a line. Order is important.
                    
23// The order displayed here is the order it appears on the drop down.
                    
24//
                    
208EI:CO LAOIS:County Laois|\
                    
209EI:CO LONGFORD:County Longford|\
                    
210EI:CO LOUTH:County Louth|\
                    
213EI:CO WESTMEATH:County Westmeath|\
                    
214EI:CO WEXFORD:County Wexford|\
                    
215EI:CO WICKLOW:County Wicklow|\
                    
225EI:CO TIPPERARY:County Tipperary|\
                    
226EI:CO WATERFORD:County Waterford|\
                    
227';
                    
231// To edit the list, just delete a line or add a line. Order is important.
                    
232// The order displayed here is the order it appears on the drop down.
                    
233//
                    
                
class_session.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 344 lines
                    
1<?php
                    
2/*
                    
69			}else{
                    
70				// On charge la session PHP
                    
71				session_start();
                    
90					FROM '.TABLE_SESSIONS.' WHERE id_session=\''.$this->id_session.'\'
                    
91					ORDER BY date_lastvisite DESC LIMIT 1';
                    
92			if (!$resultat = $c->sql_query($sql))message_die(E_ERROR,5,__FILE__,__LINE__,$sql); 
                    
165		setcookie($this->cf['cookie_name'], null, ($this->time-3600)); // cookie malleo
                    
166		setcookie(get_cfg_var('session.name'), null, ($this->time-3600)); // eventuelle session type PHPSESSID
                    
167		$this->id_session = null;
                    
199				WHERE s.id_session=\''.$this->id_session.'\' 
                    
200				ORDER BY date_lastvisite DESC LIMIT 1';
                    
201
                    
257				WHERE date_lastvisite>'.($this->time-3600).' 
                    
258				ORDER BY date_lastvisite ASC';
                    
259		if (!$resultat = $c->sql_query($sql))message_die(E_ERROR,34,__FILE__,__LINE__,$sql);
                    
                
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>
                    
274		    <tr>
                    
275			<th scope="row"><?php _e( 'Cover image source', "bp-media" ) ?></th>
                    
276			<td>
                    
                
usercp_viewprofile.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 241 lines
                    
33{
                    
34	$rank_image = ($ranks[$user_rank]['rank_image']) ? '<img src="'. $ranks[$user_rank]['rank_image'] .'" alt="" title="" border="0" />' : '';
                    
35	$poster_rank = $ranks[$user_rank]['rank_title'];
                    
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');
                    
128
                    
129	'U_SEARCH_USER'        => "search.php?search_author=1&amp;uid={$profiledata['user_id']}",
                    
130	'U_SEARCH_TOPICS'      => "search.php?uid={$profiledata['user_id']}&amp;myt=1",
                    
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));
                    
                
rapidshare.com_2GB.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 218 lines
                    
1<?php
                    
2
                    
4//For auto-upload, you MUST set these values here
                    
5//According to RSM2, only **Rapidshare Premium** account is allowed to upload files > 500MB (up to 2GB), whereas non-premium accounts can only upload up to 500MB (even with RSM2)
                    
6
                    
16		<div id='login' width='100%' align='center'>Enter your Rapidshare Login Details</div><br />
                    
17		<table border='0' style="width:350px;" cellspacing='0' align='center'>
                    
18		<form action='' method='post'>
                    
20			<tr><td nowrap>&nbsp;Username*</td><td>&nbsp;<input type='text' name='my_login' value='' style="width:160px;" />&nbsp;</td></tr>
                    
21			<tr><td nowrap>&nbsp;Password*</td><td>&nbsp;<input type='password' name='my_pass' value='' style="width:160px;" />&nbsp;</td></tr>
                    
22			<tr><td nowrap>&nbsp;Upload Carrier</td><td>&nbsp;
                    
30			<tr><td colspan='2' align='center'><input type='submit' value='Upload' onclick='$(this).fadeOut();'></td></tr>
                    
31			<tr><td align='center' colspan='2'><small>Submit the form without logins to use default values stored in rapidshare.com_2GB.php</small></td></tr>
                    
32		</form>
                    
162				$this->contentheader .= "$this->boundary\r\nContent-Disposition: form-data; name=\"login\"\r\n\r\n$this->login\r\n";
                    
163				$this->contentheader .= "$this->boundary\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\n$this->password\r\n";
                    
164			}
                    
                
setup-mysql.sql http://snowcms.googlecode.com/svn/trunk/ | SQL | 206 lines
                    
2# Authentication tokens are stored here, and used in place of storing a
                    
3# users password hash in their log in cookie.
                    
4##
                    
16##
                    
17# Holds all the PHP errors which have occurred!
                    
18##
                    
145
                    
146INSERT INTO `{db->prefix}settings` (`variable`, `value`) VALUES('show_version', 1),('version', '2.0-beta2'),('password_security', 1),('disallowed_names', ''),('disallowed_emails', ''),('default_event', '');
                    
147INSERT INTO `{db->prefix}settings` (`variable`, `value`) VALUES('enable_tasks', 1),('site_name', 'SnowCMS'),('site_email', ''),('theme', 'default'),('max_tasks', 2);
                    
171
                    
172INSERT INTO `{db->prefix}tasks` (`task_name`, `file`, `location`, `func`) VALUES('plugins_update_check', 'admin/admin_plugins_manage.php', 'coredir', 'admin_plugins_check_updates');
                    
173INSERT INTO `{db->prefix}tasks` (`task_name`, `file`, `location`, `func`) VALUES('themes_update_check', 'admin/admin_themes_manage.php', 'coredir', 'admin_themes_check_updates');
                    
173INSERT INTO `{db->prefix}tasks` (`task_name`, `file`, `location`, `func`) VALUES('themes_update_check', 'admin/admin_themes_manage.php', 'coredir', 'admin_themes_check_updates');
                    
174INSERT INTO `{db->prefix}tasks` (`task_name`, `file`, `location`, `func`) VALUES('system_update_check', 'admin/admin_update.php', 'coredir', 'admin_update_check');
                    
175
                    
                
config.w32.phpize.in git://github.com/infusion/PHP.git | Autoconf | 353 lines
                    
104
                    
105DEFINE("BASE_INCLUDES", "/I " + PHP_DIR + "/include /I " + PHP_DIR + "/include/main /I " + PHP_DIR + "/include/Zend /I " + PHP_DIR + "/include/TSRM /I " + PHP_DIR + "/include/ext ");
                    
106
                    
249				} else if (FSO.FolderExists("..\\php-win64-dev\\php_build")) {
                    
250					PHP_PHP_BUILD = "..\\php-win64-dev\\php_build";
                    
251				}
                    
255				} else if (FSO.FolderExists("..\\php-win32-dev\\php_build")) {
                    
256					PHP_PHP_BUILD = "..\\php-win32-dev\\php_build";
                    
257				}
                    
260	}
                    
261	PHP_PHP_BUILD = FSO.GetAbsolutePathName(PHP_PHP_BUILD);
                    
262}
                    
280		php_usual_include_suspects += ";" + PHP_PHP_BUILD + "\\include";
                    
281		php_usual_lib_suspects += ";" + PHP_PHP_BUILD + "\\lib";
                    
282	}
                    
                
messages.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 407 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 * LICENSE: This source file is subject to LGPL license
                    
114
                    
115			// Add some rules, the input field, followed by a list of checks, carried out in order
                    
116			$post->add_rules('action','required', 'alpha', 'length[1,1]');
                    
196		    ->where($filter)
                    
197		    ->orderby('message_date','desc')
                    
198		    ->find_all($this->items_per_page, $pagination->sql_offset);
                    
236        
                    
237		$levels = ORM::factory('level')->orderby('level_weight')->find_all();
                    
238		$this->template->content->levels = $levels;
                    
279
                    
280			// Add some rules, the input field, followed by a list of checks, carried out in order
                    
281			$post->add_rules('to_id', 'required', 'numeric');
                    
                
convert-ly.py git://git.savannah.gnu.org/lilypond.git | Python | 391 lines
                    
108    p.add_option ("-l", "--loglevel",
                    
109                  help=_ ("Print log messages according to LOGLEVEL "
                    
110                          "(NONE, ERROR, WARNING, PROGRESS (default), DEBUG)"),
                    
157            _ ("Report bugs via %s")
                    
158            % 'http://post.gmane.org/post.php'
                    
159            '?group=gmane.comp.gnu.lilypond.bugs') + '\n')
                    
                
MaildirFolderTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
224        $iterator = new \RecursiveIteratorIterator($mail->getFolders(), \RecursiveIteratorIterator::SELF_FIRST);
                    
225        // we search for this folder because we can't assume a order while iterating
                    
226        $search_folders = array('subfolder'      => 'subfolder',
                    
235
                    
236            // explicit call of __toString() needed for PHP < 5.2
                    
237            $found_folders[$folder->__toString()] = $localName;
                    
246        $iterator = new \RecursiveIteratorIterator($mail->getFolders(), \RecursiveIteratorIterator::SELF_FIRST);
                    
247        // we search for this folder because we can't assume a order while iterating
                    
248        $search_folders = array('subfolder'      => 'subfolder',
                    
                
comites_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
1<?php
                    
2class ComitesController extends AppController {
                    
62			if ($this->Comite->save($this->data)) {
                    
63				$id_registro=$this->Comite->find('first',array('conditions'=>array('Comite.zona_id'=>$form),'order'=>array('Comite.created'=>'DESC')));
                    
64				$id_registro=$id_registro['Comite']['id'];				
                    
                
config.php http://wowroster-addons.googlecode.com/svn/trunk/ | PHP | 324 lines
                    
39	{
                    
40		global $wordings, $roster_conf;
                    
41		
                    
41		
                    
42		$this->form_start = "<form action=\"\" method=\"post\" enctype=\"multipart/form-data\" id=\"config\"  onsubmit=\"return confirm('".$wordings[$roster_conf['roster_lang']]['confirm_config_submit']."') && submitonce(this)\">\n";
                    
43		$this->submit_button = "<input type=\"submit\" value=\"Save Settings\" />\n<input type=\"reset\" name=\"Reset\" value=\"Reset\" onClick=\"return confirm('".$wordings[$roster_conf['roster_lang']]['confirm_config_reset']."')\"/>\n<input type=\"hidden\" name=\"process\" value=\"process\" />\n<br /><br />\n";
                    
71	{
                    
72		global $wordings, $roster_conf;
                    
73
                    
77		{
                    
78			$menu .= '    <li'.(($type == $this->db_values['master']['startpage']['value']) ? ' class="selected"' : '').'><a href="#" rel="'.$type.'">'.$wordings[$roster_conf['roster_lang']]['admin'][$type].'</a></li>'."\n";
                    
79		}
                    
99			$i = 0;
                    
100			$html .= "<div id=\"$type\" style=\"display:none;\">\n".border('sblue','start',$wordings[$roster_conf['roster_lang']]['admin'][$type])."\n<table cellspacing=\"0\" cellpadding=\"0\" class=\"bodyline\">\n";
                    
101
                    
                
MessageController.php http://mock-project.googlecode.com/svn/trunk/ | PHP | 217 lines
                    
127        $sort_column = $this->_getParam('sortname', 'MessageID'); # this will default to undefined
                    
128        $sort_order = $this->_getParam('sortorder', 'desc'); # this will default to undefined
                    
129        $page = $this->_getParam('page', 1);
                    
142                                ->join(array('ru' => 'memberinfor'), "ru.UserID=ReceiveID", array('RUsername' => 'ru.Username'))
                    
143                                ->where("ReceiveID = '$uid'")->order("$sort_column $sort_order")->limit($limit, $offset);
                    
144                break;
                    
156                                ->join(array('ru' => 'memberinfor'), "ru.UserID=ReceiveID", array('RUsername' => 'ru.Username'))
                    
157                                ->where("SendID = '$uid' OR ReceiveID = '$uid'")->order("$sort_column $sort_order")->limit($limit, $offset);
                    
158                break;
                    
174                                ->join(array('ru' => 'memberinfor'), "ru.UserID=ReceiveID", array('RUsername' => 'ru.Username'))
                    
175                                ->where("ReceiveID = '$uid'")->order("$sort_column $sort_order")->limit($limit, $offset);
                    
176                break;
                    
200
                    
201        foreach ($records AS $record) {
                    
202            //If cell's elements have named keys, they must match column names
                    
                
ajax.php https://code.google.com/p/cids/ | PHP | 227 lines
                    
1<?php
                    
2include_once '../config.php';
                    
2include_once '../config.php';
                    
3include_once '../opendb.php';
                    
4include_once 'select.php';
                    
94//                   onclick="changePage($('limit').options[$('limit').selectedIndex].value, 0, $('search').value);" />
                    
95//            <input type="text" id="search" value="<php echo @$select->search; >" style="width: 350px;" />
                    
96//        </p>";
                    
100    echo $navigation_search;
                    
101    echo "<form action='admin.php' method='post' enctype='multipart/form-data'>";
                    
102    echo display($state, $limit, $offset, $search, $field);
                    
135
                    
136include_once '../closedb.php';
                    
137
                    
175                            <legend style='background-color: #3885cc; color:white;
                    
176                                    -moz-border-radius: 6px 6px 6px 6px;
                    
177                                    -webkit-border-radius: 6px 6px 6px 6px;'>
                    
                
Streams.php http://netdns2.googlecode.com/svn/trunk/ | PHP | 338 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
                    
6 *
                    
7 * PHP Version 5
                    
8 *
                    
44 * @copyright 2010 Mike Pultz <mike@mikepultz.com>
                    
45 * @license   http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
46 * @version   SVN: $Id: Streams.php 148 2012-02-10 20:18:19Z mike.pultz $
                    
46 * @version   SVN: $Id: Streams.php 148 2012-02-10 20:18:19Z mike.pultz $
                    
47 * @link      http://pear.php.net/package/Net_DNS2
                    
48 * @since     File available since Release 0.6.0
                    
52/**
                    
53 * Socket handling class using the PHP Streams
                    
54 *
                    
307        
                    
308            $length = ord($data[0]) << 8 | ord($data[1]);
                    
309            if ($length < Net_DNS2_Lookups::DNS_HEADER_SIZE) {
                    
                
AzureStorage.php https://code.google.com/p/celebrio/ | PHP | 252 lines
                    
1<?php
                    
2
                    
36    
                    
37    public function __construct($host = '', $accountName = '', $password = '', $basicContainer = '') {
                    
38        $this->setContainer($basicContainer);
                    
                
LoginController.php http://sharebooks.googlecode.com/svn/trunk/ | PHP | 412 lines
                    
153									'_LB_NOT_GRANTED' => _LB_NOT_GRANTED,
                    
154									'_LB_INVALID_LOGIN_OR_PASSWORD' => _LB_INVALID_LOGIN_OR_PASSWORD
                    
155                );
                    
204            {
                    
205                $user->password=sha1($user->password);
                    
206                $user->activation_code = sha1($user->password);
                    
289                //- Send an Email with a private link (key)
                    
290                $user->sendActivateEmail($user->id_contact, $user->user_id, $user->name,$user->email,$user->password,$user->account_type,sha1($user->password),
                    
291										'home/mails/forgot-password-mail-'.TVC_MultiLanguage::getLanguage().'.tpl', 1);
                    
302
                    
303        $smarty->display('home/forgot_password.html');
                    
304
                    
360
                    
361            //validate user password
                    
362
                    
                
scheme3_e.html http://zhangpengpeng.googlecode.com/svn/trunk/ | HTML | 287 lines
                    
6<meta name="Author" content="Takafumi Shido">
                    
7<meta name="keywords" content="Scheme, lists">
                    
8<meta name="description" content="List operations on Scheme">
                    
18<table class='guide'><tr>
                    
19<td><a rel=home href='http://www.shido.info/index_e.php'>
                    
20  <img src='../images/shido_small.png' class='arrow' border=0>HOME</a></td>
                    
20  <img src='../images/shido_small.png' class='arrow' border=0>HOME</a></td>
                    
21<td><a rel=prev href="scheme2_e.html"><img src='../images/left_arrow.gif' class='arrow' border=0>
                    
22  2. Using Scheme as a Calculator</a></td>
                    
22  2. Using Scheme as a Calculator</a></td>
                    
23<td><a rel=up href="idx_scm_e.html"><img src='../images/up_arrow.gif' class='arrow' border=0>Yet Another Scheme Tutorial</a></td>
                    
24<td><a rel=next href="scheme4_e.html"><img src='../images/right_arrow.gif' class='arrow' border=0>4. Defining Functions</a></td>
                    
24<td><a rel=next href="scheme4_e.html"><img src='../images/right_arrow.gif' class='arrow' border=0>4. Defining Functions</a></td>
                    
25<td><a href='http://www.shido.info/gb/write_guestbook_e.php?ref=lisp/scheme3_e.html&amp;t=%28Scheme%29+Making+Lists' target='new'>
                    
26<img src='../images/pencil.gif' class='arrow' border=0>Post Messages</a></td>
                    
                
class.baseobject.php https://code.google.com/p/movabletype/ | PHP | 388 lines
                    
5#
                    
6# $Id: class.baseobject.php 5325 2010-02-23 10:44:56Z takayama $
                    
7
                    
11require_once('adodb.inc.php');
                    
12require_once('adodb-active-record.inc.php');
                    
13require_once('adodb-exceptions.inc.php');
                    
22            'favorite_blogs' => 'vblob',
                    
23            'password_reset' => 'vchar',
                    
24            'password_reset_expires' => 'vchar',
                    
24            'password_reset_expires' => 'vchar',
                    
25            'password_reset_return_to' => 'vchar'
                    
26            ),
                    
109
                    
110	public function Find($whereOrderBy, $bindarr = false, $pkeysArr = false, $extra = array()) {
                    
111        $db = $this->DB();
                    
                
CriterionPolicyError.html http://google-api-adwords-php.googlecode.com/svn/trunk/ | HTML | 0 lines
                    
26		<p class="notes">
                    
27			Located in <a class="field" href="_Ads---AdWords---v201008---AdGroupCriterionService.php.html">/Ads/AdWords/v201008/AdGroupCriterionService.php</a> (line <span class="field">5240</span>)
                    
28		</p>
                    
95													<span class="var-title">
                    
96								<span class="var-name"><a href="../../GoogleApiAdsAdWords/v201008/PolicyViolationError.html#var$externalPolicyName">PolicyViolationError::$externalPolicyName</a></span><br>
                    
97							</span>
                    
208	
                    
209	<!-- ========== Info from phpDoc block ========= -->
                    
210<p class="short-description">Gets the namesapce of this class</p>
                    
227		<dl>
                    
228			<dt><a href="../../GoogleApiAdsAdWords/v201008/PolicyViolationError.html#methodgetNamespace">PolicyViolationError::getNamespace()</a></dt>
                    
229						<dd>Gets the namesapce of this class</dd>
                    
288	<p class="notes" id="credit">
                    
289		Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
290	</p>
                    
                
fsource_PhpExt_Grid_PhpExtGridEditorGridPanel.php.html http://php-ext.googlecode.com/svn/trunk/ | HTML | 170 lines
                    
12<div id="header">
                    
13	<h1><img src="../media/php-ext2.png" alt="PHP-Ext Logo" title="PHP-Ext" width="110" height="34" /></h1>
                    
14	<div>
                    
78<h1 align="center">Source for file EditorGridPanel.php</h1>
                    
79<p>Documentation is available at <a href="../PhpExt/Grid/_PhpExt---Grid---EditorGridPanel.php.html">EditorGridPanel.php</a></p>
                    
80<div class="src-code"><span class="php">
                    
103<li><div class="src-line"><a name="a23"></a><span class="src-doc">&nbsp;*/</span></div></li>
                    
104<li><div class="src-line"><a name="a24"></a><span class="src-key">class&nbsp;</span><a href="../PhpExt/Grid/PhpExt_Grid_EditorGridPanel.html">PhpExt_Grid_EditorGridPanel</a>&nbsp;<span class="src-key">extends&nbsp;</span><a href="../PhpExt/Grid/PhpExt_Grid_GridPanel.html">PhpExt_Grid_GridPanel</a>&nbsp;</div></li>
                    
105<li><div class="src-line"><a name="a25"></a><span class="src-sym">{</span></div></li>
                    
130<li><div class="src-line"><a name="a50"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
                    
131<li><div class="src-line"><a name="a51"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><a href="../PhpExt/PhpExt_Object.html#methodaddValidConfigProperties">addValidConfigProperties</a><span class="src-sym">(</span><span class="src-var">$validProps</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
                    
132<li><div class="src-line"><a name="a52"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-sym">}&nbsp;&nbsp;&nbsp;&nbsp;</span></div></li>
                    
153<div id="footer">
                    
154PHP-Ext Open Source Project | <a href="http://php-ext.googlecode.com">http://php-ext.googlecode.com</a> | <a href="http://php-ext.quimera-solutions.com">http://php-ext.quimera-solutions.com</a> |
                    
155sergeiw at gmail.com
                    
                
mychannel_add.htm http://jqbird.googlecode.com/svn/trunk/ | HTML | 287 lines
                    
26	{
                    
27		$Obj("addcon").value = "archives_add.php";
                    
28		$Obj("editcon").value = "archives_edit.php";
                    
28		$Obj("editcon").value = "archives_edit.php";
                    
29		$Obj("mancon").value = "content_list.php";
                    
30		$Obj("useraddcon").value = "archives_add.php";
                    
30		$Obj("useraddcon").value = "archives_add.php";
                    
31		$Obj("usereditcon").value = "archives_edit.php";
                    
32		$Obj("usermancon").value = "content_list.php";
                    
35	{
                    
36		$Obj("addcon").value = "archives_sg_add.php";
                    
37		$Obj("editcon").value = "archives_sg_edit.php";
                    
37		$Obj("editcon").value = "archives_sg_edit.php";
                    
38		$Obj("mancon").value = "content_sg_list.php";
                    
39		$Obj("useraddcon").value = "archives_sg_add.php";
                    
                
ico.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 729 lines
                    
324  $Ikona[$p]["BytesInRes"]=freaddword($f);
                    
325  $Ikona[$p]["ImageOffset"]=freaddword($f);
                    
326 };
                    
381
                    
382$ret.=inttoword(0); //PASSWORD
                    
383$ret.=inttoword(1); //SOURCE
                    
466$ret.=inttoword(1); //PLANES
                    
467$ret.=inttoword($BitCount);   //
                    
468$ret.=inttodword(0);//Compress method
                    
633* inttodword($n) - returns dword (n)
                    
634* inttoword($n) - returns word(n)
                    
635* freadbyte($file) - reads 1 byte from $file
                    
636* freadword($file) - reads 2 bytes (1 word) from $file
                    
637* freaddword($file) - reads 4 bytes (1 dword) from $file
                    
638* freadlngint($file) - same as freaddword($file)
                    
                
ebpls_bus_topestablishment.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 418 lines
                    
1<?php                                  
                    
2require_once("../lib/ebpls.utils.php");
                    
3define('FPDF_FONTPATH','font/');
                    
4require('../ebpls-php-lib/html2pdf_lib/fpdf.php');
                    
5include("../lib/phpFunctions-inc.php");
                    
5include("../lib/phpFunctions-inc.php");
                    
6include("../includes/variables.php");
                    
7include("../lib/multidbconnection.php");
                    
32    {
                    
33        //Set ordinate to top
                    
34        $this->SetY($this->y0);
                    
136/*==========================================
                    
137FREDERICK -> add Y coordinate to adjust 
                    
138		position from top */
                    
181        and a.business_barangay_code  like '$brgy_name' and i.business_id = a.business_id and i.owner_id = b.owner_id and 
                    
182		$nnquery order by $qorder DESC limit $list_limit");
                    
183	
                    
                
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 340 lines
                    
82	require_once(SRCPATH."/exceptions/class.ApplicationException.php");
                    
83	require_once(SRCPATH."/class.UI.php");
                    
84	require_once(SRCPATH."/class.Debug.php");
                    
116	Core::Load("UI/Smarty/Smarty_Compiler.class.php", LIBPATH);		
                    
117	Core::Load("NET/Mail/PHPMailer");
                    
118	Core::Load("NET/Mail/PHPSmartyMailer");
                    
189	// Define log4php contants
                    
190	define("LOG4PHP_DIR", LIBPATH.'/IO/Logging/log4php/src/main/php');
                    
191	define("LOG4PHP_CONFIGURATION", APPPATH.'/etc/log4php.xml');
                    
204
                    
205	require_once(LOG4PHP_DIR . '/LoggerManager.php');
                    
206		
                    
272    require_once (APPPATH.'/observers/interface.IDeferredEventObserver.php');
                    
273    require_once (APPPATH.'/observers/interface.IEventObserver.php');
                    
274                    
                    
                
dns_zone_add.tpl http://scalr.googlecode.com/svn/ | Smarty Template | 267 lines
                    
207	<tr>
                    
208		<td width="20%"><input {if $zone.records[id].issystem == 1 && $zone.allow_manage_system_records == 0}disabled{/if} type="text" class="text" name="records[{$smarty.section.id.iteration}][name]" size=30 value="{$zone.records[id].name}"></td>
                    
209		<td width="6%"><input {if $zone.records[id].issystem == 1 && $zone.allow_manage_system_records == 0}disabled{/if} type="text" class="text" name="records[{$smarty.section.id.iteration}][ttl]" size=6 value="{$zone.records[id].ttl}"></td>
                    
219		<td colspan="2"> 
                    
220			<input {if $zone.records[id].issystem == 1 && $zone.allow_manage_system_records == 0}disabled{/if} onclick="{literal}if (this.value == 'priority') { this.value=''; } {/literal}" id="ed_{$smarty.section.id.iteration}" size="5" style="display:{if $zone.records[id].type != "MX" && $zone.records[id].type != "SRV"}none{/if};" type="text" class="text" name="records[{$smarty.section.id.iteration}][priority]" value="{$zone.records[id].priority}" size=30> 
                    
221			<input {if $zone.records[id].issystem == 1 && $zone.allow_manage_system_records == 0}disabled{/if} onclick="{literal}if (this.value == 'weight') { this.value=''; } {/literal}" id="ed_{$smarty.section.id.iteration}_weight" size="5" style="display:{if $zone.records[id].type != "SRV"}none{/if};" type="text" class="text" name="records[{$smarty.section.id.iteration}][weight]" value="{$zone.records[id].weight}" size=30>
                    
222			<input {if $zone.records[id].issystem == 1 && $zone.allow_manage_system_records == 0}disabled{/if} onclick="{literal}if (this.value == 'port') { this.value=''; } {/literal}" id="ed_{$smarty.section.id.iteration}_port" size="5" style="display:{if $zone.records[id].type != "SRV"}none{/if};" type="text" class="text" name="records[{$smarty.section.id.iteration}][port]" value="{$zone.records[id].port}" size=30>
                    
223			<input {if $zone.records[id].issystem == 1 && $zone.allow_manage_system_records == 0}disabled{/if} class="text" type=text id="zone[records][{$smarty.section.id.iteration}][rvalue]" name="records[{$smarty.section.id.iteration}][value]" size=60 value="{$zone.records[id].value}">
                    
224		</td>
                    
248			<input onclick="{literal}if (this.value == 'priority') { this.value=''; } {/literal}" id="ad_{$new_record_id}" size="5" style="display:none;" type="text" class="text" name="records[n{$new_record_id}][priority]" value="priority" size=30> 
                    
249			<input onclick="{literal}if (this.value == 'weight') { this.value=''; } {/literal}" id="ad_{$new_record_id}_weight" size="5" style="display:none;" type="text" class="text" name="records[n{$new_record_id}][weight]" value="weight" size=30>
                    
250			<input onclick="{literal}if (this.value == 'port') { this.value=''; } {/literal}" id="ad_{$new_record_id}_port" size="5" style="display:none;" type="text" class="text" name="records[n{$new_record_id}][port]" value="port" size=30>
                    
250			<input onclick="{literal}if (this.value == 'port') { this.value=''; } {/literal}" id="ad_{$new_record_id}_port" size="5" style="display:none;" type="text" class="text" name="records[n{$new_record_id}][port]" value="port" size=30>
                    
251			<input type="text" class="text" id="records[{$new_record_id}][rvalue]" name="records[n{$new_record_id}][value]" size=60 />
                    
252		</td>
                    
                
RegisteredCharacter.php https://code.google.com/p/yapeal/ | PHP | 309 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 *
                    
6 *
                    
7 * LICENSE: This file is part of Yet Another Php Eve Api library also know
                    
8 * as Yapeal which will be used to refer to it in the rest of this license.
                    
41  $mess = basename(__FILE__)
                    
42    . ' must be included it can not be ran directly.' . PHP_EOL;
                    
43  if (PHP_SAPI != 'cli') {
                    
77  /**
                    
78   * Set to TRUE if a database record exists.
                    
79   * @var bool
                    
80   */
                    
81  private $recordExists;
                    
82  /**
                    
                
default.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
101            <?php if ($record->name == 'joomla_int'): //joomla_int must be treated separately?>
                    
102                <a href="index.php?option=com_jfusion&task=plugineditor&jname=<?php echo $record->name; ?>" title="Edit Plugin"><img src="<?php echo $images ?>edit.png" alt="Edit Plugin" /></a>
                    
103                <img src="<?php echo $images ?>copy_icon_dim.png" />
                    
106            <?php elseif (!empty($record->copies)): //cannot delete copies?>
                    
107                <a href="index.php?option=com_jfusion&task=plugineditor&jname=<?php echo $record->name; ?>" title="Edit Plugin"><img src="<?php echo $images ?>edit.png" alt="Edit Plugin" /></a>
                    
108                <a href="javascript: void(0)" onclick="copy_plugin('index.php?option=com_jfusion&task=copy_plugin&jname=<?php echo $record->name; ?>')" title="Copy Plugin"><img src="<?php echo $images ?>copy_icon.png" alt="Copy Plugin" /></a>
                    
110                <?php if ($record->wizard): ?>
                    
111            	<a href="index.php?option=com_jfusion&task=wizard&jname=<?php echo $record->name; ?>" title="Plugin Wizard"><img src="<?php echo $images ?>wizard_icon.png" alt="Plugin Wizard" /></a>
                    
112                <?php else :?>
                    
115            <?php else: //all others?>
                    
116                <a href="index.php?option=com_jfusion&task=plugineditor&jname=<?php echo $record->name; ?>" title="Edit Plugin"><img src="<?php echo $images ?>edit.png" alt="Edit Plugin" /></a>
                    
117                <a href="javascript: void(0)" onclick="copy_plugin('index.php?option=com_jfusion&task=copy_plugin&jname=<?php echo $record->name; ?>')" title="Copy Plugin"><img src="<?php echo $images ?>copy_icon.png" alt="Copy Plugin" /></a>
                    
119                <?php if ($record->wizard): ?>
                    
120            	<a href="index.php?option=com_jfusion&task=wizard&jname=<?php echo $record->name; ?>" title="Plugin Wizard"><img src="<?php echo $images ?>wizard_icon.png" alt="Plugin Wizard" /></a>
                    
121                <?php else :?>
                    
                
sub-activity-class-singlepost.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 381 lines
                    
1<?php
                    
2
                    
315
                    
316                    $date_recorded = gmdate( "Y-m-d H:i:s" );
                    
317
                    
321                                            item_id = %d,
                    
322                                            date_recorded = %s,
                    
323                                            hide_sitewide = %d
                    
324                            WHERE           id = %d",
                    
325                                            $action, $album_id, $date_recorded, $post_privacy,
                    
326                                            $activity_post_id
                    
                
DictionaryLoader.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
56        // $tiVersion = $tiiFile->readInt();
                    
57        $tiVersion = ord($data[0]) << 24 | ord($data[1]) << 16 | ord($data[2]) << 8  | ord($data[3]);
                    
58        $pos += 4;
                    
60            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
                    
61                require_once 'Zend/Search/Lucene/Exception.php';
                    
62                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
                    
65        // $indexTermCount = $tiiFile->readLong();
                    
66        if (PHP_INT_SIZE > 4) {
                    
67            $indexTermCount = ord($data[$pos]) << 56  |
                    
67            $indexTermCount = ord($data[$pos]) << 56  |
                    
68                              ord($data[$pos+1]) << 48  |
                    
69                              ord($data[$pos+2]) << 40  |
                    
95        // $skipInterval   = $tiiFile->readInt();
                    
96        $skipInterval = ord($data[$pos]) << 24 | ord($data[$pos+1]) << 16 | ord($data[$pos+2]) << 8  | ord($data[$pos+3]);
                    
97        $pos += 4;
                    
                
photolang.php http://festos.googlecode.com/svn/trunk/ | PHP | 230 lines
                    
1<?php 
                    
2$title = "Language Editor - Photos";
                    
3
                    
4require_once('../core/core.php');
                    
5require_once($config['ABSOLUTE_FILE_PATH'].'admin/includes/header.php');
                    
23<h2>Language Editor - Photo Language Strings</h2>
                    
24<?php
                    
25if(isset($_GET['success']) && $_GET['success'] == 'true') {
                    
26?>
                    
27<p style="color:#7E0922;background-color:#ffffcc;width:250px;padding:4px;border:1px solid #ddd;" id="configsaved"><strong>Language configuration saved.</strong>
                    
28<script type="text/javascript" language="javascript">
                    
32</script>
                    
33<?php } ?>
                    
34
                    
36
                    
37<form action="do_photolang.php" method="post">
                    
38<table class="stripeMe" cellspacing="0" cellpadding="3" width="600">
                    
                
weblinks.html.php http://miacms.googlecode.com/svn/trunk/ | PHP | 328 lines
                    
32
                    
33		<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane<?php echo $params->get( 'pageclass_sfx' ); ?>">
                    
34		<tr>
                    
39				?>
                    
40				<img src="<?php echo $currentcat->img; ?>" align="<?php echo $currentcat->align; ?>" hspace="6" alt="<?php echo T_('Web Links'); ?>" />
                    
41				<?php
                    
211					<li>
                    
212						<a href="<?php echo sefRelToAbs( $link ); ?>" class="category<?php echo $params->get( 'pageclass_sfx' ); ?>">
                    
213						<?php echo $cat->name;?>
                    
242		
                    
243		<form action="<?php echo sefRelToAbs("index.php"); ?>" method="post" name="adminForm" id="adminForm">
                    
244		<table cellpadding="0" cellspacing="0" border="0" width="100%">
                    
298		<input type="hidden" name="task" value="" />
                    
299		<input type="hidden" name="ordering" value="<?php echo $row->ordering; ?>" />
                    
300		<input type="hidden" name="approved" value="<?php echo $row->approved; ?>" />
                    
                
admin.mambots.html.php http://miacms.googlecode.com/svn/trunk/ | PHP | 332 lines
                    
63			<th width="1%">
                    
64			<img id="saveorder" class="saveorder-icon" src="images/filesave.png" width="16" height="16" alt="<?php echo T_('Save Order'); ?>" />
                    
65			</th>
                    
108				<td>
                    
109				<?php echo $pageNav->orderUpIcon( $i, ($row->folder == @$rows[$i-1]->folder && $row->ordering > -10000 && $row->ordering < 10000) ); ?>
                    
110				</td>
                    
111				<td>
                    
112				<?php echo $pageNav->orderDownIcon( $i, $n, ($row->folder == @$rows[$i+1]->folder && $row->ordering > -10000 && $row->ordering < 10000) ); ?>
                    
113				</td>
                    
114				<td align="center" colspan="2">
                    
115				<input type="text" name="order[]" size="5" value="<?php echo $row->ordering; ?>" class="text_area" style="text-align: center" />
                    
116				</td>
                    
237					<td valign="top" align="left">
                    
238					<?php echo T_('Mambot Order:'); ?>
                    
239					</td>
                    
                
config.php https://bitbucket.org/seezoo/seezoo/ | PHP | 330 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
20|
                    
21| Typically this will be your index.php file, unless you've renamed it to
                    
22| something else. If you are using mod_rewrite to remove the page set this
                    
25*/
                    
26$config['index_page'] = "index.php";
                    
27
                    
141|
                    
142| The other items let you set the query string "words" that will
                    
143| invoke your controllers and its functions:
                    
143| invoke your controllers and its functions:
                    
144| example.com/index.php?c=controller&m=function
                    
145|
                    
166|	0 = Disables logging, Error logging TURNED OFF
                    
167|	1 = Error Messages (including PHP errors)
                    
168|	2 = Debug Messages
                    
                
FigletTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
152
                    
153    public function testGetWordReturnsWord()
                    
154    {
                    
188        $this->assertFalse($id1 == $id2);
                    
189        $this->assertFalse($word1 == $word2);
                    
190    }
                    
209        $this->assertEquals(1, $session->setExpirationHops);
                    
210        $this->assertEquals($this->captcha->getWord(), $session->word);
                    
211    }
                    
312        $this->assertTrue($this->element->isValid($input));
                    
313        $this->assertEquals($session->word, $this->captcha->getWord());
                    
314    }
                    
340    {
                    
341        if (('word' == $name) && (null !== self::$_word))  {
                    
342            return true;
                    
                
tab_admincp.php http://thegamesdb.googlecode.com/svn/trunk/ | PHP | 320 lines
                    
72				<ul>
                    
73					<li<?php if($cptab == "userinfo"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=userinfo">My User Info</a></li>
                    
74					<li<?php if($cptab == "addplatform"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=addplatform">Add New Platform</a></li>
                    
74					<li<?php if($cptab == "addplatform"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=addplatform">Add New Platform</a></li>
                    
75					<li<?php if($cptab == "publishers"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=pubdev">Manage Publishers &amp; Developers</a></li>
                    
76					<li<?php if($cptab == "sendpm"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=sendpm">Send PM</a></li>
                    
76					<li<?php if($cptab == "sendpm"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=sendpm">Send PM</a></li>
                    
77					<li<?php if($cptab == "platformalias"){ ?> class="active" <?php } ?>><a href="<?= $baseurl ?>/admincp/?cptab=platformalias">Generate Platform Alias's</a></li>
                    
78				</ul>
                    
133											<select name="languageid" size="1">
                    
134												<?php
                    
135												## Display language selector
                    
196								<?php
                    
197								$pubdevQuery = mysql_query(" SELECT * FROM pubdev ORDER BY keywords ASC");
                    
198								while($pubdevResult = mysql_fetch_object($pubdevQuery))
                    
                
DBSystemLog.cs https://hg01.codeplex.com/mojoportal | C# | 394 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.
                    
304
                    
305            sqlCommand.Append("ORDER BY ID  "); 
                    
306            //order by is required if using fetch and offset or an error will occur, uncomment it and put at least one column to sort by
                    
366
                    
367            sqlCommand.Append("ORDER BY ID DESC ");
                    
368            //order by is required if using fetch and offset or an error will occur, uncomment it and put at least one column to sort by
                    
                
index.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 295 lines
                    
1<?php
                    
2/**
                    
22/**
                    
23 * PHP sample code for the YouTube data API.  Utilizes the Zend Framework
                    
24 * Zend_Gdata component to communicate with the YouTube data API.
                    
25 *
                    
26 * Requires the Zend Framework Zend_Gdata component and PHP >= 5.1.4
                    
27 *
                    
28 * This sample is run from within a web browser.  These files are required:
                    
29 * index.php - the main logic, which interfaces with the YouTube API
                    
30 * interface.html - the HTML to represent the web UI
                    
41 */
                    
42require_once 'Zend/Loader.php';
                    
43
                    
77    $ytQuery = $yt->newVideoQuery($userVideosUrl);
                    
78    // order by the rating of the videos
                    
79    $ytQuery->setOrderBy('rating');
                    
                
sys_repair.php http://pj-photohost.googlecode.com/svn/trunk/ | PHP | 286 lines
                    
1<?php
                    
2require_once(dirname(__FILE__).'/config.php');
                    
3CheckPurview('sys_ArcBatch');
                    
4require_once(dirname(__FILE__).'/../include/oxwindow.class.php');
                    
5ShowMsg("?????????????????????????????<br /><a href='index_body.php'>&lt;&lt;?????&gt;&gt;</a>", "javascript:;");
                    
9	$win = new OxWindow();
                    
10	$win->Init("sys_repair.php","js/blank.js","POST' enctype='multipart/form-data' ");
                    
11	$win->mainTitle = "??????";
                    
11	$win->mainTitle = "??????";
                    
12	$wecome_info = "<a href='index_body.php'>????</a> &gt;&gt; ????????";
                    
13	$win->AddTitle('?????????????????????');
                    
14	$msg = "
                    
15	<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'>
                    
16  <tr>
                    
25    <br />
                    
26    <a href='sys_repair.php?dopost=1' style='font-size:14px;color:red'><b>???????????&gt;&gt;</b></a>
                    
27    <br /><br /><br />
                    
                
MDocType.java https://bitbucket.org/idempiere/idempiere/ | Java | 372 lines
                    
33 *  @author Teo Sarca, www.arhipac.ro
                    
34 *  		<li>BF [ 2476824 ] MDocType.getOfDocBaseType should return ONLY active records
                    
35 *  		<li>BF [ -       ] MDocType.getOfClient should return ONLY active records.
                    
35 *  		<li>BF [ -       ] MDocType.getOfClient should return ONLY active records.
                    
36 *  							See https://sourceforge.net/forum/message.php?msg_id=6499893
                    
37 *  @version $Id: MDocType.java,v 1.3 2006/07/30 00:54:54 jjanke Exp $
                    
67									.setParameters(Env.getAD_Client_ID(ctx), DocBaseType)
                    
68									.setOnlyActiveRecords(true)
                    
69									.setOrderBy("IsDefault DESC, C_DocType_ID")
                    
82									.setClient_ID()
                    
83									.setOnlyActiveRecords(true)
                    
84									.list();
                    
172						+" WHERE AD_Client_ID=?"
                    
173						+" ORDER BY IsDefault DESC, GL_Category_ID";
                    
174		int GL_Category_ID = DB.getSQLValue(get_TrxName(), sql, getAD_Client_ID());
                    
                
select.php git://github.com/fuel/core.git | PHP | 524 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework.
                    
4 *
                    
10 * @copyright  2008 - 2009 Kohana Team
                    
11 * @link       https://fuelphp.com
                    
12 */
                    
480
                    
481		if ( ! empty($this->_order_by))
                    
482		{
                    
483			// Add sorting
                    
484			$query .= ' '.$this->_compile_order_by($db, $this->_order_by);
                    
485		}
                    
513		$this->_having   = array();
                    
514		$this->_order_by = array();
                    
515		$this->_distinct = false;
                    
                
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
                    
69    //periods
                    
70    function retrieve_periods($condition = null, $offset = null, $count = null, $order_property = null)
                    
71    {
                    
71    {
                    
72        return InternshipOrganizerDataManager :: get_instance()->retrieve_periods($condition, $offset, $count, $order_property);
                    
73    }
                    
99
                    
100    function retrieve_groups($condition = null, $offset = null, $count = null, $order_property = null)
                    
101    {
                    
                
func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
66			'stripos' => create_function('$haystack, $needle, $offset = 0', '
                    
67										 // This function doesn\'t exist until PHP 5.2.0 >=
                    
68										 if(function_exists(\'mb_stripos\'))
                    
96			'strtoupper' => 'mb_strtoupper',
                    
97			'ucwords' => create_function('$str', '
                    
98										 // It may not have its own dedicated function, but this is good enough :P
                    
121			'strtoupper' => 'strtoupper',
                    
122			'ucwords' => 'ucwords',
                    
123			'substr_count' => 'substr_count',
                    
                
readdib.c https://ironhells.svn.sourceforge.net/svnroot/ironhells | C | 366 lines
                    
62
                    
63     while(ul > (DWORD) MAXREAD)
                    
64     {
                    
69     }
                    
70     if(_lread(fh, (LPSTR) hp, (WORD) ul) != (WORD) ul)
                    
71          return 0;
                    
100          npPal->palVersion = 0x300;
                    
101          npPal->palNumEntries = (WORD) lpInfo->biClrUsed;
                    
102
                    
141                     HANDLE hDIB,
                    
142                     HPALETTE * phPal,
                    
143                     HBITMAP * phBitmap)
                    
157
                    
158          lpBits = ((LPSTR) lpInfo + (WORD) lpInfo->biSize +
                    
159                    (WORD) lpInfo->biClrUsed * sizeof(RGBQUAD));
                    
                
Notification.php https://bitbucket.org/zurmo/zurmo/ | PHP | 247 lines
                    
1<?php
                    
2    /*********************************************************************************
                    
29     *
                    
30     * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
                    
31     * these Appropriate Legal Notices must retain the display of the Zurmo
                    
32     * logo and Zurmo copyright notice. If the display of the logo is not reasonably
                    
33     * feasible for technical reasons, the Appropriate Legal Notices must display the words
                    
34     * "Copyright Zurmo Inc. 2015. All rights reserved".
                    
                
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 *
                    
109 * Deletes all files contained in the supplied directory path.
                    
110 * Files must be writable or owned by the system in order to be deleted.
                    
111 * If the second parameter is set to TRUE, any directories contained
                    
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			{
                    
                
SectionCorp.php https://code.google.com/p/yapeal/ | PHP | 364 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 *
                    
6 *
                    
7 * LICENSE: This file is part of Yet Another Php Eve Api library also know
                    
8 * as Yapeal which will be used to refer to it in the rest of this license.
                    
41  $mess = basename(__FILE__)
                    
42    . ' must be included it can not be ran directly.' . PHP_EOL;
                    
43  if (PHP_SAPI != 'cli') {
                    
64  /**
                    
65   * Function called by  Yapeal.php to start section pulling XML from servers.
                    
66   *
                    
95      };
                    
96      // Randomize order so no one corporation can starve the rest in case of
                    
97      // errors, etc.
                    
                
settings_lang.php git://github.com/pyrocms/pyrocms.git | PHP | 160 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
31$lang['settings_date_format'] 					= 'Format daty';
                    
32$lang['settings_date_format_desc']				= 'Jak daty powinny by? wy?wietlane w serwisie i panelu administratora? U?ywaj?c <a href="http://php.net/manual/pl/function.date.php" target="_black">formatu daty</a> z PHP - czy -  u?ywaj?c formatu <a href="http://php.net/manual/en/function.strftime.php" target="_black">ci?gu jako daty</a> z PHP.';
                    
33
                    
63
                    
64$lang['settings_records_per_page']				= 'Rekordów na stron?';
                    
65$lang['settings_records_per_page_desc']				= 'Jak wiele rekordów na stron? powinno by? pokazywane w sekcji administracyjnej?';
                    
78
                    
79$lang['settings_ga_password']					= 'Has?o Google Analytics';
                    
80$lang['settings_ga_password_desc']				= 'Podaj has?o, które u?ywasz do logowania si? na konto Google Analytics, równie? wymagane do przedstawiania statystyk w Kokpicie';
                    
97$lang['settings_akismet_api_key']				= 'Klucz API Akismet';
                    
98$lang['settings_akismet_api_key_desc']				= 'Akismet umo?liwia blokowanie spamu - jest to narz?dzie twórców systemu blogowego WordPress. Akismet pozwala utrzyma? spam pod kontrol? bez zmuszania u?ytkowników do wype?niania formularzy z kodem CAPTCHA.';
                    
99
                    
99
                    
100$lang['settings_comment_order']					= 'Sortowanie komentarzy';
                    
101$lang['settings_comment_order_desc']				= 'Ustaw w jaki sposób maj? by? wy?wietlane komentarze';
                    
                
gcc43_common.sh https://octave.svn.sourceforge.net/svnroot/octave | Shell | 487 lines
                    
114#
                    
115# According to mingw32, the way to do is:
                    
116#  LDFLAGS="-shared-libgcc" CXXFLAGS="-D_DLL" 
                    
119#   http://garr.dl.sourceforge.net/sourceforge/mingw/gcc-4.2.1-dw2-2-release_notes.txt
                    
120#   http://sourceforge.net/project/shownotes.php?release_id=596917
                    
121#
                    
                
ShareLinks.cs https://dotnetage.svn.codeplex.com/svn | C# | 227 lines
                    
2//  Dual licensed under the MIT and GPL licenses:
                    
3//  http://www.opensource.org/licenses/mit-license.php
                    
4//  http://www.gnu.org/licenses/gpl.html
                    
43                pageTitle = HttpUtility.UrlEncode(pageTitle);
                    
44                //using (IEnumerator<LinkShareSite> enumerator = GetSitesInOrder(linkSites).GetEnumerator())
                    
45                //{
                    
54                HelperPage.WriteTo(__razor_helper_writer, pageTitle);
                    
55                HelperPage.WriteLiteralTo(__razor_helper_writer, "\" target=\"_blank\" title=\"Add to del.icio.us\">\r\n  <img alt=\"Add to del.icio.us\" src=\"" + Url.Content("~/content/images/icon_delicious_16.png") + "\" style=\"border:0; height:16px; width:16px; margin:0 1px;\" title=\"Add to del.icio.us\" />\r\n                </a>\r\n");
                    
56                //   break;
                    
62                HelperPage.WriteTo(__razor_helper_writer, pageTitle);
                    
63                HelperPage.WriteLiteralTo(__razor_helper_writer, "\" target=\"_blank\" title=\"Digg!\">\r\n <img alt=\"Digg!\" src=\"" + Url.Content("~/content/images/icon_digg_16.gif") + "\" style=\"border:0; height:16px; width:16px; margin:0 1px;\" title=\"Digg!\" />\r\n                </a>\r\n");
                    
64                //      break;
                    
70                HelperPage.WriteTo(__razor_helper_writer, pageTitle);
                    
71                HelperPage.WriteLiteralTo(__razor_helper_writer, "\" target=\"_blank\" title=\"Share on Google Buzz\">\r\n <img alt=\"Share on Google Buzz\" src=\"" + Url.Content("~/content/images/icon_google_buzz_16.jpg") + "\" style=\"border:0; height:16px; width:16px; margin:0 1px;\" title=\"Share on Google Buzz\" />\r\n                </a>\r\n");
                    
72                //       break;
                    
                
band_list.inc.php http://prohits.googlecode.com/svn/trunk/ | PHP | 339 lines
                    
71   </script><br>
                    
72<table border="0" cellpadding="0" cellspacing="1" width="100%">
                    
73  <tr bgcolor="">
                    
117      <td width="" align="left">&nbsp;
                    
118        <table align="left" bgcolor="" cellspacing="0" cellpadding="0" border="0">
                    
119          <tr>
                    
128      echo "<td width='' align='center'>";
                    
129      include("./band_color.inc.php");
                    
130      echo "</td>";
                    
152    <td width="" align="center">
                    
153      <table align="left" bgcolor="" cellspacing="0" cellpadding="0" border="0">
                    
154        <tr>
                    
164      echo "<td width='' align='center'>";
                    
165      include("./band_color.inc.php");
                    
166      echo "</td>";
                    
                
akismet.php git://github.com/klevo/wildflower.git | PHP | 394 lines
                    
9 *
                    
10 * Please note that in order to use this class, you must have a vaild {@link http://wordpress.com/api-keys/ WordPress API key}.  They are free for non/small-profit types and getting one will only take a couple of minutes.  
                    
11 *
                    
13 *
                    
14 * Please be aware that this class is PHP5 only.  Attempts to run it under PHP4 will most likely fail.
                    
15 *
                    
89	 *	@param	string	$blogURL			The URL of your blog.
                    
90	 *	@param	string	$wordPressAPIKey	WordPress API key.
                    
91	 */
                    
93		$this->blogURL = $blogURL;
                    
94		$this->wordPressAPIKey = $wordPressAPIKey;
                    
95		
                    
183		if($response[1] == 'invalid' && !$this->isKeyValid()) {
                    
184			throw new exception('The Wordpress API key passed to the Akismet constructor is invalid.  Please obtain a valid one from http://wordpress.com/api-keys/');
                    
185		}
                    
                
Image.php http://hppg.googlecode.com/svn/trunk/ | PHP | 362 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7require_once 'modules/lhcaptcha/pear/Text/CAPTCHA.php';
                    
8require_once 'modules/lhcaptcha/pear/Image/Text.php';
                    
15 * 
                    
16 * @license PHP License, version 3.0
                    
17 * @author Christian Wenz <wenz@php.net>
                    
164        $len = intval(min(8, $this->_width / 25));
                    
165        $this->_phrase = Text_Password::create($len);
                    
166        $this->_created = false;
                    
354    /**
                    
355     * __wakeup method (PHP 5 only)
                    
356     */
                    
                
cache-api.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 147 lines
                    
12 <body style="margin:0">
                    
13  <div id="header"><img src="./../../media/images/logo.png"  border="0" title="The DoYouHaoBaby PHP Framework Logo" ></div>
                    
14  <div id="content"> 
                    
45<p>
                    
46			???????????????????????????<span style="color: rgb(0, 128, 0);"><strong>Dyhb.class.php</strong></span> ?????<span style="color: rgb(0, 128, 0);"><strong>DoYouHaoBaby\LibPHP\App\Lib\Dyhb.class.php</strong></span>?</p>
                    
47		<p>
                    
71<LI><SPAN><SPAN class=comment>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</SPAN><SPAN>&nbsp;&nbsp;</SPAN></SPAN></LI>
                    
72<LI class=alt><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN class=keyword>static</SPAN><SPAN>&nbsp;</SPAN><SPAN class=keyword>public</SPAN><SPAN>&nbsp;function&nbsp;cache($sId,array&nbsp;$arrOption=</SPAN><SPAN class=keyword>null</SPAN><SPAN>,$sBackendClass=</SPAN><SPAN class=keyword>null</SPAN><SPAN>){} &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
73<LI><SPAN>&nbsp;&nbsp;</SPAN></LI>
                    
88<LI class=alt><SPAN><SPAN class=comment>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</SPAN><SPAN>&nbsp;&nbsp;</SPAN></SPAN></LI>
                    
89<LI><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN class=keyword>static</SPAN><SPAN>&nbsp;</SPAN><SPAN class=keyword>public</SPAN><SPAN>&nbsp;function&nbsp;writeCache($sId,$Data,array&nbsp;$arrOption=</SPAN><SPAN class=keyword>null</SPAN><SPAN>,$sBackendClass=</SPAN><SPAN class=keyword>null</SPAN><SPAN>){} &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
90<LI class=alt><SPAN>&nbsp;&nbsp;</SPAN></LI>
                    
104<LI class=alt><SPAN><SPAN class=comment>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</SPAN><SPAN>&nbsp;&nbsp;</SPAN></SPAN></LI>
                    
105<LI><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN class=keyword>static</SPAN><SPAN>&nbsp;</SPAN><SPAN class=keyword>public</SPAN><SPAN>&nbsp;function&nbsp;deleteCache($sId,array&nbsp;$arrOption=</SPAN><SPAN class=keyword>null</SPAN><SPAN>,$sBackendClass=</SPAN><SPAN class=keyword>null</SPAN><SPAN>){}&nbsp;&nbsp;</SPAN></SPAN></LI></OL></DIV></p>
                    
106		<p>
                    
                
Fl_Input.H http://luafltk.googlecode.com/svn/trunk/ | C Header | 265 lines
                    
24//
                    
25//     http://www.fltk.org/str.php
                    
26//
                    
44  
                    
45  <CENTER><TABLE border=1 WIDTH=90% summary="Fl_Input keyboard and mouse bindings.">
                    
46  
                    
47  <TR><TD WIDTH=200><B>Mouse button 1</B></TD><TD>Moves the cursor to
                    
48  this point. Drag selects characters.  Double click selects words.
                    
49  Triple click selects all text.  Shift+click extends the selection.
                    
120  <!-- NEW PAGE -->
                    
121  <center><table border=1 summary="Character Composition Table">
                    
122  <caption align="top">Character Composition Table</caption>
                    
                
MaildirFolderTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
12 */
                    
13require_once 'Zend/Mail/Storage/Folder/Maildir.php';
                    
14
                    
17 */
                    
18require_once 'Zend/Config.php';
                    
19
                    
20/**
                    
21 * PHPUnit test case
                    
22 */
                    
22 */
                    
23require_once 'PHPUnit/Framework/TestCase.php';
                    
24
                    
197        try {
                    
198            // explicit call of __toString() needed for PHP < 5.2
                    
199            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
                
mcp.fortunes.php https://bitbucket.org/ellislab/expressionengine-user-guide/ | PHP | 487 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
14===================================================== 
                    
15File: mcp.fortunes.php 
                    
16----------------------------------------------------- 
                    
23	var $version	= '1.0'; 
                    
24	var $view_limit	= 25;  // Number of words to show in View Fortunes 
                    
25	 
                    
150		 
                    
151		$r .= $DSP->table('tableBorder', '0', '0', '100%'). 
                    
152			  $DSP->tr(). 
                    
177
                    
178			$r .= $DSP->table_qcell($style, $FNS->word_limiter($row['fortune_text'],$this->view_limit),'70%','top'); 
                    
179			 
                    
289		 
                    
290		$r .= $DSP->table('tableBorder', '0', '0', '100%'). 
                    
291			  $DSP->tr(); 
                    
                
framework_helpers.php http://personal-home-page-framework.googlecode.com/svn/trunk/ | PHP | 403 lines
                    
17
                    
18function php_fw_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
                    
19  if(IS_PRODUCTION) {
                    
32        'h1 strong {color:black;font-style:italic;}' .
                    
33        'dt {margin:10px 0px 5px 0px;padding:10px;border:1px black solid;background-color:#B80000;font-weight:bold;font-size:12pt;color:white;text-shadow:1px 1px 0px black;}' .
                    
34        'dl {margin:0px 20px 30px 20px;}' .
                    
133    /* User-generated error message.
                    
134     * This is like an E_ERROR, except it is generated in PHP code by
                    
135     * using the PHP function trigger_error(). 
                    
180    /* User-generated warning message. This is like an E_DEPRECATED, except it
                    
181     * is generated in PHP code by using the PHP function trigger_error(). 
                    
182     */
                    
330  $called_uri = base64_encode($_SERVER['REQUEST_URI']);
                    
331  header("Location: " . PUBLIC_PATH . "500.php?called_uri=$called_uri");
                    
332}
                    
                
dyhbframe-entry-documents.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 194 lines
                    
12 <body style="margin:0">
                    
13  <div id="header"><img src="./../../media/images/logo.png"  border="0" title="The DoYouHaoBaby PHP Framework Logo" ></div>
                    
14  <div id="content"> 
                    
85<LI><SPAN></SPAN><SPAN class=comment>/**&nbsp;????&nbsp;*/</SPAN><SPAN>&nbsp;&nbsp;</SPAN></SPAN></LI>
                    
86<LI class=alt><SPAN></SPAN><SPAN class=keyword>require_once</SPAN><SPAN>&nbsp;('../../../DoYouHaoBaby/DoYouHaoBaby.php'); &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
87<LI><SPAN>&nbsp;&nbsp;</SPAN></LI>
                    
102		<p>
                    
103			?????<span style="color: #008000"><strong>D:\phpcondition\htdocs\doyouhaobaby/TestApp/index.php</strong></span></p>
                    
104		<p>
                    
115<OL class=dp-c>
                    
116<LI class=alt><SPAN><SPAN class=keyword>require_once</SPAN><SPAN>&nbsp;('../../../DoYouHaoBaby/DoYouHaoBaby.php');&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></SPAN></LI></OL></DIV>
                    
117		<p>
                    
166				<li>
                    
167					<span>???????????????????????????????????</span><span style="color: #008000"><span><strong>index.php</strong></span></span><span>?????????</span><span style="color: #008000"><span><strong>admin.php</strong></span></span><span>??</span></li>
                    
168			</ul>
                    
                
fck_table.html http://cfbbs.googlecode.com/svn/trunk/ | HTML | 254 lines
                    
5 * Licensed under the terms of the GNU Lesser General Public License:
                    
6 * 		http://www.opensource.org/licenses/lgpl-license.php
                    
7 * 
                    
30// Gets the document DOM
                    
31var oDOM = oEditor.FCK.EditorDocument ;
                    
32
                    
74		document.getElementById('txtHeight').value		= iHeight ;
                    
75		document.getElementById('txtBorder').value		= table.border ;
                    
76		document.getElementById('selAlignment').value	= table.align ;
                    
106	table.height		= document.getElementById('txtHeight').value ;
                    
107	table.border		= document.getElementById('txtBorder').value ;
                    
108	table.align			= document.getElementById('selAlignment').value ;
                    
177									<tr>
                    
178										<td><span fckLang="DlgTableBorder">Border size</span>:</td>
                    
179										<td>&nbsp;<INPUT id="txtBorder" type="text" maxLength="2" size="2" value="1" name="txtBorder" onkeypress="return IsDigit(event);"></td>
                    
                
postgres_driver.inc http://scalr.googlecode.com/svn/ | PHP | 657 lines
                    
34		$this->username = $this->query_addslashes($username);
                    
35		$this->password = $this->query_addslashes($password);
                    
36		if (strlen($database) == 0) $database = 'template1';
                    
48		   	if ($this->username) $this->connect_string .= " user=" . $this->username;
                    
49		   	if ($this->password) $this->connect_string .= " password=" . $this->password;
                    
50			if ($this->database) $this->connect_string .= " dbname=" . $this->database;
                    
379			$recordset = new ADORecordSet_empty();
                    
380			$this->record_set = $recordset;
                    
381			return $recordset;
                    
385		$recordset = new $resultset_name( $resultId, $this->connectionId );
                    
386		$this->record_set = $recordset;
                    
387
                    
387
                    
388		$recordset->_currentRow = 0;
                    
389
                    
                
isom.c http://avbin.googlecode.com/svn/ | C | 294 lines
                    
28/* http://www.mp4ra.org */
                    
29/* ordered by muxing preference */
                    
30const AVCodecTag ff_mp4_obj_type[] = {
                    
79    { CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') },
                    
80    { CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') }, /* OpenDiVX *//* sample files at http://heroinewarrior.com/xmovie.php3 use this tag */
                    
81    { CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') },
                    
189
                    
190/*  { CODEC_ID_OGG_VORBIS, MKTAG('O', 'g', 'g', 'S') }, *//* sample files at http://heroinewarrior.com/xmovie.php3 use this tag */
                    
191
                    
                
tipo_cambios_controller.php http://scp-soft.googlecode.com/svn/trunk/ | PHP | 359 lines
                    
1<?php
                    
2class TipoCambiosController extends AppController{
                    
9
                    
10    var $paginate=array('order'=>array('TipoCambio.fecha'=>'desc'));
                    
11
                    
64            'conditions'=>array('activo'=>true),
                    
65            'order'=>'id'
                    
66        )));
                    
91            'conditions'=>array('activo'=>true),
                    
92            'order'=>'id'
                    
93        )));
                    
243
                    
244        $res = App::import('Vendor', 'simple_html_dom', array('file' =>'simple_html_dom'.DS.'simple_html_dom.php'));
                    
245
                    
285
                    
286        $res = App::import('Vendor', 'simple_html_dom', array('file' =>'simple_html_dom'.DS.'simple_html_dom.php'));
                    
287        if (empty($url)) $url = $this->URL_SBS;
                    
                
atoi.html git://github.com/kazuho/cppref.git | HTML | 154 lines
                    
13<meta name="date" content="2009-02-18T14:51:07-0800" />
                    
14<meta name="keywords" content="c,string,atoi" />
                    
15<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
                    
17<link rel="contents" href="/wiki/c/string/atoi?do=index" title="Index" />
                    
18<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
                    
19<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&amp;ns=c:string" />
                    
23<link rel="canonical" href="http://www.cppreference.com/wiki/c/string/atoi" />
                    
24<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&amp;t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
26<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&amp;t=custom1&amp;tseed=1272971091" />
                    
27<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
                    
29//--><!]]></script>
                    
30<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>
                    
31
                    
                
find_first_not_of.html git://github.com/kazuho/cppref.git | HTML | 160 lines
                    
13<meta name="date" content="2010-04-16T09:48:00-0700" />
                    
14<meta name="keywords" content="string,find_first_not_of" />
                    
15<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
                    
17<link rel="contents" href="/wiki/string/find_first_not_of?do=index" title="Index" />
                    
18<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
                    
19<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&amp;ns=string" />
                    
23<link rel="canonical" href="http://www.cppreference.com/wiki/string/find_first_not_of" />
                    
24<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&amp;t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
26<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&amp;t=custom1&amp;tseed=1272971091" />
                    
27<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
                    
29//--><!]]></script>
                    
30<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>
                    
31
                    
                
capacity.html git://github.com/kazuho/cppref.git | HTML | 169 lines
                    
13<meta name="date" content="2010-04-08T07:24:43-0700" />
                    
14<meta name="keywords" content="stl,vector,capacity" />
                    
15<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
                    
17<link rel="contents" href="/wiki/stl/vector/capacity?do=index" title="Index" />
                    
18<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
                    
19<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&amp;ns=stl:vector" />
                    
23<link rel="canonical" href="http://www.cppreference.com/wiki/stl/vector/capacity" />
                    
24<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&amp;t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
26<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&amp;t=custom1&amp;tseed=1272971091" />
                    
27<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
                    
29//--><!]]></script>
                    
30<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>
                    
31
                    
                
Container.php git://github.com/eryx/php-framework-benchmark.git | PHP | 459 lines
                    
1<?php
                    
2
                    
29 * A service id can contain lowercased letters, digits, underscores, and dots.
                    
30 * Underscores are used to separate words, and dots to group services
                    
31 * under namespaces:
                    
                
FormErrors.php git://github.com/eryx/php-framework-benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
447        }
                    
448        foreach ($form->getElementsAndSubFormsOrdered() as $subitem) {
                    
449            if ($subitem instanceof Form\Element && !$this->getOnlyCustomFormErrors()) {
                    
                
i18n.html https://mailman.svn.sourceforge.net/svnroot/mailman | HTML | 284 lines
                    
19<!-- start of page table -->
                    
20<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
                    
21<!-- start of banner row -->
                    
27    <a href="./index.html">
                    
28    <img border=0 src="./images/logo-70.jpg"></a></center> </TD>
                    
29<TD WIDTH=15 BGCOLOR="#caa08f">&nbsp;&nbsp;</TD><!--spacer-->
                    
33<!-- start of site links table -->
                    
34<TABLE WIDTH="100%" BORDER=0
                    
35CELLSPACING=0 CELLPADDING=0
                    
85<!-- start of sidebar table -->
                    
86<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=3
                    
87       BGCOLOR="#ffffff">
                    
150<TR><TD BGCOLOR="#caa08f">
                    
151<a href="http://www.python.org/"><img border=0
                    
152                          src="./images/PythonPoweredSmall.png"
                    
                
??????????????????.htm http://xinhaining-dianjian-delphi.googlecode.com/svn/trunk/ | HTML | 262 lines
                    
109                <TD width=311><FONT color=#00FF00>???:</FONT><font color="#FFFFFF"> 
                    
110                  <input type="text" name="UserID" maxlength="16" size="9"style="BORDER-RIGHT: #336aa8 1px double; BORDER-TOP: #336aa8 1px double; BORDER-LEFT: #336aa8 1px double; COLOR: #336aa8; BORDER-BOTTOM: #336aa8 1px double" >
                    
111                  </font><FONT color=#00FF00> ??:</FONT><font color="#FFFFFF">
                    
111                  </font><FONT color=#00FF00> ??:</FONT><font color="#FFFFFF">
                    
112<input type="password" name="Password" maxlength="16" size="9"style="BORDER-RIGHT: #336aa8 1px double; BORDER-TOP: #336aa8 1px double; BORDER-LEFT: #336aa8 1px double; COLOR: #336aa8; BORDER-BOTTOM: #336aa8 1px double" >
                    
113                  </font> <input type=hidden name=validate1 value="haredogQW1" >
                    
184                  <td width="121"><div align="center"><font color="#FFFFFF"> 
                    
185                      <input type="text" name="add" size="16" style="BORDER-RIGHT: #336aa8 1px double; BORDER-TOP: #336aa8 1px double; BORDER-LEFT: #336aa8 1px double; COLOR: #336aa8; BORDER-BOTTOM: #336aa8 1px double" >
                    
186                      </font></div></td>
                    
189                      </font></div></td>
                    
190                  <td ><div align="center"><font color="#990000">?????</font><a href="index.php?_id=18&add=%B5%E7%C1%A6"class=a2>??</a> 
                    
191                        <a href="index.php?_id=18&add=%D3%C5%CC%D8%B5%E7%C1%A6"class=a2>??</a> 
                    
233<td height="20"><font color=black>??????????</font></td>
                    
234<td height="20"><font color=black>???????</font></td><td height="20"><a href="javascript:;" title="??????" class="rlink" onclick="window.open('content.php?name1=??????????','card','resizable,scrollbars,dependent,width=500,height=300');"><div align="center">??</div></a></td></tr></table>        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="4">
                    
235          <tr> 
                    
                
admin_en.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
47$lang_module['description'] = "Description";
                    
48$lang_module['keywords'] = "Keyword";
                    
49$lang_module['content_list'] = "List of articles";
                    
94$lang_module['search_id'] = "ID";
                    
95$lang_module['search_key'] = "Key word";
                    
96$lang_module['search_cat'] = "Categories";
                    
102$lang_module['search_per_page'] = "Number of topics display";
                    
103$lang_module['search_note'] = "Keyword must be more than 2 characters, less than 64 characters, no html";
                    
104$lang_module['content_edit'] = "Edit categories";
                    
115$lang_module['content_notehome'] = "(Visible every one)";
                    
116$lang_module['content_keywords'] = "Search keyword";
                    
117$lang_module['content_keywords_note'] = "To be automatic,  copy fully article content into box below and click";
                    
137$lang_module['content_copyright'] = "Copyright";
                    
138$lang_module['content_saveok'] = "Successfully recorded data";
                    
139$lang_module['content_main'] = "Back to management";
                    
                
logs.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
129
                    
130$order['lang']['order'] = filter_text_input( 'order_lang', 'get', 'NO' );
                    
131$order['module']['order'] = filter_text_input( 'order_module', 'get', 'NO' );
                    
143		"url" => $base_url . "&amp;order_" . $key . "=" . $opposite_order[$order[$key]['order']],  //
                    
144		"title" => sprintf ( $lang_module['filter_order_by'], $lang_order_2[$key] ) . " " . $lang_order_1[$order[$key]['order']]  //
                    
145	); 
                    
149{
                    
150	$sql .= " ORDER BY `lang` " . $order['lang']['order'];
                    
151}
                    
153{
                    
154	$sql .= " ORDER BY `module_name` " . $order['module']['order'];
                    
155}
                    
157{
                    
158	$sql .= " ORDER BY `log_time` " . $order['time']['order'];
                    
159}
                    
                
bxforum.class.php http://bitcero-modules.googlecode.com/svn/ | PHP | 510 lines
                    
1<?php
                    
2// $Id: bxforum.class.php 896 2012-01-02 18:43:23Z i.bitcero $
                    
233    */
                    
234    public function order(){
                    
235        return $this->getVar('order');
                    
237    public function setOrder($value){
                    
238        return $this->setVar('order', $value);
                    
239    }
                    
326        if($mc['urlmode']){
                    
327            $link = XOOPS_URL.$mc['htbase'].'/forum.php?id='.$this->id();
                    
328        } else {
                    
467        $sql = "SELECT * FROM ".$db->prefix("bxpress_forums")." WHERE ".($active>-1 ? " active='$active' " : '').
                    
468                ($category>0 ? " AND cat='$category' " : '')." ORDER BY `cat`,`order`";
                    
469        
                    
494        $sql = "SELECT * FROM $this->table WHERE `parent`='$parent'".($active>-1 ? " AND active='$active' " : '').
                    
495                ($category>0 ? " AND cat='$category' " : '')." ORDER BY `cat`,`order`";
                    
496        $result = $this->db->queryF($sql);
                    
                
HTMLModuleManager.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 418 lines
                    
1<?php
                    
2
                    
104     * @note If a string is passed as a module name, different variants
                    
105     * will be tested in this order:
                    
106     * - Check for HTMLPurifier_HTMLModule_$name
                    
106     * - Check for HTMLPurifier_HTMLModule_$name
                    
107     * - Check all prefixes with $name in order they were added
                    
108     * - Check for literal object name
                    
                
BankReconciliation.php http://chronique.googlecode.com/svn/ | PHP | 394 lines
                    
1<?php
                    
2
                    
2
                    
3/* $Id: BankReconciliation.php 4735 2011-10-29 05:59:53Z daintree $*/
                    
4
                    
10
                    
11echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">';
                    
12echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
                    
66									'" . $PeriodNo . "',
                    
67									'" . $_SESSION['CompanyRecord']['exchangediffact'] . "',
                    
68									'" . $CurrencyRow['bankaccountname'] . ' ' . _('reconciliation on') . " " .
                    
91		$result = DB_Txn_Commit($db);
                    
92		prnMsg(_('Exchange difference of') . ' ' . locale_number_format($ExchangeDifference,$_SESSION['CompanyRecord']['decimalplaces']) . ' ' . _('has been posted'),'success');
                    
93	} //end if the bank statement balance was numeric
                    
110			</table>
                    
111			<p>' . _('Bank Accounts have not yet been defined') . '. ' . _('You must first') . '<a href="' . $rootpath . '/BankAccounts.php">' . _('define the bank accounts') . '</a>' . ' ' . _('and general ledger accounts to be affected') . '.';
                    
112	include('includes/footer.inc');
                    
                
article.html http://phpfor.googlecode.com/svn/trunk/ | HTML | 194 lines
                    
7            <{if $key == "seo"}>
                    
8                <span class="tab"><span><a href="index.php?ctl=sale/tools&act=seo"><{$item}></a></span></span>
                    
9            <{else}>
                    
51                        <{button style='font-size:12px;' type="button"  label="?????" }>
                    
52                        <span value="<{$article_list_meta_key_words_default}>"><{$article_list_meta_key_words_default_name}></span>
                    
53                    </div>
                    
59                    <{setting key="site.article_list_meta_desc" namespace="setting" style="width:360px" display='false'}>
                    
60                    <div class="seo-tip" style=" border:1px solid #c7deff; background:#f5f9ff;display:none;  padding:5px; line-height:25px; margin:5px 0px; width:350px;">
                    
61                        <{foreach from=$article_list_defTag item=ald key=key}>
                    
103                        <{button style='font-size:12px;' type="button" label="?????" }>
                    
104                        <span value="<{$article_meta_key_words_default}>"><{$article_meta_key_words_default_name}></span>
                    
105                    </div>
                    
113                        <{foreach from=$article_defTag item=adt key=key}>
                    
114                            <button class="span1" title="<{$adt.name}>" type="button" svalue="<{$adt.value}>" style="color:#1b4d91; border:1px solid #98bbd2;line-height:20px; height:24px; margin:2px; cursor:pointer; background:#d6edf4;"><{$adt.name}></button>
                    
115                        <{/foreach}>
                    
                
controllers.rb http://ruby-taskr.googlecode.com/svn/trunk/ | Ruby | 344 lines
                    
107          action_class = get_action_class(params[:action_class_name])
                    
108          action = TaskAction.new(:order => params[:order] || (@task.task_actions.maximum(:order)+1) || num, :action_class_name => action_class.to_s)
                    
109
                    
126      
                    
127      @task.reload # Ensure any updates to the record goes in
                    
128      
                    
186      begin
                    
187        # the "0" is for compatibility with PHP's Zend_Rest_Client
                    
188        task_data = @input['task'] || @input["0"] || @input
                    
240          
                    
241          action = TaskAction.new(:order => a[:order] || i, :action_class_name => action_class_name)
                    
242          $LOG.debug "Action should be initialized and ready for creation: #{action.inspect}"
                    
338                        input['task_id'], !@since.blank?, @since, @level],
                    
339        :order => 'timestamp DESC, id DESC')
                    
340      
                    
                
HTMLModuleManager.php git://github.com/anantgarg/Qwench.git | PHP | 403 lines
                    
1<?php
                    
2
                    
135     * @note If a string is passed as a module name, different variants
                    
136     *       will be tested in this order:
                    
137     *          - Check for HTMLPurifier_HTMLModule_$name
                    
137     *          - Check for HTMLPurifier_HTMLModule_$name
                    
138     *          - Check all prefixes with $name in order they were added
                    
139     *          - Check for literal object name
                    
                
memcpy.html git://github.com/kazuho/cppref.git | HTML | 141 lines
                    
13<meta name="date" content="2008-10-14T15:42:02-0700" />
                    
14<meta name="keywords" content="c,string,memcpy" />
                    
15<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
                    
17<link rel="contents" href="/wiki/c/string/memcpy?do=index" title="Index" />
                    
18<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
                    
19<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&amp;ns=c:string" />
                    
23<link rel="canonical" href="http://www.cppreference.com/wiki/c/string/memcpy" />
                    
24<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&amp;t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
26<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&amp;t=custom1&amp;tseed=1272971091" />
                    
27<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
                    
29//--><!]]></script>
                    
30<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>
                    
31
                    
                
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>
                    
                
Portlet.php https://bitbucket.org/zurmo/zurmo/ | PHP | 233 lines
                    
1<?php
                    
2    /*********************************************************************************
                    
50                   "where layoutid = '$layoutId' and _user_id = $userId " .
                    
51                   "order by {$quote}column$quote, position;";
                    
52            $rows = R::getAll($sql);
                    
72                   "where layoutid = '$layoutId' and _user_id = $userId " .
                    
73                   'order by id;';
                    
74            foreach (R::getAll($sql) as $row)
                    
89                   "where layoutid = '$layoutId'"                        .
                    
90                   'order by id;';
                    
91            foreach (R::getAll($sql) as $row)
                    
                
HTMLTest.php git://github.com/osCommerce/oscommerce.git | PHP | 144 lines
                    
1<?php
                    
2/**
                    
12
                    
13  class HTMLTest extends \PHPUnit_Framework_TestCase {
                    
14    protected function setUp() {
                    
40    public function testImageWithWidthAndHeight() {
                    
41      $this->assertEquals('<img src="http://www.oscommerce.com/images/oscommerce.gif" border="0" alt="osCommerce" title="osCommerce" width="211" height="60" id="logo" />', HTML::image('http://www.oscommerce.com/images/oscommerce.gif', 'osCommerce', 211, 60, 'id="logo"'));
                    
42    }
                    
44    public function testImageWithoutWidthAndHeight() {
                    
45      $this->assertEquals('<img src="http://www.oscommerce.com/images/oscommerce.gif" border="0" alt="osCommerce" title="osCommerce" id="logo" />', HTML::image('http://www.oscommerce.com/images/oscommerce.gif', 'osCommerce', '', '', 'id="logo"'));
                    
46    }
                    
48    public function testIcon() {
                    
49      $this->assertEquals('<img src="public/sites/Shop/templates/oscom/images/icons/16x16/info.png" border="0" alt="Info" title="Info" id="iconInfo" />', HTML::icon('info.png', 'Info', '16x16', 'id="iconInfo"'));
                    
50    }
                    
76    public function testPasswordField() {
                    
77      $this->assertEquals('<input type="password" name="password" id="pfPassword" />', HTML::passwordField('password', 'id="pfPassword"'));
                    
78    }
                    
                
user_waiting.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
122{
                    
123    $sql .= " ORDER BY `" . $orderby . "` " . $ordertype;
                    
124    $base_url .= "&amp;sortby=" . $orderby . "&amp;sorttype=" . $ordertype;
                    
164{
                    
165    if ( $orderby == $order and $ordertype == 'ASC' )
                    
166    {
                    
166    {
                    
167        $head_tds[$order]['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=user_waiting&amp;sortby=" . $order . "&amp;sorttype=DESC";
                    
168        $head_tds[$order]['title'] .= " &darr;";
                    
169    }
                    
170    elseif ( $orderby == $order and $ordertype == 'DESC' )
                    
171    {
                    
171    {
                    
172        $head_tds[$order]['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=user_waiting&amp;sortby=" . $order . "&amp;sorttype=ASC";
                    
173        $head_tds[$order]['title'] .= " &uarr;";
                    
                
PlatformJobQueueTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: PlatformJobQueueTest.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
23/** Zend_Queue */
                    
24require_once 'Zend/Queue.php';
                    
25
                    
26/** Zend_Queue */
                    
27require_once 'Zend/Queue/Message.php';
                    
28
                    
29/** Zend_Queue_Message_Test */
                    
30require_once 'MessageTestClass.php';
                    
31
                    
32/** Base Adapter test class */
                    
33require_once dirname(__FILE__) . '/AdapterTest.php';
                    
34
                    
                
categories.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 404 lines
                    
53		$this->registerTask( 'params', 			'params' );
                    
54		$this->registerTask( 'orderdown', 	'orderdown' );
                    
55		$this->registerTask( 'orderup', 		'orderup' );
                    
55		$this->registerTask( 'orderup', 		'orderup' );
                    
56		$this->registerTask( 'saveorder', 	'saveorder' );
                    
57	}
                    
236		// Get the arrays from the Request
                    
237		$order	= JRequest::getVar('order',	null, 'post', 'array');
                    
238		$originalOrder = explode(',', JRequest::getString('original_order_values'));
                    
240		// Make sure something has changed
                    
241		if (!($order === $originalOrder)) {
                    
242			parent::saveorder();
                    
244			// Nothing to reorder
                    
245			$this->setRedirect(JRoute::_('index.php?option='.$this->option.'&view='.$this->view_list, false), 'Nothing to reorder');
                    
246		}
                    
                
inlimg.el git://github.com/spastorino/my_emacs_for_rails.git | Emacs Lisp | 423 lines
                    
7;; URL:
                    
8;; Keywords:
                    
9;; Compatibility:
                    
161    (nxml-mode html-mode)
                    
162    (php-mode html-mode)
                    
163    (css-mode html-mode)
                    
398(defun inlimg-font-lock (on)
                    
399  (let ((add-or-remove (if on 'font-lock-add-keywords 'font-lock-remove-keywords))
                    
400        (link-fun))
                    
                
crt0.s git://github.com/gilligan/snesdev.git | Assembly | 585 lines
                    
90
                    
91entry:  php
                    
92        pha
                    
207        nop
                    
208       	.word	nmi             ; NMI vector
                    
209       	.word	0     	      	; Reset - not used
                    
209       	.word	0     	      	; Reset - not used
                    
210       	.word	irq             ; IRQ vector
                    
211.endproc
                    
215.proc   extzp
                    
216        .word   $0100           ; sysp1
                    
217        .word   $0300           ; sysp3
                    
217        .word   $0300           ; sysp3
                    
218        .word  	$d800           ; vic
                    
219	.word  	$da00           ; sid
                    
                
kuveytturk.php http://ymscorp.googlecode.com/svn/trunk/ | PHP | 181 lines
                    
1<?php //00d4b
                    
2// *************************************************************************
                    
16// * This software is furnished under a license and may be used and copied *
                    
17// * only  in  accordance  with  the  terms  of such  license and with the *
                    
18// * inclusion of the above copyright notice.  This software  or any other *
                    
33// *************************************************************************
                    
34if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
                    
35?>
                    
133CbwjoEHcxL9j2mBa60034531nxTJRTgzm17AJrvaUsEu3Is5R12rAXzI8nuCdkfYyHWmCZ8a0V7d
                    
134xuYYBp8ntsQ9YVdwiLtQ0eBL7PH8KhmRcrlUozOVLDKY/E2sitR3z9AVwYFDGnE943PhpvpgXrGp
                    
135+ixWPXu+cZKxr31FE8kXUEffDXXXKz652h0AYVthytpd1iIP4j2314aGAxxcmj6Plxpg9Cph9XHM
                    
                
HemlockSprite.as git://github.com/mintdigital/hemlock.git | ActionScript | 384 lines
                    
54            // avoid rendering issues.
                    
55            // Source: http://www.kirupa.com/forum/showthread.php?p=2397349
                    
56            
                    
185                  duration: 5
                    
186              }); // Moves x-coordinate from 10 to 90 in 5 seconds
                    
187            
                    
189            - xBy:          Number of pixels to move along the x-axis
                    
190            - xFrom:        Starting x-coordinate
                    
191            - xTo:          Ending x-coordinate
                    
192            - yBy:          Number of pixels to move along the y-axis
                    
193            - yFrom:        Starting y-coordinate
                    
194            - yTo:          Ending y-coordinate
                    
265        //     - Events: HemlockFormEvent.SUBMIT
                    
266        //     - Has many text inputs, password inputs, and buttons, with one button marked as default
                    
267        //     - Exists for handling text input tab indexes, routing Return/Enter to default button, and collecting input values in an object
                    
                
lFrame.cpp http://hl2sb-src.googlecode.com/svn/trunk/ | C++ | 495 lines
                    
4//
                    
5// $NoKeywords: $
                    
6//===========================================================================//
                    
48LUA_API lua_Frame *lua_toframe (lua_State *L, int idx) {
                    
49  PHandle *phPanel = dynamic_cast<PHandle *>((PHandle *)lua_touserdata(L, idx));
                    
50  if (phPanel == NULL)
                    
51    return NULL;
                    
52  return dynamic_cast<lua_Frame *>(phPanel->Get());
                    
53}
                    
62LUA_API void lua_pushframe (lua_State *L, Frame *pFrame) {
                    
63  PHandle *phPanel = (PHandle *)lua_newuserdata(L, sizeof(PHandle));
                    
64  phPanel->Set(pFrame);
                    
                
fckconfig.js http://3rgbcom.googlecode.com/svn/trunk/ | JavaScript | 329 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>
                    
80FCKConfig.ForcePasteAsPlainText	= false ;
                    
81FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
                    
82FCKConfig.ShowDropDialog = true ;
                    
84FCKConfig.TabSpaces		= 0 ;
                    
85FCKConfig.ShowBorders	= true ;
                    
86FCKConfig.SourcePopup	= false ;
                    
105	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
                    
106	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
                    
107	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
                    
164FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
                    
165FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
                    
166FCKConfig.FirefoxSpellChecker	= false ;
                    
                
base.item.items.class.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 449 lines
                    
1<?php
                    
2/***************************************************************
                    
9//
                    
10include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'base.item.class.php');
                    
11
                    
59		
                    
60		$query_order_str = "";
                    
61		if( $this->sort_order == true ) {
                    
62			if( is_array($this->sort_fields) ) {
                    
63				$query_order_str = " order by ";
                    
64				$i = 0;
                    
86			} else {
                    
87				$query_order_str = " order by a." . $this->prefix . "sort_order asc";
                    
88			}
                    
244			//
                    
245			if( isset($filter['keyword']) && $this->_not_null($filter['keyword']) == true ) {
                    
246				if( is_array($this->search_fields) ) {
                    
                
admin_functions.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 472 lines
                    
44				'theme' => $db->unfixdb( $row['theme'] ),
                    
45				'keywords' => $row['keywords'],
                    
46				'groups_view' => $row['groups_view'],
                    
65	global $db;
                    
66	$query = "SELECT `group_id`, `title` FROM `" . NV_GROUPS_GLOBALTABLE . "` ORDER BY `weight`";
                    
67	$result = $db->sql_query( $query );
                    
79
                    
80	$content_config = "<?php\n\n";
                    
81	$content_config .= NV_FILEHEAD . "\n\n";
                    
253		$rewrite_rule .= "                    <match url=\"^(.*?)Sitemap\-([a-z]{2})\.xml$\" ignoreCase=\"false\" />\n";
                    
254		$rewrite_rule .= "                    <action type=\"Rewrite\" url=\"index.php?" . NV_LANG_VARIABLE . "={R:2}&amp;" . NV_NAME_VARIABLE . "=SitemapIndex\" appendQueryString=\"false\" />\n";
                    
255		$rewrite_rule .= "                </rule>\n";
                    
295		{
                    
296			$rewrite_rule .= "RewriteRule ^((?!http(s?)|ftp\:\/\/).*)\.(css|js)$ CJzip.php?file=$1.$3 [L]\n";
                    
297		}
                    
                
ucp.php https://code.google.com/p/phpbbex/ | PHP | 361 lines
                    
14define('IN_PHPBB', true);
                    
15$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
                    
16$phpEx = substr(strrchr(__FILE__, '.'), 1);
                    
94		}
                    
95		meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx"));
                    
96
                    
96
                    
97		$message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a> ');
                    
98		trigger_error($message);
                    
199
                    
200		include($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
                    
201
                    
258	{
                    
259		$redirect_url = append_sid("{$phpbb_root_path}ucp.$phpEx?i=pm&p=" . request_var('p', 0));
                    
260		login_box($redirect_url, $user->lang['LOGIN_EXPLAIN_UCP']);
                    
                
loop.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 205 lines
                    
12 <body style="margin:0">
                    
13  <div id="header"><img src="./../../media/images/logo.png"  border="0" title="The DoYouHaoBaby PHP Framework Logo" ></div>
                    
14  <div id="content"> 
                    
69<LI><SPAN>&nbsp;&nbsp;</SPAN></LI>
                    
70<LI class=alt><SPAN>&lt;?php&nbsp;</SPAN><SPAN class=keyword>endfor</SPAN><SPAN>;&nbsp;?&gt; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
71<LI><SPAN>&nbsp;&nbsp;</SPAN></LI>
                    
121<LI><SPAN>&nbsp;&nbsp;</SPAN></LI>
                    
122<LI class=alt><SPAN>&lt;?php&nbsp;</SPAN><SPAN class=keyword>endfor</SPAN><SPAN>;&nbsp;?&gt;&nbsp;&nbsp;</SPAN></SPAN></LI></OL></DIV></p>
                    
123		<p>
                    
155<LI class=alt><SPAN><SPAN>&lt;?php&nbsp;!defined('DYHB_PATH')&nbsp;&amp;&amp;&nbsp;</SPAN><SPAN class=func>exit</SPAN><SPAN>;&nbsp;</SPAN><SPAN class=comment>/*&nbsp;DoYouHaoBaby&nbsp;Framework&nbsp;??????&nbsp;????:2002-01-13&nbsp;00:45:13&nbsp;&nbsp;*/</SPAN><SPAN>&nbsp;?&gt; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
156<LI><SPAN>&lt;?php&nbsp;</SPAN><SPAN class=keyword>for</SPAN><SPAN>(&nbsp;</SPAN><SPAN class=vars>$i</SPAN><SPAN>=1;</SPAN><SPAN class=vars>$i</SPAN><SPAN>&lt;10;</SPAN><SPAN class=vars>$i</SPAN><SPAN>++&nbsp;):&nbsp;?&gt; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
157<LI class=alt><SPAN>&nbsp;&nbsp;&nbsp;The&nbsp;DoYouHaoBaby&nbsp;Framework&nbsp;-&nbsp;????</SPAN><SPAN class=keyword>for</SPAN><SPAN>&nbsp;&lt;br&gt;&nbsp; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
157<LI class=alt><SPAN>&nbsp;&nbsp;&nbsp;The&nbsp;DoYouHaoBaby&nbsp;Framework&nbsp;-&nbsp;????</SPAN><SPAN class=keyword>for</SPAN><SPAN>&nbsp;&lt;br&gt;&nbsp; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
158<LI><SPAN>&lt;?php&nbsp;</SPAN><SPAN class=keyword>endfor</SPAN><SPAN>;&nbsp;?&gt;&nbsp;&nbsp;</SPAN></SPAN></LI></OL></DIV></p>
                    
159		<p>
                    
                
bethsoftvid.c git://github.com/xbmc/xbmc.git | C | 296 lines
                    
25 * @author Nicholas Tung [ntung (at. ntung com] (2007-03)
                    
26 * @see http://wiki.multimedia.cx/index.php?title=Bethsoft_VID
                    
27 * @see http://www.svatopluk.com/andux/docs/dfvid.html
                    
46    /** delay value between frames, added to individual frame delay.
                    
47     * custom units, which will be added to other custom units (~=16ms according
                    
48     * to free, unofficial documentation) */
                    
                
addon.py http://seppius-xbmc-repo.googlecode.com/svn/trunk/ | Python | 252 lines
                    
37        username = __addon__.getSetting('username')
                    
38        password = __addon__.getSetting('password')
                    
39        if (not len(username)) and (not len(password)):
                    
52            #req.add_header('Content-Type', 'application/x-www-form-urlencoded')
                    
53        req.add_header('Authorization', 'Basic %s' % base64.b64encode('%s:%s' % (username, password)))
                    
54
                    
218
                    
219    token = GET('http://www.ulitka.tv/xbmc/token.php')
                    
220
                    
222    username = __addon__.getSetting('username')
                    
223    password = __addon__.getSetting('password')
                    
224    post = {
                    
225        'username': username,
                    
226        'passwd': password,
                    
227        'remeber': 'yes',
                    
                
grid.subgrid.js https://iHouse.svn.codeplex.com/svn | JavaScript | 299 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
                    
54			var tddiv, i,  sgmap,
                    
55			dummy = $("<table cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),
                    
56			trdiv = $("<tr></tr>");
                    
90			var tddiv,result,i,cur, sgmap,j,
                    
91			dummy = $("<table cellspacing='0' cellpadding='0' border='0'><tbody></tbody></table>"),
                    
92			trdiv = $("<tr></tr>");
                    
                
ReferenceEncryptedProperties.java http://owasp-esapi-java.googlecode.com/svn/trunk/ | Java | 294 lines
                    
5 * Enterprise Security API (ESAPI) project. For details, please see
                    
6 * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>.
                    
7 *
                    
44 * it actually extends from {@code java.util.Properties} for applications that need an
                    
45 * instance of that class. In order to do so, the {@code getProperty} and
                    
46 * {@code setProperty} methods were modified to throw {@code EncryptionRuntimeException}
                    
                
Workbook.php https://PHPExcel.svn.codeplex.com/svn | PHP | 444 lines
                    
134	 */
                    
135	private function _writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
136	{
                    
164	 */
                    
165	private function _writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)
                    
166	{
                    
173			if ($pPHPExcel->getSecurity()->getRevisionsPassword() != '') {
                    
174				$objWriter->writeAttribute('revisionsPassword',	$pPHPExcel->getSecurity()->getRevisionsPassword());
                    
175			}
                    
177			if ($pPHPExcel->getSecurity()->getWorkbookPassword() != '') {
                    
178				$objWriter->writeAttribute('workbookPassword',	$pPHPExcel->getSecurity()->getWorkbookPassword());
                    
179			}
                    
295	 */
                    
296	private function _writeNamedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel)
                    
297	{
                    
                
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>
                    
                
SitesManager.php http://kancms.googlecode.com/svn/trunk/ | PHP | 455 lines
                    
1<?php
                    
2
                    
18        return $this->getItems(0, NULL, array(
                    
19            'order' => array("SiteName ASC")
                    
20        ));
                    
23    public function getSites($start = 0, $limit = NULL, $options = NULL) {
                    
24        $dOptions = array( 'order' => array("SiteName ASC") );
                    
25
                    
78            'SiteSlogan' => $_POST['SiteSlogan'],
                    
79            'SiteKeywords' => $_POST['SiteKeywords'],
                    
80            'SiteHomePageText' => $_POST['SiteHomePageText'],
                    
164            'SiteSlogan' => $_POST['SiteSlogan'],
                    
165            'SiteKeywords' => $_POST['SiteKeywords'],
                    
166            'SiteHomePageText' => $_POST['SiteHomePageText'],
                    
265            'links' => array(
                    
266                array('title' => 'CMS Home', 'href' => '../pages/index.php?goto=../cms/index.php')
                    
267            )
                    
                
readme.html http://pumpmyvote.googlecode.com/svn/trunk/ | HTML | 98 lines
                    
15<h1>Giri?</h1>
                    
16<p>Ho?geldiniz. WordPress benim için çok özel bir proje. Tüm geli?tiriciler ve destekçiler WordPress'e bir ?eyler kat?yor, birlikte güzel i?ler yap?yoruz ve bunun bir parças? oldu?um için gurur duyuyorum. WordPress için binlerce saat harcad?k, ve onu daha iyi bir hale getirmek için her gün çal???yoruz. WordPress'i hayat?n?z?n bir parças? olarak gördü?ünüz için te?ekkürler.</p>
                    
17<p style="text-align: right;">&#8212; Matt Mullenweg</p>
                    
19<h1>Birkaç not</h1>
                    
20<p>Merhaba! Bu sat?rlar? okudu?unuza göre bir blog sahibisiniz veya yak?nda bir blog sahibi olacaks?n?z. WordPress, blog yazmak için en güzel araçlardan biridir. Blog sistemi olarak WordPress kullanmay? dü?ünüyorsan?z asl?nda WordPress kurmak, yükseltme yapmak ve kullanmak çok da zor de?il. Fakat baz? noktalara dikkat etmek ve gerekli belgeleri okumak gerekiyor. Bunun için bu benioku sayfas? d???nda sayfan?n ilerleyen bölümlerinde verilen WordPress ile ilgili adresleri takip edin. WordPress'in Türkçe'ye çevrilmesi için çok çal??t?k ve en kaliteli çeviriyi sunmak için birçok deneme yapt?k. Lütfen Türkçe pakette hata bulursan?z veya ba?ka önerileriniz varsa bizimle payla??n. Te?ekkürler ve iyi bloglamalar! :)</p>
                    
21<p style="text-align: right;">&#8212; WordPress Türkiye Ekibi</p>
                    
52	<dt><a href="http://www.wordpress-tr.com/">WordPress Türkiye</a></dt>
                    
53	<dd>WordPress'in Türkiye sitesi. Türk WordPress kullan?c?lar?n? bir araya getiren bir platform, WordPress hakk?nda son haberler, WordPress için Türkçe paket, Türkçe belgeler ve forum. </dd>
                    
54	<dt><a href="http://www.wordpress-tr.com/forum">WordPress Türkiye Forumlar?</a></dt>
                    
68</ul>
                    
69<p>WordPress, Michel V taraf?ndan geli?tirilmi? olan <a href="http://cafelog.com/">b2/caf&eacute;log</a>'un resmi devam? niteli?indedir. Bu çal??ma <a href="http://wordpress.org/about/">WordPress geli?tiricileri</a> taraf?ndan devam ettirilmi?tir. WordPress'e destek olmay? dü?ünüyorsan?z, lütfen <a href="http://wordpress.org/donate/">ba??? yap?n</a>.</p>
                    
70
                    
85<ul>
                    
86	<li>Öneri, görü?, yorum ve hata bildirimlerinizi <a href="http://wordpress.org/support/">destek forumlar?nda</a> payla?abilirsiniz. Türkçe destek ve WordPress Türkiye hakk?ndaki tüm görü?leriniz için <a href="http://www.wordpress-tr.com/forum">WordPress Türkiye Forumlar?na</a> bakabilirsiniz</li>
                    
87	<li>WordPress art?k kodlar?n geli?tirilmesini kolayla?t?ran sa?lam API eklenti deste?ine sahip. E?er bir geli?tiriciyseniz ve bu konuyla ilgiliyseniz <a href="http://codex.wordpress.org/Plugin_API">Codex'teki eklenti belgelerine bak?n</a>. Normal ?artlarda çekirdek kodlar? de?i?tirmemelisiniz.</li>
                    
                
antena1_main.php http://eboda-hd-for-all-500.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
265<title>In gura presei cu Mircea Badea</title>
                    
266<link><?php echo $host; ?>/scripts/tv/php/antena1_igp_emisiuni.php</link>
                    
267<media:thumbnail url="/scripts/tv/image/antena1_igp.jpg" />
                    
274<title>In puii mei cu Mihai Bendeac</title>
                    
275<link><?php echo $host; ?>/scripts/tv/php/antena1_ipm_emisiuni.php</link>
                    
276<media:thumbnail url="/scripts/tv/image/antena1_ipm.jpg" />
                    
283<title>Neatza cu Razvan si Dani</title>
                    
284<link><?php echo $host; ?>/scripts/tv/php/antena1_neatza_emisiuni.php</link>
                    
285<media:thumbnail url="/scripts/tv/image/antena1_neatza.jpg" />
                    
292<title>Un show pacatos cu Dan Capatos</title>
                    
293<link><?php echo $host; ?>/scripts/tv/php/antena1_pacatos_emisiuni.php</link>
                    
294<media:thumbnail url="/scripts/tv/image/antena1_pacatos.jpg" />
                    
301<title>Acces direct cu Simona Gherghe</title>
                    
302<link><?php echo $host; ?>/scripts/tv/php/antena1_acces_emisiuni.php</link>
                    
303<media:thumbnail url="/scripts/tv/image/antena1_acces.jpg" />
                    
                
instructions_de.htm git://github.com/MattWilcox/Adaptive-Images.git | HTML | 177 lines
                    
77  directories
                    
78  # to adaptive-images.php so we can select appropriately sized versions
                    
79  RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
                    
118  <p><code>$watch_cache</code> Bei Performanceproblemen ihres Servers kann diese Option abgeschaltet werden.
                    
119  Sollten Sie allerdings ihre Quell-Bilder ersetzen müssen Sie den Cache Ordner manuell leeren.</p>
                    
120  <p><code>$mobile_first</code> Wenn TRUE und kein  cookie ist gesetzt, sendet Adaptive 
                    
136 @media only screen and (max-device-width: 479px) {
                    
137   html { background-image:url(ai-cookie.php?maxwidth=479); } }
                    
138 @media only screen and (min-device-width: 480px) and (max-device-width: 767px) {
                    
140 @media only screen and (min-device-width: 768px) and (max-device-width: 991px) {
                    
141   html { background-image:url(ai-cookie.php?maxwidth=991); } }
                    
142 @media only screen and (min-device-width: 992px) and (max-device-width: 1381px) {
                    
171er arbeitet weiter während er auf die externe datei wartet. Das bedeutet das 
                    
172schon Bilddateien angefordert werden können bevor die PHP Datei abgearbeitet wurde 
                    
173und somit noch kein Cookie gesetzt wurde. Das wiederum heisst, daß wenn $mobile_first TRUE ist
                    
                
empty.html git://github.com/kazuho/cppref.git | HTML | 147 lines
                    
13<meta name="date" content="2009-07-16T14:13:39-0700" />
                    
14<meta name="keywords" content="stl,stack,empty" />
                    
15<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
                    
17<link rel="contents" href="/wiki/stl/stack/empty?do=index" title="Index" />
                    
18<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
                    
19<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&amp;ns=stl:stack" />
                    
23<link rel="canonical" href="http://www.cppreference.com/wiki/stl/stack/empty" />
                    
24<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&amp;t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
25<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
                    
26<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&amp;t=custom1&amp;tseed=1272971091" />
                    
27<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
                    
29//--><!]]></script>
                    
30<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>
                    
31
                    
                
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.
                    
42                           head))
                    
43                       ; nanoTime appropriate here; looking to maintain ordering, not actual timestamps
                    
44                       (System/nanoTime))
                    
120     - only the last :ns is retained
                    
121     - :value is accumulated into an ordered collection
                    
122     - :status and :session are accumulated into a set
                    
                
group.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
16$data = array();
                    
17list( $data['groupid'], $data['parentid'], $data['title'], $data['alias'], $data['description'], $data['keywords'], $data['who_view'], $groups_view ) = array( 
                    
18    0, 0, "", "", "", "", 0, "" 
                    
28    $data['title'] = filter_text_input( 'title', 'post', '', 1 );
                    
29    $data['keywords'] = filter_text_input( 'keywords', 'post', '', 1 );
                    
30    $data['alias'] = filter_text_input( 'alias', 'post', '' );
                    
93    {
                    
94        $query = "UPDATE " . $table_name . " SET `parentid`=" . $db->dbescape( $data['parentid'] ) . ", `" . NV_LANG_DATA . "_title`=" . $db->dbescape( $data['title'] ) . ", `" . NV_LANG_DATA . "_alias` =  " . $db->dbescape( $data['alias'] ) . ", `" . NV_LANG_DATA . "_description`=" . $db->dbescape( $data['description'] ) . ", `" . NV_LANG_DATA . "_keywords`= " . $db->dbescape( $data['keywords'] ) . ", `who_view`=" . $db->dbescape( $data['who_view'] ) . ", `groups_view`=" . $db->dbescape( $groups_view ) . ", `edit_time`=UNIX_TIMESTAMP( ) WHERE `groupid` =" . $data['groupid'] . "";
                    
95        $db->sql_query( $query );
                    
134{
                    
135    list( $data['groupid'], $data['parentid'], $data['title'], $data['alias'], $data['description'], $data['keywords'], $data['who_view'], $data['groups_view'] ) = $db->sql_fetchrow( $db->sql_query( "SELECT `groupid`, `parentid`, `" . NV_LANG_DATA . "_title`, `" . NV_LANG_DATA . "_alias`, `" . NV_LANG_DATA . "_description`, `" . NV_LANG_DATA . "_keywords`, `who_view`, `groups_view`  FROM " . $table_name . " where `groupid`=" . $data['groupid'] . "" ) );
                    
136    $caption = $lang_module['edit_group'];
                    
143
                    
144$sql = "SELECT groupid, " . NV_LANG_DATA . "_title, lev FROM " . $table_name . " WHERE `groupid` !='" . $data['groupid'] . "' ORDER BY `order` ASC";
                    
145$result = $db->sql_query( $sql );
                    
                
DBSurveyResponse.cs https://hg01.codeplex.com/mojoportal | C# | 360 lines
                    
7/// The use and distribution terms for this software are covered by the 
                    
8/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
9/// which can be found in the file CPL.TXT at the root of this distribution.
                    
271            sqlCommand.Append("AND Complete = 1 ");
                    
272            sqlCommand.Append("ORDER BY SubmissionDate, ResponseGuid ");
                    
273            sqlCommand.Append("LIMIT 1; ");
                    
307            sqlCommand.Append("AND Complete = 1 ");
                    
308            sqlCommand.Append("Order By SubmissionDate, ResponseGuid ");
                    
309            sqlCommand.Append("Limit 1; ");
                    
341            sqlCommand.Append("ResponseGuid = ?ResponseGuid) ");
                    
342            sqlCommand.Append("Order By SubmissionDate DESC, ResponseGuid; ");
                    
343
                    
                
oliver.php http://morisoliver.googlecode.com/svn/trunk/ | PHP | 174 lines
                    
1<?php
                    
2if  ( $_SERVER['HTTPS'] )
                    
45      var foldersetLoc = '/temp/oliver_folderset.xml';
                    
46var moreInfoHTML = '<table border="0" width=100% cellpadding=0 cellspacing=10><tr><td align=left><a target="_blank" href="http://www.mass.gov/czm"><img border=none src="img/czm_sda2.png" alt="CZM Logo"></a></td><td align="center" <img border=none src="img/oliver_logo_lcase.jpg" alt="OLIVER logo"></td><td align="right"><a target="_blank" href="http://www.mass.gov/mgis"><img border=none src="img/massgis.png" alt="MassGIS Logo"></a></td></tr><tr><td colspan=3 class="dirText"><p style="text-align:justify"><a target="_blank" href="http://www.mass.gov/czm/mapping">The Massachusetts OnLIne ViewER (OLIVER)</a> is an online mapping tool created by the <a target="_blank" href="http://www.mass.gov/czm">Massachusetts Office of Coastal Zone Management (CZM)</a>, the <a target="_blank" href="http://www.mass.gov/mgis">Office of Geographic Information (MassGIS)</a>, <a target="_blank" href="http://www.seaplan.org">SeaPlan (formerly the Massachusetts Ocean Partnership)</a> and <a target="_blank" href="http://www.asascience.com">Applied Science Associates (ASA)</a>, <a href="http://2creek.com" target="_blank">Charlton Galvarino</a>, and <a href="http://peoplegis.com/" target="_blank">PeopleGIS</a>. OLIVER can be used to search, display, and share spatial data pertaining to Massachusetts.  Users can quickly create and share maps and download data for use in a Geographic Information System (GIS).  In 2011, the OLIVER system was upgraded to a new web-based thin client using <a target="_blank" href="http://www.geoext.org">GeoExt</a> and <a target="_blank" href="http://www.openlayers.org">OpenLayers<a>.  It continues to use <a target="_blank" href="http://www.geoserver.org">GeoServer</a>-based <a target="_blank" href="http://lyceum.massgis.state.ma.us">MassGIS web mapping services</a>.  The project was graciously funded by SeaPlan.<br/><br/>OLIVER was developed using open source technology - the OLIVER codebase is free for use and modification under the GNU General Public License.  More information about the open source nature of OLIVER can be found at the <a target="_blank" href="https://wiki.state.ma.us/confluence/display/massgis/OLIVER+and+customizations">OLIVER Developer web site</a>.<br><br>The mission of CZM is to balance the impacts of human activity with the protection of coastal and marine resources.  As a networked program, CZM was specifically established to work with other state agencies, federal agencies, local governments, academic institutions, nonprofit groups, and the general public to promote sound management of the Massachusetts coast.  CZM is funded primarily through the <a target="_blank" href="http://www.mass.gov">Commonwealth of Massachusetts</a>, the <a target="_blank" href="http://www.noaa.gov">National Oceanic and Atmospheric Administration (NOAA)</a> and the <a target="_blank" href="http://www.epa.gov">U.S. Environmental Protection Agency (EPA)</a>.<br/><br/><a target="_blank" href="http://www.mass.gov/mgis">MassGIS</a> is the Office of Geographic Information, within the <a target="_blank" href="http://www.mass.gov/itd">Information Technology Division (ITD)</a>.</a>  Through MassGIS, the Commonwealth has created a comprehensive, statewide database of geospatial information.  The state legislature has established MassGIS as the official state agency assigned to the collection, storage and dissemination of geographic data.  In addition, the <a target="_blank" href="http://www.mass.gov/mgis/mandate.htm">legislative mandate</a> includes coordinating GIS activity within the Commonwealth and setting standards for geographic data to ensure universal compatibility.<br/><br/><a target="_blank" href="http://www.seaplan.org">SeaPlan</a> aims to advance science-based and stakeholder informed ocean management by enhancing knowledge, relationships and management tools through effective practice of ecosystem-based coastal and marine spatial planning (CMSP) and the dissemination of its products.  The application is one example of the initiative of SeaPlan to advance an integrated data network to improve the accessibility and interoperability of coastal and marine data for ocean management and other marine related uses.<br/><br/>Please contact <a href="mailto:Paul.Nutting@state.ma.us">Paul.Nutting@state.ma.us</a> with questions or comments.  Last Updated November 30, 2011</p></td></tr><tr><td align=left><a target="_blank" href="http://www.seaplan.org"><img border=none src="img/mop.png" alt="SeaPlan Logo"></a></td><td align=center><a target="_blank" href="http://www.asascience.com" <img border=none src="img/asa.png" alt="ASA Logo"></a></td></tr></table>';
                    
47      var helpUrl1       = 'moris_users_documentation.htm';
                    
67      var defaultBaseOpacity  = 1;
                    
68      var defaultCoordUnit    = 'm';    // can be one of 'dms','dd','m'
                    
69      var defaultMeasureUnit  = 'm';      // can be one of 'm','mi','nm','yd','ft'
                    
118      siteTitle    = 'OLIVER';
                    
119      siteUrl      = 'http://maps.massgis.state.ma.us/map_ol/oliver.php';
                    
120    </script>
                    
122	<!-- include a set of tool configs -->
                    
123	<script type="text/javascript" src="js/toolConfig_oliver.js?<?php echo time(); ?>"></script>	
                    
124	
                    
128    <script src="http://maps.google.com/maps/api/js?sensor=false"></script>       
                    
129	<link rel="stylesheet" type="text/css" href="css/morisoliver.css?<?php echo time(); ?>" />
                    
130    <link rel="stylesheet" type="text/css" href="http://maps.massgis.state.ma.us/ext-3.4.0/resources/css/ext-all.css" />
                    
                
main.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 404 lines
                    
37
                    
38// line 565 in phpfreechat.class.php
                    
39$GLOBALS["i18n"]["Text cannot be empty"] = "Tekstvak kan niet leeg zijn";
                    
40
                    
41// line 392 in phpfreechat.class.php
                    
42$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s verandert de nickname in %s";
                    
76
                    
77// line 451 in phpfreechatconfig.class.php
                    
78$GLOBALS["i18n"]["%s is not writeable"] = "%s kan niet worden beschreven";
                    
89// line 23 in chat.html.tpl.php
                    
90$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]";
                    
91
                    
166
                    
167// line 343 in phpfreechatconfig.class.php
                    
168$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parameter is verplicht bij standaard gebruik '%s' waarde";
                    
                
 

Source

Language