PageRenderTime 3603ms queryTime 99ms sortTime 1ms getByIdsTime 729ms findMatchingLines 320ms

100+ results results for 'eval $_GET' (3603 ms)

Not the results you expected?
index.php http://showslow.googlecode.com/svn/trunk/ | PHP | 164 lines
                    
18if (array_key_exists('v', $_GET) && array_key_exists('u', $_GET)
                    
19	&& array_key_exists('w', $_GET) && filter_var($_GET['w'], FILTER_VALIDATE_INT) !== false
                    
20	&& array_key_exists('o', $_GET) && filter_var($_GET['o'], FILTER_VALIDATE_FLOAT) !== false
                    
20	&& array_key_exists('o', $_GET) && filter_var($_GET['o'], FILTER_VALIDATE_FLOAT) !== false
                    
21	&& array_key_exists('l', $_GET) && filter_var($_GET['l'], FILTER_VALIDATE_INT) !== false
                    
22	&& array_key_exists('r', $_GET) && filter_var($_GET['r'], FILTER_VALIDATE_INT) !== false
                    
22	&& array_key_exists('r', $_GET) && filter_var($_GET['r'], FILTER_VALIDATE_INT) !== false
                    
23	&& array_key_exists('t', $_GET) && filter_var($_GET['t'], FILTER_VALIDATE_INT) !== false
                    
24	)
                    
72		'pServeScaledImages'				=> 'pScaleImgs',
                    
73		'pSpecifyACacheValidator'			=> 'pCacheValid',
                    
74		'pSpecifyAVaryAcceptEncodingHeader'		=> 'pVaryAE',
                    
91
                    
92		if (array_key_exists($param, $_GET) && $_GET[$param] > 0) {
                    
93			$value = filter_var($_GET[$param], FILTER_VALIDATE_FLOAT);
                    
                
process.php http://clients-oriented-ftp.googlecode.com/svn/trunk/ | PHP | 211 lines
                    
35		$this->check_level = array(9,8,7,0);
                    
36		if (isset($_GET['url']) && isset($_GET['client'])) {
                    
37			/** Do a permissions check for logged in user */
                    
50					if ($_GET['origin'] == 'group') {
                    
51						if (!empty($_GET['group_id'])) {
                    
52							$this->group_id = $_GET['group_id'];
                    
84											'affected_account' => $_GET['client_id'],
                    
85											'affected_account_name' => $_GET['client'],
                    
86											'get_user_real_name' => true,
                    
113		$this->check_level = array(9,8,7,0);
                    
114		if (isset($_GET['files']) && isset($_GET['client'])) {
                    
115			// do a permissions check for logged in user
                    
134		$this->check_level = array(9,8,7);
                    
135		if (isset($_GET['sys_user']) && isset($_GET['file_id'])) {
                    
136			// do a permissions check for logged in user
                    
                
search.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 102 lines
                    
2
                    
3eval( '
                    
4
                    
42	// XOOPS Search module
                    
43	$showcontext = empty( $_GET['showcontext'] ) ? 0 : 1 ;
                    
44	$select4con = $showcontext ? "p.post_text" : "'' AS post_text" ;
                    
                
YumUserController.php http://yii-user-management.googlecode.com/svn/trunk/ | PHP | 388 lines
                    
107		$uid = Yii::app()->user->id;
                    
108		if(isset($_GET['id']))
                    
109			$uid = $_GET['id'];
                    
186			if(Yum::hasModule('role'))
                    
187				$model->roles = Relation::retrieveValues($_POST);
                    
188
                    
242				// Assign the roles and belonging Users to the model
                    
243				$model->roles = Relation::retrieveValues($_POST);
                    
244			}
                    
362
                    
363		if(isset($_GET['YumUser']))
                    
364			$model->attributes = $_GET['YumUser'];
                    
378				$this->_model = YumUser::model()->findByPk($uid);
                    
379			elseif(isset($_GET['id']))
                    
380				$this->_model = YumUser::model()->findByPk($_GET['id']);
                    
                
update.php git://github.com/symphonycms/symphony-2.git | PHP | 554 lines
                    
38
                    
39		if(@eval($config) === false){
                    
40			throw new Exception('Failed to load existing config');
                    
48		header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
                    
49		header('Cache-Control: no-cache, must-revalidate, max-age=0');
                    
50		header('Pragma: no-cache');
                    
83
                    
84	if(isset($_GET['action']) && $_GET['action'] == 'remove'){
                    
85
                    
                
sfForm.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 942 lines
                    
156   * @param array $taintedValues  An array of input values
                    
157   * @param array $taintedFiles   An array of uploaded files (in the $_FILES or $_GET format)
                    
158   */
                    
366
                    
367    $this->mergePreValidator($form->getValidatorSchema()->getPreValidator());
                    
368    $this->mergePostValidator($form->getValidatorSchema()->getPostValidator());
                    
377   */
                    
378  public function mergePreValidator(sfValidatorBase $validator = null)
                    
379  {
                    
384
                    
385    if (is_null($this->validatorSchema->getPreValidator()))
                    
386    {
                    
386    {
                    
387      $this->validatorSchema->setPreValidator($validator);
                    
388    }
                    
                
index.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 386 lines
                    
87    // Notlösung... design als base und popup sollen ganz verschwinden
                    
88    if ($_GET['design']=='base' OR $_GET['design']=='popup' OR $_GET['design']=='ajax' OR $_GET['design']=='print' OR $_GET['design']=='beamer') $frmwrkmode = $_GET['design']; // Set Popupmode via GET (base, popup)
                    
89    if ($_GET['frmwrkmode']) $frmwrkmode = $_GET['frmwrkmode']; // Set Popupmode via GET (base, popup)
                    
116    // Prevent XSS
                    
117    foreach ($_GET as $key => $val) if (!is_array($_GET[$key])) $_GET[$key] = $func->NoHTML($_GET[$key], 1);
                    
118    else foreach ($_GET[$key] as $key2 => $val2) if (!is_array($_GET[$key][$key2])) $_GET[$key][$key2] = $func->NoHTML($_GET[$key][$key2], 1);
                    
136    if (!get_magic_quotes_gpc()) {   // and !get_magic_quotes_runtime()
                    
137        foreach ($_GET as $key => $val) if (!is_array($_GET[$key])) $_GET[$key] = addslashes($_GET[$key]);
                    
138        foreach ($_POST as $key => $val) if (!is_array($_POST[$key])) $_POST[$key] = addslashes($_POST[$key]);
                    
299      // Design switch by URL
                    
300      if ($_GET['design'] and $_GET['design'] != 'popup' and $_GET['design'] != 'base') $auth['design'] = $_GET['design'];
                    
301
                    
304        $auth['design'] = 'simple';
                    
305        if ($_GET['design'] != 'popup' and $_GET['design'] != 'base') $_GET['design'] = 'simple';
                    
306      }
                    
                
MicrosoftMvcValidation.debug.js https://cfx.svn.codeplex.com/svn | JavaScript | 871 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++) {
                    
196    _formElement: null,
                    
197    replaceValidationSummary: false,
                    
198    
                    
                
index.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 324 lines
                    
97	if (!empty($_GET['pauth'])) $pauth = decrypt(urldecode(trim($_GET['pauth'])));
                    
98	else $pauth = (!empty($_GET['proxyuser']) && !empty($_GET['proxypass'])) ? base64_encode($_GET['proxyuser'] . ':' . $_GET['proxypass']) : '';
                    
99}
                    
148
                    
149	if (isset($_GET['user_pass']) && $_GET['user_pass'] == 'on' && !empty($_GET['iuser']) && !empty($_GET['ipass'])) {
                    
150		$Url['user'] = $_GET['iuser'];
                    
213		$_GET['filename'] = urldecode(trim($_GET['filename']));
                    
214		if (strpos($_GET['filename'], '?') !== false) $_GET['filename'] = substr($_GET['filename'], 0, strpos($_GET['filename'], '?'));
                    
215		$_GET['saveto'] = urldecode(trim($_GET['saveto']));
                    
258			!empty($_GET['force_name']) ? $force_name = urldecode($_GET['force_name']) : '';
                    
259			$file = geturl($_GET['host'], $_GET['port'], $_GET['path'], $_GET['referer'], $_GET['cookie'], $_GET['post'], $pathWithName, $_GET['proxy'], $pauth, $auth, $url['scheme']);
                    
260		}
                    
298			$_GET['partSize'] = (isset($_GET['partSize']) && is_numeric($_GET['partSize']) ? $_GET['partSize'] * 1024 * 1024 : false);
                    
299			if (xmail($fromaddr, $_GET['email'], 'File ' . basename($file['file']), 'File: ' . basename($file['file']) . "\r\n" . 'Link: ' . $_GET['link'] . (!empty($_GET['comment']) ? "\r\n" . 'Comments: ' . str_replace (array('\r', '\n'), array("\r", "\n"), $_GET['comment']) : ''), $pathWithName, $_GET['partSize'], ($_GET['partSize'] && !empty($_GET['method']) ? $_GET['method'] : ''))) {
                    
300				printf(lang(11), $_GET['email'], basename($file['file']));
                    
                
Relation.php http://yii-user-management.googlecode.com/svn/trunk/ | PHP | 807 lines
                    
157	// Use {fields} to display all fields delimited by $this->delimiter
                    
158	// Use {myFuncName} to evaluate a user-contributed function specified in the
                    
159	//  $functions array as 'myFuncName'=>'code to be evaluated'. The code for
                    
159	//  $functions array as 'myFuncName'=>'code to be evaluated'. The code for
                    
160	//  these functions are evaluated under the context of the controller
                    
161	//  rendering the current Relation widget ($this refers to the controller).
                    
161	//  rendering the current Relation widget ($this refers to the controller).
                    
162	// Old way, not encouraged anymore: Use {func0} to {funcX} to evaluate user-
                    
163	//  contributed functions specified in the $functions array as a keyless
                    
318
                    
319				// Look for user-contributed functions and evaluate them
                    
320				if($this->functions != array()) 
                    
447
                    
448			return isset($attributeValues) ? $attributeValues : array();
                    
449		}
                    
                
DirectorTest.php git://github.com/silverstripe/sapphire.git | PHP | 612 lines
                    
29
                    
30		$this->originalGet = $_GET;
                    
31		$this->originalSession = $_SESSION;
                    
55
                    
56		$_GET = $this->originalGet;
                    
57		$_SESSION = $this->originalSession;
                    
128
                    
129		// Test evaluating relative urls relative to base (default)
                    
130		$this->assertEquals("$rootURL/mysite/test", Director::absoluteURL("test"));
                    
134
                    
135		// Test evaluting relative urls relative to root
                    
136		$this->assertEquals("$rootURL/test", Director::absoluteURL("test", Director::ROOT));
                    
287		unset($_SESSION['isLive']);
                    
288		unset($_GET['isTest']);
                    
289		unset($_GET['isDev']);
                    
                
formvalidator.php http://joostina.googlecode.com/svn/trunk/ | PHP | 505 lines
                    
106        else {
                    
107            $form_variables = $_GET;
                    
108        }
                    
238        if($bret) {
                    
239            $lessthan = doubleval($command_value);
                    
240            $float_inputval = doubleval($input_value);
                    
256        if($bret) {
                    
257            $greaterthan = doubleval($command_value);
                    
258            $float_inputval = doubleval($input_value);
                    
                
index.php http://freshdns.googlecode.com/svn/trunk/ | PHP | 372 lines
                    
74
                    
75			if(!isset($_GET['q']))
                    
76			{
                    
86		case "livesearch":
                    
87			$records = $manager->searchDomains($_GET['q']);
                    
88			echo $json->encode($records);
                    
96		case "ownerslist":
                    
97			$records = $manager->getListByOwner($_GET['userId']);
                    
98			echo $json->encode($records);
                    
109				{
                    
110					$manager->removeAllRecords($_GET['domainId']);
                    
111					$manager->removeZoneByDomainId($_GET['domainId']);
                    
177			{
                    
178				$manager->removeRecord($_GET['recordId'], $_GET['domainId']);
                    
179
                    
                
entries.php git://github.com/osCommerce/oscommerce.git | PHP | 129 lines
                    
21  <span style="float: left;"><form id="liveSearchForm"><input type="text" id="liveSearchField" name="search" class="searchField fieldTitleAsDefault" title="Search.." /><?php echo osc_draw_button(array('type' => 'button', 'params' => 'onclick="osC_DataTable.reset();"', 'title' => 'Reset')); ?></form></span>
                    
22  <span style="float: right;"><?php echo osc_draw_button(array('href' => osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))) . ' ' . osc_draw_button(array('href' => osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&action=entry_save'), 'icon' => 'plus', 'title' => OSCOM::getDef('button_insert'))); ?></span>
                    
23</div>
                    
44    <tr>
                    
45      <th align="right" colspan="3"><?php echo '<input type="image" src="' . osc_icon_raw('trash.png') . '" title="' . OSCOM::getDef('icon_trash') . '" onclick="document.batch.action=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&action=batch_delete_entries') . '\';" />'; ?></th>
                    
46      <th align="center" width="20"><?php echo osc_draw_checkbox_field('batchFlag', null, null, 'onclick="flagCheckboxes(this);"'); ?></th>
                    
67  if ( $.cookie(moduleParamsCookieName) != null ) {
                    
68    var p = $.secureEvalJSON($.cookie(moduleParamsCookieName));
                    
69    moduleParams.page = parseInt(p.page);
                    
73  var dataTableName = 'productTypesAssignmentsDataTable';
                    
74  var dataTableDataURL = '<?php echo osc_href_link_admin('rpc.php', $osC_Template->getModule() . '=' . (int)$_GET[$osC_Template->getModule()] . '&action=getAllAssignments'); ?>';
                    
75
                    
75
                    
76  var entryEditLink = '<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int)$_GET[$osC_Template->getModule()] . '&aID=ACTIONID&action=entry_save'); ?>';
                    
77  var entryEditLinkIcon = '<?php echo osc_icon('edit.png'); ?>';
                    
                
functions.php git://github.com/digibomb/PressWork.git | PHP | 1155 lines
                    
22	function pw_single_save($option, $value) {
                    
23		$savevalues = get_option(PW_THEME_FILE);
                    
24		$savevalues[$option] = esc_attr($value);
                    
24		$savevalues[$option] = esc_attr($value);
                    
25		update_option(PW_THEME_FILE, $savevalues);
                    
26	}
                    
33 */	
                    
34if(is_admin() && isset($_GET['activated']) && $pagenow == "themes.php" ) {
                    
35	global $pw_welcome;
                    
102// all the includes
                    
103if(!empty($_GET['action']) && $_GET['action']=="pw-activate" && empty($pw_welcome)) 
                    
104	include(get_template_directory().'/admin/inc/welcome.php' );
                    
                
SpecialUserFuncs.php https://code.google.com/p/enanocms/ | PHP | 2024 lines
                    
54	// Determine which level we're going up to
                    
55	$level = ( isset($_GET['level']) && in_array($_GET['level'], array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') ) ) ? intval($_GET['level']) : USER_LEVEL_MEMBER;
                    
56	if ( isset($_POST['login']) )
                    
204 				{
                    
205 					eval($cmd);
                    
206 				}
                    
228 				// lol DeMorgan'd
                    
229 				$crypto_disable = ( isset($_GET['use_crypt']) && $_GET['use_crypt'] == '0' );
                    
230 				
                    
296				// ... only if we have a return_to destination.
                    
297				$get_fwd = $_GET;
                    
298				unset($get_fwd['do']);
                    
                
index.php https://code.google.com/p/enanocms/ | PHP | 703 lines
                    
69		$page->send_headers = true;
                    
70		$page->allow_redir = ( !isset($_GET['redirect']) || (isset($_GET['redirect']) && $_GET['redirect'] !== 'no') );
                    
71		$pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : '';
                    
78		require_once(ENANO_ROOT.'/includes/pageutils.php');
                    
79		$sub = ( isset ($_GET['sub']) ) ? $_GET['sub'] : false;
                    
80		switch($sub)
                    
84				$act = ( isset ($_GET['action']) ) ? $_GET['action'] : false;
                    
85				$id = ( isset ($_GET['id']) ) ? intval($_GET['id']) : -1;
                    
86				echo PageUtils::comments_html($paths->page_id, $paths->namespace, $act, Array('id'=>$id));
                    
120			case 'editcomment':
                    
121				if(!isset($_GET['id']) || ( isset($_GET['id']) && !preg_match('#^([0-9]+)$#', $_GET['id']) )) { echo '<p>Invalid comment ID</p>'; break; }
                    
122				$q = $db->sql_query('SELECT subject,comment_data,comment_id FROM '.table_prefix.'comments WHERE comment_id='.$_GET['id']);
                    
195		{
                    
196			$revid = ( isset($_GET['revid']) ) ? intval($_GET['revid']) : 0;
                    
197			$page = new PageProcessor($paths->page_id, $paths->namespace, $revid);
                    
                
ajax.php https://code.google.com/p/enanocms/ | PHP | 785 lines
                    
29		header('Content-type: text/plain');
                    
30		$password = ( isset($_GET['pagepass']) ) ? $_GET['pagepass'] : false;
                    
31		$revid = ( isset($_GET['revid']) ) ? intval($_GET['revid']) : 0;
                    
91			$return['draft_time'] = enano_date(ED_DATE | ED_TIME, intval($row['time_id']));
                    
92			if ( isset($_GET['get_draft']) && @$_GET['get_draft'] === '1' )
                    
93			{
                    
168	case "getpage":
                    
169		// echo PageUtils::getpage($paths->page, false, ( (isset($_GET['oldid'])) ? $_GET['oldid'] : false ));
                    
170		$output = new Output_Striptease();
                    
171		
                    
172		$revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
                    
173		$page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id );
                    
177		$page->password = $pagepass;
                    
178		$page->allow_redir = ( !isset($_GET['redirect']) || (isset($_GET['redirect']) && $_GET['redirect'] !== 'no') );
                    
179					
                    
                
CacheHelperTest.php git://github.com/cakephp/cakephp.git | PHP | 658 lines
                    
46		$this->layout = 'cache_layout';
                    
47		$this->set('variable', 'variableValue');
                    
48		$this->set('superman', 'clark kent');
                    
78		parent::setUp();
                    
79		$_GET = array();
                    
80		$request = new CakeRequest();
                    
                
admin_editeventdetails.php http://bitsand.googlecode.com/svn/trunk/ | PHP | 1 lines
                    
1<?php
/*
Bitsand - a web-based booking system for LRP events
Copyright (C) 2006 - 2011 The Bitsand Project (http://bitsand.googlecode.com/)

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 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/


include ('../inc/inc_head_db.php');
include ('../inc/inc_admin.php');
include ('../inc/inc_head_html.php');
include ('../inc/inc_forms.php');
include ('../inc/inc_commonqueries.php');

$eventid = (int)htmlentities(stripslashes($_GET['EventID']));

if ($_POST ['btnSubmit'] != '' && CheckReferrer ('admin_editeventdetails.php')) {
//print_r($_POST);
echo "<br/>";
	if ($eventid > 0)
	{
		//Update
		$updatequery = "UPDATE {$db_prefix}events set ";
		$updatequery.= "evEventName = '".ba_db_real_escape_string($link, $_POST ['txtEventName'])."', ";
		$updatequery.= "evEventDetails = '".ba_db_real_escape_string($link, $_POST ['txtEventDetails'])."', ";
		$updatequery.= "evEventDescription = '".ba_db_real_escape_string($link, $_POST ['txtEventDescription'])."', ";
		$updatequery.= "evPlayerSpaces = '".(int)ba_db_real_escape_string($link, $_POST ['txtPlayerSpaces'])."', ";
		$updatequery.= "evMonsterSpaces = '".(int)ba_db_real_escape_string($link, $_POST ['txtMonsterSpaces'])."', ";
		$updatequery.= "evStaffSpaces = '".(int)ba_db_real_escape_string($link, $_POST ['txtStaffSpaces'])."', ";
		$updatequery.= "evTotalSpaces = '".(int)ba_db_real_escape_string($link, $_POST ['txtTotalSpaces'])."', ";
		$updatequery.= "evPlayerBunks = '".(int)ba_db_real_escape_string($link, $_POST ['txtPlayerBunks'])."', ";
		$updatequery.= "evMonsterBunks = '".(int)ba_db_real_escape_string($link, $_POST ['txtMonsterBunks'])."', ";
		$updatequery.= "evStaffBunks = '".(int)ba_db_real_escape_string($link, $_POST ['txtStaffBunks'])."', ";
		$updatequery.= "evTotalBunks = '".(int)ba_db_real_escape_string($link, $_POST ['txtTotalBunks'])."', ";
		$updatequery.= "evAllowMonsterBookings = ".setBoolValue($_POST ['chkAllowMonsterBookings']).", ";
		$updatequery.= "evUseQueue = ".setBoolValue($_POST ['chkUseQueue']).", ";
		$updatequery.= "evEventDate = '".(int)$_POST ['selEventDateYear']."-".(int)$_POST ['selEventDateMonth']."-".(int)$_POST ['selEventDateDate']."', ";
		$updatequery.= "evBookingsOpen = '".(int)$_POST ['selBookingsOpenYear']."-".(int)$_POST ['selBookingsOpenMonth']."-".(int)$_POST ['selBookingsOpenDate']."', ";
		$updatequery.= "evBookingsClose = '".$_POST ['selBookingsCloseYear']."-".$_POST ['selBookingsCloseMonth']."-".$_POST ['selBookingsCloseDate']."' ";
		$updatequery .= "WHERE evEventID = $eventid";
		ba_db_query ($link, $updatequery);
	}
	else
	{
		//Insert
		$insertquery = "INSERT INTO {$db_prefix}events (";
		$insertquery.= "evEventName, evEventDetails, evEventDescription, evPlayerSpaces, evMonsterSpaces, evStaffSpaces, evTotalSpaces, ";
		$insertquery.= "evPlayerBunks, evMonsterBunks, evStaffBunks, evTotalBunks, evAllowMonsterBookings, evUseQueue, evEventDate, evBookingsOpen, evBookingsClose)";
		$insertquery.= "VALUES (";
		$insertquery.= "'".ba_db_real_escape_string($link, $_POST ['txtEventName'])."', ";
		$insertquery.= "'".ba_db_real_escape_string($link, $_POST ['txtEventDetails'])."', ";
		$insertquery.= "'".ba_db_real_escape_string($link, $_POST ['txtEventDescription'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtPlayerSpaces'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtMonsterSpaces'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtStaffSpaces'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtTotalSpaces'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtPlayerBunks'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtMonsterBunks'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtStaffBunks'])."', ";
		$insertquery.= "'".(int)ba_db_real_escape_string($link, $_POST ['txtTotalBunks'])."', ";
		$insertquery.= setBoolValue($_POST ['chkAllowMonsterBookings']).", ";
		$insertquery.= setBoolValue($_POST ['chkUseQueue']).", ";
		$insertquery.= "'".(int)$_POST ['selEventDateYear']."-".(int)$_POST ['selEventDateMonth']."-".(int)$_POST ['selEventDateDate']."', ";
		$insertquery.= "'".(int)$_POST ['selBookingsOpenYear']."-".(int)$_POST ['selBookingsOpenMonth']."-".(int)$_POST ['selBookingsOpenDate']."', ";
		$insertquery.= "'".(int)$_POST ['selBookingsCloseYear']."-".(int)$_POST ['selBookingsCloseMonth']."-".(int)$_POST ['selBookingsCloseDate']."' ";
		$insertquery .= ")";
		ba_db_query ($link, $insertquery);
		$eventidsql = "select max(evEventID) as newID from {$db_prefix}events";
		$result = ba_db_query ($link, $eventidsql);
		$eventidarray = ba_db_fetch_assoc($result);
		$eventid = $eventidarray['newID'];

	}

	//Deal with items
	$deletesql = "delete from {$db_prefix}items where itEventID = $eventid and itItemID in(".ba_db_real_escape_string($link, $_POST['hRemovedItemIDs']).")";
	ba_db_query ($link, $deletesql);

	foreach ($_POST as $key => $value) {
		if (substr ($key, 0, 7) == "hItemID") {
			$iItemID = (int)$value;
			$ticket = setBoolValue($_POST ["chkTicket{$value}"]);
			$meal = setBoolValue($_POST ["chkMeal{$value}"]);
			$bunk = setBoolValue($_POST ["chkBunk{$value}"]);
			$allowmultiple = setBoolValue($_POST ["chkAllowMultiple{$value}"]);
			$mandatory = setBoolValue($_POST ["chkMandatory{$value}"]);
			$itemdescription = ba_db_real_escape_string($link, $_POST ["txtItemDescription{$value}"]);
			$availability = ba_db_real_escape_string($link, $_POST ["cboAvailability{$value}"]);
			$availablefrom = ba_db_real_escape_string($link, $_POST ["txtAvailableFrom{$value}"]);
			$availableto = ba_db_real_escape_string($link, $_POST ["txtAvailableTo{$value}"]);
			$itemcost = sanitiseAmount($_POST ["txtItemCost{$value}"]);

			if ($iItemID > 0)
			{
				$updatequery = "UPDATE {$db_prefix}items set ";
				$updatequery .=  "itTicket = $ticket, ";
				$updatequery .=  "itMeal = $meal, ";
				$updatequery .=  "itBunk = $bunk, ";
				$updatequery .=  "itAllowMultiple = $allowmultiple, ";
				$updatequery .=  "itMandatory = $mandatory, ";
				$updatequery .=  "itDescription = '$itemdescription', ";
				$updatequery .=  "itAvailability = '$availability', ";
				$updatequery .=  "itAvailableFrom = '$availablefrom', ";
				$updatequery .=  "itAvailableTo = '$availableto', ";
				$updatequery .=  "itItemCost = $itemcost ";
				$updatequery .= "WHERE itItemID = $iItemID";
				ba_db_query ($link, $updatequery);

				$itemidlist .= ",".$iItemID;
			}
			else
			{
				$insertquery = "insert into {$db_prefix}items ";
				$insertquery .= "(itTicket, itMeal, itBunk, itMandatory, itAllowMultiple, itDescription, itAvailability, itAvailableFrom, itAvailableTo, itItemCost, itEventID)";
				$insertquery .= " VALUES ";
				$insertquery .=  "($ticket, $meal, $bunk, $mandatory, $allowmultiple, '$itemdescription', '$availability', '$availablefrom', '$availableto',$itemcost, $eventid) ";
				ba_db_query ($link, $insertquery);
			}


		}
	}

}

if ($eventid > 0) { $eventinfo = getEventDetails($eventid, 0, 'admin.php'); }


?>

<script type="text/javascript" src="../inc/wysiwyg/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="../inc/wysiwyg/wysiwyg.image.js"></script>
<script type="text/javascript" src="../inc/wysiwyg/wysiwyg.link.js"></script>
<script type="text/javascript" src="../inc/wysiwyg/wysiwyg.table.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('#txtEventDetails').wysiwyg({
	initialContent: "Event Details",
	controls: {
		html: { visible : true }
	}
	});
	$('#txtEventDescription').wysiwyg({
	initialContent: "Event Description",
	controls: {
		html: { visible : true }
	}
	});
});


var newitemid = 0;

function pad(number, length) {

	var str = '' + number;
	while (str.length < length) {
		str = '0' + str;
	}

	return str;

}

function addnewitem() {
$('#itemtable tr:last').after(generateitemrow('','All',0,0,0,getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 0,0,0));
}

function removeitem(itemid) {
	$('#rowItem' + itemid).remove();
	$('#hRemovedItemIDs').val($('#hRemovedItemIDs').val() + "," + itemid);
}

function adddefaultitems()
{
	var onemonthearly = getselecteddate('BookingsClose');
	onemonthearly.setMonth(onemonthearly.getMonth() - 1);
	var early_date = onemonthearly.getDate();
	var early_month = onemonthearly.getMonth();
	early_month++;
	var early_year = onemonthearly.getFullYear();
    var onemonthearlystring = early_year + "-" + pad(early_month, 2) + "-" +pad(early_date, 2);
	$('#itemtable tr:last').after(generateitemrow('Player Ticket (Early)','Player',1,0,0,getselecteddateasstring('BookingsOpen'), onemonthearlystring, 35, 0,1));

	onemonthearly.setDate(onemonthearly.getDate() + 1);
	var early_date = onemonthearly.getDate();
	var early_month = onemonthearly.getMonth();
	early_month++;
	var early_year = onemonthearly.getFullYear();
	var onemonthearlystring = early_year + "-" + pad(early_month, 2) + "-" +pad(early_date, 2);
	$('#itemtable tr:last').after(generateitemrow('Player Ticket (Late)','Player',1,0,0, onemonthearlystring, getselecteddateasstring('BookingsClose'), 45, 0,1));
	$('#itemtable tr:last').after(generateitemrow('Monster Ticket','Monster',1,0,0, getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 0, 0,1));
	$('#itemtable tr:last').after(generateitemrow('Staff Ticket','Staff',1,0,0, getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 0, 0,1));
	$('#itemtable tr:last').after(generateitemrow('Player Meal','Player',0,1,0, getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 20, 0));
	$('#itemtable tr:last').after(generateitemrow('Monster Meal','Monster',0,1,0, getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 10, 0));
	$('#itemtable tr:last').after(generateitemrow('Staff Meal','Staff',0,1,0, getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 10, 0));
	$('#itemtable tr:last').after(generateitemrow('Bunk','All',0,0,1, getselecteddateasstring('BookingsOpen'), getselecteddateasstring('BookingsClose'), 0, 0));

	$('#btndefaultitemset').hide();
}

function generateitemrow(description, availability, ticket, meal, bunk, availablefrom, availableto, itemcost, allowmultiple, mandatory) {
	newitemid--;
	var itemid = newitemid;
	var rowcontents = "<tr id='rowItem" + itemid + "'>";
	rowcontents += "<td><input type='hidden' name='hItemID"+ itemid +"' value='" + itemid + "'/><input type='text' name='txtItemDescription"+ itemid +"' value='" + description + "' /></td>";
	rowcontents += "<td><select name='cboAvailability"+itemid+"'>";
	rowcontents += "<option "; if (availability == 'All') { rowcontents += 'selected ';} rowcontents += "value='All'>All</option>";
	rowcontents += "<option "; if (availability == 'Player') { rowcontents += 'selected ';} rowcontents += "value='Player'>Player</option>";
	rowcontents += "<option "; if (availability == 'Monster') { rowcontents += 'selected ';} rowcontents += "value='Monster'>Monster</option>";
	rowcontents += "<option "; if (availability == 'Staff') { rowcontents += 'selected ';} rowcontents += "value='Staff'>Staff</option>";
	rowcontents += "</select></td>";
	rowcontents += "<td><input type='checkbox' name='chkTicket"+ itemid +"'";
	if (ticket) { rowcontents += " checked";}
	rowcontents += "/></td>";
	rowcontents += "<td><input type='checkbox' name='chkMeal"+ itemid +"'";
	if (meal) { rowcontents += " checked";}
	rowcontents += "/></td>";
	rowcontents += "<td><input type='checkbox' name='chkBunk"+ itemid +"'";
	if (bunk) { rowcontents += " checked";}
	rowcontents += "/></td>";
	rowcontents += "<td><input size=10 type='text' name='txtAvailableFrom"+ itemid +"' value='" + availablefrom + "' /></td>";
	rowcontents += "<td><input size=10 type='text' name='txtAvailableTo"+ itemid +"' value='" + availableto + "' /></td>";
	rowcontents += "<td><input size=8 type='text' name='txtItemCost"+ itemid +"' value='" + itemcost + "' /></td>";
	rowcontents += "<td><input type='checkbox' name='chkAllowMultiple"+ itemid +"'";
	if (allowmultiple) { rowcontents += " checked";}
	rowcontents += "/></td>";
	rowcontents += "<td><input type='checkbox' name='chkMandatory"+ itemid +"'";
	if (mandatory) { rowcontents += " checked";}
	rowcontents += "/></td>";
	rowcontents += "<td><input type='button' value='Remove' onClick='removeitem(" + itemid + ")' /></td>";
	rowcontents += "</tr>";
	return rowcontents;
}

function getselecteddateasstring(name)
{
	return $("select[name=sel" + name + "Year]").val() + "-" + $("select[name=sel" + name + "Month]").val() + "-" + $("select[name=sel" + name + "Date]").val();
}

function getselecteddate(name)
{
	return new Date($("select[name=sel" + name + "Year]").val(), $("select[name=sel" + name + "Month]").val() - 1, $("select[name=sel" + name + "Date]").val());
}
</script>


<h1><?php echo TITLE?> - Edit Event Details</h1>

<?php
if ($eventid == 0)
{
	echo "<p><a href = 'admin.php'>Admin</a></p>\n";
	echo "<h2>New Event</h2>\n";
}
else
{
	echo "<p><a href = 'admin_manageevent.php?EventID=".$eventinfo['evEventID']."'>Return to event management for - ".htmlentities (stripslashes ($eventinfo['evEventName']))."</a></p>\n";
	echo "<h2>".htmlentities (stripslashes ($eventinfo['evEventName']))."</h2>\n";
}

?>

<form action='admin_editeventdetails.php?EventID=<?php echo $eventinfo['evEventID'];?>' method=POST>
<table>
<tr><td>Event Name</td><td><input type='text' name='txtEventName' value="<?php echo htmlentities(stripslashes ($eventinfo['evEventName']));?>" /></td></tr>
<tr><td>Event Description (HTML allowed)</td><td><textarea name='txtEventDescription' id= 'txtEventDescription' class="eventinfo"><?php echo htmlentities(stripslashes ($eventinfo['evEventDescription']));?></textarea></td></tr>
<tr><td>Event Details (HTML allowed)</td><td><textarea name='txtEventDetails' id='txtEventDetails' class="eventinfo"><?php echo htmlentities(stripslashes ($eventinfo['evEventDetails']));?></textarea></td></tr>
<tr><td>Event Date</td><td><?php DatePickerFullDate("EventDate", $eventinfo['evEventDate'], 3,2)?></td></tr>
<tr><td title="bookings will be open from 00:01 on this date">Bookings Open</td><td><?php DatePickerFullDate("BookingsOpen", $eventinfo['evBookingsOpe
                    
                
ControllerTestCase.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
184        $_SESSION = array();
                    
185        $_GET     = array();
                    
186        $_POST    = array();
                    
255        $content    = $this->response->outputBody();
                    
256        if (!$constraint->evaluate($content, __FUNCTION__)) {
                    
257            $constraint->fail($path, $message);
                    
273        $content    = $this->response->outputBody();
                    
274        if (!$constraint->evaluate($content, __FUNCTION__)) {
                    
275            $constraint->fail($path, $message);
                    
292        $content    = $this->response->outputBody();
                    
293        if (!$constraint->evaluate($content, __FUNCTION__, $match)) {
                    
294            $constraint->fail($path, $message);
                    
311        $content    = $this->response->outputBody();
                    
312        if (!$constraint->evaluate($content, __FUNCTION__, $match)) {
                    
313            $constraint->fail($path, $message);
                    
                
to-prevent-sql-injection.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 112 lines
                    
59<LI class=alt><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN class=keyword>if</SPAN><SPAN>(is_bool($Value)){ &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
60<LI><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN class=keyword>return</SPAN><SPAN>&nbsp;$Value?$</SPAN><SPAN class=keyword>this</SPAN><SPAN>-&gt;_oConnect-&gt;getTrueValue():&nbsp;$</SPAN><SPAN class=keyword>this</SPAN><SPAN>-&gt;_oConnect-&gt;getFalseValue(); &nbsp;&nbsp;</SPAN></SPAN></LI>
                    
61<LI class=alt><SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;</SPAN></LI>
                    
72		<p><DIV class=dp-highlighter><OL class=dp-j>
                    
73<LI class=alt><SPAN><SPAN>$oUser=UserModel::F('user_id=?',$_GET['id'])-&gt;getOne();&nbsp;&nbsp;</SPAN></SPAN></LI></OL></DIV></p>
                    
74		<p>
                    
                
file.php http://xvweb.googlecode.com/svn/trunk/ | PHP | 182 lines
                    
16***************************************************************************/
                    
17header("Cache-Control: no-cache, must-revalidate");
                    
18if(!isset($XVwebEngine)){
                    
33	
                    
34	if(isset($_GET['Delete']) && $_GET['SIDCheck'] == $GLOBALS['XVwebEngine']->Session->GetSID()){
                    
35		try {
                    
69		$FileInfo = $XVwebEngine->FilesClass()->GetFile($IDFile, true);
                    
70		if($XVwebEngine->Plugins()->Menager()->event("onPreDownload")) eval($XVwebEngine->Plugins()->Menager()->event("onPreDownload"));
                    
71		
                    
85		@set_time_limit(0);
                    
86		if($viewFileHeader=="" && $IsImage && ((isset($_GET['width']) && is_numeric($_GET['width'])) or (isset($_GET['height']) && is_numeric($_GET['height'])))){
                    
87		$Old = $FileLocation;
                    
87		$Old = $FileLocation;
                    
88		$FileLocation = Cache_dir.$FileInfo['MD5File'].$FileInfo['SHA1File'].(isset($_GET['width']) ? $_GET['width'] :"").'x'.(isset($_GET['height']) ? $_GET['height'] :"").'.'.$FileInfo['Extension'];
                    
89		if(!file_exists($FileLocation)){
                    
                
categories.php http://daocart.googlecode.com/svn/trunk/ | PHP | 1026 lines
                    
28      $action='';
                    
29      zen_redirect(zen_href_link(FILENAME_CATEGORIES,  'cPath=' . $_GET['cPath'] . ((isset($_GET['pID']) and !empty($_GET['pID'])) ? '&pID=' . $_GET['pID'] : '') . ((isset($_GET['page']) and !empty($_GET['page'])) ? '&page=' . $_GET['page'] : '')));
                    
30      break;
                    
33      $action='';
                    
34      zen_redirect(zen_href_link(FILENAME_CATEGORIES,  'cPath=' . $_GET['cPath'] . ((isset($_GET['pID']) and !empty($_GET['pID'])) ? '&pID=' . $_GET['pID'] : '') . ((isset($_GET['page']) and !empty($_GET['page'])) ? '&page=' . $_GET['page'] : '')));
                    
35      break;
                    
91      }
                    
92      zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&cID=' . $_GET['cID']));
                    
93      break;
                    
101
                    
102      zen_remove_restrict_sub_categories($_GET['cID'], $_GET['type_id']);
                    
103
                    
114
                    
115      zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&pID=' . $_GET['pID'] . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')));
                    
116      break;
                    
                
viewer.class.php https://bitbucket.org/chamilo/chamilo-app-internship-organizer-dev/ | PHP | 401 lines
                    
44    const TAB_PUBLICATIONS = 6;
                    
45    const TAB_EVALUATIONS = 7;
                    
46    
                    
62        
                    
63        $agreement_id = $_GET[self :: PARAM_AGREEMENT_ID];
                    
64        
                    
122        
                    
123        // Evaluations table tab
                    
124        $parameters[DynamicTabsRenderer :: PARAM_SELECTED_TAB] = self :: TAB_EVALUATIONS;
                    
126                Survey :: get_type_name())));
                    
127        $tabs->add_tab(new DynamicContentTab(self :: TAB_EVALUATIONS, Translation :: get('InternshipOrganizerEvaluations'), Theme :: get_image_path(__NAMESPACE__) . 'place_mini_evaluation.png', $table->as_html()));
                    
128        
                    
                
write.php http://xvweb.googlecode.com/svn/trunk/ | PHP | 297 lines
                    
42	else{
                    
43		$URLArticlePrefix = $XVwebEngine->ReadPrefix($_GET['xv-path']);
                    
44		if($XVwebEngine->Plugins()->Menager()->prefix(($URLArticlePrefix)))
                    
54
                    
55if(isset($_GET['settings']) && is_numeric($_GET['settings'])){
                    
56	$XVwebEngine->ArticleFooIDinArticleIndex = $_GET['settings'];
                    
73	if(!empty($_POST['urlpath']) && (xvPerm('MoveArticle'))){
                    
74		$URLFrom = $XVwebEngine->IDtoURL($_GET['settings']);
                    
75		$URLTo = $XVwebEngine->AddSlashesStartAndEnd($_POST['urlpath']);
                    
91		if($XVwebEngine->ReadArticleIndexOut['Blocked'] != $BlockResult)
                    
92		$XVwebEngine->EditArticle()->BlockArticle($_GET['settings'], $BlockResult, (isset($_POST['block']['SubArticles']) ? "yes" : "no" ));
                    
93	}
                    
218
                    
219if(isset($_GET['Edit']) && is_numeric($_GET['id'])){
                    
220		if($XVwebEngine->Config("config")->find("config disable edit")->text() == "true" && !xvPerm('AdminPanel')){
                    
                
export.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 90 lines
                    
5
                    
6switch($_GET['step']) {
                    
7
                    
9	case 10:	
                    
10	if (!$_POST['action'] and $_GET['userid']) $_POST['action'][$_GET['userid']] = 1;
                    
11
                    
14			header('Cache-control: private');
                    
15			header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
                    
16			header('Content-Description: File Transfer');
                    
32	case 11:
                    
33	if (!$_POST['action'] and $_GET['userid']) $_POST['action'][$_GET['userid']] = 1;
                    
34
                    
                
MicrosoftMvcAjax.debug.js git://github.com/AArnott/dotnetopenid.git | JavaScript | 1208 lines
                    
152
                    
153Sys.Mvc.FieldValidation = function Sys_Mvc_FieldValidation(formValidation, fieldElements, validationMessageElement, replaceValidationMessageContents) {
                    
154    /// <param name="formValidation" type="Sys.Mvc.FormValidation">
                    
159    /// </param>
                    
160    /// <param name="replaceValidationMessageContents" type="Boolean">
                    
161    /// </param>
                    
171    /// </field>
                    
172    /// <field name="_validationMessageValidCss" type="String" static="true">
                    
173    /// </field>
                    
187    /// </field>
                    
188    /// <field name="_replaceValidationMessageContents" type="Boolean">
                    
189    /// </field>
                    
198    this._validationMessageElement = validationMessageElement;
                    
199    this._replaceValidationMessageContents = replaceValidationMessageContents;
                    
200    this._onBlurHandler = Function.createDelegate(this, this._element_OnBlur);
                    
                
fileupload.php http://pivotx-sqlite.googlecode.com/svn/trunk/ | PHP | 224 lines
                    
21header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
                    
22header("Cache-Control: no-store, no-cache, must-revalidate");
                    
23header("Cache-Control: post-check=0, pre-check=0", false);
                    
25
                    
26if (($_COOKIE['PHPSESSID'] == '') && ($_GET['sess'] != '')) {
                    
27    session_id($_GET['sess']);
                    
39
                    
40switch ($_GET['type']) {
                    
41    case 'image':
                    
49
                    
50if (isset($_GET['path']) && ($_GET['path'] != '')) {
                    
51    /* Using same user level as in fileOperations (in lib.php) */
                    
53
                    
54    $path = $_GET['path'];
                    
55
                    
                
ZurmoWalkthroughBaseTest.php https://bitbucket.org/zurmo/zurmo/ | PHP | 757 lines
                    
48            Yii::app()->clientScript->reset();
                    
49            $_GET     = null;
                    
50            $_REQUEST = null;
                    
62            Yii::app()->user->clearStates(); //reset session.
                    
63            Yii::app()->language = Yii::app()->getConfigLanguageValue();
                    
64            Yii::app()->timeZoneHelper->setTimeZone(Yii::app()->getConfigTimeZoneValue());
                    
271        {
                    
272            $_GET = array();
                    
273        }
                    
279            {
                    
280                $_GET[$key] = $value;
                    
281            }
                    
                
add_cat.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 94 lines
                    
17
                    
18switch($_GET["step"]) {
                    
19	
                    
31					$faq_error['cat_caption'] = t('Dieser Kategoriename existiert bereits');
                    
32					$_GET["step"] = 1;
                    
33				}
                    
40			
                    
41			eval($error);
                    
42			
                    
42			
                    
43			$_GET["step"] = 1;
                    
44			
                    
51	
                    
52switch($_GET["step"]) {
                    
53			
                    
                
PluploadAction.php https://bitbucket.org/dinhtrung/yiicorecms/ | PHP | 145 lines
                    
45          header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
                    
46          header("Cache-Control: no-store, no-cache, must-revalidate");
                    
47          header("Cache-Control: post-check=0, pre-check=0", false);
                    
48          header("Pragma: no-cache");
                    
49          if (is_null($this->targetDir)) $this->targetDir = isset($_GET["targetDir"]) ? urldecode($_GET["targetDir"]) : sys_get_temp_dir();
                    
50			Yii::log("Upload directory: " . $this->targetDir, "trace");
                    
                
index.php http://kandidat-cms.googlecode.com/svn/trunk/ | PHP | 84 lines
                    
22@$subcatpage = preg_replace('/[^a-z0-9-_]/iu','',$_REQUEST['subcatpage']);
                    
23foreach ($_GET as $var => $secvalue) { if((preg_match ('/<[^>]*script*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*object*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*iframe*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*applet*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*meta*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*style*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*form*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*img*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*onmouseover*\"?[^>]*>/iu', $secvalue)) || (preg_match ('/\([^>]*\"?[^)]*\)/iu', $secvalue)) || (preg_match ('/\"/iu', $secvalue))) { die('BAD YOUR CODE'); exit; }}
                    
24foreach ($_POST as $secvalue) { if((preg_match ('/<[^>]*script *\"?[^>]*>/iu', $secvalue)) || (preg_match ('/<[^>]*style*\"?[^>]*>/iu', $secvalue))) { die('BAD YOUR CODE'); exit; }}
                    
82$lnav=linkator($whatpage, $catpage, $subcatpage, $sitetitle);
                    
83eval('?>'.$incl);
                    
84
                    
                
moment_viewer.class.php https://bitbucket.org/chamilo/chamilo-app-internship-organizer-dev/ | PHP | 193 lines
                    
38    const TAB_PUBLICATIONS = 1;
                    
39    const TAB_EVALUATIONS = 2;
                    
40    
                    
46        
                    
47        $moment_id = $_GET[self :: PARAM_MOMENT_ID];
                    
48        
                    
117        
                    
118        $parameters[DynamicTabsRenderer :: PARAM_SELECTED_TAB] = self :: TAB_EVALUATIONS;
                    
119        $table = new InternshipOrganizerPublicationTable($this, $parameters, $this->get_publications_condition(array(
                    
120                Survey :: get_type_name())));
                    
121        $tabs->add_tab(new DynamicContentTab(self :: TAB_EVALUATIONS, Translation :: get('InternshipOrganizerEvaluations'), Theme :: get_image_path(__NAMESPACE__) . 'place_mini_evaluation.png', $table->as_html()));
                    
122        
                    
                
ShipmentCosting.php http://chronique.googlecode.com/svn/ | PHP | 716 lines
                    
13
                    
14if (isset($_GET['NewShipment']) AND $_GET['NewShipment']=='Yes'){
                    
15	unset($_SESSION['Shipment']->LineItems);
                    
18
                    
19if (!isset($_GET['SelectedShipment'])){
                    
20
                    
35							ON shipments.supplierid = suppliers.supplierid
                    
36						WHERE shipments.shiptref = '" . $_GET['SelectedShipment'] . "'";
                    
37
                    
37
                    
38$ErrMsg = _('Shipment').' '. $_GET['SelectedShipment'] . ' ' . _('cannot be retrieved because a database error occurred');
                    
39$GetShiptHdrResult = DB_query($ShipmentHeaderSQL,$db, $ErrMsg);
                    
41	echo '<br />';
                    
42	prnMsg( _('Shipment') . ' ' . $_GET['SelectedShipment'] . ' ' . _('could not be located in the database') , 'error');
                    
43	include ('includes/footer.inc');
                    
                
MonoBookCBT.php https://code.google.com/p/alfresco-php-sdk/ | PHP | 1390 lines
                    
66			
                    
67			wfProfileIn( "$fname-eval" );
                    
68			$text = eval( $compiled );
                    
68			$text = eval( $compiled );
                    
69			wfProfileOut( "$fname-eval" );
                    
70		}
                    
89		if ( $wgRequest->wasPosted() || 
                    
90				count( array_diff( array_keys( $_GET ), array( 'title', 'useskin', 'recompile' ) ) ) != 0 ) 
                    
91		{
                    
                
stat.php http://openacd.googlecode.com/svn/trunk/ | PHP | 609 lines
                    
3
                    
4    $xls = trim ($_GET['xls']);
                    
5    $xlstype = trim ($_GET['type']);
                    
15
                    
16    if($xls==1) $_POST=$_GET;
                    
17    
                    
37    header("Expires: 0");
                    
38    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
                    
39    header("Content-Type: application/force-download");
                    
                
Plugin.php https://code.google.com/p/sabredav/ | PHP | 490 lines
                    
25     *
                    
26     * The evaluation order is reversed. The last item in the list gets
                    
27     * precendence.
                    
110
                    
111        // We're not using straight-up $_GET, because we want everything to be
                    
112        // unit testable.
                    
                
getwork.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 504 lines
                    
12
                    
13$is_json = isset($_GET['f']) && $_GET['f'] == 'json';
                    
14$location = $_GET['location'];
                    
33$is_done = false;
                    
34if (!array_key_exists('freedisk', $_GET) || (float)$_GET['freedisk'] > 0.1) {
                    
35    // See if there is an update.
                    
114                        header('Content-type: text/plain');
                    
115                    header("Cache-Control: no-cache, must-revalidate");
                    
116                    header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
                    
210            $testerInfo['ver'] = $_GET['ver'];
                    
211            $testerInfo['freedisk'] = @$_GET['freedisk'];
                    
212            $testerInfo['ie'] = @$_GET['ie'];
                    
339        $fileBase = '';
                    
340        if( isset($_GET['software']) && strlen($_GET['software']) )
                    
341            $fileBase = trim($_GET['software']);
                    
                
form_demandes.php http://gespac.googlecode.com/svn/trunk/ | PHP | 508 lines
                    
6
                    
7	$id = $_GET['id'];
                    
8	
                    
106			method: 'get',
                    
107			evalResponse: true,
                    
108			
                    
135			method: 'get',
                    
136			evalResponse: true,
                    
137			
                    
                
admin_users.php https://code.google.com/p/torrentpier/ | PHP | 970 lines
                    
44//
                    
45if ( $mode == 'edit' || $mode == 'save' && ( isset($_POST['username']) || isset($_GET[POST_USERS_URL]) || isset( $_POST[POST_USERS_URL]) ) )
                    
46{
                    
104		$user_lang = ( $_POST['language'] != $bb_cfg['board_lang'] ) ? $_POST['language'] : '';
                    
105		$user_timezone = ( isset($_POST['timezone']) ) ? str_replace(',', '.', doubleval($_POST['timezone'])) : $bb_cfg['board_timezone'];
                    
106
                    
                
saveAdminListToServer.php http://globalban-spanish.googlecode.com/svn/globalban/ | PHP | 63 lines
                    
25
                    
26$serverId = $_GET['serverId'];
                    
27
                    
45header('Content-Type: text/xml');
                    
46header("Cache-Control: no-cache, must-revalidate");
                    
47
                    
                
fetch.php http://oregon-caspages.googlecode.com/svn/trunk/ | PHP | 306 lines
                    
16  //get input
                    
17  $FILE  = $basepath.$_GET['media']; // no cleaning except control chars - maybe external
                    
18  $CACHE  = calc_cache($_REQUEST['cache']);
                    
55    header('Expires: '.gmdate("D, d M Y H:i:s", time()+max($conf['cachetime'], 3600)).' GMT');
                    
56    header('Cache-Control: public, proxy-revalidate, no-transform, max-age='.max($conf['cachetime'], 3600));
                    
57    header('Pragma: public');
                    
61    header('Expires: '.gmdate("D, d M Y H:i:s", $fmtime+$conf['cachetime']+10).' GMT');
                    
62    header('Cache-Control: public, proxy-revalidate, no-transform, max-age='.max($fmtime-time()+$conf['cachetime']+10, 0));
                    
63    header('Pragma: public');   
                    
65    // nocache
                    
66    header('Cache-Control: must-revalidate, no-transform, post-check=0, pre-check=0');
                    
67    header('Pragma: public');
                    
                
CHttpRequest.php http://yii.googlecode.com/svn/trunk/ | PHP | 1112 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.
                    
65	 */
                    
66	public $enableCookieValidation=false;
                    
67	/**
                    
122			if(isset($_GET))
                    
123				$_GET=$this->stripSlashes($_GET);
                    
124			if(isset($_POST))
                    
159	{
                    
160		return isset($_GET[$name]) ? $_GET[$name] : (isset($_POST[$name]) ? $_POST[$name] : $defaultValue);
                    
161	}
                    
173	{
                    
174		return isset($_GET[$name]) ? $_GET[$name] : $defaultValue;
                    
175	}
                    
                
admin.php http://ambulances.googlecode.com/svn/trunk/ | PHP | 313 lines
                    
37        $comment = "";
                    
38        if (isset($_GET["uid"]) && isset($_GET["ufname"]) && isset($_GET["ulname"]) && isset($_GET["ulogin"]) && isset($_GET["utype"])) {
                    
39          $_GET["ufname"] = utf8Encode($_GET["ufname"]);
                    
40          $_GET["ulname"] = utf8Encode($_GET["ulname"]);
                    
41          $_GET["ulogin"] = utf8Encode($_GET["ulogin"]);
                    
42          $_GET["utype"] = utf8Encode($_GET["utype"]);
                    
56          print " Found: ".$datatmp["user_id"]." ".$datatmp["login"];*/
                    
57          if ( $_GET["ufname"] == "" || $_GET["ulname"] == "" || $_GET["ulogin"] == "" ||
                    
58            $_GET["utype"] > 2 || $_GET["utype"] < 0 ||
                    
73        }
                    
74        if (isset($_GET["uid"]) && isset($_GET["upass1"]) && isset($_GET["upass2"])) {
                    
75          $_GET["upass1"] = utf8Encode($_GET["upass1"]);
                    
76          $_GET["upass2"] = utf8Encode($_GET["upass2"]);
                    
77          if ( $_GET["upass1"] == "" || $_GET["upass2"] == "" || $_GET["upass1"] != $_GET["upass2"]) {
                    
78            $comment = getMessage("NewRePWD");
                    
                
client.php http://timoseven.googlecode.com/svn/trunk/ | PHP | 547 lines
                    
96		include_once UC_ROOT."./control/$model.php";
                    
97		eval("\$uc_controls['$model'] = new {$model}control();");
                    
98	}
                    
169function uc_fopen2($url, $limit = 0, $post = '', $cookie = '', $bysocket = FALSE, $ip = '', $timeout = 15, $block = TRUE) {
                    
170	$__times__ = isset($_GET['__times__']) ? intval($_GET['__times__']) + 1 : 1;
                    
171	if($__times__ > 2) {
                    
                
admin-ajax.php http://timoseven.googlecode.com/svn/trunk/ | PHP | 1536 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' );
                    
                
shoutqueries.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 139 lines
                    
6
                    
7switch($_GET['shout']) {
                    
8
                    
82
                    
83      if(!$_GET['lastid'])
                    
84
                    
84
                    
85        $_GET['lastid'] = 0;
                    
86
                    
88
                    
89		$qry = $db->qry('SELECT * FROM %prefix%shoutbox WHERE id > %int% ORDER BY ID DESC LIMIT %int%',$_GET['lastid'],$cfg['shout_entries']);
                    
90
                    
126
                    
127header("Cache-Control: no-store, no-cache, must-revalidate");
                    
128
                    
                
pre_process.php http://phreedom.googlecode.com/svn/trunk/ | PHP | 177 lines
                    
29if ($search_text == TEXT_SEARCH) $search_text = '';
                    
30$action = isset($_GET['action']) ? $_GET['action'] : $_POST['todo'];
                    
31if (!$action && $search_text <> '') $action = 'search'; // if enter key pressed and search not blank
                    
32
                    
33$group  = isset($_GET['group'])   ? $_GET['group']                     : false;
                    
34$rID    = isset($_POST['rowSeq']) ? db_prepare_input($_POST['rowSeq']) : db_prepare_input($_GET['docID']);
                    
34$rID    = isset($_POST['rowSeq']) ? db_prepare_input($_POST['rowSeq']) : db_prepare_input($_GET['docID']);
                    
35$list   = isset($_GET['list'])    ? $_GET['list']                      : $_POST['list'];
                    
36$tab    = $_GET['tab'];
                    
38// load the sort fields
                    
39$_GET['sf'] = $_POST['sort_field'] ? $_POST['sort_field'] : $_GET['sf'];
                    
40$_GET['so'] = $_POST['sort_order'] ? $_POST['sort_order'] : $_GET['so'];
                    
149  case 'view':
                    
150  	$result      = html_heading_bar(array(), $_GET['sf'], $_GET['so'], array(' ', TEXT_DOCUMENT_TITLE, TEXT_ACTION));
                    
151	$list_header = $result['html_code'];
                    
                
common.php http://iiccms.googlecode.com/svn/trunk/ | PHP | 304 lines
                    
8function getsorttype($talbe){
                    
9	 if($_GET['order']==$talbe){
                    
10           if($_GET['sort']=="desc"){
                    
22
                    
23	 if($_GET['order']==$talbe){
                    
24           if($_GET['sort']=="desc"){
                    
33
                    
34function id_To_EValue($tb,$col,$o_col,$id){
                    
35	if(trim($id)==""){
                    
                
album.htm https://zport.svn.codeplex.com/svn | HTML | 132 lines
                    
10					<th>相册名*</th>
                    
11					<td><input type="text" name="albumname" value="$_GET[albumname]" /></td>
                    
12					<th>查看权限</th>
                    
15						<option value="">不限</option>
                    
16						<option value="0"<!--{if $_GET[friend] == '0'}--> selected<!--{/if}-->>全站用户可见</option>
                    
17						<option value="1"<!--{if $_GET[friend] == '1'}--> selected<!--{/if}-->>全好友可见</option>
                    
17						<option value="1"<!--{if $_GET[friend] == '1'}--> selected<!--{/if}-->>全好友可见</option>
                    
18						<option value="2"<!--{if $_GET[friend] == '2'}--> selected<!--{/if}-->>仅指定的好友可见</option>
                    
19						<option value="3"<!--{if $_GET[friend] == '3'}--> selected<!--{/if}-->>仅自己可见</option>
                    
19						<option value="3"<!--{if $_GET[friend] == '3'}--> selected<!--{/if}-->>仅自己可见</option>
                    
20						<option value="4"<!--{if $_GET[friend] == '4'}--> selected<!--{/if}-->>凭密码查看</option>
                    
21						</select>	
                    
26					<td colspan="3">
                    
27						<input type="text" name="albumid" value="$_GET[albumid]" />
                    
28					</td>
                    
                
createScreen.php http://flumpshop.googlecode.com/svn/trunk/ | PHP | 614 lines
                    
4*/
                    
5$noPreValidate = true; //Disables the .validate() method being called in the header.
                    
6$USR_REQUIREMENT = 'can_create_orders';
                    
12
                    
13if (isset($_GET['id'])) {
                    
14	die('<div class="ui-state-error">Sorry! This form currently cannot edit orders. We\'re working on adding this functionality soon.</div>');
                    
                
osj-osj2dcategoriesdelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 530 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
52<?php
                    
53$osj2Dcategories->Export = @$_GET["export"]; // Get export parameter
                    
54$sExport = $osj2Dcategories->Export; // Get export parameter, used in header
                    
64$sFilter = "";
                    
65if (@$_GET["category_id"] <> "") {
                    
66	$osj2Dcategories->category_id->setQueryStringValue($_GET["category_id"]);
                    
                
osj-osj2duser_detailview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 726 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Duser_detail->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Duser_detail->Export; // Get export parameter, used in header
                    
61<?php
                    
62if (@$_GET["user_detail_id"] <> "") {
                    
63	if ($sExportFile <> "") $sExportFile .= "_";
                    
63	if ($sExportFile <> "") $sExportFile .= "_";
                    
64	$sExportFile .= ew_StripSlashes($_GET["user_detail_id"]);
                    
65}
                    
89$bLoadCurrentRecord = FALSE;
                    
90if (@$_GET["user_detail_id"] <> "") {
                    
91	$osj2Duser_detail->user_detail_id->setQueryStringValue($_GET["user_detail_id"]);
                    
                
osj-osj2dapplicationsview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 783 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dapplications->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dapplications->Export; // Get export parameter, used in header
                    
61<?php
                    
62if (@$_GET["application_id"] <> "") {
                    
63	if ($sExportFile <> "") $sExportFile .= "_";
                    
63	if ($sExportFile <> "") $sExportFile .= "_";
                    
64	$sExportFile .= ew_StripSlashes($_GET["application_id"]);
                    
65}
                    
89$bLoadCurrentRecord = FALSE;
                    
90if (@$_GET["application_id"] <> "") {
                    
91	$osj2Dapplications->application_id->setQueryStringValue($_GET["application_id"]);
                    
                
osj-osj2duser_leveladd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 567 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level->Export; // Get export parameter, used in header
                    
56$bCopy = TRUE;
                    
57if (@$_GET["user_level_id"] != "") {
                    
58  $osj2Duser_level->user_level_id->setQueryStringValue($_GET["user_level_id"]);
                    
                
osj-osj2duser_levelview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 566 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level->Export; // Get export parameter, used in header
                    
53<?php
                    
54if (@$_GET["user_level_id"] <> "") {
                    
55	if ($sExportFile <> "") $sExportFile .= "_";
                    
55	if ($sExportFile <> "") $sExportFile .= "_";
                    
56	$sExportFile .= ew_StripSlashes($_GET["user_level_id"]);
                    
57}
                    
81$bLoadCurrentRecord = FALSE;
                    
82if (@$_GET["user_level_id"] <> "") {
                    
83	$osj2Duser_level->user_level_id->setQueryStringValue($_GET["user_level_id"]);
                    
                
osj-osj2dresumesview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 778 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dresumes->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dresumes->Export; // Get export parameter, used in header
                    
61<?php
                    
62if (@$_GET["resume_id"] <> "") {
                    
63	if ($sExportFile <> "") $sExportFile .= "_";
                    
63	if ($sExportFile <> "") $sExportFile .= "_";
                    
64	$sExportFile .= ew_StripSlashes($_GET["resume_id"]);
                    
65}
                    
89$bLoadCurrentRecord = FALSE;
                    
90if (@$_GET["resume_id"] <> "") {
                    
91	$osj2Dresumes->resume_id->setQueryStringValue($_GET["resume_id"]);
                    
                
osj-osj2duser_detailsrch.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 447 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Duser_detail->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Duser_detail->Export; // Get export parameter, used in header
                    
                
osj-osj2dpostsdelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 524 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dposts->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dposts->Export; // Get export parameter, used in header
                    
68$sFilter = "";
                    
69if (@$_GET["post_id"] <> "") {
                    
70	$osj2Dposts->post_id->setQueryStringValue($_GET["post_id"]);
                    
                
osj-osj2duser_level_permissionsadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 580 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level_permissions->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level_permissions->Export; // Get export parameter, used in header
                    
56$bCopy = TRUE;
                    
57if (@$_GET["user_level_id"] != "") {
                    
58  $osj2Duser_level_permissions->user_level_id->setQueryStringValue($_GET["user_level_id"]);
                    
61}
                    
62if (@$_GET["user_level_table_name"] != "") {
                    
63  $osj2Duser_level_permissions->user_level_table_name->setQueryStringValue($_GET["user_level_table_name"]);
                    
                
osj-osj2dusersview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 732 lines
                    
16header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
17header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
18header("Cache-Control: post-check=0, pre-check=0", false);
                    
55<?php
                    
56$osj2Dusers->Export = @$_GET["export"]; // Get export parameter
                    
57$sExport = $osj2Dusers->Export; // Get export parameter, used in header
                    
60<?php
                    
61if (@$_GET["user_id"] <> "") {
                    
62	if ($sExportFile <> "") $sExportFile .= "_";
                    
62	if ($sExportFile <> "") $sExportFile .= "_";
                    
63	$sExportFile .= ew_StripSlashes($_GET["user_id"]);
                    
64}
                    
88$bLoadCurrentRecord = FALSE;
                    
89if (@$_GET["user_id"] <> "") {
                    
90	$osj2Dusers->user_id->setQueryStringValue($_GET["user_id"]);
                    
                
osj-osj2dresumesadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 675 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dresumes->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dresumes->Export; // Get export parameter, used in header
                    
64$bCopy = TRUE;
                    
65if (@$_GET["resume_id"] != "") {
                    
66  $osj2Dresumes->resume_id->setQueryStringValue($_GET["resume_id"]);
                    
                
osj-osj2duserssrch.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 491 lines
                    
16header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
17header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
18header("Cache-Control: post-check=0, pre-check=0", false);
                    
55<?php
                    
56$osj2Dusers->Export = @$_GET["export"]; // Get export parameter
                    
57$sExport = $osj2Dusers->Export; // Get export parameter, used in header
                    
                
osj-osj2dpostssrch.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 368 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
44<?php
                    
45$osj2Dposts->Export = @$_GET["export"]; // Get export parameter
                    
46$sExport = $osj2Dposts->Export; // Get export parameter, used in header
                    
                
osj-osj2dapplicationsadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 683 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dapplications->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dapplications->Export; // Get export parameter, used in header
                    
64$bCopy = TRUE;
                    
65if (@$_GET["application_id"] != "") {
                    
66  $osj2Dapplications->application_id->setQueryStringValue($_GET["application_id"]);
                    
                
osj-osj2dcategoriesadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 509 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
52<?php
                    
53$osj2Dcategories->Export = @$_GET["export"]; // Get export parameter
                    
54$sExport = $osj2Dcategories->Export; // Get export parameter, used in header
                    
60$bCopy = TRUE;
                    
61if (@$_GET["category_id"] != "") {
                    
62  $osj2Dcategories->category_id->setQueryStringValue($_GET["category_id"]);
                    
                
osj-osj2dusersdelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 623 lines
                    
16header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
17header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
18header("Cache-Control: post-check=0, pre-check=0", false);
                    
55<?php
                    
56$osj2Dusers->Export = @$_GET["export"]; // Get export parameter
                    
57$sExport = $osj2Dusers->Export; // Get export parameter, used in header
                    
67$sFilter = "";
                    
68if (@$_GET["user_id"] <> "") {
                    
69	$osj2Dusers->user_id->setQueryStringValue($_GET["user_id"]);
                    
                
osj-register.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 599 lines
                    
15header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
16header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
17header("Cache-Control: post-check=0, pre-check=0", false);
                    
53// Handle email activation
                    
54if (@$_GET["action"] <> "") {
                    
55	$sAction = $_GET["action"];
                    
55	$sAction = $_GET["action"];
                    
56	$sEmail = $_GET["email"];
                    
57	$qs = new cQueryString();
                    
                
osj-osj2dresumesedit.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 663 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dresumes->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dresumes->Export; // Get export parameter, used in header
                    
63// Load key from QueryString
                    
64if (@$_GET["resume_id"] <> "") {
                    
65	$osj2Dresumes->resume_id->setQueryStringValue($_GET["resume_id"]);
                    
                
osj-osj2dusersadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 653 lines
                    
16header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
17header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
18header("Cache-Control: post-check=0, pre-check=0", false);
                    
55<?php
                    
56$osj2Dusers->Export = @$_GET["export"]; // Get export parameter
                    
57$sExport = $osj2Dusers->Export; // Get export parameter, used in header
                    
63$bCopy = TRUE;
                    
64if (@$_GET["user_id"] != "") {
                    
65  $osj2Dusers->user_id->setQueryStringValue($_GET["user_id"]);
                    
                
osj-osj2dusersedit.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 633 lines
                    
16header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
17header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
18header("Cache-Control: post-check=0, pre-check=0", false);
                    
55<?php
                    
56$osj2Dusers->Export = @$_GET["export"]; // Get export parameter
                    
57$sExport = $osj2Dusers->Export; // Get export parameter, used in header
                    
62// Load key from QueryString
                    
63if (@$_GET["user_id"] <> "") {
                    
64	$osj2Dusers->user_id->setQueryStringValue($_GET["user_id"]);
                    
                
osj-osj2duser_levellist.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 1179 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level->Export; // Get export parameter, used in header
                    
94// Check QueryString parameters
                    
95if (@$_GET["a"] <> "") {
                    
96	$osj2Duser_level->CurrentAction = $_GET["a"];
                    
                
osj-osj2duser_detaildelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 596 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Duser_detail->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Duser_detail->Export; // Get export parameter, used in header
                    
68$sFilter = "";
                    
69if (@$_GET["user_detail_id"] <> "") {
                    
70	$osj2Duser_detail->user_detail_id->setQueryStringValue($_GET["user_detail_id"]);
                    
                
osj-osj2dpostsview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 706 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
44<?php
                    
45$osj2Dposts->Export = @$_GET["export"]; // Get export parameter
                    
46$sExport = $osj2Dposts->Export; // Get export parameter, used in header
                    
49<?php
                    
50if (@$_GET["post_id"] <> "") {
                    
51	if ($sExportFile <> "") $sExportFile .= "_";
                    
51	if ($sExportFile <> "") $sExportFile .= "_";
                    
52	$sExportFile .= ew_StripSlashes($_GET["post_id"]);
                    
53}
                    
77$bLoadCurrentRecord = FALSE;
                    
78if (@$_GET["post_id"] <> "") {
                    
79	$osj2Dposts->post_id->setQueryStringValue($_GET["post_id"]);
                    
                
osj-osj2duser_level_permissionsdelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 598 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level_permissions->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level_permissions->Export; // Get export parameter, used in header
                    
60$sFilter = "";
                    
61if (@$_GET["user_level_id"] <> "") {
                    
62	$osj2Duser_level_permissions->user_level_id->setQueryStringValue($_GET["user_level_id"]);
                    
69}
                    
70if (@$_GET["user_level_table_name"] <> "") {
                    
71	$osj2Duser_level_permissions->user_level_table_name->setQueryStringValue($_GET["user_level_table_name"]);
                    
                
osj-osj2duser_leveledit.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 495 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level->Export; // Get export parameter, used in header
                    
55// Load key from QueryString
                    
56if (@$_GET["user_level_id"] <> "") {
                    
57	$osj2Duser_level->user_level_id->setQueryStringValue($_GET["user_level_id"]);
                    
                
osj-osj2duser_detailadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 561 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Duser_detail->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Duser_detail->Export; // Get export parameter, used in header
                    
64$bCopy = TRUE;
                    
65if (@$_GET["user_detail_id"] != "") {
                    
66  $osj2Duser_detail->user_detail_id->setQueryStringValue($_GET["user_detail_id"]);
                    
                
osj-osj2dapplicationssrch.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 441 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dapplications->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dapplications->Export; // Get export parameter, used in header
                    
                
osj-osj2dpostsadd.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 611 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dposts->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dposts->Export; // Get export parameter, used in header
                    
64$bCopy = TRUE;
                    
65if (@$_GET["post_id"] != "") {
                    
66  $osj2Dposts->post_id->setQueryStringValue($_GET["post_id"]);
                    
                
osj-osj2dresumeslist.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 1202 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dresumes->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dresumes->Export; // Get export parameter, used in header
                    
                
osj-osj2duserslist.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 1820 lines
                    
16header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
17header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
18header("Cache-Control: post-check=0, pre-check=0", false);
                    
55<?php
                    
56$osj2Dusers->Export = @$_GET["export"]; // Get export parameter
                    
57$sExport = $osj2Dusers->Export; // Get export parameter, used in header
                    
101// Check QueryString parameters
                    
102if (@$_GET["a"] <> "") {
                    
103	$osj2Dusers->CurrentAction = $_GET["a"];
                    
                
osj-osj2dapplicationsdelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 650 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dapplications->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dapplications->Export; // Get export parameter, used in header
                    
68$sFilter = "";
                    
69if (@$_GET["application_id"] <> "") {
                    
70	$osj2Dapplications->application_id->setQueryStringValue($_GET["application_id"]);
                    
                
osj-osj2duser_detailedit.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 517 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Duser_detail->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Duser_detail->Export; // Get export parameter, used in header
                    
63// Load key from QueryString
                    
64if (@$_GET["user_detail_id"] <> "") {
                    
65	$osj2Duser_detail->user_detail_id->setQueryStringValue($_GET["user_detail_id"]);
                    
                
osj-osj2duser_level_permissionslist.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 1305 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level_permissions->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level_permissions->Export; // Get export parameter, used in header
                    
94// Check QueryString parameters
                    
95if (@$_GET["a"] <> "") {
                    
96	$osj2Duser_level_permissions->CurrentAction = $_GET["a"];
                    
                
osj-osj2duser_level_permissionsedit.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 569 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level_permissions->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level_permissions->Export; // Get export parameter, used in header
                    
55// Load key from QueryString
                    
56if (@$_GET["user_level_id"] <> "") {
                    
57	$osj2Duser_level_permissions->user_level_id->setQueryStringValue($_GET["user_level_id"]);
                    
58}
                    
59if (@$_GET["user_level_table_name"] <> "") {
                    
60	$osj2Duser_level_permissions->user_level_table_name->setQueryStringValue($_GET["user_level_table_name"]);
                    
                
osj-osj2dresumesdelete.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 545 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dresumes->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dresumes->Export; // Get export parameter, used in header
                    
68$sFilter = "";
                    
69if (@$_GET["resume_id"] <> "") {
                    
70	$osj2Dresumes->resume_id->setQueryStringValue($_GET["resume_id"]);
                    
                
osj-osj2dpostsedit.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 596 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
56<?php
                    
57$osj2Dposts->Export = @$_GET["export"]; // Get export parameter
                    
58$sExport = $osj2Dposts->Export; // Get export parameter, used in header
                    
63// Load key from QueryString
                    
64if (@$_GET["post_id"] <> "") {
                    
65	$osj2Dposts->post_id->setQueryStringValue($_GET["post_id"]);
                    
                
osj-osj2duser_level_permissionsview.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 694 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
48<?php
                    
49$osj2Duser_level_permissions->Export = @$_GET["export"]; // Get export parameter
                    
50$sExport = $osj2Duser_level_permissions->Export; // Get export parameter, used in header
                    
53<?php
                    
54if (@$_GET["user_level_id"] <> "") {
                    
55	if ($sExportFile <> "") $sExportFile .= "_";
                    
55	if ($sExportFile <> "") $sExportFile .= "_";
                    
56	$sExportFile .= ew_StripSlashes($_GET["user_level_id"]);
                    
57}
                    
57}
                    
58if (@$_GET["user_level_table_name"] <> "") {
                    
59	if ($sExportFile <> "") $sExportFile .= "_";
                    
                
osj-osj2dcategorieslist.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 1828 lines
                    
17header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
                    
18header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
                    
19header("Cache-Control: post-check=0, pre-check=0", false);
                    
52<?php
                    
53$osj2Dcategories->Export = @$_GET["export"]; // Get export parameter
                    
54$sExport = $osj2Dcategories->Export; // Get export parameter, used in header
                    
98// Check QueryString parameters
                    
99if (@$_GET["a"] <> "") {
                    
100	$osj2Dcategories->CurrentAction = $_GET["a"];
                    
                
admin_banlist.php https://openticket.svn.sourceforge.net/svnroot/openticket | PHP | 483 lines
                    
22      if (empty($ab)) {
                    
23        $ab=$_GET['key']?'C':'I'; //copy record or display blank
                    
24      }
                    
27        // get a record to display
                    
28        $tkey = (int) $_GET['key'];
                    
29        $strsql = "SELECT * FROM ".$db_table['banlist']." WHERE `value_id`=".$tkey;
                    
49            $theValue = get_magic_quotes_gpc()?$x_value:addslashes($x_value);
                    
50            $theValue = ($theValue != '') ? "'$theValue'" : "NULL";
                    
51            $fieldList['value'] = $theValue;
                    
154        $theValue = (!get_magic_quotes_gpc()) ? addslashes($x_value) : $x_value;
                    
155        $theValue = ($theValue != "") ? " '" . $theValue . "'" : "NULL";
                    
156        $fieldList["`value`"] = $theValue;
                    
185    // get search criteria for basic search
                    
186    $pSearch = @$_GET["psearch"];
                    
187    $pSearchType = @$_GET["psearchtype"];
                    
                
cp_profile.htm https://zport.svn.codeplex.com/svn | HTML | 640 lines
                    
12
                    
13<!--{eval $farr = array(0=>'全用户','1'=>'仅好友','3'=>'仅自己');}-->
                    
14<form method="post" action="$theurl&ref" $form_enctype class="c_form">
                    
15
                    
16<!--{if $_GET['op'] == 'base'}-->
                    
17
                    
21	<td>
                    
22		<!--{eval echo stripslashes($space['username']);}--> (<a href="cp.php?ac=password">修改登录密码</a>)
                    
23	</td>
                    
29	<td>
                    
30		<input type="text" id="name" name="name" value="<!--{eval echo stripslashes($space['name']);}-->" class="t_input" />
                    
31	</td>
                    
37	<td>
                    
38	<!--{if $space[name] && empty($_GET['namechange'])}-->
                    
39	<span style="font-weight:bold;"><!--{eval echo stripslashes($space['name']);}--></span>
                    
                
cp_mtag.htm https://zport.svn.codeplex.com/svn | HTML | 565 lines
                    
20		</ul>
                    
21		<!--{if ($actives[members] || $mtag['allowinvite']) && ($_GET['subop'] == 'invite' || $_GET['subop'] == 'members')}-->
                    
22		<script>
                    
39			<input type="hidden" name="subop" value="$_GET[subop]">
                    
40			<input type="hidden" name="uid" value="$_GET[uid]">
                    
41			<input type="hidden" name="grade" value="$_GET[grade]">
                    
47	
                    
48	<form id="manageform" name="manageform" method="post" action="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=$_GET[subop]&uid=$_GET[uid]&grade=$_GET[grade]&group=$_GET[group]&page=$_GET[page]&start=$_GET[start]">
                    
49	
                    
233		<ul class="post_list line_list">
                    
234			<li<!--{if $_GET[grade]==-2}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=-2">待审核</a></li>
                    
235			<li<!--{if $_GET[grade]==0}--> class="current"<!--{/if}-->><a href="cp.php?ac=mtag&op=manage&tagid=$mtag[tagid]&subop=members&grade=0">普通成员</a></li>
                    
343		</p>
                    
344		<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                    
345	</form>
                    
                
cp_event.htm https://zport.svn.codeplex.com/svn | HTML | 861 lines
                    
54		<input type="hidden" value="members" name="op"/>
                    
55		<input type="hidden" value="$_GET[status]" name="status"/>
                    
56		<input type="hidden" value="<!--{eval echo formhash();}-->" name="formhash"/>
                    
83			</p>
                    
84			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                    
85		</form>
                    
95			</p>
                    
96			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                    
97		</form>
                    
108			</p>
                    
109			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->">
                    
110		</form>
                    
120			</p>
                    
121			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                    
122		</form>
                    
                
usergroup.htm https://zport.svn.codeplex.com/svn | HTML | 813 lines
                    
14	<form method="post" action="admincp.php?ac=usergroup">
                    
15	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                    
16	<div class="bdrcontent">
                    
30	<tr>
                    
31	<th><span<!--{eval g_color($value[gid]);}-->>$value[grouptitle]</span><!--{eval g_icon($value[gid]);}--></th>
                    
32	<!--{if $value['explower'] == -999999999}-->
                    
60	<tr>
                    
61	<th><span<!--{eval g_color($value[gid]);}-->>$value[grouptitle]</span><!--{eval g_icon($value[gid]);}--></th>
                    
62	<td width="100">
                    
79	<tr>
                    
80	<th><span<!--{eval g_color($value[gid]);}-->>$value[grouptitle]</span><!--{eval g_icon($value[gid]);}--></th>
                    
81	<td width="80">
                    
91<!--{/if}-->
                    
92<!--{if $_GET[op]=='copy'}-->
                    
93	<form method="post" action="admincp.php?ac=usergroup&gid=$gid">
                    
                
magic.htm https://zport.svn.codeplex.com/svn | HTML | 400 lines
                    
12
                    
13<!--{if "edit" == $_GET['op']}-->
                    
14	
                    
14	
                    
15	<form method="post" action="admincp.php?ac=magic&op=$_GET[op]&mid=$_GET[mid]&view=$_GET[view]">
                    
16	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
                    
22				<th style="width:15em;">名称</th>
                    
23				<td>$thevalue[name]</td>
                    
24			</tr>
                    
27				<td>
                    
28					<textarea name="description" cols="80" rows="2">$thevalue[description]</textarea>					
                    
29				</td>
                    
33				<td>
                    
34					<input type="text" name="charge" value="$thevalue[charge]" />
                    
35					购买时单个需要花费的积分值,需小于65535
                    
                
FileManager.php http://compactcms.googlecode.com/svn/trunk/compactcms/ | PHP | 399 lines
                    
67		header('Expires: Fri, 01 Jan 1990 00:00:00 GMT');
                    
68		header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate');
                    
69		
                    
69		
                    
70		$this->get = $_GET;
                    
71		$this->post = $_POST;
                    
                
Relation.php https://bitbucket.org/dinhtrung/yiicorecms/ | PHP | 561 lines
                    
144	// Use {fields} to display all fields delimited by $this->delimiter
                    
145	// Use {myFuncName} to evaluate a user-contributed function specified in the
                    
146	//  $functions array as 'myFuncName'=>'code to be evaluated'. The code for
                    
146	//  $functions array as 'myFuncName'=>'code to be evaluated'. The code for
                    
147	//  these functions are evaluated under the context of the controller
                    
148	//  rendering the current Relation widget ($this refers to the controller).
                    
148	//  rendering the current Relation widget ($this refers to the controller).
                    
149	// Old way, not encouraged anymore: Use {func0} to {funcX} to evaluate user-
                    
150	//  contributed functions specified in the $functions array as a keyless
                    
275			);
                    
276			// Look for user-contributed functions and evaluate them
                    
277			if ($this->functions != array()) {
                    
359		}
                    
360		return isset($attributeValues) ? $attributeValues : array();
                    
361	}
                    
                
index.php https://code.google.com/p/vtiger-ru-fork/ | PHP | 851 lines
                    
34if (version_compare(phpversion(), '5.0') < 0) {
                    
35    eval('
                    
36    function clone($object) {
                    
58        $_POST = array_map("stripslashes_checkstrings", $_POST);
                    
59        $_GET = array_map("stripslashes_checkstrings", $_GET);
                    
60
                    
420 	         header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
                    
421 	         header( "Cache-Control: no-cache, must-revalidate" );
                    
422 	        
                    
                
ARC2_SPARQLScriptProcessor.php https://code.google.com/p/goodrelations-for-joomla/ | PHP | 480 lines
                    
94    if (preg_match('/^(GET|POST)\.([^\.]+)(.*)$/', $ph, $m)) {
                    
95      $vals = strtoupper($m[1]) == 'GET' ? $_GET : $POST;
                    
96      $r = isset($vals[$m[2]]) ? $vals[$m[2]] : '';
                    
111      if (preg_match('/(\+|\-)\s*([0-9]+)(y|mo|d|h|mi|s)/is', trim($m[1]), $m2)) {
                    
112        eval('$r[$m2[3]] ' . $m2[1] . '= (int)' . $m2[2] . ';');
                    
113      }
                    
354    $val2 = $this->getPatternValue($cond['patterns'][1]);
                    
355    eval('$result = ($val1 ' . $op . ' $val2) ? 1 : 0;');
                    
356    return $result;
                    
                
cpaint2.inc.php http://zenekar.googlecode.com/svn/trunk/ | PHP | 741 lines
                    
114      // determine response type
                    
115      if (isset($_GET['cpaint_response_type'])) {
                    
116        $this->response_type = (string) $_GET['cpaint_response_type'];
                    
134      // work only if there is no API version request
                    
135      if (!isset($_GET['api_query']) && !isset($_POST['api_query'])) {
                    
136        $this->basenode->set_encoding($input_encoding);
                    
137        
                    
138        if ($_GET['cpaint_function'] != '') {
                    
139          $user_function  = $_GET['cpaint_function'];
                    
139          $user_function  = $_GET['cpaint_function'];
                    
140          $arguments      = $_GET['cpaint_argument'];
                    
141  
                    
175      header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
                    
176      header ('Cache-Control: no-cache, must-revalidate');
                    
177      header ('Pragma: no-cache'); 
                    
                
index_ohne_smarty.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 737 lines
                    
6header('Content-Encoding: gzip'); 
                    
7header('Cache-Control: must-revalidate');
                    
8header('Expires: ' . date("D, d M Y H:i:s", time() + (60 * 60 * 20)) . ' GMT');
                    
75
                    
76if (isset($_GET['cat'])) { define('CAT',$_GET['cat']); }
                    
77if (isset($_POST['author'])) { define('AUTHOR',$_POST['author']); }
                    
79
                    
80if (isset($_GET['profile'])) { define('PROFILE',$_GET['profile']); }
                    
81
                    
85  }
                    
86elseif (isset($_GET['search']) && strlen(trim($_GET['search'])) > 0)
                    
87  {
                    
87  {
                    
88  $search = (string) urldecode($_GET['search']);
                    
89  }
                    
                
index.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 608 lines
                    
6header('Content-Encoding: gzip'); 
                    
7header('Cache-Control: must-revalidate');
                    
8header('Expires: ' . date("D, d M Y H:i:s", time() + (60 * 60 * 20)) . ' GMT');
                    
56
                    
57if (isset($_GET['cat'])) {
                    
58    define('CAT',$_GET['cat']);
                    
68
                    
69if (isset($_GET['profile'])) {
                    
70    define('PROFILE',$_GET['profile']);
                    
75}
                    
76elseif (isset($_GET['search']) && strlen(trim($_GET['search'])) > 0) {
                    
77    $search = (string) urldecode($_GET['search']);
                    
105}
                    
106elseif (isset($_GET['id'])) {
                    
107    $id = (int) $_GET['id'];
                    
                
edit.php http://webberig-applications-framework.googlecode.com/svn/trunk/ | PHP | 151 lines
                    
5    // Set MODE
                    
6    if (isset($_GET['value']))
                    
7    {
                    
24    // Validators
                    
25    $validator = $form->CreateValidator("Required", "name");
                    
26    $validator->message = _("Name is required");
                    
60                            case "edit":
                    
61                                    if (!Roles::Update($_GET['value'], $form->ToArray()))
                    
62                                    {
                    
86                //look up user
                    
87                if (!$item = Roles::GetRole($_GET['value']))
                    
88                {
                    
133?>
                    
134		<a class="button delete" onclick="$('#dialog-confirm').data('id', '<?php echo $_GET['value'];?>').dialog('open'); return false;" href="roles/delete/<?php echo $_GET['value'];?>">Verwijderen</a>
                    
135<?php
                    
                
GlobalVariables.CLR.cs https://Phalanger.svn.codeplex.com/svn | C# | 785 lines
                    
101		/// <summary>
                    
102		/// Request variables ($_REQUEST) copied from $_GET, $_POST and $_COOKIE arrays.
                    
103		/// </summary>
                    
107		/// <summary>
                    
108		/// Variables passed by HTTP GET method ($_GET).
                    
109		/// </summary>
                    
191
                    
192			value = GpcEncodeValue(value, isGpc, config);
                    
193
                    
247
                    
248		private static object GpcEncodeValue(object value, bool isGpc, LocalConfiguration config)
                    
249		{
                    
312		/// <param name="config">A configuration record.</param>
                    
313		private static void LoadFromCollection(PhpArray result, NameValueCollection collection, bool isGpc, LocalConfiguration config)
                    
314		{
                    
                
 

Source

Language