PageRenderTime 906ms queryTime 517ms sortTime 10ms getByIdsTime 108ms findMatchingLines 140ms

100+ results results for 'php ob_start' (906 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);
                    
                
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(); ?>
                    
                
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">
                    
                
CaptureCache.php https://gitlab.com/faisaliqbal/mytripsorter | 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.
                    
                
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())
                    
                
class-wc-widget-layered-nav.php https://gitlab.com/iamgraeme/royalmile | PHP | 459 lines
                    
1<?php
                    
2
                    
159
                    
160		ob_start();
                    
161
                    
                
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	{
                    
                
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());
                    
                
wp_loaded.php https://gitlab.com/najomie/ljm | PHP | 281 lines
                    
1<?php
                    
2
                    
207
                    
208								ob_start();
                    
209
                    
                
class-wp-image-editor.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 403 lines
                    
1<?php
                    
2/**
                    
330		if ( $stream = wp_is_stream( $filename ) ) {
                    
331			ob_start();
                    
332		} else {
                    
                
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
                    
                
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();
                    
                
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
                    
                
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
                    
                
Debug.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 142 lines
                    
1<?php
                    
2/*
                    
61
                    
62        ob_start();
                    
63        var_dump($var);
                    
                
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();
                    
                
functions.php https://gitlab.com/VTTE/sitios-vtte | 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 */
                    
                
Abstract.php https://gitlab.com/LisovyiEvhenii/tasks | 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
                    
                
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" />
                    
                
theme.php https://gitlab.com/billyprice1/website | 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;
                    
                
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\'] ?>
                    
                
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           
                    
                
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
                    
                
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
                    
                
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?>
                    
                
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',
                    
                
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 {
                    
                
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');
                    
                
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
                    
                
class-wp-customize-panel.php https://gitlab.com/webkod3r/tripolis | 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>
                    
                
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>
                    
                
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    	}
                    
                
functions.php https://gitlab.com/m.ghanbari/mailgun-subscriber | 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 */
                    
                
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 ) ) {
                    
                
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
                    
                
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);
                    
                
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>
                    
                
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" />
                    
                
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/zenfork/vektor | PHP | 310 lines
                    
1<?php
                    
2/**
                    
107	 * Renders a view file.
                    
108	 * This method includes the view file as a PHP script
                    
109	 * and captures the display result if required.
                    
123		{
                    
124			ob_start();
                    
125			ob_implicit_flush(false);
                    
163		{
                    
164			ob_start();
                    
165			ob_implicit_flush(false);
                    
                
DebugClassLoaderTest.php https://gitlab.com/Sigpot/AirSpot | PHP | 315 lines
                    
1<?php
                    
2
                    
16
                    
17class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
                    
18{
                    
62    {
                    
63        if (PHP_VERSION_ID >= 70000) {
                    
64            $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
                    
69
                    
70        ob_start();
                    
71
                    
86        // the ContextErrorException must not be loaded to test the workaround
                    
87        // for https://bugs.php.net/65322.
                    
88        if (class_exists('Symfony\Component\Debug\Exception\ContextErrorException', false)) {
                    
110            $this->assertStringStartsWith(__FILE__, $exception->getFile());
                    
111            if (PHP_VERSION_ID < 70000) {
                    
112                $this->assertRegExp('/^Runtime Notice: Declaration/', $exception->getMessage());
                    
                
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.
                    
                
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			)
                    
                
CliDumperTest.php https://gitlab.com/khairul1105/Login_Registration_in_Laravel | 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'];
                    
                
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'); ?>
                    
                
class-wc-admin.php https://gitlab.com/najomie/ljm | 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' );
                    
                
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
                    
                
Helper.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 303 lines
                    
1<?php
                    
2
                    
95
                    
96        ob_start() && extract($data, EXTR_SKIP);
                    
97
                    
                
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>
                    
                
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
                    
                
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
                    
                
smarty_internal_parsetree.php https://gitlab.com/oytunistrator/jobberbase | 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) == '?') {
                    
                
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 );
                    
                
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    };
                    
                
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);
                    
                
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',
                    
                
response.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 294 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: response.php 77 2010-10-21 06:55:09Z nikosdion $
                    
4 * @package		Joomla.Framework
                    
6 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7 * @license		GNU/GPL, see LICENSE.php
                    
8 * Joomla! is free software. This version may have been modified pursuant
                    
11 * other free or open source software licenses.
                    
12 * See COPYRIGHT.php for copyright notices and details.
                    
13 *
                    
183
                    
184			ob_start();
                    
185			foreach ($GLOBALS['_JRESPONSE']->body as $content) {
                    
                
fixture.test.php https://gitlab.com/hakimkal/evricaevents | PHP | 373 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP(tm) Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.console.libs.tasks
                    
17 * @since         CakePHP(tm) v 1.3
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
179		$this->Task->args = array('article');
                    
180		$filename = '/my/path/article_fixture.php';
                    
181		$this->Task->expectAt(0, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));
                    
205		$this->Task->args = array('Articles');
                    
206		$filename = '/my/path/article_fixture.php';
                    
207		$this->Task->expectAt(2, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));
                    
                
notification.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 195 lines
                    
1<?php
                    
2
                    
8	public function Main() {
                    
9		require(CONTROLLER_PATH . Boot::$ControllerGroup . 'notification' . DIRECTORY_SEPARATOR . 'notification_ListRows.php');
                    
10	}
                    
35		if(isset($FormValue['node_settings'])) Backend::$NodeSettings['extra'] = $FormValue['node_settings'];
                    
36		ob_start();
                    
37		echo '<form class="form-horizontal" action="" method="post">';
                    
39		echo '<input type="hidden" name="NodeID" value="' . $NodeID . '"/>';
                    
40		include Form::$CompiledPath . 'Controller_notification_InsertNode.php';
                    
41		echo '<div class="clearfix"></div><div class="clearfix" style="text-align:center;margin:10px 0 15px 0"><input type="submit" class="btn btn-primary" value="Save"/></div>';
                    
                
action.php https://gitlab.com/asun89/socianovation-web | 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;
                    
                
page_4_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 290 lines
                    
1<?php ob_start();?>
                    
2<?php include("second_header.php"); ?>
                    
2<?php include("second_header.php"); ?>
                    
3	<?php
                    
4	session_start();
                    
5	$roll=$_SESSION['myValue']; 
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_4_2 WHERE roll='$roll'";
                    
34	?>
                    
35	<?php
                    
36	 include('connect.php');
                    
47	?>
                    
48	<?php
                    
49	?>
                    
49	?>
                    
50	<?php 
                    
51	if($sub1>=80){$result1=4.00;}
                    
                
page_3_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 290 lines
                    
1<?php ob_start();?>
                    
2<?php include("second_header.php"); ?>
                    
2<?php include("second_header.php"); ?>
                    
3	<?php
                    
4	session_start();
                    
5	$roll=$_SESSION['myValue']; 
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_3_2 WHERE roll='$roll'";
                    
34	?>
                    
35	<?php
                    
36	 include('connect.php');
                    
47	?>
                    
48	<?php
                    
49	?>
                    
49	?>
                    
50	<?php 
                    
51	if($sub1>=80){$result1=4.00;}
                    
                
class-wc-widget-top-rated-products.php https://gitlab.com/webkod3r/tripolis | PHP | 99 lines
                    
1<?php
                    
2
                    
60
                    
61		ob_start();
                    
62
                    
80				$r->the_post();
                    
81				wc_get_template( 'content-widget-product.php', array( 'show_rating' => true ) );
                    
82			}
                    
                
class-widget-job_listing-map.php https://gitlab.com/najomie/ljm | PHP | 118 lines
                    
1<?php
                    
2/**
                    
65
                    
66        ob_start();
                    
67
                    
72
                    
73    <?php if ( $map ) : ?>
                    
74    <div class="map-widget-section <?php echo $split; ?>">
                    
76    </div>
                    
77    <?php endif; ?>
                    
78
                    
78
                    
79    <?php if ( $phone || $web || $address || $directions ) : ?>
                    
80    <div class="map-widget-section <?php echo $split; ?>">
                    
80    <div class="map-widget-section <?php echo $split; ?>">
                    
81        <?php
                    
82            do_action( 'listify_widget_job_listing_map_before' );
                    
                
class-widget-ljm_repertoire-map.php https://gitlab.com/najomie/ljm | PHP | 118 lines
                    
1<?php
                    
2/**
                    
65
                    
66        ob_start();
                    
67
                    
72
                    
73    <?php if ( $map ) : ?>
                    
74    <div class="map-widget-section <?php echo $split; ?>">
                    
76    </div>
                    
77    <?php endif; ?>
                    
78
                    
78
                    
79    <?php if ( $phone || $web || $address || $directions ) : ?>
                    
80    <div class="map-widget-section <?php echo $split; ?>">
                    
80    <div class="map-widget-section <?php echo $split; ?>">
                    
81        <?php
                    
82            do_action( 'listify_widget_ljm_repertoire_map_before' );
                    
                
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			
                    
                
Class.php https://gitlab.com/florianocomercial/centreon | PHP | 244 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Class.php 20379 2010-01-18 14:40:57Z mabe $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Cache/Core.php';
                    
27
                    
218            // A cache is not available (or not valid for this frontend)
                    
219            ob_start();
                    
220            ob_implicit_flush(false);
                    
                
cron.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 409 lines
                    
1<?php
                    
2/**
                    
231
                    
232		ob_start();
                    
233		wp_redirect( add_query_arg('doing_wp_cron', $doing_wp_cron, stripslashes($_SERVER['REQUEST_URI'])) );
                    
239
                    
240		WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' );
                    
241		return;
                    
246
                    
247	$cron_url = site_url( 'wp-cron.php?doing_wp_cron=' . $doing_wp_cron );
                    
248	wp_remote_post( $cron_url, array( 'timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters( 'https_local_ssl_verify', true ) ) );
                    
259
                    
260	// Prevent infinite loops caused by lack of wp-cron.php
                    
261	if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false || ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) )
                    
                
Util.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 197 lines
                    
1<?php
                    
2
                    
25
                    
26		ob_start();
                    
27		$wp_styles->do_items( ( array ) $handles );
                    
                
Capsule.php https://gitlab.com/ahsanhamid/mereawaz | 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        
                    
                
menuXML.php https://gitlab.com/florianocomercial/centreon | PHP | 160 lines
                    
1<?php
                    
2/*
                    
35
                    
36require_once "../../../config/centreon.config.php";
                    
37
                    
37
                    
38require_once _CENTREON_PATH_."/www/include/common/common-Func.php";
                    
39
                    
39
                    
40require_once _CENTREON_PATH_."/www/class/centreonDB.class.php";
                    
41require_once _CENTREON_PATH_."/www/class/centreonXML.class.php";
                    
41require_once _CENTREON_PATH_."/www/class/centreonXML.class.php";
                    
42require_once _CENTREON_PATH_."/www/class/centreonACL.class.php";
                    
43require_once _CENTREON_PATH_."/www/class/centreon.class.php";
                    
43require_once _CENTREON_PATH_."/www/class/centreon.class.php";
                    
44require_once _CENTREON_PATH_."/www/class/centreonSession.class.php";
                    
45require_once _CENTREON_PATH_."/www/class/centreonLang.class.php";
                    
                
comments.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 159 lines
                    
9		<div id="loading" style="display:none">
                    
10			<input type="hidden" id="reload_url" value="<?php echo esc_url(home_url('index.php?social_controller=auth&social_action=reload_form&redirect_to='.get_permalink(get_the_ID()).'&post_id='.get_the_ID())); ?>" />
                    
11			<?php _e('Logging In...', 'social'); ?>
                    
37	<div id="social-tabs-comments">
                    
38		<?php 
                    
39		if (have_comments()): 
                    
89		<ul class="social-nav social-clearfix">
                    
90			<li class="social-all social-tab-main<?php echo (!isset($_GET['social_tab']) ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-all"><span><?php comments_number(__('0 Replies', 'social'), __('1 Reply', 'social'), __('% Replies', 'social')); ?></span></a></li>
                    
91			<li class="social-wordpress<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'wordpress') ? ' social-current-tab' : ''); ?>"><a href="#" rel="wordpress"><span><?php printf(_n('1 Comment', '%1$s Comments', (isset($groups['wordpress']) ? $groups['wordpress'] : 0), 'social'), (isset($groups['wordpress']) ? $groups['wordpress'] : 0)); ?></span></a></li>
                    
91			<li class="social-wordpress<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'wordpress') ? ' social-current-tab' : ''); ?>"><a href="#" rel="wordpress"><span><?php printf(_n('1 Comment', '%1$s Comments', (isset($groups['wordpress']) ? $groups['wordpress'] : 0), 'social'), (isset($groups['wordpress']) ? $groups['wordpress'] : 0)); ?></span></a></li>
                    
92			<li class="social-twitter<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-twitter') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-twitter"><span><?php printf(_n('1 Tweet', '%1$s Tweets', (isset($groups['social-twitter']) ? $groups['social-twitter'] : 0), 'social'), (isset($groups['social-twitter']) ? $groups['social-twitter'] : 0)); ?></span></a></li>
                    
93			<li class="social-facebook<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-facebook') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-facebook"><span><?php printf(_n('1 Facebook', '%1$s Facebook', (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0), 'social'), (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0)); ?></span></a></li>
                    
93			<li class="social-facebook<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-facebook') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-facebook"><span><?php printf(_n('1 Facebook', '%1$s Facebook', (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0), 'social'), (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0)); ?></span></a></li>
                    
94			<li class="social-pingback<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-pingback') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-pingback"><span><?php printf(_n('1 Pingback', '%1$s Pingbacks', (isset($groups['pingback']) ? $groups['pingback'] : 0), 'social'), (isset($groups['pingback']) ? $groups['pingback'] : 0)); ?></span></a></li>
                    
95		</ul>
                    
                
download_3_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 276 lines
                    
1<?php ob_start();?>
                    
2<?php session_start();
                    
5
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_3_2 WHERE roll='$roll'";
                    
30?>
                    
31<?php
                    
32	 include('connect.php');
                    
43	?>
                    
44	<?php 
                    
45	if($sub1>=80){$result1=4.00;}
                    
176	?>
                    
177<?php
                    
178require("fpdf/fpdf.php");
                    
                
settingsTest.php https://gitlab.com/johanlindberg/irvato-crm | PHP | 60 lines
                    
1<?php
                    
2/************************************************************************
                    
29
                    
30ob_start();
                    
31
                    
                
connector.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 87 lines
                    
1<?php
                    
2/*
                    
21 *
                    
22 * This is the File Manager Connector for PHP.
                    
23 */
                    
24
                    
25ob_start() ;
                    
26
                    
26
                    
27require('./config.php') ;
                    
28require('./util.php') ;
                    
31require('./commands.php') ;
                    
32require('./phpcompat.php') ;
                    
33
                    
34if ( !$Config['Enabled'] )
                    
35	SendError( 1, 'This connector is disabled. Please check the "editor/filemanager/connectors/php/config.php" file' ) ;
                    
36
                    
                
comments.php https://gitlab.com/webkod3r/tripolis | PHP | 74 lines
                    
1<?php
                    
2/*
                    
13	<div id="comments" class="comments-container">
                    
14		<?php
                    
15		ob_start();
                    
24		<ol class="comment-list commentlist">
                    
25			<?php wp_list_comments( 'callback=avada_comment' ); ?>
                    
26		</ol><!-- .comment-list -->
                    
27
                    
28		<?php
                    
29		if( function_exists( 'the_comments_navigation' ) ) {
                    
34
                    
35<?php endif;
                    
36
                    
38
                    
39	<p class="no-comments"><?php echo __( 'Comments are closed.', 'Avada' ); ?></p>
                    
40
                    
                
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 ;');
                    
                
helper-functions.php https://gitlab.com/websumon/tosnib | PHP | 308 lines
                    
1<?php
                    
2/**
                    
31
                    
32	include_once( cmb2_dir( "includes/{$class_name}.php" ) );
                    
33}
                    
221
                    
222	ob_start();
                    
223	// Get cmb form
                    
                
libgd00100.php https://gitlab.com/iranjith4/hhvm | PHP | 109 lines
                    
1<?php
                    
2$im = imagecreatetruecolor(256, 256);
                    
100
                    
101ob_start();
                    
102imagepng($im);
                    
                
VarCloner.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 300 lines
                    
1<?php
                    
2
                    
143                    case 'object':
                    
144                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
145                            $stub = new Stub();
                    
159                                } else {
                    
160                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
161                                }
                    
276        $obj = (object) array();
                    
277        self::$hashOffset = 16 - PHP_INT_SIZE;
                    
278        self::$hashMask = -1;
                    
282        } else {
                    
283            // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below
                    
284            $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');
                    
284            $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');
                    
285            foreach (debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS : false) as $frame) {
                    
286                if (isset($frame['function'][0]) && !isset($frame['class']) && 'o' === $frame['function'][0] && in_array($frame['function'], $obFuncs)) {
                    
                
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');
                    
                
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);
                    
                
ArrBDD.php https://github.com/darkredz/ArrBDD.git | PHP | 267 lines
                    
1<?php
                    
2/**
                    
5 * @author Leng Sheng Hong <darkredz@gmail.com>
                    
6 * @link http://www.doophp.com/arr-bdd
                    
7 * @copyright Copyright &copy; 2011 Leng Sheng Hong
                    
7 * @copyright Copyright &copy; 2011 Leng Sheng Hong
                    
8 * @license http://www.doophp.com/license
                    
9 * @since 0.1
                    
12/**
                    
13 * ArrBDD - a simple BDD library utilizing PHP associative arrays and closures
                    
14 *
                    
92            if( $includeSubject ){
                    
93                ob_start();
                    
94                $this->exportSubject($subject);
                    
127                    if( $includeSubject ){
                    
128                        ob_start();
                    
129                        $this->exportSubject($_subject);
                    
                
PMA_SetupIndex_test.php https://gitlab.com/luyxtran264/myproject | PHP | 397 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
3/**
                    
4 * tests for methods under setup/lib/index.lib.php
                    
5 *
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
14
                    
15require_once 'libraries/sanitizing.lib.php';
                    
16require_once 'libraries/config/config_functions.lib.php';
                    
16require_once 'libraries/config/config_functions.lib.php';
                    
17require_once 'setup/lib/index.lib.php';
                    
18require_once 'libraries/sanitizing.lib.php';
                    
20/**
                    
21 * tests for methods under setup/lib/index.lib.php
                    
22 *
                    
                
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;
                    
                
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			
                    
                
Reporting.php https://gitlab.com/yousafsyed/easternglamor | PHP | 318 lines
                    
19} else {
                    
20    include_once 'PHP/CodeSniffer.php';
                    
21}
                    
109     * 
                    
110     * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed.
                    
111     * @param array                $cliValues An array of command line arguments.
                    
114     */
                    
115    public function cacheFileReport(PHP_CodeSniffer_File $phpcsFile, array $cliValues)
                    
116    {
                    
232     *
                    
233     * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed.
                    
234     *
                    
236     */
                    
237    public function prepareFileReport(PHP_CodeSniffer_File $phpcsFile)
                    
238    {
                    
                
js.php https://gitlab.com/michield/dokuwiki | PHP | 378 lines
                    
1<?php
                    
2/**
                    
12if(!defined('DOKU_DISABLE_GZIP_OUTPUT')) define('DOKU_DISABLE_GZIP_OUTPUT',1); // we gzip ourself here
                    
13require_once(DOKU_INC.'inc/init.php');
                    
14
                    
86    // start output buffering and build the script
                    
87    ob_start();
                    
88
                    
196        if (isset($lang)) unset($lang);
                    
197        if (@file_exists(DOKU_PLUGIN."$p/lang/en/lang.php")) {
                    
198            include DOKU_PLUGIN."$p/lang/en/lang.php";
                    
199        }
                    
200        if (isset($conf['lang']) && $conf['lang']!='en' && @file_exists(DOKU_PLUGIN."$p/lang/".$conf['lang']."/lang.php")) {
                    
201            include DOKU_PLUGIN."$p/lang/".$conf['lang']."/lang.php";
                    
                
em-event-post.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 289 lines
                    
1<?php
                    
2/**
                    
39	/**
                    
40	 * Overrides the default post format of an event and can display an event as a page, which uses the page.php template.
                    
41	 * @param string $template
                    
46		if( !locate_template('single-'.EM_POST_TYPE_EVENT.'.php') && $post->post_type == EM_POST_TYPE_EVENT ){
                    
47			$template = locate_template(array('page.php','index.php'),false);
                    
48		}
                    
74					$EM_Event = em_get_event($post);
                    
75					ob_start();
                    
76					em_locate_template('templates/event-single.php',true);
                    
                
 

Source

Language