PageRenderTime 870ms queryTime 63ms sortTime 413ms getByIdsTime 79ms findMatchingLines 30ms

100+ results results for 'php die repo:aravindc/pixelpost' (870 ms)

Not the results you expected?
TrustedMath.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
66$messages['de'] = array(
                    
67	'trustedmath-desc' => 'Ermöglicht, ohne von Ocaml abhängig zu sein, die Einbettung von mathematischen Gleichungen in LaTeX',
                    
68	'trustedmath-permission-error' => 'Nicht vertrauenswürdig gerenderte mathematische Gleichungen wurde für dieses Wiki deaktiviert',
                    
                
arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
                    
19$_lang['perm.change_profile_desc'] = 'Benutzer kann sein Profil ändern.';
                    
20$_lang['perm.charsets_desc'] = 'Eine Liste von Zeichencodierungen anzeigen.';  // charsets = Zeichensätze?
                    
21$_lang['perm.class_map_desc'] = 'Eine Liste von Klassen in der Klassen-Map anzeigen.';
                    
75$_lang['perm.flush_sessions_desc'] = 'Sessions Site-übergreifend zurücksetzen.';
                    
76$_lang['perm.frames_desc'] = 'Die MODX-Manager-Oberfläche benutzen.';
                    
77$_lang['perm.help_desc'] = 'Die Hilfe-Seite anzeigen.';
                    
77$_lang['perm.help_desc'] = 'Die Hilfe-Seite anzeigen.';
                    
78$_lang['perm.home_desc'] = 'Die Manager-Startseite anzeigen.';
                    
79$_lang['perm.import_static_desc'] = 'Import-Seiten anzeigen oder benutzen.';
                    
152$_lang['perm.save_user_desc'] = 'Benutzer speichern.';
                    
153$_lang['perm.search_desc'] = 'Die Suchfunktion des MODX-Managers benutzen.';  // Such-Seite
                    
154$_lang['perm.settings_desc'] = 'Systemeinstellungen anzeigen und bearbeiten.';
                    
158$_lang['perm.source_view_desc'] = 'Medienquellen anzeigen und auflisten lassen.';
                    
159$_lang['perm.sources_desc'] = 'Medienquellen und Medienquellen-Typen verwalten.';
                    
160$_lang['perm.steal_lock_desc'] = 'Eine Sperre einer Ressource "stehlen" oder entfernen.';
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
50$_lang['resource_edit'] = 'Mengedit';
                    
51$_lang['resource_editedby'] = 'Diedit oleh';
                    
52$_lang['resource_editedon'] = 'Diedit pada';
                    
                
Location.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 406 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
152
                    
153      var badIE = qx.bom.client.Engine.MSHTML &&
                    
154        (qx.bom.client.Engine.VERSION < 8 || qx.bom.client.Feature.QUIRKS_MODE ||
                    
156
                    
157      if (badIE) {
                    
158        this.assertEquals(12, pos.top, "top2 (IE)");
                    
166      this.assertEquals(15 + 5 + 2 + 3, pos.left, "left3");
                    
167      if (badIE) {
                    
168        this.assertEquals(19, pos.top, "top3 (IE)");
                    
192
                    
193      var badIE = qx.bom.client.Engine.MSHTML &&
                    
194        (qx.bom.client.Engine.VERSION < 8 || qx.bom.client.Feature.QUIRKS_MODE ||
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
28if ('/usr/share/php' != '@'.'include_path'.'@') {
                    
29    ini_set('include_path', '/usr/share/php');
                    
30    $raw = false;
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
linear_solver.h https://gitlab.com/Namdhari/cgal-AnatoMeCo | C Header | 478 lines
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
41
                    
42#include <CGAL/OpenNL/conjugate_gradient.h>
                    
43#include <CGAL/OpenNL/bicgstab.h>
                    
120// is a traits class for solving symmetric positive definite sparse linear systems.
                    
121// It uses Conjugate Gradient solver with Jacobi preconditioner.
                    
122//
                    
160
                    
161        // Solve using Conjugate Gradient solver with preconditioner
                    
162        Preconditioned_solver preconditioned_solver ;
                    
168
                    
169        // On error, solve using Conjugate Gradient solver without preconditioner
                    
170#ifdef DEBUG_TRACE
                    
                
directories.php https://github.com/projectfork/Projectfork.git | PHP | 420 lines
                    
1<?php
                    
2/**
                    
10
                    
11defined('_JEXEC') or die();
                    
12
                    
                
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $
                    
6* @package VirtueMart
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
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*
                    
240		if( $size==1 ) {
                    
241			$values[0] = $VM_LANG->_('PHPSHOP_SELECT');
                    
242		}
                    
317	/**
                    
318	 * Function from an old Mambo phpgacl integration function
                    
319	 * @deprecated (but necessary, sigh!)
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
9
                    
10defined('_JEXEC') or die;
                    
11
                    
                
edit.php https://github.com/eric-brechemier/wordpress.git | PHP | 294 lines
                    
29
                    
30	if ( strpos($sendback, 'post.php') !== false )
                    
31		$sendback = admin_url($post_new_file);
                    
40	} else {
                    
41		wp_redirect( admin_url("edit.php?post_type=$post_type") );
                    
42	}
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
279
                    
280<input type="hidden" name="post_status" class="post_status_page" value="<?php echo !empty($_REQUEST['post_status']) ? esc_attr($_REQUEST['post_status']) : 'all'; ?>" />
                    
281<input type="hidden" name="post_type" class="post_type_page" value="<?php echo $post_type; ?>" />
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
1<?php
                    
2/**
                    
30		if ( ! taxonomy_exists( $taxonomy ) )
                    
31			wp_die( __( 'Invalid taxonomy' ) );
                    
32
                    
298		if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
                    
299			$actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
                    
300		if ( $tax->public )
                    
331
                    
332		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
333		$out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
                    
343	function column_slug( $tag ) {
                    
344		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
345		return apply_filters( 'editable_slug', $tag->slug );
                    
366		if ( 'attachment' == $this->screen->post_type )
                    
367			return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>";
                    
368
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
230			{
                    
231				role_or_die('pages', 'put_live');
                    
232			}
                    
323
                    
324		role_or_die('pages', 'edit_live');
                    
325
                    
346			{
                    
347				role_or_die('pages', 'put_live');
                    
348			}
                    
446	{
                    
447		role_or_die('pages', 'delete_live');
                    
448
                    
543			
                    
544					<li id="page_<?php echo $page['id']; ?>">
                    
545						<div>
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
EditView.php https://github.com/AlixBarbosa/SCRMCE.git | PHP | 349 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
45
                    
46require_once('modules/Campaigns/utils.php');
                    
47
                    
106}else{
                    
107	$params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>";
                    
108	$params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL'];
                    
166//Assign qsd script
                    
167require_once('include/QuickSearchDefaults.php');
                    
168$qsd = new QuickSearchDefaults();
                    
172$xtpl->assign("CANCEL_SCRIPT", $cancel_script);
                    
173$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']);
                    
174$xtpl->assign("JAVASCRIPT", get_set_focus_js() . $quicksearch_js);
                    
176if(!is_file($GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js')) {
                    
177    require_once('include/language/jsLanguage.php');
                    
178    jsLanguage::createAppStringsCache($GLOBALS['current_language']);
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
288	 * The $uri parameter can either be a string for basic regex matching or it
                    
289	 * can be a valid callback or anonymous function (php 5.3+). If you use a
                    
290	 * callback or anonymous function, your method should return an array
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
1<?php
                    
2//error_reporting(E_ALL);
                    
10require_once LIB_PATH . 'osclass/db.php';
                    
11require_once LIB_PATH . 'osclass/classes/DAO.php';
                    
12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php';
                    
12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php';
                    
13require_once LIB_PATH . 'osclass/install-functions.php';
                    
14require_once LIB_PATH . 'osclass/formatting.php';
                    
15require_once LIB_PATH . 'osclass/compatibility.php';
                    
16require_once LIB_PATH . 'osclass/utils.php';
                    
17require_once LIB_PATH . 'osclass/helpers/hPreference.php' ;
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
113        }
                    
114    }catch(phpmailerException $exception) {
                    
115
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
11
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
52# Basis Config Einstellung
                    
53# Diese _nicht_ hier ändern, sondern in der ../PyDown_config.py!!!
                    
54cfg = {
                    
104    "email_from"           : "pydown@localhost",
                    
105    # Die Ziel-Adresse
                    
106    "upload_to"             : "administator@localhost",
                    
182    """
                    
183    Klasse die die Programmlogik zusammenstellt
                    
184    """
                    
333        """
                    
334        Überschreibt die original Ausgabe und ergänzt diese mit
                    
335        einem Hinweis, warum der Access Denied ist ;)
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
55		</ul>
                    
56		<?php
                    
57		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
121			echo "</pre>";
                    
122			phpinfo();
                    
123			echo "<pre style='font-family:\"Lucida Grande\",Verdana,Arial,\"Bitstream Vera Sans\",sans-serif; font-size:8px;'>";
                    
176	</div>
                    
177	<?php
                    
178}
                    
307		$tidied_name = trim($product_row['name']);
                    
308		$tidied_name = strtolower($tidied_name);
                    
309		$url_name = sanitize_title($tidied_name);
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24
                    
25defined('MOODLE_INTERNAL') || die();
                    
26
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
203        if ($this->extensions === null) {
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
                
langimport.php https://github.com/dhamma-dev/SEA.git | PHP | 387 lines
                    
33require_once($CFG->libdir.'/filelib.php');
                    
34require_once($CFG->libdir.'/componentlib.class.php');
                    
35
                    
35
                    
36$thisversion = '2.0'; // TODO this information should be taken from version.php or similar source
                    
37
                    
117                     'langimport.php?mode='.DELETION_OF_SELECTED_LANG.'&uninstalllang='.$uninstalllang.'&confirm=1',
                    
118                     'langimport.php');
                    
119        echo $OUTPUT->footer();
                    
119        echo $OUTPUT->footer();
                    
120        die;
                    
121
                    
162
                    
163        if (file_exists($dest1.'/langconfig.php') || file_exists($dest2.'/langconfig.php')){
                    
164            $updateablelangs[] = $clang;
                    
                
store.php https://github.com/dogma/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
26
                    
27defined('MOODLE_INTERNAL') || die();
                    
28
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
246
                    
247        // If the 100 field size is changed, also need to alter print_log in course/lib.php.
                    
248        if (!empty($url) && \core_text::strlen($url) > 100) {
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
1<?php
                    
2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
                    
12
                    
13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
19require_once("tools/pushchecker.php");
                    
20require_once("tools/sitepatcher.php");
                    
149	{
                    
150		/** @noinspection PhpVariableNamingConventionInspection */
                    
151		global $APPLICATION;
                    
                
category.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 394 lines
                    
1<?php
                    
2/**
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5* @license		GNU/GPL, see LICENSE.php
                    
6* EasyBlog is free software. This version may have been modified pursuant
                    
9* other free or open source software licenses.
                    
10* See COPYRIGHT.php for copyright notices and details.
                    
11*/
                    
11*/
                    
12defined('_JEXEC') or die('Restricted access');
                    
13
                    
76		
                    
77		$mainframe->redirect( 'index.php?option=com_easyblog&view=categories');
                    
78		exit;
                    
96		
                    
97		$mainframe->redirect( 'index.php?option=com_easyblog&view=categories' , $message , $type );
                    
98		exit;
                    
                
behat_config_manager.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 279 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26defined('MOODLE_INTERNAL') || die();
                    
27
                    
27
                    
28require_once(__DIR__ . '/../lib.php');
                    
29require_once(__DIR__ . '/behat_command.php');
                    
29require_once(__DIR__ . '/behat_command.php');
                    
30require_once(__DIR__ . '/../../testing/classes/tests_finder.php');
                    
31
                    
131            $diriterator = new DirectoryIterator($componentpath . self::get_behat_tests_path());
                    
132            $regite = new RegexIterator($diriterator, '|behat_.*\.php$|');
                    
133
                    
133
                    
134            // All behat_*.php inside behat_config_manager::get_behat_tests_path() are added as steps definitions files.
                    
135            foreach ($regite as $file) {
                    
                
instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26require('../config.php');
                    
27
                    
44
                    
45$PAGE->set_url('/enrol/instances.php', array('id'=>$course->id));
                    
46$PAGE->set_pagelayout('admin');
                    
104            echo $OUTPUT->header();
                    
105            $yesurl = new moodle_url('/enrol/instances.php', array('id'=>$course->id, 'action'=>'delete', 'instance'=>$instance->id, 'confirm'=>1,'sesskey'=>sesskey()));
                    
106            $displayname = $plugin->get_instance_name($instance);
                    
114            echo $OUTPUT->footer();
                    
115            die();
                    
116
                    
158$icount = count($instances);
                    
159$url = new moodle_url('/enrol/instances.php', array('sesskey'=>sesskey(), 'id'=>$course->id));
                    
160foreach ($instances as $instance) {
                    
                
instructions_de.htm https://bitbucket.org/vins13pattar/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>
                    
                
date.php https://github.com/2bj/kohana-core.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
8 * @copyright  (c) 2007-2009 Kohana Team
                    
9 * @license    http://kohanaphp.com/license
                    
10 */
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
notice.php https://github.com/mhoofman/wordpress-heroku.git | 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'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
                    
44</div>
                    
                
yii.php https://gitlab.com/brucealdridge/yii2 | PHP | 114 lines
                    
1<?php
                    
2/**
                    
21    'An internal server error occurred.' => 'Es ist ein interner Serverfehler aufgetreten.',
                    
22    'Are you sure you want to delete this item?' => 'Wollen Sie diesen Eintrag wirklich löschen?',
                    
23    'Delete' => 'Löschen',
                    
35    'Page not found.' => 'Seite nicht gefunden.',
                    
36    'Please fix the following errors:' => 'Bitte korrigieren Sie die folgenden Fehler:',
                    
37    'Please upload a file.' => 'Bitte laden Sie eine Datei hoch.',
                    
38    'Showing <b>{begin, number}-{end, number}</b> of <b>{totalCount, number}</b> {totalCount, plural, one{item} other{items}}.' => 'Zeige <b>{begin, number}-{end, number}</b> von <b>{totalCount, number}</b> {totalCount, plural, one{Eintrag} other{Einträgen}}.',
                    
39    'The file "{file}" is not an image.' => 'Die Datei "{file}" ist kein Bild.',
                    
40    'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.',
                    
40    'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.',
                    
41    'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.',
                    
42    'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.',
                    
46    'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel breit sein.',
                    
47    'The requested view "{name}" was not found.' => 'Die View-Datei "{name}" konnte nicht gefunden werden.',
                    
48    'The verification code is incorrect.' => 'Der Prüfcode ist falsch.',
                    
                
utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
                    
1<?php
                    
2
                    
2
                    
3if($_SESSION["verify"] != "RESPONSIVEfilemanager") die('forbiden');
                    
4
                    
44    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
45	require_once('php_image_magician.php');
                    
46	$magicianObj = new imageLib($imgfile);
                    
55    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
56	require_once('php_image_magician.php');
                    
57	$magicianObj = new imageLib($imgfile);
                    
102    if($path_thumbs && !file_exists($path_thumbs))
                    
103        mkdir($path_thumbs, 0777, true) or die("$path_thumbs cannot be found"); // or even 01777 so you get the sticky bit set
                    
104    umask($oldumask);
                    
                
service.php https://gitlab.com/alexprowars/bitrix | PHP | 416 lines
                    
1<?php
                    
2/**
                    
17use Bitrix\Seo\Engine\Bitrix;
                    
18use Bitrix\Seo\Retargeting\AdsAudience;
                    
19
                    
36	const AUTHORIZE = "/register/";
                    
37	const REDIRECT_URI = "/bitrix/tools/seo_client.php";
                    
38
                    
192		{
                    
193			$service = AdsAudience::getService();
                    
194			$service->setClientId($clientId);
                    
                
recaptchalib.php https://bitbucket.org/Mainboarder/s2firewall.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	}
                    
                
event.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 418 lines
                    
1<?php
                    
2/**
                    
4 * @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5 * @license		GNU/GPL, see LICENSE.php
                    
6 *
                    
10 * other free or open source software licenses.
                    
11 * See COPYRIGHT.php for copyright notices and details.
                    
12 */
                    
13
                    
14defined('_JEXEC') or die('Restricted access');
                    
15
                    
15
                    
16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR .'helper.php' );
                    
17jimport( 'joomla.filesystem.file' );
                    
54			case 'jomsocial':
                    
55				return JFile::exists( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_community' . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . 'core.php' );
                    
56			break;
                    
                
trackback.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 372 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHP Class to handle TrackBacks (send/ping, receive, retreive, detect, seed, etc...)
                    
4 * 
                    
4 * 
                    
5 * <code><?php
                    
6 * include('trackback_cls.php');
                    
11 * 
                    
12 * @version $Id: trackback_cls.php,v 1.2 2004/12/11 18:54:32 Ran Exp $
                    
13 * @copyright Copyright (c) 2004 Ran Aroussi (http://www.blogish.org)
                    
14 * @author Ran Aroussi <ran@blogish.org> 
                    
15 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
                    
16 * 
                    
18 */
                    
19defined('_JEXEC') or die('Restricted access');
                    
20
                    
                
theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
                    
1<?php
                    
2/**
                    
177
                    
178		// Disables custom gradients
                    
179//		add_theme_support( 'disable-custom-gradients' );
                    
180
                    
181		// To completely disable gradients, leave preset array empty.
                    
182//		add_theme_support( 'editor-gradient-presets', array() );
                    
183
                    
184		// Adds gradient preset(s).
                    
185//		add_theme_support( 'editor-gradient-presets', array(
                    
187//				'name'     => esc_attr__( 'Gray Wash', 'ravens-egg-2022' ),
                    
188//				'gradient' => 'linear-gradient(to right, rgba(128, 128, 128, 1), rgba(192, 192, 192, 1))',
                    
189//				'slug'     => 'gray-wash',
                    
                
wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
                    
1<?php
                    
2// Pre-2.6 compatibility
                    
5
                    
6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) )
                    
7	return true;
                    
10
                    
11include( WPCACHEHOME . 'wp-cache-base.php');
                    
12
                    
26
                    
27require_once( WPCACHEHOME . 'wp-cache-phase2.php');
                    
28
                    
28
                    
29$plugins = glob( $wp_cache_plugins_dir . '/*.php' );
                    
30if( is_array( $plugins ) ) {
                    
48function gzip_accepted(){
                    
49	if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it
                    
50		return false;
                    
                
orders.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 187 lines
                    
1<?php
                    
2/* Copyright (C) 2012-2013	Regis Houssin	<regis.houssin@capnetworks.com>
                    
84		'Sendings' => 'Expéditions',
                    
85		'ShipProduct' => 'Expédier produit',
                    
86		'Discount' => 'Remise',
                    
                
photospip_fr.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 142 lines
                    
1<?php
                    
2// This is a SPIP language file  --  Ceci est un fichier langue de SPIP
                    
50	'explication_image_rotation' => 'Fait tourner l’image d’un angle égal au paramètre passé. Les valeurs positives sont dans le sens des aiguilles d’une montre et inversement.<br />Attention : ce filtre modifie les dimensions de l’image.',
                    
51	'explication_image_saturation_desaturation' => 'Ce filtre va saturer ou désaturer les couleurs d’une image.<br />La luminosité de l’image et le contraste sont inchangés<br />Dans le premier cas, la couleur est « affadie » ; l’effet, utilisé subtilement, donnera des tonalités de photographie vieillie...<br />Dans l’autre cas, à l’inverse, le même filtre pourra «doper» les couleurs.',
                    
52	'explication_image_sincity' => 'Ce filtre donne un aspect "Sin City" (Ne nécessite aucun réglage).<br />Il exécute une désaturation contrastée et une accentuation du rouge.',
                    
                
notice.php https://gitlab.com/edgarze188/sunrise | 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>
                    
                
arrayhelper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 461 lines
                    
1<?php
                    
2/**
                    
9
                    
10defined('JPATH_PLATFORM') or die;
                    
11
                    
436	 *
                    
437	 * @see     http://php.net/manual/en/function.array-unique.php
                    
438	 * @since   11.2
                    
                
de_DE.js https://gitlab.com/wuhang2003/core | JavaScript | 123 lines
                    
10    "There is no error, the file uploaded with success" : "Es ist kein Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.",
                    
11    "The uploaded file exceeds the upload_max_filesize directive in php.ini: " : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
                    
12    "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe erlaubt, die im HTML-Formular spezifiziert ist",
                    
44    "This operation is forbidden" : "Diese Operation ist nicht erlaubt",
                    
45    "This directory is unavailable, please check the logs or contact the administrator" : "Dieses Verzeichnis ist nicht verfügbar, bitte überprüfen Sie die Logdateien oder kontaktieren Sie den Administrator",
                    
46    "Could not move \"{file}\", target exists" : "Die Datei konnte nicht verschoben werden \"{file}\", da die Datei im Zielordner bereits existiert",
                    
52    "Could not create file \"{file}\"" : "Die Datei konnte nicht erstellt werden \"{file}\"",
                    
53    "Could not create file \"{file}\" because it already exists" : "Die Datei konnte nicht erstellt werden \"{file}\", da diese bereits existiert",
                    
54    "Could not create folder \"{dir}\"" : "Der Ordner konnte nicht erstellt werden \"{dir}\"",
                    
104    "Save" : "Speichern",
                    
105    "With PHP-FPM it might take 5 minutes for changes to be applied." : "Bei PHP-FPM kann es 5 Minuten dauern, bis Änderungen angewendet sind.",
                    
106    "Missing permissions to edit from here." : "Fehlende Berechtigungen um von hier aus zu bearbeiten.",
                    
116    "Upload too large" : "Der Upload ist zu groß",
                    
117    "The files you are trying to upload exceed the maximum size for file uploads on this server." : "Die Datei überschreitet die Maximalgröße für Uploads auf diesem Server.",
                    
118    "No favorites" : "Keine Favoriten",
                    
                
sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 230 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
8
                    
9@endphp
                    
10<html>
                    
83        <td class="align-top">Estado:</td>
                    
84        <td colspan="3">PENDIENTE DE PAGO</td>
                    
85    </tr>
                    
148                @if($row->discounts)
                    
149                    @php
                    
150                        $total_discount_line = 0;
                    
153                        }
                    
154                    @endphp
                    
155                    {{ number_format($total_discount_line, 2) }}
                    
215    <strong>PAGOS:</strong> </td></tr>
                    
216        @php
                    
217            $payment = 0;
                    
                
ps_function.php https://github.com/Shigaru/shigaru.git | PHP | 342 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_function.php 1674 2009-03-04 02:07:57Z tkahl $
                    
6* @package VirtueMart
                    
8* @copyright Copyright (C) 2004-2007 soeren - All rights reserved.
                    
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*
                    
274				else {
                    
275					$error = $VM_LANG->_('PHPSHOP_PAGE_403').'. ';
                    
276					$error .= $VM_LANG->_('PHPSHOP_FUNC_NO_EXEC') . $func;
                    
281			else {
                    
282				$error = $VM_LANG->_('PHPSHOP_FUNC_NOT_REG').'. ';
                    
283				$error .= $func . $VM_LANG->_('PHPSHOP_FUNC_ISNO_REG') ;
                    
                
reportDate_merged.php https://github.com/joelbrock/is4c_nofc.git | PHP | 348 lines
                    
1<?php
                    
2//
                    
23
                    
24include('../src/functions.php');
                    
25include('reportFunctions.php');
                    
25include('reportFunctions.php');
                    
26// include('../src/datediff.php');
                    
27require_once('../define.conf');
                    
31<BODY BGCOLOR = 'FFCC99' > <font SIZE=2>
                    
32<?php
                    
33$bgcolor = 'FFCC99';
                    
55	    $message = 'Invalid query: ' . mysql_error() . "\n";
                    
56	    die($message);
                    
57	}
                    
63		$message = 'Invalid query: ' . mysql_error() . "\n";
                    
64		die($message);
                    
65	}
                    
                
functions.recaptchalib.php https://github.com/dkobia/Garden.git | PHP | 278 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        }
                    
216   if (! function_exists ("mcrypt_encrypt")) {
                    
217      die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
                    
218   }
                    
                
course_competency.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 410 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24namespace core_competency;
                    
25defined('MOODLE_INTERNAL') || die();
                    
26
                    
                
lib.php https://bitbucket.org/ngmares/moodle.git | PHP | 383 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
28
                    
29defined('MOODLE_INTERNAL') || die();
                    
30
                    
113
                    
114        return new moodle_url('/enrol/guest/addinstance.php', array('sesskey'=>sesskey(), 'id'=>$courseid));
                    
115    }
                    
135
                    
136        require_once("$CFG->dirroot/enrol/guest/locallib.php");
                    
137        $form = new enrol_guest_enrol_form(NULL, $instance);
                    
155                } else {
                    
156                    $destination = "$CFG->wwwroot/course/view.php?id=$instance->courseid";
                    
157                }
                    
                
editor.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 321 lines
                    
1<?php
                    
2
                    
11 */
                    
12defined('_JEXEC') or die('RESTRICTED');
                    
13
                    
107                // load mobile detect class
                    
108                require_once(dirname(__FILE__) . '/mobile.php');
                    
109            }
                    
                
adodb-oracle.inc.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 342 lines
                    
1<?php
                    
2/*
                    
15// security - hide paths
                    
16if (!defined('ADODB_DIR')) die();
                    
17
                    
                
HTTP_WebDAV_Server_vCal.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 430 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
42
                    
43require_once 'modules/Calendar/Calendar.php';
                    
44
                    
44
                    
45require_once 'include/HTTP_WebDAV_Server/Server.php';
                    
46
                    
352            // open input stream
                    
353            $options["stream"] = fopen("php://input", "r");
                    
354            $content = '';
                    
                
class-wp-locale.php https://gitlab.com/campus-academy/krowkaramel | PHP | 369 lines
                    
191		$this->meridiem['am'] = __( 'am' );
                    
192		$this->meridiem['pm'] = __( 'pm' );
                    
193		$this->meridiem['AM'] = __( 'AM' );
                    
314	 */
                    
315	public function get_meridiem( $meridiem ) {
                    
316		return $this->meridiem[ $meridiem ];
                    
361	public function _strings_for_pot() {
                    
362		/* translators: Localized date format, see https://www.php.net/manual/datetime.format.php */
                    
363		__( 'F j, Y' );
                    
363		__( 'F j, Y' );
                    
364		/* translators: Localized time format, see https://www.php.net/manual/datetime.format.php */
                    
365		__( 'g:i a' );
                    
365		__( 'g:i a' );
                    
366		/* translators: Localized date and time format, see https://www.php.net/manual/datetime.format.php */
                    
367		__( 'F j, Y g:i a' );
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
3if ( ! defined( 'ABSPATH' ) ) {
                    
4	die( '-1' );
                    
5}
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
2
                    
3if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
                    
4
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
393		$javascriptParams = array(
                    
394			"url" => CUtil::JSEscape($this->__component->GetPath().'/ajax.php'),
                    
395			"templateFolder" => CUtil::JSEscape($templateFolder),
                    
399		);
                    
400		$javascriptParams = CUtil::PhpToJSObject($javascriptParams);
                    
401		?>
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
10
                    
11if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
                    
12
                    
210					{
                    
211						die();
                    
212					}
                    
                
default_social_twitter_joomla.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 214 lines
                    
1<?php
                    
2/**
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5* @license		GNU/GPL, see LICENSE.php
                    
6* EasyBlog is free software. This version may have been modified pursuant
                    
9* other free or open source software licenses.
                    
10* See COPYRIGHT.php for copyright notices and details.
                    
11*/
                    
11*/
                    
12defined('_JEXEC') or die('Restricted access');
                    
13?>
                    
17			<fieldset class="adminform">
                    
18			<legend><?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_TWITTER_TITLE' ); ?></legend>
                    
19			<table class="admintable" cellspacing="1">
                    
23						<span class="editlinktip">
                    
24							<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_USE_TWITTER_BUTTON' ); ?>
                    
25						</span>
                    
                
tag.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
4* @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5* @license		GNU/GPL, see LICENSE.php
                    
6* EasyBlog is free software. This version may have been modified pursuant
                    
9* other free or open source software licenses.
                    
10* See COPYRIGHT.php for copyright notices and details.
                    
11*/
                    
11*/
                    
12defined('_JEXEC') or die('Restricted access');
                    
13
                    
13
                    
14require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'table.php' );
                    
15require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' );
                    
15require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' );
                    
16require_once( EBLOG_HELPERS . DIRECTORY_SEPARATOR . 'router.php' );
                    
17
                    
                
utilities.php https://gitlab.com/ppapadatis/Videolearn | PHP | 307 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version    SVN $Id: utilities.php 709 2012-10-26 09:07:01Z dhorsfall $
                    
4 * @package    hwdMediaShare
                    
11// No direct access to this file
                    
12defined('_JEXEC') or die('Restricted access');
                    
13
                    
165                {
                    
166                        include_once(JPATH_ROOT.'/components/com_community/libraries/core.php');
                    
167                        $JSUser = CFactory::getUser($user->id);
                    
175                {
                    
176                        include_once (JPATH_ROOT.DS.'components'.DS .'com_awdwall' .DS . 'helpers' . DS . 'user.php');
                    
177                        return AwdwallHelperUser::getBigAvatar51($user->id);	
                    
258        {
                    
259                JLoader::register('hwdMediaShareHelperMobile', JPATH_ROOT.'/components/com_hwdmediashare/helpers/mobile.php');
                    
260                $mobile = hwdMediaShareHelperMobile::getInstance();
                    
                
group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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
                    
                
img2thumb.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 393 lines
                    
1<?php
                    
2/**
                    
3* class Image2Thumbnail
                    
4* Thumbnail creation with PHP4 and GDLib (recommended, but not mandatory: 2.0.1 !)
                    
5*
                    
6*
                    
7* @author     Andreas Martens <heyn@plautdietsch.de>
                    
8* @author     Patrick Teague <webdude@veslach.com>
                    
119				// unfortunately this function does not work on windows
                    
120				// via the precompiled php installation :(
                    
121				// it should work on all other systems however.
                    
                
item_titles_list.php https://gitlab.com/mucill/majalengka | PHP | 302 lines
                    
43
                    
44require SIMBIO.'simbio_GUI/table/simbio_table.inc.php';
                    
45require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php';
                    
67    <div class="sub_section">
                    
68    <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>" target="reportView">
                    
69    <div id="filterForm">
                    
82        <div class="divRow">
                    
83            <div class="divRowLabel"><?php echo __('Classification'); ?></div>
                    
84            <div class="divRowContent">
                    
150            <div class="divRowLabel"><?php echo __('Record each page'); ?></div>
                    
151            <div class="divRowContent"><input type="text" name="recsEachPage" size="3" maxlength="3" value="<?php echo $num_recs_show; ?>" /> <?php echo __('Set between 20 and 200'); ?></div>
                    
152        </div>
                    
163    <div class="dataListHeader" style="padding: 3px;"><span id="pagingBox"></span></div>
                    
164    <iframe name="reportView" id="reportView" src="<?php echo $_SERVER['PHP_SELF'].'?reportView=true'; ?>" frameborder="0" style="width: 100%; height: 500px;"></iframe>
                    
165<?php
                    
                
label.php https://gitlab.com/mucill/majalengka | PHP | 260 lines
                    
1<?php
                    
2/**
                    
37require SIMBIO.'simbio_GUI/table/simbio_table.inc.php';
                    
38require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php';
                    
39require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php';
                    
40require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php';
                    
41require SIMBIO.'simbio_DB/simbio_dbop.inc.php';
                    
134        utility::jsAlert(__('All Data Successfully Deleted'));
                    
135        echo '<script type="text/javascript">parent.jQuery(\'#mainContent\').simbioAJAX(\''.$_SERVER['PHP_SELF'].'?'.$_POST['lastQueryStr'].'\');</script>';
                    
136    } else {
                    
152	  <div class="btn-group">
                    
153      <a href="<?php echo MWB; ?>master_file/label.php" class="btn btn-default"><i class="glyphicon glyphicon-list-alt"></i>&nbsp;<?php echo __('Label List'); ?></a>
                    
154      <a href="<?php echo MWB; ?>master_file/label.php?action=detail" class="btn btn-default"><i class="glyphicon glyphicon-plus"></i>&nbsp;<?php echo __('Add New Label'); ?></a>
                    
155	  </div>
                    
156    <form name="search" action="<?php echo MWB; ?>master_file/label.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> :
                    
157    <input type="text" name="keywords" size="30" />
                    
                
Parser.pm https://github.com/tokuhirom/rpc-xml.git | Perl | 326 lines
                    
5# Copying and distribution are permitted under the terms of the Artistic
                    
6# License 2.0 (http://www.opensource.org/licenses/artistic-license-2.0.php) or
                    
7# the GNU LGPL (http://www.opensource.org/licenses/lgpl-2.1.php).
                    
38#
                    
39#   Description:    Constructor. Dies, because this should be overridden.
                    
40#
                    
61
                    
62    die __PACKAGE__ . '::new: This method should have been overridden by ' .
                    
63        "the $class class\n";
                    
70#   Description:    Parse the requested string or stream, or return a
                    
71#                   push-parser instance. In this case, it dies because the
                    
72#                   sub-class should have overridden it.
                    
73#
                    
74#   Returns:        dies
                    
75#
                    
                
tracks.php https://github.com/rietn/minima.git | PHP | 461 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: tracks.php 20267 2011-01-11 03:44:44Z eddieajau $
                    
4 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
                    
7
                    
8defined('_JEXEC') or die;
                    
9
                    
95
                    
96		require_once JPATH_COMPONENT.'/helpers/banners.php';
                    
97
                    
                
Page.php https://bitbucket.org/baruffaldi/webapp-urltube.git | PHP | 395 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once 'Zend/Cache/Core.php';
                    
27
                    
233     * @param  string  $id       (optional) A cache id (if you set a value here, maybe you have to use Output frontend instead)
                    
234     * @param  boolean $doNotDie For unit testing only !
                    
235     * @return boolean True if the cache is hit (false else)
                    
236     */
                    
237    public function start($id = false, $doNotDie = false)
                    
238    {
                    
276            echo $data;
                    
277            if ($doNotDie) {
                    
278                return true;
                    
279            }
                    
280            die();
                    
281        }
                    
                
list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
                    
1<?php
                    
2/**
                    
8// Protect from unauthorized access
                    
9defined('FOF_INCLUDED') or die;
                    
10
                    
                
itkAnalyticalDiffusionQballReconstructionImageFilter.h https://github.com/cim-unito/MITK.git | C Header | 300 lines
                    
125
                    
126  typedef TGradientImagePixelType                  GradientPixelType;
                    
127
                    
173   * should be set.*/
                    
174  void SetGradientImage( GradientDirectionContainerType *, 
                    
175                                             const GradientImagesType *image);
                    
181  /** Return the gradient direction. idx is 0 based */
                    
182  virtual GradientDirectionType GetGradientDirection( unsigned int idx) const
                    
183    {
                    
234  itkConceptMacro(GradientReferenceAdditiveOperatorsCheck,
                    
235    (Concept::AdditiveOperators<GradientPixelType, GradientPixelType,
                    
236                                ReferencePixelType>));
                    
263  /** container to hold gradient directions */
                    
264  GradientDirectionContainerType::Pointer           m_GradientDirectionContainer;
                    
265
                    
                
install.php https://bitbucket.org/bekket/lviveurorent.git | PHP | 394 lines
                    
2/**
                    
3 * @version		$Id: install.php 33 2007-12-19 10:26:16Z andrew.eddie $
                    
4 * @package		joomfish
                    
13// no direct access
                    
14defined('_JEXEC') or die('Restricted access');
                    
15
                    
350		<tr>
                    
351			<th class="title" colspan="2"><?php echo JText::_('Extension'); ?></th>
                    
352			<th width="30%"><?php echo JText::_('Status'); ?></th>
                    
371	<?php foreach ($status->modules as $module) : ?>
                    
372		<tr class="row<?php echo (++ $rows % 2); ?>">
                    
373			<td class="key"><?php echo $module['name']; ?></td>
                    
387			<td class="key"><?php echo ucfirst($plugin['name']); ?></td>
                    
388			<td class="key"><?php echo ucfirst($plugin['group']); ?></td>
                    
389			<td><strong><?php echo JText::_('Installed'); ?></strong></td>
                    
                
jquery.ui.map.extensions.js https://gitlab.com/Mirros/cdnjs | JavaScript | 209 lines
                    
4 * Copyright (c) 2010 - 2011 Johan Säll Larsson
                    
5 * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
6 *
                    
118		pagination: function(prop) {
                    
119			var $el = $("<div id='pagination' class='pagination shadow gradient rounded clearfix'><div class='lt btn back-btn'></div><div class='lt display'></div><div class='rt btn fwd-btn'></div></div>");
                    
120			var self = this, i = 0, prop = prop || 'title';
                    
                
eventslib_test.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 303 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');
                    
                
wl_cfgp2p.h https://github.com/CyanogenMod/lge-kernel-omap4.git | C Header | 291 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
203extern wifi_wfd_ie_t *
                    
204wl_cfgp2p_find_wfdie(u8 *parse, u32 len);
                    
205extern s32
                    
                
unpack.php https://gitlab.com/milo-ft/osTicket | PHP | 270 lines
                    
54        # Read the main.inc.php script
                    
55        $bootstrap_php = $this->destination . '/bootstrap.php';
                    
56        $lines = explode("\n", file_get_contents($bootstrap_php));
                    
76        if (!file_put_contents($bootstrap_php, implode("\n", $lines)))
                    
77            die("Unable to configure location of INCLUDE_DIR in bootstrap.php\n");
                    
78    }
                    
151     * exclude - (string | array<string>) patterns that will be matched
                    
152     *      using the PHP `fnmatch` function. If any file or folder matches,
                    
153     *      it will be excluded from the copy procedure. Omit or use false
                    
206        $pipes = array();
                    
207        $php = proc_open('php', array(
                    
208            0 => array('pipe', 'r'),
                    
211
                    
212        fwrite($pipes[0], "<?php
                    
213        include '{$this->destination}/bootstrap.php';
                    
                
ajax_calls.php https://gitlab.com/staging06/myproject | PHP | 253 lines
                    
1<?php
                    
2
                    
2
                    
3include('config/config.php');
                    
4
                    
5if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') {
                    
6    die('forbiden');
                    
7}
                    
8
                    
9include('include/utils.php');
                    
10
                    
16            } else {
                    
17                die('view type number missing');
                    
18            }
                    
29            if (realpath(dirname(_PS_ROOT_DIR_.$_POST['path'])) != realpath(_PS_ROOT_DIR_.$upload_dir)) {
                    
30                die();
                    
31            }
                    
                
recaptchalib.php https://gitlab.com/blueprintmrk/bladencountyrecords | 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	}
                    
                
walkthrough_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 246 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
27
                    
28defined('MOODLE_INTERNAL') || die();
                    
29
                    
30global $CFG;
                    
31require_once(dirname(__FILE__) . '/../../../engine/lib.php');
                    
32require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php');
                    
                
TaggableBehavior.php https://github.com/mmonguilod/sfPropel15TaggableBehaviorPlugin.git | PHP | 304 lines
                    
11        'tagging_table' => '%TABLE%_tagging',
                    
12        'tagging_table_phpname' => '%PHPNAME%Tagging',
                    
13        'tag_table' => 'taggable_tag',
                    
39        $tagTableName = $this->getTagTableName();
                    
40        $tagTablePhpName = $this->replaceTokens($this->parameters['tag_table_phpname']);
                    
41
                    
46                'name'      => $tagTableName,
                    
47                'phpName'   => $tagTablePhpName,
                    
48                'package'   => $table->getPackage(),
                    
92                'name'      => $taggingTableName,
                    
93                'phpName'   => $this->replaceTokens($this->parameters['tagging_table_phpname']),
                    
94                'package'   => $table->getPackage(),
                    
298            '%TABLE%'   => $table->getName(),
                    
299            '%PHPNAME%' => $table->getPhpName(),
                    
300        ));
                    
                
json.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 275 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* REST Application Programming Interface PHP class for the WordPress plugin NextGEN Gallery
                    
4* Should emulate some kind of Flickr JSON callback : ?callback=json&format=json&api_key=1234567890&method=search&term=myterm
                    
8* 
                    
9* @require		PHP 5.2.0 or higher
                    
10* 
                    
54        if ( !defined('ABSPATH') )
                    
55            die('You are not allowed to call this page directly.');
                    
56
                    
57		if ( !function_exists('json_encode') )
                    
58			wp_die('Json_encode not available. You need to use PHP 5.2');
                    
59		
                    
263	/**
                    
264	 * PHP5 style destructor and will run when the class is finished.
                    
265	 *
                    
                
cakephp-coding-conventions.rst https://github.com/markstory/cakephp-docs.git | ReStructuredText | 332 lines
                    
145
                    
146*  `@access <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.access.pkg.html>`_
                    
147*  `@author <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.author.pkg.html>`_
                    
147*  `@author <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.author.pkg.html>`_
                    
148*  `@copyright <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.copyright.pkg.html>`_
                    
149*  `@deprecated <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.deprecated.pkg.html>`_
                    
149*  `@deprecated <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.deprecated.pkg.html>`_
                    
150*  `@example <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.example.pkg.html>`_
                    
151*  `@ignore <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.ignore.pkg.html>`_
                    
152*  `@internal <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.internal.pkg.html>`_
                    
153*  `@link <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.link.pkg.html>`_
                    
154*  `@see <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.see.pkg.html>`_
                    
155*  `@since <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.since.pkg.html>`_
                    
156*  `@tutorial <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.tutorial.pkg.html>`_
                    
157*  `@version <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.version.pkg.html>`_
                    
                
backupdb.php https://gitlab.com/Conors99/ppm-1.8 | PHP | 484 lines
                    
1<?php
                    
2/**
                    
13{
                    
14	die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
                    
15}
                    
52
                    
53$page->add_breadcrumb_item($lang->database_backups, "index.php?module=tools-backupdb");
                    
54
                    
61		flash_message($lang->error_file_not_specified, 'error');
                    
62		admin_redirect("index.php?module=tools-backupdb");
                    
63	}
                    
90		flash_message($lang->error_invalid_backup, 'error');
                    
91		admin_redirect("index.php?module=tools-backupdb");
                    
92	}
                    
98	{
                    
99		admin_redirect("index.php?module=tools-backupdb");
                    
100	}
                    
                
user_lang.php https://github.com/JamieLomas/pyrocms.git | PHP | 213 lines
                    
1<?php
                    
2
                    
51
                    
52$lang['user_error_username'] 			= 'De gebruikersnaam die u ingevoerd heeft is reeds in gebruik';
                    
53$lang['user_error_email'] 				= 'Het emailadres dat u ingevoerd heeft is reeds in gebruik'; 
                    
                
Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
                    
1<?php
                    
2/**
                    
7if ( ! defined( 'ABSPATH' ) ) {
                    
8	die( '-1' );
                    
9}
                    
                
mailz.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 374 lines
                    
65elseif (zing_mailz_mode()=='local') require_once(dirname(__FILE__) . '/includes/misc1.php');
                    
66require_once(dirname(__FILE__) . '/includes/index.php');
                    
67require_once(dirname(__FILE__) . '/classes/index.php');
                    
67require_once(dirname(__FILE__) . '/classes/index.php');
                    
68require_once(dirname(__FILE__) . '/mailz_cp.php');
                    
69
                    
75
                    
76	if (phpversion() < '5')	$warnings[]="You are running PHP version ".phpversion().". You require PHP version 5.2 or higher for this plugin, with version 5.3 recommended.";
                    
77	if (!function_exists('curl_init')) $warnings[]="You need to have cURL installed. Contact your hosting provider to do so.";
                    
226		$buffer=str_replace('<a href="./?zlistpage=logout">logout</a>','',$buffer);
                    
227		$buffer=str_replace('./?','admin.php?'.'page=mailz_cp&zlist=index&',$buffer);
                    
228		if (isset($_GET['zlistpage'])) $buffer=str_replace('<form method=post >','<form method=post action="'.$admin.'admin.php?page=mailz_cp&zlist=index&zlistpage='.$_GET['zlistpage'].'">',$buffer);
                    
233		if (isset($_GET['zlistpage'])) $buffer=str_replace('<form method="post" action="">','<form method=post action="'.$admin.'admin.php?page=mailz_cp&zlist=index&zlistpage='.$_GET['zlistpage'].'">',$buffer);
                    
234		$buffer=str_replace(ZING_PHPLIST_URL.'/?',$admin.'admin.php?page=mailz_cp&zlist=index&',$buffer);
                    
235		$buffer=str_replace('./FCKeditor',ZING_PHPLIST_URL.'/admin/FCKeditor',$buffer);
                    
                
Page.php https://github.com/kervin/kyzstudio.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 */
                    
27#require_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;
                    
                
Page.php https://bitbucket.org/timgws/full-text-rss.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;
                    
                
oembed_providers.py https://gitlab.com/hanswang2012/wagtail | Python | 321 lines
                    
150    ],
                    
151    "http://www.funnyordie.com/oembed.{format}": [
                    
152        "^http://www\\.funnyordie\\.com/videos/.+$"
                    
175        "^http(?:s)?://(?:www\\.)?ted\\.com/talks/lang/[^#?/]+/.+$",
                    
176        "^http(?:s)?://(?:www\\.)?ted\\.com/index\\.php/talks/.+$",
                    
177        "^http(?:s)?://(?:www\\.)?ted\\.com/index\\.php/talks/lang/[^#?/]+/.+$"
                    
189    ],
                    
190    "http://geo.hlipp.de/restapi.php/api/oembed": [
                    
191        "^http://geo-en\\.hlipp\\.de/.+$",
                    
                
override_form.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 266 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
26
                    
27defined('MOODLE_INTERNAL') || die();
                    
28
                    
28
                    
29require_once($CFG->libdir . '/formslib.php');
                    
30
                    
101                    // Generate an error.
                    
102                    $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id));
                    
103                    print_error('groupsnone', 'quiz', $link);
                    
154                    // Generate an error.
                    
155                    $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id));
                    
156                    print_error('usersnone', 'quiz', $link);
                    
                
imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    enrol_imsenterprise
                    
21 * @category   phpunit
                    
22 * @copyright  2012 David Monllaó
                    
25
                    
26defined('MOODLE_INTERNAL') || die();
                    
27
                    
28global $CFG;
                    
29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php');
                    
30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php');
                    
35 * @package    enrol_imsenterprise
                    
36 * @category   phpunit
                    
37 * @copyright  2012 David Monllaó
                    
                
options.php https://gitlab.com/code26/selah | PHP | 199 lines
                    
1<?php
                    
2/**
                    
4 */
                    
5if (!defined('ABSPATH')) die('No direct access allowed');
                    
6
                    
19	public static function admin_page_url() {
                    
20		return admin_url('options-general.php');
                    
21	}
                    
23	public static function admin_page() {
                    
24		return 'options-general.php';
                    
25	}
                    
58		global $updraftplus_admin;
                    
59		add_submenu_page('options-general.php', 'UpdraftPlus', __('UpdraftPlus Backups', 'updraftplus'), apply_filters('option_page_capability_updraft-options-group', 'manage_options'), "updraftplus", array($updraftplus_admin, "settings_output"));
                    
60	}
                    
66		$page = '';
                    
67		if ('options-general.php' == $pagenow) $page = "options.php";
                    
68
                    
                
projectteam.php https://gitlab.com/julienv/joomleague | PHP | 394 lines
                    
1<?php
                    
2/**
                    
3* @copyright	Copyright (C) 2006-2014 joomleague.at. All rights reserved.
                    
4* @license		GNU/GPL, see LICENSE.php
                    
5* Joomla! is free software. This version may have been modified pursuant
                    
8* other free or open source software licenses.
                    
9* See COPYRIGHT.php for copyright notices and details.
                    
10*/
                    
12// Check to ensure this file is included in Joomla!
                    
13defined('_JEXEC') or die('Restricted access');
                    
14
                    
55		if ($model->isCheckedOut($user->get('id'))) {
                    
56			$this->setRedirect('index.php?option=com_joomleague&task=projectteam.display&view=projectteams', JText::_('EDITED BY ANOTHER ADMIN'));
                    
57		}
                    
97	    }	
                    
98	    $link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
99	  	$this->setRedirect($link, $msg);  
                    
                
en_us.lang.php https://github.com/albertobraschi/SuperSweetAdmin.git | PHP | 247 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
208  'LBL_SOURCE_XTEMPLATE' => 'XTemplate - A template engine for PHP created by Barnabás Debreceni',
                    
209  'LBL_SOURCE_NUSOAP' => 'NuSOAP - A set of PHP classes that allow developers to create and consume web services created by NuSphere Corporation and Dietrich Ayala',
                    
210  'LBL_SOURCE_JSCALENDAR' => 'JS Calendar - A calendar for entering dates created by Mihai Bazon',
                    
211  'LBL_SOURCE_PHPPDF' => 'PHP PDF - A library for creating PDF documents created by Wayne Munro',
                    
212  'LBL_SOURCE_JSONPHP' => 'JSON.php - A PHP script to convert to and from JSON data format by Michal Migurski.',
                    
213  'LBL_SOURCE_JSON' => 'JSON.js - A JSON parser and JSON stringifier in JavaScript.',
                    
213  'LBL_SOURCE_JSON' => 'JSON.js - A JSON parser and JSON stringifier in JavaScript.',
                    
214  'LBL_SOURCE_HTTP_WEBDAV_SERVER' => 'HTTP_WebDAV_Server - A WebDAV Server Implementation in PHP.',
                    
215  'LBL_SOURCE_JS_O_LAIT' => 'JavaScript O Lait - A library of reusable modules and components to enhance JavaScript by Jan-Klaas Kollhof.',
                    
219  'LBL_SOURCE_YAHOO_UI_LIB' => 'Yahoo! User Interface Library - The UI Library Utilities facilitate the implementation of rich client-side features.',
                    
220  'LBL_SOURCE_PHPMAILER' => 'PHPMailer - A full featured email transfer class for PHP',
                    
221  'LBL_SOURCE_CRYPT_BLOWFISH' => 'Crypt_Blowfish - Allows for quick two-way blowfish encryption without requiring the MCrypt PHP extension.',
                    
231  'LBL_SOURCE_CSSMIN' => 'CssMin - A css parser and minifier.',
                    
232  'LBL_SOURCE_PHPSAML' => 'PHP-SAML - A simple SAML toolkit for PHP.',
                    
233  'LBL_SOURCE_ISCROLL' => 'iScroll - The overflow:scroll for mobile webkit.  Native scrolling inside a fixed width/height element.',
                    
                
lib.php https://github.com/jamiepratt/moodle.git | PHP | 346 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
17/**
                    
18 * Support library for the cache PHPUnit tests.
                    
19 *
                    
28
                    
29defined('MOODLE_INTERNAL') || die();
                    
30
                    
36 */
                    
37class cache_config_phpunittest extends cache_config_writer {
                    
38
                    
43     */
                    
44    public function phpunit_add_definition($area, array $properties) {
                    
45        if (!array_key_exists('overrideclass', $properties)) {
                    
47                case cache_store::MODE_APPLICATION:
                    
48                    $properties['overrideclass'] = 'cache_phpunit_application';
                    
49                    break;
                    
                
fileform.php https://github.com/projectfork/Projectfork.git | PHP | 431 lines
                    
1<?php
                    
2/**
                    
10
                    
11defined('_JEXEC') or die();
                    
12
                    
181        $record_id = JRequest::getInt($urlVar);
                    
182        $link_base = 'index.php?option=' . $this->option . '&view=';
                    
183        $link_list = $link_base . $this->view_list . $this->getRedirectToListAppend();
                    
424        if (empty($return) || !JUri::isInternal(base64_decode($return))) {
                    
425            return JRoute::_('index.php?option=com_pfrepo&view=' . $this->view_list . $append, false);
                    
426        }
                    
                
de_de.lang.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 281 lines
                    
1<?php
                    
2/*********************************************************************************
                    
34    'LBL_SPECIFY_GROUPING'=>'Gruppierung',
                    
35    'LBL_COLUMNS_TO_TOTAL'=>'Spalten für die Summenbildung wählen',
                    
36    'LBL_SPECIFY_CRITERIA'=>'Kriterien setzen',
                    
40    'LBL_SUMMARY_REPORT'=>'zusammenfassender Bericht',
                    
41    'LBL_REPORT_TYPE_HDR2'=>'Zusammenfassende Berichte erlauben die Auflistung der Daten mit Zwischensummen.',
                    
42    'LBL_AVAILABLE_COLUMNS'=>'verfügbare Spalten:',
                    
59    'LBL_SF_ENDDATE'=>'Enddatum',
                    
60    'LBL_AF_HDR1'=>'Setzen Sie Suchkriterien um die Resultatsliste zu begrenzen.',
                    
61    'LBL_AF_HDR2'=>'Sie können &quot;or&quot; Filter durch die Eingabe mehrerer Einträge in der dritten Spalte setzen.',
                    
73    //Added for 5 Beta
                    
74    'LBL_NO_PERMISSION'=>'Ihr Profil berechtigt Sie nicht den Bericht von einem dieser Module zu sehen.',
                    
75    'LBL_SELECT_COLUMNS_TO_GENERATE_REPORTS'=>'Bitte Spalten auswählen.',
                    
105    'LBL_TABULAR_REPORTS_ARE_SIMPLEST'=>' 	Tabellarische Berichte sind der einfachste und schnellste Weg um eine Auflistung aller Daten zu erhalten.',
                    
106    'LBL_SUMMARY_REPORT_VIEW_DATA_WITH_SUBTOTALS'=>'Zusammenfassende Berichte erlauben die Auflistung der Daten mit Zwischensummen.',
                    
107    'LBL_FILTERS'=>'Filter',
                    
                
panels_layouts_ui.class.php https://gitlab.com/manuvelasco/agostoliquida | PHP | 245 lines
                    
1<?php
                    
2
                    
8class panels_layouts_ui extends ctools_export_ui {
                    
9  var $lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam egestas congue nibh, vel dictum ante posuere vitae. Cras gravida massa tempor metus eleifend sed elementum tortor scelerisque. Vivamus egestas, tortor quis luctus tristique, sem velit adipiscing risus, et tempus enim felis in massa. Morbi viverra, nisl quis rhoncus imperdiet, turpis massa vestibulum turpis, egestas faucibus nibh metus vel nunc. In hac habitasse platea dictumst. Nunc sit amet nisi quis ipsum tincidunt semper. Donec ac urna enim, et placerat arcu. Morbi eu laoreet justo. Nullam nec velit eu neque mattis pulvinar sed non libero. Sed sed vulputate erat. Fusce sit amet dui nibh.";
                    
10
                    
                
google.php https://gitlab.com/Ltaimao/wecenter | PHP | 338 lines
                    
1<?php
                    
2/*
                    
16{
                    
17    die;
                    
18}
                    
                
post_form.php https://github.com/estar/moodle-anon-forum.git | PHP | 199 lines
                    
1<?php
                    
2
                    
24if (!defined('MOODLE_INTERNAL')) {
                    
25    die('Direct access to this script is forbidden.');    ///  It must be included from a Moodle page
                    
26}
                    
27
                    
28require_once($CFG->libdir.'/formslib.php');
                    
29
                    
                
de.php https://github.com/hecbuma/quali-fisioterapia.git | PHP | 99 lines
                    
6$_MODULE['<{loyalty}prestashop>loyalty_f8763c754ba455aa6e8ddf0e62911eb7'] = 'Bieten Sie Ihren Kunden ein Treueprogramm';
                    
7$_MODULE['<{loyalty}prestashop>loyalty_f0338d5a7bbd642cc188ca69c8a97b12'] = 'Dies löscht alle Treuepunkte und die Verlaufsgeschichte Ihrer Kunden, sind Sie sicher?';
                    
8$_MODULE['<{loyalty}prestashop>loyalty_7307b68f93443d5863f1d3943c546b20'] = 'Treuebonus';
                    
25$_MODULE['<{loyalty}prestashop>loyalty_9611a682e61c503c32e2dc58fdbc8ddf'] = 'Punkte werden gelöscht, wenn die Bestellung';
                    
26$_MODULE['<{loyalty}prestashop>loyalty_2a46cccdea2f18fdfdfacf99a98b758d'] = 'Gutscheine, die vom Treue-System erstellt wurden, können in den folgenden Kategorien verwendet werden:';
                    
27$_MODULE['<{loyalty}prestashop>loyalty_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
                    
73$_MODULE['<{loyalty}prestashop>loyalty_019d1ca7d50cc54b995f60d456435e87'] = 'Gebraucht';
                    
74$_MODULE['<{loyalty}prestashop>loyalty_2af3bf4c82c5b33875d532820a959799'] = 'Durch diese Befehle erstellt';
                    
75$_MODULE['<{loyalty}prestashop>loyalty_d1228f5476d15142b1358ae4b5fa2454'] = 'Bestellung Nr.';
                    
77$_MODULE['<{loyalty}prestashop>loyalty_1f67ea7a0b26e9eacc70523bde28df0c'] = 'mehr ...';
                    
78$_MODULE['<{loyalty}prestashop>loyalty_a16cf3ec5200cc519f4fe48e34b1df83'] = 'Die Mindestbestellmenge zur Verwendung dieser Gutscheine beträgt:';
                    
79$_MODULE['<{loyalty}prestashop>loyalty_8e69341aca5dbf9f55c2e75a2ed5df3c'] = 'Noch keine Gutscheine.';
                    
94$_MODULE['<{loyalty}prestashop>shopping-cart_ea2c0ea1a08add3a75273e7f32f05f7a'] = 'Treue';
                    
95$_MODULE['<{loyalty}prestashop>shopping-cart_4cd8259257033282f11cc9bbe648dff7'] = 'Durch die Überprüfung dieses Warenkorbs können Sie bis zu';
                    
96$_MODULE['<{loyalty}prestashop>shopping-cart_2996152bb442bf98c80c515c6055de5f'] = 'Treuepunkte';
                    
                
install.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 394 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: install.php 1344 2009-06-18 11:50:09Z akede $
                    
4 * @package		joomfish
                    
7 * 
                    
8 * This is the special installer addon created by Andrew Eddie and the team of jXtended.
                    
9 * We thank for this cool idea of extending the installation process easily
                    
13// no direct access
                    
14defined('_JEXEC') or die('Restricted access');
                    
15
                    
350		<tr>
                    
351			<th class="title" colspan="2"><?php echo JText::_('Extension'); ?></th>
                    
352			<th width="30%"><?php echo JText::_('Status'); ?></th>
                    
361		<tr class="row0">
                    
362			<td class="key" colspan="2"><?php echo 'Joom!Fish '.JText::_('Component'); ?></td>
                    
363			<td><strong><?php echo JText::_('Installed'); ?></strong></td>
                    
                
accreditations.sql https://bitbucket.org/juan_sanchez/aiyellow.git | SQL | 242 lines
                    
1-- phpMyAdmin SQL Dump
                    
2-- version 3.4.10.1deb1
                    
2-- version 3.4.10.1deb1
                    
3-- http://www.phpmyadmin.net
                    
4--
                    
7-- Server version: 5.5.29
                    
8-- PHP Version: 5.3.10-1ubuntu3.6
                    
9
                    
181(2, 'Argentina', 'Juan M. Sanchez', 'avatar_20130325032438.png', NULL, NULL, NULL, NULL, NULL, '2013-03-25 09:25:31', 'Este es un texto en español...', 'Este es un texto en ingles...', 'Este es un texto en portuges...'),
                    
182(29, 'Deutschland', 'Nina Hagen', 'avatar_20130325032419.png', NULL, NULL, NULL, NULL, NULL, '2013-03-25 09:25:36', 'Nina Hagen was born in the former East Berlin, East Germany, the daughter of Hans Hagen (also known as Hans Oliva-Hagen), a scriptwriter, and Eva-Maria Hagen (née Buchholz), an actress and singer. Her paternal grandfather died in the Sachsenhausen concentration camp (her paternal grandparents were Jewish).[1] Her parents divorced when she was two years old, and growing up she saw her father infrequently. At age four, she began to study ballet, and was considered an opera prodigy by the time she was nine.', 'Nina Hagen was born in the former East Berlin, East Germany, the daughter of Hans Hagen (also known as Hans Oliva-Hagen), a scriptwriter, and Eva-Maria Hagen (née Buchholz), an actress and singer. Her paternal grandfather died in the Sachsenhausen concentration camp (her paternal grandparents were Jewish).[1] Her parents divorced when she was two years old, and growing up she saw her father infrequently. At age four, she began to study ballet, and was considered an opera prodigy by the time she was nine.', 'Nina Hagen was born in the former East Berlin, East Germany, the daughter of Hans Hagen (also known as Hans Oliva-Hagen), a scriptwriter, and Eva-Maria Hagen (née Buchholz), an actress and singer. Her paternal grandfather died in the Sachsenhausen concentration camp (her paternal grandparents were Jewish).[1] Her parents divorced when she was two years old, and growing up she saw her father infrequently. At age four, she began to study ballet, and was considered an opera prodigy by the time she was nine.'),
                    
183(30, 'dssdds', 'aaaa', '/graduate_20130422010309.png', 'asd@mail.com', '', '', '', '', '2013-04-22 04:03:09', 'asd', 'asd', 'asd'),
                    
                
Users.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 177 lines
                    
1<?php
                    
2/*+**********************************************************************************
                    
47	'LBL_DELETE_GROUP'             => 'Gruppe löschen'             , 
                    
48	'LBL_DELETE_GROUPNAME'         => 'Gruppe, die gelöscht werden soll', 
                    
49	'LBL_TRANSFER_GROUP'           => 'Übertrage die Gruppe an: '  , 
                    
                
Module.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 274 lines
                    
1<?php
                    
2/*+**********************************************************************************
                    
34        $id = $db->getUniqueID("vtiger_$pickListFieldName");
                    
35        vimport('~~/include/ComboUtil.php');
                    
36        $picklist_valueid = getUniquePicklistID();
                    
92
                    
93		vimport('~~/include/utils/CommonUtils.php');
                    
94
                    
124
                    
125        vimport('~~/include/utils/CommonUtils.php');
                    
126        $tabId = getTabId($moduleName);
                    
159        //To disable die On error since we will be doing insert without chekcing
                    
160        $dieOnErrorOldValue = $db->dieOnError;
                    
161        $db->dieOnError = false;
                    
205        //retaining to older value
                    
206        $db->dieOnError = $dieOnErrorOldValue;
                    
207
                    
                
editUserGroup.php https://bitbucket.org/jasonrogena/fulcrum-dqs.git | PHP | 353 lines
                    
1<?php include "../phpScripts/accessConfirmation.php";?>
                    
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                    
123<?php
                    
124include '../phpScripts/dbConnect.php';
                    
125dbConnect($_COOKIE['developerUsername'], $_COOKIE['developerPassword']);
                    
143    $query="SELECT `group_name` FROM `group` WHERE `group_ID`='{$_SESSION['groupID']}'";
                    
144    $result=mysql_query($query) or die (mysql_error());
                    
145    $fetchedGroup=mysql_fetch_array($result);
                    
193    {
                    
194        echo "<meta http-equiv=\"refresh\" content=\"0;URL=../phpScripts/updateUserGroup.php\" />";
                    
195    }
                    
214?></div>
                    
215<div><a href="../phpScripts/logout.php" class="links">logout</a></div>
                    
216</td></tr>
                    
227<tr><td class="optionCells" id="respondentOpt" onmouseover="JavaScript:optionOn(this);" onmouseout="JavaScript:optionOff(this);">
                    
228<a class="links" href="fieldUsers.php">Respondents</a>
                    
229</td></tr>
                    
                
functions.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 367 lines
                    
156		if (!file_exists($installerCore)) {
                    
157			$fp2 = fopen($installerCore, 'x+') or die(duplicator_log("log:fun__create_installerFile=>file-open-error-x" . $err_msg));
                    
158		} else {
                    
171	{
                    
172		die(duplicator_log("log:fun__create_installerFile=>Template missing or unreadable: '$template'"));
                    
173	}
                    
300	$ssfile = @fopen($path_ssdir .'/index.php', 'w');
                    
301	@fwrite($ssfile, '<?php error_reporting(0);  if (stristr(php_sapi_name(), "fcgi")) { $url  =  "http://" . $_SERVER["HTTP_HOST"]; header("Location: {$url}/404.html");} else { header("HTML/1.1 404 Not Found", true, 404);} exit(); ?>');
                    
302	@fclose($ssfile);
                    
305	$tokenfile = @fopen($path_ssdir .'/dtoken.php', 'w');
                    
306	@fwrite($tokenfile, '<?php error_reporting(0);  if (stristr(php_sapi_name(), "fcgi")) { $url  =  "http://" . $_SERVER["HTTP_HOST"]; header("Location: {$url}/404.html");} else { header("HTML/1.1 404 Not Found", true, 404);} exit(); ?>');
                    
307	@fclose($tokenfile);
                    
320	$tokenfile2 = @fopen($path_plugin .'files/dtoken.php', 'w');
                    
321	@fwrite($tokenfile2, '<?php @error_reporting(0); @require_once("../../../../wp-admin/admin.php"); global $wp_query; $wp_query->set_404(); header("HTML/1.1 404 Not Found", true, 404); header("Status: 404 Not Found"); @include(get_template_directory () . "/404.php"); ?>');
                    
322	@fclose($tokenfile2);
                    
                
 

Source

Language