PageRenderTime 479ms queryTime 61ms sortTime 9ms getByIdsTime 69ms findMatchingLines 63ms

100+ results results for 'php ob_start repo:danboy/Croissierd' (479 ms)

Not the results you expected?
options.php https://gitlab.com/alexprowars/bitrix | PHP | 352 lines
                    
7
                    
8	IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
9	IncludeModuleLangFile(__FILE__);
                    
41	{
                    
42		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php");
                    
43
                    
89
                    
90		ob_start();
                    
91		$Update = $Update.$Apply;
                    
91		$Update = $Update.$Apply;
                    
92		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
93		ob_end_clean();
                    
269		$tabControl->BeginNextTab();
                    
270		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
271		$tabControl->Buttons(); ?>
                    
                
moduleinstallstep.php https://gitlab.com/alexprowars/bitrix | PHP | 483 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
91
                    
92		ob_start();
                    
93		?>
                    
152		<script type="text/javascript">
                    
153			BX.message(<?=\CUtil::PhpToJSObject($messages)?>);
                    
154			var ajaxWizardForm = new CAjaxWizardForm("<?=$formName?>", "iframe-post-form", "<?=$nextStepVarName?>");
                    
238			$strError .= "<br /><br />".Loc::getMessage("SALE_CSM_WIZARD_MODULEINSTALLSTEP_ERROR_NOTICE", [
                    
239				"#MODULES_LINK#" => "/bitrix/admin/module_admin.php?lang=".LANGUAGE_ID
                    
240			]);
                    
350	{
                    
351		/** @noinspection PhpVariableNamingConventionInspection */
                    
352		global $DB, $APPLICATION;
                    
409
                    
410			/** @noinspection PhpVoidFunctionResultUsedInspection */
                    
411			if (!$module->InstallFiles())
                    
                
class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
                    
1<?php
                    
2/**
                    
330		if ( $stream = wp_is_stream( $filename ) ) {
                    
331			ob_start();
                    
332		} else {
                    
                
blog-layout.php https://gitlab.com/hop23typhu/list-theme | PHP | 281 lines
                    
1<?php
                    
2/**
                    
100		$post_classes = sprintf( '%s %s %s post fusion-clearfix', $post_class, $alignment_class, $thumb_class );
                    
101		ob_start();
                    
102		post_class( $post_classes );
                    
280
                    
281// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
282
                    
                
theme.php https://gitlab.com/Gashler/dp | PHP | 296 lines
                    
1<?php
                    
2/**
                    
23
                    
24	ob_start();
                    
25	if ( empty( $redirect ) )
                    
25	if ( empty( $redirect ) )
                    
26		$redirect = wp_nonce_url('themes.php?action=delete&stylesheet=' . urlencode( $stylesheet ), 'delete-theme_' . $stylesheet);
                    
27	if ( false === ($credentials = request_filesystem_credentials($redirect)) ) {
                    
30		if ( ! empty($data) ){
                    
31			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
32			echo $data;
                    
32			echo $data;
                    
33			include( ABSPATH . 'wp-admin/admin-footer.php');
                    
34			exit;
                    
43		if ( ! empty($data) ) {
                    
44			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
45			echo $data;
                    
                
View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
                    
1<?php
                    
2namespace Concrete\Core\View;
                    
210        if (!$this->innerContentFile) { // will already be set in a legacy tools file
                    
211            $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle));
                    
212        }
                    
265
                    
266        ob_start();
                    
267        include $this->innerContentFile;
                    
283
                    
284        ob_start();
                    
285
                    
466
                    
467        $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php');
                    
468        $_file = $_record->getFile();
                    
                
Abstract.php https://gitlab.com/blingbang2016/shop | PHP | 385 lines
                    
1<?php
                    
2/**
                    
262        if ($this->_captureLock) {
                    
263            #require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
264            $e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
273        }
                    
274        ob_start();
                    
275    }
                    
336     *
                    
337     * as defined by the PHP manual
                    
338     * @return int
                    
                
5256ddbd4aa1b361656b10a2a59d421438391591fab15dc5973b5627674eab52.php https://bitbucket.org/rubbystar/carimod.git | PHP | 199 lines
                    
1<?php
                    
2
                    
31        // line 7
                    
32        ob_start();
                    
33        // line 8
                    
119                echo "        ";
                    
120                ob_start();
                    
121                // line 27
                    
135            // line 31
                    
136            ob_start();
                    
137            // line 32
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 371 lines
                    
1<?php
                    
2
                    
11{
                    
12	/** @var CPHPCache $obCache */
                    
13	protected $obCache;
                    
81							{
                    
82								ob_start();
                    
83
                    
118					{
                    
119						ob_start();
                    
120
                    
167					{
                    
168						ob_start();
                    
169
                    
227				{
                    
228					ob_start();
                    
229
                    
                
App.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 212 lines
                    
13else{
                    
14	$arrLang=(array)include(dirname(__FILE__).'/App/Zh-cn/App.lang.php');
                    
15}
                    
92	$sAppName='home';
                    
93	$sEnterPath=$sAppPath.'/index.php';
                    
94	$sOutput='';
                    
151			<?php foreach($arrListLang as $sListLang):?>
                    
152			<option value="?lang=<?php echo $sListLang;?>" <?php if(strtolower($sLang)==$sListLang):?>selected<?endif;?>><?php echo $sListLang;?></option>
                    
153			<?endforeach;?>
                    
159</div>
                    
160	 <form id="form1" name="form1" method="post" action="App.php?lang=<?php echo strtolower($sLang);?>">
                    
161		<p>
                    
207
                    
208<?php endif; ?>
                    
209<div class="footer"><?php echo $arrLang[22];?></div>
                    
                
Ajax.php https://gitlab.com/che234/adn | PHP | 183 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version   $Id: Ajax.php 10831 2013-05-29 19:32:17Z btowles $
                    
4 * @author    RocketTheme http://www.rockettheme.com
                    
71		while (@ob_end_clean()) ; // clean any pending output buffers
                    
72		ob_start(); // start a fresh one
                    
73
                    
134				echo "  Fatal error on line $errline in file $errfile";
                    
135				echo ", PHP " . PHP_VERSION . " (" . PHP_OS . ")\n";
                    
136				echo "Aborting...\n";
                    
152
                    
153		/* Don't execute PHP internal error handler */
                    
154		return true;
                    
                
CBaseController.php https://gitlab.com/zenfork/vektor | PHP | 310 lines
                    
1<?php
                    
2/**
                    
107	 * Renders a view file.
                    
108	 * This method includes the view file as a PHP script
                    
109	 * and captures the display result if required.
                    
123		{
                    
124			ob_start();
                    
125			ob_implicit_flush(false);
                    
163		{
                    
164			ob_start();
                    
165			ob_implicit_flush(false);
                    
                
job-template.php https://gitlab.com/hop23typhu/list-theme | PHP | 436 lines
                    
1<?php
                    
2if( !function_exists( 'jm_job_template_loader' ) ) :
                    
8			|| is_tax( 'job_location' ) ) {
                    
9				$template = locate_template( 'archive-noo_job.php' );
                    
10			}
                    
49				?>
                    
50				<meta property="og:image" content="<?php echo $social_share_img; ?>"/>
                    
51	    		<meta property="og:image:secure_url" content="<?php echo $social_share_img; ?>" />
                    
51	    		<meta property="og:image:secure_url" content="<?php echo $social_share_img; ?>" />
                    
52				<?php
                    
53			endif;
                    
107		$item_class[] ='noo_job';
                    
108		ob_start();
                    
109
                    
110		if( $display_style !== 'slider' ) {
                    
111			include(locate_template("layouts/noo_job-loop.php"));
                    
112		} else {
                    
                
analyzer.php git://github.com/mageekguy/atoum.git | PHP | 223 lines
                    
1<?php
                    
2
                    
4
                    
5require_once __DIR__ . '/../../../runner.php';
                    
6
                    
55					$this->function->gettype = 'array',
                    
56					$this->function->sizeof = $size = rand(1, PHP_INT_MAX)
                    
57				)
                    
68			->if(
                    
69				$this->function->ob_start->doesNothing(),
                    
70				$this->function->var_dump->doesNothing(),
                    
70				$this->function->var_dump->doesNothing(),
                    
71				$this->function->ob_get_clean = ('     ' . ($dump = uniqid()) . '        ' . PHP_EOL)
                    
72			)
                    
                
helper-functions.php https://bitbucket.org/Netbog/mormirkam.git | PHP | 406 lines
                    
1<?php
                    
2/**
                    
43
                    
44	include_once( cmb2_dir( "$path/{$class_name}.php" ) );
                    
45}
                    
274
                    
275	ob_start();
                    
276	// Get cmb form
                    
366	/**
                    
367	 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
                    
368	 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
                    
                
base.php https://gitlab.com/alexprowars/bitrix | PHP | 248 lines
                    
1<?php
                    
2
                    
167		global $APPLICATION;
                    
168		ob_start();
                    
169		ShowError($errorText);
                    
210		global $APPLICATION;
                    
211		ob_start();
                    
212		$APPLICATION->IncludeComponent(
                    
                
Template.php git://github.com/jeromeschneider/Baikal.git | PHP | 451 lines
                    
1<?php
                    
2
                    
155    {
                    
156        ob_start();
                    
157        $this->displayParentBlock($name, $context, $blocks);
                    
175    {
                    
176        ob_start();
                    
177        $this->displayBlock($name, $context, $blocks);
                    
247        $level = ob_get_level();
                    
248        ob_start();
                    
249        try {
                    
288     * implementation detail that has been introduced to optimize variable
                    
289     * access for versions of PHP before 5.4. This is not a way to override
                    
290     * the way to get a variable value.
                    
                
response.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 294 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: response.php 77 2010-10-21 06:55:09Z nikosdion $
                    
4 * @package		Joomla.Framework
                    
6 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7 * @license		GNU/GPL, see LICENSE.php
                    
8 * Joomla! is free software. This version may have been modified pursuant
                    
11 * other free or open source software licenses.
                    
12 * See COPYRIGHT.php for copyright notices and details.
                    
13 *
                    
183
                    
184			ob_start();
                    
185			foreach ($GLOBALS['_JRESPONSE']->body as $content) {
                    
                
class-walker-nav-menu-edit.php git://github.com/wordpress/wordpress.git | PHP | 313 lines
                    
120				<div class="menu-item-handle">
                    
121					<span class="item-title"><span class="menu-item-title"><?php echo esc_html( $title ); ?></span> <span class="is-submenu" <?php echo $submenu_text; ?>><?php _e( 'sub item' ); ?></span></span>
                    
122					<span class="item-controls">
                    
187							<?php _e( 'URL' ); ?><br />
                    
188							<input type="text" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" />
                    
189						</label>
                    
194						<?php _e( 'Navigation Label' ); ?><br />
                    
195						<input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" />
                    
196					</label>
                    
200						<?php _e( 'Title Attribute' ); ?><br />
                    
201						<input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" />
                    
202					</label>
                    
224						<?php _e( 'Description' ); ?><br />
                    
225						<textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); // textarea_escaped ?></textarea>
                    
226						<span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>
                    
                
widgets.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 164 lines
                    
88				<li class="widget-entry-title">
                    
89					<a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
                    
90					<span class="comments-link">
                    
90					<span class="comments-link">
                    
91						<?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?>
                    
92					</span>
                    
104					?>
                    
105					<a href="<?php echo esc_url( $link_url ); ?>" title="<?php printf( esc_attr__( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a>
                    
106					<span class="comments-link">
                    
157			<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'twentyeleven' ); ?></label>
                    
158			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
                    
159
                    
160			<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'twentyeleven' ); ?></label>
                    
161			<input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p>
                    
162		<?php
                    
                
ArrBDD.php https://github.com/darkredz/ArrBDD.git | PHP | 267 lines
                    
1<?php
                    
2/**
                    
5 * @author Leng Sheng Hong <darkredz@gmail.com>
                    
6 * @link http://www.doophp.com/arr-bdd
                    
7 * @copyright Copyright &copy; 2011 Leng Sheng Hong
                    
7 * @copyright Copyright &copy; 2011 Leng Sheng Hong
                    
8 * @license http://www.doophp.com/license
                    
9 * @since 0.1
                    
12/**
                    
13 * ArrBDD - a simple BDD library utilizing PHP associative arrays and closures
                    
14 *
                    
92            if( $includeSubject ){
                    
93                ob_start();
                    
94                $this->exportSubject($subject);
                    
127                    if( $includeSubject ){
                    
128                        ob_start();
                    
129                        $this->exportSubject($_subject);
                    
                
inputs.php https://gitlab.com/alexprowars/bitrix | PHP | 508 lines
                    
1<?php
                    
2
                    
4
                    
5require_once __DIR__.'/../internals/input.php';
                    
6
                    
343
                    
344		ob_start();
                    
345
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 134 lines
                    
5
                    
6IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
7IncludeModuleLangFile(__FILE__);
                    
69
                    
70	ob_start();
                    
71	$Update = $Update.$Apply;
                    
71	$Update = $Update.$Apply;
                    
72	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights2.php");
                    
73	ob_end_clean();
                    
121<?$tabControl->BeginNextTab();?>
                    
122<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights2.php");?>
                    
123<?$tabControl->Buttons();?>
                    
                
defaultsitestep.php https://gitlab.com/alexprowars/bitrix | PHP | 160 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
82	{
                    
83		ob_start();
                    
84
                    
97		</div>
                    
98		<?php
                    
99
                    
131	{
                    
132		ob_start();
                    
133		if ($this->GetPrevStepID() !== null)
                    
                
defaultsitestep.php https://gitlab.com/alexprowars/bitrix | PHP | 160 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
82	{
                    
83		ob_start();
                    
84
                    
97		</div>
                    
98		<?php
                    
99
                    
131	{
                    
132		ob_start();
                    
133		if ($this->GetPrevStepID() !== null)
                    
                
header.php https://gitlab.com/giumbai/fluxbb | PHP | 326 lines
                    
1<?php
                    
2
                    
55	
                    
56	if (!in_array($file_info['extension'], array('php', 'php4', 'php5', 'inc', 'html', 'txt'))) // Allow some extensions
                    
57		error(sprintf($lang_common['Pun include extension'], pun_htmlspecialchars($cur_include[0]), basename($tpl_file), pun_htmlspecialchars($file_info['extension'])));
                    
97?>
                    
98<title><?php echo generate_page_title($page_title, $p) ?></title>
                    
99<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" />
                    
169// START SUBST - <pun_page>
                    
170$tpl_main = str_replace('<pun_page>', htmlspecialchars(basename($_SERVER['PHP_SELF'], '.php')), $tpl_main);
                    
171// END SUBST - <pun_page>
                    
196if ($pun_user['g_read_board'] == '1' && $pun_user['g_search'] == '1')
                    
197	$links[] = '<li id="navsearch"'.((PUN_ACTIVE_PAGE == 'search') ? ' class="isactive"' : '').'><a href="search.php">'.$lang_common['Search'].'</a></li>';
                    
198
                    
322// START SUBST - <pun_main>
                    
323ob_start();
                    
324
                    
                
AniMonaco.skin.php https://gitlab.com/GethN7/monaco-port | PHP | 149 lines
                    
63		</div>
                    
64<?php
                    
65	}
                    
76		}
                    
77		ob_start();
                    
78		call_user_func( $egAniMonacoRightSidebarCallback, $this );
                    
100	var reddit_url = "<?php echo Xml::escapeJsString( $url ) ?>";
                    
101	var reddit_title = "<?php echo Xml::escapeJsString( "{$wgTitle->getPrefixedText()} - $wgSitename" ); ?>";
                    
102	</script>
                    
107			<td><fb:like href="<?php echo $eurl ?>" layout="box_count" width="50" font="arial"></fb:like></td>
                    
108			<td><a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php echo $eurl ?>" data-text="<?php echo htmlspecialchars("{$wgTitle->getPrefixedText()} on the $wgSitename"); ?>" data-count="vertical"<?php if ( $egTwitterName ) echo' data-via="'.htmlspecialchars($egTwitterName).'"'; ?>>Tweet</a></script></td>
                    
109			<td></td>
                    
114			<td><a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count" data-url="<?php echo $eurl ?>"></a></td>
                    
115			<td><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&r=<?php htmlspecialchars(urlencode($url)) ?>"></script></td>
                    
116		</tr>
                    
                
View.php https://gitlab.com/albertkeba/service | PHP | 282 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Slim - a micro PHP 5 framework
                    
4 *
                    
276        extract($data);
                    
277        ob_start();
                    
278        require $templatePathname;
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 164 lines
                    
5
                    
6IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
7IncludeModuleLangFile(__FILE__);
                    
77	$Update = $Update.$Apply;
                    
78	ob_start();
                    
79	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
151<?$tabControl->BeginNextTab();?>
                    
152<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");?>
                    
153<?$tabControl->Buttons();?>
                    
                
DataBaseAction.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 417 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------
                    
2// +----------------------------------------------------------------------
                    
3// | ?????????? (Build on ThinkPHP)
                    
4// +----------------------------------------------------------------------
                    
67			$this->display();
                    
68			ob_start();
                    
69			ob_end_flush(); 
                    
85		
                    
86		ob_start();
                    
87		ob_end_flush(); 
                    
93            $table_data = '$table_data = '.var_export($table_data, true).";";
                    
94			$db_table_file = $back_dir."tables.php";
                    
95			@file_put_contents($db_table_file,"<?php\n$table_data\n?>");
                    
200		$this->display();
                    
201		ob_start();
                    
202		ob_end_flush(); 
                    
                
i18n_example_script.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 190 lines
                    
105				<h3>(current time format used: <?php echo $format_date->getTimeFormat(); ?>)</h3>
                    
106					<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>#date" name="select_timeformat" id="select_timeformat">
                    
107						<select name="timeformat" id="timeformat">
                    
146				<p class="sample" id="formatnumber_sample">
                    
147					Formating ť<?php echo $money; ?>Ť <small>(currency small)</small>: <samp><?php echo $format_number->currency($money, 'full', 'gb', FALSE); ?></samp>
                    
148				</p>
                    
149				<p class="sample" id="formatnumber_sample">
                    
150					Formating ť<?php echo $money; ?>Ť <small>(currency symbol left)</small>: <samp><?php echo $format_number->currency($money, 'symbol', 'gb', TRUE, 'before'); ?></samp>
                    
151				</p>
                    
154				<h3>(current measure output format used: <?php echo $measure->getOutput(); ?>)</h3>
                    
155					<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>#measure" name="select_measure" id="select_measure">
                    
156						<select name="measure" id="measure2">
                    
171				<p class="sample" id="formatmeasure_sample">
                    
172					Formating ť<?php echo $number; ?> mmŤ: <samp><?php echo $measure->linear($number, 0, 0) , ' ' ,  $measure->Unit(2); ?></samp>
                    
173				</p>
                    
                
serverside.php https://github.com/Patchworkx/Patchwork.git | PHP | 462 lines
                    
1<?php /*********************************************************************
                    
2 *
                    
42
                    
43		ob_start();
                    
44		try {self::loadAgent(p::resolveAgentClass($agent, $_GET), false, false);}
                    
71			{
                    
72				ob_start(array(__CLASS__, 'ob_htmlspecialchars'), 32768);
                    
73				++p::$ob_level;
                    
212			{
                    
213				ob_start();
                    
214				++p::$ob_level;
                    
246
                    
247		$ctemplate = p::getContextualCachePath('templates/' . $template, (p::$binaryMode ? 'bin' : 'html') . '.php');
                    
248		$ftemplate = 'template' . md5($ctemplate);
                    
259				p::openMeta('agent__template/' . $template, false);
                    
260				$compiler = new ptlCompiler_php($template, p::$binaryMode);
                    
261				$ftemplate = "<?php function {$ftemplate}(&\$v,&\$a,&\$g){global \$a\x9D,\$c\x9D;\$d=\$v;" . $compiler->compile() . "} {$ftemplate}(\$v,\$a,\$g);";
                    
                
InlineFragmentRendererTest.php https://github.com/symfony/symfony.git | PHP | 290 lines
                    
1<?php
                    
2
                    
13
                    
14use PHPUnit\Framework\TestCase;
                    
15use Symfony\Component\EventDispatcher\EventDispatcher;
                    
131            ->willReturn(function () {
                    
132                ob_start();
                    
133                echo 'bar';
                    
148        // simulate a main request with output buffering
                    
149        ob_start();
                    
150        echo 'Foo';
                    
                
phpt_test.php.inc git://pkgs.fedoraproject.org/php-pear-PEAR-Command-Packaging | PHP | 415 lines
                    
1<?php
                    
2@include_once 'Text/Diff.php';
                    
2@include_once 'Text/Diff.php';
                    
3@include_once 'Text/Diff/Renderer.php';
                    
4@include_once 'Text/Diff/Renderer/unified.php';
                    
4@include_once 'Text/Diff/Renderer/unified.php';
                    
5require_once 'PEAR/ErrorStack.php';
                    
6require_once 'PEAR.php';
                    
6require_once 'PEAR.php';
                    
7class PEAR_PHPTest
                    
8{
                    
10    var $_errors;
                    
11    function PEAR_PHPTest($diffonly = false, $noStackCatch = false)
                    
12    {
                    
360    {
                    
361        ob_start();
                    
362        print "dumping registry...\n";
                    
                
Rack.php https://github.com/creationix/rack-php.git | PHP | 141 lines
                    
7  
                    
8  // This converts the native PHP $_SERVER array into a rack hash and then removes the contents of
                    
9  // the $_SERVER variable.  This ensures loose coupling and allows for middleware and mock requests.
                    
49      // There must be a valid input stream in rack.input.
                    
50      'rack.input' => fopen('php://input', 'r'),
                    
51
                    
52      // There must be a valid error stream in rack.errors.
                    
53      'rack.errors' => fopen('php://stderr', 'w'),
                    
54
                    
81    $env =& static::get_env();
                    
82    ob_start();
                    
83    $result = self::runMiddleware($app, $env);
                    
97    fclose($env['rack.errors']);
                    
98    $headers['X-Powered-By'] = "rack-php ".implode('.',$env['rack.version']);
                    
99    $headers['Status'] = $status;
                    
                
class-walker-comment.php https://bitbucket.org/w1nterheart/nmm-nature-is-lit-wp.git | PHP | 400 lines
                    
239?>
                    
240		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
241			<div class="comment-body">
                    
241			<div class="comment-body">
                    
242				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
243			</div>
                    
266?>
                    
267		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
268		<?php if ( 'div' != $args['style'] ) : ?>
                    
294				</a>
                    
295				<?php
                    
296				edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' );
                    
345?>
                    
346		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
347			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
class-wp-customize-section.php https://gitlab.com/hop23typhu/list-theme | PHP | 453 lines
                    
304		?>
                    
305		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
306			<h3 class="accordion-section-title" tabindex="0">
                    
307				<?php echo esc_html( $this->title ); ?>
                    
308				<span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span>
                    
309			</h3>
                    
350		?>
                    
351		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
352			<h3 class="accordion-section-title">
                    
352			<h3 class="accordion-section-title">
                    
353				<?php
                    
354				if ( $this->manager->is_theme_active() ) {
                    
366				<h2>
                    
367					<?php _e( 'Themes' ); ?>
                    
368					<span class="title-count theme-count"><?php echo count( $this->controls ) + 1 /* Active theme */; ?></span>
                    
                
shipwire_functions.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 188 lines
                    
1<?php
                    
2function shipwire_build_xml($log_id) {
                    
148	$OrderList = urlencode($xml);
                    
149	$shipwire_ch = curl_init("https://www.shipwire.com/exec/InventoryServices.php");
                    
150	curl_setopt ($shipwire_ch, CURLOPT_POST, 1);
                    
152	curl_setopt ($shipwire_ch, CURLOPT_POSTFIELDS, "InventoryUpdateXML=".$OrderList);
                    
153	ob_start();
                    
154	curl_exec($shipwire_ch);
                    
162	$OrderList = urlencode($xml);
                    
163	$shipwire_ch = curl_init("https://www.shipwire.com/exec/FulfillmentServices.php");
                    
164	curl_setopt ($shipwire_ch, CURLOPT_POST, 1);
                    
166	curl_setopt ($shipwire_ch, CURLOPT_POSTFIELDS, "InventoryUpdateXML=".$OrderList);
                    
167	ob_start();
                    
168	curl_exec($shipwire_ch);
                    
176	$OrderList = urlencode($xml);
                    
177	$shipwire_ch = curl_init("https://www.shipwire.com/exec/TrackingServices.php");
                    
178	curl_setopt ($shipwire_ch, CURLOPT_POST, 1);
                    
                
updatesystemstep.php https://gitlab.com/alexprowars/bitrix | PHP | 210 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
78
                    
79		ob_start();
                    
80		?>
                    
81		<div class="adm-bsm-site-master-paragraph-wrapper">
                    
82			<?php if ($isMarketPlace && $isUpdateSystem):?>
                    
83				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_ALL_DESCR", [
                    
83				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_ALL_DESCR", [
                    
84						"#MARKET_PLACE_LINK#" => "/bitrix/admin/update_system_market.php?module=bitrix.eshop&lang=".LANGUAGE_ID,
                    
85						"#UPDATE_SYSTEM_LINK#" => "/bitrix/admin/update_system.php?lang=".LANGUAGE_ID,
                    
87				</div>
                    
88			<?php elseif ($isMarketPlace):?>
                    
89				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_MARKET_PLACE_DESCR", [
                    
89				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_MARKET_PLACE_DESCR", [
                    
90						"#MARKET_PLACE_LINK#" => "/bitrix/admin/update_system_market.php?module=bitrix.eshop&lang=".LANGUAGE_ID,
                    
91					])?>
                    
                
live-ajax.php https://gitlab.com/hop23typhu/list-theme | PHP | 198 lines
                    
1<?php
                    
2
                    
26
                    
27	ob_start();
                    
28
                    
28
                    
29	require_once( dirname( __FILE__ ) . '/css-php/layout.php' );
                    
30
                    
56
                    
57	require_once( dirname( __FILE__ ) . '/css-php/design.php' );
                    
58
                    
84
                    
85	require_once( dirname( __FILE__ ) . '/css-php/typography.php' );
                    
86
                    
112
                    
113	require_once( dirname( __FILE__ ) . '/css-php/header.php' );
                    
114
                    
                
connector.php https://xzwebshop.svn.codeplex.com/svn | PHP | 193 lines
                    
70
                    
71if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) ob_start();
                    
72outputHeaders();
                    
129		echo "Invalid resource type.";
                    
130		if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) recordOutput();
                    
131		exit(0);
                    
138	$action->run();
                    
139	if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) recordOutput();
                    
140	
                    
144	echo str_replace("\n","<br />",print_r($_GET,true));
                    
145	if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) recordOutput();
                    
146	exit(0);
                    
152
                    
153	if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) {
                    
154		$contents=ob_get_contents();
                    
                
meagerBase.php https://github.com/mcgrew/meager.git | PHP | 547 lines
                    
1<?php
                    
2
                    
19	$modules = new ModuleHandler( );
                    
20	$modules->register( 'test', 'test.php', array( 'option1' => 'yes' ));
                    
21	$test = $modules->get( 'test' );
                    
64	function to_string( ) {
                    
65		ob_start( );
                    
66		$this->load( );
                    
184	$modules = new ModuleHandler( );
                    
185	$modules->register( 'test', 'test.php', array( 'option1' => 'yes' ));
                    
186	(end)
                    
199			name - A string containing the name for the module.
                    
200			file - A string containing the php filename for the module
                    
201			options (optional) - An associative array containing any options which the 
                    
407	if ( !file_exists( $meager_current_page )) {
                    
408		if ( file_exists( meager_config( 'doc_root' ).$meager_current_page.".php" )) $meager_current_page .= '.php';
                    
409		if ( file_exists( meager_config( 'doc_root' ).$meager_current_page.".html" )) $meager_current_page .= '.html';
                    
                
activationkeystep.php https://gitlab.com/alexprowars/bitrix | PHP | 185 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
93	{
                    
94		ob_start();
                    
95		?>
                    
127				</div>
                    
128				<?php
                    
129				$priceLink = "https://www.bitrix24.ru/prices/self-hosted.php";
                    
131				{
                    
132					$priceLink = "https://www.bitrix24.ua/prices/self-hosted.php";
                    
133				}
                    
139		</div>
                    
140		<?php
                    
141		$content = ob_get_contents();
                    
153	{
                    
154		ob_start();
                    
155		if ($this->GetNextStepID() !== null)
                    
                
Util.php https://gitlab.com/hop23typhu/list-theme | PHP | 476 lines
                    
1<?php
                    
2/**
                    
39
                    
40		ob_start();
                    
41		$wp_styles->do_items( ( array ) $handles );
                    
343	if ( 'dbDelta' == $opts['upgrade_method'] ) {
                    
344		require_once ABSPATH . 'wp-admin/includes/upgrade.php';
                    
345		dbDelta( "CREATE TABLE $full_table_name ( $columns ) $table_options" );
                    
                
adminPage.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 356 lines
                    
1<?php
                    
2
                    
6 * @package
                    
7 * @version $Id: adminPage.php 1903 2008-04-24 07:06:22Z ever $
                    
8 * @copyright 2003-2007 ShopEx
                    
12
                    
13require('pageFactory.php');
                    
14
                    
50                $this->ajaxdata=array();
                    
51                ob_start();
                    
52            }
                    
94            if($type=='noaccount'){
                    
95                echo $url = 'index.php?ctl=passport&act=loginaccount';exit;
                    
96            }else{
                    
96            }else{
                    
97                $url = 'index.php?ctl=passport&act=login';
                    
98            }            
                    
                
Helper.php https://gitlab.com/abdulhamid909/backupbantuapasaja | PHP | 303 lines
                    
1<?php
                    
2
                    
95
                    
96        ob_start() && extract($data, EXTR_SKIP);
                    
97
                    
                
ChangeLogController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 105 lines
                    
15use function ob_get_clean;
                    
16use function ob_start;
                    
17use function preg_replace;
                    
40                $filename,
                    
41                '<a href="https://www.phpmyadmin.net/">phpmyadmin.net</a>'
                    
42            );
                    
48        if (substr($filename, -3) === '.gz') {
                    
49            ob_start();
                    
50            readgzfile($filename);
                    
60
                    
61        $github_url = 'https://github.com/phpmyadmin/phpmyadmin/';
                    
62        $faq_url = 'https://docs.phpmyadmin.net/en/latest/faq.html';
                    
80            // PMASAentries
                    
81            '/(PMASA-[0-9]+-[0-9]+)/' => '<a href="url.php?url=https://www.phpmyadmin.net/security/\\1/">\\1</a>',
                    
82
                    
                
Modules.php https://bitbucket.org/haloweb/halogy-1.0/ | PHP | 205 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
2
                    
3/* PHP5 spl_autoload */
                    
4spl_autoload_register('Modules::autoload');
                    
6/**
                    
7 * Modular Extensions - PHP5
                    
8 *
                    
15 *
                    
16 * Install this file as application/libraries/Modules.php
                    
17 *
                    
61			if (method_exists($class, $method))	{
                    
62				ob_start();
                    
63				$args = func_get_args();
                    
                
service.php https://gitlab.com/alexprowars/bitrix | PHP | 514 lines
                    
1<?php
                    
2
                    
18	array(
                    
19		__NAMESPACE__.'\Reliability' => 'handlers/delivery/additional/ruspost/reliability/reliability.php',
                    
20		__NAMESPACE__.'\ReliabilityCollection' => 'handlers/delivery/additional/ruspost/reliability/reliabilitycollection.php',
                    
20		__NAMESPACE__.'\ReliabilityCollection' => 'handlers/delivery/additional/ruspost/reliability/reliabilitycollection.php',
                    
21		__NAMESPACE__.'\Requester' => 'handlers/delivery/additional/ruspost/reliability/requester.php'
                    
22	)
                    
342
                    
343		ob_start();
                    
344
                    
                
Route.php https://gitlab.com/mmk2410/rangitaki | PHP | 381 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @link      https://github.com/slimphp/Slim
                    
6 * @copyright Copyright (c) 2011-2016 Josh Lockhart
                    
6 * @copyright Copyright (c) 2011-2016 Josh Lockhart
                    
7 * @license   https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
                    
8 */
                    
342            try {
                    
343                ob_start();
                    
344                $newResponse = $handler($this->callable, $request, $response, $this->arguments);
                    
369                // prepend output buffer content
                    
370                $body = new Http\Body(fopen('php://temp', 'r+'));
                    
371                $body->write($output . $response->getBody());
                    
                
woocommerce.php https://gitlab.com/hop23typhu/list-theme | PHP | 403 lines
                    
1<?php
                    
2if ( class_exists( 'woocommerce' ) ) {
                    
44		// widget cart update
                    
45		ob_start();
                    
46		woocommerce_mini_cart();
                    
214	
                    
215	if ( is_admin() && isset( $_GET['activated'] ) && $pagenow == 'themes.php' ) {
                    
216		add_action( 'init', 'noo_woocommerce_update_product_image_size', 1 );
                    
325		
                    
326		ob_start();
                    
327		woocommerce_get_template( 'quickview.php' );
                    
348			
                    
349			return in_array( 'yith-woocommerce-wishlist/init.php', $active_plugins ) ||
                    
350				 array_key_exists( 'yith-woocommerce-wishlist/init.php', $active_plugins );
                    
365			
                    
366			return in_array( 'yith-woocommerce-compare/init.php', $active_plugins ) ||
                    
367				 array_key_exists( 'yith-woocommerce-compare/init.php', $active_plugins );
                    
                
CakeHtmlReporter.php git://github.com/hugodias/cakeStrap.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @since         CakePHP(tm) v 1.2.0.4433
                    
16 * @since         CakePHP(tm) v 1.2.0.4433
                    
17 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
18 */
                    
104		foreach ($testCases as $testCase) {
                    
105			$title = explode(DS, str_replace('.test.php', '', $testCase));
                    
106			$title[count($title) - 1] = Inflector::camelize($title[count($title) - 1]);
                    
134 *
                    
135 * @param PHPUnit_Framework_TestResult $result Result object
                    
136 * @return void
                    
                
manage-job_applied.php https://gitlab.com/hop23typhu/list-theme | PHP | 153 lines
                    
54					<?php if($r->have_posts()):?>
                    
55						<?php 
                    
56						while ($r->have_posts()): $r->the_post();global $post;
                    
89										<div class="loop-item-content">
                    
90											<h3 class="loop-item-title"><a href="<?php echo get_permalink( $job->ID ); ?>"><?php echo esc_html($job->post_title); ?></a></h3>
                    
91										</div>
                    
121									<?php if( $post->post_status == 'pending' ) : ?>
                    
122										<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'withdraw','application_id'=>get_the_ID())), 'job-applied-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Withdraw','noo')?>"><i class="fa fa-history"></i></a>
                    
123									<?php elseif( $post->post_status == 'inactive' ) : ?>
                    
123									<?php elseif( $post->post_status == 'inactive' ) : ?>
                    
124										<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'delete','application_id'=>get_the_ID())), 'job-applied-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Delete Application','noo')?>"><i class="fa fa-trash-o"></i></a>
                    
125									<?php endif;?>
                    
145			<div class="member-manage-page pull-right">
                    
146				<?php noo_pagination(array(),$r)?>
                    
147			</div>
                    
                
comments.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 484 lines
                    
2
                    
3require dirname( __FILE__ ) . '/base.php';
                    
4
                    
217			<div id="cancel-comment-reply-link" style="display:none; float:right;"><a href="#"><?php echo esc_html( __( 'Cancel Reply', 'jetpack' ) ); ?></a></div>
                    
218			<iframe src="<?php echo esc_url( $url ); ?>" allowtransparency="<?php echo $transparent; ?>" style="width:100%; height: <?php echo $height; ?>px;border:0px;" frameBorder="0" scrolling="no" name="jetpack_remote_comment" id="jetpack_remote_comment"></iframe>
                    
219		</div>
                    
220
                    
221		<?php // Below is required for comment reply JS to work ?>
                    
222
                    
299
                    
300	<?php endif; ?>
                    
301
                    
464try {
                    
465	window.parent.location = <?php echo json_encode( $url ); ?>;
                    
466	window.parent.location.reload();
                    
                
crmgroupstep.php https://gitlab.com/alexprowars/bitrix | PHP | 429 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
97	{
                    
98		ob_start();
                    
99		?>
                    
241
                    
242		ob_start();
                    
243		?>
                    
278
                    
279		ob_start();
                    
280		?>
                    
343	{
                    
344		ob_start();
                    
345		if ($this->GetNextStepID() !== null)
                    
400			\CCrmSaleHelper::addUserToShopGroup();
                    
401			$cache = new \CPHPCache;
                    
402			$cache->CleanDir("/crm/list_crm_roles/");
                    
                
cmb-tests-base.php https://gitlab.com/plusplusminus/compassion | PHP | 108 lines
                    
1<?php
                    
2
                    
40	protected function capture_render( $cb ) {
                    
41		ob_start();
                    
42		call_user_func( $cb );
                    
82	/**
                    
83	 * Backport assertNotFalse to PHPUnit 3.6.12 which only runs in PHP 5.2
                    
84	 *
                    
84	 *
                    
85	 * @link   https://github.com/woothemes/woocommerce/blob/f5ff10711dc664f1c5ec5277634a5eea2b828765/tests/framework/class-wc-unit-test-case.php
                    
86	 *
                    
88	public static function assertNotFalse( $condition, $message = '' ) {
                    
89		if ( version_compare( phpversion(), '5.3', '<' ) ) {
                    
90			self::assertThat( $condition, self::logicalNot( self::isFalse() ), $message );
                    
96	/**
                    
97	 * Backport assertContainsOnlyInstancesOf to PHPUnit 3.6.12 which only runs in PHP 5.2
                    
98	 */
                    
                
portfolio.php https://bitbucket.org/iroshbrianskye/genteelfinal.git | PHP | 234 lines
                    
19	), $atts));
                    
20	ob_start();
                    
21	?>
                    
63	                
                    
64	        <?php if ($category == "") : ?>
                    
65	        <?php if ($show_filters == "yes") : ?>
                    
80	        <?php endif; ?>
                    
81	        <?php endif; ?>
                    
82	        
                    
197
                    
198	                    <div class="portfolio-box hidden <?php echo esc_html($portfolio_item_width); ?> <?php echo esc_html($portfolio_item_height); ?> <?php echo esc_html($term_slug_class); ?>">
                    
199	                        
                    
199	                        
                    
200	                        <a href="<?php echo get_permalink(get_the_ID()); ?>" class="portfolio-box-inner hover-effect-link" style="background-color:<?php echo esc_html($portfolio_color_option); ?>">
                    
201	                            
                    
                
css-js-in.inc.php https://gitlab.com/Gashler/dp | PHP | 201 lines
                    
1<?php
                    
2/**
                    
58
                    
59								ob_start("c_ws_plugin__s2member_utils_css::compress_css");
                    
60
                    
                
mdl.trigger.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 330 lines
                    
1<?php
                    
2require_once('shopObject.php');
                    
79    function object_fire_event($action , &$object, $member_id,&$target){
                    
80        //ob_start();'system.event_listener'
                    
81        if(false===strpos($action,':')){
                    
233            if(!function_exists('shop_match_network')){
                    
234                require(CORE_INCLUDE_DIR.'/shop/core.match_network.php');
                    
235            }
                    
                
PhutilDaemonOverseer.php git://github.com/facebook/phabricator.git | PHP | 410 lines
                    
1<?php
                    
2
                    
42    $args->setSynopsis(<<<EOHELP
                    
43**launch_daemon.php** [__options__] __daemon__
                    
44    Launch and oversee an instance of __daemon__.
                    
95    }
                    
96    $config = @file_get_contents('php://stdin');
                    
97    $config = id(new PhutilJSONParser())->parse($config);
                    
130      fclose(STDERR);
                    
131      ob_start();
                    
132
                    
                
spView.php http://student-test.googlecode.com/svn/trunk/ | PHP | 297 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
2/////////////////////////////////////////////////////////////////
                    
3// SpeedPHP??PHP??, Copyright (C) 2008 - 2010 SpeedPHP.com //
                    
4/////////////////////////////////////////////////////////////////
                    
24		if(FALSE == $GLOBALS['G_SP']['view']['enabled'])return FALSE;
                    
25		if(FALSE != $GLOBALS['G_SP']['view']['auto_ob_start'])ob_start();
                    
26		$this->engine = spClass($GLOBALS['G_SP']['view']['engine_name'],null,$GLOBALS['G_SP']['view']['engine_path']);
                    
149				$cachedata = $this->curl_get_file_contents($remoteurl);
                    
150				if( FALSE === $cachedata )spError("????????????????<br />1. spUrl?????????<a href='{$remoteurl}' target='_blank'>??????</a>?<br />2. ??php.ini?allow_url_fopen?On?<br />3. ??????????APACHE/PHP?????<br />4. ????CURL????");
                    
151			}
                    
                
ManagerCest.php git://github.com/phalcon/cphalcon.git | PHP | 361 lines
                    
1<?php
                    
2
                    
345
                    
346        ob_start();
                    
347        $manager->fire($eventType, $this);
                    
                
renderer.php https://gitlab.com/JrLucena/moodle | PHP | 194 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
27global $CFG;
                    
28require_once($CFG->libdir . '/behat/classes/behat_selectors.php');
                    
29
                    
50        // Form.
                    
51        ob_start();
                    
52        $form->display();
                    
92                    $url = new moodle_url(
                    
93                        '/help.php',
                    
94                        array(
                    
136        $a->behatcommand = behat_command::get_behat_command();
                    
137        $a->behatinit = 'php admin' . DIRECTORY_SEPARATOR . 'tool' . DIRECTORY_SEPARATOR .
                    
138            'behat' . DIRECTORY_SEPARATOR . 'cli' . DIRECTORY_SEPARATOR . 'init.php';
                    
                
Gateway.php https://gitlab.com/endomorphosis/suschu | PHP | 410 lines
                    
33{
                    
34	require_once(AMFPHP_BASE . "shared/util/CompatPhp5.php");
                    
35}
                    
37{
                    
38	require_once(AMFPHP_BASE . "shared/util/CompatPhp4.php");
                    
39}
                    
42require_once(AMFPHP_BASE . "shared/util/NetDebug.php");
                    
43require_once(AMFPHP_BASE . "shared/util/Headers.php");
                    
44require_once(AMFPHP_BASE . "shared/exception/MessageException.php");
                    
77			include_once(AMFPHP_BASE . "shared/app/php5Executive.php");
                    
78			include_once(AMFPHP_BASE . "shared/exception/php5Exception.php");
                    
79		}
                    
83			include_once(AMFPHP_BASE . "shared/app/php4Executive.php");
                    
84			include_once(AMFPHP_BASE . "shared/exception/php4Exception.php");
                    
85		}
                    
                
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>
                    
288        if (is_resource($this->_im)) {
                    
289            ob_start();
                    
290            imagepng($this->_im);
                    
315        if (is_resource($this->_im)) {
                    
316            ob_start();
                    
317            imagejpeg($this->_im);
                    
342        if (is_resource($this->_im)) {
                    
343            ob_start();
                    
344            imagegif($this->_im);
                    
                
css.php https://gitlab.com/hop23typhu/list-theme | PHP | 245 lines
                    
1<?php
                    
2
                    
9  * @copyright 2010 KCFinder Project
                    
10  *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
                    
11  *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
                    
14
                    
15require "core/autoload.php";
                    
16$mtime = @filemtime(__FILE__);
                    
19$config = $browser->config;
                    
20ob_start();
                    
21
                    
106    overflow-x: hidden;
                    
107    width: <?php echo $config['thumbWidth'] ?>px;
                    
108    float: left;
                    
114div.file .thumb {
                    
115    width: <?php echo $config['thumbWidth'] ?>px;
                    
116    height: <?php echo $config['thumbHeight'] ?>px;
                    
                
comments.php https://gitlab.com/hop23typhu/list-theme | PHP | 74 lines
                    
1<?php
                    
2/*
                    
13	<div id="comments" class="comments-container">
                    
14		<?php
                    
15		ob_start();
                    
24		<ol class="comment-list commentlist">
                    
25			<?php wp_list_comments( 'callback=avada_comment' ); ?>
                    
26		</ol><!-- .comment-list -->
                    
27
                    
28		<?php
                    
29		if( function_exists( 'the_comments_navigation' ) ) {
                    
34
                    
35<?php endif;
                    
36
                    
38
                    
39	<p class="no-comments"><?php echo __( 'Comments are closed.', 'Avada' ); ?></p>
                    
40
                    
                
wp-cache-phase2.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 328 lines
                    
1<?php
                    
2
                    
2
                    
3/** Diable here because PHP4.3 does not make the global
                    
4 Serious bug?
                    
33		return;
                    
34	$script = basename($_SERVER['PHP_SELF']);
                    
35	if (!in_array($script, $cache_acceptable_files) && 
                    
39	$wp_cache_meta_object = new CacheMeta;
                    
40	ob_start('wp_cache_ob_callback'); 
                    
41	register_shutdown_function('wp_cache_shutdown_callback');
                    
148			$store = preg_replace('|<!--mclude (.*?)-->(.*?)<!--/mclude-->|is', 
                    
149					"<!--mclude-->\n<?php include_once('" . ABSPATH . "$1'); ?>\n<!--/mclude-->", $buffer);
                    
150			$store = preg_replace('|<!--mfunc (.*?)-->(.*?)<!--/mfunc-->|is', 
                    
150			$store = preg_replace('|<!--mfunc (.*?)-->(.*?)<!--/mfunc-->|is', 
                    
151					"<!--mfunc-->\n<?php $1 ;?>\n<!--/mfunc-->", $store);
                    
152			$wp_cache_meta_object->dynamic = true;
                    
                
HtmlDumperTest.php https://bitbucket.org/laravelhemraj/vamaaddress.git | PHP | 146 lines
                    
1<?php
                    
2
                    
19 */
                    
20class HtmlDumperTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
23    {
                    
24        require __DIR__.'/Fixtures/dumb-var.php';
                    
25
                    
25
                    
26        $dumper = new HtmlDumper('php://output');
                    
27        $dumper->setDumpHeader('<foo></foo>');
                    
38
                    
39        ob_start();
                    
40        $dumper->dump($data);
                    
41        $out = ob_get_clean();
                    
42        $closureLabel = PHP_VERSION_ID >= 50400 ? 'public method' : 'function';
                    
43        $out = preg_replace('/[ \t]+$/m', '', $out);
                    
                
Reporting.php https://gitlab.com/daigiangaitu91/magento | PHP | 318 lines
                    
19} else {
                    
20    include_once 'PHP/CodeSniffer.php';
                    
21}
                    
109     * 
                    
110     * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed.
                    
111     * @param array                $cliValues An array of command line arguments.
                    
114     */
                    
115    public function cacheFileReport(PHP_CodeSniffer_File $phpcsFile, array $cliValues)
                    
116    {
                    
232     *
                    
233     * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed.
                    
234     *
                    
236     */
                    
237    public function prepareFileReport(PHP_CodeSniffer_File $phpcsFile)
                    
238    {
                    
                
index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
1<?php
                    
2/*
                    
10// application initialization
                    
11ob_start();
                    
12session_start();
                    
12session_start();
                    
13require_once "includes/config.php";
                    
14$strSetupDir = (empty($ThUserData['domain'])) ? "" : $ThUserData['domain'];
                    
16$strSetupDir = (is_dir("setup/{$strSetupDir}")) ? $strSetupDir . '/' : "";
                    
17$strSettingScript = "setup" . $strSetupDir . "setting.php";
                    
18include_once $strSettingScript;
                    
18include_once $strSettingScript;
                    
19//include_once 'ebpls5501.php';
                    
20require_once "lib/ebpls.lib.php";
                    
52
                    
53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:'';  //2008.05.06
                    
54
                    
                
modulestep.php https://gitlab.com/alexprowars/bitrix | PHP | 342 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
108			$this->SetNextCaption(Loc::getMessage("SALE_BSM_WIZARD_MODULESTEP_NEXT_BUTTON"));
                    
109			ob_start();
                    
110			?>
                    
135
                    
136		ob_start();
                    
137		if ($this->GetPrevStepID() !== null)
                    
271
                    
272		ob_start();
                    
273		?>
                    
274		<div class="adm-bsm-site-master-paragraph-wrapper">
                    
275			<?php if ($isMarketPlace && $isUpdateSystem):?>
                    
276				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_MODULESTEP_ALL_DESCR", [
                    
276				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_MODULESTEP_ALL_DESCR", [
                    
277						"#MARKET_PLACE_LINK#" => "/bitrix/admin/update_system_market.php?module=bitrix.eshop&lang=".LANGUAGE_ID,
                    
278						"#UPDATE_SYSTEM_LINK#" => "/bitrix/admin/update_system.php?lang=".LANGUAGE_ID,
                    
                
FlashBase.php git://github.com/phalcon/cphalcon.git | PHP | 276 lines
                    
1<?php
                    
2
                    
87            $expected = sprintf(
                    
88                '<div%s>%s</div>' . PHP_EOL,
                    
89                $this->getClass($function),
                    
144    {
                    
145        ob_start();
                    
146        $flash->$function($message);
                    
                
%%A1^A1B^A1B35AFB%%SN1_Serial_NumberEditViewfault_description.tpl.php https://bitbucket.org/allexblacker/suitecrm.git | PHP | 401 lines
                    
1<?php /* Smarty version 2.6.29, created on 2018-03-15 01:35:35
                    
2         compiled from cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl */ ?>
                    
2         compiled from cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 10, false),array('function', 'sugar_getimagepath', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 43, false),array('modifier', 'lookup', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 38, false),array('modifier', 'count', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 143, false),)), $this); ?>
                    
6
                    
7<?php if (! isset ( $this->_tpl_vars['config']['enable_autocomplete'] ) || $this->_tpl_vars['config']['enable_autocomplete'] == false): ?>
                    
8	<select name="<?php echo $this->_tpl_vars['fields']['fault_description']['name']; ?>
                    
9" 
                    
10	id="<?php echo $this->_tpl_vars['fields']['fault_description']['name']; ?>
                    
11" 
                    
24	<?php $this->assign('field_options', $this->_tpl_vars['fields']['fault_description']['options']); ?>
                    
25	<?php ob_start(); ?><?php echo $this->_tpl_vars['fields']['fault_description']['value']; ?>
                    
26<?php $this->_smarty_vars['capture']['field_val'] = ob_get_contents(); ob_end_clean(); ?>
                    
27	<?php $this->assign('field_val', $this->_smarty_vars['capture']['field_val']); ?>
                    
28	<?php ob_start(); ?><?php echo $this->_tpl_vars['fields']['fault_description']['name']; ?>
                    
29<?php $this->_smarty_vars['capture']['ac_key'] = ob_get_contents(); ob_end_clean(); ?>
                    
                
ListTest.php git://github.com/tanakahisateru/pinoco.git | PHP | 273 lines
                    
1<?php
                    
2require_once dirname(__FILE__) . '/../../src/Pinoco/_bootstrap.php';
                    
3
                    
4class ListTest extends PHPUnit_Framework_TestCase
                    
5{
                    
220    {
                    
221        ob_start();
                    
222        $l = Pinoco_List::fromArray(array(1, 2, 3));
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 173 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/workflow/include.php");
                    
3$module_id = "workflow";
                    
111		$Update = $Update.$Apply;
                    
112		ob_start();
                    
113		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
161	$tabControl->BeginNextTab();
                    
162	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
163	$tabControl->Buttons();
                    
                
Image.php https://bitbucket.org/krsaulitis/famodesign.git | PHP | 329 lines
                    
1<?php
                    
2
                    
221		ob_start(); ?>
                    
222		<span class="ac-image cpac-cover" data-media-id="<?php echo esc_attr( $media_id ); ?>" style="width:<?php echo esc_attr( $width ); ?>px;height:<?php echo esc_attr( $height ); ?>px;background-size:cover;background-image:url(<?php echo esc_attr( $src ); ?>);background-position:center;"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>></span>
                    
223
                    
223
                    
224		<?php
                    
225		return ob_get_clean();
                    
235		ob_start(); ?>
                    
236		<span class="ac-image<?php echo $class; ?>" data-media-id="<?php echo esc_attr( $media_id ); ?>"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>>
                    
237			<img style="max-width:<?php echo esc_attr( $width ); ?>px;max-height:<?php echo esc_attr( $height ); ?>px;" src="<?php echo esc_attr( $src ); ?>">
                    
238
                    
239			<?php if ( $add_extension ) : ?>
                    
240				<span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>
                    
240				<span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>
                    
241			<?php endif; ?>
                    
242
                    
                
shell.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2005-2011, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
funnel.html https://github.com/hank/life.git | HTML | 224 lines
                    
1<?php ob_start('ob_gzhandler') ?>
                    
2<!DOCTYPE html>
                    
158    
                    
159                <a title="Share RGraph on Facebook" href="" onclick="window.open('http://www.facebook.com/sharer.php?u=http://www.rgraph.net&t=RGraph:%20HTML5%20canvas%20graph%20library', 'facebook_window', 'width=500,height=300,top=100,left=100'); return false">
                    
160                    <img src="../images/facebook.png" width="22" height="22" alt="Post to Facebook" align="absmiddle" style="position: relative; top: -2px; border: 0" border="0"/>
                    
                
LogPluginTest.php https://gitlab.com/cuitianze/eduwind | PHP | 95 lines
                    
1<?php
                    
2
                    
69
                    
70        ob_start();
                    
71        $request->send();
                    
80    {
                    
81        $s = fopen('php://temp', 'r+');
                    
82        $client = new Client();
                    
                
Debug.php https://gitlab.com/blingbang2016/shop | PHP | 113 lines
                    
1<?php
                    
2/**
                    
40     * Get the current value of the debug output environment.
                    
41     * This defaults to the value of PHP_SAPI.
                    
42     *
                    
47        if (self::$_sapi === null) {
                    
48            self::$_sapi = PHP_SAPI;
                    
49        }
                    
54     * Set the debug ouput environment.
                    
55     * Setting a value of null causes Zend_Debug to use PHP_SAPI.
                    
56     *
                    
80        // var_dump the variable into a buffer and keep the output
                    
81        ob_start();
                    
82        var_dump($var);
                    
87        if (self::getSapi() == 'cli') {
                    
88            $output = PHP_EOL . $label
                    
89                    . PHP_EOL . $output
                    
                
customize.php git://github.com/wordpress/wordpress.git | PHP | 270 lines
                    
47		 *
                    
48		 * Because WP_Customize_Manager is not instantiated for customize.php with the `settings_previewed=false`
                    
49		 * argument, settings cannot be reliably saved. Some logic short-circuits if the current value is the
                    
62		?>
                    
63		<?php wp_print_scripts( array( 'wp-util' ) ); ?>
                    
64		<script>
                    
155<script type="text/javascript">
                    
156var ajaxurl = <?php echo wp_json_encode( admin_url( 'admin-ajax.php', 'relative' ) ); ?>,
                    
157	pagenow = 'customize';
                    
187				<span class="controls"><?php _e( 'Customize' ); ?></span>
                    
188				<span class="preview"><?php _e( 'Preview' ); ?></span>
                    
189			</button>
                    
248						?>
                    
249						<button type="button" class="<?php echo esc_attr( $class ); ?>" aria-pressed="<?php echo esc_attr( $active ); ?>" data-device="<?php echo esc_attr( $device ); ?>">
                    
250							<span class="screen-reader-text"><?php echo esc_html( $settings['label'] ); ?></span>
                    
                
radar.html https://github.com/makoto/node-websocket-activity-monitor.git | HTML | 219 lines
                    
1<?php ob_start('ob_gzhandler') ?>
                    
2<!DOCTYPE html>
                    
                
renderer.php https://gitlab.com/JrLucena/moodle | PHP | 175 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
52        // Form.
                    
53        ob_start();
                    
54        $form->display();
                    
117        if (isset($eventinformation['parentclass'])) {
                    
118            $url = new moodle_url('eventdetail.php', array('eventname' => $eventinformation['parentclass']));
                    
119            $html .= html_writer::tag('dt', get_string('parentevent', 'report_eventlist'));
                    
                
txp_auth.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 277 lines
                    
1<?php
                    
2
                    
56
                    
57    ob_start();
                    
58}
                    
72
                    
73    include txpath.'/lib/txplib_head.php';
                    
74    $event = 'login';
                    
102            graf(
                    
103                href(gTxt('back_to_login'), 'index.php')
                    
104            , array('class' => 'login-return')).
                    
253
                    
254        include_once txpath.'/lib/txplib_admin.php';
                    
255
                    
266        if ($nonce and $confirm === pack('H*', substr(md5($nonce), 0, 10)).$name) {
                    
267            include_once txpath.'/lib/txplib_admin.php';
                    
268
                    
                
class-wc-email-customer-invoice.php https://gitlab.com/hop23typhu/list-theme | PHP | 185 lines
                    
1<?php
                    
2
                    
29
                    
30		$this->template_html 	= 'emails/customer-invoice.php';
                    
31		$this->template_plain 	= 'emails/plain/customer-invoice.php';
                    
105	function get_content_html() {
                    
106		ob_start();
                    
107		woocommerce_get_template( $this->template_html, array(
                    
120	function get_content_plain() {
                    
121		ob_start();
                    
122		woocommerce_get_template( $this->template_plain, array(
                    
                
functions.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 459 lines
                    
1<?php
                    
2//* Start the engine
                    
2//* Start the engine
                    
3include_once( get_template_directory() . '/lib/init.php' );
                    
4
                    
25//* Add Accent color to customizer
                    
26require_once( get_stylesheet_directory() . '/lib/customize.php' );
                    
27
                    
105	if ( is_active_sidebar( 'author-box-custom' ) ) {
                    
106		ob_start();
                    
107		genesis_widget_area( 'author-box-custom', array( 'before' => '<div class="author-box-custom">', 'after' => '</div>', ) );
                    
253		return $menu;
                    
254	ob_start();
                    
255	genesis_widget_area('nav-widget-area');
                    
386	 <style type="text/css">
                    
387		<?php if ( 0 < count( strlen( ( $home_top_background_image_url = get_theme_mod( 'pc_home_top_background_image' ) ) ) ) ) { ?>
                    
388			.home-top {
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 228 lines
                    
1<?php
                    
2
                    
199		}
                    
200		ob_start();
                    
201		$APPLICATION->IncludeComponent($playerComponent, '', $params);
                    
                
Local.php https://gitlab.com/blingbang2016/shop | PHP | 99 lines
                    
1<?php
                    
2/**
                    
23/** Zend_Soap_Server */
                    
24#require_once 'Zend/Soap/Server.php';
                    
25
                    
26/** Zend_Soap_Client */
                    
27#require_once 'Zend/Soap/Client.php';
                    
28
                    
83        // Perform request as is
                    
84        ob_start();
                    
85        $this->_server->handle($request);
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 179 lines
                    
150	$this->setSiteTemplateId('mobile_app');
                    
151	$arParams['ACTION_URL'] = SITE_DIR.'mobile/index.php?mobile_action=calendar_livefeed';
                    
152}
                    
154{
                    
155	$arParams['ACTION_URL'] = $this->getPath().'/action.php';
                    
156}
                    
157
                    
158ob_start();
                    
159$this->IncludeComponentTemplate();
                    
                
omnisearch-posts.php https://gitlab.com/GeneralistDev/danielparker.com.au-wordpress | PHP | 136 lines
                    
1<?php
                    
2
                    
3if( ! class_exists( 'WP_List_Table' ) )
                    
4	require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
                    
5
                    
28
                    
29		$search_url = esc_url( admin_url( sprintf( 'edit.php?post_type=%s&s=%s', urlencode( $this->post_type_obj->name ), urlencode( $search_term ) ) ) );
                    
30		$search_link = sprintf( ' <a href="%s" class="add-new-h2">%s</a>', $search_url, esc_html( $this->post_type_obj->labels->search_items ) );
                    
44
                    
45		ob_start();
                    
46		$this->display();
                    
                
smarty_internal_compile_block.php https://gitlab.com/dleonov/my-framework-two | PHP | 249 lines
                    
1<?php
                    
2/*
                    
123        $compiler->_cache[ 'blockParams' ][ $compiler->_cache[ 'blockNesting' ] ][ 'callsChild' ] = 'true';
                    
124        $output = "<?php \n\$this->callChild(\$_smarty_tpl);\n?>\n";
                    
125        return $output;
                    
143        $compiler->has_code = true;
                    
144        $output = "<?php \n\$this->callParent(\$_smarty_tpl);\n?>\n";
                    
145        return $output;
                    
184
                    
185        $output = "<?php\n";
                    
186        $output .= "/* {block '{$_name}'} {$compiler->template->source->type}:{$compiler->template->source->name} */\n";
                    
197        if (isset($_assign)) {
                    
198            $output .= "ob_start();\n";
                    
199        }
                    
204        $compiler->parser->current_buffer->append_subtree($compiler->parser, $_functionCode);
                    
205        $output = "<?php\n";
                    
206        if (isset($_assign)) {
                    
                
timber-twig.php https://gitlab.com/esiao/wp-timber-startertheme | PHP | 318 lines
                    
1<?php
                    
2
                    
244	function body_class( $body_classes ) {
                    
245		ob_start();
                    
246		if ( is_array( $body_classes ) ) {
                    
                
debugger.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 372 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.libs
                    
17 * @since         CakePHP(tm) v 1.2.0.5432
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
97
                    
98		$expected = '<code><span style="color: #000000">&lt;?php';
                    
99		$expected .= '</span></code>';
                    
123
                    
124		ob_start();
                    
125		Debugger::output('txt');
                    
                
functions.php http://j-ecard-28022011.googlecode.com/svn/trunk/ | PHP | 459 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access'); // no direct access
                    
32
                    
33		ob_start();
                    
34?>
                    
47		
                    
48		<?php if ($hasCaption): ?>
                    
49<h2 class="art-postheader"> 
                    
49<h2 class="art-postheader"> 
                    
50		<?php echo $caption; ?>
                    
51
                    
53		
                    
54		<?php endif; ?>
                    
55		<?php if ($hasContent): ?>
                    
58		
                    
59		<?php echo artxReplaceButtons($content); ?>
                    
60
                    
                
functions.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 339 lines
                    
1<?php
                    
2/**
                    
12//* Start the engine
                    
13require_once( get_template_directory() . '/lib/init.php' );
                    
14
                    
26//* Add Color Selection to WordPress Theme Customizer
                    
27require_once( get_stylesheet_directory() . '/lib/customize.php' );
                    
28
                    
29//* Setup Theme
                    
30include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );
                    
31
                    
32//* Add Widget Spaces
                    
33require_once( get_stylesheet_directory() . '/lib/widgets.php' );
                    
34
                    
35//* Install Plugins
                    
36require_once( get_stylesheet_directory() . '/lib/plugins/tgm-plugin-activation/register-plugins.php' );
                    
37
                    
                
comment.php git://github.com/s9y/Serendipity.git | PHP | 237 lines
                    
1<?php
                    
2# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
                    
6
                    
7include('serendipity_config.inc.php');
                    
8include S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
                    
10header('Content-Type: text/html; charset=' . LANG_CHARSET);
                    
11$raw_post_data = file_get_contents("php://input");
                    
12
                    
34    );
                    
35    include S9Y_INCLUDE_PATH . 'include/genpage.inc.php';
                    
36    $serendipity['smarty']->display(serendipity_getTemplateFile('index.tpl', 'serendipityPath'));
                    
48    );
                    
49    include S9Y_INCLUDE_PATH . 'include/genpage.inc.php';
                    
50    $serendipity['smarty']->display(serendipity_getTemplateFile('index.tpl', 'serendipityPath'));
                    
67    if ($pb_logging) {
                    
68        ob_start();
                    
69        print_r($raw_post_data);
                    
                
Local.php https://gitlab.com/daigiangaitu91/magento | PHP | 73 lines
                    
1<?php
                    
2/**
                    
59        // Perform request as is
                    
60        ob_start();
                    
61        $this->server->handle($request);
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 134 lines
                    
28
                    
29$obCache = new CPHPCache;
                    
30$cache_path = str_replace(array(":", "//"), "/", "/".SITE_ID."/".$componentName."/".$arParams["CHANNEL_SID"]."/");
                    
127$componentPage = ($bShowResult ? "result" : "form");
                    
128ob_start();
                    
129$this->IncludeComponentTemplate($componentPage);
                    
                
helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 301 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: helper.php 10034 2008-02-13 21:06:54Z ian $
                    
4* @package		Joomla.Framework
                    
6* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7* @license		GNU/GPL, see LICENSE.php
                    
8* Joomla! is free software. This version may have been modified pursuant
                    
11* other free or open source software licenses.
                    
12* See COPYRIGHT.php for copyright notices and details.
                    
13*/
                    
156		$module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module);
                    
157		$path = JPATH_BASE.DS.'modules'.DS.$module->module.DS.$module->module.'.php';
                    
158
                    
165			$content = '';
                    
166			ob_start();
                    
167			require $path;
                    
                
Badge.php https://github.com/radicalsuz/amp.git | PHP | 170 lines
                    
1<?php
                    
2
                    
2
                    
3require_once( 'AMP/System/Data/Item.inc.php');
                    
4
                    
57    function getDefaultArguments( ) {
                    
58        require_once( 'AMP/Content/Page.inc.php');
                    
59        $page = AMPContent_Page::instance( );
                    
86		$output = false;
                    
87		if ($output = $this->render_php_include()) return $output;
                    
88		if ($output = $this->render_html()) return $output;
                    
96
                    
97	function render_php_include() {
                    
98		if (!($include_filename = $this->getInclude() )) return false;
                    
116		//default, just include the file
                    
117		ob_start();
                    
118		include( $include_filename );
                    
                
tasksTest.php https://github.com/openpne/OpenPNE3.git | PHP | 132 lines
                    
1<?php
                    
2
                    
3$_test_dir = realpath(__DIR__.'/..');
                    
4require_once($_test_dir.'/../lib/vendor/lime/lime.php');
                    
5require_once($_test_dir.'/../lib/util/sfToolkit.class.php');
                    
10{
                    
11  public $php_cli = null;
                    
12  public $tmp_dir = null;
                    
32
                    
33    $this->php_cli = sfToolkit::getPhpCli();
                    
34  }
                    
102// test:*
                    
103copy(__DIR__.'/fixtures/test/unit/testTest.php', $c->tmp_dir.DS.'test'.DS.'unit'.DS.'testTest.php');
                    
104
                    
119mkdir($pluginDir = $c->tmp_dir.DS.'plugins'.DS.'myFooPlugin'.DS.'lib'.DS.'task', 0777, true);
                    
120copy(__DIR__.'/fixtures/task/myPluginTask.class.php', $pluginDir.DS.'myPluginTask.class.php');
                    
121file_put_contents(
                    
                
modmanagerresponse.class.php https://github.com/pixelchutes/revolution.git | PHP | 311 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7require_once MODX_CORE_PATH . 'model/modx/modresponse.class.php';
                    
8/**
                    
146        if (!class_exists($className)) {
                    
147            $classFile = strtolower($f).'.class.php';
                    
148            $classPath = null;
                    
151                if (!file_exists($controllersPath.$classFile)) {
                    
152                    if (file_exists($controllersPath.strtolower($f).'/index.class.php')) {
                    
153                        $classPath = $controllersPath.strtolower($f).'/index.class.php';
                    
163                $className = 'modManagerControllerDeprecated';
                    
164                $classPath = MODX_CORE_PATH.'model/modx/modmanagercontrollerdeprecated.class.php';
                    
165            }
                    
167            if (!file_exists($classPath)) {
                    
168                if (file_exists(strtolower($f).'/index.class.php')) {
                    
169                    $classPath = strtolower($f).'/index.class.php';
                    
                
class-ms-view-settings-import-settings.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 465 lines
                    
1<?php
                    
2/**
                    
68
                    
69		ob_start();
                    
70		MS_Helper_Html::settings_box(
                    
376			'title' 		=> __( 'Batch size for import', 'membership2' ),
                    
377			'desc' 			=> __( 'Big batches will be processed faster but may result in PHP Memory errors.', 'membership2' ),
                    
378			'value' 		=> 10,
                    
                
manage-resume.php https://gitlab.com/hop23typhu/list-theme | PHP | 142 lines
                    
39		?>
                    
40			<em><strong><?php _e('Note:','noo')?></strong> <?php echo esc_html( $note_text ); ?></em>
                    
41		<?php endif; ?>
                    
74									<?php if( $status == 'publish' ) : ?>
                    
75										<a href="<?php the_permalink()?>"><strong><?php the_title()?></strong></a>
                    
76									<?php else : ?>
                    
116									<a href="<?php echo Noo_Member::get_edit_resume_url($post->ID)?>" class="member-manage-action" data-toggle="tooltip" title="<?php esc_attr_e('Edit Resume','noo')?>"><i class="fa fa-pencil"></i></a>
                    
117									<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'delete','resume_id'=>$post->ID)), 'resume-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Delete Resume','noo')?>"><i class="fa fa-trash-o"></i></a>
                    
118								</td>
                    
125				<div class="member-manage-page pull-left">
                    
126					<a href="<?php echo Noo_Member::get_post_resume_url(); ?>" class="btn btn-primary"><?php _e('Create New Resume', 'noo'); ?></a>
                    
127				</div>
                    
135		<p>
                    
136			<a href="<?php echo Noo_Member::get_post_resume_url(); ?>" class="btn btn-primary"><?php _e('Post Resume', 'noo')?></a>
                    
137		</p>
                    
                
ControlTest.php git://github.com/nella/framework.git | PHP | 137 lines
                    
1<?php
                    
2/**
                    
108
                    
109		ob_start();
                    
110		$this->control->render();
                    
                
category_items.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 338 lines
                    
135
                    
136			<?php if ($catid!=$currcatid) { ?> <a class='fc_cat_title' href="<?php echo JRoute::_( FlexicontentHelperRoute::getCategoryRoute($sub->slug) ); ?>"> <?php } else { echo "<span class='fc_cat_title'>"; } ?>
                    
137				<!-- BOF subcategory title -->
                    
185					?>
                    
186					<li id="faqlist_cat_<?php echo $catid; ?>item_<?php echo $i; ?>" class="<?php echo $fc_item_classes; ?>">
                    
187						
                    
205									<?php if ( isset($this->comments[ $item->id ]->total) ) : ?>
                    
206									<div class="fc_comments_count_nopad hasTip" alt="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>" title="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>::<?php echo JText::_('FLEXI_NUM_OF_COMMENTS_TIP');?>">
                    
207										<?php echo $this->comments[ $item->id ]->total; ?>
                    
266									<?php if ($field->label) : ?>
                    
267									<span class="flexi label field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span>
                    
268									<?php endif; ?>
                    
279								<li class="flexi-field">
                    
280									<div class="flexi value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></div>
                    
281								</li>
                    
                
oauthv1.php https://gitlab.com/ImaPotato/Mahara.git | PHP | 202 lines
                    
1<?php
                    
2/**
                    
46
                    
47// Catch anything that goes wrong in init.php
                    
48ob_start();
                    
48ob_start();
                    
49    require(dirname(dirname(__FILE__)) . '/init.php');
                    
50    $errors = trim(ob_get_contents());
                    
52
                    
53require_once(dirname(__FILE__) . '/lib.php');
                    
54
                    
73 */
                    
74require_once(get_config('docroot') . 'webservice/libs/oauth-php/OAuthServer.php');
                    
75require_once(get_config('docroot') . 'webservice/libs/oauth-php/OAuthStore.php');
                    
92        # logon
                    
93        require_once('pieforms/pieform.php');
                    
94        if (!$USER->is_logged_in()) {
                    
                
install.php https://bitbucket.org/speedealing/speedealing.git | PHP | 385 lines
                    
1<?php
                    
2
                    
20/**
                    
21 *       \file       htdocs/install/ajax/install.php
                    
22 *       \brief      File to get all status for install process
                    
23 */
                    
24require '../inc.php';
                    
25
                    
40// For avoid error with destroy cookie
                    
41ob_start();
                    
42
                    
44
                    
45// This variable are loaded by inc.php
                    
46// $main_couchdb_host
                    
58		// We must ignore errors as an existing old file may already exists and not be replacable or
                    
59		// the installer (like for ubuntu) may not have permission to create another file than conf.php.
                    
60		// Also no other process must be able to read file or we expose the new file, so content with password.
                    
                
helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 210 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: helper.php 10111 2008-03-07 11:56:46Z eddieajau $
                    
4* @package		Joomla.Framework
                    
6* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7* @license		GNU/GPL, see LICENSE.php
                    
8* Joomla! is free software. This version may have been modified pursuant
                    
11* other free or open source software licenses.
                    
12* See COPYRIGHT.php for copyright notices and details.
                    
13*/
                    
113		// get component path
                    
114		if ( $mainframe->isAdmin() && file_exists(JPATH_COMPONENT.DS.'admin.'.$file.'.php') ) {
                    
115			$path = JPATH_COMPONENT.DS.'admin.'.$file.'.php';
                    
116		} else {
                    
117			$path = JPATH_COMPONENT.DS.$file.'.php';
                    
118		}
                    
                
view.php https://gitlab.com/ken3/bluSky | PHP | 346 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
2/**
                    
3 * Acts as an object wrapper for HTML pages with embedded PHP, called "views".
                    
4 * Variables can be assigned with the view object and referenced locally within
                    
55		// Capture the view output
                    
56		ob_start();
                    
57
                    
194	 *
                    
195	 * [!!] `NULL` variables are not considered to be set by [isset](http://php.net/isset).
                    
196	 *
                    
                
Gd.php https://github.com/gBokiau/media.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * mm: the PHP media library
                    
4 *
                    
10 * @copyright  2007-2012 David Persson <nperson@gmx.de>
                    
11 * @license    http://www.opensource.org/licenses/mit-license.php The MIT License
                    
12 * @link       http://github.com/davidpersson/mm
                    
14
                    
15require_once 'Media/Process/Adapter.php';
                    
16require_once 'Mime/Type.php';
                    
20 *
                    
21 * @link       http://php.net/gd
                    
22 */
                    
93
                    
94		ob_start();
                    
95		call_user_func_array('image' . $this->_format, $args);
                    
                
debugger.test.php git://github.com/Datawalke/Coordino.git | PHP | 372 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.libs
                    
17 * @since         CakePHP(tm) v 1.2.0.5432
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
97
                    
98		$expected = '<code><span style="color: #000000">&lt;?php';
                    
99		$expected .= '</span></code>';
                    
123
                    
124		ob_start();
                    
125		Debugger::output('txt');
                    
                
conditions.php https://bitbucket.org/hcdesenvolvimentos/abracei_loja.git | PHP | 271 lines
                    
1<?php
                    
2$name_for_condition = $name;
                    
15                    <select class="br_cond_type">
                    
16                        <?php
                    
17                        foreach($condition_types as $condition_type_slug => $condition_type_name) {
                    
30        <div class="br_cond_example" style="display:none;">
                    
31            <?php
                    
32            foreach($condition_types as $condition_type_slug => $condition_type_name) {
                    
43        <div class="br_conditions">
                    
44            <?php
                    
45            $last_id = 0;
                    
47                $current_id = 1;
                    
48                ob_start();
                    
49                foreach($data as $current => $conditions) {
                    
53                    ?>
                    
54                    <div class="br_cond_select" data-current="<?php echo $current; ?>">
                    
55                        <span>
                    
                
Tabbed_View.php https://bitbucket.org/RickCalder/mcc.git | PHP | 381 lines
                    
1<?php
                    
2
                    
342
                    
343		ob_start();
                    
344
                    
378	public function get_default_template_path() {
                    
379		return Tribe__Main::instance()->plugin_path . '/src/admin-views/tabbed-view/tabbed-view.php';
                    
380	}
                    
                
agentstep.php https://gitlab.com/alexprowars/bitrix | PHP | 175 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
88		$errorType = $this->GetWizard()->GetVar("errorType");
                    
89		ob_start();
                    
90
                    
146	{
                    
147		ob_start();
                    
148		if ($this->GetPrevStepID() !== null)
                    
                
transport.php https://bitbucket.org/effectal/ondi.git | PHP | 282 lines
                    
1<?php
                    
2
                    
170    function read() {
                    
171        ob_start();
                    
172        fpassthru($this->socket);
                    
                
block_rss_client_action.php https://github.com/nadavkav/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 303 lines
                    
1<?php //$Id: block_rss_client_action.php,v 1.54.2.6 2008/06/08 18:29:51 dongsheng Exp $
                    
2
                    
7* @author Daryl Hawes
                    
8* @version  $Id: block_rss_client_action.php,v 1.54.2.6 2008/06/08 18:29:51 dongsheng Exp $
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
                    
12
                    
13require_once('../../config.php');
                    
14require_once($CFG->libdir .'/rsslib.php');
                    
70$straddedit = get_string('feedsaddedit', 'block_rss_client');
                    
71$link = $CFG->wwwroot.'/course/view.php?id='.$id;
                    
72if (empty($course)) {
                    
75$navlinks = array();
                    
76$navlinks = array(array('name' => get_string('administration'), 'link' => "$CFG->wwwroot/$CFG->admin/index.php", 'type' => 'misc'));
                    
77$navlinks[] = array('name' => get_string('managemodules'), 'link' => null, 'type' => 'misc');
                    
78$navlinks[] = array('name' => get_string('blocks'), 'link' => null, 'type' => 'misc');
                    
79$navlinks[] = array('name' => get_string('feedstitle', 'block_rss_client'), 'link' => "$CFG->wwwroot/$CFG->admin/settings.php?section=blocksettingrss_client", 'type' => 'misc');
                    
80$navlinks[] = array('name' => get_string('addnew', 'block_rss_client'), 'link' => null,  'type' => 'misc');
                    
                
DumpDatabase.php https://github.com/lefedor/mjncms.git | PHP | 335 lines
                    
1<?php
                    
2/**********************************************************************************
                    
2/**********************************************************************************
                    
3* DumpDatabase.php                                                                *
                    
4***********************************************************************************
                    
73		if (empty($modSettings['enableCompressedOutput']))
                    
74			@ob_start('ob_gzhandler');
                    
75		// Try to clean any data already outputted.
                    
78			ob_end_clean();
                    
79			@ob_start('ob_gzhandler');
                    
80		}
                    
                
fpss.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 208 lines
                    
16require_once(dirname(__FILE__).DS.'slideshows'.DS.$slideshow.DS.'parameters.php');
                    
17require_once(dirname(__FILE__).DS.'slideshows'.DS.$slideshow.DS.'data.php');
                    
18require_once(dirname(__FILE__).DS.'languages'.DS.$fpsslanguage.'.php');
                    
18require_once(dirname(__FILE__).DS.'languages'.DS.$fpsslanguage.'.php');
                    
19require_once(dirname(__FILE__).DS.'includes'.DS.'helper.php');
                    
20
                    
174<script type="text/javascript">google.load("mootools", "1.1");</script>
                    
175<?php endif; ?>
                    
176<?php endif; ?>
                    
184<![endif]-->
                    
185<script type="text/javascript" src="<?php echo SITE_URL; ?>/fpss/includes/engines/<?php echo $fpssEngine; ?>-fpss-comp.js"></script>
                    
186<script type="text/javascript">
                    
198</script>
                    
199<?php echo $mod_copyrights_end; ?>
                    
200
                    
                
TbEditableDetailView.php https://gitlab.com/zenfork/vektor | PHP | 143 lines
                    
1<?php
                    
2/**
                    
84            if($widget->apply) {
                    
85                ob_start();
                    
86                $widget->run();
                    
116    /**
                    
117     * (non-PHPdoc)
                    
118     * @see CComponent::__get()
                    
124    /**
                    
125     * (non-PHPdoc)
                    
126     * @see CComponent::__set()
                    
136    /**
                    
137     * (non-PHPdoc)
                    
138     * @see CComponent::__isset()
                    
                
pdf.php https://gitlab.com/alexprowars/bitrix | PHP | 453 lines
                    
4
                    
5require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/general/tfpdf/tfpdf.php");
                    
6
                    
103		imageinterlace($im,0);
                    
104		$f = @fopen('php://temp','rb+');
                    
105		if($f)
                    
107			// Perform conversion in memory
                    
108			ob_start();
                    
109			imagepng($im);
                    
                
AuthenticationConfigTest.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 115 lines
                    
1<?php
                    
2
                    
4
                    
5namespace PhpMyAdmin\Tests\Plugins\Auth;
                    
6
                    
6
                    
7use PhpMyAdmin\DatabaseInterface;
                    
8use PhpMyAdmin\ErrorHandler;
                    
8use PhpMyAdmin\ErrorHandler;
                    
9use PhpMyAdmin\Plugins\Auth\AuthenticationConfig;
                    
10use PhpMyAdmin\Tests\AbstractTestCase;
                    
12use function ob_get_clean;
                    
13use function ob_start;
                    
14
                    
34        $GLOBALS['table'] = 'table';
                    
35        $GLOBALS['PMA_PHP_SELF'] = 'index.php';
                    
36        $GLOBALS['token_provided'] = true;
                    
                
module.graphic.jpg.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 173 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
9//                                                             //
                    
10// module.graphic.jpg.php                                      //
                    
11// module for analyzing JPEG Image files                       //
                    
34        {
                    
35            // http://php.net/iptcparse
                    
36            // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/IPTC.html
                    
59                
                    
60                if (version_compare(phpversion(), '4.2.0', '>='))
                    
61                {
                    
65                        
                    
66                        ob_start();
                    
67                        $ThisFileInfo['jpg']['exif'] = exif_read_data($ThisFileInfo['filenamepath'], '', true, false);
                    
87                    
                    
88                    $ThisFileInfo['warning'][] = 'EXIF parsing only available in PHP v4.2.0 and higher compiled with --enable-exif (or php_exif.dll enabled for Windows). You are using PHP v' . phpversion();
                    
89                
                    
                
blog_item.php http://j-ecard-28022011.googlecode.com/svn/trunk/ | PHP | 138 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access'); // no direct access
                    
4?>
                    
5<?php if ($this->item->state == 0) : ?>
                    
6<div class="system-unpublished">
                    
6<div class="system-unpublished">
                    
7<?php endif; ?>
                    
8
                    
20<div class="art-post-inner">
                    
21<?php
                    
22if ($this->item->params->get('show_title')) {
                    
22if ($this->item->params->get('show_title')) {
                    
23 ob_start();
                    
24?>
                    
25 <h2 class="art-postheader"> 
                    
26<?php
                    
27 artxFragmentBegin(ob_get_clean());
                    
                
sfPHPView.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 191 lines
                    
1<?php
                    
2
                    
12/**
                    
13 * A view that uses PHP as the templating engine.
                    
14 *
                    
18 * @author     Sean Kerr <sean@code-box.org>
                    
19 * @version    SVN: $Id: sfPHPView.class.php 11783 2008-09-25 16:21:27Z fabien $
                    
20 */
                    
20 */
                    
21class sfPHPView extends sfView
                    
22{
                    
74    // render
                    
75    ob_start();
                    
76    ob_implicit_flush(0);
                    
84   *
                    
85   * Note: This will return null because PHP itself has no engine reference.
                    
86   *
                    
                
basefilter.php https://gitlab.com/alexprowars/bitrix | PHP | 350 lines
                    
1<?php
                    
2/**
                    
71	{
                    
72		ob_start();
                    
73		/** @var \CAllMain $GLOBALS['APPLICATION'] Application. */
                    
                
smarty_internal_templatebase.php https://gitlab.com/dleonov/my-framework-two | PHP | 324 lines
                    
1<?php
                    
2/**
                    
190            } else {
                    
191                ob_start();
                    
192                $template->_mergeVars();
                    
221     * @param  string   $name       name of template tag
                    
222     * @param  callback $callback   PHP callback to register
                    
223     * @param  bool     $cacheable  if true (default) this function is cache able
                    
275     * @param  string $object_name
                    
276     * @param  object $object                     the referenced PHP object to register
                    
277     * @param  array  $allowed_methods_properties list of allowed methods (empty = all)
                    
                
headfoot.inc git://pkgs.fedoraproject.org/nordugrid-arc | PHP | 275 lines
                    
1<?php
                    
2
                    
49      ob_implicit_flush(0);
                    
50      ob_start();
                    
51      //      ini_set("max_execution_time","120");
                    
172    echo "     <img src=\"./mon-icons/icon-print.png\" vspace=\"4\" width=\"24\" height=\"24\" border=\"0\" align=\"absmiddle\" title=\"".$this->errors["302"]."\" alt=\"".$this->errors["302"]."\"></a>\n";
                    
173    echo "     <a href=\"javascript:monitor('help.php?module=".$this->module."&lang=".$lang."',400,300,10);\" onClick=\"javascript:monitor('help.php?module=".$this->module."',400,300,10);\">\n";
                    
174    echo "     <img src=\"./mon-icons/icon-help.png\" vspace=\"4\" width=\"24\" height=\"24\" border=\"0\" align=\"absmiddle\" title=\"".$this->errors["303"]."\" alt=\"".$this->errors["303"]."\"></a>\n";
                    
                
serendipity_admin_image_selector.php git://github.com/s9y/Serendipity.git | PHP | 306 lines
                    
1<?php
                    
2# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
                    
4
                    
5include('serendipity_config.inc.php');
                    
6
                    
87                    $media['case'] = 'external';
                    
88                    ob_start();
                    
89                    include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';
                    
95                    $media['case'] = 'external';
                    
96                    ob_start();
                    
97                    include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';
                    
101                        $media['is_uploaded'] = true;
                    
102                        $serendipity['GET']['image'] = $media['imgID'] = (int)$image_id; // $image_id is passed from images.inc.php
                    
103                        break;
                    
140        $media['case'] = 'external';
                    
141        ob_start();
                    
142        include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';
                    
                
functions.php http://section-cms.googlecode.com/svn/trunk/ | PHP | 292 lines
                    
1<?php
                    
2// Buffer Function
                    
5	global $mod, $table, $sid, $id, $sPage, $sId, $block, $_GET, $_POST, $_COOKIE, $_FILES, $_SESSION;
                    
6	ob_start();               # Start Buffer
                    
7	include($f);              # Include File
                    
132{
                    
133    // Define Vars so PHP Would not Print Errors
                    
134    $build = '';
                    
241            
                    
242            if($file != '.' && $file != '..' && $file != 'modinit.php' && $pos === false)
                    
243            {
                    
246                $trap[] = array(
                    
247                    0 => 'modules/'.$tmp[0].'.php',
                    
248                    1 => $tmp[0]
                    
                
TubePressBootstrapper.class.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 189 lines
                    
1<?php
                    
2/**
                    
21
                    
22class_exists('org_tubepress_impl_classloader_ClassLoader') || require dirname(__FILE__) . '/../classloader/ClassLoader.class.php';
                    
23org_tubepress_impl_classloader_ClassLoader::loadClasses(array(
                    
86
                    
87            ob_start();
                    
88        }
                    
120
                    
121                if ('.php' == substr($file, -4) && is_readable($file)) {
                    
122
                    
122
                    
123                    org_tubepress_impl_log_Log::log(self::LOG_PREFIX, 'Loading PHP file at <tt>%s</tt>', $file);
                    
124
                    
                
process_booking.php https://bitbucket.org/isaacoheneayisi/book2wheelmainproject.git | PHP | 271 lines
                    
16if (empty($_SESSION['total'])){
                    
17  header('Location: index.php',true,301);
                    
18  exit;
                    
84            ?>
                    
85            <div class="total">20% of the Total<span class="price">PHP  <?php echo $twenty_per;  ?></span></div>
                    
86          </div>
                    
95        <input type="hidden" name="item_name" value="MotoBike Booking">
                    
96        <input type="hidden" name="item_number" value="<?php echo $_SESSION['num_days']; ?>">
                    
97        <input type="hidden" name="amount" value="<?php echo $twenty_per;  ?>">
                    
184                <div class="form-group col-sm-12">
                    
185                <label for="card-number" style="font-size: 20px">PHP <?php echo  $twenty_per ?> = <?php echo  $euro_charge ?> EUR </label>
                    
186               <input id="card-number" type="hidden" id="amount" name="amount" class="form-control" value="<?php echo $euro_charge;  ?>" aria-label="Card Holder" aria-describedby="basic-addon1">
                    
243
                    
244<?php  include ('search_footer.php'); ?>
                    
245 <script type="text/javascript" src="js/script.js"></script>
                    
                
moduleinstallstep.php https://gitlab.com/alexprowars/bitrix | PHP | 431 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
86
                    
87		ob_start();
                    
88		?>
                    
150		<script type="text/javascript">
                    
151			BX.message(<?=\CUtil::PhpToJSObject($messages)?>);
                    
152			var moduleWizardForm = new CModuleWizardForm("<?=$formName?>", "iframe-post-form", "<?=$nextStepVarName?>");
                    
238				$strError .= "<br /><br />".Loc::getMessage("SALE_BSM_WIZARD_MODULEINSTALLSTEP_ERROR_MARKETPLACE", [
                    
239						"#UPDATE_SYSTEM_PARTNER_LINK#" => "/bitrix/admin/update_system_partner.php?lang=".LANGUAGE_ID
                    
240					]);
                    
244				$strError .= "<br /><br />".Loc::getMessage("SALE_BSM_WIZARD_MODULEINSTALLSTEP_ERROR_UPDATESYSTEM", [
                    
245						"#MODULES_LINK#" => "/bitrix/admin/module_admin.php?lang=".LANGUAGE_ID
                    
246					]);
                    
357	{
                    
358		/** @noinspection PhpVariableNamingConventionInspection */
                    
359		global $DB, $APPLICATION;
                    
                
View.php https://gitlab.com/lincoln.coutinho/ApplicationKohanaFramework | PHP | 351 lines
                    
1<?php defined('SYSPATH') OR die('No direct script access.');
                    
2/**
                    
2/**
                    
3 * Acts as an object wrapper for HTML pages with embedded PHP, called "views".
                    
4 * Variables can be assigned with the view object and referenced locally within
                    
55		// Capture the view output
                    
56		ob_start();
                    
57
                    
194	 *
                    
195	 * [!!] `NULL` variables are not considered to be set by [isset](http://php.net/isset).
                    
196	 *
                    
                
functions.php https://gitlab.com/fillpdfservice/fillpdf.io-d7 | PHP | 333 lines
                    
1<?php
                    
2namespace GuzzleHttp;
                    
48        default:
                    
49            ob_start();
                    
50            var_dump($input);
                    
91
                    
92    return fopen('php://output', 'w');
                    
93}
                    
139        }
                    
140        $defaultAgent .= ' PHP/' . PHP_VERSION;
                    
141    }
                    
297 * @throws Exception\InvalidArgumentException if the JSON cannot be decoded.
                    
298 * @link http://www.php.net/manual/en/function.json-decode.php
                    
299 */
                    
320 * @throws Exception\InvalidArgumentException if the JSON cannot be encoded.
                    
321 * @link http://www.php.net/manual/en/function.json-encode.php
                    
322 */
                    
                
utilities.inc.php https://gitlab.com/Gashler/dp | PHP | 208 lines
                    
1<?php
                    
2/**
                    
30				/**
                    
31				* Evaluates PHP code, and "returns" output.
                    
32				*
                    
35				*
                    
36				* @param str $code A string of data, possibly with embedded PHP code.
                    
37				* @return str Output after PHP evaluation.
                    
43
                    
44						ob_start (); // Output buffer.
                    
45
                    
69							{
                    
70								ob_start ();
                    
71
                    
128					{
                    
129						$details = "PHP v" . PHP_VERSION . " :: WordPress® v" . get_bloginfo ("version") . " :: s2Member® v" . WS_PLUGIN__S2MEMBER_VERSION;
                    
130						$details .= (c_ws_plugin__s2member_utils_conds::pro_is_installed ()) ? " :: s2Member® Pro v" . WS_PLUGIN__S2MEMBER_PRO_VERSION : "";
                    
                
class-wc-api.php https://gitlab.com/CarlCDavid/woocommerce.git | PHP | 268 lines
                    
1<?php
                    
2/**
                    
74		// REST API
                    
75		add_rewrite_rule( '^wc-api/v([1-2]{1})/?$', 'index.php?wc-api-version=$matches[1]&wc-api-route=/', 'top' );
                    
76		add_rewrite_rule( '^wc-api/v([1-2]{1})(.*)?', 'index.php?wc-api-version=$matches[1]&wc-api-route=$matches[2]', 'top' );
                    
134		// API server / response handlers
                    
135		include_once( 'api/class-wc-api-exception.php' );
                    
136		include_once( 'api/class-wc-api-server.php' );
                    
136		include_once( 'api/class-wc-api-server.php' );
                    
137		include_once( 'api/interface-wc-api-handler.php' );
                    
138		include_once( 'api/class-wc-api-json-handler.php' );
                    
140		// authentication
                    
141		include_once( 'api/class-wc-api-authentication.php' );
                    
142		$this->authentication = new WC_API_Authentication();
                    
143
                    
144		include_once( 'api/class-wc-api-resource.php' );
                    
145		include_once( 'api/class-wc-api-orders.php' );
                    
                
roots.php https://gitlab.com/BGCX261/zombiecms-svn-to-git.git | PHP | 97 lines
                    
1<?php ob_start(); ?>
                    
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
                    
19		<script type="text/javascript" src="lib/js/scripts.js"></script>
                    
20		<?php if($GLOBALS["enable_contextmenu"]) { ?><script type="text/javascript" src="lib/js/context.js"></script><?php } ?>
                    
21		<link rel="shortcut icon" href="images/favicon.ico" />
                    
28		<div id="top"><img src="images/logo.png" alt="logo" id="logo" /><div id="quickboard"><a href="#search" id="show_search"><img src="images/icons/search.png" alt="search" /></a><a href="settings.php"><img src="images/icons/settings.png" alt="settings" /></a><a href="#empty"><img src="images/icons/about.png" alt="about" /></a><a href="log.php?dir=out"><img src="images/icons/logout.png" alt="logout" /></a></div>
                    
29		<div id="menu"><?php include ("zombie_menu.inc.php"); ?></div></div>
                    
30		<div id="main">
                    
42						else echo "<tr class=\"dark_blue\">";
                    
43						echo "<td style=\"width: 60%\"><a href=\"roots.php?id=".$row["id"]."\">",$row["name"],"</a></td><td style=\"width: 20%\">",$row["rights"],"/5</td><td style=\"width: 10%\"><img src=\"images/icons/pm.png\" alt=\"pm\" /></td><td style=\"width: 10%\">"; if($row['rights'] < 5 || $row["id"] == 1) { echo "<a href=\"engine.php?action=del_root&amp;id=".$row["id"]."\"><img src=\"images/icons/inline/trash.png\" alt=\"trash\"/></a>";} echo "</td></tr>";
                    
44						$i++; }
                    
51				<ul class="tabs" title="blue">
                    
52					<?php if(isset($_GET["id"])) { ?><li class="tab blue"><a href="#empty" id="mod_tab"><img src="images/icons/inline/modify.png" alt="modify"/>Modify</a></li><?php } ?>
                    
53					<li class="tab blue"><a href="#empty" id="add_tab"><img src="images/icons/inline/add.png" alt="add"/>Add</a></li>
                    
62						<p>
                    
63							<label for="mod_rights">Rights</label><select name="mod_rights" id="mod_rights"><option value="<?php echo $root["rights"]; ?>"><?php echo $root["rights"];?></option>
                    
64							<option>----------------------------</option>
                    
                
modulestep.php https://gitlab.com/alexprowars/bitrix | PHP | 323 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
113			$this->SetNextCaption(Loc::getMessage("SALE_CSM_WIZARD_MODULESTEP_NEXT_BUTTON"));
                    
114			ob_start();
                    
115			?>
                    
140
                    
141		ob_start();
                    
142		if ($this->GetPrevStepID() !== null)
                    
265
                    
266		ob_start();
                    
267		?>
                    
269			<div class="adm-crm-site-master-paragraph"><?=Loc::getMessage("SALE_CSM_WIZARD_MODULESTEP_NOTES1", [
                    
270					"#UPDATE_SYSTEM_LINK#" => "/bitrix/admin/update_system.php?lang=".LANGUAGE_ID
                    
271				])?>
                    
289	{
                    
290		/** @noinspection PhpVariableNamingConventionInspection */
                    
291		global $APPLICATION;
                    
                
helper.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 307 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: helper.php 14401 2010-01-26 14:10:00Z louis $
                    
4* @package		Joomla.Framework
                    
6* @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
                    
7* @license		GNU/GPL, see LICENSE.php
                    
8* Joomla! is free software. This version may have been modified pursuant
                    
11* other free or open source software licenses.
                    
12* See COPYRIGHT.php for copyright notices and details.
                    
13*/
                    
162		$module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module);
                    
163		$path = JPATH_BASE.DS.'modules'.DS.$module->module.DS.$module->module.'.php';
                    
164
                    
171			$content = '';
                    
172			ob_start();
                    
173			require $path;
                    
                
TbButtonGroupColumn.php https://gitlab.com/zenfork/vektor | PHP | 137 lines
                    
1<?php
                    
2/**
                    
6 * @copyright  
                    
7 * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
                    
8 */
                    
127		$tr = array();
                    
128		ob_start();
                    
129		foreach ($this->buttons as $id => $button) {
                    
                
view.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 137 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: view.php 9764 2007-12-30 07:48:11Z ircmaxell $
                    
4* @package		Joomla.Framework
                    
6* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7* @license		GNU/GPL, see LICENSE.php
                    
8* Joomla! is free software. This version may have been modified pursuant
                    
11* other free or open source software licenses.
                    
12* See COPYRIGHT.php for copyright notices and details.
                    
13*/
                    
86			// Capture and echo output
                    
87			ob_start();
                    
88			ob_implicit_flush( false );
                    
                
php_command_line.php https://gitlab.com/alexprowars/bitrix | PHP | 476 lines
                    
55require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
56define("HELP_FILE", "utilities/php_command_line.php");
                    
57
                    
168		"TAB" => GetMessage("php_cmd_input")." (".$i.")",
                    
169		"TITLE" => GetMessage("php_cmd_php"),
                    
170	);
                    
213	BX.ajax.post(
                    
214		'php_command_line.php?lang=' + phpVars.LANGUAGE_ID + '&sessid=' + phpVars.bitrix_sessid, data,
                    
215		function(result){
                    
350			'dataType': 'html',
                    
351			'url': 'php_command_line.php?lang=' + phpVars.LANGUAGE_ID + '&sessid=' + phpVars.bitrix_sessid,
                    
352			'data':  data,
                    
444<input<?if(!$isAdmin) echo " disabled"?> type="button" accesskey="x" name="execute" value="<?echo GetMessage("php_cmd_button")?>" onclick="return __FPHPSubmit();" class="adm-btn-save">
                    
445<input type="button" value="<?echo GetMessage("php_cmd_button_clear")?>" onclick="this.form.reset(); __FPHPClear();">
                    
446
                    
                
cake.test.php git://github.com/klevo/wildflower.git | PHP | 500 lines
                    
9 *
                    
10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
                    
11 * Copyright 2005-2010, Cake Software Foundation, Inc.
                    
16 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc.
                    
17 * @link          https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
                    
18 * @package       cake
                    
19 * @subpackage    cake.tests.cases.console
                    
20 * @since         CakePHP(tm) v 1.2.0.5432
                    
21 * @version       $Revision$
                    
185		$params = array(
                    
186			'cake.php',
                    
187			'-app',
                    
241		$params = array(
                    
242			'./console/cake.php',
                    
243			'bake',
                    
                
error.test.php git://github.com/klevo/wildflower.git | PHP | 464 lines
                    
1<?php
                    
2/* SVN FILE: $Id$ */
                    
9 *
                    
10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
                    
11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @link          https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
                    
18 * @package       cake
                    
23 * @lastmodified  $Date$
                    
24 * @license       http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
                    
25 */
                    
330	function testMissingTable() {
                    
331		ob_start();
                    
332		$TestErrorHandler = new TestErrorHandler('missingTable', array('className' => 'Article', 'table' => 'articles'));
                    
343	function testMissingDatabase() {
                    
344		ob_start();
                    
345		$TestErrorHandler = new TestErrorHandler('missingDatabase', array());
                    
                
eclipse.php git://github.com/moodle/moodle.git | PHP | 307 lines
                    
1<?php
                    
2/**
                    
10 */
                    
11include_once 'unit_tester.php';
                    
12include_once 'test_case.php';
                    
12include_once 'test_case.php';
                    
13include_once 'invoker.php';
                    
14include_once 'socket.php';
                    
14include_once 'socket.php';
                    
15include_once 'mock_objects.php';
                    
16/**#@-*/
                    
286    function before($method){
                    
287        ob_start();
                    
288        $this->_invoker->before($method);
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 191 lines
                    
1<?php
                    
2
                    
19
                    
20Loc::loadMessages(__DIR__ . '/../mail.client/class.php');
                    
21
                    
77
                    
78		ob_start();
                    
79		$this->includeComponentTemplate('dirs');
                    
166
                    
167		ob_start();
                    
168		$this->includeComponentTemplate('dirs');
                    
                
manage-application.php https://gitlab.com/hop23typhu/list-theme | PHP | 204 lines
                    
38						<?php foreach ($jobs_list as $a_job):?>
                    
39						<option value="<?php echo esc_attr($a_job->ID)?>" <?php selected($job_filter,$a_job->ID)?> ><?php echo $a_job->post_title?></option>
                    
40						<?php endforeach;?>
                    
98									</span>
                    
99									<span class="candidate-name"><?php if(!empty($candidate_link)) echo '<a href="'. $candidate_link . '">'; ?><?php echo get_the_title(); ?><?php if(!empty($candidate_link)) echo '</a>'; ?></span>
                    
100								</td>
                    
118									?>
                    
119									<strong class="hidden-xs hidden-sm"><?php echo esc_html($mesage_excerpt); ?></strong>&nbsp;<?php echo $readmore_link; ?>
                    
120								</td>
                    
143									<?php do_action( 'noo-manage-application-action', $post->ID ); ?>
                    
144									<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'delete','application_id'=>$post->ID)), 'application-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Delete Application','noo')?>"><i class="fa fa-trash-o"></i></a>
                    
145								</td>
                    
188						<?php foreach ($jobs_list as $a_job):?>
                    
189						<option value="<?php echo esc_attr($a_job->ID)?>" <?php selected($job_filter,$a_job->ID)?> ><?php echo $a_job->post_title?></option>
                    
190						<?php endforeach;?>
                    
                
class-ai1ec-settings-helper.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 421 lines
                    
1<?php
                    
2//
                    
2//
                    
3//  class-ai1ec-settings-helper.php
                    
4//  all-in-one-event-calendar
                    
61		global $wpdb;
                    
62		ob_start();
                    
63		$query = "SELECT
                    
95				?>
                    
96				<option value="<?php echo $page->ID ?>" <?php echo $selected; ?>>
                    
97					<?php echo $page->post_title ?>
                    
187					<?php $city = isset( $ex[2] ) ? $ex[2] : $ex[1]; $continent = $ex[0]; ?>
                    
188					<option value="<?php echo $value ?>" <?php echo $value == $timezone ? 'selected' : '' ?>><?php echo $city ?></option>
                    
189				<?php endif ?>
                    
297		?>
                    
298			<option value="<?php echo $term->term_id; ?>" <?php echo ( $selected === $term->term_id ) ? 'selected' : '' ?>>
                    
299				<?php echo $term->name; ?>
                    
                
basics.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 433 lines
                    
1<?php
                    
2/* SVN FILE: $Id: basics.test.php 7805 2008-10-30 17:30:26Z AD7six $ */
                    
3/**
                    
7 *
                    
8 * PHP versions 4 and 5
                    
9 *
                    
9 *
                    
10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
                    
11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
                    
18 * @link          https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
                    
19 * @package       cake.tests
                    
24 * @lastmodified  $Date: 2008-10-30 12:30:26 -0500 (Thu, 30 Oct 2008) $
                    
25 * @license       http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
                    
26 */
                    
                
 

Source

Language