PageRenderTime 495ms queryTime 24ms sortTime 74ms getByIdsTime 78ms findMatchingLines 31ms

100+ results results for 'php die repo:eviweb/moodle-mod_turnitintool' (495 ms)

Not the results you expected?
phpbb2_template.class.php https://bitbucket.org/chamilo/chamilo/ | PHP | 478 lines
                    
1<?php
                    
2/***************************************************************************
                    
2/***************************************************************************
                    
3 *                              template.php
                    
4 *                            -------------------
                    
5 *   begin                : Saturday, Feb 13, 2001
                    
6 *   copyright            : (C) 2001 The phpBB Group
                    
7 *   email                : support@phpbb.com
                    
8 *
                    
9 *   $Id: template.php 5142 2005-05-06 20:50:13Z acydburn $
                    
10 *
                    
23/**
                    
24 * Template class. By Nathan Codding of the phpBB group.
                    
25 * The interface was originally inspired by PHPLib templates,
                    
29
                    
30class Phpbb2Template {
                    
31	var $classname = "Phpbb2Template";
                    
                
SluggableBehavior.php git://github.com/infinitas/infinitas.git | PHP | 342 lines
                    
1<?php
                    
2	/**
                    
6	 * @author Mariano Iglesias
                    
7	 * @link http://cake-syrup.sourceforge.net/ingredients/sluggable-behavior/
                    
8	 * @version $Revision: 36 $
                    
8	 * @version $Revision: 36 $
                    
9	 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
                    
10	 * @package Infinitas.Libs.Model.Behavior
                    
                
group.php http://nukeviet-shop.googlecode.com/svn/trunk/ | PHP | 214 lines
                    
1<?php
                    
2
                    
8 */
                    
9if ( ! defined( 'NV_IS_FILE_ADMIN' ) ) die( 'Stop!!!' );
                    
10
                    
82            nv_del_moduleCache( $module_name );
                    
83            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
84            die();
                    
110            
                    
111            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
112            die();
                    
209
                    
210include ( NV_ROOTDIR . "/includes/header.php" );
                    
211echo nv_admin_theme( $contents );
                    
211echo nv_admin_theme( $contents );
                    
212include ( NV_ROOTDIR . "/includes/footer.php" );
                    
213
                    
                
Cookie.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 355 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: 6851 $
                    
24*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25*  International Registered Trademark & Property of PrestaShop SA
                    
94		if ($subDomains === false)
                    
95			die(Tools::displayError('Bad SubDomain SQL query.'));
                    
96		foreach ($subDomains AS $subDomain)
                    
145		if (is_array($value))
                    
146			die(Tools::displayError());
                    
147		if (preg_match('/?|\|/', $key.$value))
                    
296		}
                    
297		if (PHP_VERSION_ID <= 50200) /* PHP version > 5.2.0 */
                    
298			return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0);
                    
                
bootstrap.sql git://git.savannah.nongnu.org/savane-cleanup.git | SQL | 211 lines
                    
43A confirmation mail will be sent to the address we have on file for you. Then, load the URL in the email to reset your password.")."', '1');
                    
44INSERT INTO cookbook_context2recipe (recipe_id, group_id, audience_anonymous, audience_loggedin, audience_members, audience_technicians, audience_managers, context_project, context_homepage, context_cookbook, context_download, context_support, context_bugs, context_task, context_patch, context_news, context_mail, context_cvs, context_arch, context_svn, context_my, context_stats, context_siteadmin, context_people, subcontext_browsing, subcontext_postitem, subcontext_edititem, subcontext_search, subcontext_configure )
                    
45VALUES (LAST_INSERT_ID(), 101, '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '0', '0');
                    
53In order to log in, you must be registered (using "New User" in the menu) and give the user name and password selected during your registration.', '1');
                    
54INSERT INTO cookbook_context2recipe (recipe_id, group_id, audience_anonymous, audience_loggedin, audience_members, audience_technicians, audience_managers, context_project, context_homepage, context_cookbook, context_download, context_support, context_bugs, context_task, context_patch, context_news, context_mail, context_cvs, context_arch, context_svn, context_my, context_stats, context_siteadmin, context_people, subcontext_browsing, subcontext_postitem, subcontext_edititem, subcontext_search, subcontext_configure )
                    
55VALUES (LAST_INSERT_ID(), 101, '1', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '0', '0');
                    
60Changes made on the web site may appear to be live but will not take effect until the next cron update.', '1');
                    
61INSERT INTO cookbook_context2recipe (recipe_id, group_id, audience_anonymous, audience_loggedin, audience_members, audience_technicians, audience_managers, context_project, context_homepage, context_cookbook, context_download, context_support, context_bugs, context_task, context_patch, context_news, context_mail, context_cvs, context_arch, context_svn, context_my, context_stats, context_siteadmin, context_people, subcontext_browsing, subcontext_postitem, subcontext_edititem, subcontext_search, subcontext_configure )
                    
62VALUES (LAST_INSERT_ID(), 101, '0', '1', '1', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '1');
                    
156This tag diverges from the verbatim tag in the sense that it will not cause the relevant text to be formatted as it would be in a text editor, a pure verbatim environment, but simply unformatted. As result, for example, text indentation would be ignored because HTML by default ignores it. So to copy/paste bits of code, software output, you are advised to always use the verbatim tag instead.', '1');
                    
157INSERT INTO cookbook_context2recipe (recipe_id, group_id, audience_anonymous, audience_loggedin, audience_members, audience_technicians, audience_managers, context_project, context_homepage, context_cookbook, context_download, context_support, context_bugs, context_task, context_patch, context_news, context_mail, context_cvs, context_arch, context_svn, context_my, context_stats, context_siteadmin, context_people, subcontext_browsing, subcontext_postitem, subcontext_edititem, subcontext_search, subcontext_configure ) VALUES (LAST_INSERT_ID(), 101, '1', '1', '1', '0', '0', '1', '0', '1', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '1', '0', '0', '1', '0', '1', '1', '0', '1');
                    
158
                    
209If your site runs checks with SpamAssassin, *flagged spams will be used to improves bayesian filtering*.', '1');
                    
210INSERT INTO cookbook_context2recipe (recipe_id, group_id, audience_anonymous, audience_loggedin, audience_members, audience_technicians, audience_managers, context_project, context_homepage, context_cookbook, context_download, context_support, context_bugs, context_task, context_patch, context_news, context_mail, context_cvs, context_arch, context_svn, context_my, context_stats, context_siteadmin, context_people, subcontext_browsing, subcontext_postitem, subcontext_edititem, subcontext_search, subcontext_configure ) VALUES (LAST_INSERT_ID(), 101, '0', '1', '1', '0', '0', '0', '0', '1', '0', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '1');
                    
211
                    
                
demo.browse.dhtml.php git://pkgs.fedoraproject.org/php-getid3 | PHP | 442 lines
                    
2// +----------------------------------------------------------------------+
                    
3// | PHP version 5                                                        |
                    
4// +----------------------------------------------------------------------+
                    
19// | DHTML techniques compatible with MSIE5 and Mozilla.                   |
                    
20// | dependencies: getid3, extras/abstration.php, getid3.css              |
                    
21// +----------------------------------------------------------------------+
                    
22//
                    
23// $Id: demo.browse.dhtml.php,v 1.4 2006/12/03 19:28:17 ah Exp $
                    
24
                    
75    echo '<head>';
                    
76    echo '<title>getID3() - /demos/demo.browse.php (sample script)</title>';
                    
77    echo "<meta http-equiv='Content-Style-Type' content='text/css'>";
                    
92    echo xml_gen::br();
                    
93    echo xml_gen::p('getID3() ' . getid3::VERSION . '.<br>PHP ' . phpversion() . ' (' . implode(xml_gen::space(2), $support) . ').');
                    
94    echo xml_gen::p(xml_gen::a('http://getid3.sourceforge.net/', 'http://getid3.sourceforge.net'));
                    
                
eventslib_test.php git://github.com/moodle/moodle.git | PHP | 304 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    core_event
                    
21 * @subpackage phpunit
                    
22 * @copyright  2007 onwards Martin Dougiamas (http://dougiamas.com)
                    
26
                    
27defined('MOODLE_INTERNAL') || die();
                    
28
                    
59        $handlers = array();
                    
60        require(__DIR__.'/fixtures/events.php');
                    
61        $this->assertCount($dbcount, $handlers, 'Equal number of handlers in file and db: %s');
                    
                
anekdotru.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 393 lines
                    
1<?php
                    
2//
                    
12
                    
13include("config.php");
                    
14
                    
41
                    
42if (!$result) {die('Invalid query: ' . mysql_error());}
                    
43
                    
161						$res = mysql_query($update_sql);
                    
162						if (!$res) {die('<br />'.$update_sql.'<br />Invalid delete query: ' . mysql_error());}
                    
163				}
                    
                
func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
21{
                    
22	die('Nice try...');
                    
23}
                    
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\'))
                    
                
user_waiting.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 222 lines
                    
1<?php
                    
2
                    
9
                    
10if ( ! defined( 'NV_IS_FILE_ADMIN' ) ) die( 'Stop!!!' );
                    
11
                    
21    {
                    
22        die( "NO" );
                    
23    }
                    
24    
                    
25    die( "OK" );
                    
26}
                    
34    {
                    
35        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
36        die();
                    
43    {
                    
44        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
45        die();
                    
                
transports.c http://php52-backports.googlecode.com/svn/trunk/ | C | 520 lines
                    
270/* Get the next client and their address (as a string) */
                    
271PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client,
                    
272		char **textaddr, int *textaddrlen,
                    
309
                    
310PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer,
                    
311		char **textaddr, int *textaddrlen,
                    
340
                    
341PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream TSRMLS_DC)
                    
342{
                    
361
                    
362PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC)
                    
363{
                    
383 * peeking, optionally retrieving OOB data */
                    
384PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen,
                    
385		long flags, void **addr, socklen_t *addrlen, char **textaddr, int *textaddrlen
                    
                
blocks.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
1<?php
                    
2
                    
9
                    
10if ( ! defined( 'NV_IS_FILE_THEMES' ) ) die( 'Stop!!!' );
                    
11
                    
16{
                    
17    $select_options[NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=blocks&amp;selectthemes=" . $themes_i] = $themes_i;
                    
18}
                    
111        {
                    
112            $contents .= '<a href="index.php?' . NV_NAME_VARIABLE . '=' . $module_name . '&amp;' . NV_OP_VARIABLE . '=blocks_func&amp;func=' . $funcid_inlist . '&amp;module=' . $func_inmodule . '"><span style="font-weight:bold">' . $func_inmodule . '</span>: ' . $funcname_inlist . '</a><br />';
                    
113        }
                    
142					      {
                    
143					         content : "<iframe src=\"' . NV_BASE_ADMINURL . 'index.php?' . NV_NAME_VARIABLE . '=themes&' . NV_OP_VARIABLE . '=block_content&bid="+bid+"&blockredirect=' . nv_base64_encode( $client_info['selfurl'] ) . '\" border=\"1\" frameborder=\"0\" style=\"width:780px;height:450px\"></iframe>",
                    
144					         player : "html",
                    
156							type: "POST",
                    
157							url: "index.php?' . NV_NAME_VARIABLE . '=' . $module_name . '&' . NV_OP_VARIABLE . '=blocks_change_order_group",
                    
158							data: "order="+order+"&bid="+bid,
                    
                
wp-blip-options.php http://wp-blip.googlecode.com/svn/trunk/ | PHP | 214 lines
                    
71                <th scope="row"><label for="wp_blip_login">U?ytkownik w serwisie <a href="http://blip.pl">Blip!</a>:</label></th>
                    
72                <td><input type="text" name="wp_blip_login" id="wp_blip_login" value="<?php echo htmlentities2 ($wp_blip_options['login']) ?>" />
                    
73                </td>
                    
102                <th scope="row"><label for="wp_blip_tpl">Szablon wiadomo?ci:</label></th>
                    
103                <td><input type="text" name="wp_blip_tpl" id="wp_blip_tpl" value="<?php echo htmlentities2 ($wp_blip_options['tpl']) ?>" size="50"/><br />
                    
104                    %url - zostanie zast?pione permalinkiem do statusu<br />
                    
124                        type="radio" name="wp_blip_datetype" value="relative" id="wp_blip_datetype_relative"
                    
125                        <?php echo $wp_blip_options['datetype'] == 'relative' ? 'checked="checked"' : ''; ?>
                    
126                        /> relatywny</label>
                    
163                    size="50" /><br />
                    
164                    Szczegó?y: <a href="http://php.net/strftime">php.net/strftime</a> (domy?lnie: %Y-%m-%d %H:%M:%S)
                    
165                </td>
                    
203                <th scope="row">Wyczy?? cache:</th>
                    
204                <td><a href="<?php echo get_bloginfo('wpurl'); ?>/wp-content/plugins/wp-blip/wp-blip-ajax.php?ajax=1&amp;action=cache_invalidate"
                    
205                    onclick="jQuery.get (this.href, {}, function (d, s) {alert (d);}); return false">wyczy??</a></td>
                    
                
exception-db-php.html https://code.google.com/p/ezrpg/ | HTML | 52 lines
                    
15throw new DbException($this-&gt;db, SERVER_ERROR);
                    
16throw new DbException($query, SQL_ERROR);</pre></blockquote><h4 class=CHeading>See Also</h4><ul><li><a href="class-dbfactory-php.html#DbFactory" class=LClass id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">DbFactory</a></li><li><a href="const-errors-php.html#Error_Codes" class=LSection id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">Error Codes</a></li></ul><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#DbException" >DbException</a></td><td class=SDescription>Extends Exception class to specify a database error.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#DbException.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#DbException.__toString" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">__toString</a></td><td class=SDescription>Formats and returns the error file, line and message.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
                    
17
                    
19
                    
20<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="DbException.__toString"></a>__toString</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>public function __toString()</td></tr></table></blockquote><p>Formats and returns the error file, line and message.</p><p>Uses die() to print the formatted error message and to stop further execution of any code.</p><h4 class=CHeading>Example Usage</h4><blockquote><pre>try
                    
21{
                    
34
                    
35<div id=Menu><div class=MTitle>ezRPG<div class=MSubTitle>Documentation</div></div><div class=MEntry><div class=MFile><a href="../config-php.html">Config</a></div></div><div class=MEntry><div class=MFile><a href="../modules/example-php.html">Module_Example</a></div></div><div class=MEntry><div class=MFile><a href="../modules/skeleton-php.html">Module_Skeleton</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Lib</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="const-errors-php.html">Error Codes</a></div></div><div class=MEntry><div class=MFile><a href="func-log-php.html">Log Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-player-php.html">Player Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-rand-php.html">Random Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-text-php.html">Text Functions</a></div></div><div class=MEntry><div class=MFile><a href="func-validate-php.html">Validation functions</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Classes</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="class-base_module-php.html">Base_Module</a></div></div><div class=MEntry><div class=MFile><a href="class-dbfactory-php.html">DbFactory</a></div></div><div class=MEntry><div class=MFile><a href="class-hooks-php.html">Hooks</a></div></div><div class=MEntry><div class=MFile><a href="class-imagebar-php.html">ImageBar</a></div></div><div class=MEntry><div class=MFile><a href="class-modulefactory-php.html">ModuleFactory</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Modules</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../modules/AccountSettings/index-php.html">AccountSettings</a></div></div><div class=MEntry><div class=MFile><a href="../modules/City/index-php.html">City</a></div></div><div class=MEntry><div class=MFile><a href="../modules/EventLog/index-php.html">EventLog</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Index/index-php.html">Index</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Login/index-php.html">Login</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Logout/index-php.html">Logout</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Members/index-php.html">Members</a></div></div><div class=MEntry><div class=MFile><a href="../modules/Register/index-php.html">Register</a></div></div><div class=MEntry><div class=MFile><a href="../modules/StatPoints/index-php.html">StatPoints</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Admin Modules</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../admin/Index/index-php.html">Admin_Index</a></div></div><div class=MEntry><div class=MFile><a href="../admin/Members/index-php.html">Admin_Members</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Database Drivers</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="db-mysql-php.html">Db_mysql</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Exceptions</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile id=MSelected>DbException</div></div><div class=MEntry><div class=MFile><a href="exception-file-php.html">FileException</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Index</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Constants.html">Constants</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../install-php.html">Install</a></div></div><div class=MEntry><div class=MLink><a href="http://www.ezrpgproject.com/">ezRPG Project</a></div></div><script type="text/javascript"><!--
                    
36var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
                    
                
form_setup_html.php git://github.com/concrete5/concrete5.git | PHP | 296 lines
                    
1<?php
                    
2defined('C5_EXECUTE') or die('Access Denied.');
                    
78            <?= $form->label('zoom', t('Zoom')) ?>
                    
79            <?php
                    
80            $zoomLevels = range(0, 21);
                    
                
logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2
                    
9 
                    
10if ( ! defined( 'NV_IS_FILE_SITEINFO' ) ) die( 'Stop!!!' );
                    
11
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
44		exit();
                    
278$xtpl->assign( 'URL_DEL', $base_url . "&" . NV_OP_VARIABLE . "=logs_del" );
                    
279$xtpl->assign( 'URL_CANCEL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
280$xtpl->assign( 'DISABLE', $disabled );
                    
315    $xtpl->assign( 'CLASS', $a % 2 == 1 ? " class=\"second\"" : "" );
                    
316    $xtpl->assign( 'DEL_URL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=log&amp;" . NV_OP_VARIABLE . "=logs_del&amp;id=" . $data_i['id'] );
                    
317    $xtpl->assign( 'BACK_URL', $base_url );
                    
                
demo.html http://mbideasproject.googlecode.com/svn/trunk/ | HTML | 228 lines
                    
9  ~ Licences: MIT, GPL
                    
10  ~ http://www.opensource.org/licenses/mit-license.php
                    
11  ~ http://www.gnu.org/licenses/gpl.html
                    
94
                    
95    Proin vel pulvinar diam. Integer commodo dapibus massa, a faucibus purus imperdiet in. Morbi a purus est. Aliquam lacinia vehicula consequat. Pellentesque gravida dui vitae magna hendrerit varius. Pellentesque ullamcorper purus nec nisi eleifend a pharetra nulla sollicitudin. Maecenas sed gravida sem. Sed molestie luctus interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam viverra, ipsum quis adipiscing dignissim, sapien velit vehicula dolor, vitae dictum leo sem vel ante. Donec sodales augue sit amet velit ullamcorper nec rhoncus ipsum semper. Sed nec sodales sapien. Sed ornare auctor lacus ornare condimentum. Curabitur varius consequat condimentum. Mauris sed libero libero, id mollis nibh.
                    
96
                    
98
                    
99    Phasellus dapibus magna sed nisl interdum ac pellentesque magna sagittis. Maecenas massa leo, condimentum porta consequat in, consequat ac leo. Pellentesque malesuada consequat tortor vel placerat. Suspendisse lorem elit, hendrerit eu blandit at, feugiat id urna. Nunc scelerisque, erat in pharetra cursus, mi eros adipiscing mauris, ac porttitor lacus sem et lectus. Curabitur venenatis adipiscing elementum. Aliquam tristique pulvinar hendrerit. Proin ut tortor dolor. Proin accumsan, libero nec dapibus bibendum, tellus purus molestie est, quis pulvinar est arcu id libero. Morbi vel mauris odio. Integer elementum metus ac eros fringilla congue. Sed est enim, accumsan at malesuada id, bibendum a tortor. Proin id magna eget justo blandit imperdiet sed sit amet neque. Vestibulum luctus, nulla sed vestibulum rutrum, sapien neque laoreet sapien, eget iaculis sem diam quis enim. Aenean sit amet augue neque, sed luctus odio. Curabitur mi nisi, ornare vel adipiscing sed, sodales vitae arcu. Donec enim libero, placerat nec congue eget, adipiscing at lacus. Proin elementum aliquet sagittis. Aenean mauris orci, rhoncus non imperdiet at, imperdiet non arcu. Phasellus laoreet lectus vitae nunc condimentum porta.
                    
100
                    
100
                    
101    Aenean adipiscing tempor leo id molestie. Nulla pulvinar turpis neque. Sed gravida, tellus et fermentum rhoncus, est arcu consequat nibh, eget luctus ipsum lorem vel sem. Praesent gravida, arcu sed adipiscing imperdiet, ligula velit vulputate mi, quis congue odio neque sed enim. Ut hendrerit tellus eu lorem commodo scelerisque. Fusce lacinia dignissim ullamcorper. In nec sem id metus convallis dictum. Donec fringilla enim vel justo iaculis vehicula. Aliquam in augue sem, eu malesuada urna. Quisque eleifend dignissim quam at hendrerit. Sed vel vehicula felis. Aenean a risus augue. Sed pellentesque fermentum hendrerit.
                    
102
                    
                
jquery.rating.js http://xbat-devel.googlecode.com/svn/trunk/ | JavaScript | 241 lines
                    
2 ### jQuery Star Rating Plugin v2.61 - 2009-01-23 ###
                    
3 * http://www.fyneworks.com/ - diego@fyneworks.com
                    
4 * Dual licensed under the MIT and GPL licenses:
                    
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,
                    
                
categories.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 404 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: categories.php 1614 2013-01-04 03:57:15Z ggppdk $
                    
4 * @package Joomla
                    
18
                    
19defined( '_JEXEC' ) or die( 'Restricted access' );
                    
20
                    
86		$tbl = 'flexicontent_categories';
                    
87		$redirect_url = 'index.php?option=com_flexicontent&view=categories';
                    
88		flexicontent_db::checkin($tbl, $redirect_url, $this);
                    
158				JError::raiseWarning(500, $model->getError());
                    
159				$this->setRedirect( 'index.php?option=com_flexicontent&view=categories', $msg );
                    
160				return;
                    
173		// redirect to categories management tab
                    
174		$this->setRedirect( 'index.php?option=com_flexicontent&view=categories', $msg );
                    
175	}
                    
                
class.listype.php http://kak.googlecode.com/svn/trunk/ | PHP | 343 lines
                    
1<?php
                    
2defined('_JEXEC') OR die('Access Denied!');
                    
                
Comments.php https://PHPExcel.svn.codeplex.com/svn | PHP | 305 lines
                    
46/** PHPExcel_Worksheet */
                    
47require_once PHPEXCEL_ROOT . 'PHPExcel/Worksheet.php';
                    
48
                    
49/** PHPExcel_Comment */
                    
50require_once PHPEXCEL_ROOT . 'PHPExcel/Comment.php';
                    
51
                    
52/** PHPExcel_RichText */
                    
53require_once PHPEXCEL_ROOT . 'PHPExcel/RichText.php';
                    
54
                    
55/** PHPExcel_Cell */
                    
56require_once PHPEXCEL_ROOT . 'PHPExcel/Cell.php';
                    
57
                    
58/** PHPExcel_Style_Color */
                    
59require_once PHPEXCEL_ROOT . 'PHPExcel/Style/Color.php';
                    
60
                    
                
JErrorTest.php git://github.com/joomla/joomla-platform.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
9
                    
10require_once JPATH_PLATFORM . '/legacy/error/error.php';
                    
11require_once JPATH_PLATFORM . '/legacy/exception/exception.php';
                    
11require_once JPATH_PLATFORM . '/legacy/exception/exception.php';
                    
12require_once __DIR__ . '/JErrorInspector.php';
                    
13
                    
369	/**
                    
370	 * Test JError::handleDie
                    
371	 *
                    
371	 *
                    
372	 * @todo    Implement testHandleDie().
                    
373	 *
                    
375	 */
                    
376	public function testHandleDie()
                    
377	{
                    
                
usercp_viewprofile.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 241 lines
                    
4
                    
5require(INC_DIR .'bbcode.php');
                    
6
                    
12{
                    
13	bb_die($lang['NO_USER_ID_SPECIFIED']);
                    
14}
                    
16{
                    
17	bb_die($lang['NO_USER_ID_SPECIFIED']);
                    
18}
                    
61//
                    
62include(INC_DIR ."functions_report.php");
                    
63$report_user = report_modules('name', 'report_user');
                    
142	'TRAF_STATS'           => !(IS_AM || $profile_user_id),
                    
143	'U_MANAGE'             => (IS_ADMIN) ? "profile.php?mode=editprofile&amp;u={$profiledata['user_id']}" : 'profile.php?mode=editprofile',
                    
144));
                    
                
static.js https://github.com/paul999/ajax-shoutbox.git | JavaScript | 735 lines
                    
5* @copyright (c) 2007 Paul Sohier
                    
6* @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
7*
                    
38
                    
39	err.name = "E_USER_ERROR";// Php error?!? :D
                    
40	return err;
                    
149							case 'script':
                    
150								// Bad boy, die.
                    
151								return;
                    
                
recaptchalib.php git://github.com/mfriesen/kaching-php.git | PHP | 277 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This is a PHP library that handles calling reCAPTCHA.
                    
4 *    - Documentation and latest version
                    
4 *    - Documentation and latest version
                    
5 *          http://recaptcha.net/plugins/php/
                    
6 *    - Get a reCAPTCHA API Key
                    
74        $http_request .= "Content-Length: " . strlen($req) . "\r\n";
                    
75        $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
                    
76        $http_request .= "\r\n";
                    
80        if( false == ( $fs = @fsockopen($host, $port, $errno, $errstr, 10) ) ) {
                    
81                die ('Could not open socket');
                    
82        }
                    
215	if (! function_exists ("mcrypt_encrypt")) {
                    
216		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
                    
217	}
                    
                
calendartype_test.php git://github.com/moodle/moodle.git | PHP | 329 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24
                    
25defined('MOODLE_INTERNAL') || die();
                    
26
                    
29// The test calendar type.
                    
30require_once($CFG->dirroot . '/calendar/tests/calendartype_test_example.php');
                    
31
                    
32// Used to test the dateselector elements.
                    
33require_once($CFG->libdir . '/form/dateselector.php');
                    
34require_once($CFG->libdir . '/form/datetimeselector.php');
                    
36// Used to test the user datetime profile field.
                    
37require_once($CFG->dirroot . '/user/profile/lib.php');
                    
38require_once($CFG->dirroot . '/user/profile/definelib.php');
                    
38require_once($CFG->dirroot . '/user/profile/definelib.php');
                    
39require_once($CFG->dirroot . '/user/profile/index_field_form.php');
                    
40
                    
                
mysql_class_v1_1.php http://htdocstest.googlecode.com/svn/trunk/ | PHP | 411 lines
                    
1<?php 
                    
2
                    
130            
                    
131        if (!@$this->conn = mysql_connect($this->_server,$this->_user,$this->_pass)) die ("I'm Sorry the MySQL Server could not be reached !");
                    
132			
                    
154    function readconf($file){
                    
155    //if (!file_exists($file) || !is_readable($file)) die ("Error reading configuration file. ");
                    
156    $def = file($file);
                    
287    * $action is insert update based
                    
288    * $form_action is this example (action='index.php')
                    
289    * BETA TESTED WORKS GOOD ON SMALL CODE 
                    
365        
                    
366        if ($table == '') die ("Erro tabela n???o defenida");
                    
367        
                    
                
Messo.class.php http://antilophpe.googlecode.com/svn/ | PHP | 375 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * File Messo.class.php
                    
4 *
                    
209            WHERE "ant_Messo"."id" = '.$this->getId();
                    
210    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query:<hr/> '.$query.'<hr/>Error during selection in table `ant_Messo`: '.var_dump(oci_error()));
                    
211   oci_execute($result, OCI_DEFAULT);
                    
230            WHERE "ant_Messo"."id" = '.$this->getId();
                    
231    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query:<hr/> '.$query.'<hr/>Error during selection in table `ant_Messo`: '.var_dump(oci_error()));
                    
232   oci_execute($result, OCI_DEFAULT);
                    
252            '.$whereString;
                    
253    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query:<hr/> '.$query.'<hr/>Error during selection in table `ant_Messo`: '.var_dump(oci_error()));
                    
254   oci_execute($result, OCI_DEFAULT);
                    
277            AND (0 '.$whereString.');';
                    
278    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query:<hr/> '.$query.'<hr/>Error during selection in table `ant_Messo`: '.var_dump(oci_error()));
                    
279   oci_execute($result, OCI_DEFAULT);
                    
                
RegisteredCharacter.php https://code.google.com/p/yapeal/ | PHP | 309 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 *
                    
6 *
                    
7 * LICENSE: This file is part of Yet Another Php Eve Api library also know
                    
8 * as Yapeal which will be used to refer to it in the rest of this license.
                    
41  $mess = basename(__FILE__)
                    
42    . ' must be included it can not be ran directly.' . PHP_EOL;
                    
43  if (PHP_SAPI != 'cli') {
                    
44    header('HTTP/1.0 403 Forbidden', TRUE, 403);
                    
45    die($mess);
                    
46  };
                    
                
admin.users.html.php http://miacms.googlecode.com/svn/trunk/ | PHP | 510 lines
                    
1<?php
                    
2/**
                    
4 * @subpackage Users
                    
5 * @author MiaCMS see README.php
                    
6 * @copyright see README.php
                    
160		?>
                    
161		<form action="index2.php?f=<?php echo mosMainframe::formId($option, 'edit', $my); ?>" method="post" id="adminForm" name="adminForm">
                    
162		<table class="adminheading">
                    
164			<th class="user">
                    
165			<?php echo T_('User:'); ?> <small><?php echo $row->id ? T_('Edit') : T_('Add');?></small>
                    
166			</th>
                    
362						<td valign="top">
                    
363						<img src="<?php echo $mosConfig_live_site;?>/images/stories/<?php echo $contact[0]->image; ?>" align="middle" alt="<?php echo T_('Contact'); ?>" />
                    
364						</td>
                    
371					<br /><br />
                    
372					<input class="button" type="button" value="<?php echo T_('Change Contact Details'); ?>" onclick="YAHOO.admin.user.gotocontact( '<?php echo $contact[0]->id; ?>' );" />
                    
373					<i>
                    
                
beamer_display.class.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 210 lines
                    
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 />");
                    
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>'; }
                    
50		}
                    
58		function formatActiveStatus ( $var, $var2 ) {
                    
59			if ( $var == "1" ) { return '<a href="index.php?mod=beamer&action=toggleactive&bcid='.$var2.'"><img src="design/images/icon_active.png" alt="Aktiv" border="0"></a>'; }
                    
60			if ( $var == "0" ) { return '<a href="index.php?mod=beamer&action=toggleactive&bcid='.$var2.'"><img src="design/images/icon_deactive.png" alt="Deaktiv" border="0"></a>'; }
                    
81		$ms2->AddIconField('delete','index.php?mod=beamer&action=askfordelete&bcid=',t('L&ouml;schen'));
                    
82		$ms2->PrintSearch('index.php?mod=beamer&action=content', 'bcID');		
                    
83
                    
177	        ob_start();
                    
178	        include_once("ext_scripts/FCKeditor/fckeditor.php");
                    
179	        $oFCKeditor = new FCKeditor('FCKeditor1') ;
                    
                
mostlyce.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2/**
                    
9/** ensure this file is being included by a parent file */
                    
10defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
                    
11
                    
12global $mosConfig_live_site, $jspath, $mosConfig_absolute_path, $adminside;
                    
13include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php");
                    
14
                    
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;
                    
                
messages.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 407 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 * LICENSE: This source file is subject to LGPL license
                    
                
dataform.php http://rapyd-framework.googlecode.com/svn/trunk/ | PHP | 476 lines
                    
1<?php
                    
2
                    
122			$this->show_error('datamodel non valido ' . get_class($source));
                    
123			die();
                    
124		}
                    
128	 * set css style
                    
129	 * @todo search online for a better way to work with html/css for example using a dom-api like phpquery  
                    
130	 * @param string $style 
                    
157			$this->show_error('datamodel non valido ' . get_class($source));
                    
158			die();
                    
159		}
                    
                
instructions_de.htm git://github.com/MattWilcox/Adaptive-Images.git | HTML | 177 lines
                    
29    Das Script MUSS sich im head Bereich befinden damit es ausgeführt wird bevor 
                    
30    die gesamte Seite geladen ist und die ersten Bilder vom Server ausgeliefert werden.</p>
                    
31<pre><code>&lt;script&gt;document.cookie='resolution='+Math.max(screen.width,
                    
33    <p>Das wars. Sie sind fertig</p>
                    
34    <p>ANMERKUNG: Die <code>ai-cookie.php</code> Datei wird normalerweise nicht 
                    
35    benötigt. Nur beim Einsatz der <a href="#alternate">Alternativen Methode</a> 
                    
91    <h3>PHP</h3>
                    
92    <p>Sie können die PHP-Datei öffnen und die Einstellungen im  CONFIG Bereich ändern. 
                    
93    Die Standardwerte sehen so aus:</p>
                    
171er arbeitet weiter während er auf die externe datei wartet. Das bedeutet das 
                    
172schon Bilddateien angefordert werden können bevor die PHP Datei abgearbeitet wurde 
                    
173und somit noch kein Cookie gesetzt wurde. Das wiederum heisst, daß wenn $mobile_first TRUE ist
                    
173und somit noch kein Cookie gesetzt wurde. Das wiederum heisst, daß wenn $mobile_first TRUE ist
                    
174die für mobile Geräte verkleinerten Bilder gesendet werden. Aber nur wenn die 
                    
175allererste Seite geladen wird.</p>
                    
                
Report.php git://github.com/robotis/PHPLinter.git | PHP | 369 lines
                    
23*/
                    
24namespace PHPLinter;
                    
25class Report {
                    
133			if(!($this->options & OPT_OVERWRITE_REPORT)) {
                    
134				die("`$output_dir` not empty, aborting...\n");
                    
135			}
                    
188			Path::write_file($ofile, $this->html($out, count($pp)));
                    
189			$url['phplinter___file'] = $file;
                    
190			$url['phplinter___url'] = strtr($rfile, './', '__').'.html';
                    
190			$url['phplinter___url'] = strtr($rfile, './', '__').'.html';
                    
191			$url['phplinter___sort'] = strtolower($url['phplinter___url']);
                    
192			$this->parts($pp, $url, $urls);
                    
232				$content .= '<td class="'.$limit.'">'.sprintf('%.2f', SCORE_FULL).'</td>';
                    
233				$content .= '<td><a href="'.$_['phplinter___url'].'">'.substr(realpath($_['phplinter___file']), 
                    
234																  strlen($this->root . $path))
                    
                
Client.php git://github.com/kohana/core.git | PHP | 428 lines
                    
1<?php defined('SYSPATH') OR die('No direct script access.');
                    
2/**
                    
238	 *
                    
239	 * Accepts an array with HTTP response headers as keys and a PHP callback
                    
240	 * function as values. These callbacks will be triggered if a response contains
                    
                
atom.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 435 lines
                    
1<?php
                    
2
                    
100    if (!is_scalar($section) || !is_scalar($category)) {
                    
101        txp_die('Not Found', 404);
                    
102    }
                    
275            if (safe_field('name', 'txp_section', "name in ('".join("','", $section)."')") == false) {
                    
276                txp_die(gTxt('404_not_found'), '404');
                    
277            }
                    
281                    if (safe_field('id', 'txp_category', "name = '$category' and type = 'link'") == false) {
                    
282                        txp_die(gTxt('404_not_found'), '404');
                    
283                    }
                    
287                    if (safe_field('id', 'txp_category', "name in ('".join("','", $category)."') and type = 'article'") == false) {
                    
288                        txp_die(gTxt('404_not_found'), '404');
                    
289                    }
                    
393{
                    
394    if (version_compare(phpversion(), "5.0.0", ">=")) {
                    
395        $str =  html_entity_decode($toUnicode, ENT_QUOTES, "UTF-8");
                    
                
class.cachehandler.php https://code.google.com/p/evedev-kb/ | PHP | 474 lines
                    
1<?php
                    
2/**
                    
340			trigger_error("Invalid cache filename. Name given was: ".htmlentities($newfilename), E_USER_ERROR);
                    
341			die;
                    
342		}
                    
349				trigger_error("Invalid cache path. Path given was: ".htmlentities($newlocation), E_USER_ERROR);
                    
350				die;
                    
351			} else {
                    
                
ResultSet.php git://github.com/spadefoot/kohana-orm-leap.git | PHP | 362 lines
                    
1<?php defined('SYSPATH') OR die('No direct script access.');
                    
2
                    
                
comment.php http://lazycms.googlecode.com/svn/trunk/ | PHP | 358 lines
                    
1<?php
                    
2/**
                    
19 */
                    
20defined('COM_PATH') or die('Restricted access!');
                    
21/**
                    
                
jplayer.dark.css git://github.com/robinrizvi/Audio-Gallery-Suite.git | CSS | 569 lines
                    
8 * Dual licensed under the MIT and GPL licenses.
                    
9 *  - http://www.opensource.org/licenses/mit-license.php
                    
10 *  - http://www.gnu.org/copyleft/gpl.html
                    
43  background: #444;
                    
44  background: -moz-linear-gradient(top, #444, #111);
                    
45	background: -o-linear-gradient(top, #444, #111);
                    
45	background: -o-linear-gradient(top, #444, #111);
                    
46	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
                    
47  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#111111');
                    
47  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#111111');
                    
48	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#444444, endColorstr=#111111)";
                    
49  border: 0;
                    
460  background: #FFF;
                    
461  background: -moz-linear-gradient(top, #FFF, #EEE);
                    
462	background: -o-linear-gradient(top, #FFF, #EEE);
                    
                
admin_pages_xtra.php git://github.com/gallery/gallery3-contrib.git | PHP | 331 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2/**
                    
                
admin.mambots.html.php http://miacms.googlecode.com/svn/trunk/ | PHP | 332 lines
                    
1<?php
                    
2/**
                    
4 * @subpackage Mambots
                    
5 * @author MiaCMS see README.php
                    
6 * @copyright see README.php
                    
6 * @copyright see README.php
                    
7 * See COPYRIGHT.php for copyright notices and details.
                    
8 * @license GNU/GPL Version 2, see LICENSE.php
                    
14/** ensure this file is being included by a parent file */
                    
15defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
                    
16
                    
30			<th class="modules">
                    
31			<?php echo T_('Mambot Manager')?> <small><small>[ <?php echo $client == 'admin' ? T_('Administrator') : T_('Site');?> ]</small></small>
                    
32			</th>
                    
232					<td>
                    
233					<input class="text_area" type="text" name="element" size="35" value="<?php echo $row->element; ?>" />.php
                    
234					</td>
                    
                
admin.media.php http://miacms.googlecode.com/svn/trunk/ | PHP | 360 lines
                    
1<?php
                    
2/**
                    
4* @subpackage Media Manager
                    
5* @author MiaCMS see README.php
                    
6* @copyright see README.php
                    
6* @copyright see README.php
                    
7* See COPYRIGHT.php for copyright notices and details.
                    
8* @license GNU/GPL Version 2, see LICENSE.php
                    
14/** ensure this file is being included by a parent file */
                    
15defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
                    
16
                    
19		| $acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'com_media' ))) {
                    
20	mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') );
                    
21}
                    
38if (is_int(strpos ($listdir, "..")) && $listdir<>'') {
                    
39	mosRedirect( "index2.php?option=com_media&listdir=".$_POST['dirPath'], T_("NO HACKING PLEASE") );
                    
40	}
                    
                
weblinks.html.php http://miacms.googlecode.com/svn/trunk/ | PHP | 328 lines
                    
25			<div class="componentheading<?php echo $params->get( 'pageclass_sfx' ); ?>">
                    
26			<?php echo $currentcat->header; ?>
                    
27			</div>
                    
39				?>
                    
40				<img src="<?php echo $currentcat->img; ?>" align="<?php echo $currentcat->align; ?>" hspace="6" alt="<?php echo T_('Web Links'); ?>" />
                    
41				<?php
                    
158				<?php echo $txt; ?>
                    
159				<?php
                    
160				if ( $params->get( 'item_description' ) ) {
                    
211					<li>
                    
212						<a href="<?php echo sefRelToAbs( $link ); ?>" class="category<?php echo $params->get( 'pageclass_sfx' ); ?>">
                    
213						<?php echo $cat->name;?>
                    
242		
                    
243		<form action="<?php echo sefRelToAbs("index.php"); ?>" method="post" name="adminForm" id="adminForm">
                    
244		<table cellpadding="0" cellspacing="0" border="0" width="100%">
                    
                
user.php https://gitlab.com/dobrado/dobrado.git | PHP | 420 lines
                    
1<?php
                    
2// Dobrado Content Management System
                    
109      session_start();
                    
110      // new-login is used by init.php to clear local storage.
                    
111      if ($this->defaultPage) $_SESSION['new-login'] = true;
                    
118      $this->loggedIn = true;
                    
119      // Indieauth users are given persistent login by default.
                    
120      if (isset($_SESSION['indieauth-login'])) {
                    
120      if (isset($_SESSION['indieauth-login'])) {
                    
121        unset($_SESSION['indieauth-login']);
                    
122        $this->RememberLogin();
                    
159    $mysqli = connect_db();
                    
160    // A login code can be sent to an email address in deploy.php after a
                    
161    // verification code was previously sent to make sure the email address
                    
354    // The start module provides some default settings if installed. It is
                    
355    // possible that module.php cannot be included before user.php, so need
                    
356    // to check that the Module class exits here.
                    
                
tags.php http://bitcero-modules.googlecode.com/svn/ | PHP | 371 lines
                    
1<?php
                    
2// $Id: tags.php 900 2012-01-03 07:07:52Z i.bitcero $
                    
11define('RMCLOCATION','tags');
                    
12include 'header.php';
                    
13
                    
52    $nav = new RMPageNav($num, $limit, $page, 5);
                    
53    $nav->target_url("tags.php?search=".urlencode($search)."&amp;page={PAGE_NUM}");
                    
54    
                    
87	
                    
88	include RMTemplate::get()->get_template("admin/gs_tags.php",'module','galleries');
                    
89	RMTemplate::get()->add_script(RMCURL.'/include/js/jquery.checkboxes.js');
                    
89	RMTemplate::get()->add_script(RMCURL.'/include/js/jquery.checkboxes.js');
                    
90	RMTemplate::get()->add_script('../include/js/gsscripts.php?file=sets&form=frm-tags');
                    
91	RMTemplate::get()->add_script('../include/js/gsscripts.php?file=tags');
                    
117		if (!is_array($ids) && $ids<=0){
                    
118			redirectMsg('./tags.php?'.$ruta,__('Specify some valid IDs','galleries'),1);
                    
119			die();
                    
                
ThemeManager.php https://code.google.com/p/enanocms/ | PHP | 429 lines
                    
1<?php
                    
2
                    
32	if ( !$dh )
                    
33		die('Couldn\'t open themes directory');
                    
34	$themes = array();
                    
68	if ( !$q )
                    
69		$db->_die();
                    
70	
                    
94	<div style="float: right;">
                    
95		<a href="#" id="systheme_toggler" onclick="ajaxToggleSystemThemes(); return false;"><?php echo $lang->get('acptm_btn_system_themes_show'); ?></a>
                    
96	</div>
                    
96	</div>
                    
97	<?php
                    
98	echo '<h3>' . $lang->get('acptm_heading_edit_themes') . '</h3>';
                    
183	{
                    
184		die('Exception in JSON parser, probably invalid input.');
                    
185	}
                    
                
dojo2.inc https://code.google.com/p/realitybuilder/ | Pascal | 442 lines
                    
1<?php
                    
2
                    
5
                    
6require_once('JavaScriptLanguage.php');
                    
7require_once('JavaScriptParser.php');
                    
7require_once('JavaScriptParser.php');
                    
8require_once('JavaScriptStatements.php');
                    
9require_once('JavaScriptFunction.php');
                    
9require_once('JavaScriptFunction.php');
                    
10require_once('Dojo.php');
                    
11require_once('DojoCommentBlock.php');
                    
62  if (!is_dir($directory)) {
                    
63    die("$directory is not a directory\n");
                    
64  }
                    
129        }
                    
130        if (!$location) die($namespace . '_code_location does not return useful result');
                    
131        $list = _jsdoc_file_list($location);
                    
                
helper.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 530 lines
                    
1<?php
                    
2/**
                    
9
                    
10defined('JPATH_PLATFORM') or die;
                    
11
                    
476		$stat = @stat(__FILE__);
                    
477		if (empty($stat) || !is_array($stat)) $stat = array(php_uname());
                    
478
                    
                
events_test.php git://github.com/moodle/moodle.git | PHP | 359 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    webservice
                    
21 * @category   phpunit
                    
22 * @copyright  2013 Frédéric Massart
                    
25
                    
26defined('MOODLE_INTERNAL') || die();
                    
27
                    
31 * @package    webservice
                    
32 * @category   phpunit
                    
33 * @copyright  2013 Frédéric Massart
                    
146        $this->assertEquals($service->id, $event->objectid);
                    
147        $returnurl = $CFG->wwwroot . "/" . $CFG->admin . "/settings.php?section=externalservices";
                    
148        $expected = array(SITEID, 'webservice', 'add', $returnurl, get_string('addservice', 'webservice', $service));
                    
191        $this->assertEquals($service->id, $event->objectid);
                    
192        $returnurl = $CFG->wwwroot . "/" . $CFG->admin . "/settings.php?section=externalservices";
                    
193        $expected = array(SITEID, 'webservice', 'edit', $returnurl, get_string('editservice', 'webservice', $service));
                    
                
TpDb.php http://turbophp.googlecode.com/svn/trunk/ | PHP | 383 lines
                    
1<?php
                    
2
                    
3# +----------------------------------------------------------------------+
                    
4# | TurboPhp 4 - TpDb
                    
5# | Version 4.0 Beta                                                     |
                    
8# +----------------------------------------------------------------------+
                    
9# | This source file is subject to the terms of the TurboPhp license,    |
                    
10# | that is bundled with this package in the file LICENSE.TXT, and is    |
                    
11# | available at through the world-wide-web at                           |
                    
12# | http://www.turbophp.com/turbophp/license.txt                         |
                    
13# +----------------------------------------------------------------------+
                    
55    if ($this->ConfigFile == '')
                    
56      $this->ConfigFile = $tpSupportPath . "$this->Name.conf.php";
                    
57    if (!$this->ConnectManually)
                    
95  }
                    
96  function ConnectOrDie($inMessage = '')
                    
97  {
                    
                
registry.php git://github.com/joomla/joomla-platform.git | PHP | 472 lines
                    
1<?php
                    
2/**
                    
9
                    
10defined('JPATH_PLATFORM') or die;
                    
11
                    
90	 * @since   12.2
                    
91	 * @note    The interface is only present in PHP 5.4 and up.
                    
92	 */
                    
                
functions.php http://jvstutoriales.googlecode.com/svn/trunk/ | PHP | 459 lines
                    
97
                    
98                header("Location: themes.php?page=functions.php&saved=true");
                    
99                die;
                    
164            <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                    
165            <td width="80%"><input style="width:400px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?>" /></td>
                    
166        </tr>
                    
179            <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                    
180            <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:400px; height:200px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?></textarea></td>
                    
181            
                    
194            <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
                    
195            <td width="80%"><select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>"><?php foreach ($value['options'] as $option) { ?><option<?php if ( get_settings( $value['id'] ) == $option) { echo ' selected="selected"'; } elseif ($option == $value['std']) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option><?php } ?></select></td>
                    
196       </tr>
                    
209                <td width="80%"><? if(get_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?>
                    
210                        <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> />
                    
211                        </td>
                    
                
class_notifications.php git://github.com/MightyGorgon/icy_phoenix.git | PHP | 410 lines
                    
1<?php
                    
2/**
                    
6* @copyright (c) 2008 Icy Phoenix
                    
7* @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
8*
                    
12{
                    
13	die('Hacking attempt');
                    
14}
                    
47
                    
48		// Let's do some checking to make sure that mass mail functions are working in win32 versions of php.
                    
49		if (!$config['smtp_delivery'] && preg_match('/[c-z]:\\\.*/i', getenv('PATH')))
                    
50		{
                    
51			$ini_val = (@phpversion() >= '4.0.0') ? 'ini_get' : 'get_cfg_var';
                    
52
                    
52
                    
53			// We are running on windows, force delivery to use our smtp functions since php's are broken by default
                    
54			$config['smtp_delivery'] = 1;
                    
                
modules_loggers_custom.html git://pkgs.fedoraproject.org/cherokee | HTML | 203 lines
                    
10    <meta name="Keywords" content="cherokee web server httpd http" />
                    
11    <meta name="Description" content="Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more." />
                    
12    <link href="media/css/cherokee_doc.css" rel="stylesheet" type="text/css" media="all" />
                    
151of any of these substitution macros. You can read more about this on
                    
152the <a href="other_goodies.html#templating">Template Subsystem</a> section of
                    
153the documentation.</p></div>
                    
                
install_check.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 338 lines
                    
1<?php
                    
2
                    
9
                    
10if( ! defined( 'NV_IS_FILE_MODULES' ) ) die( 'Stop!!!' );
                    
11
                    
22{
                    
23	require_once NV_ROOTDIR . '/includes/class/pclzip.class.php';
                    
24
                    
265		{
                    
266			$xtpl->assign( 'URL_GO', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=setup" );
                    
267			$xtpl->parse( 'complete.ok' );
                    
272
                    
273		include ( NV_ROOTDIR . "/includes/header.php" );
                    
274		echo ( $contents );
                    
274		echo ( $contents );
                    
275		include ( NV_ROOTDIR . "/includes/footer.php" );
                    
276		exit();
                    
                
global.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 240 lines
                    
1<?php
                    
2
                    
10
                    
11if( ! defined( 'NV_MAINFILE' ) ) die( 'Stop!!!' );
                    
12
                    
219$lang_global['error_uploadSizeEmpty'] = 'UserFile Size is empty';
                    
220$lang_global['error_upload_ini_size'] = 'The uploaded file exceeds the upload_max_filesize directive in php.ini';
                    
221$lang_global['error_upload_form_size'] = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form';
                    
                
date.php git://github.com/joomla/joomla-platform.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
9
                    
10defined('JPATH_PLATFORM') or die;
                    
11
                    
252	 *
                    
253	 * @param   string   $format     The date format specification string (see {@link PHP_MANUAL#date})
                    
254	 * @param   boolean  $local      True to return the date string in the local time zone, false to return it in GMT.
                    
268	 *
                    
269	 * @param   string   $format     The date format specification string (see {@link PHP_MANUAL#date})
                    
270	 * @param   boolean  $local      True to return the date string in the local time zone, false to return it in GMT.
                    
391	 * @since   11.1
                    
392	 * @note    This method can't be type hinted due to a PHP bug: https://bugs.php.net/bug.php?id=61483
                    
393	 */
                    
                
database_sqlpatches.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 396 lines
                    
1<?php
                    
2
                    
2
                    
3//stop the direct browsing to this file - let index.php handle which files get displayed
                    
4//checkLogin();
                    
5
                    
6require($include_dir . 'sys/include/sql_patches.php');
                    
7
                    
16	$check_patches_sql = "SELECT max(sql_patch_ref) AS count FROM ".TB_PREFIX."sql_patchmanager ";
                    
17	$sth = $db->query($check_patches_sql) or die(htmlsafe(end($dbh->errorInfo())));
                    
18
                    
58		<br />The database patches have now been applied. You can now start working with Simple Invoices.<br />
                    
59		<p align=middle><br /><a href="index.php"><font color="green">HOME</font></a></p>
                    
60<table align='center'>
                    
81	//exit();
                    
82	$refresh = '<meta http-equiv="refresh" content="5;url=index.php">';
                    
83
                    
                
date-format-tofte.js https://bitbucket.org/pypy/lang-js/ | JavaScript | 300 lines
                    
9    // formatDate :
                    
10    // a PHP date like function, for formatting date strings
                    
11    // See: http://www.php.net/date
                    
45    function a() {
                    
46        // Lowercase Ante meridiem and Post meridiem
                    
47        return self.getHours() > 11? "pm" : "am";
                    
49    function A() {
                    
50        // Uppercase Ante meridiem and Post meridiem
                    
51        return self.getHours() > 11? "PM" : "AM";
                    
                
cp_man.php https://gitlab.com/BGCX261/zjrenju-svn-to-git.git | PHP | 457 lines
                    
42
                    
43			$cplist.=" [<a  href=\"index.php?mode=cp_man&action=makepage&cp_id=$cpdata[cp_id]\">生成(刷新)报表</a>]";
                    
44
                    
173
                    
174	require_once('../include/m_func.php');
                    
175	$players=array();
                    
207	echo('</pre>');
                    
208	die();
                    
209	*/
                    
288	$buf.="</h5>";
                    
289	$buf.="<h5>Totally $total games, $finished finished. [<a href=\"g_search.php?&action=list&cp_id=$cp_id\">view</a>] [<a href=\"g_search.php?&action=list&cp_id=$cp_id&packdown=1\">download</a>]  </h5>";
                    
290			
                    
324		$buf.='<b>Group '.chr(65+$num)." ($str_status)</b>";
                    
325		$buf.="</td><td align=\"right\">$finished/$total finished.[<a href=\"g_search.php?&action=list&group_id=$gpdata[group_id]\">view</a>] [<a href=\"g_search.php?&action=list&group_id=$gpdata[group_id]&packdown=1\">download</a>]</td></tr></table>";
                    
326		//生成表格
                    
                
application.php git://pkgs.fedoraproject.org/php-getid3 | PHP | 518 lines
                    
1<?php
                    
2
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP version 5.1.4                                                    |
                    
5// +----------------------------------------------------------------------+
                    
9// | Updates and other scripts by Allan Hansen here:                      |  
                    
10// |     http://www.artemis.dk/php/                                       |
                    
11// +----------------------------------------------------------------------+
                    
11// +----------------------------------------------------------------------+
                    
12// | application.php                                                      |
                    
13// | Web Application Framework                                            |
                    
17//
                    
18// $Id: application.php,v 1.4 2007/01/03 16:15:59 ah Exp $
                    
19
                    
65        // Load dependecies
                    
66        require_once 'abstraction.php';
                    
67        
                    
                
addvideo.php http://nukeviet-music.googlecode.com/svn/trunk/ | PHP | 422 lines
                    
1<?php
                    
2
                    
9
                    
10if( ! defined( 'NV_IS_MUSIC_ADMIN' ) ) die( 'Stop!!!' );
                    
11
                    
80
                    
81	if( $numrow != 1 ) nv_info_die( $lang_global['error_404_title'], $lang_global['error_404_title'], $lang_global['error_404_content'] );
                    
82
                    
189			nv_del_moduleCache( $module_name );
                    
190			Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=videoclip" );
                    
191			die();
                    
256			nv_del_moduleCache( $module_name );
                    
257			Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=videoclip" );
                    
258			die();
                    
372					var path = \"" . NV_UPLOADS_DIR . "/" . $module_name . "/" . $setting['root_contain'] . "/video\";
                    
373					nv_open_browse_file(\"" . NV_BASE_ADMINURL . 'index.php?' . NV_NAME_VARIABLE . '=upload&popup=1&area=" + area+"&path="+path, "NVImg", "850", "500","resizable=no,scrollbars=no,toolbar=no,location=no,status=no' . "\");
                    
374					return false;
                    
                
options-permalink.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 290 lines
                    
203	<tr>
                    
204		<th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th>
                    
205		<td><code><?php echo get_option('home'); ?>/?p=123</code></td>
                    
207	<tr>
                    
208		<th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th>
                    
209		<td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td>
                    
211	<tr>
                    
212		<th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th>
                    
213		<td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></td>
                    
215	<tr>
                    
216		<th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th>
                    
217		<td><code><?php echo get_option('home') . $blog_prefix . $prefix; ?>/archives/123</code></td>
                    
288
                    
289<?php require('./admin-footer.php'); ?>
                    
290
                    
                
default.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: default.php 1528 2012-10-30 01:51:10Z ggppdk $
                    
4 * @package Joomla
                    
18
                    
19defined('_JEXEC') or die('Restricted access');
                    
20
                    
60<div class="flexicontent">
                    
61<form action="index.php?option=com_flexicontent&amp;view=search" method="post" name="adminForm" id="adminForm">
                    
62
                    
66				<th width="5">
                    
67					<?php echo JText::_('NUM'); ?>
                    
68				</th>
                    
195				<td>
                    
196					<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_ITEM' );?>::<?php echo $row->title; ?>">
                    
197					<?php
                    
                
default.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: default.php 1803 2013-11-05 03:10:36Z ggppdk $
                    
4 * @package Joomla
                    
18
                    
19defined('_JEXEC') or die('Restricted access');
                    
20
                    
60<div class="flexicontent">
                    
61<form action="index.php?option=com_flexicontent&amp;view=search" method="post" name="adminForm" id="adminForm">
                    
62
                    
66				<th width="5">
                    
67					<?php echo JText::_('NUM'); ?>
                    
68				</th>
                    
195				<td>
                    
196					<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_ITEM' );?>::<?php echo $row->title; ?>">
                    
197					<?php
                    
                
user.inc.php git://github.com/modxcms/revolution.git | PHP | 204 lines
                    
1<?php
                    
2/**
                    
33$_lang['profile_recent_resources'] = 'Resource Terbaru';
                    
34$_lang['profile_recent_resources_desc'] = 'Ini adalah daftar Sumber Daya yang terakhir diedit.';
                    
35$_lang['remote_data'] = 'Remote Data';
                    
                
events_test.php git://github.com/moodle/moodle.git | PHP | 365 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26defined('MOODLE_INTERNAL') || die();
                    
27
                    
71        $this->assertEquals(context_module::instance($data->cmid), $event->get_context());
                    
72        $expected = array($course->id, 'data', 'fields add', 'field.php?d=' . $data->id . '&amp;mode=display&amp;fid=' .
                    
73            $field->field->id, $field->field->id, $data->cmid);
                    
75        $this->assertEventContextNotUsed($event);
                    
76        $url = new moodle_url('/mod/data/field.php', array('d' => $data->id));
                    
77        $this->assertEquals($url, $event->get_url());
                    
111        $this->assertEquals(context_module::instance($data->cmid), $event->get_context());
                    
112        $expected = array($course->id, 'data', 'fields update', 'field.php?d=' . $data->id . '&amp;mode=display&amp;fid=' .
                    
113            $field->field->id, $field->field->id, $data->cmid);
                    
115        $this->assertEventContextNotUsed($event);
                    
116        $url = new moodle_url('/mod/data/field.php', array('d' => $data->id));
                    
117        $this->assertEquals($url, $event->get_url());
                    
                
options-general.php git://github.com/wordpress/wordpress.git | PHP | 408 lines
                    
20$parent_file = 'options-general.php';
                    
21/* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/date */
                    
22$timezone_format = _x( 'Y-m-d H:i:s', 'timezone date format' );
                    
87<th scope="row"><label for="siteurl"><?php _e( 'WordPress Address (URL)' ); ?></label></th>
                    
88<td><input name="siteurl" type="url" id="siteurl" value="<?php form_option( 'siteurl' ); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php echo $wp_site_url_class; ?>" /></td>
                    
89</tr>
                    
92<th scope="row"><label for="home"><?php _e( 'Site Address (URL)' ); ?></label></th>
                    
93<td><input name="home" type="url" id="home" aria-describedby="home-description" value="<?php form_option( 'home' ); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php echo $wp_home_class; ?>" />
                    
94	<?php if ( ! defined( 'WP_HOME' ) ) : ?>
                    
142<td> <fieldset><legend class="screen-reader-text"><span><?php _e( 'Membership' ); ?></span></legend><label for="users_can_register">
                    
143<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked( '1', get_option( 'users_can_register' ) ); ?> />
                    
144	<?php _e( 'Anyone can register' ); ?></label>
                    
407
                    
408<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
                    
409
                    
                
groups.php git://github.com/concrete5/concrete5.git | PHP | 281 lines
                    
20		<?=t('You must be logged in as %s to remove groups.', USER_SUPER)?>
                    
21	<?php
                    
22    } else {
                    
32
                    
33	<?php
                    
34    }
                    
162                        <tr>
                    
163                            <?php
                    
164                                $days = $group->getGroupExpirationIntervalDays();
                    
205
                    
206            <?php if ($u->isSuperUser()) {
                    
207    ?>
                    
269	<div class="ccm-dashboard-header-buttons">
                    
270		<a href="<?php echo View::url('/dashboard/users/add_group')?>" class="btn btn-primary"><?php echo t("Add Group")?></a>
                    
271	</div>
                    
                
czechiso.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 235 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 
                    
8* @translator soeren
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
10* VirtueMart is free software. This version may have been modified pursuant
                    
13* other free or open source software licenses.
                    
14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
15*
                    
20	'CHARSET' => 'ISO-8859-1',
                    
21	'PHPSHOP_MODULE_LIST_ORDER' => 'Po?ad?',
                    
22	'PHPSHOP_PRODUCT_INVENTORY_LBL' => 'Seznam zbo??',
                    
22	'PHPSHOP_PRODUCT_INVENTORY_LBL' => 'Seznam zbo??',
                    
23	'PHPSHOP_PRODUCT_INVENTORY_STOCK' => 'Po?et',
                    
24	'PHPSHOP_PRODUCT_INVENTORY_WEIGHT' => 'Hmotnost',
                    
100	'PHPSHOP_PRICE_FORM_GROUP' => 'Skupina z?kazn?k?',
                    
101	'PHPSHOP_LEAVE_BLANK' => '(nechte PR?ZDN? pokud <br /> pro to nem?te ??dn? individu?ln? php soubor!)',
                    
102	'PHPSHOP_PRODUCT_FORM_ITEM_LBL' => 'Polo?ka',
                    
                
submit_result.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 240 lines
                    
112				if ($team2['disqualified']) $disqualify_link = "<font color=\"#ff0000\">".t('Disqualifiziert')."</font> ". $dsp->FetchSpanButton(t('Disqualifizieren rückgängig'), "index.php?mod=tournament2&action=disqualify&teamid={$team2['teamid']}&step=10");
                    
113				else $disqualify_link = $dsp->FetchSpanButton(t('Disqualifizieren'), "index.php?mod=tournament2&action=disqualify&teamid={$team2['teamid']}");
                    
114			}
                    
142      $ms2->AddResultField('', 'UNIX_TIMESTAMP(l.date) AS date', 'MS2GetDate');
                    
143      $ms2->PrintSearch('index.php?mod=tournament2&action=submit_result&step=1&tournamentid='. $_GET['tournamentid'] .'&gameid1='. $_GET['gameid1'] .'&gameid2='. $_GET['gameid2'], 'logid');
                    
144    	$dsp->AddFieldsetEnd();
                    
177			} elseif ($tournament["status"] != "process") { 
                    
178				$func->information(t('Dieses Turnier ist bereits beendet, oder noch nicht gestartet!'), "index.php?mod=tournament2&action=submit_result&step=1&tournamentid=$tournamentid&gameid1=$gameid1&gameid2=$gameid2");
                    
179
                    
201			} elseif (($not_new) && ($auth["type"] <= 1)) { 
                    
202				$func->information(t('Es wurde bereits ein Ergebnis für diese Partie eingetragen. Das Ergebnis kann nur noch von Turnieradmins editiert werden. Melden dich daher für Änderungen bei diesen.'), "index.php?mod=tournament2&action=submit_result&step=1&tournamentid=$tournamentid&gameid1=$gameid1&gameid2=$gameid2");
                    
203
                    
212				if (($not_new) && ($qacc != 1)){
                    
213					$func->question(t('ACHTUNG: Zu diesem Turnier wurde bereits ein Ergebnis eingetragen. Wurde noch keine der Folgepartien dieses Spieles gespielt, so kann ohne Probleme fortgefahren werden. Wurden diese hingegen bereits gespielt, so solltest du dir im Klaren darüber sein, dass die beiden Folgepartien dadurch teilweise überschrieben werden und das Ergebnis dort auf 0 (noch nicht gespielt) gesetzt wird, sodass du alle aus dieser Partie resultierenden Partien erneut eintragen musst!'), "index.php?mod=tournament2&action=submit_result&step=2&gameid1=$gameid1&gameid2=$gameid2&tournamentid=$tournamentid&qacc=1&score_team1=$score_team1&score_team2=$score_team2&score_comment=$score_comment", "index.php?mod=tournament2&action=submit_result&step=1&gameid1=$gameid1&gameid2=$gameid2&tournamentid=$tournamentid");
                    
214				} else {
                    
                
edit_globals.php https://bitbucket.org/astawiarski/openemr.git | PHP | 439 lines
                    
1<?php
                    
2// Copyright (C) 2010 Rod Roark <rod@sunsetsystems.com>
                    
8
                    
9require_once("../globals.php");
                    
10require_once("$srcdir/acl.inc");
                    
10require_once("$srcdir/acl.inc");
                    
11require_once("$srcdir/formdata.inc.php");
                    
12require_once("$srcdir/globals.inc.php");
                    
13require_once("$srcdir/user.inc");
                    
14require_once("$srcdir/classes/CouchDB.class.php");
                    
15
                    
18  $thisauth = acl_check('admin', 'super');
                    
19  if (!$thisauth) die(xl('Not authorized'));
                    
20}
                    
54<head>
                    
55<?php
                    
56
                    
                
rss.php https://gitlab.com/BGCX261/zona-cal-svn-to-git.git | PHP | 248 lines
                    
1<?php
                    
2
                    
3/********************************************************************************
                    
4*	Modified from phpicalendar 2.0a distribution by Jim Hu
                    
5*	philosophical changes 
                    
7*		- change the rss generation method to conform to standards(not done)
                    
8*	PHP note: #@ is error control operator to suppress execution halt on error
                    
9*		- used below to deal with undef?
                    
19   -RSS changed to 2.0, encoding removed, languages converted to ISO standard for feeds
                    
20   -RSS title changed to be set by config.inc.php.  Make sure that is added to it. 
                    
21   Lines modified: 135-165, 208-223
                    
25define('BASE', '../');
                    
26require(BASE.'functions/init.inc.php');
                    
27
                    
28if ($enable_rss != 'yes') {
                    
29	die ("RSS feeds are not enabled on this site.");
                    
30}
                    
                
tco.php http://ymscorp.googlecode.com/svn/trunk/ | PHP | 120 lines
                    
1<?php //00d4b
                    
2// *************************************************************************
                    
33// *************************************************************************
                    
34if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
                    
35?>
                    
                
date.php git://github.com/gallery/gallery3.git | PHP | 395 lines
                    
1<?php defined('SYSPATH') OR die('No direct access allowed.');
                    
2/**
                    
7 * @copyright  (c) 2007-2009 Kohana Team
                    
8 * @license    http://kohanaphp.com/license
                    
9 */
                    
55	 * Returns the offset (in seconds) between two time zones.
                    
56	 * @see     http://php.net/timezones
                    
57	 *
                    
                
helper.php git://github.com/joomla/joomla-platform.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9
                    
10defined('JPATH_PLATFORM') or die;
                    
11
                    
319
                    
320		$path = JPATH_COMPONENT . '/' . $file . '.php';
                    
321
                    
                
editPCRproducts.php http://collman.googlecode.com/svn/trunk/ | PHP | 199 lines
                    
1<?php
                    
2//=========== HEADER STUFF ========
                    
11	   echo "<p style=\"color:white;font-size:14px;position:absolute;top:50px;right:20px;\">Logged in:<strong>$session->username</strong><br />";
                    
12  	 echo "[<a style='color:white;' href=\"login_process.php\">Logout</a>]";
                    
13	}
                    
75	
                    
76    $res = mysqli_query($dbcnx, "SELECT * FROM tissuepcrproducts WHERE $Category = $FormData ORDER BY $OrderBy") or die(mysql_error());
                    
77  
                    
91// ====== FORM ITSELF
                    
92        	echo "<form class=\"main\" method=\"POST\" name=\"frmPCREdit\" action=\"$_SERVER[PHP_SELF]?FormData=".$inf["tissuePcrProductID"]."\">";
                    
93
                    
135		echo "<div class=\"info\" id=\"divTaxonInfo\">";
                    
136		echo "$COLL_CODE <a href=\"editObjects.php?FormData=".$row["catalogNumber"]."\">".$row["catalogNumber"]."</a> ".$row["scientificName"]." Field Number: <a href=\"editLocalities.php?FormData=".$row["fieldNumber"]."\">".$row["fieldNumber"]."</a>";
                    
137		echo "</div>"; // divTaxonInfo
                    
143			do {
                    
144				printf("<a href='editComments.php?FormData=%s'>%s</a> (%s. Time stamp: %s)\n",$row[0],$row[0],$row[1],$row[2]);
                    
145			}
                    
                
dbdiff.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 399 lines
                    
1<?php
                    
2
                    
16<h3>??????????????</h3>
                    
17???<input type="text" name="host1" value="<?php echo $_REQUEST['host1']?>"><br>
                    
18????<input type="text" name="user1" value="<?php echo $_REQUEST['user1']?>"><br>
                    
18????<input type="text" name="user1" value="<?php echo $_REQUEST['user1']?>"><br>
                    
19???<input type="password" name="pwd1" value="<?php echo $_REQUEST['pwd1']?>"><br>
                    
20???<input type="text" name="db1" value="<?php echo $_REQUEST['db1']?>"><br>
                    
21<h3>??????????????</h3>
                    
22???<input type="text" name="host2" value="<?php echo $_REQUEST['host2']?>"><br>
                    
23????<input type="text" name="user2" value="<?php echo $_REQUEST['user2']?>"><br>
                    
23????<input type="text" name="user2" value="<?php echo $_REQUEST['user2']?>"><br>
                    
24???<input type="password" name="pwd2" value="<?php echo $_REQUEST['pwd2']?>"><br>
                    
25???<input type="text" name="db2" value="<?php echo $_REQUEST['db2']?>"><br>
                    
27<input type="reset" value="??">
                    
28<p><input type="checkbox" name="exec" value="1" <?php echo ( $_REQUEST['exec'] == 1 ) ? 'checked' : '' ?> >??SQL????</p>
                    
29</form>
                    
                
ProductsController.php http://smart-framework.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2
                    
2
                    
3require_once 'SmartL/Zend/Controller/Action.php';
                    
4require_once 'SmartL/Zend/Form.php';
                    
4require_once 'SmartL/Zend/Form.php';
                    
5require_once 'Zend/Form/Element/Text.php';
                    
6require_once 'Zend/Form/Element/Textarea.php';
                    
6require_once 'Zend/Form/Element/Textarea.php';
                    
7require_once 'Zend/Form/Element/Select.php';
                    
8require_once 'Zend/Form/Element/Hidden.php';
                    
8require_once 'Zend/Form/Element/Hidden.php';
                    
9require_once 'Zend/Form/Element/File.php';
                    
10require_once 'Zend/Form/Element/Submit.php';
                    
10require_once 'Zend/Form/Element/Submit.php';
                    
11require_once 'Zend/Form/SubForm.php';
                    
12require_once 'Db/Shop/Record/Product.php';
                    
                
init.php git://github.com/jelix/jelix.git | PHP | 278 lines
                    
30if(!function_exists('jelix_version')){
                    
31    die('this edition of Jelix needs jelix php extension.');
                    
32}
                    
70#if ENABLE_OPTIMIZED_SOURCE
                    
71#includephp core/jApp.class.php
                    
72#ifnot ENABLE_PHP_JELIX
                    
72#ifnot ENABLE_PHP_JELIX
                    
73#includephp core/jICoordPlugin.iface.php
                    
74#includephp core/jISelector.iface.php
                    
74#includephp core/jISelector.iface.php
                    
75#includephp core/jIUrlEngine.iface.php
                    
76#endif
                    
105#includephp core/jLog.class.php
                    
106#includephp core/jIncluder.class.php
                    
107#includephp core/jSession.class.php
                    
                
categories.php https://gitlab.com/bilovus-andriy/voda_site.git | PHP | 348 lines
                    
1<?php
                    
2/**
                    
10 **/
                    
11defined ( '_JEXEC' ) or die ();
                    
12
                    
                
form.php git://github.com/concrete5/concrete5.git | PHP | 253 lines
                    
1<?php defined('C5_EXECUTE') or die("Access Denied.");
                    
2
                    
33
                    
34<p class="lead"><?php echo $pagetype->getPageTypeDisplayName(); ?></p>
                    
35
                    
35
                    
36<?php if (count($sets) > 0) {
                    
37
                    
49				</ul>
                    
50				<div class="ccm-item-set-name" ><?php
                    
51                    if ($set->getPageTypeComposerFormLayoutSetDisplayName()) {
                    
93				<tbody class="ccm-item-set-inner">
                    
94					<?php $controls = PageTypeComposerFormLayoutSetControl::getList($set);
                    
95        foreach ($controls as $cnt) {
                    
102
                    
103	<?php
                    
104    }
                    
                
message_test.php git://github.com/moodle/moodle.git | PHP | 269 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26defined('MOODLE_INTERNAL') || die();
                    
27
                    
142        // Test basic email processor.
                    
143        $this->assertFileExists("$CFG->dirroot/message/output/email/version.php");
                    
144        $this->assertFileExists("$CFG->dirroot/message/output/popup/version.php");
                    
239        // Test basic email processor.
                    
240        $this->assertFileExists("$CFG->dirroot/message/output/email/version.php");
                    
241        $this->assertFileExists("$CFG->dirroot/message/output/popup/version.php");
                    
                
php-gtk-control-and-display-gtkhscrollbar.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 127 lines
                    
3 <head>
                    
4  <title>The DoYouHaoBaby PHP Framework For PHP5 | ????????</title>
                    
5  <meta http-equiv="content-type" content="text/html; charset=gbk" />
                    
7  <meta name="Keywords" content="DoYouHaoBaby,Framework">
                    
8  <meta name="Description" content="The DoYouHaoBaby PHP Framework | ?????????????">
                    
9  <link rel="stylesheet" type="text/css" href="./../../media/css/style.css" />
                    
12 <body style="margin:0">
                    
13  <div id="header"><img src="./../../media/images/logo.png"  border="0" title="The DoYouHaoBaby PHP Framework Logo" ></div>
                    
14  <div id="content"> 
                    
15     <div id="version">
                    
16	    The DoYouHaoBaby PHP Framework????????<br>
                    
17        Copyright(c) <a href="http://doyouhaobaby.net">DoYouHaoBaby.NET</a>
                    
62<LI><SPAN></SPAN><SPAN class=keyword>if</SPAN><SPAN>(!</SPAN><SPAN class=func>class_exists</SPAN><SPAN>('gtk')){&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
63<LI class=alt><SPAN></SPAN><SPAN class=keyword>die</SPAN><SPAN>(</SPAN><SPAN class=string>"PHP_Desktop????????http://doyouhaobaby.net???\r\n"</SPAN><SPAN>);&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
64<LI><SPAN>} &nbsp;&nbsp;</SPAN></LI>
                    
                
util.php http://oregon-caspages.googlecode.com/svn/trunk/ | PHP | 517 lines
                    
1<?php
                    
2include 'editor_conf.php';
                    
8   $host="localhost";
                    
9   $db_user="phpmyadmin";
                    
10   $db_password="password";
                    
11   $database="history";
                    
12   $mysql_link = mysql_connect($host, $db_user, $db_password) or die(mysql_error());
                    
13   mysql_select_db($database) or die(mysql_error());
                    
196$index_page = '<?php
                    
197include "../../../editor_conf.php";
                    
198include $basepath."page_top2.php";
                    
200                <div id="global_nav">
                    
201                        <?php include $basepath."global_nav.php";?>
                    
202                </div>
                    
203                <div id="main_content">
                    
204                        <?php echo file_get_contents("content.html");?>
                    
205                </div>
                    
                
default.php https://gitlab.com/bilovus-andriy/voda_site.git | PHP | 193 lines
                    
24   <div class="sigProModalInner">
                    
25     <iframe src="<?php echo $this->frameSrc; ?>" width="800" height="<?php echo $this->frameHeight; ?>" class="<?php echo $this->frameClass; ?>" frameborder="0"></iframe>
                    
26   </div>
                    
71				<div class="sigFloatLeft sigPro50 sigProItemDeleteLinks">
                    
72					<a href="#" onclick="if (document.adminForm.boxchecked.value==0){alert('<?php echo JText::_('COM_SIGPRO_NO_ROWS_SELECTED', true); ?>');}else{if (confirm('<?php echo JText::_('COM_SIGPRO_YOU_ARE_GOING_TO_DELETE_PERMANENTLY_THE_SELECTED_FOLDERS_FROM_THE_SERVER_ARE_YOU_SURE', true); ?>')){Joomla.submitbutton('delete');}}" class="sig-icon-trash">Delete</a>
                    
73				</div>
                    
104	                    <div class="sigProGalleryActions">	
                    
105	                    	<a class="sigProGalleryAction sigProInsertButton" title="<?php echo JText::_('COM_SIGPRO_INSERT'); ?>" href="<?php echo $row->folder; ?>">
                    
106	                    		<span class="sigIcon sig-icon-login"></span>
                    
114                    	<?php else: ?>
                    
115                     	<a class="sigProGalleryImageLink sigCover sigSafeTransition" href="<?php echo $row->link; ?>" style="background-image: url(<?php echo $row->url; ?>);">
                    
116                    	</a>                   		                    		
                    
126	                   <div class="sigProGalleryTitle sigProCollapse">
                    
127	                        <a class="sigProGalleryLink" href="<?php echo $row->link; ?>"><?php echo $row->title; ?></a>
                    
128	                    </div>
                    
                
INSTALL.php http://2moons.googlecode.com/svn/trunk/ | PHP | 131 lines
                    
1<?php
                    
2
                    
24 * @version 1.7.1 (2013-01-18)
                    
25 * @info $Id: INSTALL.php 2604 2013-01-18 11:35:42Z slaver7 $
                    
26 * @link http://2moons.cc/
                    
44$LNG['intro_welcome'] = 'Bienvenido a 2Moons!';
                    
45$LNG['intro_text'] = '2Moons es uno de los mejores clones de OGame. <br> 2Moons es la última y más estable versión de un servidor basado en Xnova que ah sido desarrollada. Los puntos clave de 2Moons son su facilidad, estabilidad, flexibilidad, dinamismo y calidad. En 2Moons siempre esperamos a ser más que sus expectativas. <br> El sistema de instalación le guiará a través de la instalación o la actualización de una versión previa a la última. <br>  Si tiene preguntas o problemas, por favor, no dude en comunicarse en nuestro foro de desarrollo y soporte. <br> 2Moons es un proyecto de código abierto y está bajo licencia GNU GPL v3. Para conocer la licencia, por favor haga click en la opción del menú correspondiente. <br> Antes de comenzar la instalación se lleva a cabo una prueba para saber si el servidor cumple los requisitos mínimos.';
                    
46$LNG['intro_upgrade_head']		= '2Moons ya instalado?';
                    
74$LNG['reg_mysqli_active'] = 'żMySQLi disponible?';
                    
75$LNG['reg_mysqli_desc']			= '<strong>Requisito Previo</strong> — Usted necesita proporcionar apoyo a MySQLi en PHP. Si no hay módulos de bases de datos se muestran como disponibles, póngase en contacto con su proveedor de hosting o revisar la documentación pertinente de la instalación de PHP para el consejo.';
                    
76$LNG['reg_json_need'] = 'żJSON disponible?';
                    
78$LNG['reg_global_need'] = 'żregister_globals desactivadas?';
                    
79$LNG['reg_global_desc']			= '2Moons también trabajará, si esta opción está habilitada. Sin embargo, se recomienda por razones de seguridad, deshabilitar register_globals en la instalación de PHP, si es posible.';
                    
80$LNG['req_php_need'] = 'Versión PHP (min. 5.2.5)';
                    
80$LNG['req_php_need'] = 'Versión PHP (min. 5.2.5)';
                    
81$LNG['req_php_need_desc']		= '<strong>Requisitos Previos</strong> — PHP es el lenguaje del lado del servidor, 2Moons está escrito en el. 2Moons Esto funciona sin ninguna limitación, la versión PHP 5.2.5 previsto.';
                    
82
                    
                
notice.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 102 lines
                    
1<?php if ( $type == 'plugin' ) :?>
                    
2<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
                    
3	<style type="text/css">
                    
4.akismet_activate{min-width:825px;border:1px solid #4F800D;padding:5px;margin:15px 0;background:#83AF24;background-image:-webkit-gradient(linear,0% 0,80% 100%,from(#83AF24),to(#4F800D));background-image:-moz-linear-gradient(80% 100% 120deg,#4F800D,#83AF24);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.akismet_activate .aa_a{position:absolute;top:-5px;right:10px;font-size:140px;color:#769F33;font-family:Georgia, "Times New Roman", Times, serif;z-index:1}.akismet_activate .aa_button{font-weight:bold;border:1px solid #029DD6;border-top:1px solid #06B9FD;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029DD6;border-bottom:1px solid #00A8EF;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#F0F8FB;background:#0079B1;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#0079B1),to(#0092BF));background-image:-moz-linear-gradient(0% 100% 90deg,#0092BF,#0079B1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button_border{border:1px solid #006699;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6)}.akismet_activate .aa_button_container{cursor:pointer;display:inline-block;background:#DEF1B8;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.akismet_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#E5F2B1;font-size:15px;z-index:1000}.akismet_activate .aa_description strong{color:#FFF;font-weight:normal}
                    
5	</style>
                    
5	</style>
                    
6	<form name="akismet_activate" action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="POST">
                    
7		<div class="akismet_activate">
                    
10				<div class="aa_button_border">
                    
11					<div class="aa_button"><?php esc_html_e('Activate your Akismet account', 'akismet');?></div>
                    
12				</div>
                    
26<?php elseif ( $type == 'version' ) :?>
                    
27<div id="akismet-warning" class="updated fade"><p><strong><?php printf( esc_html__('Akismet %s requires WordPress 3.0 or higher.', 'akismet'), AKISMET_VERSION);?></strong> <?php printf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?></p></div>
                    
28<?php elseif ( $type == 'alert' ) :?>
                    
42	<h3 class="key-status failed"><?php esc_html_e('Network functions are disabled.', 'akismet'); ?></h3>
                    
43	<p class="description"><?php printf( __('Your web host or server administrator has disabled PHP&#8217;s <code>gethostbynamel</code> functions.  <strong>Akismet cannot work correctly until this is fixed.</strong>  Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet&#8217;s system requirements</a>.', 'akismet'), 'https://blog.akismet.com/akismet-hosting-faq/'); ?></p>
                    
44</div>
                    
                
transport.php https://bitbucket.org/effectal/ondi.git | PHP | 282 lines
                    
1<?php
                    
2
                    
156        if(!$this->socket) {
                    
157            die('Error making request with '.$errno.': '.$errstr);
                    
158            return false;
                    
                
index.php https://github.com/hablutzel1/MockRequests.git | PHP | 477 lines
                    
1<?php
                    
2
                    
190    $myFile = $resultadosFile;
                    
191    $fh = fopen($myFile, 'a') or die("can't open file");
                    
192  $cabecera =  generarCabecera($person);
                    
213    $myFile = "resultados.csv";
                    
214    $fh = fopen($myFile, 'a') or die("can't open file");
                    
215    $row = "\"$hc\"";
                    
263    <body>
                    
264    <form action="index.php?level=3" method="POST">
                    
265
                    
265
                    
266        <img src="index.php?cookie=<?php echo urlencode($cookie); ?>&level=2" alt=""/>
                    
267        <br/>
                    
269        <input type="hidden" name="cookie"
                    
270               value="<?php echo urlencode($cookie); ?>"/>
                    
271
                    
                
adodb-oracle.inc.php git://github.com/alombarte/SIFO.git | PHP | 342 lines
                    
1<?php
                    
2/*
                    
15// security - hide paths
                    
16if (!defined('ADODB_DIR')) die();
                    
17
                    
                
AziendaCoordinateBancarie.class.php http://antilophpe.googlecode.com/svn/ | PHP | 453 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * File AziendaCoordinateBancarie.class.php
                    
4 *
                    
323            WHERE ant_AziendaCoordinateBancarie.id = ".$this->getId()."";
                    
324    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query: '.$query.' Error during selection in table `ant_AziendaCoordinateBancarie`: '.var_dump(oci_error()));
                    
325   oci_execute($result, OCI_DEFAULT);
                    
355            AND ant_AziendaCoordinateBancarie.deleted=0";
                    
356    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query: '.$query.' Error during selection in table `ant_AziendaCoordinateBancarie`: '.var_dump(oci_error()));
                    
357   oci_execute($result, OCI_DEFAULT);
                    
373            AND ant_AziendaCoordinateBancarie_File.tableObject='ant_AziendaCoordinateBancarie'";
                    
374    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query: '.$query.' Error during selection in table `ant_AziendaCoordinateBancarie_File`: '.var_dump(oci_error()));
                    
375   oci_execute($result, OCI_DEFAULT);
                    
390            WHERE ant_AziendaCoordinateBancarie_File.id='$fileId'";
                    
391    $result = oci_parse($this->getResourceLinkId(), $query) or die('Query: '.$query.' Error during selection file in table `ant_AziendaCoordinateBancarie_File`: '.var_dump(oci_error()));
                    
392   oci_execute($result, OCI_DEFAULT);
                    
                
r2t.php git://github.com/chregu/rss2twi.php.git | PHP | 273 lines
                    
1<?php
                    
2
                    
14    protected function init() {
                    
15        include_once ("sfYaml/sfYaml.class.php");
                    
16        define('R2T_TEMP_DIR', R2T_PROJECT_DIR . "/tmp/");
                    
18            if (!mkdir(R2T_TEMP_DIR)) {
                    
19                die("Could not create " . R2T_TEMP_DIR);
                    
20            }
                    
75                $this->debug("create " . $options['shortener'] . " class");
                    
76                include_once ("r2t/shortener/" . $options['shortener'] . ".php");
                    
77                $classname = "r2t_shortener_" . $options['shortener'];
                    
92        // check if something was posted with that link already
                    
93        include_once("HTTP/Request.php");
                    
94        if (isset($options['twitter']['user'])) {
                    
150        if (!empty($options['prowlApiKey'])) {
                    
151            include_once('ProwlPHP/ProwlPHP.php');
                    
152            $prowl = new Prowl($options['prowlApiKey']);
                    
                
Page.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 402 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Page.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Cache/Core.php';
                    
28
                    
238     * @param  string  $id       (optional) A cache id (if you set a value here, maybe you have to use Output frontend instead)
                    
239     * @param  boolean $doNotDie For unit testing only !
                    
240     * @return boolean True if the cache is hit (false else)
                    
241     */
                    
242    public function start($id = false, $doNotDie = false)
                    
243    {
                    
281            echo $data;
                    
282            if ($doNotDie) {
                    
283                return true;
                    
                
serendipity_event_mailer.php git://github.com/s9y/Serendipity.git | PHP | 347 lines
                    
284                    <fieldset class="entryproperties">
                    
285                        <span class="wrap_legend"><legend><?php echo PLUGIN_EVENT_MAILER_NAME; ?></legend></span>
                    
286
                    
288                            <input id="properties_sendentry" type="checkbox" name="serendipity[properties][sendentry]" value="true" checked="checked">
                    
289                            <label title="<?php echo PLUGIN_EVENT_MAILER_SENDING; ?>" for="properties_sendentry"><?php echo PLUGIN_EVENT_MAILER_ISTOSENDIT; ?></label>
                    
290                        </div>
                    
291                        <div class="form_field">
                    
292                            <label title="<?php echo PLUGIN_EVENT_MAILER_RECIPIENT; ?>" for="properties_mailto"><?php echo PLUGIN_EVENT_MAILER_RECIPIENTS; ?></label>
                    
293                            <input id="properties_mailto" type="text" name="serendipity[properties][mailto]" value="<?php echo serendipity_specialchars($mailto); ?>">
                    
296                            <input id="sendall" type="checkbox" value="true" name="serendipity[properties][sendentry_all]" <?php echo ($sendtoall ? 'checked="checked"': ''); ?>>
                    
297                            <label title="<?php echo PLUGIN_EVENT_MAILER_SENDTOALL; ?>" for="sendall"><?php echo PLUGIN_EVENT_MAILER_SENDTOALL; ?></label>
                    
298                        </div>
                    
301                            <input id="forcesend" type="checkbox" value="true" name="serendipity[properties][forcesend]">
                    
302                            <label title="<?php echo PLUGIN_EVENT_MAILER_FORCESEND; ?>" for="forcesend"><?php echo PLUGIN_EVENT_MAILER_FORCESEND; ?></label>
                    
303                            <br />
                    
                
functions_report_admin.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 569 lines
                    
1<?php
                    
2
                    
4{
                    
5	die(basename(__FILE__));
                    
6}
                    
19	{
                    
20		message_die(GENERAL_ERROR, 'Could not obtain report counts', '', __LINE__, __FILE__, $sql);
                    
21	}
                    
44	{
                    
45		message_die(GENERAL_ERROR, 'Could not obtain report reason counts', '', __LINE__, __FILE__, $sql);
                    
46	}
                    
68		if (!class_exists("report_module"))
                    
69			include(INC_DIR . "report_module.php");
                    
70
                    
80		{
                    
81			if (!preg_match('#(.*)\.' . bb_preg_quote('php', '#') . '$#', $file, $matches))
                    
82			{
                    
                
pagelist.js.php http://toan-friendly-ch4n.googlecode.com/svn/trunk/ | PHP | 372 lines
                    
9var fm = Ext.form;
                    
10var base_url = '<?php echo base64_decode($_GET['baseUrl']);?>';
                    
11var total_row = 20;
                    
11var total_row = 20;
                    
12<?php 
                    
13// Lay noi dung trong thu muc dua vao mot mang
                    
16
                    
17$fileList = scandir($dir) or die ("Not a directory");
                    
18
                    
28?>
                    
29var templateList = <?php echo json_encode($templateList);?>;
                    
30<?php 
                    
38?>
                    
39var langFilter = <?php echo $langFilter;?>;
                    
40var langList = <?php echo $langList;?>;
                    
                
 

Source

Language