PageRenderTime 165ms queryTime 12ms sortTime 10ms getByIdsTime 25ms findMatchingLines 26ms

100+ results results for 'php glob repo:kennydib/kanui' (165 ms)

Not the results you expected?
AdminCarriers.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 298 lines
                    
1<?php
                    
2
                    
3/**
                    
4  * Carriers tab for admin panel, AdminCarriers.php
                    
5  * @category admin
                    
8  * @copyright PrestaShop
                    
9  * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0
                    
10  * @version 1.3
                    
13
                    
14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php');
                    
15
                    
21	{
                    
22		global $cookie;
                    
23
                    
48	{
                    
49		global $currentIndex, $cookie;
                    
50		parent::displayForm();
                    
                
admin.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 434 lines
                    
1<?php
                    
2/**
                    
14 */
                    
15//require_once dirname(__FILE__) . DS . 'factory.php';
                    
16
                    
18 * JFusion Admin class for Magento 1.1
                    
19 * For detailed descriptions on these functions please check the model.abstractadmin.php
                    
20 * @package JFusion_Magento
                    
48			$params = array();
                    
49			$params['database_host']  = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->host[0]->data();
                    
50			$params['database_name']  = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->dbname[0]->data();
                    
50			$params['database_name']  = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->dbname[0]->data();
                    
51			$params['database_user']  = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->username[0]->data();
                    
52			$params['database_password']= (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->password[0]->data();
                    
52			$params['database_password']= (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->password[0]->data();
                    
53			$params['database_prefix']  = (string)$xml->document->global[0]->resources[0]->db[0]->table_prefix[0]->data();
                    
54			$params['database_type']  = "mysql";
                    
                
tab-screen.css http://simpleinvoices.googlecode.com/svn/trunk/ | CSS | 793 lines
                    
64
                    
65/* GLOBALS & GENERAL CASES
                    
66-------------------------------------------------*/
                    
195
                    
196/* Old PHP Reports CSS  - uses class="reportTable" */
                    
197	
                    
216
                    
217/* New PHPreports CSS - uses ID="pg2" or "pg1"  - Although HEADER and FOOTER are used now instead of PAGE_LAYER, it is left as is for compatibility */
                    
218
                    
                
index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
                    
40
                    
41require_once('../../include/init.php');
                    
42require_once('../../include/timezones.php');
                    
61    }
                    
62  setcookie("SV_THEME", $user_theme, time() + 60*60*24*365, $GLOBALS['sys_url_topdir']);
                    
63
                    
179print $HTML->box_nextitem(utils_get_alt_row_color($i));
                    
180print '<a href="change.php?item=gpgkey">'._("Edit GPG Key").'</a>';
                    
181print '<p class="smaller">';
                    
213print $HTML->box_nextitem(utils_get_alt_row_color($i));
                    
214print '<a href="change.php?item=realname">'._("Change Real Name").'</a>';
                    
215print '<p class="smaller">'.sprintf(_("You are %s."), '<strong>'.$row_user['realname'].'</strong>').'</p>';
                    
325    {
                    
326      print utils_link($GLOBALS['sys_home'].'support/?group='.$GLOBALS['sys_unix_group_name'],
                    
327		       sprintf(_("%s administrators should be asked to take care of Savane CSS Guidelines, since it is the default theme"), $GLOBALS['sys_name']), "warn");
                    
                
index.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
                    
43/* Check for config */
                    
44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) {
                    
45	/* redirect to installer */
                    
69/* Prevent superglobal poisoning before extraction */
                    
70globalSec('Main index.php', 1);
                    
71/* Access to form vars if register globals is off */
                    
88	}
                    
89	/* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */
                    
90	date_default_timezone_set("$server_timezone");
                    
294			print $rel_path;
                    
295?>admin/jscript/public.js.php<?php
                    
296			if (isset($s)) {
                    
311		print $rel_path;
                    
312?>admin/themes/style.php?theme=<?php
                    
313		print $site_theme;
                    
                
HTMLDefinitionTest.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 348 lines
                    
1<?php
                    
2
                    
101
                    
102    function assertPurification_AllowedAttributes_global_style()
                    
103    {
                    
106
                    
107    function test_AllowedAttributes_global_preferredSyntax()
                    
108    {
                    
110        $this->config->set('HTML.AllowedAttributes', 'style');
                    
111        $this->assertPurification_AllowedAttributes_global_style();
                    
112    }
                    
113
                    
114    function test_AllowedAttributes_global_verboseSyntax()
                    
115    {
                    
117        $this->config->set('HTML.AllowedAttributes', '*@style');
                    
118        $this->assertPurification_AllowedAttributes_global_style();
                    
119    }
                    
                
grid.custom.js https://hg01.codeplex.com/razorpad | JavaScript | 0 lines
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl-2.0.html
                    
9**/
                    
10/*global jQuery, $ */
                    
11
                    
                
write.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 284 lines
                    
17 */
                    
18global $file_lang_tran_no_comp;
                    
19$file_lang_tran_no_comp = array();
                    
33{
                    
34    global $module_name, $db, $language_array, $global_config, $include_lang, $lang_module, $file_lang_tran_no_comp, $array_lang_exit, $array_lang_no_check;
                    
35    list( $module, $admin_file, $langtype, $author_lang ) = $db->sql_fetchrow( $db->sql_query( "SELECT `module`, `admin_file`, `langtype`, `author_" . $dirlang . "` FROM `" . NV_LANGUAGE_GLOBALTABLE . "_file` WHERE `idfile` ='" . intval( $idfile ) . "'" ) );
                    
53        $include_lang = "";
                    
54        $modules_exit = nv_scandir( NV_ROOTDIR . "/modules", $global_config['check_module'] );
                    
55        
                    
73        {
                    
74            $include_lang = NV_ROOTDIR . "/language/" . $dirlang . "/" . $module . ".php";
                    
75        }
                    
273    }
                    
274    include ( NV_ROOTDIR . "/includes/header.php" );
                    
275    echo nv_admin_theme( $contents );
                    
                
Context.cs http://flashdevelop.googlecode.com/svn/trunk/FD4/ | C# | 390 lines
                    
13
                    
14namespace PHPContext
                    
15{
                    
19        new static readonly protected Regex re_CMD_BuildCommand =
                    
20            new Regex("@php[\\s]+(?<params>.*)", RegexOptions.Compiled | RegexOptions.Multiline);
                    
21
                    
25        private ContextSettings langSettings;
                    
26        private List<InlineRange> phpRanges; // inlined PHP ranges in HTML
                    
27
                    
186            phpRanges = new List<InlineRange>();
                    
187            return PhpFilter.FilterSource(src, phpRanges);
                    
188        }
                    
197        {
                    
198            PhpFilter.FilterSource(model, phpRanges);
                    
199        }
                    
                
features.inc http://drawshield.googlecode.com/svn/trunk/ | PHP | 270 lines
                    
1<?php /* Copyright 2010 Karl R. Wilcox
                    
2
                    
16function get_features ( $feature_sets, &$node ) {
                    
17  global $dom;
                    
18  global $pending_items;
                    
                
MDB2Store.php http://hppg.googlecode.com/svn/trunk/ | PHP | 414 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
15
                    
16require_once 'lib/core/lhexternal/MDB2.php';
                    
17
                    
20 */
                    
21require_once 'lib/core/lhexternal/Auth/OpenID/Interface.php';
                    
22
                    
25 */
                    
26require_once 'lib/core/lhexternal/Auth/OpenID.php';
                    
27
                    
30 */
                    
31require_once 'lib/core/lhexternal/Auth/OpenID/Nonce.php';
                    
32
                    
                
jquery.blockUI.js http://vispell.googlecode.com/svn/trunk/ | JavaScript | 399 lines
                    
8 * Dual licensed under the MIT and GPL licenses:
                    
9 * http://www.opensource.org/licenses/mit-license.php
                    
10 * http://www.gnu.org/licenses/gpl.html
                    
23
                    
24// global $ methods for blocking/unblocking the entire page
                    
25$.blockUI   = function(opts) { install(window, opts); };
                    
                
FormOptionsHelper.php git://github.com/phpwax/phpwax.git | PHP | 273 lines
                    
1<?php
                    
2/**
                    
3 *
                    
4 * @package PHP-Wax
                    
5 * @author Ross Riley
                    
10 */
                    
11if(!array_key_exists('COUNTRIES',$GLOBALS)) {
                    
12    $GLOBALS['COUNTRIES'] = 
                    
122	  if($with_label) $html.= $this->make_label($with_label);
                    
123	  $html.= $this->options_for_select($GLOBALS['COUNTRIES'], $options);
                    
124		return $html;
                    
                
AdminCarts.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 286 lines
                    
1<?php
                    
2
                    
3/**
                    
4  * Customers tab for admin panel, AdminContacts.php
                    
5  * @category admin
                    
8  * @copyright PrestaShop
                    
9  * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0
                    
10  * @version 1.3
                    
13
                    
14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php');
                    
15
                    
44	{
                    
45		global $currentIndex, $cookie;
                    
46
                    
142									'product_mini_'.intval($product['id_product']).(isset($product['id_product_attribute']) ? '_'.intval($product['id_product_attribute']) : '').'.jpg', 45, 'jpg') : '--').'</td>
                    
143									<td><a href="index.php?tab=AdminCatalog&id_product='.$product['id_product'].'&updateproduct&token='.$tokenCatalog.'">
                    
144										<span class="productName">'.$product['name'].'</span><br />
                    
                
mkdist.php git://pkgs.fedoraproject.org/php | PHP | 549 lines
                    
15
                    
16$dist_dir = $build_dir . "/php-" . phpversion();
                    
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
                    
215$phplib = str_replace(".dll", ".lib", $phpdll);
                    
216copy("$build_dir/$phplib", "$dist_dir/dev/$phplib");
                    
217/* debug builds; copy the symbols too */
                    
240	"win32/install.txt" => "install.txt",
                    
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
                    
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
                    
461}
                    
462copy('run-tests.php', $test_dir . '/run-test.php');
                    
463
                    
495
                    
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
                    
497	 * broken out of the tarballs */
                    
                
select_giomag.php http://gevion.googlecode.com/svn/trunk/ | PHP | 207 lines
                    
1<?php
                    
2/* $Id: select_giomag.php,v 1.16 2010/01/17 17:27:04 devincen Exp $
                    
24*/
                    
25require("../../library/include/datlib.inc.php");
                    
26$admin_aziend=checkAdmin();
                    
30    {
                    
31        global $gTables,$admin_aziend;
                    
32        $m=array();
                    
112                                     );
                    
113    header("Location: sent_print.php");
                    
114    exit;
                    
116
                    
117require("../../library/include/header.php");
                    
118$script_transl=HeadMain(0,array('calendarpopup/CalendarPopup'));
                    
                
permissions_phpbb.php http://twpug.googlecode.com/svn/trunk/ | PHP | 219 lines
                    
1<?php
                    
2if (empty($lang) || !is_array($lang))
                    
43*		'acl_bug_view'		=> array('lang' => 'Can view bug reports', 'cat' => 'bugs'),
                    
44*		'acl_bug_post'		=> array('lang' => 'Can post bugs', 'cat' => 'post'), // Using a phpBB category here
                    
45*	));
                    
166	'acl_m_warn'	=> array('lang' => '??????', 'cat' => 'misc'),
                    
167	'acl_m_ban'		=> array('lang' => '??????', 'cat' => 'misc'), // This moderator setting is only global (and not local)
                    
168));
                    
174	'acl_a_jabber'		=> array('lang' => '????Jabber??', 'cat' => 'settings'),
                    
175	'acl_a_phpinfo'		=> array('lang' => '????php??', 'cat' => 'settings'),
                    
176
                    
                
login.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 257 lines
                    
71    {
                    
72      fb(sprintf(_("Savane thinks your cookies are not activated for %s. To log-in, we need you to activate cookies in your web browser for this website. Please do so and click here:"), $sys_default_domain).' '.$GLOBALS['sys_https_url'].$GLOBALS['sys_home'].'account/login.php?uri='.$uri, 1);
                    
73    }
                    
108              setcookie('SV_THEME', $theme, time() + 60*60*24,
                    
109                $GLOBALS['sys_home'], $GLOBALS['sys_default_domain']);
                    
110            }
                    
132	      # Go there saying hello to your brother
                    
133	      header ("Location: ".$http."://".$GLOBALS['sys_brother_domain'].$GLOBALS['sys_home']."/account/login.php?session_uid=".user_getid()."&session_hash=".$GLOBALS['session_hash']."&cookie_for_a_year=$cookie_for_a_year&from_brother=1&login=1&stay_in_ssl=$stay_in_ssl&brotherhood=1&uri=".urlencode($uri));
                    
134	      exit;
                    
195	'<li class="boxitem">'._("Did you forget or misspell your password?").'<br />'.utils_link('lostpw.php', _("You can recover your password using the lost password form.")).'</li>'.
                    
196	'<li class="boxitemalt">'._("Still having trouble?").'<br />'.utils_link($GLOBALS['sys_home'].'support/?group='.$GLOBALS['sys_unix_group_name'],  _("Fill a support request.")).'</li>';
                    
197      print '</ul></div>';
                    
205}
                    
206print '<form action="'.$GLOBALS['sys_https_url'].$GLOBALS['sys_home'].'account/login.php" method="post">';
                    
207print '<input type="hidden" name="uri" value="'.htmlspecialchars($uri, ENT_QUOTES).'" />';
                    
                
XMemory_8hpp_source.html git://pkgs.fedoraproject.org/xqilla | HTML | 111 lines
                    
6</head><body>
                    
7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
                    
8<!-- Generated by Doxygen 1.6.1 -->
                    
21      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
                    
22      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
                    
23    </ul>
                    
                
nodes.inc.php git://pkgs.fedoraproject.org/zabbix | PHP | 350 lines
                    
1<?php
                    
2/*
                    
54
                    
55	global $ZBX_LOCALNODEID, $ZBX_LOCMASTERID, $ZBX_CURRENT_NODEID, $ZBX_CURMASTERID, $ZBX_NODES, $ZBX_NODES_IDS,
                    
56			$ZBX_AVAILABLE_NODES, $ZBX_VIEWED_NODES, $ZBX_WITH_ALL_NODES;
                    
116function get_current_nodeid($force_all_nodes = null, $perm = null) {
                    
117	global $ZBX_CURRENT_NODEID, $ZBX_AVAILABLE_NODES, $ZBX_VIEWED_NODES;
                    
118
                    
150function get_viewed_nodes() {
                    
151	global $ZBX_LOCALNODEID;
                    
152
                    
191function get_node_name_by_elid($id_val, $force_with_all_nodes = null, $delimiter = '') {
                    
192	global $ZBX_NODES, $ZBX_VIEWED_NODES;
                    
193
                    
206function getNodeIdByNodeName($nodeName) {
                    
207	global $ZBX_NODES;
                    
208
                    
                
kfmDirectory.php http://kv-webme.googlecode.com/svn/trunk/ | PHP | 364 lines
                    
52		if($file=='.'||$file=='..')return false;
                    
53		foreach($GLOBALS['kfm']->setting('banned_folders') as $ban){
                    
54			if(($ban[0]=='/' || $ban[0]=='@')&&preg_match($ban,$file))return false;
                    
98		if(is_dir($this->path()))return $this->error('failed to delete directory '.$this->path());
                    
99		$GLOBALS['kfm']->db->exec("delete from ".KFM_DB_PREFIX."directories where id=".$this->id);
                    
100		return true;
                    
192		$pid=$this->pid;
                    
193		if(!$pid)return $GLOBALS['rootdir'];
                    
194		while($pid>1){
                    
313		// { update database and kfmDirectory object
                    
314			$GLOBALS['kfm']->db->query("update ".KFM_DB_PREFIX."directories set parent=".$newParent->id." where id=".$this->id) or die('error: '.print_r($GLOBALS['kfmdb']->errorInfo(),true));
                    
315			$this->pid=$newParent->id;
                    
353	function maxWidth(){
                    
354		return $this->maxWidth > 0 ? $this->maxWidth : $GLOBALS['kfm']->setting('max_image_upload_width');
                    
355	}
                    
                
games.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 275 lines
                    
1<?php
                    
2
                    
4
                    
5include_once("modules/tournament2/class_tournament.php");
                    
6$tfunc = new tfunc;
                    
9function WriteGame() {
                    
10	global $spieler1, $gameid1, $score1, $spieler1_id, $i, $tournamentid, $game, $dsp, $auth, $lang;
                    
11
                    
46			else $score_output = "$score1 : $score2 ";
                    
47			$score_output .= $dsp->FetchSpanButton(t('Details'), "index.php?mod=tournament2&action=submit_result&step=1&tournamentid=$tournamentid&gameid1=$gameid1&gameid2=$gameid2");
                    
48		}
                    
56function WriteRoundHeadline($headline, $akt_round){
                    
57	global $tournament, $dsp, $func, $lang, $map, $tfunc;
                    
58
                    
69function WritePairs ($bracket, $max_pos) {
                    
70	global $dsp, $db, $tournamentid, $tfunc, $akt_round, $lang, $func, $map, $tournament, $i, $game;
                    
71
                    
                
instrumentation.cpp git://github.com/facebook/hiphop-php.git | C++ | 335 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
21
                    
22namespace HPHP {
                    
23namespace VM {
                    
                
update_7.inc git://pkgs.fedoraproject.org/drupal6-drush | Pascal | 318 lines
                    
1<?php
                    
2// $Id: update_7.inc,v 1.30 2010/12/30 18:28:08 greg1anderson Exp $
                    
4 * @file
                    
5 *   Update.php for provisioned sites.
                    
6 *   This file is a derivative of the standard drupal update.php,
                    
11/**
                    
12 * Global flag to identify update.php run, and so avoid various unwanted
                    
13 * operations, such as hook_init() and hook_exit() invokes, css/js preprocessing
                    
14 * and translation, and solve some theming issues. This flag is checked on several
                    
15 * places in Drupal code (not just update.php).
                    
16 */
                    
20 * Returns (and optionally stores) extra requirements that only apply during
                    
21 * particular parts of the update.php process.
                    
22 */
                    
38 * The schema version will not be updated in this case, and all the
                    
39 * aborted updates will continue to appear on update.php as updates that
                    
40 * have not yet been run.
                    
                
bethsoftvid.c git://github.com/xbmc/xbmc.git | C | 296 lines
                    
25 * @author Nicholas Tung [ntung (at. ntung com] (2007-03)
                    
26 * @see http://wiki.multimedia.cx/index.php?title=Bethsoft_VID
                    
27 * @see http://www.svatopluk.com/andux/docs/dfvid.html
                    
48     * to free, unofficial documentation) */
                    
49    int bethsoft_global_delay;
                    
50    int video_index;        /**< video stream index */
                    
79    vid->height  = avio_rl16(pb);
                    
80    vid->bethsoft_global_delay = avio_rl16(pb);
                    
81    avio_rl16(pb);
                    
132    // get the current packet duration
                    
133    duration = vid->bethsoft_global_delay + avio_rl16(pb);
                    
134
                    
                
friend.php http://praized.googlecode.com/svn/trunk/ | PHP | 358 lines
                    
1<?php
                    
2/**
                    
15 * 
                    
16 * <code><?php if ( pzdc_has_friend() ) : ?>...<?php endif; ?></code>
                    
17 *
                    
17 *
                    
18 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib)
                    
19 * @return boolean
                    
22function pzdc_has_friend($identifier = FALSE) {
                    
23    global $PraizedCommunity;
                    
24    return $PraizedCommunity->tpt_has_friend();
                    
29 * 
                    
30 * <code><?php $friend_object = pzdc_friend(); ?></code>
                    
31 *
                    
31 *
                    
32 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib)
                    
33 * @return mixed Boolean FALSE or Object Current friend (see params)
                    
                
google_base_feed_builder.php http://google-checkout-oscommerce.googlecode.com/svn/trunk/ | PHP | 362 lines
                    
1<?php
                    
2/*
                    
21 * Google Checkout v1.5.0
                    
22 * $Id: google_base_feed_builder.php 224 2009-03-11 16:31:28Z ed.davisson $
                    
23 * 
                    
75
                    
76require_once(DIR_FS_CATALOG . 'googlecheckout/library/xml/google_xml_builder.php');
                    
77
                    
142
                    
143    // Required, global namespace.
                    
144    $this->add_title($product);
                    
                
_g_screen_class_8h-source.html git://github.com/Ares-Developers/YRpp.git | HTML | 138 lines
                    
57    <li>
                    
58      <form action="search.php" method="get">
                    
59        <table cellspacing="0" cellpadding="0" border="0">
                    
71      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
                    
72      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
                    
73    </ul>
                    
84<a name="l00010"></a>00010         <span class="comment">//Static</span>
                    
85<a name="l00011"></a><a class="code" href="class_g_screen_class.html#d6566f322cab2232196e8d74c5822111">00011</a>         <span class="keyword">static</span> <a class="code" href="class_g_screen_class.html">GScreenClass</a>* <a class="code" href="class_g_screen_class.html#d6566f322cab2232196e8d74c5822111">Global</a>()
                    
86<a name="l00012"></a>00012                 { <span class="keywordflow">return</span> (<a class="code" href="class_g_screen_class.html">GScreenClass</a>*)0x87F7E8; }
                    
                
Command.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 512 lines
                    
1<?php
                    
2
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
486        $commandXML->setAttribute('id', $this->getFullName());
                    
487        $commandXML->setAttribute('namespace', $this->getNamespace() ? $this->getNamespace() : '_global');
                    
488        $commandXML->setAttribute('name', $this->getName());
                    
                
_blit_trans_xlat_write_alpha_8h-source.html git://github.com/Ares-Developers/YRpp.git | HTML | 131 lines
                    
57    <li>
                    
58      <form action="search.php" method="get">
                    
59        <table cellspacing="0" cellpadding="0" border="0">
                    
71      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
                    
72      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
                    
73    </ul>
                    
                
fr.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 93 lines
                    
1<?php
                    
2
                    
2
                    
3global $_MODULE;
                    
4$_MODULE = array();
                    
                
merge_dico.inc http://twpug.googlecode.com/svn/trunk/ | PHP | 209 lines
                    
1<?php
                    
2
                    
7function handle_lang_rec($lang_rec) {
                    
8    global $idx_dico,$dico,$totrx,$perform_approx,$old_totrx,$empty;
                    
9    global $found,$notfound,$auto,$approx_count,$default_key;
                    
72function insert_in_sugar_terms($sugar_lang_rec,$text) {
                    
73        global $translationKey,$version_id,$sql_values;
                    
74        //Escape the test to be inserted
                    
76        //replace the file name by the translation file name
                    
77        $file_name = ereg_replace("[^\\./]+.lang.php$", $translationKey.".lang.php", $sugar_lang_rec->file);
                    
78        //values are the same key 
                    
125    msg("($count) translated values have been found in the 'To Translate' (sugar_lang_trx) table.");
                    
126    msg("You should commit or clear the existing values in the <A href=totrx.php>To Translate module</A>.");
                    
127    $arr_old_to_trx = query_db("SELECT ref FROM sugar_lang_trx where trx != ''");
                    
                
mostlyce.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2/**
                    
12global $mosConfig_live_site, $jspath, $mosConfig_absolute_path, $adminside;
                    
13include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
14
                    
48function botmostlyceEditorInit() {
                    
49	global $mosConfig_live_site, $my, $database, $mosConfig_absolute_path, $jspath;
                    
50	global $adminside, $mosConfig_secret, $mosConfig_cachetime;
                    
50	global $adminside, $mosConfig_secret, $mosConfig_cachetime;
                    
51	include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
52
                    
172	Notes: 
                    
173	* The TinyMCE PHP gzip compressor cannot and will not work if zlib compression is already enabled on the server.
                    
174	* If they requested editor compression run the checks otherwise don't waste the cycles
                    
260		function fileBrowserCallBack(field_name, url, type, win) {
                    
261		var connector = "$jspath/mambots/editors/mostlyce/jscripts/tiny_mce/filemanager/browser.php?Connector=connectors/php/connector.php";
                    
262		var enableAutoTypeSelection = false;
                    
                
Common.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 519 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
                    
6 *
                    
7 * PHP versions 4 and 5
                    
8 *
                    
8 *
                    
9 * LICENSE: This source file is subject to version 3.01 of the PHP license
                    
10 * that is available through the world-wide-web at the following URI:
                    
10 * that is available through the world-wide-web at the following URI:
                    
11 * http://www.php.net/license/3_01.txt If you did not receive a copy of
                    
12 * the PHP License and are unable to obtain it through the web, please
                    
12 * the PHP License and are unable to obtain it through the web, please
                    
13 * send a note to license@php.net so we can mail you a copy immediately.
                    
14 * 
                    
18 * @copyright   2001-2009 The PHP Group
                    
19 * @license     http://www.php.net/license/3_01.txt PHP License 3.01
                    
20 * @version     CVS: $Id: Common.php 137 2009-11-09 13:24:37Z vanpouckesven $
                    
                
user_import.php http://avecms.googlecode.com/svn/trunk/ | PHP | 344 lines
                    
1<?php
                    
2
                    
5$csv_available_fields = array(
                    
6	'Id'          => $GLOBALS['config_vars']['UserImport_Id'],
                    
7	'password'    => $GLOBALS['config_vars']['UserImport_Kennwort'],
                    
7	'password'    => $GLOBALS['config_vars']['UserImport_Kennwort'],
                    
8	'email'       => $GLOBALS['config_vars']['UserImport_Email'],
                    
9	'street'      => $GLOBALS['config_vars']['UserImport_Strasse'],
                    
9	'street'      => $GLOBALS['config_vars']['UserImport_Strasse'],
                    
10	'street_nr'   => $GLOBALS['config_vars']['UserImport_HausNr'],
                    
11	'zipcode'     => $GLOBALS['config_vars']['UserImport_Postleitzahl'],
                    
11	'zipcode'     => $GLOBALS['config_vars']['UserImport_Postleitzahl'],
                    
12	'city'        => $GLOBALS['config_vars']['UserImport_City'],
                    
13	'phone'       => $GLOBALS['config_vars']['UserImport_Telefon'],
                    
13	'phone'       => $GLOBALS['config_vars']['UserImport_Telefon'],
                    
14	'telefax'     => $GLOBALS['config_vars']['UserImport_Telefax'],
                    
15	'description' => $GLOBALS['config_vars']['UserImport_Bemerkungen'],
                    
                
dir.c https://github.com/php/php-src.git | C | 581 lines
                    
51#ifdef ZTS
                    
52#define DIRG(v) ZEND_TSRMG(dir_globals_id, php_dir_globals *, v)
                    
53int dir_globals_id;
                    
55#define DIRG(v) (dir_globals.v)
                    
56php_dir_globals dir_globals;
                    
57#endif
                    
122#ifdef ZTS
                    
123	ts_allocate_id(&dir_globals_id, sizeof(php_dir_globals), NULL, NULL);
                    
124#endif
                    
184/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */
                    
185#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR)
                    
186
                    
458			   We don't want to treat GLOB_NOMATCH as an error condition
                    
459			   so that PHP glob() behaves the same on both types of
                    
460			   implementations and so that 'foreach (glob() as ...'
                    
                
marshall.inc http://drawshield.googlecode.com/svn/trunk/ | PHP | 282 lines
                    
1<?php /* Copyright 2010 Karl R. Wilcox
                    
2
                    
15function plain() {
                    
16  global $dom, $p_globals;
                    
17
                    
24    comma();
                    
25    $p_globals['offield'] = deep_copy($field->firstChild);
                    
26    $plain->appendChild ( $field );
                    
45function overall() {
                    
46  global $dom;
                    
47
                    
68function quartered() {
                    
69  global $dom;
                    
70
                    
153function halved() {
                    
154  global $dom;
                    
155
                    
                
MaildirFolderTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
199
                    
200    public function testGlobalName()
                    
201    {
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
206        } catch (\Exception $e) {
                    
207            $this->fail('exception raised while selecting existing folder and getting global name');
                    
208        }
                    
231        foreach ($iterator as $localName => $folder) {
                    
232            if (!isset($search_folders[$folder->getGlobalName()])) {
                    
233                continue;
                    
                
jquery.rating.js http://xbat-devel.googlecode.com/svn/trunk/ | JavaScript | 241 lines
                    
4 * Dual licensed under the MIT and GPL licenses:
                    
5 *   http://www.opensource.org/licenses/mit-license.php
                    
6 *   http://www.gnu.org/licenses/gpl.html
                    
10*//*
                    
11	Based on http://www.phpletter.com/Demo/Jquery-Star-Rating-Plugin/
                    
12 Original comments:
                    
12 Original comments:
                    
13	This is hacked version of star rating created by <a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">Ritesh Agrawal</a>
                    
14	It thansform a set of radio type input elements to star rating type and remain the radio element name and value,
                    
84			{}/* new object */,
                    
85			$.rating/* global settings */,
                    
86			instanceSettings || {} /* just-in-time settings */
                    
                
chapter9.html http://ds-pro-chat.googlecode.com/svn/trunk/ | HTML | 169 lines
                    
14 <ul id="mainmenu">
                    
15  <li><a href="http://www.christian-seiler.de/projekte/php/bbcode/index_en.html">Project homepage</a></li>
                    
16  <li><a href="chapter1.html">Documentation</a></li>
                    
16  <li><a href="chapter1.html">Documentation</a></li>
                    
17  <li><a href="../phpdoc/index.html">PHPDOC Documentation</a></li>
                    
18  <li><a href="http://www.christian-seiler.de/projekte/php/bbcode/download_en.html">Download</a></li>
                    
56      <li><a href="chapter6.html#flags">6.2 List of all flags</a></li>
                    
57      <li><a href="chapter6.html#global">6.2 Global flags</a></li>
                    
58    </ul></li>
                    
82<h3 id="example"><a name="example">9.1 Example</a></h3>
                    
83<p class="php"><code>// Unify line breaks of different operating systems<br>
                    
84function convertlinebreaks ($text) {<br>
                    
                
lib.php git://pkgs.fedoraproject.org/moodle | PHP | 318 lines
                    
1<?php
                    
2
                    
29
                    
30require_once($CFG->libdir.'/flickrlib.php');
                    
31
                    
45    public function __construct($repositoryid, $context = SYSCONTEXTID, $options = array()) {
                    
46        global $SESSION, $CFG;
                    
47        $options['page']    = optional_param('p', 1, PARAM_INT);
                    
57
                    
58        $this->flickr = new phpFlickr($this->api_key, $this->secret, $this->token);
                    
59
                    
130     */
                    
131    public function global_search() {
                    
132        if (empty($this->token)) {
                    
156    /**
                    
157     * Converts result received from phpFlickr::photo_search to Filepicker/repository format
                    
158     *
                    
                
computer.class.php git://pkgs.fedoraproject.org/glpi-pdf | PHP | 260 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * @version $Id: computer.class.php 322 2012-04-06 17:03:33Z remi $
                    
5 -------------------------------------------------------------------------
                    
52   static function pdfMain(PluginPdfSimplePDF $pdf, Computer $computer){
                    
53      global $DB, $LANG;
                    
54
                    
162   static function pdfDevice(PluginPdfSimplePDF $pdf, Computer $computer) {
                    
163      global $DB, $LANG;
                    
164
                    
                
dbUserPage.cs https://hg.codeplex.com/mojoportal | C# | 280 lines
                    
5/// The use and distribution terms for this software are covered by the 
                    
6/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7/// which can be found in the file CPL.TXT at the root of this distribution.
                    
19using System.Configuration;
                    
20using System.Globalization;
                    
21using System.IO;
                    
                
sysvmsg.c git://pkgs.fedoraproject.org/php | C | 478 lines
                    
10  | http://www.php.net/license/3_01.txt                                  |
                    
11  | If you did not receive a copy of the PHP license and are unable to   |
                    
12  | obtain it through the world-wide-web, please send a note to          |
                    
25#include "php.h"
                    
26#include "php_globals.h"
                    
27#include "ext/standard/info.h"
                    
145{
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
415
                    
416		/* NB: php_msgbuf is 1 char bigger than a long, so there is no need to
                    
417		 * allocate the extra byte. */
                    
                
admin.inc git://pkgs.fedoraproject.org/sahana | PHP | 305 lines
                    
27	if(isset($_REQUEST['submod']) && isset($_REQUEST['seq'])){
                    
28		global $global;
                    
29		include_once ($global['approot'].'/mod/gis/plugins/'.$_REQUEST['submod'].'/admin.inc');
                    
42	{
                    
43		global $global;
                    
44		shn_gis_adm_show_mod_menu();
                    
67<?php
                    
68	global $global;
                    
69	global $conf;
                    
100<?php
                    
101	global $global;
                    
102	global $conf;
                    
135{
                    
136	global $global;
                    
137	global $conf;
                    
                
guide_radar.html http://google-chartwrapper.googlecode.com/svn/trunk/ | HTML | 143 lines
                    
28		<div class="container">
                    
29			<div class="titleblock" style="background-image:url(http://chartography.net/media/globe1.png);">
                    
30				<h1>
                    
48					<script type="text/javascript">var addthis_pub = "justquick";</script>
                    
49					<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="" /></a>
                    
50					<script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
                    
113.highlight .vc { color: #19177C } /* Name.Variable.Class */
                    
114.highlight .vg { color: #19177C } /* Name.Variable.Global */
                    
115.highlight .vi { color: #19177C } /* Name.Variable.Instance */
                    
                
install-helper.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 226 lines
                    
1<?php
                    
2/**
                    
41/**
                    
42 * @global bool $wp_only_load_config
                    
43 * @name $wp_only_load_config
                    
49/** Load WordPress Bootstrap */
                    
50require_once(dirname(dirname(__FILE__)).'/wp-load.php');
                    
51
                    
53 * Turn debugging on or off.
                    
54 * @global bool|int $debug
                    
55 * @name $debug
                    
74function maybe_create_table($table_name, $create_ddl) {
                    
75	global $wpdb;
                    
76	foreach ($wpdb->get_col("SHOW TABLES",0) as $table ) {
                    
108function maybe_add_column($table_name, $column_name, $create_ddl) {
                    
109	global $wpdb, $debug;
                    
110	foreach ($wpdb->get_col("DESC $table_name",0) as $column ) {
                    
                
del_cat.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 175 lines
                    
1<?php
                    
2
                    
28        {
                    
29            if ( $delallcheckss == md5( $catid . session_id() . $global_config['sitekey'] ) )
                    
30            {
                    
55                    
                    
56                    $contents = "<form action=\"" . NV_BASE_ADMINURL . "index.php\" method=\"post\">";
                    
57                    $contents .= "<input type=\"hidden\" name =\"" . NV_NAME_VARIABLE . "\"value=\"" . $module_name . "\" />";
                    
100                    nv_del_moduleCache($module_name);
                    
101                    Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" );
                    
102                    die();
                    
131                        nv_del_moduleCache($module_name);
                    
132                        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" );
                    
133                        die();
                    
138            {
                    
139                $contents = "ERR_ROWS_" . $catid . "_" . md5( $catid . session_id() . $global_config['sitekey'] ) . "_" . sprintf( $lang_module['delcat_msg_rows'], $check_rows );
                    
140            }
                    
                
config.php http://findresources.googlecode.com/svn/trunk/ | PHP | 364 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
23|
                    
24| Typically this will be your index.php file, unless you've renamed it to
                    
25| something else. If you are using mod_rewrite to remove the page set this
                    
35|
                    
36| This item determines which server global should be used to retrieve the
                    
37| URI string.  The default setting of 'AUTO' works for most servers.
                    
149| invoke your controllers and its functions:
                    
150| example.com/index.php?c=controller&m=function
                    
151|
                    
173|	0 = Disables logging, Error logging TURNED OFF
                    
174|	1 = Error Messages (including PHP errors)
                    
175|	2 = Debug Messages
                    
200|
                    
201| Each item that is logged has an associated date. You can use PHP date
                    
202| codes to set your own date formatting
                    
                
ico.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 729 lines
                    
1<?php
                    
2/*
                    
185{
                    
186global $CurrentBit;
                    
187
                    
308{
                    
309global $CurrentBit;
                    
310
                    
670{
                    
671 global $CurrentBit,$SMode;
                    
672 $Byte=freadbyte($f);
                    
                
History.php git://pkgs.fedoraproject.org/horde | PHP | 408 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * $Horde: framework/History/History.php,v 1.28.2.25 2010/11/08 16:17:28 jan Exp $
                    
7 *
                    
59    {
                    
60        global $conf;
                    
61
                    
61
                    
62        if (empty($conf['sql']['phptype']) ||
                    
63            $conf['sql']['phptype'] == 'none') {
                    
68
                    
69        require_once 'DB.php';
                    
70        $this->_write_db = &DB::connect($conf['sql']);
                    
73        if (is_a($this->_write_db, 'DB_common')) {
                    
74            switch ($this->_write_db->phptype) {
                    
75            case 'mssql':
                    
                
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 340 lines
                    
83	require_once(SRCPATH."/class.UI.php");
                    
84	require_once(SRCPATH."/class.Debug.php");
                    
85	require_once(SRCPATH."/class.TaskQueue.php");
                    
117	Core::Load("NET/Mail/PHPMailer");
                    
118	Core::Load("NET/Mail/PHPSmartyMailer");
                    
119	Core::Load("Data/Formater/Formater");
                    
189	// Define log4php contants
                    
190	define("LOG4PHP_DIR", LIBPATH.'/IO/Logging/log4php/src/main/php');
                    
191	define("LOG4PHP_CONFIGURATION", APPPATH.'/etc/log4php.xml');
                    
204
                    
205	require_once(LOG4PHP_DIR . '/LoggerManager.php');
                    
206		
                    
272    require_once (APPPATH.'/observers/interface.IDeferredEventObserver.php');
                    
273    require_once (APPPATH.'/observers/interface.IEventObserver.php');
                    
274                    
                    
                
sub-activity-class-singlepost.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 381 lines
                    
1<?php
                    
2
                    
121
                    
122                global $bp, $wpdb;
                    
123
                    
124                // Should we push user activity stream posts to global activity stream
                    
125                $post_global = $bp->bpa->options['core_comments_globalStreamEnable'];
                    
126
                    
174                // If the admin has disabled posts to the global activity stream and the user has set the album's privacy level
                    
175                // to public (priv level = 0), increase the privacy level to 1 so it is hidden in the global activity stream
                    
176
                    
176
                    
177                if(($post_global == false) && ($album->privacy < 2)){
                    
178                    $post_privacy = 1;
                    
229                // Should we push user activity stream posts to global activity stream
                    
230                $post_global = $bp->bpa->options['core_comments_globalStreamEnable'];
                    
231
                    
                
comment-template.php http://core.svn.wordpress.org/ | PHP | 363 lines
                    
1<?php
                    
2/*
                    
6function get_comment_author() {
                    
7	global $comment;
                    
8	if ( empty($comment->comment_author) )
                    
20function get_comment_author_email() {
                    
21	global $comment;
                    
22	return apply_filters('get_comment_author_email', $comment->comment_author_email);
                    
29function comment_author_email_link($linktext='', $before='', $after='') {
                    
30	global $comment;
                    
31	$email = apply_filters('comment_email', $comment->comment_author_email);
                    
40function get_comment_author_link() {
                    
41	global $comment;
                    
42	$url    = get_comment_author_url();
                    
56function get_comment_author_IP() {
                    
57	global $comment;
                    
58	return apply_filters('get_comment_author_IP', $comment->comment_author_IP);
                    
                
update.inc git://github.com/jyr/MNPP.git | Pascal | 311 lines
                    
1<?php
                    
2/**
                    
3 * @file
                    
4 *   Update.php for provisioned sites.
                    
5 *   This file is a derivative of the standard drupal update.php,
                    
10/**
                    
11 * Global flag to identify update.php run, and so avoid various unwanted
                    
12 * operations, such as hook_init() and hook_exit() invokes, css/js preprocessing
                    
13 * and translation, and solve some theming issues. This flag is checked on several
                    
14 * places in Drupal code (not just update.php).
                    
15 */
                    
25 * Returns (and optionally stores) extra requirements that only apply during
                    
26 * particular parts of the update.php process.
                    
27 */
                    
43 * The schema version will not be updated in this case, and all the
                    
44 * aborted updates will continue to appear on update.php as updates that
                    
45 * have not yet been run.
                    
                
errorCode.html git://pkgs.fedoraproject.org/postgresql-pgpoolAdmin | HTML | 164 lines
                    
37  </tr>
                    
38<tr><th class="right_border"><label>e1</label></th><td  class="right_border">pgmgt.conf.php????????</td><td>pgmgt.conf.php?????conf???????????????????????????????????????????</td></tr>
                    
39<tr><th class="right_border"><label>e2</label></th><td  class="right_border">?????????????????</td><td>??????????????lang???????????????????</td></tr>
                    
43<tr><th class="right_border"><label>e6</label></th><td  class="right_border">???????????</td><td>????????template/help???????????????</td></tr>
                    
44<tr><th class="right_border"><label>e7</label></th><td  class="right_border">pgmgt.conf.php????????????</td><td>pgmgt.conf.php???????????????????????</td></tr>
                    
45<tr><th class="right_border"><label>e8</label></th><td  class="right_border">pcp_timeout?pgpool.conf????????</td><td>pcp_timeout?pgpool.conf?????????????????</td></tr>
                    
125  </tr>
                    
126<tr><th class="right_border"><label>e5001</label></th><td  class="right_border">pgmgt.conf.php????????</td><td>pgmgt.conf.php?????conf???????????????????????????????????????????</td></tr>
                    
127<tr><th class="right_border"><label>e5002</label></th><td  class="right_border">pgmgt.conf.php????????????</td><td>pgmgt.conf.php???????????????????????????</td></tr>
                    
127<tr><th class="right_border"><label>e5002</label></th><td  class="right_border">pgmgt.conf.php????????????</td><td>pgmgt.conf.php???????????????????????????</td></tr>
                    
128<tr><th class="right_border"><label>e5003</label></th><td  class="right_border">pgmgt.conf.php???????????</td><td>pgmgt.conf.php???????????????????????????</td></tr>
                    
129</table>
                    
157Version 2.1<br />
                    
158Copyright &copy; 2006 - 2008 <a href="http://pgpool.projects.postgresql.org/">pgpool Global Development Group</a>. All rights reserved.
                    
159</address>
                    
                
DBSystemLog.cs https://hg01.codeplex.com/mojoportal | C# | 394 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
15using System.Data.SqlServerCe;
                    
16using System.Globalization;
                    
17using System.Text;
                    
                
Linux_SambaShareSecurityForGlobalInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 415 lines
                    
34  //empty constructor
                    
35  Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance() {   	
                    
36   	init();  	   	
                    
41  //----------------------------------------------------------------------------
                    
42  Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance(
                    
43    const Linux_SambaShareSecurityForGlobalInstance& anInstance) {   	
                    
49  //----------------------------------------------------------------------------
                    
50  Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance(
                    
51    const CmpiInstance& aCmpiInstance,
                    
279  //----------------------------------------------------------------------------
                    
280  Linux_SambaShareSecurityForGlobalInstanceEnumerationElement::Linux_SambaShareSecurityForGlobalInstanceEnumerationElement() {
                    
281   	
                    
287  //----------------------------------------------------------------------------
                    
288  Linux_SambaShareSecurityForGlobalInstanceEnumerationElement::~Linux_SambaShareSecurityForGlobalInstanceEnumerationElement() {
                    
289   	
                    
                
index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
40if (!isset($part) or $part=='') {	// 2008.04.25 add isset check
                    
41		if ($GLOBALS['watbrowser']=='msie') {
                    
42			
                    
52
                    
53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:'';  //2008.05.06
                    
54
                    
101
                    
102	// this is from txthotline001.php: Logging In
                    
103	if (isset($frmLoginSubmit)) {
                    
205            $strUpdatePostVar = ($strPostVarData) ? "postvarval = '$strPostVarData'," : "";
                    
206            $intPartId = (empty($GLOBALS['part'])) ? getCurrFilePartNum() : $GLOBALS['part'];
                    
207            
                    
214	    
                    
215	    $be1 = $GLOBALS[HTTP_SERVER_VARS].$GLOBALS[QUERY_STRING];
                    
216            $strQuqery = mysql_query("INSERT INTO ebpls_activity_log SET
                    
                
perf-mysql.inc.php http://scriptz.googlecode.com/svn/trunk/ | PHP | 315 lines
                    
1<?php
                    
2/* 
                    
131	{
                    
132	global $ADODB_FETCH_MODE;
                    
133		$save = $ADODB_FETCH_MODE;
                    
160	{
                    
161	global $ADODB_FETCH_MODE;
                    
162		$save = $ADODB_FETCH_MODE;
                    
196		
                    
197		global $ADODB_FETCH_MODE;
                    
198		$save = $ADODB_FETCH_MODE;
                    
247	{
                    
248	global $ADODB_FETCH_MODE;
                    
249	
                    
303            {
                    
304                // May dont use __FUNCTION__ constant for BC (__FUNCTION__ Added in PHP 4.3.0)
                    
305                ADOConnection::outp( sprintf( "<p>%s: '%s' using of undefined mode '%s'</p>", __CLASS__, __FUNCTION__, $mode));
                    
                
sidebar.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 268 lines
                    
26}
                    
27$zenverse_global_twitter = get_option('zenverse_global_twitter');
                    
28$zenverse_global_feedburner_id = get_option('zenverse_global_feedburner_id');
                    
44<?php if ($zenverse_global_twitter != '') { ?>
                    
45<a title="Follow me on Twitter" href="http://twitter.com/<?php echo $zenverse_global_twitter; ?>"><img style="position:relative;" src="<?php bloginfo('template_directory') ?>/images/sidesubs_twitter2.gif" onmouseover="this.style.top='-2px';" onmouseout="this.style.top='0px';" alt="" /></a>
                    
46<?php } ?>
                    
48<?php if ($zenverse_global_feedburner_id!='') { ?>
                    
49<a title="Subscribe to updates via Email" href="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo $zenverse_global_feedburner_id; ?>"><img style="position:relative;" src="<?php bloginfo('template_directory') ?>/images/sidesubs_feedburner2.gif" onmouseover="this.style.top='-2px';" onmouseout="this.style.top='0px';" alt="" /></a>
                    
50<?php } ?>
                    
52<?php if ($zenverse_global_facebook != '') { ?>
                    
53<a title="Follow me on Twitter" href="<?php echo $zenverse_global_facebook; ?>"><img style="position:relative;" src="<?php bloginfo('template_directory') ?>/images/sidesubs_facebook2.gif" onmouseover="this.style.top='-2px';" onmouseout="this.style.top='0px';" alt="" /></a>
                    
54<?php } ?>
                    
112?>
                    
113<a href="<?php echo $minism_sponsor_link; ?>" title="<?php echo $minism_sponsor_alttag; ?>"><img alt="<?php echo $minism_sponsor_alttag; ?>" src="<?php echo $minism_sponsor_image; ?>" /></a>
                    
114<?php } ?>
                    
                
ChainedBlockStream.php https://PHPExcel.svn.codeplex.com/svn | PHP | 235 lines
                    
21 * @category   PHPExcel
                    
22 * @package    PHPExcel_Shared_OLE
                    
23 * @copyright  Copyright (c) 2006 - 2007 Christian Schmidt
                    
27
                    
28/** PHPExcel root directory */
                    
29if (!defined('PHPEXCEL_ROOT')) {
                    
35
                    
36require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/OLE.php';
                    
37
                    
41 * Stream wrapper for reading data stored in an OLE file. Implements methods
                    
42 * for PHP's stream_wrapper_register(). For creating streams using this
                    
43 * wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream().
                    
171		$eof = $this->pos >= strlen($this->data);
                    
172		// Workaround for bug in PHP 5.0.x: http://bugs.php.net/27508
                    
173		if (version_compare(PHP_VERSION, '5.0', '>=') &&
                    
                
C_cache.php http://mycaptain.googlecode.com/svn/ | PHP | 238 lines
                    
1<?php
                    
2/**
                    
34	
                    
35		$cache = "<?php".$config."\n?>";
                    
36		$this->mc_print($cache,$cf); 
                    
49		$user="\n\$user_cache = array('photo' => \"$icon\",'name' =>\"".htmlspecialchars($blogger['nickname'])."\",'mail'	=>\"".htmlspecialchars($blogger['email'])."\",'des'=>\"".htmlspecialchars($blogger['description'])."\");";
                    
50		$cache = "<?php".$user."\n?>";
                    
51		$this->mc_print($cache,$cf);
                    
69				);";
                    
70		$cache = "<?php".$sta."\n?>";
                    
71		$this->mc_print($cache,$cf);
                    
81		while($show_com=$this->fetch_array($query)){
                    
82			$this->comment.= "\n\$com_cache[".$j."] = array('url'=>\"index.php?action=showlog&gid=".$show_com['gid']."#".$show_com['cid']."\",'name'=>\"".base64_encode(htmlspecialchars($show_com['poster']))."\",'content'=>\"".base64_encode(htmlClean2(subString($show_com['comment'],0,$comment_subnum)))."\");";
                    
83			$j++;
                    
84		}
                    
85		$cache = "<?php".$this->comment."\n?>";
                    
86		$this->mc_print($cache,$cf);
                    
                
lazyest-thumbs.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 255 lines
                    
1<?php
                    
2
                    
4
                    
5	global $gallery_root, $currentdir, $file, $gallery_address, $user_level, $lg_text_domain;
                    
6
                    
40				if (imagesx($resource) > get_option('lg_thumbwidth'))
                    
41					echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.png'.'&amp;thumb=1" alt="" class="icon" />&raquo; '.$folder_caption."\n";
                    
42				else
                    
47				if (imagesx($resource) > get_option('lg_thumbwidth'))
                    
48					echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.jpg'.'&amp;thumb=1" alt="" class="icon" />&raquo; '.$folder_caption."\n";
                    
49				else
                    
54				if (imagesx($resource) > get_option('lg_thumbwidth'))
                    
55					echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.jpeg'.'&amp;thumb=1" alt="" class="icon" />&raquo; '.$folder_caption."\n";
                    
56				else
                    
61				if (imagesx($resource) > get_option('lg_thumbwidth'))
                    
62					echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.gif'.'&amp;thumb=1" alt="" class="icon" />&raquo; '.$folder_caption."\n";
                    
63				else
                    
                
prepend.php https://bitbucket.org/dotclear/dotclear/ | PHP | 299 lines
                    
1<?php
                    
2# -- BEGIN LICENSE BLOCK ---------------------------------------
                    
14
                    
15require_once dirname(__FILE__).'/../prepend.php';
                    
16
                    
24function dc_load_locales() {
                    
25	global $_lang, $core;
                    
26
                    
43{
                    
44	global $core;
                    
45
                    
50		if ((preg_match('/^images\/menu\/(.+)$/',$img,$m)) ||
                    
51			(preg_match('/^index\.php\?pf=(.+)$/',$img,$m))) {
                    
52			if ($m[1]) {
                    
67{
                    
68	global $core,$_menu;
                    
69
                    
                
activate.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 168 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
45	{
                    
46		global $api, $member, $settings, $theme;
                    
47
                    
91					api()->add_filter('activate_form_errors', create_function('$value', '
                    
92																											$value[] = l(\'That account is already activated. If this is your account you can <a href="%s">log in</a>.\', baseurl(\'index.php?action=login\'));
                    
93
                    
120					api()->add_filter('activate_form_messages', create_function('$value', '
                    
121																												$value[] = l(\'Your account has been successfully activated. You may now <a href="%s">log in</a>.\', baseurl(\'index.php?action=login\'));
                    
122
                    
                
Regexp.java git://github.com/CleverCloud/Bianca.git | Java | 306 lines
                    
51   boolean _ignoreCase;
                    
52   boolean _isGlobal;
                    
53   int _nLoop;
                    
62   boolean _isUnicode;
                    
63   boolean _isPHP5String;
                    
64   boolean _isUtf8;
                    
145            case 'g':
                    
146               flags |= Regcomp.GLOBAL;
                    
147               break;
                    
199      _ignoreCase = (comp._flags & Regcomp.IGNORE_CASE) != 0;
                    
200      _isGlobal = (comp._flags & Regcomp.GLOBAL) != 0;
                    
201      _isAnchorBegin = (comp._flags & Regcomp.ANCHORED) != 0;
                    
236
                    
237   public boolean isGlobal() {
                    
238      return _isGlobal;
                    
                
blocks.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
23{
                    
24    $selectthemes = $global_config['site_theme'];
                    
25}
                    
100    $contents .= "<td>" . $row['module'] . " " . $row['file_name'] . "</td>\n";
                    
101    $contents .= "<td>" . ( $row['active'] ? $lang_global['yes'] : $lang_global['no'] ) . "</td>\n";
                    
102    $contents .= "<td>";
                    
159							success: function(data){
                    
160								window.location="index.php?' . NV_NAME_VARIABLE . '=' . $module_name . '&' . NV_OP_VARIABLE . '=blocks";
                    
161							}
                    
166						var module = $(this).val();
                    
167						window.location="index.php?' . NV_NAME_VARIABLE . '=' . $module_name . '&' . NV_OP_VARIABLE . '=blocks_func&module="+module;
                    
168					});
                    
181						if (confirm(" ' . $lang_module['block_weight_confirm'] . '")){
                    
182							$.post("' . NV_BASE_ADMINURL . 'index.php?' . NV_NAME_VARIABLE . '=themes&' . NV_OP_VARIABLE . '=blocks_reset_order", "checkss=' . md5( $selectthemes . $global_config['sitekey'] . session_id() ) . '", function(theResponse){
                    
183								alert(theResponse);
                    
                
Fl_GIF_Image.cxx http://luafltk.googlecode.com/svn/trunk/ | C++ | 391 lines
                    
24//
                    
25//     http://www.fltk.org/str.php
                    
26//
                    
121
                    
122  // Read in global colormap:
                    
123  uchar transparent_pixel = 0;
                    
                
lib_misc.inc git://pkgs.fedoraproject.org/sahana | PHP | 365 lines
                    
26</div>
                    
27<?php
                    
28}
                    
36    <div class="message">
                    
37    <strong><?php print $msg?></strong>
                    
38    <?php print $br_str ?>
                    
54function shn_create_unique_database_field_value($base,$width,$table,$field,$constraints=null){
                    
55	global $global;
                    
56	$db=$global["db"];
                    
130var db_str="<?php echo $db_str;?>";
                    
131var sort=<?php if($sort==true) {echo "true";}else{ echo "false";}?>;
                    
132 // sort function - ascending (case-insensitive)
                    
348		var surl = unescape(window.location.pathname);	
                    
349		var mod = '<?php echo $mod; ?>';
                    
350		var act = '<?php echo $act; ?>';
                    
                
Env.php http://vlc-shares.googlecode.com/svn/trunk/ | PHP | 350 lines
                    
1<?php
                    
2
                    
2
                    
3require_once 'Zend/Translate.php';
                    
4require_once 'Zend/Config.php';
                    
4require_once 'Zend/Config.php';
                    
5require_once 'Zend/Controller/Front.php';
                    
6require_once 'X/VlcShares/Plugins/Abstract.php';
                    
6require_once 'X/VlcShares/Plugins/Abstract.php';
                    
7require_once 'X/VlcShares/Plugins.php';
                    
8
                    
202	/**
                    
203	 * Set a static reference to a global Zend_Translate object
                    
204	 * usable through self::_() function
                    
                
WigetBrowserAdmin.cs http://zero-k.googlecode.com/svn/trunk/ | C# | 291 lines
                    
7using System.Net;
                    
8using System.Globalization;
                    
9
                    
23            this.m_baseAdminUrl = serverUrl;
                    
24            this.m_baseAdminUrlPoint = m_baseAdminUrl + "/admin.php?";
                    
25        }
                    
31
                    
32            m_baseAdminUrlPoint = m_baseAdminUrl + "/admin.php?" + "lname=" + username + "&pwstr=" + this.passwordMd5 + "&";
                    
33        }
                    
                
user_waiting.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 222 lines
                    
43    {
                    
44        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
45        die();
                    
48    
                    
49    $sql = "INSERT INTO `" . NV_USERS_GLOBALTABLE . "` (
                    
50    `userid`, `username`, `md5username`, `password`, `email`, `full_name`, `gender`, `photo`, `birthday`, 
                    
73        $subject = $lang_module['adduser_register'];
                    
74        $message = sprintf( $lang_module['adduser_register_info'], $full_name, $global_config['site_name'], NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name, $row['username'] );
                    
75        $message .= "<br /><br />------------------------------------------------<br /><br />";
                    
152$head_tds['userid']['title'] = $lang_module['userid'];
                    
153$head_tds['userid']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=user_waiting&amp;sortby=userid&amp;sorttype=ASC";
                    
154$head_tds['username']['title'] = $lang_module['account'];
                    
154$head_tds['username']['title'] = $lang_module['account'];
                    
155$head_tds['username']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=user_waiting&amp;sortby=username&amp;sorttype=ASC";
                    
156$head_tds['full_name']['title'] = $lang_module['name'];
                    
                
template_util.py git://pkgs.fedoraproject.org/python-kid | Python | 282 lines
                    
8__copyright__ = "Copyright 2004-2005, Ryan Tomayko"
                    
9__license__ = "MIT <http://www.opensource.org/licenses/mit-license.php>"
                    
10
                    
102
                    
103def base_class(arg, globals, locals):
                    
104    """Get base class for argument with graceful exception handling."""
                    
105    try:
                    
106        from_file = globals['__file__']
                    
107        thing = eval(arg, globals, locals)
                    
119
                    
120def base_class_extends(extends, globals, locals, all_extends=None):
                    
121    """Get Template base class for 'extends'."""
                    
122    try:
                    
123        return base_class(extends, globals, locals)
                    
124    except Exception, e:
                    
                
admin_functions.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 472 lines
                    
89		{
                    
90			$content_config .= "\$global_config['" . $c_config_name . "'] = \"" . nv_htmlspecialchars( $c_config_value ) . "\";\n";
                    
91		}
                    
99
                    
100	$return = file_put_contents( NV_ROOTDIR . "/" . NV_DATADIR . "/config_global.php", $content_config, LOCK_EX );
                    
101	nv_delete_all_cache();
                    
146{
                    
147	global $global_config;
                    
148
                    
233
                    
234	$endurl = ( $array_config_global['rewrite_endurl'] == $array_config_global['rewrite_exturl'] ) ? nv_preg_quote( $array_config_global['rewrite_endurl'] ) : nv_preg_quote( $array_config_global['rewrite_endurl'] ) . "|" . nv_preg_quote( $array_config_global['rewrite_exturl'] );
                    
235
                    
432{
                    
433    global $global_config;
                    
434
                    
                
tiny-images.php http://bitcero-modules.googlecode.com/svn/ | PHP | 205 lines
                    
1<?php
                    
2// $Id: tiny-images.php 511 2010-07-26 06:08:44Z i.bitcero $
                    
10
                    
11include '../../../mainfile.php';
                    
12XoopsLogger::getInstance()->activated = false;
                    
15function send_message($message){
                    
16    global $xoopsSecurity;
                    
17    
                    
36    if (!$cat->isNew()){
                    
37        $uploader = new RMFlashUploader('files-container', 'upload.php');
                    
38        $uploader->add_setting('scriptData', array(
                    
40            'category'=>$cat->id(),
                    
41            'rmsecurity'=>TextCleaner::getInstance()->encrypt($xoopsUser->uid().'|'.RMCURL.'/images.php'.'|'.$xoopsSecurity->createToken(), true))
                    
42        );
                    
76                var increments = 1/total*100;
                    
77                url = '".RMCURL."/images.php';
                    
78                    
                    
                
db_Gdata_MimeBodyString.html https://bitbucket.org/chamilo/chamilo-dev/ | HTML | 271 lines
                    
49    </script>
                    
50<h1 class="file">Gdata/MimeBodyString.php</h1>
                    
51<div class="file-nav">
                    
52<ul id="file-nav">
                    
53	<li><a href="#top">Global</a></li>
                    
54	<li><a href="#classes"><img src="images/icons/class.png"
                    
90	<dt>version</dt>
                    
91	<dd>$Id: MimeBodyString.php 23775 2011-03-01 17:25:24Z ralph $  </dd>
                    
92</dl>
                    
                
??????????????????.htm http://xinhaining-dianjian-delphi.googlecode.com/svn/trunk/ | HTML | 262 lines
                    
86</SCRIPT>
                    
87<LINK href="../style/global.ashx" type=text/css rel=stylesheet></head>
                    
88<STYLE type=text/css>
                    
157      <div align="center"> 
                    
158        <a href=/><font size=2pt>??</font></a><font color=#ffffff> | </font><a href=/?_id=2><font size=2pt>????</font></a><font color=#ffffff> | </font><a href=/?_id=3><font size=2pt>????</font></a><font color=#ffffff> | </font><a href=/?_id=17><font size=2pt><font color=yellow>???????</font></font></a><font color=#ffffff> | </font><a href=http://www.epapi.com/phpBB2/><font size=2pt><font color=red><b>????</b></font></font></a><font color=#ffffff> | </font><a href=/?_id=6><font size=2pt>????</font></a><font color=#ffffff> | </font><a href=/?_id=7&sel=1><font size=2pt>????</font></a><font color=#ffffff> | </font><a href=/?_id=15><font size=2pt>????</font></a><font color=#ffffff> | </font><a href=index.servlet?_id=10><font size=2pt>????</font></a><font color=#ffffff> | </font><a href=index.servlet?_id=11><font size=2pt>??????</font></a>      </div></td>
                    
159  </tr>
                    
178          <tr>
                    
179         <form name="form" method="post" action="index.php?_id=18">
                    
180            <td height="20" colspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bg6.gif">
                    
189                      </font></div></td>
                    
190                  <td ><div align="center"><font color="#990000">?????</font><a href="index.php?_id=18&add=%B5%E7%C1%A6"class=a2>??</a> 
                    
191                        <a href="index.php?_id=18&add=%D3%C5%CC%D8%B5%E7%C1%A6"class=a2>??</a> 
                    
191                        <a href="index.php?_id=18&add=%D3%C5%CC%D8%B5%E7%C1%A6"class=a2>??</a> 
                    
192                        <a href="index.php?_id=18&add=%B5%E7%C6%F8"class=a2>??</a> 
                    
193                        <a href="index.php?_id=18&add=%BB%FA%B5%E7"class=a2>??</a> 
                    
                
DBCategoryItem.cs https://hg.codeplex.com/mojoportal | C# | 271 lines
                    
5// The use and distribution terms for this software are covered by the 
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)  
                    
7// which can be found in the file CPL.TXT at the root of this distribution.
                    
17using System.Configuration;
                    
18using System.Globalization;
                    
19using System.IO;
                    
                
AdminShipping.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 306 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*  @version  Release: $Revision: 8861 $
                    
24*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25*  International Registered Trademark & Property of PrestaShop SA
                    
47	{
                    
48		global $currentIndex;
                    
49
                    
139	{
                    
140		global $currentIndex;
                    
141
                    
196	{
                    
197		global $currentIndex;
                    
198		
                    
                
convert-ly.py git://git.savannah.gnu.org/lilypond.git | Python | 391 lines
                    
267    if global_options.from_version:
                    
268        from_version = global_options.from_version
                    
269    else:
                    
274
                    
275    if global_options.to_version:
                    
276        to_version = global_options.to_version
                    
286
                    
287    if global_options.force_current_version and \
                    
288            (last is None or last == to_version):
                    
342    options.outfile_name = ''
                    
343    global global_options
                    
344    global_options = options
                    
356    if global_options.show_rules:
                    
357        show_rules (sys.stdout, global_options.from_version, global_options.to_version)
                    
358        sys.exit (0)
                    
                
main.php https://code.google.com/p/nuked-klan/ | PHP | 226 lines
                    
2// -------------------------------------------------------------------------//
                    
3// Nuked-KlaN - PHP Portal                                                  //
                    
4// http://www.nuked-klan.org                                                //
                    
13
                    
14include('modules/Forum/template.php');
                    
15
                    
38
                    
39echo "<br /><form method=\"get\" action=\"index.php\">\n"
                    
40. "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"10\" border=\"0\">\n"
                    
48. "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"4\" border=\"0\">\n"
                    
49. "<tr><td valign=\"bottom\"><a href=\"index.php?file=Forum\"><b>" . _INDEXFORUM . "</b></a>" . $nav . "</td><td align=\"right\" valign=\"bottom\"><small>" . _DAYIS . " : " . $date_jour;
                    
50
                    
116        . "<td  style=\"width: 5%;\" align=\"center\">" . $img . "</td>\n"
                    
117        . "<td style=\"width: 40%;\" onmouseover=\"this.style.backgroundColor='" . $color1 . "'; this.style.cursor='hand';\" onmouseout=\"this.style.backgroundColor='" . $color2 . "'\" onclick=\"document.location='index.php?file=Forum&amp;page=viewforum&amp;forum_id=" . $forum_id . "'\"><a href=\"index.php?file=Forum&amp;page=viewforum&amp;forum_id=" . $forum_id . "\"><big><b>" . $nom ." </b></big></a><br />" . $comment . "</td>\n";
                    
118
                    
                
Container.php git://github.com/eryx/php-framework-benchmark.git | PHP | 459 lines
                    
1<?php
                    
2
                    
305        // remove all services of this scope, and those of any of its child
                    
306        // scopes from the global services map
                    
307        if (isset($this->scopedServices[$name])) {
                    
315
                    
316            // update global map
                    
317            $this->services = call_user_func_array('array_diff_key', $services);
                    
348        // remove all services of this scope, or any of its child scopes from
                    
349        // the global service map
                    
350        $services = array($this->services, $this->scopedServices[$name]);
                    
                
config.php http://wowroster-addons.googlecode.com/svn/trunk/ | PHP | 324 lines
                    
1<?php
                    
2/******************************
                    
14 *
                    
15 * $Id: config.php 105 2007-02-25 13:18:55Z PleegWat $
                    
16 *
                    
39	{
                    
40		global $wordings, $roster_conf;
                    
41		
                    
71	{
                    
72		global $wordings, $roster_conf;
                    
73
                    
92	{
                    
93		global $wordings, $roster_conf;
                    
94
                    
179	{
                    
180		global $wowdb, $queries;
                    
181
                    
                
readdib.c https://ironhells.svn.sourceforge.net/svnroot/ironhells | C | 366 lines
                    
134 *
                    
135 * Returns TRUE on success (phPal and phBitmap are filled with appropriate
                    
136 * handles.  Caller is responsible for freeing objects) and FALSE on failure
                    
141                     HANDLE hDIB,
                    
142                     HPALETTE * phPal,
                    
143                     HBITMAP * phBitmap)
                    
150
                    
151     lpInfo = (LPBITMAPINFOHEADER) GlobalLock(hDIB);
                    
152     if((hPalette = MakeDIBPalette(lpInfo)) != 0)
                    
172               *phBitmap = hBitmap;
                    
173               *phPal = hPalette;
                    
174               result = TRUE;
                    
208
                    
209     pInfo->hDIB = GlobalAlloc(GHND, (DWORD) (sizeof(BITMAPINFOHEADER) +
                    
210                                              256 * sizeof(RGBQUAD)));
                    
                
keywordRank.class.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 209 lines
                    
1<?php
                    
2
                    
24{
                    
25    if ( ! isset( $global_config ) or empty( $global_config ) )
                    
26    {
                    
26    {
                    
27        $global_config = array( 'version' => "3.0.12", 'sitekey' => mt_rand() );
                    
28    }
                    
31    {
                    
32        include ( NV_ROOTDIR . "/includes/class/geturl.class.php" );
                    
33    }
                    
34
                    
35    $getContent = new UrlGetContents( $global_config );
                    
36}
                    
86    {
                    
87        global $getContent;
                    
88
                    
                
virtuemart.cfg.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 162 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
7* @subpackage core
                    
8* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
9* VirtueMart is free software. This version may have been modified pursuant
                    
12* other free or open source software licenses.
                    
13* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
14*
                    
17
                    
18global $mosConfig_absolute_path,$mosConfig_live_site;
                    
19if( !class_exists( 'jconfig' )) {
                    
19if( !class_exists( 'jconfig' )) {
                    
20$global_lang = $GLOBALS['mosConfig_lang'];
                    
21
                    
23
                    
24$GLOBALS['mosConfig_lang'] = $mosConfig_lang = $global_lang;
                    
25}
                    
                
core.php http://ooxx.googlecode.com/svn/trunk/ | PHP | 167 lines
                    
1<?php
                    
2/**
                    
18 * @uses get_template() Defines the theme prefix, which is generally 'hybrid'.
                    
19 * @global object $hybrid The global Hybrid object.
                    
20 * @return string $hybrid->prefix The prefix of the theme.
                    
22function hybrid_get_prefix() {
                    
23	global $hybrid;
                    
24
                    
24
                    
25	/* If the global prefix isn't set, define it. Plugin/theme authors may also define a custom prefix. */
                    
26	if ( empty( $hybrid->prefix ) )
                    
38 * @uses get_template() Defines the theme textdomain, which is generally 'hybrid'.
                    
39 * @global object $hybrid The global Hybrid object.
                    
40 * @return string $hybrid->textdomain The textdomain of the theme.
                    
137 * @uses hybrid_get_prefix() Gets the prefix of the theme.
                    
138 * @global object $hybrid The global Hybrid object.
                    
139 * @global array $hybrid_settings Deprecated. Developers should use hybrid_get_setting().
                    
                
class.listype.php http://kak.googlecode.com/svn/trunk/ | PHP | 343 lines
                    
27				if ($listType>0) {
                    
28				backHTML::_header( @constant( $GLOBALS[JNEWS.'listnames'.$listType] ) , $GLOBALS[JNEWS.'listlogo'.$listType] , $message , $task, $action  );
                    
29				} else {
                    
69			$index = $nb[$k];
                    
70			if ($listType==$index OR ($GLOBALS[JNEWS.'listype'.$index] ==1 AND $GLOBALS[JNEWS.'totallist'.$index] >0)) {
                    
71				$i++;
                    
92					$index = $nb[$k];
                    
93					if ($getList->list_type == $index AND !$flag[$index] AND $GLOBALS[JNEWS.'listype'.$index] ==1 AND $GLOBALS[JNEWS.'totallist'.$index] > 0) {
                    
94						$i++;
                    
275				if ($index==2)  $flag = true;
                    
276				if ($GLOBALS[JNEWS.'listshow'.$index]>0 AND $GLOBALS[JNEWS.'listype'.$index] == 1) {
                    
277					$dont = true;
                    
281						$obj->value = $index;
                    
282						$obj->text = trim( $GLOBALS[JNEWS.'listname'.$index] ) ? @constant( $GLOBALS[JNEWS.'listname'.$index] ): '';
                    
283						$obj->dis = false;
                    
                
SMW_SpecialQueryCreator.php git://pkgs.fedoraproject.org/mediawiki-semantic | PHP | 266 lines
                    
1<?php
                    
2
                    
6 *
                    
7 * @file SMW_SpecialQueryCreator.php
                    
8 * @ingroup SMWSpecialPage
                    
29	 *
                    
30	 * @global OutputPage $wgOut
                    
31	 * @param string $p
                    
63	 *
                    
64	 * @global WebRequest $wgRequest
                    
65	 * @return array
                    
67	protected function processParams() {
                    
68		global $wgRequest;
                    
69
                    
                
Ini.php git://pkgs.fedoraproject.org/php-pear-CodeGen-PECL | PHP | 454 lines
                    
4 *
                    
5 * PHP versions 5
                    
6 *
                    
16 * @copyright  2005-2008 Hartmut Holzgraefe
                    
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
18 * @version    CVS: $Id: Ini.php,v 1.7 2006/10/12 13:11:25 hholzgra Exp $
                    
27/**
                    
28 * Class describing a PHP ini directive within a PECL extension 
                    
29 *
                    
33 * @copyright  2005-2008 Hartmut Holzgraefe
                    
34 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
35 * @version    Release: @package_version@
                    
362     
                    
363        $code.= "  STD_PHP_INI_ENTRY(\"$name.{$this->name}\", \"{$this->value}\", {$this->access}, {$this->onupdate}, {$this->name}, zend_{$name}_globals, {$name}_globals)\n";
                    
364
                    
                
db.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 438 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------
                    
2// +----------------------------------------------------------------------
                    
3// | ?????????? (Build on ThinkPHP)
                    
4// +----------------------------------------------------------------------
                    
317		
                    
318		global $_FANWE;
                    
319		
                    
346		
                    
347		global $_FANWE;
                    
348		
                    
                
login.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 158 lines
                    
1<?php
                    
2/*
                    
3+-----------------------------------------------------------------------------+
                    
4| $Id: login.php 2010-05-24 12:37:44Z Bleakwind $
                    
5| Member Login
                    
20{
                    
21    global $SETTING,$LANGUAGE,$CONFIG,$CONFIGURE,$SESSION,$PROMPT,$db,$sys,$c,$ac;
                    
22    $ajax_response = new xajaxResponse();
                    
                
banner-designer.php http://openx-banner-creator.googlecode.com/svn/trunk/ | PHP | 174 lines
                    
1<?php
                    
2
                    
3require_once '../../../../init.php';
                    
4require_once '../../config.php';
                    
5
                    
5
                    
6require_once MAX_PATH . '/lib/OA/Admin/TemplatePlugin.php';
                    
7require_once MAX_PATH . '/lib/OA/Admin/UI/component/Form.php';
                    
8
                    
9require_once('lib/common.php');
                    
10
                    
14
                    
15phpAds_registerGlobalUnslashed('bannerid', 'campaignid', 'clientid', 'ajax', 'size', 'keywords', 'qty', 'template_id', 'image_url', 'description', 'type');
                    
16
                    
58    if (!isset($aAdvertisers[$clientid])) {
                    
59        $page = basename($_SERVER['PHP_SELF']);
                    
60        OX_Admin_Redirect::redirect($page);
                    
                
search_fulltext_fsb.php git://github.com/FSB/Fire-Soft-Board-2.git | PHP | 235 lines
                    
1<?php
                    
2/**
                    
7 * @version $Id$
                    
8 * @license http://opensource.org/licenses/gpl-2.0.php GNU GPL 2
                    
9 */
                    
11/**
                    
12 * Methode FULLTEXT FSB, dont le principe s'inspire fortement de celui de phpBB, qui indexe chaque mot du forum.
                    
13 * Cette methode est utilisee pour les SGBD autre que MySQL, qui ne supportent pas le FULLTEXT MYSQL.
                    
30	{
                    
31		$this->min_len = $GLOBALS['_search_min_len'];
                    
32		$this->max_len = $GLOBALS['_search_max_len'];
                    
                
lan_install.php http://globalban-spanish.googlecode.com/svn/globalban/ | PHP | 100 lines
                    
1<?php
                    
2/*
                    
3+ ----------------------------------------------------------------------------+
                    
4|     esGlobalBan - Language File.
                    
5|
                    
5|
                    
6|     $Source: /cvsroot/banned/languages/English/lan_install.php,v $
                    
7|     $Revision: 1.0 $
                    
12
                    
13$LAN_INSTALL_001 = "GlobalBan Pilna instal?cija";
                    
14$LAN_INSTALL_002 = "Pilna instal?cijas konfigur?cija";
                    
38$LAN_INSTALL_026 = "Jums j?nor?da der?ga e-pasta adrese priekš super-lietot?ja konta.";
                    
39$LAN_INSTALL_027 = "<h4 style='color:red; margin-bottom:0px'>Nevar sagatavot config/class.Config.php failu rakst?šanai. L?dzu, p?rbaudiet j?su t?mek?a servera at?aujas pirms turpinat</h4>";
                    
40$LAN_INSTALL_028 = "Datub?zes izv?le/izveide";
                    
80$LAN_INSTALL_069 = "e107 Lietot?jv?rds";
                    
81$LAN_INSTALL_070 = "e107 Registr?ts lietot?jas, kas v?las redz?t Globalban izveidot?s zi?as. Priekš piem?ra \'ID.Usuario\' piem?ram \'5.Globalban\'.";
                    
82$LAN_INSTALL_071 = "Datub?zes parole";
                    
                
model_GraphProperties.cpp git://pkgs.fedoraproject.org/rocs | C++ | 195 lines
                    
19
                    
20#include "model_GraphProperties.h"
                    
21#include <KLocale>
                    
27
                    
28GraphPropertiesModel::GraphPropertiesModel(QObject *parent) : QAbstractTableModel(parent)
                    
29{
                    
34
                    
35int GraphPropertiesModel::rowCount(const QModelIndex &parent) const
                    
36{
                    
46
                    
47int GraphPropertiesModel::columnCount(const QModelIndex & parent) const
                    
48{
                    
157
                    
158void GraphPropertiesModel::addDynamicProperty(QString name, QVariant value, QObject *obj, bool isGlobal)
                    
159{
                    
                
Connection.php http://manialive.googlecode.com/svn/trunk/ | PHP | 246 lines
                    
1<?php
                    
2/**
                    
132	
                    
133	function toggleGlobalComment($login, $enable)
                    
134	{
                    
                
UnitCheckHeader.php git://git.savannah.nongnu.org/unitcheck.git | PHP | 168 lines
                    
1<?php
                    
2
                    
62        public static function printHeader() {
                    
63            global $user;
                    
64
                    
97                            <li>
                    
98                                <a href="../public/index.php">Home</a>
                    
99                            </li>
                    
101                                <span class="separator">| </span>
                    
102                                <a href="../public/new.php">Add New</a>
                    
103                            </li>
                    
105                                <span class="separator">| </span>
                    
106                                <a href="../public/edit.php">Edit</a>
                    
107                            </li>
                    
109                                <span class="separator">| </span>
                    
110                                <a href="../public/configure.php">Configure</a>
                    
111                            </li>
                    
                
collapse_api.php git://pkgs.fedoraproject.org/mantis | PHP | 247 lines
                    
1<?php
                    
2# MantisBT - a php based bugtracking system
                    
35 *
                    
36 * @uses tokens_api.php
                    
37 * @uses utility_api.php
                    
37 * @uses utility_api.php
                    
38 * @uses config_api.php
                    
39 * @uses authentiction_api.php
                    
39 * @uses authentiction_api.php
                    
40 * @uses current_user_api.php
                    
41 * @uses gpc_api.php
                    
46 */
                    
47require_once( 'tokens_api.php' );
                    
48
                    
50 *
                    
51 * @global string $g_current_collapse_section
                    
52 */
                    
                
func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
40{
                    
41	global $func;
                    
42
                    
66			'stripos' => create_function('$haystack, $needle, $offset = 0', '
                    
67										 // This function doesn\'t exist until PHP 5.2.0 >=
                    
68										 if(function_exists(\'mb_stripos\'))
                    
                
beamer_display.class.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 210 lines
                    
1<?php
                    
2
                    
12	function viewModulMainPage() {
                    
13	global $dsp, $lang, $beamermodul, $bcid, $beamerid;	
                    
14	
                    
19						   '<p />' );
                    
20		$dsp->AddSingleRow('<br />' . t('Das Modul arbeitet derzeit nur mit dem Template /\'/simple/\'/ und /\'/beamer/\'/ zusammen. F&uuml;r eine schnelle L&ouml;sung erstelle einen zus&auml;tzlichen Account der das Beamer-Template verwendet. Damit hast du die besten Ergebnisse im Fullscreen Mode. <p/>Damit es mit jedem anderen Template funktioniert, musst du in deinem Template im Bereich der Meta-Angaben folgende Codezeilen hinzuf&uuml;gen:<p/> if( $_GET[/\'/sitereload/\'/] ) { echo ... (Restlichen Anweisungsblock bitte as der Design-index.php entnehmen.)  } ')	);				
                    
21		$dsp->AddSingleRow("<br />");
                    
26	function viewCurrentContent() {
                    
27	global $dsp, $lang, $beamermodul, $bcid, $beamerid, $func;		
                    
28		$dsp->NewContent( "","");
                    
36	function viewContent () {
                    
37	global $dsp, $lang, $beamermodul, $bcid, $beamerid;
                    
38
                    
47		function formatBStatus ( $var, $bcid , $beamerid ) {
                    
48			if ( $var == "1" ) { return '<a href="index.php?mod=beamer&action=togglebeameractive&bcid='.$bcid.'&beamerid='.$beamerid.'"><img src="design/images/icon_active_sm.png" alt="Aktiv" border="0"></a>'; }
                    
49			if ( $var == "0" ) { return '<a href="index.php?mod=beamer&action=togglebeameractive&bcid='.$bcid.'&beamerid='.$beamerid.'"><img src="design/images/icon_deactive_sm.png" alt="Deaktiv" border="0"></a>'; }
                    
                
class.GalaxyRows.php http://2moons.googlecode.com/svn/trunk/ | PHP | 295 lines
                    
1<?php
                    
2
                    
24 * @version 1.7.1 (2013-01-18)
                    
25 * @info $Id: class.GalaxyRows.php 2604 2013-01-18 11:35:42Z slaver7 $
                    
26 * @link http://2moons.cc/
                    
28
                    
29require_once(ROOT_PATH . 'includes/classes/class.FleetFunctions.php');
                    
30require_once(ROOT_PATH . 'includes/pages/game/class.ShowPhalanxPage.php');
                    
56	{
                    
57		global $UNI, $USER;
                    
58
                    
58
                    
59        $galaxyResult	= $GLOBALS['DATABASE']->query("SELECT SQL_BIG_RESULT DISTINCT
                    
60		p.galaxy, p.system, p.planet, p.id, p.id_owner, p.name, p.image, p.last_update, p.diameter, p.temp_min, p.destruyed, p.der_metal, p.der_crystal, p.id_luna, 
                    
78
                    
79        while($this->galaxyRow = $GLOBALS['DATABASE']->fetch_array($galaxyResult))
                    
80		{
                    
                
XML.php git://github.com/openid/php-openid.git | PHP | 387 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * XML-parsing classes to wrap the domxml and DOM extensions for PHP 4
                    
5 * and 5, respectively.
                    
10/**
                    
11 * The base class for wrappers for available PHP XML-parsing
                    
12 * extensions.  To work with this Yadis library, subclasses of this
                    
14 * class.  Subclasses of Auth_Yadis_XMLParser are used to wrap
                    
15 * particular PHP XML extensions such as 'domxml'.  These are used
                    
16 * internally by the library depending on the availability of
                    
16 * internally by the library depending on the availability of
                    
17 * supported PHP XML extensions.
                    
18 *
                    
134 * the appropriate API for the 'domxml' extension which is typically
                    
135 * packaged with PHP 4.  This class will be used whenever the 'domxml'
                    
136 * extension is detected.  See the Auth_Yadis_XMLParser class for
                    
                
admin.inc git://pkgs.fedoraproject.org/sahana | PHP | 165 lines
                    
22<div id="submenu_v">
                    
23<a href="index.php?mod=or&act=adm_or_type"><?php echo _("Organization Types")?></a> 
                    
24<a href="index.php?mod=or&act=adm_sector"><?php echo _("Organization Sectors")?></a>
                    
38<ul>
                    
39    <li><b><a href="index.php?mod=or&act=adm_or_type"><?php echo _("Organization Types") ?></a></b><br/> - <?php echo _("Change the types of organizations, (add new, edit or delete)") ?></li><br/>
                    
40    <li><b><a href="index.php?mod=or&act=adm_sector"><?php echo _("Organization Sectors") ?></a></b><br/> - <?php echo _("Change the organization sectors, (add new, edit or delete)")?></li><br/>
                    
55{
                    
56    global $global;
                    
57    include_once $global['approot'].'inc/lib_misc.inc';
                    
82	
                    
83    global $global;
                    
84    include_once $global['approot'].'inc/lib_misc.inc';
                    
103{
                    
104    global $global;
                    
105    $db=$global["db"];
                    
                
user.php git://pkgs.fedoraproject.org/virtuoso-opensource | PHP | 387 lines
                    
1<?php 
                    
2#  
                    
22?>
                    
23<?php
                    
24
                    
36
                    
37// Set some global config variables about your system.
                    
38$user_can_update_password = true;
                    
49function user_valid_login ( $login, $password ) {
                    
50  global $error;
                    
51  $ret = false;
                    
85function user_valid_crypt ( $login, $crypt_password ) {
                    
86  global $error;
                    
87  $ret = false;
                    
120// Load info about a user (first name, last name, admin) and set
                    
121// globally.
                    
122// params:
                    
                
AdminModulesPositions.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 316 lines
                    
1<?php
                    
2
                    
3/**
                    
4  * Modules positions tab for admin panel, AdminModulesPositions.php
                    
5  * @category admin
                    
8  * @copyright PrestaShop
                    
9  * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0
                    
10  * @version 1.3
                    
13
                    
14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php');
                    
15
                    
21	{
                    
22		global	$currentIndex;
                    
23
                    
291				<div class="margin-form">
                    
292					<input type="text" name="exceptions" size="40" '.(!empty($excepts) ? 'value="'.$excepts.'"' : '').'><br />Ex: identity.php, history.php, order.php, product.php<br /><br />
                    
293					'.$this->l('Please specify those files in which you do not want the module to be displayed').'.<br />
                    
                
zend_signal.c git://github.com/php/php-src.git | C | 448 lines
                    
46#else
                    
47ZEND_API zend_signal_globals_t zend_signal_globals;
                    
48#endif /* not ZTS */
                    
373
                    
374static void zend_signal_globals_ctor(zend_signal_globals_t *zend_signal_globals) /* {{{ */
                    
375{
                    
395	/* Save previously registered signal handlers into orig_handlers */
                    
396	memset(&global_orig_handlers, 0, sizeof(global_orig_handlers));
                    
397	for (signo = 1; signo < NSIG; ++signo) {
                    
415#ifdef ZTS
                    
416	ts_allocate_fast_id(&zend_signal_globals_id, &zend_signal_globals_offset, sizeof(zend_signal_globals_t), (ts_allocate_ctor) zend_signal_globals_ctor, NULL);
                    
417#else
                    
417#else
                    
418	zend_signal_globals_ctor(&zend_signal_globals);
                    
419#endif
                    
                
ApiQueryWatchlist.php https://code.google.com/p/alfresco-php-sdk/ | PHP | 235 lines
                    
1<?php
                    
2
                    
28	// Eclipse helper - will be ignored in production
                    
29	require_once ('ApiQueryBase.php');
                    
30}
                    
46	private function run($resultPageSet = null) {
                    
47		global $wgUser;
                    
48
                    
65			if ($patrol) {
                    
66				global $wgUseRCPatrol, $wgUser;
                    
67				if (!$wgUseRCPatrol || !$wgUser->isAllowed('patrol'))
                    
222		return array (
                    
223			'api.php?action=query&list=watchlist',
                    
224			'api.php?action=query&list=watchlist&wlallrev',
                    
224			'api.php?action=query&list=watchlist&wlallrev',
                    
225			'api.php?action=query&generator=watchlist&prop=info',
                    
226			'api.php?action=query&generator=watchlist&gwlallrev&prop=revisions&rvprop=timestamp|user'
                    
                
Template.php git://github.com/jeromeschneider/Baikal.git | PHP | 451 lines
                    
1<?php
                    
2
                    
238    {
                    
239        $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks);
                    
240    }
                    
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.
                    
                
ModulePermissionsEditAndDetailsView.php https://bitbucket.org/zurmo/zurmo/ | PHP | 193 lines
                    
1<?php
                    
2    /*********************************************************************************
                    
74            $metadata = array(
                    
75                'global' => array(
                    
76                    'toolbar' => array(
                    
96            assert('count($permissions) > 0');
                    
97            foreach ($metadata['global']['panels'] as $panel)
                    
98            {
                    
                
functions.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
24{
                    
25    global $module_name;
                    
26    
                    
28    {
                    
29        $name = "<a href=\"" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=" . $list[$id]['alias'] . "\">" . $list[$id]['title'] . "</a> &raquo; " . $name;
                    
30    }
                    
52{
                    
53    global $module_data, $module_name, $module_info;
                    
54    
                    
76                    {
                    
77                        $list2[$row['id']]['name'] = "<a href=\"" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=" . $list2[$row['id']]['alias'] . "\">" . $list2[$row['id']]['name'] . "</a>";
                    
78                    }
                    
88                    {
                    
89                        $list2[$row['id']]['name'] = "<a href=\"" . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "\">" . $module_info['custom_title'] . "</a> &raquo; " . $list2[$row['id']]['name'];
                    
90                    }
                    
                
main.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 226 lines
                    
1<?php
                    
2
                    
23{
                    
24	global $db, $module_data;
                    
25
                    
58		
                    
59			$sql = "SELECT t2.email as admin_email FROM `" . NV_AUTHORS_GLOBALTABLE . "` AS t1 INNER JOIN  `" . NV_USERS_GLOBALTABLE . "` AS t2 ON t1.admin_id = t2.userid WHERE t1.lev!=0 AND t1.is_suspend=0 AND t1.admin_id IN (" . $a_l . ")";
                    
60			$result = $db->sql_query( $sql );
                    
114
                    
115	if( $checkss == md5( $client_info['session_id'] . $global_config['sitekey'] ) )
                    
116	{
                    
169
                    
170			$website = "<a href=\"" . $global_config['site_url'] . "\">" . $global_config['site_name'] . "</a>";
                    
171			$fcon .= "<br /><br />----------------------------------------<br /><br />";
                    
183
                    
184			$url = NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA;
                    
185			$contents .= call_user_func( "sendcontact", $url );
                    
                
class_session.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 344 lines
                    
1<?php
                    
2/*
                    
40	{
                    
41		global $root;
                    
42		$this->time = time();
                    
50	function new_session(){
                    
51		global $c,$cache;
                    
52		// ------------------------------------------------------
                    
69			}else{
                    
70				// On charge la session PHP
                    
71				session_start();
                    
102		// Informations sur l'utilisateur
                    
103		$cache->files_cache['infos_user'] = array($this->path_cache.$this->id_session, 'global $session; return $session->infos_user();',$this->cf['cache_session_user']);
                    
104		$this->info_user = $cache->appel_cache('infos_user');
                    
110	function login($user_id,$cookie=false){
                    
111		global $cache,$droits,$c;
                    
112		// On détruit la session
                    
                
loader-disabled.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 438 lines
                    
142
                    
143		global $bp, $wpdb;
                    
144
                    
252			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?>
                    
253				   checked="checked"<?php endif; ?>  value="1" /> <?php _e( 'Yes', "bp-media" ) ?> &nbsp;
                    
254			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
254			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
255				   checked="checked"<?php endif; ?>  value="0" /> <?php _e( 'No', "bp-media" ) ?>
                    
256			</td>
                    
261			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?>
                    
262				   checked="checked"<?php endif; ?>  value="1" /> <?php _e( 'Yes', "bp-media" ) ?> &nbsp;
                    
263			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
263			    <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?>
                    
264				   checked="checked"<?php endif; ?>  value="0" /> <?php _e( 'No', "bp-media" ) ?>
                    
265			</td>
                    
                
WBEMListenerSBLIM.java git://pkgs.fedoraproject.org/sblim-cim-client2 | Java | 355 lines
                    
8 * You can obtain a current copy of the Eclipse Public License from
                    
9 * http://www.opensource.org/licenses/eclipse-1.0.php
                    
10 *
                    
88			WBEMConfiguration config = (pProperties != null ? new WBEMConfiguration(pProperties)
                    
89					: WBEMConfiguration.getGlobalConfiguration());
                    
90			if (!(pIndicationListener instanceof IndicationListener)
                    
                
day.php git://pkgs.fedoraproject.org/virtuoso-opensource | PHP | 300 lines
                    
149<?php if ( empty ( $friendly ) ) { ?>
                    
150<TD VALIGN="left"><A HREF="day.php?<?php echo $u_url;?>date=<?php echo $prevYmd . $caturl;?>"><img align="left" src="leftarrow.gif" width="36" height="32" border="0" alt="<?php etranslate("Previous"); ?>"></A></TD>
                    
151<?php } ?>
                    
173<?php if ( empty ( $friendly ) ) { ?>
                    
174<TD VALIGN="right"><A HREF="day.php?<?php echo $u_url;?>date=<?php echo $nextYmd . $caturl;?>"><img align="right" src="rightarrow.gif" width="36" height="32" border="0" alt="<?php etranslate("Next"); ?>"></A></TD>
                    
175<?php } ?>
                    
211<TABLE BORDER="0" WIDTH="100%" CELLSPACING="1" CELLPADDING="2">
                    
212<TR><TH COLSPAN="7" BGCOLOR="<?php echo $THBG?>"><FONT SIZE="+4" COLOR="<?php echo $THFG?>"><?php echo $thisday?></FONT></TH></TR>
                    
213<TR>
                    
213<TR>
                    
214<TD ALIGN="left" BGCOLOR="<?php echo $THBG?>"><A HREF="day.php?<?php echo $u_url; ?>date=<?php echo $month_ago . $caturl?>" CLASS="monthlink"><img src="leftarrowsmall.gif" width="18" height="18" border="0" ALT="<? etranslate("Previous")?>"></A></TD>
                    
215<TH COLSPAN="5" BGCOLOR="<?php echo $THBG?>"><FONT COLOR="<?php echo $THFG?>"><?php echo date_to_str ( sprintf ( "%04d%02d01", $thisyear, $thismonth ), $DATE_FORMAT_MY, false ) ?></FONT></TH>
                    
215<TH COLSPAN="5" BGCOLOR="<?php echo $THBG?>"><FONT COLOR="<?php echo $THFG?>"><?php echo date_to_str ( sprintf ( "%04d%02d01", $thisyear, $thismonth ), $DATE_FORMAT_MY, false ) ?></FONT></TH>
                    
216<TD ALIGN="right" BGCOLOR="<?php echo $THBG?>"><A HREF="day.php?<?php echo $u_url; ?>date=<?php echo $month_ahead . $caturl?>" CLASS="monthlink"><img src="rightarrowsmall.gif" width="18" height="18" border="0" alt="<?php etranslate("Next") ?>"></A></TD>
                    
217</TR>
                    
                
 

Source

Language