PageRenderTime 36ms queryTime 73ms sortTime 46ms getByIdsTime 1165ms findMatchingLines 68ms

47+ results for 'eval $_GET' (36 ms)

Not the results you expected?
class.redux_admin_notices.php https://gitlab.com/cmtsheikeshadi/wordpress_theme_devolopment | PHP | 189 lines
                    
38            /**
                    
39             * adminNotices - Evaluates user dismiss option for displaying admin notices
                    
40             *
                    
77                                    // the redux page slug if the GET is empty.
                    
78                                    $pageName = empty( $_GET['page'] ) ? '&page=' . self::$_parent->args['page_slug'] : '&page=' . esc_attr( $_GET['page'] );
                    
79
                    
80                                    // Ditto for the current tab.
                    
81                                    $curTab = empty( $_GET['tab'] ) ? '&tab=0' : '&tab=' . esc_attr( $_GET['tab'] );
                    
82                                }
                    
146                // Verify the dismiss and id parameters are present.
                    
147                if ( isset( $_GET['dismiss'] ) && isset( $_GET['id'] ) ) {
                    
148                    if ( 'true' == $_GET['dismiss'] || 'false' == $_GET['dismiss'] ) {
                    
153                        // Get the notice id
                    
154                        $id  = esc_attr( $_GET['id'] );
                    
155                        $val = esc_attr( $_GET['dismiss'] );
                    
                
_params.funcs.php https://github.com/balupton/balphp.git | PHP | 312 lines
                    
80		if ( $params === NULL )
                    
81			$params = array_merge($_GET, $_POST);
                    
82		elseif ( gettype($params) === 'string' ) {
                    
121		$_POST_HYDRATED		= $_POST;
                    
122		$_GET_HYDRATED		= $_GET;
                    
123		$_FILES_HYDRATED	= array();
                    
126		array_clean_form($_POST_HYDRATED);
                    
127		array_clean_form($_GET_HYDRATED);
                    
128		array_clean_form($_FILES_HYDRATED);
                    
131		hydrate_value($_POST_HYDRATED,	array('stripslashes'=>$stripslashes));
                    
132		hydrate_value($_GET_HYDRATED,	array('stripslashes'=>$stripslashes));
                    
133		hydrate_value($_FILES_HYDRATED);
                    
305			$_POST = array_map('stripslashes_deep', $_POST);
                    
306			$_GET = array_map('stripslashes_deep', $_GET);
                    
307			$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
                    
                
genericAjax.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 367 lines
                    
4if( !isset($request) ){
                    
5  $request = isset($_GET['request'])? $_GET['request']: null;
                    
6}
                    
55        if(isset($_GET["inputEnconde64"])) {
                    
56          $_GET['input'] = base64_decode($_GET['input']);
                    
57        }
                    
90        $len      = strlen($input);
                    
91        $limit    = isset($_GET['limit']) ? (int) $_GET['limit'] : 0;
                    
92        $aResults = array();
                    
172        if($_GET['pkt'] == 'int'){
                    
173          $rs = $con->executeQuery("SELECT MAX({$_GET['pk']}) as lastId FROM {$_GET['table']};");
                    
174          $rs->next();
                    
181
                    
182        $rs = $con->executeQuery("INSERT INTO {$_GET['table']} ({$_GET['pk']}, {$_GET['fld']}) VALUES ('$gKey', '{$_GET['value']}');");
                    
183
                    
                
Thumbnail.php https://bitbucket.org/tdevonshire/guinness-jazz-festival.git | PHP | 333 lines
                    
64
                    
65        if (!isset($_GET["FileName"])) {
                    
66            $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST);
                    
68
                    
69        $fileName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["FileName"]);
                    
70        $_resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();
                    
112
                    
113        //header("Cache-Control: cache, must-revalidate");
                    
114        //header("Pragma: public");
                    
                
evaluationData.php https://gitlab.com/flummispeed/Automated-importance-assessment-for-new-technologies-and-standards | PHP | 410 lines
                    
53    $resultItems = getSearchResults($_GET['searchid'], $mysqli);
                    
54    echo '{"resultItems":[' . $resultItems . '],' . $term . ', "idSearch":' . $_GET['searchid'] . ' , "searchTime":"' . getSearchDateTime($_GET['searchid'], $mysqli) . '"}';
                    
55}
                    
141            }
                    
142            $searchResults .= '"idEvaluation":' . $row['id_evaluation'] . '}';
                    
143        }
                    
206            case 'double':
                    
207                if(!updateValue($search_done_id, $item, $mysqli, 'value_double'))
                    
208                {
                    
312{
                    
313    $query = "SELECT id FROM ".$table." WHERE `search_done_id` = ".$search_done_id." AND `id_evaluation` = " . $item->idEvaluation;
                    
314    $mysqli->query($query);
                    
343{
                    
344    $query = "SELECT id FROM value_json WHERE `search_done_id` = ".$search_done_id." AND `id_evaluation` = " . $item->idEvaluation;
                    
345    $mysqli->query($query);
                    
                
yootools.php https://bitbucket.org/dgough/annamaria-daneswood-25102012.git | PHP | 279 lines
                    
137	{
                    
138		if ($this->evalStyleCondition($condition)) {
                    
139			$this->setParam($key, $value);
                    
142	
                    
143	function evalStyleCondition($condition)
                    
144	{
                    
157		$str = 'return '.implode(' ', $parts).';';
                    
158		return eval($str);
                    
159	}
                    
172		
                    
173		if(isset($_GET['yt_color'])) {
                    
174			setcookie('ytcolor', $_GET['yt_color'], time() + 3600, '/'); 
                    
174			setcookie('ytcolor', $_GET['yt_color'], time() + 3600, '/'); 
                    
175			$color = $_GET['yt_color'];
                    
176		}
                    
                
index.php https://github.com/javico40/codeka-Onix.git | PHP | 274 lines
                    
3
                    
4$cadena_busqueda=$_GET["cadena_busqueda"];
                    
5
                    
62		
                    
63			for (i=0;i<eval("frames['"+frame+"'].document.form1.elements.length");i++) {
                    
64				if (eval("frames['"+frame+"'].document.form1.elements[i].name=='"+check+"'")) {
                    
72				//sólo hay un check, o sea, que no se forma un array con los checks y hay que 
                    
73				//evaluarlo independientemente
                    
74					if (eval("frames['"+frame+"'].document.getElementById('"+check+"').checked")) {
                    
74					if (eval("frames['"+frame+"'].document.getElementById('"+check+"').checked")) {
                    
75						cadena=eval("frames['"+frame+"'].document.getElementById('"+check+"').value+'~'");
                    
76						opciones=1;
                    
80					for (i=0;i<eval("frames['"+frame+"'].document.form1.elements.length");i++) { 
                    
81						if (eval("(frames['"+frame+"'].document.form1.elements[i].checked)") && eval("(frames['"+frame+"'].document.form1.elements[i].name=='"+check+"')")) {
                    
82							cadena=cadena+eval("frames['"+frame+"'].document.form1.elements[i].value+'~'");
                    
                
Sajax.php https://github.com/benbruscella/Grammafone.git | PHP | 308 lines
                    
34	//
                    
35	// Helper function to return an eval()-usable representation
                    
36	// of an object in JavaScript.
                    
78		
                    
79		if (! empty($_GET["rs"])) 
                    
80			$mode = "get";
                    
94			// always modified
                    
95			header ("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
                    
96			header ("Pragma: no-cache");                          // HTTP/1.0
                    
96			header ("Pragma: no-cache");                          // HTTP/1.0
                    
97			$func_name = $_GET["rs"];
                    
98			if (! empty($_GET["rsargs"])) 
                    
98			if (! empty($_GET["rsargs"])) 
                    
99				$args = $_GET["rsargs"];
                    
100			else
                    
                
class-page-backwpup.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 290 lines
                    
17
                    
18		if ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'dbdumpdl' ) {
                    
19
                    
28			header( "Expires: 0" );
                    
29			header( "Cache-Control: must-revalidate, post-check=0, pre-check=0" );
                    
30			header( "Content-Type: application/octet-stream; charset=". get_bloginfo( 'charset' ) );
                    
                
index.php https://github.com/crsven/showslow.git | PHP | 382 lines
                    
23		'pBrowserCache',
                    
24		'pCacheValid',
                    
25		'pCharsetEarly',
                    
81			'LeverageBrowserCaching'			=> 'pBrowserCache',
                    
82			'SpecifyACacheValidator'			=> 'pCacheValid',
                    
83			'SpecifyCharsetEarly'				=> 'pCharsetEarly',
                    
109		// making an API call
                    
110		$apicall = 'https://www.googleapis.com/pagespeedonline/v1/runPagespeed?url='.urlencode(validateURL($_GET['u'])).'&key='.$pageSpeedOnlineAPIKey;
                    
111
                    
238		&& array_key_exists('l', $_GET)
                    
239			&& ($core_metrics['l'] = filter_var($_GET['l'], FILTER_VALIDATE_INT)) !== false
                    
240		&& array_key_exists('r', $_GET)
                    
260			'pServeScaledImages'				=> 'pScaleImgs',
                    
261			'pSpecifyACacheValidator'			=> 'pCacheValid',
                    
262			'pSpecifyAVaryAcceptEncodingHeader'		=> 'pVaryAE',
                    
                
Callback.php https://gitlab.com/devtoannh/cafe | PHP | 330 lines
                    
55     * subscription) which is typical when it is not passed in the query string
                    
56     * but is part of the Callback URL path, requiring manual retrieval e.g.
                    
57     * using a route and the Zend_Controller_Action::_getParam() method.
                    
87     *
                    
88     * @param  array $httpGetData GET data if available and not in $_GET
                    
89     * @param  bool $sendResponseNow Whether to send response now or when asked
                    
94        if ($httpGetData === null) {
                    
95            $httpGetData = $_GET;
                    
96        }
                    
285        /**
                    
286         * Available (possibly) if corrupted in transit and not part of $_GET
                    
287         */
                    
297     * Build an array of Query String parameters.
                    
298     * This bypasses $_GET which munges parameter names and cannot accept
                    
299     * multiple parameters with the same key.
                    
                
portalcp_diy.htm https://gitlab.com/phamngsinh/baitaplon_sinhvien | HTML | 224 lines
                    
14	</div>
                    
15	<!--{eval $isfirst=1;}-->
                    
16	<!--{loop $_G['cache']['blockclass'] $key $value}-->
                    
37</ul>
                    
38<!--{elseif $_GET['op'] == 'image'}-->
                    
39	<div id="diyimg_prev" class="z">$multi</div>
                    
45	<div id="diyimg_next" class="z">$multi</div>
                    
46<!--{elseif $_GET['op'] == 'diy'}-->
                    
47<dl class='diy'>
                    
159	<span>
                    
160		<!--{if $_G[inajax]}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET[handlekey]');return false;" title="{lang close}">{lang close}</a><!--{/if}-->
                    
161	</span>
                    
163<ul class="tb cl">
                    
164	<li{if empty($_GET['type'])} class="a"{/if} id="li_import_upload"><a onclick="showWindow('showimport', this.getAttribute('href'));" href="portal.php?mod=portalcp&ac=diy&op=import&type=0&tpl=$_GET['tpl']">{lang diy_uploadfile}</a></li>
                    
165	<li{if $_GET['type'] == 1} class="a"{/if} id="li_import_system"><a onclick="showWindow('showimport', this.getAttribute('href'));" href="portal.php?mod=portalcp&ac=diy&op=import&type=1&tpl=$_GET['tpl']">{lang diy_systemfile}</a></li>
                    
                
post_editor_attribute.htm https://gitlab.com/phamngsinh/baitaplon_sinhvien | HTML | 152 lines
                    
9			<!--{eval $userextcredit = getuserprofile('extcredits'.$extcreditstype);}-->
                    
10			<!--{if ($_GET[action] == 'newthread' && $userextcredit > 0) || ($_GET[action] == 'edit' && $isorigauthor && isfirstpost)}-->
                    
11				<label id="extra_replycredit_b" onclick="showExtra('extra_replycredit')"><span id="extra_replycredit_chk">{lang replycredit}</span></label>
                    
25		<!--{/if}-->
                    
26		<!--{if $_G['group']['allowsetpublishdate'] && ($_GET[action] == 'newthread' || ($_GET[action] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))}-->
                    
27			<label id="extra_pubdate_b" onclick="showExtra('extra_pubdate')"><span id="extra_pubdate_chk">{lang post_timer}</span></label>
                    
71				<span class="xg1">({lang post_price_comment})</span>
                    
72				<!--{if $_G['group']['maxprice'] && ($_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost)}-->
                    
73					<!--{if $_G['setting']['maxincperthread']}--><p class="xg1">{lang post_price_income_comment}</p><!--{/if}-->
                    
108
                    
109		<!--{if ($_GET[action] == 'newthread' && $_G['group']['allowpostrushreply'] && $special != 2) || ($_GET[action] == 'edit' && getstatus($thread['status'], 3))}-->
                    
110			<div class="exfm cl" id="extra_rushreplyset_c" style="display: none;">
                    
144		<!--{/if}-->
                    
145		<!--{if $_G['group']['allowsetpublishdate'] && ($_GET[action] == 'newthread' || ($_GET[action] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))}-->
                    
146			<div class="exfm cl" id="extra_pubdate_c" style="display: none;">
                    
                
index.php https://github.com/damanlovett/SEAHO.git | PHP | 220 lines
                    
11{
                    
12  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
                    
13
                    
13
                    
14  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
                    
15
                    
17    case "text":
                    
18      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
                    
19      break;    
                    
21    case "int":
                    
22      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
                    
23      break;
                    
24    case "double":
                    
25      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
                    
26      break;
                    
                
about.upgrading.md https://github.com/HighwayofLife/userguide.git | Markdown | 313 lines
                    
14
                    
15The Input Library has been removed from 3.0 in favour of just using `$_GET` and `$_POST`.
                    
16
                    
16
                    
17Some of its features, such as [value retrieval with defaults](#post_and_get), still exist in other forms.
                    
18
                    
34
                    
35	$_GET = array();
                    
36	
                    
39	
                    
40	$_GET['id'] = 25;
                    
41	
                    
46
                    
47	$_GET = array();
                    
48	
                    
                
CHttpRequest.php https://github.com/joshuaswarren/weatherhub.git | PHP | 999 lines
                    
15 * CHttpRequest also manages the cookies sent from and sent to the user.
                    
16 * By setting {@link enableCookieValidation} to true,
                    
17 * cookies sent from the user will be validated to see if they are tampered.
                    
33	 */
                    
34	public $enableCookieValidation=false;
                    
35	/**
                    
90			if(isset($_GET))
                    
91				$_GET=$this->stripSlashes($_GET);
                    
92			if(isset($_POST))
                    
128	{
                    
129		return isset($_GET[$name]) ? $_GET[$name] : (isset($_POST[$name]) ? $_POST[$name] : $defaultValue);
                    
130	}
                    
143	{
                    
144		return isset($_GET[$name]) ? $_GET[$name] : $defaultValue;
                    
145	}
                    
                
xhprof_moodle.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 584 lines
                    
85    $check = 'PROFILEME';
                    
86    $profileme = isset($_POST[$check]) || isset($_GET[$check]) || isset($_COOKIE[$check]) ? true : false;
                    
87    $profileme = $profileme && !empty($CFG->profilingallowme);
                    
88    $check = 'DONTPROFILEME';
                    
89    $dontprofileme = isset($_POST[$check]) || isset($_GET[$check]) || isset($_COOKIE[$check]) ? true : false;
                    
90    $dontprofileme = $dontprofileme && !empty($CFG->profilingallowme);
                    
91    $check = 'PROFILEALL';
                    
92    $profileall = isset($_POST[$check]) || isset($_GET[$check]) || isset($_COOKIE[$check]) ? true : false;
                    
93    $profileall = $profileall && !empty($CFG->profilingallowall);
                    
94    $check = 'PROFILEALLSTOP';
                    
95    $profileallstop = isset($_POST[$check]) || isset($_GET[$check]) || isset($_COOKIE[$check]) ? true : false;
                    
96    $profileallstop = $profileallstop && !empty($CFG->profilingallowall);
                    
116
                    
117    // Evaluate automatic (random) profiling if necessary
                    
118    $profileauto = false;
                    
                
ajax-actions.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 1634 lines
                    
33
                    
34	$list_class = $_GET['list_args']['class'];
                    
35	check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' );
                    
36
                    
37	$wp_list_table = _get_list_table( $list_class, array( 'screen' => $_GET['list_args']['screen']['id'] ) );
                    
38	if ( ! $wp_list_table )
                    
50
                    
51	if ( isset( $_GET['tax'] ) ) {
                    
52		$taxonomy = sanitize_key( $_GET['tax'] );
                    
61
                    
62	$s = stripslashes( $_GET['q'] );
                    
63
                    
89
                    
90	if ( isset($_GET['test']) ) {
                    
91		header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
                    
                
admin-ajax.php https://github.com/muskmelon/Greemo.git | PHP | 1555 lines
                    
50
                    
51if ( isset( $_GET['action'] ) ) :
                    
52switch ( $action = $_GET['action'] ) :
                    
54
                    
55	$list_class = $_GET['list_args']['class'];
                    
56	check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' );
                    
57
                    
58	$current_screen = (object) $_GET['list_args']['screen'];
                    
59	//TODO fix this in a better way see #15336
                    
77case 'ajax-tag-search' :
                    
78	if ( isset( $_GET['tax'] ) ) {
                    
79		$taxonomy = sanitize_key( $_GET['tax'] );
                    
88
                    
89	$s = stripslashes( $_GET['q'] );
                    
90
                    
                
ajax-actions.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 1640 lines
                    
33
                    
34	$list_class = $_GET['list_args']['class'];
                    
35	check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' );
                    
36
                    
37	$current_screen = convert_to_screen( $_GET['list_args']['screen']['id'] );
                    
38
                    
55
                    
56	if ( isset( $_GET['tax'] ) ) {
                    
57		$taxonomy = sanitize_key( $_GET['tax'] );
                    
66
                    
67	$s = stripslashes( $_GET['q'] );
                    
68
                    
94
                    
95	if ( isset($_GET['test']) ) {
                    
96		header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
                    
                
Processor.php https://github.com/arush/desparation-deprecated.git | PHP | 325 lines
                    
67        }
                    
68        if (isset($_GET['no_cache'])) {
                    
69            return false;
                    
158        $sidCookieName = $this->getMetadata('sid_cookie_name');
                    
159        $sidCookieValue = ($sidCookieName && isset($_COOKIE[$sidCookieName]) ? $_COOKIE[$sidCookieName] : '');
                    
160        Evogue_PageCache_Helper_Url::restoreSid($content, $sidCookieValue);
                    
                
ajax-actions.php https://gitlab.com/Gashler/dp | PHP | 1646 lines
                    
48
                    
49	$list_class = $_GET['list_args']['class'];
                    
50	check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' );
                    
51
                    
52	$wp_list_table = _get_list_table( $list_class, array( 'screen' => $_GET['list_args']['screen']['id'] ) );
                    
53	if ( ! $wp_list_table )
                    
65
                    
66	if ( isset( $_GET['tax'] ) ) {
                    
67		$taxonomy = sanitize_key( $_GET['tax'] );
                    
76
                    
77	$s = wp_unslash( $_GET['q'] );
                    
78
                    
104
                    
105	if ( isset($_GET['test']) ) {
                    
106		header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
                    
                
admin-ajax.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 1530 lines
                    
50
                    
51if ( isset( $_GET['action'] ) ) :
                    
52switch ( $action = $_GET['action'] ) :
                    
56
                    
57	$s = $_GET['q']; // is this slashed already?
                    
58
                    
58
                    
59	if ( isset($_GET['tax']) )
                    
60		$taxonomy = sanitize_title($_GET['tax']);
                    
85
                    
86	if ( isset($_GET['test']) ) {
                    
87		header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
                    
88		header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
                    
89		header( 'Cache-Control: no-cache, must-revalidate, max-age=0' );
                    
90		header( 'Pragma: no-cache' );
                    
                
AJAX.php https://github.com/timstephenson/NatureBridge.git | PHP | 223 lines
                    
42    {
                    
43        $caseID    = CRM_Utils_Type::escape( $_GET['caseID'], 'Integer' );
                    
44        $contactID = CRM_Utils_Type::escape( $_GET['cid'], 'Integer' );
                    
44        $contactID = CRM_Utils_Type::escape( $_GET['cid'], 'Integer' );
                    
45        $userID    = CRM_Utils_Type::escape( $_GET['userID'], 'Integer' );
                    
46        $context   = CRM_Utils_Type::escape( CRM_Utils_Array::value( 'context', $_GET ), 'String' );
                    
101        $mainActVals  = array( );
                    
102        CRM_Core_DAO::storeValues( $otherActivity, $mainActVals );
                    
103        
                    
165                if ( in_array( $key, $htmlType ) ) {
                    
166                    $fileValues = CRM_Core_BAO_File::path( $value, $activityID );
                    
167                    $customParams["custom_{$key}_-1"] = array( 'name' => $fileValues[0],
                    
167                    $customParams["custom_{$key}_-1"] = array( 'name' => $fileValues[0],
                    
168                                                               'path' => $fileValues[1] );
                    
169                } else {
                    
                
TaskController.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 1133 lines
                    
60
                    
61    $output = array_var($_GET, 'output', 'csv');
                    
62    $project_name = active_project()->getName();
                    
278      $task_list_data = array(
                    
279      'milestone_id' => array_var($_GET, 'milestone_id'),
                    
280      'start_date' => DateTimeValueLib::now(),
                    
281      'is_private' => config_option('default_private', false),
                    
282      'task0' => array( 'start_date' => DateTimeValueLib::now() ),
                    
283      'task1' => array( 'start_date' => DateTimeValueLib::now() ),
                    
283      'task1' => array( 'start_date' => DateTimeValueLib::now() ),
                    
284      'task2' => array( 'start_date' => DateTimeValueLib::now() ),
                    
285      'task3' => array( 'start_date' => DateTimeValueLib::now() ),
                    
285      'task3' => array( 'start_date' => DateTimeValueLib::now() ),
                    
286      'task4' => array( 'start_date' => DateTimeValueLib::now() ),
                    
287      'task5' => array( 'start_date' => DateTimeValueLib::now() ),
                    
                
MilestoneController.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 445 lines
                    
36      // $view_type is from URL, Cookie or set to default: 'list'
                    
37      $view_type = array_var($_GET, 'view', Cookie::getValue('milestonesViewType', 'list'));
                    
38      $expiration = Cookie::getValue('remember'.TOKEN_COOKIE_NAME) ? REMEMBER_LOGIN_LIFETIME : null;
                    
39      Cookie::setValue('milestonesViewType', $view_type, $expiration);
                    
40      $filter_assigned = array_var($_GET, 'assigned', Cookie::getValue('milestonesFilterAssigned', 'all'));
                    
41      $expiration = Cookie::getValue('remember'.TOKEN_COOKIE_NAME) ? REMEMBER_LOGIN_LIFETIME : null;
                    
110        $milestone_data = array(
                    
111          'due_date' => DateTimeValueLib::now(),
                    
112          'is_private' => config_option('default_private', false),
                    
123        if (isset($_POST['milestone_due_date'])) {
                    
124          $milestone_data['due_date'] = DateTimeValueLib::makeFromString($_POST['milestone_due_date']);
                    
125        } else {
                    
125        } else {
                    
126          $milestone_data['due_date'] = DateTimeValueLib::make(0, 0, 0, array_var($_POST, 'milestone_due_date_month', 1), array_var($_POST, 'milestone_due_date_day', 1), array_var($_POST, 'milestone_due_date_year', 1970));
                    
127        }
                    
                
MicrosoftMvcValidation.debug.js https://gitlab.com/x33n/MvcMusicStore | JavaScript | 883 lines
                    
96    /// </field>
                    
97    /// <field name="replaceValidationSummary" type="Boolean">
                    
98    /// </field>
                    
121}
                    
122Sys.Mvc.FormContext._getFormElementsWithName = function Sys_Mvc_FormContext$_getFormElementsWithName(formElement, name) {
                    
123    /// <param name="formElement" type="Object" domElement="true">
                    
165    formContext.enableDynamicValidation();
                    
166    formContext.replaceValidationSummary = options.ReplaceValidationSummary;
                    
167    for (var i = 0; i < options.Fields.length; i++) {
                    
173        fieldContext.validationMessageElement = validationMessageElement;
                    
174        fieldContext.replaceValidationMessageContents = field.ReplaceValidationMessageContents;
                    
175        for (var j = 0; j < field.ValidationRules.length; j++) {
                    
204    _formElement: null,
                    
205    replaceValidationSummary: false,
                    
206    
                    
                
FeatureContext.php https://gitlab.com/x33n/respond | PHP | 519 lines
                    
33        unset($_SERVER);
                    
34        unset($_GET);
                    
35        unset($_POST);
                    
48                list($name, $value) = explode('=', $item);
                    
49                $_GET[$name] = $value;
                    
50            }
                    
208        $classDefinition .= '}'.$lineEnding;
                    
209        eval($classDefinition);
                    
210    }
                    
235     */
                    
236    public function theLoadedResourceShouldHaveAParamWithTheValue($name, $value)
                    
237    {
                    
361    {
                    
362        eval($string);
                    
363    }
                    
                
qtranslate_services.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 911 lines
                    
296	if(isset($_GET['qs_delete'])) {
                    
297		$_GET['qs_delete'] = intval($_GET['qs_delete']);
                    
298		$orders = get_option('qs_orders');
                    
300			foreach($orders as $key => $order) {
                    
301				if($orders[$key]['order']['order_id'] == $_GET['qs_delete']) {
                    
302					unset($orders[$key]);
                    
308	}
                    
309	if(isset($_GET['qs_cron'])) {
                    
310		qs_cron();
                    
347			function(response) {
                    
348				eval(response);
                    
349		})
                    
                
actions.php https://gitlab.com/webkod3r/tripolis | PHP | 666 lines
                    
7		// Remove slider
                    
8		if(isset($_GET['page']) && $_GET['page'] == 'layerslider' && isset($_GET['action']) && $_GET['action'] == 'remove') {
                    
9			if(check_admin_referer('remove_'.$_GET['id'])) {
                    
22		// Duplicate slider
                    
23		if(isset($_GET['page']) && $_GET['page'] == 'layerslider' && isset($_GET['action']) && $_GET['action'] == 'duplicate') {
                    
24			if(check_admin_referer('duplicate_'.$_GET['id'])) {
                    
112
                    
113		if(isset($_GET['page']) && $_GET['page'] == 'layerslider' && isset($_GET['action']) && $_GET['action'] == 'hide-support-notice') {
                    
114			if(check_admin_referer('hide-support-notice')) {
                    
120
                    
121		if(isset($_GET['page']) && $_GET['page'] == 'layerslider' && isset($_GET['action']) && $_GET['action'] == 'hide-update-notice') {
                    
122			if(check_admin_referer('hide-update-notice')) {
                    
129
                    
130		if(isset($_GET['page']) && $_GET['page'] == 'layerslider' && isset($_GET['action']) && $_GET['action'] == 'hide-revalidation-notice') {
                    
131			if(check_admin_referer('hide-revalidation-notice')) {
                    
                
media.php https://gitlab.com/webkod3r/tripolis | PHP | 1554 lines
                    
82			$current = $redir_tab;
                    
83		} elseif ( isset($_GET['tab']) && array_key_exists($_GET['tab'], $tabs) ) {
                    
84			$current = $_GET['tab'];
                    
180	 * Passing an empty value also prevents the {@see 'image_add_caption_shortcode'}
                    
181	 * filter from being evaluated at the end of {@see image_add_caption()}.
                    
182	 *
                    
                
ajax-actions.php https://gitlab.com/webkod3r/tripolis | PHP | 1787 lines
                    
87
                    
88	$list_class = $_GET['list_args']['class'];
                    
89	check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' );
                    
90
                    
91	$wp_list_table = _get_list_table( $list_class, array( 'screen' => $_GET['list_args']['screen']['id'] ) );
                    
92	if ( ! $wp_list_table )
                    
108function wp_ajax_ajax_tag_search() {
                    
109	if ( ! isset( $_GET['tax'] ) ) {
                    
110		wp_die( 0 );
                    
112
                    
113	$taxonomy = sanitize_key( $_GET['tax'] );
                    
114	$tax = get_taxonomy( $taxonomy );
                    
122
                    
123	$s = wp_unslash( $_GET['q'] );
                    
124
                    
                
main.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 576 lines
                    
3        header('Expires: 0');
                    
4        header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
                    
5        header('Pragma: public');
                    
20/*
                    
21$channel = $_GET['channel'];
                    
22echo "$channel <br>";
                    
34
                    
35$licid = $_GET['licid'];
                    
36
                    
36
                    
37$user = $_GET['username'];
                    
38$id = $_GET['id'];
                    
39
                    
40$base_nick = $_GET['username'];
                    
41//$nick = "hello";
                    
                
sfForm.class.php https://github.com/bheneka/gitta.git | PHP | 1339 lines
                    
200   * @param array $taintedValues  An array of input values
                    
201   * @param array $taintedFiles   An array of uploaded files (in the $_FILES or $_GET format)
                    
202   */
                    
511
                    
512    $this->mergePreValidator($form->getValidatorSchema()->getPreValidator());
                    
513    $this->mergePostValidator($form->getValidatorSchema()->getPostValidator());
                    
522   */
                    
523  public function mergePreValidator(sfValidatorBase $validator = null)
                    
524  {
                    
529
                    
530    if (null === $this->validatorSchema->getPreValidator())
                    
531    {
                    
531    {
                    
532      $this->validatorSchema->setPreValidator($validator);
                    
533    }
                    
                
function.base.php https://gitlab.com/ptisky/API_prestashop | PHP | 1246 lines
                    
50		$count = 1;

                    
51		foreach($_GET as $k=>$v)

                    
52		{

                    
267	header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

                    
268	header("Cache-Control: no-store, no-cache, must-revalidate");

                    
269	header("Cache-Control: post-check=0, pre-check=0", false);

                    
293	/**

                    
294	 * make the query strin from $_GET, but excluding those specified by $excluded

                    
295	 *

                    
302		$count = 1;

                    
303		foreach($_GET as $k=>$v)

                    
304		{

                    
                
all_upload.php https://gitlab.com/ptisky/API_prestashop | PHP | 374 lines
                    
36header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

                    
37header("Cache-Control: no-store, no-cache, must-revalidate");

                    
38header("Cache-Control: post-check=0, pre-check=0", false);

                    
46		$targetDir = _PS_COL_IMG_DIR_;

                    
47		$id_attribute=intval($_GET['id_attribute']);

                    
48		break;

                    
                
Router.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 757 lines
                    
109					{
                    
110						echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($path))));
                    
111					}
                    
166	{
                    
167		if($this->config->item('enable_query_strings') && isset($_GET[$this->config->item('controller_trigger')]))
                    
168		{
                    
169			// controller
                    
170			$this->class = trim($this->uri->_filter_uri($_GET[$this->config->item('controller_trigger')]));
                    
171			
                    
172			// module
                    
173			if(isset($_GET[$this->config->item('module_trigger')]))
                    
174			{
                    
174			{
                    
175				$this->module = trim($this->uri->_filter_uri($_GET[$this->config->item('module_trigger')]));
                    
176
                    
                
PtbhadarateController.php http://mcmis.googlecode.com/svn/trunk/ | PHP | 348 lines
                    
111            // if AJAX request (triggered by deletion via admin grid view), we should not redirect the browser
                    
112            if (!isset($_GET['ajax']))
                    
113                $this->redirect(isset($_POST['returnUrl']) ? $_POST['returnUrl'] : array('admin'));
                    
134        $model->unsetAttributes();  // clear any default values
                    
135        if (isset($_GET['Ptbhadarate']))
                    
136            $model->attributes = $_GET['Ptbhadarate'];
                    
148        $model->unsetAttributes();  // clear any default values
                    
149        if (isset($_GET['Ptbhadarate']))
                    
150            $model->attributes = $_GET['Ptbhadarate'];
                    
218                $model_errors = $model->getErrors();
                    
219                foreach ($model_errors as $mekey => $mevalue) {
                    
220                    foreach ($mevalue as $key => $value) {
                    
229        $model_new->unsetAttributes();  // clear any default values
                    
230        if (isset($_GET['Ptbhadarate']))
                    
231            $model->attributes = $_POST['Ptbhadarate'];
                    
                
CacheHelperTest.php https://bitbucket.org/LeThanhDat/firstdummyapp.git | PHP | 651 lines
                    
47		$this->layout = 'cache_layout';
                    
48		$this->set('variable', 'variableValue');
                    
49		$this->set('superman', 'clark kent');
                    
80		parent::setUp();
                    
81		$_GET = array();
                    
82		$request = new CakeRequest();
                    
                
mutate_role.dynamic.php https://github.com/gunf/novo-isaak.local.git | PHP | 239 lines
                    
67	documentDirty=true;
                    
68	currval = eval(element).value;
                    
69	if(currval==1) {
                    
69	if(currval==1) {
                    
70		eval(element).value=0;
                    
71	} else {
                    
71	} else {
                    
72		eval(element).value=1;
                    
73	}
                    
83<form action="index.php?a=36" method="post" name="userform">
                    
84<input type="hidden" name="mode" value="<?php echo $_GET['a'] ?>">
                    
85<input type="hidden" name="id" value="<?php echo $_GET['id'] ?>">
                    
94	</ul>
                    
95	<?php if($_GET['a']=='38') { ?>
                    
96	<script type="text/javascript">document.getElementById("btn_del").className='disabled';</script>
                    
                
edit_area_compressor.php https://github.com/KenBoyer/CompactCMS.git | PHP | 631 lines
                    
87	$param['use_gzip']= false;                      // Enable gzip compression
                    
88	$param['plugins'] = true; // isset($_GET['plugins']);    Include plugins in the compressed/flattened JS output.
                    
89	$param['echo2stdout'] = false;                  // Output generated JS to stdout; alternative is to store it in the object for later retrieval.
                    
                
forms.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 1395 lines
                    
8		return;
                    
9	switch ($_GET['action'])
                    
10	{
                    
14		case 'form':
                    
15            $id = $_GET['fid'];
                    
16            $form = _wpr_subscriptionform_get($id);
                    
46		case 'edit':
                    
47		$id = (int) $_GET['fid'];
                    
48		do_action("_wpr_subscriptionform_edit_form_controller",$id);
                    
63				$theValue = $_POST[$field];
                    
64				$theValue = trim($theValue);
                    
65				if (empty($theValue))
                    
72			{		
                    
73				$info['id'] = $_GET['fid'];
                    
74				$info['name'] = $_POST['name'];
                    
                
user.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 354 lines
                    
5
                    
6#if (!$_GET["id"] && !$_GET["delete"]) {
                    
7#  Fatal_Error("No such user");
                    
9#}
                    
10$id = sprintf('%d',isset($_GET["id"]) ? $_GET['id']:0);
                    
11$delete = sprintf('%d',isset($_GET['delete']) ? $_GET["delete"]:0);
                    
54  $old_data = Sql_Fetch_Array_Query(sprintf('select * from %s where id = %d',$tables["user"],$id));
                    
55  $old_data = array_merge($old_data,getUserAttributeValues('',$id));
                    
56  # and membership of lists
                    
145  $current_data = Sql_Fetch_Array_Query(sprintf('select * from %s where id = %d',$tables["user"],$id));
                    
146  $current_data = array_merge($current_data,getUserAttributeValues('',$id));
                    
147  foreach ($current_data as $key => $val) {
                    
273    } elseif ($row["type"] == "checkboxgroup") {
                    
274      printf ("<tr><td valign=top>%s</td><td>%s</td></tr>\n",stripslashes($row["name"]),UserAttributeValueCbGroup($id,$row["id"]));
                    
275    } elseif ($row["type"] == "textarea") {
                    
                
index.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 450 lines
                    
21    if (ereg("(.*)=(.*)",$_SERVER['argv'][$i], $my_args)) {
                    
22      $_GET[$my_args[1]] = $my_args[2];
                    
23      $_REQUEST[$my_args[1]] = $my_args[2];
                    
31  $GLOBALS["commandline"] = 0;
                    
32  header("Cache-Control: no-cache, must-revalidate");           // HTTP/1.1
                    
33  header("Pragma: no-cache");                                   // HTTP/1.0
                    
100    } else {
                    
101      $_GET["page"] = $cline["p"];
                    
102    }
                    
312# always allow access to the about page
                    
313if (isset($_GET['page']) && $_GET['page'] == 'about') {
                    
314  $page = 'about';
                    
370  #  print "End of inclusion<br/>";
                    
371  } elseif ($_GET['pi'] && isset($GLOBALS['plugins']) && is_array($GLOBALS['plugins']) && is_object($GLOBALS['plugins'][$_GET['pi']])) {
                    
372    $plugin = $GLOBALS["plugins"][$_GET["pi"]];
                    
                
view.php https://github.com/md-tech/openemr.git | PHP | 303 lines
                    
12
                    
13$obj = formFetch("form_assessment_intake", $_GET["id"]);
                    
14
                    
15?>
                    
16<form method=post action="<?echo $rootdir?>/forms/assessment_intake/save.php?mode=update&id=<?echo $_GET["id"];?>" name="my_form">
                    
17<span class="title"><center><b>Assessment and Intake</b></center></span><br><br>
                    
38<label><b>Referral Source:</b>&nbsp;<input type="entry" name="referral_source" value="<?php echo stripslashes($obj{"referral_source"});?>"></label><br><br>
                    
39<b>Purpose:</b>&nbsp; <input type=checkbox name='new_client_eval' <?php if ($obj{"new_client_eval"} == "on") {echo "checked";};?>  ><b>New client evaluation</b><img src="../../../images/space.gif" width="10" height="1">
                    
40<input type=checkbox name='readmission' <?php if ($obj{"readmission"} == "on") {echo "checked";};?>  ><b>Readmission</b><img src="../../../images/space.gif" width="35" height="1">
                    
                
simplequiz.php https://github.com/akash6190/pragyan.git | PHP | 841 lines
                    
21
                    
22define('QUIZ_TIMEOUT_ERRORMSG', 'You have run out of time for this quiz. Your test will be evaluated only for the answers you have submitted previously.');
                    
23define('QUIZ_SECTION_TIMEOUT_ERRORMSG', 'You have run out of time for this section. Only the answers that you have submitted previously will be evaluated. You can still view sections for which you have time left from the <a href="./+view">Quiz main page</a>.');
                    
114				$sectionId = intval($_POST['hdnSectionId']);
                    
115			elseif (isset($_GET['sectionid']) && $this->isValidId($_GET['sectionid']))
                    
116				$sectionId = intval($_GET['sectionid']);
                    
233		if($this->quizRow['quiz_allowsectionrandomaccess'] == 1)
                    
234			$questionQuery .= "AND `quiz_answersubmissions`.`quiz_sectionid` = '".escape($_GET['sectionid']) ."'";
                    
235		$questionQuery .= "ORDER BY `quiz_answersubmissions`.`quiz_questionrank` LIMIT {$this->quizRow['quiz_questionsperpage']}";
                    
243		if ($this->checkUserTimedOut($userId, -1, '1 MINUTE')) {
                    
244			displayerror('Sorry, you have exceeded your time limit for the quiz. Your latest submission cannot be evaluated.');
                    
245			return false;
                    
248		if ($this->quizRow['quiz_allowsectionrandomaccess']) {
                    
249			$sectionId = intval($_GET['sectionid']);
                    
250			if ($this->checkUserTimedOut($userId, $sectionId, '1 MINUTE')) {
                    
                
search.php https://github.com/ayamyau/concrete5.git | PHP | 676 lines
                    
21	
                    
22	$vo = $uo->getAttributeValueObject($ak);
                    
23	$value = '';
                    
66
                    
67if (intval($_GET['uID'])) {
                    
68	
                    
68	
                    
69	$uo = UserInfo::getByID(intval($_GET['uID']));
                    
70	if (is_object($uo)) {
                    
72		
                    
73		if (isset($_GET['task'])) {
                    
74			if ($uo->getUserID() == USER_SUPER_ID && (!$u->isSuperUser())) {
                    
78		
                    
79		if ($_GET['task'] == 'activate') {
                    
80			if( !$valt->validate("user_activate") ){
                    
                
 

Source

Language