PageRenderTime 365ms queryTime 63ms sortTime 14ms getByIdsTime 90ms findMatchingLines 97ms

100+ results results for 'php ob_start repo:doubleface/jelix-jpu' (365 ms)

Not the results you expected?
ExportToGoogleLiveData.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 192 lines
                    
36        $pluginUrlDir = $plugin->getPluginDirUrl();
                    
37        $scriptLink = $pluginUrlDir . 'CFDBGoogleSSLiveData.php';
                    
38        $imageUrlDir = $pluginUrlDir . "help";
                    
122                        <a href="<?php echo $imageUrlDir ?>/GooglePasteScriptEditor.png">
                    
123                            <img src="<?php echo $imageUrlDir ?>/GooglePasteScriptEditor.png" alt="Paste script text" height="68px" width="100px"/>
                    
124
                    
133                    <p><?php _e('<strong>Copy</strong> the text from ', 'contact-form-7-to-database-extension'); ?>
                    
134                        <a target="_gscript" href="<?php echo($scriptLink) ?>"><?php echo htmlspecialchars(__('THIS SCRIPT FILE', 'contact-form-7-to-database-extension')); ?></a>
                    
135                        <?php _e('and <strong>paste</strong> it into the Google script editor', 'contact-form-7-to-database-extension'); ?></p>
                    
168                        <br/><?php echo htmlspecialchars(__('Enter in the cell the formula:', 'contact-form-7-to-database-extension')); ?>
                    
169                        <br/><span style="background-color: yellow"><code><?php echo("=cfdbdata(\"$siteUrl\", \"$formName\", \"$userName\", \"&lt;password&gt;\")") ?></code></span>
                    
170                        <br/><?php _e('Replace <strong>&lt;password&gt;</strong> with your <em>WordPress</em> password', 'contact-form-7-to-database-extension'); ?>
                    
175                    <p>
                    
176                        <a href="<?php echo $scBuilderPageUrl ?>" target="sc"><?php echo htmlspecialchars(__('Customize the output by creating a Google Spreadsheet Function call with additional options', 'contact-form-7-to-database-extension')); ?></a>
                    
177                    </p>
                    
                
GifCreator.php https://gitlab.com/billyprice1/mc-skintools | PHP | 349 lines
                    
1<?php
                    
2
                    
9     * @author    Sybio (Clément Guillemain  / @Sybio01)
                    
10     * @license   http://opensource.org/licenses/gpl-license.php GNU Public License
                    
11     * @copyright Clément Guillemain
                    
98
                    
99                    ob_start();
                    
100                    imagegif($frames[$i]);
                    
112
                    
113                    ob_start();
                    
114                    imagegif($resourceImg);
                    
                
class-walker-comment.php https://gitlab.com/morganestes/wordpress-develop | 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">
                    
                
ui.class.php https://gitlab.com/x33n/ampache | PHP | 355 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
46        header("HTTP/1.1 403 $error");
                    
47        require_once AmpConfig::get('prefix') . '/templates/show_denied.inc.php';
                    
48        exit;
                    
58    {
                    
59        ob_start();
                    
60        require AmpConfig::get('prefix') . '/templates/' . $template;
                    
276    {
                    
277        require_once AmpConfig::get('prefix') . '/templates/header.inc.php';
                    
278    }
                    
289        }
                    
290        require_once AmpConfig::get('prefix') . '/templates/footer.inc.php';
                    
291        if (isset($_REQUEST['profiling'])) {
                    
302    {
                    
303        require AmpConfig::get('prefix') . '/templates/show_box_top.inc.php';
                    
304    }
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
1<?php
                    
2class SiteMailer
                    
52		$this->headers .= "MIME-Version: 1.0\r\n";		
                    
53		//$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
                    
54		$this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
                    
90			{
                    
91				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
92				$this->msgBody .= $this->attachment;				
                    
92				$this->msgBody .= $this->attachment;				
                    
93				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
94			}*/		
                    
105		$content = '';
                    
106		ob_start();
                    
107		include($filepath);
                    
156	private function sendActivationToCustomer($property) {
                    
157		/*$htmlCT = "--PHP-alt-" . $this->randomHash . "\r\n";
                    
158		$htmlCT .= 'Content-Type: text/html; charset="iso-8859-1"' . "\r\n";
                    
                
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(); ?>
                    
                
manager.php https://gitlab.com/campus-academy/krowkaramel | PHP | 339 lines
                    
1<?php
                    
2namespace Elementor\Core\Settings\Base;
                    
270		<#
                    
271		const tabs = elementor.config.settings.<?php
                    
272			// PHPCS - the variable $name does not contain a user input value.
                    
272			// PHPCS - the variable $name does not contain a user input value.
                    
273			echo $name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
274		?>.tabs;
                    
278				<# _.each( tabs, function( tabTitle, tabSlug ) {
                    
279					$e.bc.ensureTab( 'panel/<?php
                    
280						// PHPCS - the variable $name does not contain a user input value.
                    
280						// PHPCS - the variable $name does not contain a user input value.
                    
281						echo $name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
                    
282					?>-settings', tabSlug ); #>
                    
288		<# } #>
                    
289		<div id="elementor-panel-<?php echo esc_attr( $name ); ?>-settings-controls"></div>
                    
290		<?php
                    
                
91e6e514fb5c418a6385eaadd54115a3c0d065be.file.order-slip.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 148 lines
                    
31),false); /*/%%SmartyHeaderCode%%*/?>
                    
32<?php if ($_valid && !is_callable('content_5837177e2dbe11_47129659')) {function content_5837177e2dbe11_47129659($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_regex_replace')) include 'C:\\xampp\\htdocs\\prestashop\\tools\\smarty\\plugins\\modifier.regex_replace.php';
                    
33?>
                    
34
                    
35<?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('my-account',true), ENT_QUOTES, 'UTF-8', true);?>
                    
36"><?php echo smartyTranslate(array('s'=>'My account'),$_smarty_tpl);?>
                    
85?>
                    
86					<tr class="<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['first']) {?>first_item<?php } elseif ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['last']) {?>last_item<?php } else { ?>item<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['myLoop']['index']%2) {?>alternate_item<?php }?>">
                    
87						<td class="bold">
                    
106						<td class="history_invoice">
                    
107							<a class="link-button" href="<?php ob_start();?><?php echo intval($_smarty_tpl->tpl_vars['slip']->value['id_order_slip']);?>
                    
108<?php $_tmp57=ob_get_clean();?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('pdf-order-slip',true,null,"id_order_slip=".$_tmp57), ENT_QUOTES, 'UTF-8', true);?>
                    
138		<a class="btn btn-default button button-small" href="<?php if (isset($_smarty_tpl->tpl_vars['force_ssl']->value)&&$_smarty_tpl->tpl_vars['force_ssl']->value) {?><?php echo $_smarty_tpl->tpl_vars['base_dir_ssl']->value;?>
                    
139<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['base_dir']->value;?>
                    
140<?php }?>">
                    
                
eventmessagethemecompiler.php https://gitlab.com/Rad1calDreamer/honey | PHP | 336 lines
                    
1<?php
                    
2/**
                    
225			{
                    
226				$template_path_header = \Bitrix\Main\Application::getDocumentRoot().$templateFields['PATH'].'/header.php';
                    
227				$template_path_footer = \Bitrix\Main\Application::getDocumentRoot().$templateFields['PATH'].'/footer.php';
                    
256
                    
257		$resultBody = $this->executePhp($this->body, 100);
                    
258		if($this->themeProlog)
                    
258		if($this->themeProlog)
                    
259			$resultThemeProlog = $this->executePhp($this->themeProlog, 50);
                    
260		if($this->themeEpilog)
                    
260		if($this->themeEpilog)
                    
261			$resultThemeEpilog = $this->executePhp($this->themeEpilog, 150);
                    
262
                    
267
                    
268	protected function executePhp($template, $resourceOrder = 100)
                    
269	{
                    
                
ExportToHtmlTemplate.php https://gitlab.com/mattswann/launch-housing | PHP | 232 lines
                    
1<?php

                    
2/*

                    
21

                    
22require_once('ExportBase.php');

                    
23require_once('CFDBExport.php');

                    
23require_once('CFDBExport.php');

                    
24require_once('CFDBShortCodeContentParser.php');

                    
25

                    
71        if ($this->isFromShortCode) {

                    
72            ob_start();

                    
73        }

                    
                
HtmlDumperTest.php https://gitlab.com/Laolballs/cbtapp | 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);
                    
                
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())
                    
                
CaptureCache.php https://gitlab.com/merial/WETE_Ryhma3 | PHP | 387 lines
                    
1<?php
                    
2/**
                    
28
                    
29        ob_start(function ($content) use ($pageId) {
                    
30            $this->set($content, $pageId);
                    
31
                    
32            // http://php.net/manual/function.ob-start.php
                    
33            // -> If output_callback  returns FALSE original input is sent to the browser.
                    
                
DebugClassLoaderTest.php https://gitlab.com/pthapa81/MeroSaaman-1.0 | PHP | 196 lines
                    
1<?php
                    
2
                    
17
                    
18class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
63    {
                    
64        if (PHP_VERSION_ID >= 70000) {
                    
65            $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
                    
67
                    
68        ob_start();
                    
69
                    
84        // the ContextErrorException must not be loaded to test the workaround
                    
85        // for https://bugs.php.net/65322.
                    
86        if (class_exists('Symfony\Component\Debug\Exception\ContextErrorException', false)) {
                    
107            $this->assertStringStartsWith(__FILE__, $exception->getFile());
                    
108            if (PHP_VERSION_ID < 70000) {
                    
109                $this->assertRegexp('/^Runtime Notice: Declaration/', $exception->getMessage());
                    
                
functions.php https://gitlab.com/efabian/maya | PHP | 334 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    }
                    
298 * @throws Exception\InvalidArgumentException if the JSON cannot be decoded.
                    
299 * @link http://www.php.net/manual/en/function.json-decode.php
                    
300 */
                    
321 * @throws Exception\InvalidArgumentException if the JSON cannot be encoded.
                    
322 * @link http://www.php.net/manual/en/function.json-encode.php
                    
323 */
                    
                
wp_loaded.php https://gitlab.com/najomie/ljm | PHP | 281 lines
                    
1<?php
                    
2
                    
207
                    
208								ob_start();
                    
209
                    
                
c8627ecba3e646b036151fcaa8d06a98c8c7b824.file.payment_execution.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 126 lines
                    
33
                    
34<?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?><?php echo smartyTranslate(array('s'=>'Check payment','mod'=>'cheque'),$_smarty_tpl);?>
                    
35<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
                    
71				<?php if ($_smarty_tpl->tpl_vars['use_taxes']->value==1) {?>
                    
72					<?php echo smartyTranslate(array('s'=>'(tax incl.)','mod'=>'cheque'),$_smarty_tpl);?>
                    
73
                    
77				-
                    
78				<?php if (isset($_smarty_tpl->tpl_vars['currencies']->value)&&count($_smarty_tpl->tpl_vars['currencies']->value)>1) {?>
                    
79					<?php echo smartyTranslate(array('s'=>'We accept several currencies to receive payments by check.','mod'=>'cheque'),$_smarty_tpl);?>
                    
91							<option value="<?php echo $_smarty_tpl->tpl_vars['currency']->value['id_currency'];?>
                    
92"<?php if (isset($_smarty_tpl->tpl_vars['currencies']->value)&&$_smarty_tpl->tpl_vars['currency']->value['id_currency']==$_smarty_tpl->tpl_vars['cust_currency']->value) {?> selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['currency']->value['name'];?>
                    
93</option>
                    
124	</form>
                    
125<?php }?>
                    
126<?php }} ?>
                    
                
class-wc-widget-layered-nav.php https://gitlab.com/ezgonzalez/integral | PHP | 459 lines
                    
1<?php
                    
2
                    
159
                    
160		ob_start();
                    
161
                    
                
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 {
                    
                
functions.php https://gitlab.com/nerdymishka/wp-bad-mishka-theme | PHP | 201 lines
                    
1<?php
                    
2
                    
5	add_action( 'admin_notices', function() {
                    
6			echo '<div class="error"><p>Timber not activated. Make sure you activate the plugin in <a href="' . esc_url( admin_url( 'plugins.php#timber' ) ) . '">' . esc_url( admin_url( 'plugins.php' ) ) . '</a></p></div>';
                    
7		} );
                    
71            $args[ 'nonce' ] = wp_create_nonce( 'load-more-nonce' );
                    
72            $args[ 'url' ] =  admin_url( 'admin-ajax.php' );
                    
73            $args['query'] = $query;    
                    
120            $args['post_status'] = 'publish';
                    
121            ob_start();
                    
122           
                    
                
shell.test.php https://gitlab.com/hakimkal/evricaevents | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2006-2010, 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
                    
                
functions.php https://gitlab.com/reasonat/test8 | PHP | 329 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    }
                    
295 * @throws \InvalidArgumentException if the JSON cannot be decoded.
                    
296 * @link http://www.php.net/manual/en/function.json-decode.php
                    
297 */
                    
317 * @throws \InvalidArgumentException if the JSON cannot be encoded.
                    
318 * @link http://www.php.net/manual/en/function.json-encode.php
                    
319 */
                    
                
omnisearch-posts.php https://gitlab.com/Gashler/sg | 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();
                    
                
Abstract.php https://gitlab.com/yousafsyed/easternglamor | 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
                    
                
map.php https://gitlab.com/chernushov881/charity-fund | PHP | 213 lines
                    
1<?php
                    
2/**
                    
110function render_single_block_page() {
                    
111	// phpcs:ignore WordPress.Security.NonceVerification
                    
112	$map_block_counter = isset( $_GET, $_GET['map-block-counter'] ) ? absint( $_GET['map-block-counter'] ) : null;
                    
112	$map_block_counter = isset( $_GET, $_GET['map-block-counter'] ) ? absint( $_GET['map-block-counter'] ) : null;
                    
113	// phpcs:ignore WordPress.Security.NonceVerification
                    
114	$map_block_post_id = isset( $_GET, $_GET['map-block-post-id'] ) ? absint( $_GET['map-block-post-id'] ) : null;
                    
127	$post_html = new \DOMDocument();
                    
128	/** This filter is already documented in core/wp-includes/post-template.php */
                    
129	$content = apply_filters( 'the_content', $post->post_content );
                    
132	libxml_use_internal_errors( true );
                    
133	@$post_html->loadHTML( $content ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
                    
134	libxml_use_internal_errors( false );
                    
144	/* Compile scripts and styles */
                    
145	ob_start();
                    
146
                    
                
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
                    
                
Debug.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 142 lines
                    
1<?php
                    
2/*
                    
61
                    
62        ob_start();
                    
63        var_dump($var);
                    
                
gva_quotes_rotator.php https://gitlab.com/kryber/wizionary | PHP | 125 lines
                    
1<?php 
                    
2if(!class_exists('element_gva_quotes_rotator')):
                    
100         if($animate) $el_class .= ' wow ' . $animate; 
                    
101            ob_start();
                    
102         ?>
                    
103         
                    
104         <div class="gsc-quotes-rotator <?php print $skin_text ?> <?php print $el_class ?>" <?php print gavias_content_builder_print_animate_wow('', $animate_delay) ?>>
                    
105            <div class="cbp-qtrotator"<?php print $style ?>>
                    
105            <div class="cbp-qtrotator"<?php print $style ?>>
                    
106              <?php for($i=1; $i<=10; $i++){ ?>
                    
107                  <?php 
                    
110                  ?>
                    
111                  <?php if($$title){ ?>
                    
112                     <div class="cbp-qtcontent">
                    
112                     <div class="cbp-qtcontent">
                    
113                        <div class="content-title"><?php print $$title ?></div>
                    
114                        <div class="content-inner"><?php print $$content ?></div>
                    
                
backup_db.php https://bitbucket.org/flth/xtcm.git | PHP | 351 lines
                    
33  //aktiviert die Ausgabepufferung
                    
34  if (!@ob_start("ob_gzhandler")) @ob_start();
                    
35
                    
287    <!-- header //-->
                    
288    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
                    
289    <!-- header_eof //-->
                    
298            <!-- left_navigation //-->
                    
299            <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
                    
300            <!-- left_navigation_eof //-->
                    
309                  <tr>
                    
310                    <td class="pageHeading"><?php echo HEADING_TITLE; ?><span class="smallText"> [<?php echo VERSION; ?>]</span></td>
                    
311                    <td class="pageHeading" align="right"><?php echo xtc_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
                    
341    <!-- footer //-->
                    
342    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
                    
343    <!-- footer_eof //-->
                    
                
addon.php https://gitlab.com/hunt9310/ras | PHP | 401 lines
                    
1<?php
                    
2/**
                    
250		// show message
                    
251		ob_start();
                    
252
                    
259				?>
                    
260<div class="<?php echo esc_attr( $type ); ?>">
                    
261	<p>
                    
261	<p>
                    
262	<?php _e( "You can not activate this WR PageBuilder's provider:", WR_PBL ); ?>
                    
263		<br> <b><?php echo esc_html( $addon_name ); ?> </b>
                    
266	<p>
                    
267	<?php _e( "It requires WR PageBuilder's version:", WR_PBL ); ?>
                    
268		<br> <b><?php echo esc_html( $core_required ); ?> </b> <br>
                    
268		<br> <b><?php echo esc_html( $core_required ); ?> </b> <br>
                    
269		<?php echo esc_html( 'or above to work. Please update WR PageBuilder to newest version.' ); ?>
                    
270		<br>
                    
                
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;
                    
                
40999492bfbe2193affb274f28fcc2fafc54258a.file.favorites.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 174 lines
                    
41			<div class="btn-group pull-right">
                    
42				<a class="btn btn-default <?php if (!isset($_GET['select'])) {?> active<?php }?>" href="index.php?controller=<?php echo htmlentities($_GET['controller']);?>
                    
43&amp;token=<?php echo htmlentities($_GET['token']);?>
                    
131														<?php $_smarty_tpl->tpl_vars["id_tab"] = new Smarty_variable($_smarty_tpl->tpl_vars['t']->value['id_tab'], null, 0);?>
                    
132														<option <?php if (isset($_smarty_tpl->tpl_vars['tab_modules_preferences']->value[$_smarty_tpl->tpl_vars['module_name']->value])&&in_array($_smarty_tpl->tpl_vars['t2']->value['id_tab'],$_smarty_tpl->tpl_vars['tab_modules_preferences']->value[$_smarty_tpl->tpl_vars['module_name']->value])) {?> selected="selected" <?php }?> value="<?php echo $_smarty_tpl->tpl_vars['t2']->value['id_tab'];?>
                    
133"><?php if ($_smarty_tpl->tpl_vars['t2']->value['name']=='') {?><?php echo $_smarty_tpl->tpl_vars['t2']->value['class_name'];?>
                    
151</option>
                    
152										<option value="0" <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences['interest'])&&$_smarty_tpl->tpl_vars['module']->value->preferences['interest']=='0') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'No'),$_smarty_tpl);?>
                    
153</option>
                    
159										<option value="" selected="selected">-</option>
                    
160										<option value="1" <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences['favorite'])&&$_smarty_tpl->tpl_vars['module']->value->preferences['favorite']=='1') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Yes'),$_smarty_tpl);?>
                    
161</option>
                    
161</option>
                    
162										<option value="0" <?php if (isset($_smarty_tpl->tpl_vars['module']->value->preferences['favorite'])&&$_smarty_tpl->tpl_vars['module']->value->preferences['favorite']=='0') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'No'),$_smarty_tpl);?>
                    
163</option>
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
1<?php
                    
2
                    
189			try{
                    
190			    ob_start();
                    
191			    include(app_path().'/views/pdf/informemantenimiento.php');
                    
194			    // convert to PDF
                    
195			    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
196		        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
258			try{
                    
259			    ob_start();
                    
260			    include(app_path().'/views/pdf/informemantenimiento.php');
                    
263			    // convert to PDF
                    
264			    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
265		        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
302		try{
                    
303		    ob_start();
                    
304		    include(app_path().'/views/pdf/informemantenimiento.php');
                    
                
class-walker-nav-menu-edit.php https://gitlab.com/VTTE/sitios-vtte | 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>
                    
                
SimpleProcessTest.php https://gitlab.com/judielsm/Handora | PHP | 222 lines
                    
101    {
                    
102        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
103        parent::testSignal();
                    
132        if ($this->enabledSigchild) {
                    
133            $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
134        } else {
                    
142        if ($this->enabledSigchild) {
                    
143            $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
144        } else {
                    
163    {
                    
164        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
165
                    
179    {
                    
180        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
181
                    
                
Abstract.php https://bitbucket.org/netglue/zf-1.12-release.git | 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
                    
                
quickpage.php https://gitlab.com/ricardosanchez/prueba | PHP | 183 lines
                    
1<?php
                    
2/**
                    
13
                    
14require_once JPATH_LIBRARIES . '/regularlabs/helpers/functions.php';
                    
15
                    
32		$allowed = array(
                    
33			'administrator/components/com_dbreplacer/ajax.php',
                    
34			'administrator/modules/mod_addtomenu/popup.php',
                    
34			'administrator/modules/mod_addtomenu/popup.php',
                    
35			'media/rereplacer/images/popup.php',
                    
36			'plugins/editors-xtd/articlesanywhere/popup.php',
                    
36			'plugins/editors-xtd/articlesanywhere/popup.php',
                    
37			'plugins/editors-xtd/conditionalcontent/popup.php',
                    
38			'plugins/editors-xtd/contenttemplater/data.php',
                    
38			'plugins/editors-xtd/contenttemplater/data.php',
                    
39			'plugins/editors-xtd/contenttemplater/popup.php',
                    
40			'plugins/editors-xtd/dummycontent/popup.php',
                    
                
index.php https://gitlab.com/tangsengjiu/Talk | PHP | 172 lines
                    
1<?PHP
                    
2
                    
2
                    
3include "../index.php";
                    
4
                    
12
                    
13ob_start();
                    
14?>
                    
50
                    
51ob_start();
                    
52?>
                    
60
                    
61ob_start();
                    
62?>
                    
126
                    
127ob_start();
                    
128?>
                    
                
Modules.php https://gitlab.com/sheldonels/pyrocms | PHP | 246 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
9
                    
10/* PHP5 spl_autoload */
                    
11spl_autoload_register('Modules::autoload');
                    
22 *
                    
23 * Install this file as application/third_party/MX/Modules.php
                    
24 *
                    
65			if (method_exists($class, $method)) {
                    
66				ob_start();
                    
67				$args = func_get_args();
                    
116		/* autoload Modular Extensions MX core classes */
                    
117		if (strstr($class, 'MX_') and is_file($location = dirname(__FILE__).'/'.substr($class, 3).'.php')) {
                    
118			include_once $location;
                    
122		/* autoload core classes */
                    
123		if (is_file($location = APPPATH.'core/'.$class.'.php')) {
                    
124			include_once $location;
                    
                
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();
                    
                
math-fallback.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 113 lines
                    
1<?php
                    
2
                    
56			$ans  = sha1( $salt . $sum );
                    
57			ob_start();
                    
58			?>
                    
58			?>
                    
59			<h2><?php _e( 'Please solve this math problem to prove that you are not a bot.  Once you solve it, you will need to log in again.', 'jetpack' ); ?></h2>
                    
60			<?php if ($error): ?>
                    
60			<?php if ($error): ?>
                    
61				<h3><?php _e( 'Your answer was incorrect, please try again.', 'jetpack' ); ?></h3>
                    
62			<?php endif ?>
                    
63			
                    
64			<form action="<?php echo home_url(); ?>" method="post" accept-charset="utf-8">
                    
65				<?php Jetpack_Protect_Math_Authenticate::math_form(); ?>
                    
104				<strong>Prove your humanity: </strong>
                    
105				<?php echo $num1 ?> &nbsp; + &nbsp; <?php echo $num2 ?> &nbsp; = &nbsp;
                    
106				<input type="input" name="jetpack_protect_num" value="" size="2" />
                    
                
class-ms-rule-content-model.php https://gitlab.com/najomie/fit-hippie | PHP | 403 lines
                    
1<?php
                    
2/**
                    
227	public function hide_form_start() {
                    
228		ob_start();
                    
229	}
                    
                
attachment.php https://gitlab.com/sihabudinahmad/asppi | PHP | 303 lines
                    
1<?php
                    
2
                    
66		// validate page
                    
67		if( $pagenow === 'post.php' && $typenow === 'attachment' ) {
                    
68			
                    
74		// validate page
                    
75		if( $pagenow === 'upload.php' && version_compare($wp_version, '4.0', '>=') ) {
                    
76			
                    
181			// get acf_form_data
                    
182			ob_start();
                    
183			
                    
                
class-wc-admin.php https://gitlab.com/hunt9310/ras | PHP | 245 lines
                    
1<?php
                    
2/**
                    
38	public function buffer() {
                    
39		ob_start();
                    
40	}
                    
45	public function includes() {
                    
46		include_once( 'wc-admin-functions.php' );
                    
47		include_once( 'wc-meta-box-functions.php' );
                    
47		include_once( 'wc-meta-box-functions.php' );
                    
48		include_once( 'class-wc-admin-post-types.php' );
                    
49		include_once( 'class-wc-admin-taxonomies.php' );
                    
49		include_once( 'class-wc-admin-taxonomies.php' );
                    
50		include_once( 'class-wc-admin-menus.php' );
                    
51		include_once( 'class-wc-admin-notices.php' );
                    
51		include_once( 'class-wc-admin-notices.php' );
                    
52		include_once( 'class-wc-admin-assets.php' );
                    
53		include_once( 'class-wc-admin-api-keys.php' );
                    
                
class.wpcom-json-api-comment-endpoint.php https://gitlab.com/thisishayat/itv-2016 | PHP | 198 lines
                    
1<?php
                    
2
                    
141				if ( 'display' === $context ) {
                    
142					ob_start();
                    
143					comment_text();
                    
                
form.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 411 lines
                    
1<?php
                    
2/**
                    
92	public function render() {
                    
93		ob_start();
                    
94		try {
                    
                
Form_bu.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 382 lines
                    
284			$options = '<?php foreach($Field[\'Options\'] as $Options):?>
                    
285			<option value="<?php echo $Options[\'value\'] ?>"<?php if($Options[\'value\'] == $Field[\'Value\']): ?> selected="selected"<?php endif ?>><?php echo $Options[\'text\'] ?></option>
                    
286			<?php endforeach ?>';
                    
306			$options = '<?php $ArrValue = explode(\',\',$Field[\'Value\']); foreach($Field[\'Options\'] as $Options):?>
                    
307			<option value="<?php echo $Options[\'value\'] ?>"<?php if(in_array($Options[\'value\'],$ArrValue)): ?> selected="selected"<?php endif ?>><?php echo $Options[\'text\'] ?></option>
                    
308			<?php endforeach ?>';
                    
330			<label for="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>">
                    
331				<input type="radio" name="<?php echo $Field[\'Name\'] ?>" id="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>" class="<?php echo $Field[\'Class\'] ?>" value="<?php echo $Options[\'value\'] ?>"<?php if($Options[\'value\'] == $Field[\'Value\']): ?> checked="checked"<?php endif ?>/>
                    
332				<?php echo $Options[\'text\'] ?>
                    
339				$options[] = '<label for="ID_' . $this->Element['Name'] . '_' . $Opt['value'] . '">
                    
340				<input type="radio" name="' . $this->Element['Name'] . '" id="ID_' . $this->Element['Name'] . '_' . $Opt['value'] . '" class="' . $this->Element['Class'] . '" value="' . $Opt['value'] . '"<?php if(\'' . $Opt['value'] . '\' == $Field[\'Value\']): ?> checked="checked"<?php endif ?>/>' . $Opt['text'] . '</label>';
                    
341			}
                    
356			<label for="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>">
                    
357				<input type="checkbox" name="<?php echo $Field[\'Name\'] ?>[]" id="ID_<?php echo $Field[\'Name\'] ?>_<?php echo $Options[\'value\'] ?>" class="<?php echo $Field[\'Class\'] ?>" value="<?php echo $Options[\'value\'] ?>"<?php if(in_array($Options[\'value\'],$ArrValue)): ?> checked="checked"<?php endif ?>/>
                    
358				<?php echo $Options[\'text\'] ?>
                    
                
Firebug.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 116 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
49        parent::__construct($filter);
                    
50        ob_start();
                    
51    }
                    
77    {
                    
78        $firebugMessage = new Zend_Wildfire_Plugin_FirePhp_TableMessage($this->_renderCaption());
                    
79        $firebugMessage->setHeader(array_keys($this->_getColumns()));
                    
88
                    
89        Zend_Wildfire_Plugin_FirePhp::getInstance()->send($firebugMessage);
                    
90
                    
                
CliDumperTest.php https://gitlab.com/ManuelMontoya/TiendaOnline | PHP | 501 lines
                    
1<?php
                    
2
                    
20 */
                    
21class CliDumperTest extends \PHPUnit_Framework_TestCase
                    
22{
                    
26    {
                    
27        require __DIR__.'/Fixtures/dumb-var.php';
                    
28
                    
28
                    
29        $dumper = new CliDumper('php://output');
                    
30        $dumper->setColors(false);
                    
40
                    
41        ob_start();
                    
42        $dumper->dump($data);
                    
44        $out = preg_replace('/[ \t]+$/m', '', $out);
                    
45        $intMax = PHP_INT_MAX;
                    
46        $res = (int) $var['res'];
                    
                
FrontTest.php https://github.com/bhaumik25/zend-framework.git | PHP | 354 lines
                    
1<?php
                    
2require_once 'Zend/Controller/Front.php';
                    
2require_once 'Zend/Controller/Front.php';
                    
3require_once 'PHPUnit/Framework/TestCase.php';
                    
4
                    
4
                    
5require_once 'Zend/Controller/Request/Http.php';
                    
6require_once 'Zend/Controller/Response/Cli.php';
                    
7require_once 'Zend/Controller/Dispatcher.php';
                    
8require_once 'Zend/Controller/Router.php';
                    
9
                    
9
                    
10class Zend_Controller_FrontTest extends PHPUnit_Framework_TestCase
                    
11{
                    
246    {
                    
247        if ('cli' == strtolower(php_sapi_name())) {
                    
248            $this->markTestSkipped('Issues with $_GET in CLI interface prevents test from passing');
                    
                
ConfigTest.php https://github.com/jorgenils/zend-framework.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once dirname(__FILE__) . '/../TestHelper.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Config.php';
                    
32
                    
39 */
                    
40class Zend_ConfigTest extends PHPUnit_Framework_TestCase
                    
41{
                    
102    {
                    
103        if (version_compare(PHP_VERSION, '5.1', '>=')) {
                    
104            $config = new Zend_Config($this->_all, false);
                    
200
                    
201        ob_start();
                    
202        print_r($config->toArray());
                    
                
indexer.json.php https://gitlab.com/ppapadatis/Videolearn | PHP | 386 lines
                    
1<?php
                    
2/**
                    
12// Register dependent classes.
                    
13JLoader::register('FinderIndexer', JPATH_COMPONENT_ADMINISTRATOR . '/helpers/indexer/indexer.php');
                    
14
                    
41				$options['format'] = '{DATE}\t{TIME}\t{LEVEL}\t{CODE}\t{MESSAGE}';
                    
42				$options['text_file'] = 'indexer.php';
                    
43				$log = JLog::addLogger($options);
                    
58		// Put in a buffer to silence noise.
                    
59		ob_start();
                    
60
                    
108				$options['format'] = '{DATE}\t{TIME}\t{LEVEL}\t{CODE}\t{MESSAGE}';
                    
109				$options['text_file'] = 'indexer.php';
                    
110				$log = JLog::addLogger($options);
                    
125		// Put in a buffer to silence noise.
                    
126		ob_start();
                    
127
                    
                
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
                    
                
Template.php https://gitlab.com/arthur_quiroga/dystawork | PHP | 413 lines
                    
1<?php
                    
2
                    
227    {
                    
228        ob_start();
                    
229        $this->displayParentBlock($name, $context, $blocks);
                    
250    {
                    
251        ob_start();
                    
252        $this->displayBlock($name, $context, $blocks, $useBlocks);
                    
369        $level = ob_get_level();
                    
370        ob_start();
                    
371        try {
                    
                
class-ms-gateway-manual.php https://gitlab.com/najomie/fit-hippie | PHP | 196 lines
                    
1<?php
                    
2/**
                    
92				$link = MS_Controller_Plugin::get_admin_url( 'settings' );
                    
93				ob_start();
                    
94				?>
                    
94				?>
                    
95					<?php _e( 'This is only an example of manual payment gateway instructions', 'membership2' ); ?>
                    
96					<br />
                    
96					<br />
                    
97					<?php
                    
98					printf(
                    
104					<br /><br />
                    
105					<?php _e( 'Name: Example name.', 'membership2' ); ?>
                    
106					<br />
                    
106					<br />
                    
107					<?php _e( 'Bank: Example bank.', 'membership2' ); ?>
                    
108					<br />
                    
                
javo-custom-fileds.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 283 lines
                    
24							<dd>
                    
25								<input type="hidden" name="javo_ts[custom_field][<?php echo $javo_get_custom_filed_id;?>][name]" value="<?php echo $javo_get_custom_filed_id;?>">
                    
26								<input type="text" name="javo_ts[custom_field][<?php echo $javo_get_custom_filed_id;?>][label]" value="">
                    
141			</div>
                    
142			<input type="hidden" name="javo_custom_field[<?php echo $attributes['name'];?>][label]" value="<?php echo $label;?>">
                    
143		</div>
                    
218										<dd>
                    
219											<input name="javo_ts[custom_field][<?php echo $key;?>][value]" value="<?php echo $javo_field_string->get('value');?>">
                    
220										</dd>
                    
224										<dd>
                    
225											<input name="javo_ts[custom_field][<?php echo $key;?>][css]" value="<?php echo $javo_field_string->get('css');?>">
                    
226										</dd>
                    
250				var javo_get_custom_field_form_ajax = {
                    
251					url:'<?php echo admin_url("admin-ajax.php");?>'
                    
252					, type: 'post'
                    
                
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>
                    
                
ChartsDashlet.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 195 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
41
                    
42require_once('include/Dashlets/Dashlet.php');
                    
43
                    
75    function display() {
                    
76    	require_once("modules/Reports/Report.php");
                    
77		
                    
92			
                    
93			require_once("modules/Reports/templates/templates_chart.php");
                    
94	
                    
94	
                    
95			ob_start();	
                    
96			template_chart($reporter, true, true, $this->id);
                    
119    function displayScript() {
                    
120    	require_once("modules/Reports/Report.php");
                    
121			
                    
                
smarty_internal_cacheresource_file.php https://gitlab.com/piotr-zuralski/demo-zuralski-trojmiastopl-articles | PHP | 205 lines
                    
1<?php
                    
2
                    
55        } 
                    
56        return $_cache_dir . $_cache_id . $_compile_id . $_filepath . '.' . basename($_source_file_path) . '.php';
                    
57    } 
                    
79    	if (!$no_render) {
                    
80        	ob_start();
                    
81    	}
                    
                
head.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 162 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: head.php 21074 2011-04-04 16:51:40Z dextercowley $
                    
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*/
                    
36	{
                    
37		ob_start();
                    
38
                    
                
AORReportsDashlet.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 106 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
4
                    
5require_once('include/Dashlets/Dashlet.php');
                    
6require_once 'modules/AOR_Reports/aor_utils.php';
                    
73    public function displayOptions() {
                    
74        ob_start();
                    
75        global $current_language, $app_list_strings;
                    
                
Config.php https://gitlab.com/ViniciusP/project-games | PHP | 383 lines
                    
1<?php
                    
2/**
                    
100    /**
                    
101     * Create a new instance of the config class using a PHP file path.
                    
102     *
                    
102     *
                    
103     * @param  string $configFilePath Path to the PHP File
                    
104     * @throws \RuntimeException
                    
106     */
                    
107    public static function fromPhp($configFilePath)
                    
108    {
                    
108    {
                    
109        ob_start();
                    
110        /** @noinspection PhpIncludeInspection */
                    
117            throw new \RuntimeException(sprintf(
                    
118                'PHP file \'%s\' must return an array',
                    
119                $configFilePath
                    
                
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;
                    
                
repeater.class.php https://gitlab.com/mostafame/team_website | PHP | 128 lines
                    
1<?php
                    
2
                    
56		<div class="siteorigin-widget-field-repeater"
                    
57		     data-item-name="<?php echo esc_attr( $this->item_name ) ?>"
                    
58		     data-repeater-name="<?php echo esc_attr( $this->base_name ) ?>"
                    
58		     data-repeater-name="<?php echo esc_attr( $this->base_name ) ?>"
                    
59		     data-element-name="<?php echo esc_attr( $this->element_name ) ?>"
                    
60			<?php echo ! empty( $item_label ) ? 'data-item-label="' . esc_attr( $item_label ) . '"' : '' ?>
                    
60			<?php echo ! empty( $item_label ) ? 'data-item-label="' . esc_attr( $item_label ) . '"' : '' ?>
                    
61			<?php echo ! empty( $this->scroll_count ) ? 'data-scroll-count="' . esc_attr( $this->scroll_count ) . '"' : '' ?>
                    
62			<?php if( ! empty( $this->readonly ) ) echo 'readonly' ?>>
                    
64				<div class="siteorigin-widget-field-repeater-expand"></div>
                    
65				<h3><?php echo esc_html( $this->label ) ?></h3>
                    
66			</div>
                    
67			<div class="siteorigin-widget-field-repeater-items">
                    
68				<?php
                    
69				if( !empty( $value ) ) {
                    
                
PhpEngine.php https://gitlab.com/pr0055/symfonypizza | PHP | 518 lines
                    
1<?php
                    
2
                    
20/**
                    
21 * PhpEngine is an engine able to render PHP templates.
                    
22 *
                    
24 */
                    
25class PhpEngine implements EngineInterface, \ArrayAccess
                    
26{
                    
118
                    
119        return 'php' === $template->get('engine');
                    
120    }
                    
150
                    
151            ob_start();
                    
152            require $this->evalTemplate;
                    
160
                    
161            ob_start();
                    
162            eval('; ?>'.$this->evalTemplate.'<?php ;');
                    
                
class-wp-customize-panel.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 389 lines
                    
1<?php
                    
2/**
                    
252	final public function get_content() {
                    
253		ob_start();
                    
254		$this->maybe_render();
                    
321		?>
                    
322		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>-content">
                    
323			<?php $this->content_template(); ?>
                    
324		</script>
                    
325		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>">
                    
326			<?php $this->render_template(); ?>
                    
327		</script>
                    
328        <?php
                    
329	}
                    
346				{{ data.title }}
                    
347				<span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span>
                    
348			</h3>
                    
                
class-wp-customize-section.php https://gitlab.com/darmawan.fatria/df-skp-2014 | 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>
                    
                
helper-functions.php https://gitlab.com/almoore1/buy-button-wordpress | PHP | 352 lines
                    
1<?php
                    
2/**
                    
31
                    
32	include_once( cmb2_dir( "includes/{$class_name}.php" ) );
                    
33}
                    
221
                    
222	ob_start();
                    
223	// Get cmb form
                    
312	/**
                    
313	 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
                    
314	 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
                    
                
ScaffoldViewTest.php https://gitlab.com/digaotinfo/abear.com.br | PHP | 463 lines
                    
4 *
                    
5 * PHP 5
                    
6 *
                    
6 *
                    
7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
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://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
15 * @package       Cake.Test.Case.Controller
                    
15 * @package       Cake.Test.Case.Controller
                    
16 * @since         CakePHP(tm) v 2.0
                    
17 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
23
                    
24require_once dirname(dirname(__FILE__)) . DS . 'Model' . DS . 'models.php';
                    
25
                    
                
action.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 119 lines
                    
1<?php
                    
2/**
                    
5 * Some code (autoload, templating) is just simple boilerplate and no shining
                    
6 * example of how to write php applications.
                    
7 *
                    
10
                    
11require_once __DIR__.'/../vendor/autoload.php';
                    
12
                    
24  }
                    
25  header("Location: index.php");
                    
26  exit;
                    
109function tpl($template, $msg="") {
                    
110  $fn = __DIR__ . DIRECTORY_SEPARATOR . "templates" . DIRECTORY_SEPARATOR . $template . ".php";
                    
111  if(file_exists($fn)) {
                    
111  if(file_exists($fn)) {
                    
112    ob_start();
                    
113    include $fn;
                    
                
import_test.php https://bitbucket.org/moodle/moodle.git | PHP | 282 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
19/**
                    
20 * Unit tests for import.php.
                    
21 *
                    
35        global $CFG;
                    
36        require_once($CFG->dirroot . '/mod/data/lib.php');
                    
37        require_once($CFG->dirroot . '/lib/datalib.php');
                    
37        require_once($CFG->dirroot . '/lib/datalib.php');
                    
38        require_once($CFG->dirroot . '/lib/csvlib.class.php');
                    
39        require_once($CFG->dirroot . '/search/tests/fixtures/testable_core_search.php');
                    
39        require_once($CFG->dirroot . '/search/tests/fixtures/testable_core_search.php');
                    
40        require_once($CFG->dirroot . '/mod/data/tests/generator/lib.php');
                    
41    }
                    
91        $filecontent = file_get_contents(__DIR__ . '/fixtures/test_data_import.csv');
                    
92        ob_start();
                    
93        data_import_csv($cm, $data, $filecontent, 'UTF-8', 'comma');
                    
                
File.php https://bitbucket.org/thesyncim/front-biarq.git | PHP | 180 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Lithium: the most rad php framework
                    
4 *
                    
5 * @copyright     Copyright 2011, Union of RAD (http://union-of-rad.org)
                    
6 * @license       http://opensource.org/licenses/bsd-license.php The BSD License
                    
7 */
                    
109
                    
110		ob_start();
                    
111		include $template__;
                    
                
ClientesController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 458 lines
                    
1<?php
                    
2
                    
169		try{
                    
170		    ob_start();
                    
171		    include(app_path().'/views/pdf/factura.php');
                    
174		    // convert to PDF
                    
175		    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
176	        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
206		try{
                    
207		    ob_start();
                    
208		    include(app_path().'/views/pdf/presupuesto.php');
                    
211		    // convert to PDF
                    
212		    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
213	        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
241		try{
                    
242		    ob_start();
                    
243		    include(app_path().'/views/pdf/mantenimiento.php');
                    
                
class-setup.php https://gitlab.com/ebrjose/comcebu | PHP | 408 lines
                    
1<?php
                    
2
                    
111		<div id="wpforms-setup-form-name">
                    
112			<label for="wpforms-setup-name"><?php esc_html_e( 'Name Your Form', 'wpforms-lite' ); ?></label>
                    
113			<input type="text" id="wpforms-setup-name" placeholder="<?php esc_attr_e( 'Enter your form name here&hellip;', 'wpforms-lite' ); ?>">
                    
116		<div class="wpforms-setup-title">
                    
117			<?php esc_html_e( 'Select a Template', 'wpforms-lite' ); ?>
                    
118			<span class="wpforms-setup-title-after"></span>
                    
121		<p class="wpforms-setup-desc secondary-text">
                    
122			<?php
                    
123			printf(
                    
141
                    
142		<?php
                    
143		ob_start();
                    
163				<div class="list">
                    
164					<?php echo $templates; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
                    
165				</div>
                    
                
HtmlDumperTest.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 153 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);
                    
43        $var['file'] = htmlspecialchars($var['file'], ENT_QUOTES, 'UTF-8');
                    
44        $intMax = PHP_INT_MAX;
                    
45        preg_match('/sf-dump-\d+/', $out, $dumpId);
                    
                
CMB2_Base.php https://gitlab.com/mahbubur204/RECIPES-Landing-page | PHP | 446 lines
                    
1<?php
                    
2/**
                    
129
                    
130		if ( in_array( $pagenow, array( 'user-edit.php', 'profile.php', 'user-new.php' ), true ) ) {
                    
131			$type = 'user';
                    
133
                    
134		if ( in_array( $pagenow, array( 'edit-comments.php', 'comment.php' ), true ) ) {
                    
135			$type = 'comment';
                    
137
                    
138		if ( in_array( $pagenow, array( 'edit-tags.php', 'term.php' ), true ) ) {
                    
139			$type = 'term';
                    
256			// Ok, callback is good, let's run it and store the result.
                    
257			ob_start();
                    
258			$returned = $this->do_callback( $cb );
                    
                
add_address.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 312 lines
                    
83		<?php if($state===0){ ?>
                    
84			<option <?php echo $selected ?> value="" <?php echo $class ?>></option>
                    
85		<?php }else{ ?>
                    
85		<?php }else{ ?>
                    
86			<option  <?php echo $selected ?> value="<?php echo $state ?>" <?php echo $class ?>><?php echo $state ?></option>
                    
87		<?php } ?>
                    
100			<div>
                    
101				<form id="pg-account-address-form" action="<?php echo JRoute::_('index.php'); ?>" method="POST">
                    
102					<div id="pg-account-address-shipping" class="pg-account-address" style="margin-left: 20px;">	
                    
129							<div>
                    
130								<label for="address2" class="pg-label"><?php echo JText::_( 'PAGO_SHOPPER_FORM_ADDRESS_2' );?> (optional)</label>
                    
131							</div>
                    
178						<input type="hidden" name="address[addr_type]" value="<?php if($user_address[0]['address_type']) echo $user_address[0]['address_type'] ?>" class="addr_type"/>
                    
179						<?php if($user_address[0]['id']){?> <input type="hidden" name="address[id]" value="<?php echo $user_address[0]['id'] ?>"/>  <?php } ?>
                    
180						<input type="hidden" name="option" value="com_pago" />
                    
                
smarty_internal_parsetree.php https://gitlab.com/garabedian.kevin/web2TB | PHP | 393 lines
                    
85        $var = sprintf('$_tmp%d', ++Smarty_Internal_Templateparser::$prefix_number);
                    
86        $this->parser->compiler->prefix_code[] = sprintf('<?php ob_start();?>%s<?php %s=ob_get_clean();?>', $this->data, $var);
                    
87
                    
118     */
                    
119    public function to_smarty_php()
                    
120    {
                    
188            } else {
                    
189                $more_php = $subtree->to_smarty_php();
                    
190            }
                    
191
                    
192            $code .= $more_php;
                    
193
                    
292            if (substr($code, -1) == '<') {
                    
293                $subtree = $this->subtrees[$key]->to_smarty_php();
                    
294                if (substr($subtree, 0, 1) == '?') {
                    
                
em-taxonomy-frontend.php https://gitlab.com/pankajmohale/chef2go | PHP | 177 lines
                    
1<?php
                    
2class EM_Taxonomy_Frontend {
                    
9	/**
                    
10	 * The name of the child class, used for now whilst late static binding isn't guaranteed since we may be running on PHP <5.3
                    
11	 * Once PHP 5.3 is a minimum requirement in WP, we can get rid of this one. 
                    
41		global $wp_query, $wp_the_query, $em_the_query, $post;
                    
42		if( is_tax(self::$taxonomy_name) && !locate_template('taxonomy-'.self::$taxonomy_name.'.php') && get_option('dbem_cp_'. self::$option_name_plural .'_formats', true) ){
                    
43			$em_the_query = $wp_the_query; //use this for situations where other plugins need to access 'original' query data, which you can switch back/forth.
                    
79			//set the template
                    
80			$template = locate_template(array('page.php','index.php'),false); //category becomes a page
                    
81			//sort out filters
                    
103			$GLOBALS[self::$tax_class] = EM_Taxonomy_Term::get($taxonomy_id, self::$tax_class);
                    
104			ob_start();
                    
105			em_locate_template('templates/'.self::$option_name.'-single.php',true);
                    
                
8fa2ae01921b1b9b67f8ebd83865194beb463564.file.content.tpl.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 242 lines
                    
1<?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:06:33
                    
2         compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin\themes\default\template\controllers\attribute_generator\content.tpl" */ ?>
                    
2         compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin\themes\default\template\controllers\attribute_generator\content.tpl" */ ?>
                    
3<?php /*%%SmartyHeaderCode:2008957c495c99394c3-32613491%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
                    
4$_valid = $_smarty_tpl->decodeProperties(array (
                    
44),false); /*/%%SmartyHeaderCode%%*/?>
                    
45<?php if ($_valid && !is_callable('content_57c495c9b29353_72540570')) {function content_57c495c9b29353_72540570($_smarty_tpl) {?>
                    
46
                    
50
                    
51	<?php  $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group']->_loop = false;
                    
52 $_smarty_tpl->tpl_vars['idgrp'] = new Smarty_Variable;
                    
66?>
                    
67			<?php ob_start();?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['attrname']->value, ENT_QUOTES, 'UTF-8', true);?>
                    
68<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["row"] = new Smarty_variable(((string)$_smarty_tpl->tpl_vars['row']->value).", ".((string)$_smarty_tpl->tpl_vars['idattr']->value).", '".$_tmp1."'", null, 0);?>
                    
103
                    
104<?php if ($_smarty_tpl->tpl_vars['generate']->value) {?><div class="alert alert-success clearfix"><?php echo smartyTranslate(array('s'=>'%d product(s) successfully created.','sprintf'=>$_smarty_tpl->tpl_vars['combinations_size']->value),$_smarty_tpl);?>
                    
105</div><?php }?>
                    
                
Util.php https://gitlab.com/hop23typhu/bryepoxy | 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" );
                    
                
CBaseController.php https://gitlab.com/Griffolion/Final-Year-Project | 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);
                    
                
smarty_cacheresource.php https://gitlab.com/fiesta-framework/Documentation | PHP | 442 lines
                    
1<?php
                    
2/**
                    
82        if ($_template->cached->handler->process($_template)) {
                    
83            ob_start();
                    
84            $_template->properties['unifunc']($_template);
                    
                
CFormulario.php https://gitlab.com/jakolab/prax-sys | PHP | 192 lines
                    
1<?php
                    
2/**
                    
75        $this->trabajoEnBuffer = true;
                    
76        ob_start();        
                    
77    }
                    
                
class-taxonomy.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 304 lines
                    
1<?php
                    
2/**
                    
148		// Wrap in output buffering to prevent shortcodes that echo stuff instead of return from breaking things.
                    
149		ob_start();
                    
150		$desc = do_shortcode( $desc );
                    
188	public static function is_term_overview( $page ) {
                    
189		return 'edit-tags.php' === $page;
                    
190	}
                    
197	public static function is_term_edit( $page ) {
                    
198		return 'term.php' === $page
                    
199		       || 'edit-tags.php' === $page; // After we drop support for <4.5 this can be removed.
                    
                
DebugClassLoaderTest.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 296 lines
                    
1<?php
                    
2
                    
17
                    
18class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
63    {
                    
64        if (PHP_VERSION_ID >= 70000) {
                    
65            $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
                    
70
                    
71        ob_start();
                    
72
                    
87        // the ContextErrorException must not be loaded to test the workaround
                    
88        // for https://bugs.php.net/65322.
                    
89        if (class_exists('Symfony\Component\Debug\Exception\ContextErrorException', false)) {
                    
113            $this->assertStringStartsWith(__FILE__, $exception->getFile());
                    
114            if (PHP_VERSION_ID < 70000) {
                    
115                $this->assertRegExp('/^Runtime Notice: Declaration/', $exception->getMessage());
                    
                
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			)
                    
                
Pjax.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 199 lines
                    
1<?php
                    
2/**
                    
33 *
                    
34 * ```php
                    
35 * use yii\widgets\Pjax;
                    
103        if ($this->requiresPjax()) {
                    
104            ob_start();
                    
105            ob_implicit_flush(false);
                    
                
show_playlist.inc.php https://gitlab.com/x33n/ampache | PHP | 123 lines
                    
52            <a onclick="submitNewItemsOrder('<?php echo $playlist->id; ?>', 'reorder_playlist_table', 'track_',
                    
53                                            '<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=set_track_numbers&playlist_id=<?php echo $playlist->id; ?>', 'refresh_playlist_songs')">
                    
54                <?php echo UI::get_icon('save', T_('Save Tracks Order')); ?>
                    
58        <li>
                    
59            <a href="<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=sort_tracks&playlist_id=<?php echo $playlist->id; ?>"><?php echo UI::get_icon('sort',_('Sort Tracks by Artist, Album, Song')); ?>
                    
60            &nbsp;&nbsp;<?php echo T_('Sort Tracks by Artist, Album, Song'); ?></a>
                    
62        <li>
                    
63            <a href="<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=remove_duplicates&playlist_id=<?php echo $playlist->id; ?>"><?php echo UI::get_icon('wand',_('Remove duplicates')); ?>
                    
64            &nbsp;&nbsp;<?php echo T_('Remove duplicates'); ?></a>
                    
68        <li>
                    
69            <a rel="nohtml" href="<?php echo AmpConfig::get('web_path'); ?>/batch.php?action=playlist&amp;id=<?php echo $playlist->id; ?>">
                    
70                <?php echo UI::get_icon('batch_download', T_('Batch Download')); ?>
                    
104        <li>
                    
105            <a href="javascript:NavigateTo('<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=delete_playlist&playlist_id=<?php echo $playlist->id; ?>');" onclick="return confirm('<?php echo T_('Do you really want to delete the playlist?'); ?>');">
                    
106                <?php echo UI::get_icon('delete'); ?>
                    
                
dumper.php https://bitbucket.org/allfields/wave.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $
                    
7 */
                    
352    function dump($variable) {
                    
353        ob_start();
                    
354        print_r($variable);
                    
                
Capsule.php https://github.com/adatta02/comp190-code.git | PHP | 266 lines
                    
1<?php
                    
2
                    
4 * Capsule is a simple "template" engine that essentially provides an isolated context
                    
5 * for PHP scripts.
                    
6 * 
                    
132        
                    
133        if (!empty($php_errormsg)) {
                    
134            throw new Exception("Unable to parse template " . $__template . ": " . $php_errormsg);
                    
151        // hopefully this works recursively ... fingers crossed.    
                    
152        ob_start();
                    
153        
                    
                
resource.php https://gitlab.com/jonnialva90/iridium-browser | PHP | 119 lines
                    
1<?php
                    
2    $type = $_GET["type"];
                    
24    if ($gzip)
                    
25        ob_start("ob_gzhandler");
                    
26
                    
65}
                    
66__foo(<?php echo($jsdelay)?>);
                    
67<?php
                    
                
sysinfo.php https://gitlab.com/ppapadatis/Videolearn | PHP | 244 lines
                    
69			$this->php_settings['disable_functions']	= ini_get('disable_functions');
                    
70			$this->php_settings['xml']					= extension_loaded('xml');
                    
71			$this->php_settings['zlib']					= extension_loaded('zlib');
                    
114			}
                    
115			$this->info['php']			= php_uname();
                    
116			$this->info['dbversion']	= $db->getVersion();
                    
117			$this->info['dbcollation']	= $db->getCollation();
                    
118			$this->info['phpversion']	= phpversion();
                    
119			$this->info['server']		= $sf;
                    
150		}
                    
151		return $this->php_info;
                    
152	}
                    
213			$this->_addDirectory('templates', JPATH_SITE.'/templates');
                    
214			$this->_addDirectory('configuration.php', JPATH_CONFIGURATION.'/configuration.php');
                    
215			$this->_addDirectory('cache', JPATH_SITE.'/cache', 'COM_ADMIN_CACHE_DIRECTORY');
                    
                
modmanagerresponse.class.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 310 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-wc-emails.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 429 lines
                    
1<?php
                    
2/**
                    
108		// Include email classes
                    
109		include_once( 'abstracts/abstract-wc-email.php' );
                    
110
                    
110
                    
111		$this->emails['WC_Email_New_Order']                 = include( 'emails/class-wc-email-new-order.php' );
                    
112		$this->emails['WC_Email_Customer_Processing_Order'] = include( 'emails/class-wc-email-customer-processing-order.php' );
                    
112		$this->emails['WC_Email_Customer_Processing_Order'] = include( 'emails/class-wc-email-customer-processing-order.php' );
                    
113		$this->emails['WC_Email_Customer_Completed_Order']  = include( 'emails/class-wc-email-customer-completed-order.php' );
                    
114		$this->emails['WC_Email_Customer_Invoice']          = include( 'emails/class-wc-email-customer-invoice.php' );
                    
114		$this->emails['WC_Email_Customer_Invoice']          = include( 'emails/class-wc-email-customer-invoice.php' );
                    
115		$this->emails['WC_Email_Customer_Note']             = include( 'emails/class-wc-email-customer-note.php' );
                    
116		$this->emails['WC_Email_Customer_Reset_Password']   = include( 'emails/class-wc-email-customer-reset-password.php' );
                    
116		$this->emails['WC_Email_Customer_Reset_Password']   = include( 'emails/class-wc-email-customer-reset-password.php' );
                    
117		$this->emails['WC_Email_Customer_New_Account']      = include( 'emails/class-wc-email-customer-new-account.php' );
                    
118
                    
                
Helper.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 303 lines
                    
1<?php
                    
2
                    
95
                    
96        ob_start() && extract($data, EXTR_SKIP);
                    
97
                    
                
class-wc-admin.php https://gitlab.com/campus-academy/krowkaramel | PHP | 317 lines
                    
1<?php
                    
2/**
                    
48	public function buffer() {
                    
49		ob_start();
                    
50	}
                    
55	public function includes() {
                    
56		include_once __DIR__ . '/wc-admin-functions.php';
                    
57		include_once __DIR__ . '/wc-meta-box-functions.php';
                    
57		include_once __DIR__ . '/wc-meta-box-functions.php';
                    
58		include_once __DIR__ . '/class-wc-admin-post-types.php';
                    
59		include_once __DIR__ . '/class-wc-admin-taxonomies.php';
                    
59		include_once __DIR__ . '/class-wc-admin-taxonomies.php';
                    
60		include_once __DIR__ . '/class-wc-admin-menus.php';
                    
61		include_once __DIR__ . '/class-wc-admin-customize.php';
                    
61		include_once __DIR__ . '/class-wc-admin-customize.php';
                    
62		include_once __DIR__ . '/class-wc-admin-notices.php';
                    
63		include_once __DIR__ . '/class-wc-admin-assets.php';
                    
                
class-wc-cp-ajax.php https://gitlab.com/iamgraeme/royalmile | PHP | 215 lines
                    
1<?php
                    
2/**
                    
93
                    
94		ob_start();
                    
95
                    
95
                    
96		wc_get_template( 'single-product/component-options.php', array(
                    
97			'product'           => $product,
                    
106
                    
107		ob_start();
                    
108
                    
108
                    
109		wc_get_template( 'single-product/component-options-pagination.php', array(
                    
110			'product'             => $product,
                    
193
                    
194		ob_start();
                    
195
                    
                
widgets.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | 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
                    
                
maintenance-mode.php https://gitlab.com/campus-academy/krowkaramel | PHP | 383 lines
                    
1<?php
                    
2namespace Elementor;
                    
157		// Setup global post for Elementor\frontend so `_has_elementor_in_page = true`.
                    
158		$GLOBALS['post'] = get_post( self::get( 'template_id' ) ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
                    
159
                    
192
                    
193		ob_start();
                    
194
                    
311			#wp-admin-bar-elementor-maintenance-on > .ab-item:before { content: "\f160"; top: 2px; }</style>
                    
312		<?php
                    
313	}
                    
368		?>
                    
369		<a target="_blank" class="elementor-edit-template" style="display: none" href="<?php echo esc_url( $edit_url ); ?>"><?php echo esc_html__( 'Edit Template', 'elementor' ); ?></a>
                    
370		<div class="elementor-maintenance-mode-error"><?php echo esc_html__( 'To enable maintenance mode you have to set a template for the maintenance mode page.', 'elementor' ); ?></div>
                    
371		<div class="elementor-maintenance-mode-error">
                    
372			<?php
                    
373				printf(
                    
                
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
                    
                
url_helper.php https://gitlab.com/zanderwong/admin | PHP | 523 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
298        $x = array_reverse($x);
                    
299        ob_start();
                    
300
                    
304            var l = new Array();
                    
305            <?php
                    
306                $i = 0;
                    
306                $i = 0;
                    
307                foreach ($x as $val){ ?>l[<?php echo $i++; ?>] = '<?php echo $val; ?>';<?php } ?>
                    
308
                    
313            //]]>
                    
314        </script><?php
                    
315
                    
                
Abstract.php https://github.com/bhaumik25/zend-framework.git | PHP | 375 lines
                    
1<?php
                    
2/**
                    
260        if ($this->_captureLock) {
                    
261            require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
262            throw new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
269        }
                    
270        ob_start();
                    
271    }
                    
332     *
                    
333     * as defined by the PHP manual
                    
334     * @return int
                    
                
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(
                    
                
Generator.php https://gitlab.com/bruce.ng/Professional-Ajax | PHP | 240 lines
                    
114        } else {
                    
115            $this->jsEncodingClass = 'JPSpan_Encode_PHP';
                    
116        }
                    
131    function generateScriptHeader(& $Code) {
                    
132        ob_start();
                    
133?>
                    
161*/
                    
162<?php
                    
163        $Code->append(ob_get_contents());
                    
167    /**
                    
168    * Generate code for a single description (a single PHP class)
                    
169    * @param JPSpan_CodeWriter
                    
195    oParent.<?php echo $method; ?> = function() {
                    
196        return this.__call('<?php echo $url; ?>',arguments,'<?php echo $method; ?>');
                    
197    };
                    
                
class.wpcom-json-api-comment-endpoint.php https://gitlab.com/chernushov881/charity-fund | PHP | 242 lines
                    
1<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
                    
2/**
                    
5 * @todo - can this file be written without overriding global variables?
                    
6 * @phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
                    
7 */
                    
74		// @todo - can we make this comparison strict without breaking anything?
                    
75		// phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
                    
76		if ( ! in_array( $comment->comment_type, $types ) ) {
                    
104					// @todo - can we make this comparison strict without breaking anything?
                    
105					// phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
                    
106					if ( $current_user_id && $comment->user_id && $current_user_id == $comment->user_id ) {
                    
172					if ( 'display' === $context ) {
                    
173						ob_start();
                    
174						comment_text();
                    
                
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.
                    
                
PageCache.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 270 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * ```php
                    
29 * public function behaviors()
                    
74     *
                    
75     * ```php
                    
76     * [
                    
94     *
                    
95     * ```php
                    
96     * [
                    
162        $response = Yii::$app->getResponse();
                    
163        ob_start();
                    
164        ob_implicit_flush(false);
                    
                
Standard.php https://github.com/bhaumik25/zend-framework.git | PHP | 418 lines
                    
1<?php
                    
2/**
                    
22/** Zend_Loader */
                    
23require_once 'Zend/Loader.php';
                    
24
                    
25/** Zend_Controller_Dispatcher_Abstract */
                    
26require_once 'Zend/Controller/Dispatcher/Abstract.php';
                    
27
                    
28/** Zend_Controller_Request_Abstract */
                    
29require_once 'Zend/Controller/Request/Abstract.php';
                    
30
                    
31/** Zend_Controller_Response_Abstract */
                    
32require_once 'Zend/Controller/Response/Abstract.php';
                    
33
                    
34/** Zend_Controller_Action */
                    
35require_once 'Zend/Controller/Action.php';
                    
36
                    
                
class.redux_filesystem.php https://gitlab.com/websumon/tosnib | PHP | 285 lines
                    
1<?php
                    
2
                    
30                    'type'    => 'error',
                    
31                    'msg'     => '<strong>' . __( 'File Permission Issues', 'redux-framework' ) . '</strong><br/>' . sprintf( __( 'We were unable to modify required files. Please check your permissions, or modify your wp-config.php file to contain your FTP login credentials as <a href="%s" target="_blank">outlined here</a>.', 'redux-framework' ), 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' ),
                    
32                    'id'      => 'redux-wp-login',
                    
59                    echo '<div class="wrap"><div class="error"><p>';
                    
60                    echo '<strong>' . __( 'File Permission Issues', 'redux-framework' ) . '</strong><br/>' . sprintf( __( 'We were unable to modify required files. Please ensure that <code>%1s</code> has the proper read-write permissions, or modify your wp-config.php file to contain your FTP login credentials as <a href="%2s" target="_blank">outlined here</a>.', 'redux-framework' ), Redux_Helpers::cleanFilePath( trailingslashit( WP_CONTENT_DIR ) ) . '/uploads/', 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' );
                    
61                    echo '</p></div><h2></h2>' . '</div>';
                    
71
                    
72                ob_start();
                    
73
                    
105                if ( self::$direct === null ) {
                    
106                    require_once ABSPATH . '/wp-admin/includes/class-wp-filesystem-base.php';
                    
107                    require_once ABSPATH . '/wp-admin/includes/class-wp-filesystem-direct.php';
                    
269                        'type'    => 'error',
                    
270                        'msg'     => '<strong>' . __( 'File Permission Issues', 'redux-framework' ) . '</strong><br/>' . sprintf( __( 'We were unable to modify required files. Please ensure that <code>%1s</code> has the proper read-write permissions, or modify your wp-config.php file to contain your FTP login credentials as <a href="%2s" target="_blank">outlined here</a>.', 'redux-framework' ), Redux_Helpers::cleanFilePath( trailingslashit( WP_CONTENT_DIR ) ) . '/uploads/', 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' ),
                    
271                        'id'      => 'redux-wp-login',
                    
                
 

Source

Language