filename
stringlengths
4
51
language
stringclasses
51 values
vulnerable_code
stringlengths
6
3.06M
fixed_code
stringlengths
6
3.06M
commit_id
stringlengths
40
40
repository_url
stringlengths
26
73
controller.php
php
<?php dd(User::all());
<?php
269320e0e0e06a1785e1a1556da769a34280b7e6
https://github.com/microweber/microweber
trace.h
objective-c
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Christoph Hellwig. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM nfsd #if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _NFSD_TRACE_H #include <linux/tracepoint.h> #include "export.h" #include "nfsfh.h" #define NFSD_TRACE_PROC_ARG_F...
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Christoph Hellwig. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM nfsd #if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _NFSD_TRACE_H #include <linux/tracepoint.h> #include "export.h" #include "nfsfh.h" #define NFSD_TRACE_PROC_ARG_F...
7b08cf62b1239a4322427d677ea9363f0ab677c6
https://github.com/torvalds/linux
sanitizer.ts
typescript
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. // sanitize-html uses the url package, so we depend on a standalone version of // it which acts as a polyfill for browsers. import sanitize from 'sanitize-html'; import { ISanitizer } from './tokens'; /** * Helper ...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. // sanitize-html uses the url package, so we depend on a standalone version of // it which acts as a polyfill for browsers. import sanitize from 'sanitize-html'; import { ISanitizer } from './tokens'; /** * Helper ...
504825938c0abfa2fb8ff8d529308830a5ae42ed
https://github.com/jupyterlab/jupyterlab
make_subset.php
php
<?php /** * @package php-font-lib * @link https://github.com/PhenX/php-font-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ use FontLib\Font; use FontLib\Binary_Stream; $fontfile = null; if (isset($_GET["fontfile"...
<?php /** * @package php-font-lib * @link https://github.com/PhenX/php-font-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ use FontLib\Font; use FontLib\Binary_Stream; $fontfile = null; if (isset($_GET["fontfile"...
d13682b7e27d14a6323c441426f3dde1cd86c751
https://github.com/phenx/php-font-lib
call_plugin.php
php
<?php /** * This file gets used to access {@link Plugin} methods that are marked to be accessible this * way. See {@link Plugin::GetHtsrvMethods()}. * * This file is part of the evoCore framework - {@link http://evocore.net/} * See also {@link https://github.com/b2evolution/b2evolution}. * * @license GNU GPL v2 ...
<?php /** * This file gets used to access {@link Plugin} methods that are marked to be accessible this * way. See {@link Plugin::GetHtsrvMethods()}. * * This file is part of the evoCore framework - {@link http://evocore.net/} * See also {@link https://github.com/b2evolution/b2evolution}. * * @license GNU GPL v2 ...
999b5ad1d59760d7e450ceb541f55432fc74cd27
https://github.com/b2evolution/b2evolution
constants.ts
typescript
import * as os from 'os' import * as chalk from 'chalk' // eslint-disable-next-line dot-notation export const PLATFORMS = global['PLATFORMS'] = global['PLATFORMS'] || {} export const enum processTypeEnum { START = 'start', CREATE = 'create', COMPILE = 'compile', CONVERT = 'convert', COPY = 'copy', GENERAT...
import * as os from 'os' import * as chalk from 'chalk' // eslint-disable-next-line dot-notation export const PLATFORMS = global['PLATFORMS'] = global['PLATFORMS'] || {} export const enum processTypeEnum { START = 'start', CREATE = 'create', COMPILE = 'compile', CONVERT = 'convert', COPY = 'copy', GENERAT...
acadb6c826ba57f2030a626f1de4f7b4608fcdb5
https://github.com/nervjs/taro
index.php
php
<?php /** * The main admin backend index file. * * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * @package phpMyFAQ * @author Thorsten Rinne <thorsten@phpmyf...
<?php /** * The main admin backend index file. * * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * @package phpMyFAQ * @author Thorsten Rinne <thorsten@phpmyf...
3872e7eac2ddeac182fc1335cc312d1392d56f98
https://github.com/thorsten/phpmyfaq
part.choosecalendar.rowfields.php
php
<?php echo '<td width="20px"><input id="active_' . $_['calendar']['id'] . '" type="checkbox" onClick="Calendar.UI.Calendar.activation(this,' . $_['calendar']['id'] . ')"' . ($_['calendar']['active'] ? ' checked="checked"' : '') . '></td>'; echo '<td id="' . OCP\USER::getUser() . '_' . $_['calendar']['id'] . '"><label ...
<?php echo '<td width="20px"><input id="active_' . $_['calendar']['id'] . '" type="checkbox" onClick="Calendar.UI.Calendar.activation(this,' . $_['calendar']['id'] . ')"' . ($_['calendar']['active'] ? ' checked="checked"' : '') . '></td>'; echo '<td id="' . OCP\USER::getUser() . '_' . $_['calendar']['id'] . '"><label ...
f955f6a6857754826af8903475688ba54f72c1bb
https://github.com/owncloud/core
iTermAdvancedSettingsModel.m
objective-c
// // iTermAdvancedSettingsModel.m // iTerm // // Created by George Nachman on 3/18/14. // // #import "iTermAdvancedSettingsModel.h" #import "iTermAdvancedSettingsViewController.h" #import "NSStringITerm.h" @implementation iTermAdvancedSettingsModel #define DEFINE_BOOL(name, theDefault, theDescription) \ + (BOOL)...
// // iTermAdvancedSettingsModel.m // iTerm // // Created by George Nachman on 3/18/14. // // #import "iTermAdvancedSettingsModel.h" #import "iTermAdvancedSettingsViewController.h" #import "NSStringITerm.h" @implementation iTermAdvancedSettingsModel #define DEFINE_BOOL(name, theDefault, theDescription) \ + (BOOL)...
e4eb1063529deb575b75b396138d41554428d522
https://github.com/gnachman/iterm2
kohana_error_page.php
php
<?php defined('SYSPATH') OR die('No direct access allowed.'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ...
<?php defined('SYSPATH') OR die('No direct access allowed.'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ...
e4a19768a5c5e5b1276caf3dd5bb721a540ec014
https://github.com/lingej/pnp4nagios
view.php
php
<?php if (!defined('FLUX_ROOT')) exit; $this->loginRequired(); ?> <?php if($ticketlist): ?> <h2><?php echo Flux::message('SDHeaderID') ?><?php echo htmlspecialchars($trow->ticket_id) ?> - <?php echo htmlspecialchars($trow->subject) ?></h2> <table class="vertical-table" width="100%"> <tbody> <tr> <th>Account</...
<?php if (!defined('FLUX_ROOT')) exit; $this->loginRequired(); ?> <?php if($ticketlist): ?> <h2><?php echo Flux::message('SDHeaderID') ?><?php echo htmlspecialchars($trow->ticket_id) ?> - <?php echo htmlspecialchars($trow->subject) ?></h2> <table class="vertical-table" width="100%"> <tbody> <tr> <th>Account</...
8a39b2b2bf28353b3503ff1421862393db15aa7e
https://github.com/rathena/fluxcp
fee_sheet_options_ajax.php
php
<?php /** * Controller for getting information about fee sheet options * * @package OpenEMR * @link http://www.open-emr.org * @author Kevin Yeh <kevin.y@integralemr.com> * @copyright Copyright (c) 2013 Kevin Yeh <kevin.y@integralemr.com> and OEMR <www.oemr.org> * @license https://github.com/openemr/...
<?php /** * Controller for getting information about fee sheet options * * @package OpenEMR * @link http://www.open-emr.org * @author Kevin Yeh <kevin.y@integralemr.com> * @copyright Copyright (c) 2013 Kevin Yeh <kevin.y@integralemr.com> and OEMR <www.oemr.org> * @license https://github.com/openemr/...
59458bc15ab0cb556c521de9d5187167d6f88945
https://github.com/openemr/openemr
consumer.php
php
<?php $this->data['header'] = 'OpenID Login'; $this->data['autofocus'] = 'openid-identifier'; $this->includeAtTemplateBase('includes/header.php'); ?> <style> input.openid-identifier { background: url(http://stat.livejournal.com/img/openid-inputicon.gif) no-repeat; /* background-color: #fff; */ border-left: 1px ...
<?php $this->data['header'] = 'OpenID Login'; $this->data['autofocus'] = 'openid-identifier'; $this->includeAtTemplateBase('includes/header.php'); ?> <style> input.openid-identifier { background: url(http://stat.livejournal.com/img/openid-inputicon.gif) no-repeat; /* background-color: #fff; */ border-left: 1px ...
d652d41ccaf8c45d5707e741c0c5d82a2365a9a3
https://github.com/simplesamlphp/simplesamlphp-module-openid
fdb.inc.php
php
<div class="panel panel-default panel-condensed"> <div class="panel-heading"> <strong>FDB Entries</strong> </div> <table id="fdb-search" class="table table-hover table-condensed table-striped"> <thead> <tr> <th data-column-id="device">Device</th> <...
<div class="panel panel-default panel-condensed"> <div class="panel-heading"> <strong>FDB Entries</strong> </div> <table id="fdb-search" class="table table-hover table-condensed table-striped"> <thead> <tr> <th data-column-id="device">Device</th> <...
2c5960631c49f7414f61b6d4dcd305b07da05769
https://github.com/librenms/librenms
include.cdn.php
php
<?php //always make sure we have a scriptNest variable (can be used to change default path for non-pathed modules if(!isset($scriptNest)) { $scriptNest = ''; } ?> <script> if (typeof console === "undefined") { console = {}; if(typeof console.log === "undefined") { console.log = functio...
<?php //always make sure we have a scriptNest variable (can be used to change default path for non-pathed modules if(!isset($scriptNest)) { $scriptNest = ''; } ?> <script> if (typeof console === "undefined") { console = {}; if(typeof console.log === "undefined") { console.log = functio...
4acad1e3d2c34c017473ceea442fb3e3e078b2bd
https://github.com/andrewsauder/as
proxy.php
php
<?php require_once '../../videos/configuration.php'; session_write_close(); try { $global['mysqli']->close(); } catch (Exception $exc) { //echo $exc->getTraceAsString(); } /* * this file is to handle HTTP URLs into HTTPS */ if (!filter_var($_GET['livelink'], FILTER_VALIDATE_URL) && preg_match("/^http.*/i",...
<?php require_once '../../videos/configuration.php'; session_write_close(); try { $global['mysqli']->close(); } catch (Exception $exc) { //echo $exc->getTraceAsString(); } /* * this file is to handle HTTP URLs into HTTPS */ if (!filter_var($_GET['livelink'], FILTER_VALIDATE_URL) || !preg_match("/^http.*/i"...
218c98cbd4a4a2c15745852bcd0f29faf101bd8c
https://github.com/wwbn/avideo
index.php
php
<?php /** * The main admin backend index file. * * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * @package phpMyFAQ * @author Thorsten Rinne <thorsten@phpmyf...
<?php /** * The main admin backend index file. * * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * @package phpMyFAQ * @author Thorsten Rinne <thorsten@phpmyf...
1d73af34bf42764f9f9491c7ba5e9495d70e3ca5
https://github.com/thorsten/phpmyfaq
constants.js
javascript
var pythonMirror = process.env.npm_config_python_mirror || process.env.PYTHON_MIRROR || 'https://www.python.org/ftp/python/' var buildTools = { installerName: 'BuildTools_Full.exe', installerUrl: 'http://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe', log...
var pythonMirror = process.env.npm_config_python_mirror || process.env.PYTHON_MIRROR || 'https://www.python.org/ftp/python/' var buildTools = { installerName: 'BuildTools_Full.exe', installerUrl: 'https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe', lo...
9835d33e68f2cb5e4d148e954bb3ed0221d98e90
https://github.com/felixrieseberg/windows-build-tools
index.php
php
<!DOCTYPE html> <html itemscope itemtype="http://schema.org/Webpage"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="description" content="Search Anime by ScreenShot. Search over 500 million images to lookup what anime, which episode, which moment the screenshot is taken fro...
<!DOCTYPE html> <html itemscope itemtype="http://schema.org/Webpage"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="description" content="Search Anime by ScreenShot. Search over 500 million images to lookup what anime, which episode, which moment the screenshot is taken fro...
c334dd8499a681587dd4199e90b0aa0eba814c1d
https://github.com/soruly/whatanime.ga
base.py
python
""" Django settings for nsupdate project Note: do not directly use these settings, rather use "dev" or "prod". """ # Note: django internally first loads its own defaults and then loads the # project's settings on top of that. Due to this, no import * is required here. import os # To make this work, put a unique, lo...
""" Django settings for nsupdate project Note: do not directly use these settings, rather use "dev" or "prod". """ # Note: django internally first loads its own defaults and then loads the # project's settings on top of that. Due to this, no import * is required here. import os # To make this work, put a unique, lo...
60a3fe559c453bc36b0ec3e5dd39c1303640a59a
https://github.com/nsupdate-info/nsupdate.info
index.php
php
<?php session_start(); define('NO_AUTH_REQUIRED',true); $TAB = 'RESET PASSWORD'; if (isset($_SESSION['user'])) { header("Location: /list/user"); } // Main include include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); if ((!empty($_POST['user'])) && (empty($_POST['code']))) { $v_user = escapeshellarg($_POST['us...
<?php session_start(); define('NO_AUTH_REQUIRED',true); $TAB = 'RESET PASSWORD'; if (isset($_SESSION['user'])) { header("Location: /list/user"); } // Main include include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); if ((!empty($_POST['user'])) && (empty($_POST['code']))) { $v_user = escapeshellarg($_POST['us...
5f68c1b634abec2d5a4f83156bfd223d3a792f77
https://github.com/serghey-rodin/vesta
formats.js
javascript
exports['date-time'] = /^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\d{2}:\d{2}:\d{2}(\.\d+)?([zZ]|[+-]\d{2}:\d{2})$/ exports['date'] = /^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/ exports['time'] = /^\d{2}:\d{2}:\d{2}$/ exports['email'] = /^\S+@\S+$/ exports['ip-address'] = exports['ipv4'] = /^(?:(?:25[0-5]|2[0-4][0-9]|...
exports['date-time'] = /^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\d{2}:\d{2}:\d{2}(\.\d+)?([zZ]|[+-]\d{2}:\d{2})$/ exports['date'] = /^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/ exports['time'] = /^\d{2}:\d{2}:\d{2}$/ exports['email'] = /^\S+@\S+$/ exports['ip-address'] = exports['ipv4'] = /^(?:(?:25[0-5]|2[0-4][0-9]|...
eca4beb21e61877d76fdf6bea771f72f39544d9b
https://github.com/mafintosh/is-my-json-valid
search_opensearch.php
php
<script language="PHP"> require "search_functions.php"; $mode = array_key_exists('v', $_GET)?$_GET['v']:""; $query = array_key_exists('query', $_GET)?$_GET['query']:""; $query_results = run_query($query); switch ($mode) { case "opensearch.xml": opensearch_description(); break; case "json": opensearch...
<script language="PHP"> require "search_functions.php"; $mode = array_key_exists('v', $_GET)?$_GET['v']:""; $query = array_key_exists('query', $_GET)?$_GET['query']:""; $query = preg_replace("/[^a-zA-Z0-9\-\_\.\x80-\xFF]/i", " ", $query ); $query_results = run_query($query); switch ($mode) { case "opensearch.xml":...
1cc1adad2de03a0f013881b8960daf89aa155081
https://github.com/doxygen/doxygen
stats.php
php
<?php require_once '../inc/config.inc.php'; $title = "Statistiques de recherche"; $description = "Mapicoin, statistiques de recherche - Découvrez les recherches effectuées sur Mapicoin !"; $searches = stats_get_searches(); ?> <!DOCTYPE html> <html lang="fr"> <head> <title><?= $titl...
<?php require_once '../inc/config.inc.php'; $title = "Statistiques de recherche"; $description = "Mapicoin, statistiques de recherche - Découvrez les recherches effectuées sur Mapicoin !"; $searches = stats_get_searches(); ?> <!DOCTYPE html> <html lang="fr"> <head> <title><?= $titl...
67e87f0f0c1ac238fcd050f4c3db298229bc9679
https://github.com/ydalb/mapicoin
admin.rb
ruby
require 'sinatra' require 'zip' config_options = JSON.parse(File.read('./config.json')) # set the report_assessment_types for <1.2 versions of Serpico unless config_options['report_assessment_types'] config_options['report_assessment_types'] = ['Network Internal', 'External', 'Web application', 'Physical', 'Social ...
require 'sinatra' require 'zip' config_options = JSON.parse(File.read('./config.json')) # set the report_assessment_types for <1.2 versions of Serpico unless config_options['report_assessment_types'] config_options['report_assessment_types'] = ['Network Internal', 'External', 'Web application', 'Physical', 'Social ...
0b8600414976a5ad733604c7b1428071baf239c2
https://github.com/serpicoproject/serpico
order_filtering.blade.php
php
<script> function orderRedirection(val) { alert(val); } $(document).ready(function () { }); </script> <form method="get" class="js-form-order-filtering"> <div class="manage-toobar d-flex justify-content-between align-items-center"> <div id="cartsnav"> <a href="{{ro...
<script> function orderRedirection(val) { alert(val); } $(document).ready(function () { }); </script> <form method="get" class="js-form-order-filtering"> <div class="manage-toobar d-flex justify-content-between align-items-center"> <div id="cartsnav"> <a href="{{ro...
724e2d186a33c0c27273107dc4f160a09384877f
https://github.com/microweber/microweber
filesave.php
php
<?php if(!empty($_POST['data'])){ $fname = $_POST['file']; //check if file name ends with .json if(substr($fname, -1, 5) != '.json') { echo '<script>alert("ERROR: Incorrect file type submitted")</script>'; return; } $data = $_POST['data']; $file = fopen($fname, "w"); fwrite($file, $data); fclose($file); ...
<?php if(!empty($_POST['data'])){ $fname = $_POST['file']; //check if file name ends with .json if(substr($fname, -5) != '.json') { echo '<script>alert("ERROR: Incorrect file type submitted")</script>'; return; } $data = $_POST['data']; $file = fopen($fname, "w"); fwrite($file, $data); fclose($file); } ?...
445325c7cf1148a8cd38af3a90789c6cbf6c5112
https://github.com/erohtar/dasherr
ipv4.inc.php
php
<div class="panel panel-default panel-condensed"> <div class="panel-heading"> <strong>IPv4 Addresses</strong> </div> <table id="ipv4-search" class="table table-hover table-condensed table-striped"> <thead> <tr> <th data-column-id="hostname" data-order="asc">Device...
<div class="panel panel-default panel-condensed"> <div class="panel-heading"> <strong>IPv4 Addresses</strong> </div> <table id="ipv4-search" class="table table-hover table-condensed table-striped"> <thead> <tr> <th data-column-id="hostname" data-order="asc">Device...
e4c46a45364cb944b94abf9b83f0558b2c4c2fb7
https://github.com/librenms/librenms
fm_api.php
php
<?php // Init //error_reporting(NULL); include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); include($_SERVER['DOCUMENT_ROOT']."/file_manager/fm_core.php"); // todo: set in session? if (empty($panel)) { $command = VESTA_CMD."v-list-user '".$user."' 'json'"; exec ($command, $output, $return_var); if ( $re...
<?php // Init //error_reporting(NULL); header('Content-Type: application/json'); include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); include($_SERVER['DOCUMENT_ROOT']."/file_manager/fm_core.php"); // todo: set in session? if (empty($panel)) { $command = VESTA_CMD."v-list-user '".$user."' 'json'"; exec ($com...
c28c5d29a3c61bc8110c11349e3f2309cd537cfa
https://github.com/serghey-rodin/vesta
01article.php
php
<?PHP /* 01-Artikelsystem V3 - Copyright 2006-2015 by Michael Lorer - 01-Scripts.de Lizenz: Creative-Commons: Namensnennung-Keine kommerzielle Nutzung-Weitergabe unter gleichen Bedingungen 3.0 Deutschland Weitere Lizenzinformationen unter: http://www.01-scripts.de/lizenz.php Modul: 01article Dateiinfo: Fronte...
<?PHP /* 01-Artikelsystem V3 - Copyright 2006-2015 by Michael Lorer - 01-Scripts.de Lizenz: Creative-Commons: Namensnennung-Keine kommerzielle Nutzung-Weitergabe unter gleichen Bedingungen 3.0 Deutschland Weitere Lizenzinformationen unter: http://www.01-scripts.de/lizenz.php Modul: 01article Dateiinfo: Fronte...
ae849b347a58c2cb1be38d04bbe56fc883d5d84a
https://github.com/01-scripts/01-artikelsystem
editor.php
php
<?php include "lib/headers.php"; include "lib/settings.php"; $t = $text['editor']; ?> <!DOCTYPE html> <html style="margin: 0" onmousedown="parent.ICEcoder.mouseDown = true; parent.ICEcoder.resetAutoLogoutTimer()" onmouseup="parent.ICEcoder.mouseDown = false; parent.ICEcoder.mouseDownInCM = false; parent.ICEcoder.reset...
<?php include "lib/headers.php"; include "lib/settings.php"; $t = $text['editor']; ?> <!DOCTYPE html> <html style="margin: 0" onmousedown="parent.ICEcoder.mouseDown = true; parent.ICEcoder.resetAutoLogoutTimer()" onmouseup="parent.ICEcoder.mouseDown = false; parent.ICEcoder.mouseDownInCM = false; parent.ICEcoder.reset...
51cf24b2a39138e6a7b5739ef59eb38cd7c39763
https://github.com/icecoder/icecoder
language_import.php
php
<script> mw.require("files.js"); </script> <script> var uploader = mw.files.uploader({ filetypes: ".xlsx, .xls", multiple: false, element: mw.$("#mw_uploader") }); _mw_log_reload_int = false; $(document).ready(function () { $(uploader).on("FileUploaded", function (obj, data) { $('#mw_upload...
<script> mw.require("files.js"); </script> <script> var uploader = mw.files.uploader({ filetypes: ".xlsx, .xls", multiple: false, element: mw.$("#mw_uploader") }); _mw_log_reload_int = false; $(document).ready(function () { $(uploader).on("FileUploaded", function (obj, data) { $('#mw_upload...
df8add930ecfa7f5b18c67c3f748c137fe890906
https://github.com/microweber/microweber
init_task.h
objective-c
#ifndef _LINUX__INIT_TASK_H #define _LINUX__INIT_TASK_H #include <linux/rcupdate.h> #include <linux/irqflags.h> #include <linux/utsname.h> #include <linux/lockdep.h> #include <linux/ftrace.h> #include <linux/ipc.h> #include <linux/pid_namespace.h> #include <linux/user_namespace.h> #include <linux/securebits.h> #includ...
#ifndef _LINUX__INIT_TASK_H #define _LINUX__INIT_TASK_H #include <linux/rcupdate.h> #include <linux/irqflags.h> #include <linux/utsname.h> #include <linux/lockdep.h> #include <linux/ftrace.h> #include <linux/ipc.h> #include <linux/pid_namespace.h> #include <linux/user_namespace.h> #include <linux/securebits.h> #includ...
fa2755e20ab0c7215d99c2dc7c262e98a09b01df
https://github.com/torvalds/linux
faq.php
php
<?php include_once('./_common.php'); //dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크 if( !isset($g5['faq_table']) || !isset($g5['faq_master_table']) ){ die('<meta charset="utf-8">관리자 모드에서 게시판관리->FAQ관리를 먼저 확인해 주세요.'); } // FAQ MASTER $faq_master_list = array(); $sql = " select * fro...
<?php include_once('./_common.php'); //dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크 if( !isset($g5['faq_table']) || !isset($g5['faq_master_table']) ){ die('<meta charset="utf-8">관리자 모드에서 게시판관리->FAQ관리를 먼저 확인해 주세요.'); } // FAQ MASTER $faq_master_list = array(); $sql = " select * fro...
ba062ca5b62809106d5a2f7df942ffcb44ecb5a9
https://github.com/gnuboard/gnuboard5
conf.py
python
# -*- coding: utf-8 -*- # # fastecdsa documentation build configuration file, created by # sphinx-quickstart on Thu Dec 15 20:02:52 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # #...
# -*- coding: utf-8 -*- # # fastecdsa documentation build configuration file, created by # sphinx-quickstart on Thu Dec 15 20:02:52 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # #...
7b64e3efaa806b4daaf73bb5172af3581812f8de
https://github.com/antonkueltz/fastecdsa
bug_change_status_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
a2d90ecabf3bcf3aa22ed9dbbecfd3d37902956f
https://github.com/mantisbt/mantisbt
UploadFileCheck.php
php
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
b1b3fd61c7697ad2073cd253d31c9462929e7bb5
https://github.com/salesagility/suitecrm
template.php
php
<?php defined('SYSPATH') OR die('No direct access allowed.'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />...
<?php defined('SYSPATH') OR die('No direct access allowed.'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />...
cb925073edeeb97eb4ce61a86cdafccc9b87f9bb
https://github.com/lingej/pnp4nagios
send.php
php
<?php /* ------------------------------------------------------------------------ Barcode Copyright (C) 2009-2016 by the Barcode plugin Development Team. https://forge.indepnet.net/projects/barscode ------------------------------------------------------------------------ LICENSE This file is pa...
<?php /* ------------------------------------------------------------------------ Barcode Copyright (C) 2009-2016 by the Barcode plugin Development Team. https://forge.indepnet.net/projects/barscode ------------------------------------------------------------------------ LICENSE This file is pa...
428c3d9adfb446e8492b1c2b7affb3d34072ff46
https://github.com/pluginsglpi/barcode
plugin.php
php
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
7df3830c81716b959a2d0d3a0d8216b860ae0dc7
https://github.com/piwigo/piwigo
odm-init.php
php
<?php /* init.php - bootloader to initialize variables * If the config.php file is not found then an error * will be displayed asking the visitor to set up the * config.php file. * * Will also search for config.php in the OpenDocMan parent * directory to allow the OpendocMan directory to remain * untouched. Cop...
<?php /* init.php - bootloader to initialize variables * If the config.php file is not found then an error * will be displayed asking the visitor to set up the * config.php file. * * Will also search for config.php in the OpenDocMan parent * directory to allow the OpendocMan directory to remain * untouched. Cop...
d202ef3def8674be61a3e4ccbe28beba4953b7ce
https://github.com/opendocman/opendocman
index.php
php
<?php session_start(); define('NO_AUTH_REQUIRED',true); $TAB = 'RESET PASSWORD'; if (isset($_SESSION['user'])) { header("Location: /list/user"); } // Main include include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); if ((!empty($_POST['user'])) && (empty($_POST['code']))) { $v_user = escapeshellarg($_POST['us...
<?php session_start(); define('NO_AUTH_REQUIRED',true); $TAB = 'RESET PASSWORD'; if (isset($_SESSION['user'])) { header("Location: /list/user"); } // Main include include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); if ((!empty($_POST['user'])) && (empty($_POST['code']))) { $v_user = escapeshellarg($_POST['us...
c3c4de43d6701560f604ca7996f717b08e3d7d1d
https://github.com/serghey-rodin/vesta
ssl.h
objective-c
/* ssl/ssl.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial ...
/* ssl/ssl.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial ...
898fb884b706aaeb283de4812340bb0bde8476dc
https://github.com/openssl/openssl
settings.php
php
<?php $tmpl = new OCP\Template( 'user_openid', 'settings'); $identity=OCP\Config::getUserValue(OCP\USER::getUser(),'user_openid','identity',''); $tmpl->assign('identity',$identity); OCP\Util::addscript('user_openid','settings'); return $tmpl->fetchPage(); ?>
<?php $tmpl = new OCP\Template( 'user_openid', 'settings'); $identity=OCP\Config::getUserValue(OCP\USER::getUser(),'user_openid','identity',''); $tmpl->assign('identity',htmlentities($identity)); OCP\Util::addscript('user_openid','settings'); return $tmpl->fetchPage(); ?>
cc653a8a408adfb4d0cd532145668aacd85ad96c
https://github.com/owncloud/core
settings.tpl.php
php
<h1 class="attr-header">Mobile Options</h1> <form action="" method="post" ng-non-bindable> <?php include(erLhcoreClassDesign::designtpl('lhkernel/csfr_token.tpl.php'));?> <?php if (isset($updated) && $updated == 'done') : $msg = erTranslationClassLhTranslation::getInstance()->getTranslation('chat/onlineusers...
<h1 class="attr-header">Mobile Options</h1> <form action="" method="post" ng-non-bindable> <?php include(erLhcoreClassDesign::designtpl('lhkernel/csfr_token.tpl.php'));?> <?php if (isset($updated) && $updated == 'done') : $msg = erTranslationClassLhTranslation::getInstance()->getTranslation('chat/onlineusers...
162892013eb07b21461ceffe6702140acc0fef57
https://github.com/livehelperchat/livehelperchat
filebrowser.php
php
<?php /** * Basic File Browser for CKEditor * * Displays and selects file link to insert into CKEditor * * @package GetSimple * @subpackage Files * * Version: 1.1 (2011-03-12) */ // Setup inclusions include('inc/common.php'); login_cookie_check(); $filesSorted=null;$dirsSorted=null; $path = (isset($_GET['p...
<?php /** * Basic File Browser for CKEditor * * Displays and selects file link to insert into CKEditor * * @package GetSimple * @subpackage Files * * Version: 1.1 (2011-03-12) */ // Setup inclusions include('inc/common.php'); login_cookie_check(); $filesSorted=null;$dirsSorted=null; $path = (isset($_GET['p...
cb1845743bd11ba74a49b6b522c080df86a17d51
https://github.com/getsimplecms/getsimplecms
new_framework_defaults_7_0.rb
ruby
# Be sure to restart your server when you modify this file. # # This file eases your Rails 7.0 framework defaults upgrade. # # Uncomment each configuration one by one to switch to the new default. # Once your application is ready to run with all new defaults, you can remove # this file and set the `config.load_defaults...
# Be sure to restart your server when you modify this file. # # This file eases your Rails 7.0 framework defaults upgrade. # # Uncomment each configuration one by one to switch to the new default. # Once your application is ready to run with all new defaults, you can remove # this file and set the `config.load_defaults...
b067372f3ee26fe1b657121f0f41883ff4461a06
https://github.com/abhilash1985/predictapp
view_filters_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
1677251434b6e8b2be8f1d4376a3e78f7be14d95
https://github.com/mantisbt/mantisbt
class_parser.php
php
<?php /** * MyBB 1.6 * Copyright 2010 MyBB Group, All Rights Reserved * * Website: http://mybb.com * License: http://mybb.com/about/license * * $Id$ */ /* options = array( allow_html allow_smilies allow_mycode nl2br filter_badwords me_username shorten_urls highlight ) */ class postParser { /** * In...
<?php /** * MyBB 1.6 * Copyright 2010 MyBB Group, All Rights Reserved * * Website: http://mybb.com * License: http://mybb.com/about/license * * $Id$ */ /* options = array( allow_html allow_smilies allow_mycode nl2br filter_badwords me_username shorten_urls highlight ) */ class postParser { /** * In...
238696e37d6a22b89e6bba11e4de3e6620cb5547
https://github.com/mybb/mybb
bug_change_status_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
c272c3f65da9677e505ff692b1f1e476b3afa56e
https://github.com/mantisbt/mantisbt
timeline_inc.php
php
<?php # MantisBT - a php based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - a php based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
a1c719313d61b07bbe8700005807b8195fdc32f1
https://github.com/mantisbt/mantisbt
template.php
php
<?php must_have_access(); ?> <script type="text/javascript"> mw.require('options.js'); mw.require('forms.js'); </script> <script type="text/javascript"> $(document).ready(function () { mw.options.form('.<?php print $config['module_class'] ?>', function () { mw.notification.success("<?p...
<?php must_have_access(); ?> <script type="text/javascript"> mw.require('options.js'); mw.require('forms.js'); </script> <script type="text/javascript"> $(document).ready(function () { mw.options.form('.<?php print $config['module_class'] ?>', function () { mw.notification.success("<?p...
1a9b904722b35b00653c6ae72dca2969149159b3
https://github.com/microweber/microweber
manage_filter_edit_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
8b5fa243dbf04344a55fe880135ec149fc1f439f
https://github.com/mantisbt/mantisbt
backend_header.php
php
<?php /** * Local variables. * * @var string $active_menu * @var string $company_logo */ ?> <nav id="header" class="navbar navbar-expand-md navbar-dark"> <div id="header-logo" class="navbar-brand"> <img src="<?= base_url('assets/img/logo.png') ?>" alt="logo"> <h6>EASY!APPOINTMENTS</h6> ...
<?php /** * Local variables. * * @var string $active_menu * @var string $company_logo */ ?> <nav id="header" class="navbar navbar-expand-md navbar-dark"> <div id="header-logo" class="navbar-brand"> <img src="<?= base_url('assets/img/logo.png') ?>" alt="logo"> <h6>EASY!APPOINTMENTS</h6> ...
bddc5cbeb7ff237a72943b304dcb01c653781767
https://github.com/alextselegidis/easyappointments
db_central_columns.php
php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Central Columns view/edit * * @package PhpMyAdmin */ /** * Gets some core libraries */ require_once 'libraries/common.inc.php'; require_once 'libraries/central_columns.lib.php'; if (isset($_POST['edit_save']) || isset($_POST['add_new_column'])) { $col_na...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Central Columns view/edit * * @package PhpMyAdmin */ /** * Gets some core libraries */ require_once 'libraries/common.inc.php'; require_once 'libraries/central_columns.lib.php'; if (isset($_POST['edit_save']) || isset($_POST['add_new_column'])) { $col_na...
cc55f44a4a90147a007dee1aefa1cb529e23798b
https://github.com/phpmyadmin/phpmyadmin
common.inc.php
php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Loads libraries/common.inc.php and preforms some additional actions * * @package PhpMyAdmin-Setup */ /** * Do not include full common. * @ignore */ define('PMA_MINIMUM_COMMON', true); define('PMA_SETUP', true); chdir('..'); if (!file_exists('./libraries/com...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Loads libraries/common.inc.php and preforms some additional actions * * @package PhpMyAdmin-Setup */ /** * Do not include full common. * @ignore */ define('PMA_MINIMUM_COMMON', true); define('PMA_SETUP', true); chdir('..'); if (!file_exists('./libraries/com...
447c88f4884fe30a25d38c331c31d820a19f8c93
https://github.com/phpmyadmin/phpmyadmin
proj_doc_edit_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
bd094dede74ff6e313e286e949e2387233a96eea
https://github.com/mantisbt/mantisbt
index.php
php
<?php $DEFAULT_REDIRECT = "https://someothersite.org"; $mysqli = new mysqli("127.0.0.1", "db_username", "db_password", "db_name"); if ($mysqli->connect_errno) { printf("Connect failed: %s\n", $mysqli->connect_error); exit(); } if (isset($_SERVER["QUERY_STRING"]) && ($_SERVER["QUERY_STRING"] != '')) { $query = ...
<?php $DEFAULT_REDIRECT = "https://someothersite.org"; $mysqli = new mysqli("127.0.0.1", "db_username", "db_password", "db_name"); if ($mysqli->connect_errno) { printf("Connect failed: %s\n", $mysqli->connect_error); exit(); } if (isset($_SERVER["QUERY_STRING"]) && ($_SERVER["QUERY_STRING"] != '')) { $query = ...
b26ac6480761635ed94ccb0222ba6b732de6e53f
https://github.com/mikebharris/simple_php_link_shortener
edit_feed.php
php
<?php /************************************************************************/ /* ATutor */ /************************************************************************/ /* Copyright (c) 2002-2010 */ /* Inclusive Design Institute ...
<?php /************************************************************************/ /* ATutor */ /************************************************************************/ /* Copyright (c) 2002-2010 */ /* Inclusive Design Institute ...
9292360c8b3898d0990983269f110cef21729090
https://github.com/atutor/atutor
login.php
php
<?php define('LOGIN_PAGE', true); require_once 'includes/common.inc.php'; $page['css'][] = 'login'; require 'includes/header.inc.php'; // Layout borrowed from http://getbootstrap.com/examples/signin/ ?> <h1 class="logo">phpRedisAdmin</h1> <form class="form-signin" method="post" action="login.php"> <h2 class="...
<?php define('LOGIN_PAGE', true); require_once 'includes/common.inc.php'; $page['css'][] = 'login'; require 'includes/header.inc.php'; // Layout borrowed from http://getbootstrap.com/examples/signin/ ?> <h1 class="logo">phpRedisAdmin</h1> <form class="form-signin" method="post" action="login.php"> <h2 class="...
eddaa674536d2e76e6d0b4efeb00604e992eab8f
https://github.com/erikdubbelboer/phpredisadmin
cloneClient.json.php
php
<?php $time_start = microtime(true); $config = '../../videos/configuration.php'; session_write_close(); if (!file_exists($config)) { [$scriptPath] = get_included_files(); $path = pathinfo($scriptPath); $config = $path['dirname'] . "/" . $config; } header('Content-Type: application/json'); require_once $con...
<?php $time_start = microtime(true); $config = '../../videos/configuration.php'; session_write_close(); if (!file_exists($config)) { [$scriptPath] = get_included_files(); $path = pathinfo($scriptPath); $config = $path['dirname'] . "/" . $config; } header('Content-Type: application/json'); require_once $con...
1df4af01f80d56ff2c4c43b89d0bac151e7fb6e3
https://github.com/wwbn/avideo
link_manager.php
php
<?php if ($_SERVER["PHP_SELF"] == "/admin/index.php") { include_once $_SERVER['DOCUMENT_ROOT'].'/config/language.php'; // Translation Code if (!empty($_POST) && isset($_POST["dstrMgrSubmit"])): //if (!empty($_POST)): if (preg_match('/[^A-Z]/',$_POST["Link"])) { unset ($_POST["Link"]);} if ($_POST["Link"] == "LIN...
<?php if ($_SERVER["PHP_SELF"] == "/admin/index.php") { include_once $_SERVER['DOCUMENT_ROOT'].'/config/language.php'; // Translation Code if (!empty($_POST) && isset($_POST["dstrMgrSubmit"])): //if (!empty($_POST)): if (preg_match('/[^A-Z]/',$_POST["Link"])) { unset ($_POST["Link"]);} if ($_POST["Link"] == "LIN...
1e46533f4051648bc40478d99201f19241bbaa41
https://github.com/andytaylortweet/pi-star_dv_dash
client.inc.php
php
<?php /********************************************************************* client.inc.php File included on every client page Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. Se...
<?php /********************************************************************* client.inc.php File included on every client page Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. Se...
b38b3ca7235002137cc9ff74b3c24a4a78c9c2d1
https://github.com/osticket/osticket-1.8
repo_delete.php
php
<?php # Copyright (c) 2012 John Reese # Licensed under the MIT license form_security_validate( 'plugin_Source_repo_delete' ); access_ensure_global_level( plugin_config_get( 'manage_threshold' ) ); $f_repo_id = gpc_get_string( 'id' ); $t_repo = SourceRepo::load( $f_repo_id ); helper_ensure_confirmed( sprintf( plugi...
<?php # Copyright (c) 2012 John Reese # Licensed under the MIT license form_security_validate( 'plugin_Source_repo_delete' ); access_ensure_global_level( plugin_config_get( 'manage_threshold' ) ); $f_repo_id = gpc_get_string( 'id' ); $t_repo = SourceRepo::load( $f_repo_id ); $t_message = sprintf( plugin_lang_get( ...
270675c964c675829fe010f9f0830521dc0835f0
https://github.com/mantisbt-plugins/source-integration
cfg80211.c
c
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. * All rights reserved. */ #include "cfg80211.h" #define GO_NEG_REQ 0x00 #define GO_NEG_RSP 0x01 #define GO_NEG_CONF 0x02 #define P2P_INV_REQ 0x03 #define P2P_INV_RSP 0x04 #define WILC_INVA...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. * All rights reserved. */ #include "cfg80211.h" #define GO_NEG_REQ 0x00 #define GO_NEG_RSP 0x01 #define GO_NEG_CONF 0x02 #define P2P_INV_REQ 0x03 #define P2P_INV_RSP 0x04 #define WILC_INVA...
f9b62f9843c7b0afdaecabbcebf1dbba18599408
https://github.com/torvalds/linux
memo.php
php
<?php include_once('./_common.php'); if ($is_guest) alert_close('회원만 이용하실 수 있습니다.'); set_session('ss_memo_delete_token', $token = uniqid(time())); $g5['title'] = '내 쪽지함'; include_once(G5_PATH.'/head.sub.php'); $kind = isset($_GET['kind']) ? clean_xss_tags($_GET['kind'], 0, 1) : 'recv'; if ($kind == 'recv') ...
<?php include_once('./_common.php'); if ($is_guest) alert_close('회원만 이용하실 수 있습니다.'); set_session('ss_memo_delete_token', $token = uniqid(time())); $g5['title'] = '내 쪽지함'; include_once(G5_PATH.'/head.sub.php'); $kind = isset($_GET['kind']) ? clean_xss_tags($_GET['kind'], 0, 1) : 'recv'; if ($kind == 'recv') ...
2e81619ea87bc9c0b4a073d8df3c7693a6fdbf0d
https://github.com/gnuboard/gnuboard5
admin.php
php
<b>Service Status</b> <table> <tr> <th><a class=tooltip href="#">DStarRepeater<span><b>DStarRepeater</b></span></th> <th><a class=tooltip href="#">MMDVMHost<span><b>DStarRepeater</b></span></th> <th><a class=tooltip href="#">ircDDBgateway<span><b>ircDDBgateway</b></span></th> <th><a class=tooltip href...
<b>Service Status</b> <table> <tr> <th><a class=tooltip href="#">DStarRepeater<span><b>DStarRepeater</b></span></th> <th><a class=tooltip href="#">MMDVMHost<span><b>DStarRepeater</b></span></th> <th><a class=tooltip href="#">ircDDBgateway<span><b>ircDDBgateway</b></span></th> <th><a class=tooltip href...
5aa194df3dfc92cc21f6604bbda32268f4a624ce
https://github.com/andytaylortweet/pi-star_dv_dash
bug_actiongroup_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
8c6f4d8859785b67fb80ac65100ac5259ed9237d
https://github.com/mantisbt/mantisbt
LiveDataMacroComponentList.java
java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
23d5ea9b23e84b5f3d1f1b2d5673fe8c774d0d79
https://github.com/xwiki/xwiki-platform
error.php
php
<?php /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */ try { require_once("Services/Init/classes/class.ilInitialisation.php"); ilInitialisation::initILIAS(); $tpl->addBlockFile("CONTENT", "content", "tpl.error.html"); $lng->loadLanguageModule("error"); // #13515 - link back to "syst...
<?php /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */ try { require_once("Services/Init/classes/class.ilInitialisation.php"); ilInitialisation::initILIAS(); $tpl->addBlockFile("CONTENT", "content", "tpl.error.html"); $lng->loadLanguageModule("error"); // #13515 - link back to "syst...
ca982e59d0b76c0374c9a7fd1acf2685ca57cf41
https://github.com/ilias-elearning/ilias
recover.php
php
<?php include_once('internal/Smarty.class.php'); $main_smarty = new Smarty; include('config.php'); include(mnminclude.'html1.php'); include(mnminclude.'link.php'); include(mnminclude.'smartyvariables.php'); // breadcrumbs and page title $navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Brea...
<?php include_once('internal/Smarty.class.php'); $main_smarty = new Smarty; include('config.php'); include(mnminclude.'html1.php'); include(mnminclude.'link.php'); include(mnminclude.'smartyvariables.php'); // breadcrumbs and page title $navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Brea...
4891c4d8742b9dabd67e7250840e3434865aebed
https://github.com/pligg/pligg-cms
example-form.php
php
<?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="Author" content="Jos...
<?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="Author" content="Jos...
c84fb6b153bebaf228feee0cbf50728d27ae3f80
https://github.com/jianlinwei/cool-php-captcha
validate.php
php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Validation callback. * * @package PhpMyAdmin-Setup */ /** * Core libraries. */ require './lib/common.inc.php'; $validators = array(); require './libraries/config/Validator.php'; PMA_headerJSON(); $ids = PMA_isValid($_POST['id'], 'scalar') ? $_POST['id'] : ...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Validation callback. * * @package PhpMyAdmin-Setup */ /** * Core libraries. */ require './lib/common.inc.php'; $validators = array(); require './libraries/config/Validator.php'; PMA_headerJSON(); $ids = PMA_isValid($_POST['id'], 'scalar') ? $_POST['id'] : ...
96e0aa35653ec0c66084a7e9343465e16c1f769b
https://github.com/phpmyadmin/phpmyadmin
attachment.php
php
<?php /** * Select an attachment and save it. * * PHP Version 5.5 * * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * @category phpMyFAQ * @author Thorst...
<?php /** * Select an attachment and save it. * * PHP Version 5.5 * * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * @category phpMyFAQ * @author Thorst...
5c3e4f96ff0ef6b91a3f0aa64eb28197c5cf5435
https://github.com/thorsten/phpmyfaq
images.php
php
<?php /* * This file is part of pluck, the easy content management system * Copyright (c) pluck team * http://www.pluck-cms.org * Pluck is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 o...
<?php /* * This file is part of pluck, the easy content management system * Copyright (c) pluck team * http://www.pluck-cms.org * Pluck is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 o...
09f0ab871bf633973cfd9fc4fe59d4a912397cf8
https://github.com/pluck-cms/pluck
menu_list_update.php
php
<?php $sub_menu = "100290"; include_once('./_common.php'); check_demo(); if ($is_admin != 'super') alert('최고관리자만 접근 가능합니다.'); check_admin_token(); // 이전 메뉴정보 삭제 $sql = " delete from {$g5['menu_table']} "; sql_query($sql); $group_code = null; $primary_code = null; $count = count($_POST['code']); for ($i=0; $i<...
<?php $sub_menu = "100290"; include_once('./_common.php'); check_demo(); if ($is_admin != 'super') alert('최고관리자만 접근 가능합니다.'); check_admin_token(); // 이전 메뉴정보 삭제 $sql = " delete from {$g5['menu_table']} "; sql_query($sql); $group_code = null; $primary_code = null; $count = count($_POST['code']); for ($i=0; $i<...
70daa537adfa47b87af12d85f1e698fff01785ff
https://github.com/gnuboard/youngcart5
plugin.php
php
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
8796e43aa344681d92a92e1f9b985409d4f36e31
https://github.com/piwigo/piwigo
plugin.php
php
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | // | C...
9004fdfc0b4a11cb32e9e15a5f67e4ec827e82dc
https://github.com/piwigo/piwigo
save_taxes.php
php
<?php /* This file is part of Webfinance. Webfinance is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Webfinance is d...
<?php /* This file is part of Webfinance. Webfinance is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Webfinance is d...
306f170ca2a8203ae3d8f51fb219ba9e05b945e1
https://github.com/fanzila/webfinance
inventory.php
php
<?php /** * --------------------------------------------------------------------- * * GLPI - Gestionnaire Libre de Parc Informatique * * http://glpi-project.org * * @copyright 2015-2022 Teclib' and contributors. * @copyright 2003-2014 by the INDEPNET Development Team. * @licence https://www.gnu.org/licenses...
<?php /** * --------------------------------------------------------------------- * * GLPI - Gestionnaire Libre de Parc Informatique * * http://glpi-project.org * * @copyright 2015-2022 Teclib' and contributors. * @copyright 2003-2014 by the INDEPNET Development Team. * @licence https://www.gnu.org/licenses...
9953a644777e4167b06db9e14fc93b945a557be5
https://github.com/glpi-project/glpi
normalization.php
php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Normalization process (temporarily specific to 1NF) * * @package PhpMyAdmin */ /** * */ require_once 'libraries/common.inc.php'; require_once 'libraries/transformations.lib.php'; require_once 'libraries/normalization.lib.php'; require_once 'libraries/Index.cl...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Normalization process (temporarily specific to 1NF) * * @package PhpMyAdmin */ /** * */ require_once 'libraries/common.inc.php'; require_once 'libraries/transformations.lib.php'; require_once 'libraries/normalization.lib.php'; require_once 'libraries/Index.cl...
746240bd13b62b5956fc34389cfbdc09e1e67775
https://github.com/phpmyadmin/phpmyadmin
appconfig.php
php
<?php /** * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ require_once ("../../lib/base.php"); OC_Util::checkAdminUser(); $action=isset($_POST['action'])?$_POST['action']:$_GET['actio...
<?php /** * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ require_once ("../../lib/base.php"); OC_Util::checkAdminUser(); OCP\JSON::callCheck(); $action=isset($_POST['action'])?$_POST...
5192eecce239a0b7ade1e60a6cf03075e5cfc188
https://github.com/owncloud/core
ItemController.php
php
<?php /** * Copyright (C) 2015 Deciso B.V. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
<?php /** * Copyright (C) 2015 Deciso B.V. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
5edff49db1cd8b5078611e2f542d91c02af2b25c
https://github.com/opnsense/core
alert_rule_list.inc.php
php
<?php /** * alert_rule_list.inc.php * * LibreNMS alert_rule_list modal * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ...
<?php /** * alert_rule_list.inc.php * * LibreNMS alert_rule_list modal * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ...
703745d0ed3948623153117d761ce48514e2f281
https://github.com/librenms/librenms
user_box.tpl.php
php
<?php $currentUser = erLhcoreClassUser::instance(); if ($currentUser->isLogged()) : $UserData = $currentUser->getUserData(true); // Just logout if force to logout if ($UserData->force_logout == 1) { $UserData->force_logout = 0; $UserData->updateThis(['update' => ['force_logout']]); $currentUser->logout(); ...
<?php $currentUser = erLhcoreClassUser::instance(); if ($currentUser->isLogged()) : $UserData = $currentUser->getUserData(true); // Just logout if force to logout if ($UserData->force_logout == 1) { $UserData->force_logout = 0; $UserData->updateThis(['update' => ['force_logout']]); $currentUser->logout(); ...
8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb
https://github.com/livehelperchat/livehelperchat
index.php
php
<?php /** * ownCloud * * @author Frank Karlitschek * @copyright 2010 Frank Karlitschek karlitschek@kde.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * License as published by the Free Software Foundation; either * version 3 of...
<?php /** * ownCloud * * @author Frank Karlitschek * @copyright 2010 Frank Karlitschek karlitschek@kde.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * License as published by the Free Software Foundation; either * version 3 of...
0074062b5329c3d43679909fddce2d70608a4475
https://github.com/owncloud/core
add.php
php
<? $id = $_GET["module"]; $table = isset($_GET["table"]) ? $_GET["table"] : ""; $title = isset($_GET["title"]) ? htmlspecialchars($_GET["title"]) : ""; $module = $admin->getModule($id); $landing_exists = $admin->doesModuleLandingActionExist($id); if (isset($_SESSION["bigtree_admin"]["developer"]["saved_view"])...
<? $id = htmlspecialchars($_GET["module"]); $table = isset($_GET["table"]) ? $_GET["table"] : ""; $title = isset($_GET["title"]) ? htmlspecialchars($_GET["title"]) : ""; $module = $admin->getModule($id); $landing_exists = $admin->doesModuleLandingActionExist($id); if (isset($_SESSION["bigtree_admin"]["develope...
8a59c2e13f8e151b6a9e98f73e641e1ec8d928df
https://github.com/bigtreecms/bigtree-cms
manage_user_page.php
php
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
9b5b71dadbeeeec27efea59f562ac5bd6d2673b7
https://github.com/mantisbt/mantisbt
trust.tpl.php
php
<?php $this->includeAtTemplateBase('includes/header.php'); ?> <div class="form"> <?php $params = array( '%SITEURL%' => '<code>' . htmlspecialchars($this->data['trustRoot']) . '</code>', ); echo('<p>' . $this->t('{openidProvider:openidProvider:confirm_question}', $params) . '</p>'); ?> <form method="post" action="?">...
<?php $this->includeAtTemplateBase('includes/header.php'); ?> <div class="form"> <?php $params = array( '%SITEURL%' => '<code>' . htmlspecialchars($this->data['trustRoot']) . '</code>', ); echo('<p>' . $this->t('{openidProvider:openidProvider:confirm_question}', $params) . '</p>'); ?> <form method="post" action="?">...
8365d48c863cf06ccf1465cc0a161cefae29d69d
https://github.com/simplesamlphp/simplesamlphp-module-openidprovider
api.php
php
<?php #API IS DISABLED BY DEFAULT AS ITS STILL IN DEV. ENABLE AT YOUR OWN RISK. define("IN_WALLET", false); #TO ENABLE SET TO TRUE ################################################### include('common.php'); $con = mysqli_connect("$db_host","$db_user","$db_pass","$db_name"); $key = $_GET['key']; if (mysqli_connect_errno...
<?php #API IS DISABLED BY DEFAULT AS ITS STILL IN DEV. ENABLE AT YOUR OWN RISK. define("IN_WALLET", false); #TO ENABLE SET TO TRUE ################################################### include('common.php'); $con = mysqli_connect("$db_host","$db_user","$db_pass","$db_name"); $key = mysqli_real_escape_string($con, $_GET[...
b420f8c4cbe7f06a34d1b05e90ee5cdfe0aa83bb
https://github.com/jfm-so/piwallet
add.php
php
<?php /** * Elgg report action */ $title = get_input('title'); $description = get_input('description'); $address = get_input('address'); $access = ACCESS_PRIVATE; //this is private and only admins can see it $fail = function () use ($address) { return elgg_error_response(elgg_echo('reportedcontent:failed'), $addres...
<?php /** * Elgg report action */ $title = get_input('title'); $description = get_input('description'); $address = get_input('address'); $access = ACCESS_PRIVATE; //this is private and only admins can see it $fail = function () use ($address) { return elgg_error_response(elgg_echo('reportedcontent:failed'), $addres...
c30b17bf75256ed3fcc84e2083147cc3951423d0
https://github.com/elgg/elgg
appconfig.php
php
<?php /** * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ require_once ("../../lib/base.php"); OC_JSON::checkLoggedIn(); $action=isset($_POST['action'])?$_POST['action']:$_GET['action'...
<?php /** * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ require_once ("../../lib/base.php"); OC_Util::checkAdminUser(); OC_JSON::checkLoggedIn(); $action=isset($_POST['action'])?$_PO...
9605e1926c6081e88326bf78a02c1d1b83126c4f
https://github.com/owncloud/core
thread_info.h
objective-c
/* thread_info.h: MIPS low-level thread information * * Copyright (C) 2002 David Howells (dhowells@redhat.com) * - Incorporating suggestions made by Linus Torvalds and Dave Miller */ #ifndef _ASM_THREAD_INFO_H #define _ASM_THREAD_INFO_H #ifdef __KERNEL__ #ifndef __ASSEMBLY__ #include <asm/processor.h> /* * ...
/* thread_info.h: MIPS low-level thread information * * Copyright (C) 2002 David Howells (dhowells@redhat.com) * - Incorporating suggestions made by Linus Torvalds and Dave Miller */ #ifndef _ASM_THREAD_INFO_H #define _ASM_THREAD_INFO_H #ifdef __KERNEL__ #ifndef __ASSEMBLY__ #include <asm/processor.h> /* * ...
137f7df8cead00688524c82360930845396b8a21
https://github.com/torvalds/linux
index.php
php
<html> <head> <?php include('parts/head.html.part'); ?> </head> <body class="vflex"> <div class="header hflex"> <?php include('parts/header.html.part'); ?> </div> <div class="center hflex"> <div class="page"> <?php include('pages/' . array_merge(array('p'=>'home'), $_GET)['p'] . '.html.part'); ?> ...
<html> <head> <?php include('parts/head.html.part'); ?> </head> <body class="vflex"> <div class="header hflex"> <?php include('parts/header.html.part'); ?> </div> <div class="center hflex"> <div class="page"> <?php $page_spec = array_merge(array('p'=>'home'), $_GET)['p']; if (strpos...
567bc33e6ed82b0d0179c9add707ac2b257aeaf2
https://github.com/soshtolsus/wing-tight
main.ts
typescript
import { NestFactory } from '@nestjs/core'; import { json } from 'express'; import { AppModule } from './app.module'; import * as cookieParser from 'cookie-parser'; import { VersioningType } from '@nestjs/common'; import * as session from 'express-session'; import { emitGQLSchemaFile } from './gql-schema'; async funct...
import { NestFactory } from '@nestjs/core'; import { json } from 'express'; import { AppModule } from './app.module'; import * as cookieParser from 'cookie-parser'; import { VersioningType } from '@nestjs/common'; import * as session from 'express-session'; import { emitGQLSchemaFile } from './gql-schema'; async funct...
15424903ede20b155d764abf4c4f7c2c84c11247
https://github.com/hoppscotch/hoppscotch
ajax.php
php
<?php /** * Copyright (C) 2020 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any...
<?php /** * Copyright (C) 2020 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any...
bb7b69ef43673ed403436eac05e0bc31d5033ff7
https://github.com/dolibarr/dolibarr
api.php
php
<?php include "../../includes/stracker/mysql.php"; include "../../includes/stracker/apiHeaders.php"; include "../../includes/stracker/validation.php"; $task = $_GET['task']; $symbol = $_GET['symbol']; $startDate = $_GET['startDate']; $endDate = $_GET['endDate']; function getHistory($symbol, $startDate, $endDate, $pdo...
<?php include "../../includes/stracker/mysql.php"; include "../../includes/stracker/apiHeaders.php"; include "../../includes/stracker/validation.php"; $task = $_GET['task']; $symbol = $_GET['symbol']; $startDate = $_GET['startDate']; $endDate = $_GET['endDate']; function getHistory($symbol, $startDate, $endDate, $pdo...
63e1b040373ee5b6c7d1e165ecf5ae1603d29e0a
https://github.com/visegripped/stracker
sys.c
c
/* * AArch64-specific system calls implementation * * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foun...
/* * AArch64-specific system calls implementation * * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foun...
c623b33b4e9599c6ac5076f7db7369eb9869aa04
https://github.com/torvalds/linux
ConditionsController.php
php
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\controllers; use Craft; use craft\base\conditions\ConditionInterface; use craft\base\conditions\ConditionRuleInterface; use craft\helpers\ArrayHelper; use craft\...
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\controllers; use Craft; use craft\base\conditions\ConditionInterface; use craft\base\conditions\ConditionRuleInterface; use craft\helpers\ArrayHelper; use craft\...
a270b928f3d34ad3bd953b81c304424edd57355e
https://github.com/craftcms/cms
XWikiCommentsDocumentInitializer.java
java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
d87d7bfd8db18c20d3264f98c6deefeae93b99f7
https://github.com/xwiki/xwiki-platform