PageRenderTime 248ms queryTime 49ms sortTime 8ms getByIdsTime 65ms findMatchingLines 54ms

100+ results results for 'php stripslashes' (248 ms)

Not the results you expected?
create_question_multianswer.php https://github.com/harriswong/ATutor.git | PHP | 174 lines
                    
130	<div class="row">
                    
131		<span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
                    
132		<select name="category_id" id="cats">
                    
145		<?php print_VE('question'); ?>
                    
146		<textarea id="question" cols="50" rows="4" name="question" style="width:90%;"><?php echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
                    
147	</div>
                    
152	<div class="row">
                    
153		<?php echo _AT('choice'); ?> <?php echo ($i+1); ?>
                    
154		
                    
158
                    
159		<small><input type="checkbox" name="answer[<?php echo $i; ?>]" id="answer_<?php echo $i; ?>" value="1" <?php if($_POST['answer'][$i]) { echo 'checked="checked"';} ?>><label for="answer_<?php echo $i; ?>"><?php echo _AT('correct_answer'); ?></label></small>			
                    
160		
                    
160		
                    
161		<textarea id="choice_<?php echo $i; ?>" cols="50" rows="2" name="choice[<?php echo $i; ?>]"><?php 
                    
162		echo htmlspecialchars(stripslashes($_POST['choice'][$i])); ?></textarea> 
                    
173
                    
174<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
                    
                
index.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 186 lines
                    
1<?php
                    
2/* For licensing terms, see /license.txt */
                    
4/**
                    
5 * Chamilo metadata/index.php
                    
6 * 2005/05/19
                    
6 * 2005/05/19
                    
7 * @copyright 2005 rene.haentjens@UGent.be -  see metadata/md_funcs.php
                    
8 * @package chamilo.metadata
                    
19
                    
20require_once '../inc/global.inc.php';
                    
21
                    
21
                    
22require "md_funcs.php";
                    
23
                    
27define('EID_TYPE', substr(EID, 0, $dotpos)); // e.g. 'Document' or 'Scorm'
                    
28require('md_' . strtolower(EID_TYPE) . '.php');
                    
29
                    
                
admin.php https://github.com/adarshaj/wordpress.git | PHP | 233 lines
                    
43	if ( !is_multisite() ) {
                    
44		wp_redirect(admin_url('upgrade.php?_wp_http_referer=' . urlencode(stripslashes($_SERVER['REQUEST_URI']))));
                    
45		exit;
                    
120		// backwards compatibility for plugins using add_management_page
                    
121		if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
                    
122			// There could be plugin specific params on the URL, so we need the whole query string
                    
170
                    
171	include(ABSPATH . 'wp-admin/admin-footer.php');
                    
172
                    
186	if ( ! isset($wp_importers[$importer]) || ! is_callable($wp_importers[$importer][2]) ) {
                    
187		wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
                    
188		exit;
                    
214	do_action("load-$pagenow");
                    
215	// Backwards compatibility with old load-page-new.php, load-page.php,
                    
216	// and load-categories.php actions.
                    
                
Profiler.php https://github.com/holsinger/openfloor.git | PHP | 213 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 or newer
                    
6 *
                    
167			
                    
168//				$output .= "<tr><td width='50%' style='color:#000;background-color:#ddd;'>&#36;_POST[".$key."]&nbsp;&nbsp;</td><td width='50%' style='color:#009900;font-weight:normal;background-color:#ddd;'>".htmlspecialchars(stripslashes($val))."</td></tr>\n";
                    
169				$output .= "<tr><td width='50%' style='color:#000;background-color:#ddd;'>&#36;_POST[".$key."]&nbsp;&nbsp; </td><td width='50%' style='color:#009900;font-weight:normal;background-color:#ddd;'>";
                    
171				{
                    
172					$output .= "<pre>" . htmlspecialchars(stripslashes(print_r($val, true))) . "</pre>";
                    
173				}
                    
175				{
                    
176					$output .= htmlspecialchars(stripslashes($val));
                    
177				}
                    
                
edit_sentence_save.class.php https://github.com/nadavkav/MoodleTAO.git | PHP | 157 lines
                    
1<?php // $Id$
                    
2
                    
69        $dirpath = required_param('dir', PARAM_PATH);
                    
70        $dirpath = $CFG->dirroot . stripslashes_safe($dirpath);
                    
71
                    
75        $fields = required_param('fields', PARAM_CLEAN);
                    
76        $fields = trim(stripslashes_safe($fields));
                    
77        $values = required_param('values', PARAM_CLEAN);
                    
77        $values = required_param('values', PARAM_CLEAN);
                    
78        $values = trim(stripslashes_safe($values));
                    
79
                    
123            $navlinks = array();
                    
124            $navlinks[] = array('name' => $this->str['administration'], 'link' => '../index.php', 'type' => 'misc');
                    
125            $navlinks[] = array('name' => 'XMLDB', 'link' => 'index.php', 'type' => 'misc');
                    
129                     <p>' . s($sentence),
                    
130                    'index.php?action=edit_sentence&amp;sentence=' .$sentenceparam . '&amp;statement=' . urlencode($statementparam) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
                    
131            die; /// re-die :-P
                    
                
edit_question.php https://bitbucket.org/anneivycat/ebcookhouse.git | PHP | 174 lines
                    
1<?php
                    
2//Function for editing existing questions
                    
10			$question_id = $question->id;
                    
11			$question_name = stripslashes($question->question);
                    
12			$question_values = stripslashes($question->response);
                    
12			$question_values = stripslashes($question->response);
                    
13			$question_type = stripslashes($question->question_type);
                    
14			$required = stripslashes($question->required);
                    
43		<h3 class="hndle">
                    
44	  <?php _e('Edit Question','event_espresso'); ?>
                    
45		</h3>
                    
46	  <div class="inside">
                    
47			<form id="edit-new-question-form" name="newquestion" method="post" action="<?php echo $_SERVER["REQUEST_URI"]?>">
                    
48			<p class="intro"> <?php _e('Edit the question using the form below.  By default all participants will be asked for their first name, last name, and email address.','event_espresso'); ?></p>
                    
48			<p class="intro"> <?php _e('Edit the question using the form below.  By default all participants will be asked for their first name, last name, and email address.','event_espresso'); ?></p>
                    
49					<?php
                    
50					if ($system_question == true){
                    
                
options-permalinks.php https://bitbucket.org/Red54/dianjihun.git | PHP | 188 lines
                    
131		'options' => array(
                    
132			'0' => sprintf( __( '<span>None</span> <code>%s</code>' ), bb_get_uri( 'forum.php', array( 'id' => 1 ), BB_URI_CONTEXT_TEXT ) ),
                    
133			'1' => sprintf( __( '<span>Numeric</span> <code>%s</code>' ), bb_get_uri( 'forum/1', null, BB_URI_CONTEXT_TEXT ) ),
                    
149
                    
150<form class="settings" method="post" action="<?php bb_uri( 'bb-admin/options-permalinks.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ); ?>">
                    
151	<fieldset>
                    
152		<p>
                    
153			<?php _e( 'By default bbPress uses web URLs which have question marks and lots of numbers in them, however bbPress offers you the ability to choose an alternative URL structure for your permalinks. This can improve the aesthetics, usability, and forward-compatibility of your links.' ); ?>
                    
154		</p>
                    
154		</p>
                    
155<?php
                    
156foreach ( $permalink_options as $option => $args ) { 
                    
170?>
                    
171<form class="settings" method="post" action="<?php bb_uri( 'bb-admin/options-permalinks.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ); ?>">
                    
172	<fieldset>
                    
                
Utils.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 415 lines
                    
1<?php
                    
2
                    
29				if (!is_array($value)) {
                    
30					$cleanHash[$key] = stripslashes($value);
                    
31				} else {
                    
33					foreach ($value as $val) {
                    
34						$cleanArray[] = stripslashes($val);
                    
35					}
                    
65				 case "noSettingsFile":
                    
66					 $settingsFileAndPath = realpath(__DIR__ . "/../settings.php");
                    
67					 $settingsFileExists = file_exists($settingsFileAndPath);
                    
88			if (get_magic_quotes_gpc()) {
                    
89				$output = stripslashes($input);
                    
90			} else {
                    
166	/**
                    
167	 * A security-related function. This returns a clean version of PHP_SELF for use in the templates. This wards
                    
168	 * against URI Cross-site scripting attacks.
                    
                
user-moderation-admin.php https://gitlab.com/Gashler/sg | PHP | 432 lines
                    
180		?>
                    
181		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_none" value="none"<?php checked( $this->get_option( 'type' ), 'none' ); ?> />
                    
182		<label for="<?php echo $this->options_key; ?>_type_none"><?php _e( 'None', 'theme-my-login' ); ?></label>
                    
184
                    
185		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_email" value="email" <?php checked( $this->get_option( 'type' ), 'email' ); ?> />
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
187		<p class="description"><?php _e( 'Check this option to require new users to confirm their e-mail address before they may log in.', 'theme-my-login' ); ?></p>
                    
188
                    
188
                    
189		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_admin" value="admin" <?php checked( $this->get_option( 'type' ), 'admin' ); ?> />
                    
190		<label for="<?php echo $this->options_key; ?>_type_admin"><?php _e( 'Admin Approval', 'theme-my-login' ); ?></label>
                    
234				// Where did we come from?
                    
235				$redirect_to = isset( $_REQUEST['wp_http_referer'] ) ? remove_query_arg( array( 'wp_http_referer', 'updated', 'delete_count' ), stripslashes( $_REQUEST['wp_http_referer'] ) ) : 'users.php';
                    
236
                    
                
custom-passwords.php https://gitlab.com/Gashler/sg | PHP | 310 lines
                    
67		?>
                    
68		<p><label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'Password' ); ?></label>
                    
69		<input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
                    
69		<input autocomplete="off" name="pass1" id="pass1<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
                    
70		<p><label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm Password', 'theme-my-login' ); ?></label>
                    
71		<input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /></p>
                    
94		?>
                    
95		<label for="pass1<?php $template->the_instance(); ?>"><?php _e( 'Password:', 'theme-my-login' ); ?></label>
                    
96		<?php if ( ! empty( $errors ) ) { ?>
                    
96		<?php if ( ! empty( $errors ) ) { ?>
                    
97			<p class="error"><?php echo implode( '<br />', $errors ); ?></p>
                    
98		<?php } ?>
                    
101
                    
102		<label for="pass2<?php $template->the_instance(); ?>"><?php _e( 'Confirm Password:', 'theme-my-login' ); ?></label>
                    
103		<input autocomplete="off" name="pass2" id="pass2<?php $template->the_instance(); ?>" class="input" size="20" value="" type="password" /><br />
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
29
                    
30	if ( strpos($sendback, 'post.php') !== false )
                    
31		$sendback = admin_url($post_new_file);
                    
40	} else {
                    
41		wp_redirect( admin_url("edit.php?post_type=$post_type") );
                    
42	}
                    
114	$submenu_file = "edit.php?post_type=$post_type";
                    
115	$post_new_file = "post-new.php?post_type=$post_type";
                    
116} else {
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
                
single_product.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 229 lines
                    
31								<a rel="<?php echo str_replace(array(" ", '"',"'", '&quot;','&#039;'), array("_", "", "", "",''), wpsc_the_product_title()); ?>" class="thickbox preview_link" href="<?php echo wpsc_the_product_image(); ?>">
                    
32									<img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_image($image_width, $image_height); ?>" />
                    
33								</a>
                    
118								<?php while (wpsc_have_variations()) : wpsc_the_variation(); ?>
                    
119									<option value="<?php echo wpsc_the_variation_id(); ?>" <?php echo wpsc_the_variation_out_of_stock(); ?>><?php echo wpsc_the_variation_name(); ?></option>
                    
120								<?php endwhile; ?>
                    
149								<?php endif; ?>
                    
150								<span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span><?php echo __('Price', 'wpsc'); ?>:  <br/>
                    
151								<!-- multi currency code -->
                    
177										<?php	$action =  wpsc_product_external_link(wpsc_the_product_id()); ?>
                    
178										<input class="wpsc_buy_button" type='button' value='<?php echo __('Buy Now', 'wpsc'); ?>' onclick='gotoexternallink("<?php echo $action; ?>")'>
                    
179										<?php else: ?>
                    
209		
                    
210					<form onsubmit="submitform(this);return false;" action="<?php echo wpsc_this_page_url(); ?>" method="post" name="product_<?php echo wpsc_the_product_id(); ?>" id="product_extra_<?php echo wpsc_the_product_id(); ?>">
                    
211						<input type="hidden" value="<?php echo wpsc_the_product_id(); ?>" name="prodid"/>
                    
                
internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
                    
1<?php
                    
2
                    
34		if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS)
                    
35			$this->print_message('error', sprintf(__('Link Mask Generator won&#8217;t work with default or &#8220;pathinfo&#8221; permalinks. Please change your <a href="%s">permalink structure</a> to enable this module&#8217;s functionality.', 'seo-ultimate'), 'options-permalink.php'));
                    
36		
                    
63				
                    
64				$id 	= stripslashes($_POST["alias_{$i}_id"]);
                    
65				$from	= stripslashes($_POST["alias_{$i}_from"]);
                    
65				$from	= stripslashes($_POST["alias_{$i}_from"]);
                    
66				$to		= stripslashes($_POST["alias_{$i}_to"]);
                    
67				
                    
67				
                    
68				$jls_post = stripslashes($_POST["alias_{$i}_posts"]);
                    
69				if ($jls_post) {
                    
                
searchoptionvalue.php https://github.com/ardowz/Thesis-SideB.git | PHP | 248 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * @version $Id: searchoptionvalue.php 14684 2011-06-11 06:32:40Z remi $
                    
4 -------------------------------------------------------------------------
                    
36// Direct access to file
                    
37if (strpos($_SERVER['PHP_SELF'],"searchoptionvalue.php")) {
                    
38   define('GLPI_ROOT','..');
                    
38   define('GLPI_ROOT','..');
                    
39   include (GLPI_ROOT."/inc/includes.php");
                    
40   header("Content-Type: text/html; charset=UTF-8");
                    
50if (isset($_REQUEST['searchtype'])) {
                    
51   $searchopt         = unserialize(stripslashes($_REQUEST['searchopt']));
                    
52   $_REQUEST['value'] = rawurldecode(stripslashes($_REQUEST['value']));
                    
                
settings.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 304 lines
                    
116				<td>
                    
117					<label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br />
                    
118					<label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br />
                    
210					<textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text">
                    
211<?php echo esc_textarea( stripslashes( get_site_option('first_page') ) ) ?></textarea>
                    
212					<br />
                    
219					<textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text">
                    
220<?php echo esc_textarea( stripslashes( get_site_option('first_comment') ) ) ?></textarea>
                    
221					<br />
                    
246				<td>
                    
247				<label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br />
                    
248				</td>
                    
303
                    
304<?php include( '../admin-footer.php' ); ?>
                    
305
                    
                
reqImport.php https://github.com/testlinkjp/testlink-japanese-localization.git | PHP | 378 lines
                    
1<?php
                    
2/** 
                    
5 *  
                    
6 * @filesource	reqImport.php
                    
7 * @package 	TestLink
                    
9 * @author 		Martin Havlat
                    
10 * @link 		http://www.teamst.org/index.php
                    
11 *
                    
17 */
                    
18require_once("../../config.inc.php");
                    
19require_once("common.php");
                    
19require_once("common.php");
                    
20require_once('requirements.inc.php');
                    
21require_once('xml.inc.php');
                    
21require_once('xml.inc.php');
                    
22require_once('csv.inc.php');
                    
23
                    
                
HTTP_WebDAV_Server_vCal.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 430 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
42
                    
43require_once 'modules/Calendar/Calendar.php';
                    
44
                    
44
                    
45require_once 'include/HTTP_WebDAV_Server/Server.php';
                    
46
                    
132              if(ini_get("magic_quotes_gpc")) {
                    
133               $this->path = stripslashes($this->path);
                    
134              }
                    
352            // open input stream
                    
353            $options["stream"] = fopen("php://input", "r");
                    
354            $content = '';
                    
                
MailForm.php https://bitbucket.org/tiseno/tiseno-website.git | PHP | 264 lines
                    
1<?php
                    
2
                    
47//$message = $message . "-- \nThank you ... from http://www.tiseno.com";
                    
48$message = stripslashes($message);
                    
49
                    
226            <td><!-- InstanceBeginEditable name="content" -->
                    
227          <p class="enquiry">Thank you <?php print stripslashes($_POST['Name']); ?>!</p>
                    
228		  <p class="enquiry">Your enquiry form has been sent to <?php echo "$my_email"; ?></p>
                    
229          <p class="enquiry">We will get back to you as soon as possible</p>
                    
230          <p><a href="<?php print "$continue"; ?>" class="url">Click here to continue</a></p><!-- InstanceEndEditable --></td>
                    
231            <td></td>
                    
                
options-interface.php https://github.com/billortell/skeleton_wp.git | PHP | 312 lines
                    
1<?php
                    
2
                    
69					if (!is_array($val)) {
                    
70						$val = stripslashes($val);
                    
71					}
                    
93			
                    
94			$val = stripslashes( $val );
                    
95			
                    
                
class.I18Nbase.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 257 lines
                    
1<?php
                    
2if (!extension_loaded('mbstring')) {
                    
9function __autoload($class){
                    
10    require_once( 'class.' . $class . '.inc.php');
                    
11} // end function
                    
75* @author Michael Wimmer <flaimo@gmail.com>
                    
76* @category flaimo-php
                    
77* @example  ../www_root/i18n_example_script.php  i18n example script
                    
78* @license GNU General Public License v3
                    
79* @link http://code.google.com/p/flaimo-php/
                    
80* @package i18n
                    
189				if ($this->isFilledString($data) === TRUE) {
                    
190					$this->$var_name = (string) trim(stripslashes($data));
                    
191					return (boolean) TRUE;
                    
                
transformations.lib.php https://github.com/md-tech/openemr.git | PHP | 279 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
28 * @uses    substr()
                    
29 * @uses    stripslashes()
                    
30 * @param   string  $option_string  comma separated options
                    
62        }
                    
63        $result[] = stripslashes($option);
                    
64    }
                    
108    foreach ($filestack as $file) {
                    
109        if (preg_match('|^.*__.*\.inc\.php$|', $file)) {
                    
110            // File contains transformation functions.
                    
252 *
                    
253 * in fact: it just replaces old php3 with php extension
                    
254 *
                    
268
                    
269    // This value can also contain a 'php3' value, in which case we map this filename to our new 'php' variant
                    
270    $testfile = preg_replace('@\.inc\.php3$@', '.inc.php', $include_file);
                    
                
functions.php https://bitbucket.org/perchten/open-platform.git | PHP | 438 lines
                    
43		$post_title = str_replace('"', '', $post_title);
                    
44		$post_content = stripslashes($data->post_content);
                    
45		$post_content = str_replace(']]>', ']]&gt;', $post_content);
                    
146	add_menu_page('Theme Options', 'Theme Options', 8, 'functions.php', 'theme_main_options_page');
                    
147	add_submenu_page('functions.php', 'Main Settings', 'Main Settings', 8, 'functions.php', 'theme_main_options_page');
                    
148
                    
198	<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
                    
199	<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<?php echo $id; ?>.json?callback=twitterCallback2&count=1"></script>
                    
200	<?php
                    
293?>
                    
294		<<?php echo $tag ?> <?php comment_class(empty( $args['has_children'] ) ? '' : 'parent') ?> id="comment-<?php comment_ID() ?>">
                    
295        
                    
301						<div class="commentmetadata">
                    
302							<span><?php echo get_comment_author_link(); ?></span> said on <?php comment_time('d-m-Y') ?>
                    
303						</div>
                    
                
Util.php https://bitbucket.org/sonnylazuardi/konsol.git | PHP | 389 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Slim - a micro PHP 5 framework
                    
4 *
                    
56     */
                    
57    public static function stripSlashesIfMagicQuotes($rawData, $overrideStripSlashes = null)
                    
58    {
                    
58    {
                    
59        $strip = is_null($overrideStripSlashes) ? get_magic_quotes_gpc() : $overrideStripSlashes;
                    
60        if ($strip) {
                    
73    {
                    
74        return is_array($rawData) ? array_map(array('self', '_stripSlashes'), $rawData) : stripslashes($rawData);
                    
75    }
                    
304     * instead of PHP's native `setcookie` method. This allows more control of the HTTP header
                    
305     * irrespective of PHP's native implementation's dependency on PHP versions.
                    
306     *
                    
                
PageCache.php https://gitlab.com/mohamed_hussein/prodt | PHP | 365 lines
                    
1<?php
                    
2
                    
149      $if_modified_since = $request->server->has('HTTP_IF_MODIFIED_SINCE') ? strtotime($request->server->get('HTTP_IF_MODIFIED_SINCE')) : FALSE;
                    
150      $if_none_match = $request->server->has('HTTP_IF_NONE_MATCH') ? stripslashes($request->server->get('HTTP_IF_NONE_MATCH')) : FALSE;
                    
151
                    
                
tags.php https://github.com/xmirror/piwigo.git | PHP | 531 lines
                    
5// | Copyright(C) 2008-2013 Piwigo Team                  http://piwigo.org |
                    
6// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
                    
7// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
                    
23
                    
24if( !defined("PHPWG_ROOT_PATH") )
                    
25{
                    
28
                    
29include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
                    
30check_status(ACCESS_ADMINISTRATOR);
                    
130  {
                    
131    $tag_name = stripslashes($_POST['tag_name-'.$tag_id]);
                    
132
                    
408  array(
                    
409    'F_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=tags',
                    
410    'PWG_TOKEN' => get_pwg_token(),
                    
                
single_product.php https://github.com/nerdfiles/sideshowtramps.com.git | PHP | 228 lines
                    
32								<a rel="<?php echo str_replace(array(" ", '"',"'", '&quot;','&#039;'), array("_", "", "", "",''), wpsc_the_product_title()); ?>" class="thickbox preview_link" href="<?php echo wpsc_the_product_image(); ?>">
                    
33									<img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_image($image_width, $image_height); ?>"/>
                    
34								</a>
                    
121								<?php while (wpsc_have_variations()) : wpsc_the_variation(); ?>
                    
122									<option value="<?php echo wpsc_the_variation_id(); ?>"  <?php echo wpsc_the_variation_out_of_stock(); ?> ><?php echo wpsc_the_variation_name(); ?></option>
                    
123								<?php endwhile; ?>
                    
152								<?php endif; ?>
                    
153								  <span id="product_price_<?php echo wpsc_the_product_id(); ?>" class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span><?php echo __('Price', 'wpsc'); ?>:<br/>
                    
154								<?php if(wpsc_product_has_multicurrency()) : ?>
                    
180										<?php else: ?>
                    
181									<input type='image' src='<?php echo WPSC_URL; ?>/themes/iShop/images/buy_button.gif' id='product_<?php echo wpsc_the_product_id(); ?>_submit_button' class='wpsc_buy_button' name='Buy'  value="<?php echo __('Add To Cart', 'wpsc'); ?>" />
                    
182
                    
209		
                    
210					<form onsubmit="submitform(this);return false;" action="<?php echo wpsc_this_page_url(); ?>" method="post" name="product_<?php echo wpsc_the_product_id(); ?>" id="product_extra_<?php echo wpsc_the_product_id(); ?>">
                    
211						<input type="hidden" value="<?php echo wpsc_the_product_id(); ?>" name="prodid"/>
                    
                
user_profile.php http://collectgame.googlecode.com/svn/trunk/ | PHP | 192 lines
                    
1<?php
                    
2
                    
22	if ($action == 'modify'){
                    
23		$password = stripslashes($_POST['password']);
                    
24		$display_name = stripslashes($_POST['display_name']);
                    
83
                    
84<?php if($user->login_type == 'sina'){?>
                    
85WB2.anyWhere(function(W){
                    
96	},{
                    
97		screen_name : '<?php echo $user->display_name?>'
                    
98	},{
                    
101});
                    
102<?php }?>
                    
103
                    
111		</ul>
                    
112		<img src="<?php echo $templateurl;?>/images/usercenter_tc.gif" id="UCL_bg" alt="????????" title="????????"  />
                    
113		<img src="<?php echo $templateurl;?>/images/usercenter_tr.gif" id="UCL_cr" alt="????????" title="????????"  />
                    
                
users.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 398 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( './admin.php' );
                    
11
                    
17$title = __('Users');
                    
18$parent_file = 'users.php';
                    
19
                    
33if ( empty($_REQUEST) ) {
                    
34	$referer = '<input type="hidden" name="wp_http_referer" value="'. esc_attr(stripslashes($_SERVER['REQUEST_URI'])) . '" />';
                    
35} elseif ( isset($_REQUEST['wp_http_referer']) ) {
                    
362if ( current_user_can( 'create_users' ) ) { ?>
                    
363	<a href="user-new.php" class="button add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
                    
364<?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?>
                    
364<?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?>
                    
365	<a href="user-new.php" class="button add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
                    
366<?php }
                    
                
acf.php https://gitlab.com/najomie/ljm | PHP | 490 lines
                    
1<?php
                    
2/*
                    
73			'show_updates'		=> true,
                    
74			'stripslashes'		=> false,
                    
75			'local'				=> true,
                    
91		// include helpers
                    
92		include_once('api/api-helpers.php');
                    
93		
                    
95		// api
                    
96		acf_include('api/api-value.php');
                    
97		acf_include('api/api-field.php');
                    
97		acf_include('api/api-field.php');
                    
98		acf_include('api/api-field-group.php');
                    
99		acf_include('api/api-template.php');
                    
102		// core
                    
103		acf_include('core/ajax.php');
                    
104		acf_include('core/field.php');
                    
                
user.php https://github.com/oleig/zf.git | PHP | 392 lines
                    
1<?php
                    
2
                    
6
                    
7	$Id: user.php 1011 2010-07-15 08:10:33Z zhaoxiongfei $
                    
8*/
                    
239	function _check_username($username) {
                    
240		$username = addslashes(trim(stripslashes($username)));
                    
241		if(!$_ENV['user']->check_username($username)) {
                    
270		$app = $this->cache['apps'][$appid];
                    
271		$apifilename = isset($app['apifilename']) && $app['apifilename'] ? $app['apifilename'] : 'uc.php';
                    
272		if($app['extra']['apppath'] && @include $app['extra']['apppath'].'./api/'.$apifilename) {
                    
                
index.php https://github.com/atutor/AChecker.git | PHP | 287 lines
                    
101?>
                    
102				<option value="<?php echo $row_lang['language_code']; ?>" <?php if ($_REQUEST["lang_code"] == $row_lang['language_code'] || $row_lang['language_code'] == $_SESSION['lang']) echo 'selected="selected"'; ?>><?php echo htmlspecialchars($row_lang["english_name"]); ?></option>
                    
103<?php
                    
121			<input type="radio" name="new_or_translated" value="1" id="u1" <?php if ($_REQUEST['new_or_translated'] == 1) { echo 'checked="checked"'; } ?> /><label for="u1"><?php echo _AC('new_terms'); ?></label> 
                    
122			<input type="radio" name="new_or_translated" value="2" id="u2" <?php if ($_REQUEST['new_or_translated'] == 2) { echo 'checked="checked"'; } ?> /><label for="u2"><?php echo _AC('translated_terms'); ?></label> 
                    
123			<input type="radio" name="new_or_translated" value="3" id="u3" <?php if ($_REQUEST['new_or_translated'] == 3) { echo 'checked="checked"'; } ?> /><label for="u3"><?php echo _AC('updated_terms'); ?></label> 
                    
146		<div>
                    
147			<input size="60" type="text" name="search_phase" id="search_phase" value="<?php echo htmlspecialchars(stripslashes($_REQUEST['search_phase'])); ?>" /> 
                    
148		</div>
                    
184<br />
                    
185<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>#anchor">
                    
186	<input type="hidden" name="selected_term" value="<?php echo $_REQUEST['selected_term']; ?>" />
                    
221		<td valign="top" align="right" nowrap="nowrap"><b><label for="translated_text"><?php echo _AC('translated_text'); ?></label>:</b></td>
                    
222		<td><textarea rows="4" cols="75" name="translated_text" id="translated_text" class="input2"><?php echo htmlspecialchars(stripslashes($row_selected['text']));?></textarea></td>
                    
223	</tr>
                    
                
list.php https://bitbucket.org/midasinc/your-submission.git | PHP | 206 lines
                    
109            <?php if(current_user_can('frm_edit_forms')){ ?>
                    
110            <a class="row-title" href="?page=formidable&amp;frm_action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))); ?>"><?php echo stripslashes($form->name); ?></a>
                    
111            <?php }else{    
                    
121                <?php if(current_user_can('frm_delete_forms')){ ?>
                    
122                | <span class="trash"><a href="?page=formidable&amp;frm_=destroy&amp;id=<?php echo $form->id; ?>"  onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?', 'formidable'), strip_tags(stripslashes($form->name))) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))); ?>"><?php _e('Delete', 'formidable') ?></a></span>
                    
123                <?php } ?>
                    
148				<?php if($frmpro_is_installed and current_user_can('frm_create_entries')){ ?>
                    
149                    | <span><a href="?page=formidable-entries&amp;frm_action=new&amp;form=<?php echo $form->id; ?>" title="<?php _e('New', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?> <?php _e('Entry', 'formidable') ?>"><?php _e('New Entry', 'formidable') ?></a></span></br>
                    
150                <?php } ?>
                    
154                | <span><a href="?page=formidable&amp;frm_action=duplicate&amp;id=<?php echo $form->id; ?>&amp;template=1" title="<?php _e('Create', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Create Template', 'formidable') ?></a></span>
                    
155                | <span><a href="<?php echo FRM_SCRIPT_URL ?>&amp;controller=forms&amp;frm_action=export&amp;id=<?php echo $form->id; ?>" title="<?php _e('Export', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Export as Template', 'formidable') ?></a></span>
                    
156                <?php
                    
159                if(current_user_can('frm_delete_forms')){ ?>
                    
160                | <span class="trash"><a href="?page=formidable&amp;frm_action=destroy&amp;id=<?php echo $form->id; ?>"  onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?', 'formidable'), strip_tags(stripslashes($form->name))) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo esc_attr(strip_tags(stripslashes($form->name))) ?>"><?php _e('Delete', 'formidable') ?></a></span>
                    
161                <?php } ?>
                    
                
spell-check-logic.php git://github.com/s9y/Serendipity.git | PHP | 172 lines
                    
1<?php
                    
2die('disabled in s9y');
                    
2die('disabled in s9y');
                    
3  $text = stripslashes($_POST['content']);
                    
4
                    
45
                    
46  require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'aspell_setup.php');
                    
47
                    
                
ezsql.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 315 lines
                    
1<?php
                    
2/*
                    
27
                    
28include('inc-traitements.php');
                    
29setlocale(LC_TIME, "fr_FR");
                    
63		$isExecute=true;
                    
64		$sqlNormale = stripslashes($_REQUEST['requete']);
                    
65	} else {
                    
                
view.php https://github.com/galitush2005/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 395 lines
                    
1<?php
                    
2// $Id: view.php,v 1.21 2009/08/10 19:26:21 fabiangebert Exp $
                    
6 * @author
                    
7 * @version $Id: view.php,v 1.21 2009/08/10 19:26:21 fabiangebert Exp $
                    
8 * @package studynotes
                    
10
                    
11require_once ("../../config.php"); //this is not the Mediabird config
                    
12require_once ("lib.php");
                    
13
                    
14require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."ext".DIRECTORY_SEPARATOR."moodle_auth.php");
                    
15require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."ext".DIRECTORY_SEPARATOR."config_default.php");
                    
15require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."ext".DIRECTORY_SEPARATOR."config_default.php");
                    
16require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."ext".DIRECTORY_SEPARATOR."config.php");
                    
17require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."server".DIRECTORY_SEPARATOR."utility.php");
                    
17require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."server".DIRECTORY_SEPARATOR."utility.php");
                    
18require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."ext".DIRECTORY_SEPARATOR."db_moodle.php");
                    
19require_once ($CFG->dirroot.DIRECTORY_SEPARATOR."mod".DIRECTORY_SEPARATOR."studynotes".DIRECTORY_SEPARATOR."server".DIRECTORY_SEPARATOR."helper.php");
                    
                
test.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 271 lines
                    
28                alert("Sorry, I've lost your responses. Please, do not leave the test window.");
                    
29                window.location = "./?url=main/test&id=<?php echo $test_id;?>&type=<?php echo $type;?>&mode=<?php echo $mode;?>&limit=<?php echo $limit;?>";
                    
30            }
                    
48            ?>				
                    
49            <div class="slide" name="question-<?php echo $question->id; ?>" id="question-<?php echo $question->id; ?>-<?php echo $question->module['id']; ?>">	
                    
50                <h3 class="module_name" name="<?php echo $question->module['name']; ?>">Module "<?php echo $question->module['name']; ?>"</h3>
                    
147            ?>				
                    
148            <div class="slide" name="question-<?php echo $question->id; ?>" id="question-<?php echo $question->id; ?>-<?php echo $question->module['id']; ?>">	
                    
149                <h3 class="module_name" name="<?php echo $question->module['name']; ?>">Module "<?php echo $question->module['name']; ?>"</h3>
                    
172                                                    <input type="checkbox" name="answer_points">
                    
173                                                    <span><?php echo stripslashes($answer['answer']); ?></span>
                    
174                                                </label>
                    
185                        <?php if($type=='auto') :?> 
                    
186                        <a class="btn small primary" name="showSlideButton" onclick="showAutoSlide(<?php echo $question->item_id?>,<?php echo $question->module['id'] ?>,<?php echo $question->id; ?>)">Show slide</a>
                    
187                        <?php else : ?>
                    
                
recaptchalib.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 277 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This is a PHP library that handles calling reCAPTCHA.
                    
4 *    - Documentation and latest version
                    
4 *    - Documentation and latest version
                    
5 *          http://recaptcha.net/plugins/php/
                    
6 *    - Get a reCAPTCHA API Key
                    
49        foreach ( $data as $key => $value )
                    
50                $req .= $key . '=' . urlencode( stripslashes($value) ) . '&';
                    
51
                    
74        $http_request .= "Content-Length: " . strlen($req) . "\r\n";
                    
75        $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
                    
76        $http_request .= "\r\n";
                    
215	if (! function_exists ("mcrypt_encrypt")) {
                    
216		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
                    
217	}
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
112            <p class="kopa-desc"><?php _e('Paste your Adsense, BSA or other ad code here to show ads on top banner.', kopa_get_domain()); ?></p>    
                    
113            <textarea class="" rows="6" id="kopa_theme_options_top_banner_code" name="kopa_theme_options_top_banner_code"><?php echo htmlspecialchars_decode(stripslashes(get_option('kopa_theme_options_top_banner_code'))); ?></textarea>
                    
114        </div><!--kopa-element-box-->
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
158                foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?>
                    
159                    <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option>
                    
160                <?php } // endforeach ?>
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
212            <p class="kopa-desc"><?php _e('Enter the content you want to display in your left footer (e.g. copyright text).', kopa_get_domain()); ?></p>    
                    
213            <textarea class="" rows="6" id="kopa_setting_copyrights" name="kopa_theme_options_copyright"><?php echo htmlspecialchars_decode(stripslashes(get_option('kopa_theme_options_copyright', __( 'Copyright &copy; 2013 . All Rights Reserved. Designed by kopatheme.com.', kopa_get_domain() )))); ?></textarea>
                    
214        </div><!--kopa-element-box-->
                    
                
edit.php https://bitbucket.org/sephora99/kmirock.git | PHP | 298 lines
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( './admin.php' );
                    
11
                    
37	$parent_file = "edit.php?post_type=$post_type";
                    
38	$submenu_file = "edit.php?post_type=$post_type";
                    
39	$post_new_file = "post-new.php?post_type=$post_type";
                    
223<?php screen_icon(); ?>
                    
224<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
225if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
228
                    
229<?php if ( isset($_REQUEST['locked']) || isset($_REQUEST['skipped']) || isset($_REQUEST['updated']) || isset($_REQUEST['deleted']) || isset($_REQUEST['trashed']) || isset($_REQUEST['untrashed']) ) {
                    
230	$messages = array();
                    
297<?php
                    
298include('./admin-footer.php');
                    
299
                    
                
index.php https://bitbucket.org/anneivycat/ebcookhouse.git | PHP | 223 lines
                    
81								<th class="manage-column column-comments num" id="id" style="padding-top:7px; width:2.5%;" scope="col" title="Click to Sort"><?php _e('ID','event_espresso'); ?></th>
                    
82								<th class="manage-column column-title" id="name" scope="col" title="Click to Sort" style="width:20%;"><?php _e('Name','event_espresso'); ?></th>
                    
83								<?php if (function_exists('espresso_is_admin')&&espresso_is_admin()==true && $espresso_premium == true){ ?>
                    
123							<tr>
                    
124								<td class="check-column" style="padding:7px 0 22px 5px; vertical-align:top;"><input name="checkbox[<?php echo $venue_id?>]" type="checkbox"  title="Delete <?php echo stripslashes($name)?>"></td>
                    
125								<td class="column-comments" style="padding-top:3px;"><?php echo $venue_id?></td>
                    
125								<td class="column-comments" style="padding-top:3px;"><?php echo $venue_id?></td>
                    
126								<td class="post-title page-title column-title"><strong><a href="admin.php?page=event_venues&action=edit&id=<?php echo $venue_id?>"><?php echo $name?></a></strong>
                    
127									<div class="row-actions"> <span class="edit"><a href="admin.php?page=event_venues&action=edit&id=<?php echo $venue_id?>">
                    
128										<?php _e('Edit', 'event_espresso'); ?>
                    
129										</a> | </span> <span class="delete"><a onclick="return confirmDelete();" class="submitdelete" href="admin.php?page=event_venues&action=delete_venue&id=<?php echo $venue_id?>">
                    
130										<?php _e('Delete', 'event_espresso'); ?>
                    
180		<p>
                    
181			<?php _e('Once you have created a locale in the <a href="admin.php?page=event_locales"> Manage Locales/Regions</a> page it will be available to select on the \'Add a Venue\' page', 'event_espresso')?>
                    
182		</p>
                    
                
Calendar.php https://github.com/hukumonline/store.git | PHP | 277 lines
                    
1<?php
                    
2
                    
121                    if (strlen($sqlDB->title) > TITLE_CHAR_LIMIT) {
                    
122                            $eventdata[$sqlDB->d]["title"][] = substr(stripslashes($sqlDB->title), 0, TITLE_CHAR_LIMIT) . "...";
                    
123                    } else {
                    
123                    } else {
                    
124                            $eventdata[$sqlDB->d]["title"][] = stripslashes($sqlDB->title);
                    
125                    }
                    
                
Save.php https://bitbucket.org/pixelant/aloha.git | PHP | 442 lines
                    
1<?php
                    
2/***************************************************************
                    
61		$this->tce = t3lib_div::makeInstance('t3lib_TCEmain');
                    
62		$this->tce->stripslashes_values = 0;
                    
63
                    
260
                    
261		if (is_array($GLOBALS['TYPO3_CONF_VARS']['Aloha']['Classes/Save/Save.php']['requestPreProcess'])) {
                    
262			$finished = FALSE;
                    
262			$finished = FALSE;
                    
263			foreach ($GLOBALS['TYPO3_CONF_VARS']['Aloha']['Classes/Save/Save.php']['requestPreProcess'] as $classData) {
                    
264				if (!$finished) {
                    
                
slides-list.php https://gitlab.com/webkod3r/tripolis | PHP | 190 lines
                    
95								?>
                    
96								<div class="icon_state state_unpublished" data-slideid="<?php echo $slideid; ?>" title="<?php _e("Publish Slide",'revslider'); ?>"></div>
                    
97								<?php
                    
114									?>
                    
115									<div id="slide_image_<?php echo $slideid; ?>" style="background-image:url('<?php echo $urlImageForView; ?>');<?php echo $bgStyle; ?>" class="slide_image" title="<?php _e('Slide Image - Click to change', 'revslider'); ?>"></div>
                    
116									<?php
                    
145							?>
                    
146							<a id="button_copy_slide_<?php echo $slideid; ?>" class='<?php echo $copyButtonClass; ?>' title="<?php echo $copyButtonTitle; ?>" style="width:120px; " href='javascript:void(0)'><i class="revicon-picture"></i><?php _e("Copy / Move",'revslider'); ?></a>
                    
147							<span class="loader_round loader_copy mtop_10 mleft_20 display_block" style="display:none;"><?php _e("Working...",'revslider'); ?></span>
                    
168									<li>
                    
169										<img id="icon_lang_<?php echo $childSlideID; ?>" class="icon_slide_lang" src="<?php echo $urlFlag; ?>" title="<?php echo $langTitle; ?>" data-slideid="<?php echo $childSlideID; ?>" data-lang="<?php echo $lang; ?>" data-isparent="<?php echo $isParent; ?>">
                    
170										<div class="icon_lang_loader loader_round" style="display:none"></div>
                    
175								<li>
                    
176									<div id="icon_add_lang_<?php echo $slideid; ?>" class="icon_slide_lang_add" data-operation="add" data-slideid="<?php echo $slideid; ?>" <?php echo $addItemStyle; ?>></div>
                    
177									<div class="icon_lang_loader loader_round" style="display:none"></div>
                    
                
internal-link-aliases.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 310 lines
                    
1<?php
                    
2
                    
51				
                    
52				$id 	= stripslashes($_POST["alias_{$i}_id"]);
                    
53				$from	= stripslashes($_POST["alias_{$i}_from"]);
                    
53				$from	= stripslashes($_POST["alias_{$i}_from"]);
                    
54				$to		= stripslashes($_POST["alias_{$i}_to"]);
                    
55				
                    
55				
                    
56				$jls_post = stripslashes($_POST["alias_{$i}_posts"]);
                    
57				if ($jls_post) {
                    
                
tickets.php https://github.com/railroadman2k/ccss.git | PHP | 193 lines
                    
5 * very similar to the account.php except search parameters in query
                    
6 * include validator.php
                    
7 */
                    
73		
                    
74		$xtpl->assign("SUBJECT", "<a href=\"show_ticket.php?ticket_id=" . $row["id"] . "\" class=\"ticket_urgent\">" . StripSlashes(htmlspecialchars($row["subject"])) . "</a>");
                    
75            $xtpl->assign("NUM", $i);
                    
119            {
                    
120            $xtpl->assign("SUBJECT", "<a href=\"show_ticket.php?ticket_id=" . $row["id"] . "\" class=\"ticket_urgent\">" . StripSlashes(htmlspecialchars($subject)) . "</a>");
                    
121            }
                    
123            {
                    
124            	$xtpl->assign("SUBJECT", "<a href=\"show_ticket.php?ticket_id=" . $row["id"] . "\" class=\"ticket\">" . StripSlashes(htmlspecialchars($subject)) . "</a>");
                    
125            }
                    
127			{
                    
128				$xtpl->assign("SUBJECT", "<a href=\"show_ticket.php?ticket_id=" . $row["id"] . "\" class=\"ticket_high\">" . StripSlashes(htmlspecialchars($subject)) . "</a>");
                    
129			}
                    
                
class.search.php https://gitlab.com/vectorci/Collabtive | PHP | 352 lines
                    
1<?php
                    
2/**
                    
9 * @link http://www.o-dyn.de
                    
10 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v3 or later
                    
11 */
                    
82                $result["icon"] = "projects.png";
                    
83                $result["name"] = stripslashes($result["name"]);
                    
84                $result["desc"] = stripslashes($result["desc"]);
                    
84                $result["desc"] = stripslashes($result["desc"]);
                    
85                $result["url"] = "manageproject.php?action=showproject&amp;id=$result[ID]";
                    
86                array_push($projects, $result);
                    
125                $result["icon"] = "miles.png";
                    
126                $result["name"] = stripslashes($result["name"]);
                    
127                $result["desc"] = stripslashes($result["desc"]);
                    
127                $result["desc"] = stripslashes($result["desc"]);
                    
128                $result["url"] = "managemilestone.php?action=showmilestone&amp;msid=$result[ID]&id=$result[project]";
                    
129                array_push($milestones, $result);
                    
                
meta.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 344 lines
                    
1<?php
                    
2/**
                    
45	// expected_slashed ($meta_key)
                    
46	$meta_key = stripslashes($meta_key);
                    
47
                    
53	$_meta_value = $meta_value;
                    
54	$meta_value = maybe_serialize( stripslashes_deep($meta_value) );
                    
55
                    
106	// expected_slashed ($meta_key)
                    
107	$meta_key = stripslashes($meta_key);
                    
108
                    
121	$_meta_value = $meta_value;
                    
122	$meta_value = maybe_serialize( stripslashes_deep($meta_value) );
                    
123
                    
177	// expected_slashed ($meta_key)
                    
178	$meta_key = stripslashes($meta_key);
                    
179	$meta_value = maybe_serialize( stripslashes_deep($meta_value) );
                    
                
acf.php https://gitlab.com/gabdark/aceit | PHP | 547 lines
                    
1<?php
                    
2/*
                    
70			'show_updates'		=> true,
                    
71			'stripslashes'		=> false,
                    
72			'local'				=> true,
                    
88		// include helpers
                    
89		include_once('api/api-helpers.php');
                    
90		
                    
92		// api
                    
93		acf_include('api/api-value.php');
                    
94		acf_include('api/api-field.php');
                    
94		acf_include('api/api-field.php');
                    
95		acf_include('api/api-field-group.php');
                    
96		acf_include('api/api-template.php');
                    
99		// core
                    
100		acf_include('core/ajax.php');
                    
101		acf_include('core/cache.php');
                    
                
options.php https://gitlab.com/meixnertobias/thaimaidaiproductionwp | PHP | 191 lines
                    
1<?php
                    
2
                    
18	public static function admin_page_url() {
                    
19		return admin_url('options-general.php');
                    
20	}
                    
22	public static function admin_page() {
                    
23		return 'options-general.php';
                    
24	}
                    
40		global $updraftplus_admin;
                    
41		add_submenu_page('options-general.php', 'UpdraftPlus', __('UpdraftPlus Backups','updraftplus'), apply_filters('option_page_capability_updraft-options-group', 'manage_options'), "updraftplus", array($updraftplus_admin, "settings_output"));
                    
42	}
                    
48		$page = '';
                    
49		if ('options-general.php' == $pagenow) $page="options.php";
                    
50
                    
80			} else {
                    
81				$referer = stripslashes_deep( remove_query_arg( $remove_query_args, $_SERVER['REQUEST_URI']) );
                    
82			}
                    
                
yandex_setup.php https://gitlab.com/Rad1calDreamer/honey | PHP | 463 lines
                    
2//<title>Yandex</title>
                    
3IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/catalog/export_setup_templ.php');
                    
4
                    
24		{
                    
25			$XML_DATA = base64_encode(stripslashes($arOldSetupVars['XML_DATA']));
                    
26		}
                    
134		"TITLE"=>GetMessage("CATI_ADM_RETURN_TO_LIST_TITLE"),
                    
135		"LINK"=>"/bitrix/admin/cat_export_setup.php?lang=".LANGUAGE_ID,
                    
136		"ICON"=>"btn_list",
                    
198		),
                    
199		"ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=0&'+'".bitrix_sessid_get()."';",
                    
200		"ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID='+this[this.selectedIndex].value+'&'+'".bitrix_sessid_get()."';",
                    
358	</script>
                    
359	<iframe src="/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=<?=intval($IBLOCK_ID)?>&<? echo bitrix_sessid_get(); ?>" id="id_ifr" name="ifr" style="display:none"></iframe>
                    
360	</td>
                    
                
akismet.php https://github.com/micz/elencode.git | PHP | 309 lines
                    
25		<label for="akismet_key">
                    
26			<?php _e('Akismet Key:') ?>
                    
27		</label>
                    
37		<div class="spacer">
                    
38			<input type="submit" name="submit" id="submit" value="<?php _e('Update Configuration &raquo;') ?>" />
                    
39		</div>
                    
50		if ($_POST['akismet_key']) {
                    
51			$value = stripslashes_deep( trim( $_POST['akismet_key'] ) );
                    
52			if ($value) {
                    
185	foreach ( $_submit as $key => $data )
                    
186		$query_string .= $key . '=' . urlencode( stripslashes($data) ) . '&';
                    
187	return bb_ksd_http_post($query_string, $bb_ksd_api_host, $path, $bb_ksd_api_port);
                    
272	if ( !bb_akismet_verify_key( bb_get_option( 'akismet_key' ) ) ) : ?>
                    
273<div class="error"><p><?php printf(__('The API key you have specified is invalid.  Please double check the <strong>Akismet Key</strong> set in <a href="%s">Akismet configuration</a>.  If you don\'t have an API key yet, you can get one at <a href="%s">WordPress.com</a>.'), 'admin-base.php?plugin=bb_ksd_configuration_page', 'http://wordpress.com/api-keys/'); ?></p></div>
                    
274<?php	endif;
                    
                
functions.php https://github.com/benbruscella/dynamicbodytherapy.com.git | PHP | 429 lines
                    
148						<br/>
                    
149						<?php _e('Keywords:', 'inove'); ?> <small><?php _e('( Separate keywords with commas )', 'inove'); ?></small>
                    
150						<br/>
                    
290						<br/>
                    
291						<?php _e('URL:', 'inove'); ?> <input type="text" name="feed_url" id="feed_url" class="code" size="60" value="<?php echo($options['feed_url']); ?>">
                    
292						<br/>
                    
297						<br/>
                    
298						<?php _e('URL:', 'inove'); ?> <input type="text" name="feed_url_email" id="feed_url_email" class="code" size="60" value="<?php echo($options['feed_url_email']); ?>">
                    
299					</td>
                    
376?>
                    
377	<li class="comment <?php if($comment->comment_author_email == get_the_author_email()) {echo 'admincomment';} else {echo 'regularcomment';} ?>" id="comment-<?php comment_ID() ?>">
                    
378		<div class="author">
                    
405				<a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'comment');"><?php _e('Reply', 'inove'); ?></a> | 
                    
406				<a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID() ?>', 'comment-<?php comment_ID() ?>', 'commentbody-<?php comment_ID() ?>', 'comment');"><?php _e('Quote', 'inove'); ?></a>
                    
407				<?php
                    
                
recaptchalib.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 278 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This is a PHP library that handles calling reCAPTCHA.
                    
5 *    - Documentation and latest version
                    
5 *    - Documentation and latest version
                    
6 *          http://recaptcha.net/plugins/php/
                    
7 *    - Get a reCAPTCHA API Key
                    
50        foreach ( $data as $key => $value )
                    
51                $req .= $key . '=' . urlencode( stripslashes($value) ) . '&';
                    
52
                    
75        $http_request .= "Content-Length: " . strlen($req) . "\r\n";
                    
76        $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
                    
77        $http_request .= "\r\n";
                    
216	if (! function_exists ("mcrypt_encrypt")) {
                    
217		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
                    
218	}
                    
                
image-widget.php https://gitlab.com/thisishayat/itv-2016 | PHP | 244 lines
                    
1<?php
                    
2/**
                    
23			'image',
                    
24			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
25			apply_filters( 'jetpack_widget_name', esc_html__( 'Image', 'jetpack' ) ),
                    
62
                    
63		/** This filter is documented in core/src/wp-includes/default-widgets.php */
                    
64		$title = apply_filters( 'widget_title', $instance['title'] );
                    
96			if ( '' != $instance['caption'] ) {
                    
97				/** This filter is documented in core/src/wp-includes/default-widgets.php */
                    
98				$caption   = apply_filters( 'widget_text', $instance['caption'] );
                    
139		$instance['img_title']         = strip_tags( $new_instance['img_title'] );
                    
140		$instance['caption']           = wp_kses( stripslashes($new_instance['caption'] ), $allowed_caption_html );
                    
141		$instance['align']             = $new_instance['align'];
                    
                
install.php https://github.com/vidor/vidor.me.git | PHP | 249 lines
                    
20	<h2>Error: PHP is not running</h2>
                    
21	<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
                    
22</body>
                    
133			<th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th>
                    
134			<td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td>
                    
135		</tr>
                    
149$mysql_version  = $wpdb->db_version();
                    
150$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
                    
151$mysql_compat   = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
                    
153if ( !$mysql_compat && !$php_compat )
                    
154	$compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
                    
155elseif ( !$php_compat )
                    
155elseif ( !$php_compat )
                    
156	$compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
                    
157elseif ( !$mysql_compat )
                    
                
common.php https://gitlab.com/hunt9310/ras | PHP | 192 lines
                    
1<?php
                    
2/**
                    
84			if ( ! function_exists( 'WP_Filesystem' ) ) {
                    
85				include_once ABSPATH . 'wp-admin/includes/file.php';
                    
86			}
                    
126	static function remove_quotes( $str ) {
                    
127		$str    = stripslashes( $str );
                    
128		$result = preg_replace( "/[\'\"]+/", '', $str );
                    
                
theme-install.php https://bitbucket.org/perchten/open-platform.git | PHP | 323 lines
                    
60	<select	name="type" id="typeselector">
                    
61	<option value="term" <?php selected('term', $type) ?>><?php _e('Term'); ?></option>
                    
62	<option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option>
                    
79<h4><?php _e('Feature Filter') ?></h4>
                    
80<form method="post" action="<?php echo self_admin_url( 'theme-install.php?tab=search' ); ?>">
                    
81<p class="install-help"><?php _e('Find a theme based on specific features') ?></p>
                    
96<li>
                    
97	<input type="checkbox" name="features[<?php echo $feature; ?>]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" />
                    
98	<label for="feature-id-<?php echo $feature; ?>"><?php echo $feature_name; ?></label>
                    
164<?php if ( ! empty($theme->last_updated) ) : ?>
                    
165<p><strong><?php _e('Last Updated:') ?></strong> <span title="<?php echo $theme->last_updated ?>"><?php printf( __('%s ago'), human_time_diff(strtotime($theme->last_updated)) ) ?></span></p>
                    
166<?php endif; if ( ! empty($theme->requires) ) : ?>
                    
174	<div class="star star-rating" style="width: <?php echo esc_attr($theme->rating) ?>px"></div>
                    
175	<div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div>
                    
176	<div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div>
                    
                
link-manager.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 292 lines
                    
85<?php screen_icon(); ?>
                    
86<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php
                    
87if ( !empty($_GET['s']) )
                    
195		$edit_link = get_edit_bookmark_link();
                    
196		?><tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>><?php
                    
197		foreach($link_columns as $column_name=>$column_display_name) {
                    
245				case 'rel':
                    
246					?><td <?php echo $attributes ?>><?php echo empty($link->link_rel) ? '<br />' : $link->link_rel; ?></td><?php
                    
247					break;
                    
248				case 'visible':
                    
249					?><td <?php echo $attributes ?>><?php echo $visible; ?></td><?php
                    
250					break;
                    
251				case 'rating':
                    
252 					?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php
                    
253					break;
                    
                
questiontype.php https://github.com/galitush2005/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 340 lines
                    
1<?php
                    
2/**
                    
22// include library routines for this question type
                    
23require_once(dirname(__FILE__) . '/locallib.php');
                    
24
                    
158        global $CFG;
                    
159        require_once($CFG->libdir.'/formslib.php');
                    
160
                    
196        if (isset($state->responses[''])) {
                    
197            $value = stripslashes_safe($state->responses['']);
                    
198        } else {
                    
271     *
                    
272     * This is used in question/backuplib.php
                    
273     */
                    
296     *
                    
297     * This is used in question/restorelib.php
                    
298     */
                    
                
slides_list.php https://gitlab.com/thisishayat/itv-2016 | PHP | 173 lines
                    
89							<?php if($state == "published"):?>
                    
90							<div class="icon_state state_published" data-slideid="<?php echo $slideid?>" title="<?php _e("Unpublish Slide",REVSLIDER_TEXTDOMAIN)?>"></div>
                    
91							<?php else:?>
                    
107										?>
                    
108										<div id="slide_image_<?php echo $slideid?>" style="background-image:url('<?php echo $urlImageForView?>');<?php echo $bgStyle; ?>" class="slide_image" title="Slide Image - Click to change"></div>
                    
109										<?php 
                    
137							?>
                    
138							<a id="button_copy_slide_<?php echo $slideid?>" class='<?php echo $copyButtonClass?>' title="<?php echo $copyButtonTitle?>" style="width:120px; " href='javascript:void(0)'><i class="revicon-picture"></i><?php _e("Copy / Move",REVSLIDER_TEXTDOMAIN)?></a>							
                    
139							<span class="loader_round loader_copy mtop_10 mleft_20 display_block" style="display:none;"><?php _e("Working...",REVSLIDER_TEXTDOMAIN)?></span>
                    
157							<li>
                    
158								<img id="icon_lang_<?php echo $childSlideID?>" class="icon_slide_lang" src="<?php echo $urlFlag?>" title="<?php echo $langTitle?>" data-slideid="<?php echo $childSlideID?>" data-lang="<?php echo $lang?>" data-isparent="<?php echo $isParent?>">
                    
159								<div class="icon_lang_loader loader_round" style="display:none"></div>								
                    
162							<li>
                    
163								<div id="icon_add_lang_<?php echo $slideid?>" class="icon_slide_lang_add" data-operation="add" data-slideid="<?php echo $slideid?>" <?php echo $addItemStyle?>></div>
                    
164								<div class="icon_lang_loader loader_round" style="display:none"></div>
                    
                
course_request_rejected.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 236 lines
                    
1<?php
                    
2/* For licensing terms, see /license.txt */
                    
20
                    
21require '../inc/global.inc.php';
                    
22
                    
26
                    
27require_once api_get_path(LIBRARY_PATH).'add_course.lib.inc.php';
                    
28require_once api_get_path(CONFIGURATION_PATH).'course_info.conf.php';
                    
28require_once api_get_path(CONFIGURATION_PATH).'course_info.conf.php';
                    
29require_once api_get_path(LIBRARY_PATH).'course_request.lib.php';
                    
30require_once api_get_path(LIBRARY_PATH).'mail.lib.inc.php';
                    
32// Including a configuration file.
                    
33require api_get_path(CONFIGURATION_PATH).'add_course.conf.php';
                    
34
                    
35// Including additional libraries.
                    
36require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php';
                    
37
                    
                
profile.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 310 lines
                    
1<?php
                    
2/**************************************************************************************************
                    
14
                    
15include("include/config.php");
                    
16include("include/functions/import.php");
                    
148					$link = $thebaseurl."/".stripslashes($_SESSION['USERNAME']);
                    
149					$sendmailbody = stripslashes($eusername).",<br><br><a href=\"$link\" target=\"_blank\">".stripslashes($_SESSION['USERNAME'])."</a> ".$lang['281']."<br><br>".$lang['69'].",<br>".$sendername;
                    
150					mailme($sendto,$sendername,$from,$subject,$sendmailbody,$bcc="");
                    
184					$link = $thebaseurl."/inbox.php";
                    
185					$sendmailbody = stripslashes($eusername).",<br><br>".stripslashes($_SESSION['USERNAME'])." ".$lang['278']."<br><br>".$lang['279']."<br><a href=\"$link\" target=\"_blank\">$link</a><br><br>".$lang['69'].",<br>".$sendername;
                    
186					mailme($sendto,$sendername,$from,$subject,$sendmailbody,$bcc="");
                    
233						$link = $thebaseurl."/inbox.php";
                    
234						$sendmailbody = stripslashes($eusername).",<br><br>".stripslashes($_SESSION['USERNAME'])." ".$lang['283']."<br><br>".$lang['284']."<br><a href=\"$link\" target=\"_blank\">$link</a><br><br>".$lang['69'].",<br>".$sendername;
                    
235						mailme($sendto,$sendername,$from,$subject,$sendmailbody,$bcc="");
                    
275						$link = $thebaseurl."/index.php";
                    
276						$sendmailbody = stripslashes($eusername).",<br><br>".stripslashes($_SESSION['USERNAME']).$lang['278']."<br><br>".$lang['279']."<br><a href=\"$link\" target=\"_blank\">$link</a><br><br>".$lang['69'].",<br>".$sendername;
                    
277						mailme($sendto,$sendername,$from,$subject,$sendmailbody,$bcc="");
                    
                
class-admin.php https://gitlab.com/bhargavi_dcw/dflocal | PHP | 444 lines
                    
1<?php
                    
2
                    
28
                    
29		require dirname( __FILE__ ) . '/admin-functions.php';
                    
30	}
                    
123
                    
124		$form_data = stripslashes_deep( $_POST['mc4wp_form'] );
                    
125		$form_content = include MC4WP_PLUGIN_DIR . 'config/default-form-content.php';
                    
255
                    
256		$form_data = stripslashes_deep( $_POST['mc4wp_form'] );
                    
257		$form_data['ID'] = $form_id;
                    
300		// get data
                    
301		$form_data = stripslashes_deep( $_POST['mc4wp_form'] );
                    
302		$form_data['ID'] =  $preview_id;
                    
383
                    
384		require dirname( __FILE__ ) . '/views/edit-form.php';
                    
385	}
                    
                
class-wc-predictive-search-filter.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 285 lines
                    
1<?php
                    
2/**
                    
41		$extra_parameter = '';
                    
42		if (isset($_REQUEST['row']) && $_REQUEST['row'] > 0) $row = stripslashes( strip_tags( $_REQUEST['row'] ) );
                    
43		if (isset($_REQUEST['text_lenght']) && $_REQUEST['text_lenght'] >= 0) stripslashes( strip_tags( $text_lenght = $_REQUEST['text_lenght'] ) );
                    
43		if (isset($_REQUEST['text_lenght']) && $_REQUEST['text_lenght'] >= 0) stripslashes( strip_tags( $text_lenght = $_REQUEST['text_lenght'] ) );
                    
44		if (isset($_REQUEST['show_price']) && trim($_REQUEST['show_price']) != '') $show_price = stripslashes( strip_tags( $_REQUEST['show_price'] ) );
                    
45		if (isset($_REQUEST['q']) && trim($_REQUEST['q']) != '') $search_keyword = stripslashes( strip_tags( $_REQUEST['q'] ) );
                    
82							
                    
83					$item = '<div class="ajax_search_content"><div class="result_row"><a href="'.$link_detail.'"><span class="rs_avatar">'.$avatar.'</span><div class="rs_content_popup"><span class="rs_name">'.stripslashes( $product->post_title).'</span>'.$price_html.'<span class="rs_description">'.$product_description.'</span></div></a></div></div>';
                    
84					echo $item.'[|]'.$link_detail.'[|]'.stripslashes( $product->post_title)."\n";
                    
154						
                    
155						$aNewRules = array($search_page_slug.'/'.$rewrite_rule.'?$' => 'index.php?pagename='.$search_page_slug.$original_url);
                    
156						$aRules = $aNewRules + $aRules;
                    
                
install.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 362 lines
                    
20	<h2>Error: PHP is not running</h2>
                    
21	<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
                    
22</body>
                    
78<body class="wp-core-ui<?php echo $body_classes ?>">
                    
79<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
                    
80
                    
205$mysql_version  = $wpdb->db_version();
                    
206$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
                    
207$mysql_compat   = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
                    
209if ( !$mysql_compat && !$php_compat )
                    
210	$compat = sprintf( __( 'You cannot install because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
                    
211elseif ( !$php_compat )
                    
211elseif ( !$php_compat )
                    
212	$compat = sprintf( __( 'You cannot install because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_php_version, $php_version );
                    
213elseif ( !$mysql_compat )
                    
                
update.php https://gitlab.com/Gashler/dp | PHP | 257 lines
                    
1<?php
                    
2/**
                    
12/** WordPress Administration Bootstrap */
                    
13require_once('./admin.php');
                    
14
                    
14
                    
15include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
                    
16
                    
28		if ( isset( $_GET['plugins'] ) )
                    
29			$plugins = explode( ',', stripslashes($_GET['plugins']) );
                    
30		elseif ( isset( $_POST['checked'] ) )
                    
36
                    
37		$url = 'update.php?action=update-selected&amp;plugins=' . urlencode(implode(',', $plugins));
                    
38		$nonce = 'bulk-update-plugins';
                    
54		$title = __('Update Plugin');
                    
55		$parent_file = 'plugins.php';
                    
56		$submenu_file = 'plugins.php';
                    
                
output-tab-metabox.php https://gitlab.com/lamovible/grand-regis | PHP | 434 lines
                    
171
                    
172			<tr id="row_<?php echo $name;?>" <?php if( $tr_class != '' ){ ?>class="<?php echo $tr_class;?>"<?php } ?> <?php if( $style != '' ){ ?> style="<?php echo $style;?>"<?php }?>>
                    
173				<?php if ( $s['type'] == 'desc' AND ! $label ) { ?>
                    
201
                    
202					<input type="number" class="code <?php echo $class;?>" name="<?php echo $name;?>" id="<?php echo $name;?>" value="<?php echo $value;?>" min="<?php echo $min; ?>" max="<?php echo $max; ?>" />
                    
203					<?php if( $help_text != ''){ ?>
                    
302									<label>
                    
303										<input type="checkbox" class="ninja-forms-<?php echo $name;?> <?php echo $class;?>" name="<?php echo $name;?>[]" value="<?php echo $option_value;?>" <?php checked( in_array( $option_value, $value ) );?> id="<?php echo $option_name;?>">
                    
304										<?php echo $option_name;?>
                    
320										<label>
                    
321											<input type="checkbox" class="ninja-forms-<?php echo $name;?> <?php echo $class;?>" name="<?php echo $name;?>[]" value="<?php echo $option_value;?>" <?php checked( in_array( $option_value, $value ) );?> id="<?php echo $option_name;?>">
                    
322											<?php echo $option_name;?>
                    
333						<?php foreach($s['options'] as $option){ ?>
                    
334							<input type="radio" name="<?php echo $name;?>" value="<?php echo $option['value'];?>" id="<?php echo $name."_".$x;?>" <?php checked($value, $option['value']);?> class="<?php echo $class;?>"> <label for="<?php echo $name."_".$x;?>"><?php echo $option['name'];?></label>
                    
335								<?php 
                    
                
header_php.php https://github.com/happyxlq/lt_svn.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * beat_deal header_php.php
                    
4 *
                    
8 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
                    
9 * @version $Id: header_php.php 6912 2007-09-02 02:23:45Z drbyte $
                    
10 */
                    
11
                    
12  require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
                    
13  $breadcrumb->add(NAVBAR_TITLE);
                    
111      $list_box_contents[$row]['products_name'] = $best_deal->fields['products_name'];
                    
112      $list_box_contents[$row]['products_description'] = zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($best_deal->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION);
                    
113      $list_box_contents[$row]['products_price'] = zen_get_products_base_price($best_deal->fields['products_id']);
                    
169      $list_box_contents2[$row]['products_name'] = $best_deal2->fields['products_name'];
                    
170      $list_box_contents2[$row]['products_description'] = zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($best_deal2->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION);
                    
171      $list_box_contents2[$row]['products_price'] = zen_get_products_base_price($best_deal2->fields['products_id']);
                    
                
Translate.php https://bitbucket.org/enurkov/prestashop.git | PHP | 237 lines
                    
1<?php
                    
2/*
                    
9* It is also available through the world-wide-web at this URL:
                    
10* http://opensource.org/licenses/osl-3.0.php
                    
11* If you did not receive a copy of the license and are unable to
                    
22*  @copyright  2007-2012 PrestaShop SA
                    
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
24*  International Registered Trademark & Property of PrestaShop SA
                    
53			$iso = Context::getContext()->language->iso_code;
                    
54			include_once(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');
                    
55		}
                    
59			$class_name_controller = $class.'controller';
                    
60			// if the class is extended by a module, use modules/[module_name]/xx.php lang file
                    
61			if (class_exists($class_name_controller) && Module::getModuleNameFromClass($class_name_controller))
                    
80
                    
81		return ($addslashes ? addslashes($str) : stripslashes($str));
                    
82	}
                    
                
FMModelGenerete_csv.php https://gitlab.com/ezgonzalez/integral | PHP | 270 lines
                    
1<?php
                    
2
                    
66					array_push($sorted_labels_id, $label);
                    
67					array_push($label_titles, stripslashes($label_order_original[$key]));
                    
68				}
                    
115							}
                    
116							$data_temp[stripslashes($label_titles[$h])] = $file_names;
                    
117						}
                    
126							if(substr($element_value, -2) == ', ') {
                    
127								$data_temp[stripslashes($label_titles[$h])]= substr($element_value, 0, -2);
                    
128							}
                    
129							else {
                    
130								$data_temp[stripslashes($label_titles[$h])]= $element_value;
                    
131							}
                    
133						elseif (strpos($element_value, "***map***")) {
                    
134							$data_temp[stripslashes($label_titles[$h])] = 'Longitude:' . str_replace("***map***", ', Latitude:', $element_value);
                    
135						}
                    
                
Call.php https://gitlab.com/7slayer/h-node | PHP | 503 lines
                    
28{
                    
29	$_GET = stripslashesDeep($_GET);
                    
30
                    
268	//otherwise set the controller to the default controller
                    
269	// 	if (!file_exists(ROOT.DS.APPLICATION_PATH.DS.'Controllers'.DS.ucwords($controller).'Controller.php') and !file_exists(ROOT.DS.APPLICATION_PATH.DS.getApplicationPath().'Controllers'.DS.ucwords($controller).'Controller.php'))
                    
270	if (!file_exists(ROOT.DS.APPLICATION_PATH.DS.getApplicationPath().'Controllers'.DS.ucwords($controller).'Controller.php'))
                    
384	{
                    
385		return Params::$mbStringLoaded === true ? mb_substr(mb_strstr($_SERVER['REQUEST_URI'],'index.php/'),10) : substr(strstr($_SERVER['REQUEST_URI'],'index.php/'),10);
                    
386	}
                    
405	}
                    
406	else if (getApplicationName() and file_exists(ROOT . DS . APPLICATION_PATH . DS . getApplicationPath() . 'Controllers' . DS . $backupName . '.php'))
                    
407	{
                    
409	}
                    
410	else if (file_exists(ROOT . DS . APPLICATION_PATH . DS . 'Controllers' . DS . $backupName . '.php'))
                    
411	{
                    
                
AdminPage.php https://gitlab.com/mattswann/launch-housing | PHP | 519 lines
                    
1<?php
                    
2
                    
8	 * $page_title string (mandatory)
                    
9	 * $parent (string)  (default: options-general.php)
                    
10	 * $capability (string)  (default: 'manage_options')
                    
207
                    
208		$new_data = stripslashes_deep( $new_data );
                    
209
                    
460			'screen_icon'           => '',
                    
461			'parent'                => 'options-general.php',
                    
462			'capability'            => 'manage_options',
                    
                
mod.mailinglist.php https://bitbucket.org/mbaily/tremain.git | PHP | 532 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
165			{ 
                    
166			 	ee()->functions->redirect(stripslashes(ee()->input->post('RET')));
                    
167			}
                    
262
                    
263		$site_name = (ee()->config->item('site_name') == '') ? lang('back') : stripslashes(ee()->config->item('site_name'));
                    
264
                    
287			'activation_url'	=> ee()->functions->fetch_site_index(0, 0).QUERY_MARKER.'ACT='.$action_id.'&id='.$code,
                    
288			'site_name'			=> stripslashes(ee()->config->item('site_name')),
                    
289			'site_url'			=> ee()->config->item('site_url'),
                    
337
                    
338		$site_name = (ee()->config->item('site_name') == '') ? lang('back') : stripslashes(ee()->config->item('site_name'));
                    
339
                    
481		$site_name = (ee()->config->item('site_name') == '') ?
                    
482			lang('back') : stripslashes(ee()->config->item('site_name'));
                    
483		
                    
                
htmlword.php https://bitbucket.org/steve_delbar/iepsm-projet-de-d-veloppement-internet-2013.git | PHP | 301 lines
                    
1<?php
                    
2/* $Id: htmlword.php,v 1.2 2005/03/06 14:54:15 nijel Exp $ */
                    
117        for ($i = 0; $i < $fields_cnt; $i++) {
                    
118            $schema_insert .= '<td class="print"><b>' . htmlspecialchars(stripslashes(PMA_DBI_field_name($result, $i))) . '</b></td>';
                    
119        } // end for
                    
                
tags.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 292 lines
                    
97<div class="wrap ngg_wrap">
                    
98	<?php include('templates/social_media_buttons.php'); ?>
                    
99    <?php screen_icon( 'nextgen-gallery' ); ?>
                    
116							<label for="search"><?php _e('Search tags', 'nggallery'); ?></label><br />
                    
117							<input type="hidden" name="page" value="<?php echo esc_attr( stripslashes($_GET['page']) ); ?>" />
                    
118							<input type="hidden" name="tag_sortorder" value="<?php echo $sort_order; ?>" />
                    
118							<input type="hidden" name="tag_sortorder" value="<?php echo $sort_order; ?>" />
                    
119							<input type="text" name="search" id="search" size="10" value="<?php if (isset($_GET['search'])) echo esc_attr( stripslashes($_GET['search']) ); ?>" />
                    
120							<input class="button" type="submit" value="<?php _e('Go', 'nggallery'); ?>" />
                    
156								<span>
                    
157									<input type="hidden" name="page" value="<?php echo esc_attr( stripslashes($_GET['page']) ); ?>" />
                    
158									<input type="hidden" name="tag_sortorder" value="<?php echo $sort_order; ?>" />
                    
169								<span>
                    
170									<input type="hidden" name="page" value="<?php echo esc_attr( stripslashes($_GET['page']) ); ?>" />
                    
171									<input type="hidden" name="tag_sortorder" value="<?php echo $sort_order; ?>" />
                    
                
options.php https://github.com/digitalstrategyworks/Reese-WordPress.git | PHP | 608 lines
                    
1<?php
                    
2
                    
244
                    
245		$this->footer_title = (string)stripslashes($_POST['arras-footer-title']);
                    
246
                    
282
                    
283		$this->slideshow_count = (int)stripslashes($_POST['arras-layout-slideshow-count']);
                    
284
                    
288
                    
289		$this->featured1_title = (string)(stripslashes($_POST['arras-layout-featured1-title']));
                    
290
                    
306
                    
307		$this->featured1_count = (int)stripslashes($_POST['arras-layout-featured1-count']);
                    
308
                    
312
                    
313		$this->featured2_title = (string)(stripslashes($_POST['arras-layout-featured2-title']));
                    
314
                    
                
json.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 275 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* REST Application Programming Interface PHP class for the WordPress plugin NextGEN Gallery
                    
4* Should emulate some kind of Flickr JSON callback : ?callback=json&format=json&api_key=1234567890&method=search&term=myterm
                    
8* 
                    
9* @require		PHP 5.2.0 or higher
                    
10* 
                    
57		if ( !function_exists('json_encode') )
                    
58			wp_die('Json_encode not available. You need to use PHP 5.2');
                    
59		
                    
163                        //TODO : need to rework save/load 
                    
164                        $name = stripslashes( htmlspecialchars_decode($name, ENT_QUOTES));
                    
165                        $obj->label = $image->pid . ' - ' . $name;
                    
185                        $name = ( empty($gallery->title) ) ? $gallery->name : $gallery->title;
                    
186                        $name = stripslashes( htmlspecialchars_decode($name, ENT_QUOTES));
                    
187                        $obj->label = $gallery->gid . ' - ' . $name;
                    
                
options-interface.php https://github.com/mattwiebe/options-framework-plugin.git | PHP | 344 lines
                    
1<?php
                    
2
                    
94				if ( !is_array($val) ) {
                    
95					$val = stripslashes( $val );
                    
96				}
                    
123
                    
124			$val = stripslashes( $val );
                    
125			$output .= '<textarea id="' . esc_attr( $value['id'] ) . '" class="of-input" name="' . esc_attr( $option_name . '[' . $value['id'] . ']' ) . '" rows="' . $rows . '">' . esc_textarea( $val ) . '</textarea>';
                    
                
reqTcAssign.php https://github.com/testlinkjp/testlink-japanese-localization.git | PHP | 340 lines
                    
1<?php
                    
2/** 
                    
4 *  
                    
5 * @filesource	reqTcAssign.php
                    
6 * @author 		Martin Havlat
                    
13**/
                    
14require_once("../../config.inc.php");
                    
15require_once("common.php");
                    
15require_once("common.php");
                    
16require_once('requirements.inc.php');
                    
17testlinkInitPage($db);
                    
104	// BUGID 4066 - take care of proper escaping when magic_quotes_gpc is enabled
                    
105	$_REQUEST=strings_stripSlashes($_REQUEST);
                    
106
                    
                
user.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 262 lines
                    
1<?php
                    
2
                    
6
                    
7	$Id: user.php 1082 2011-04-07 06:42:14Z svn_project_zhangjie $
                    
8*/
                    
40					if($app['synlogin'] && $app['appid'] != $this->app['appid']) {
                    
41						$synstr .= '<script type="text/javascript" src="'.$app['url'].'/api/uc.php?time='.$this->time.'&code='.urlencode($this->authcode('action=synlogin&username='.$this->user['username'].'&uid='.$this->user['uid'].'&password='.$this->user['password']."&time=".$this->time, 'ENCODE', $app['authkey'])).'"></script>';
                    
42					}
                    
55				if($app['synlogin'] && $app['appid'] != $this->app['appid']) {
                    
56					$synstr .= '<script type="text/javascript" src="'.$app['url'].'/api/uc.php?time='.$this->time.'&code='.urlencode($this->authcode('action=synlogout&time='.$this->time, 'ENCODE', $app['authkey'])).'"></script>';
                    
57				}
                    
226	function _check_username($username) {
                    
227		$username = addslashes(trim(stripslashes($username)));
                    
228		if(!$_ENV['user']->check_username($username)) {
                    
                
media-upload.php https://github.com/amoslanka/elleeffect.com.git | PHP | 282 lines
                    
221					<td class="label"><label for="image[<?php echo $picid ?>][alttext]"><?php esc_attr_e('Alt/Title text', "nggallery") ;?></label></td>
                    
222					<td class="field"><input id="image[<?php echo $picid ?>][alttext]" name="image[<?php echo $picid ?>][alttext]" value="<?php esc_attr_e( stripslashes($picture->alttext) ); ?>" type="text"/></td>
                    
223				  </tr>	
                    
225					<td class="label"><label for="image[<?php echo $picid ?>][description]"><?php esc_attr_e("Description","nggallery") ; ?></label></td>
                    
226						<td class="field"><textarea name="image[<?php echo $picid ?>][description]" id="image[<?php echo $picid ?>][description]"><?php esc_attr_e( stripslashes($picture->description) ); ?></textarea></td>
                    
227				  </tr>
                    
244						<td class="field">
                    
245							<input name="image[<?php echo $picid ?>][size]" id="image-size-thumb-<?php echo $picid ?>" type="radio" checked="checked" value="thumbnail" />
                    
246							<label for="image-size-thumb-<?php echo $picid ?>"><?php esc_attr_e("Thumbnail") ; ?></label>
                    
247							<input name="image[<?php echo $picid ?>][size]" id="image-size-full-<?php echo $picid ?>" type="radio" value="full" />
                    
248							<label for="image-size-full-<?php echo $picid ?>"><?php esc_attr_e("Full size") ; ?></label>
                    
249							<input name="image[<?php echo $picid ?>][size]" id="image-size-singlepic-<?php echo $picid ?>" type="radio" value="singlepic" />
                    
262							?>
                    
263							<button type="submit" class="button" value="1" name="send[<?php echo $picid ?>]"><?php esc_html_e( 'Insert into Post' ); ?></button>
                    
264						</td>
                    
                
model.php https://gitlab.com/edgarze188/sunrise | PHP | 280 lines
                    
1<?php
                    
2/**
                    
68          // $_SESSION[$key] = $_REQUEST[$key];
                    
69          $_REQUEST[$key] = stripslashes($_REQUEST[$key]);
                    
70        }
                    
72          // $_SESSION[$key] = $default;
                    
73          $_REQUEST[$key] = stripslashes($default);
                    
74        }
                    
75        // return $_SESSION[$key];
                    
76        return esc_html(stripslashes($_REQUEST[$key]));
                    
77      // }
                    
                
legacy.php https://github.com/Shigaru/shigaru.git | PHP | 432 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: legacy.php 14401 2010-01-26 14:10:00Z louis $
                    
4* @package		Joomla
                    
5* @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
                    
6* @license		GNU/GPL, see LICENSE.php
                    
7* Joomla! is free software. This version may have been modified pursuant
                    
10* other free or open source software licenses.
                    
11* See COPYRIGHT.php for copyright notices and details.
                    
12*/
                    
49		case 'url' :
                    
50			if (preg_match('#index.php\?#i', $mitem->link)) {
                    
51				if (!preg_match('#Itemid=#i', $mitem->link)) {
                    
57		default :
                    
58			$mitem->link = 'index.php?Itemid='.$mitem->id;
                    
59			break;
                    
                
Forms.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 483 lines
                    
1<?php
                    
2
                    
387
                    
388			$value = stripslashes_deep( $value );
                    
389
                    
                
edit_entry.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 320 lines
                    
1<?php
                    
2# $Id$
                    
50	sql_free($res);
                    
51# Note: Removed stripslashes() calls from name and description. Previous
                    
52# versions of MRBS mistakenly had the backslash-escapes in the actual database
                    
183
                    
184<FORM NAME="main" ACTION="edit_entry_handler.php" METHOD="GET">
                    
185
                    
258 <TD CLASS=CL>
                    
259<?php
                    
260# Display day name checkboxes according to language and preferred weekday start.
                    
                
registration_page_display.php https://bitbucket.org/anneivycat/ebcookhouse.git | PHP | 259 lines
                    
7 
                    
8		<h3 class="event_title ui-widget-header ui-corner-top" id="event_title-<?php echo $event_id; ?>"> <?php echo $event_name ?> <?php echo $is_active['status'] == 'EXPIRED' ? ' - <span class="expired_event">Event Expired</span>' : ''; ?> <?php echo $is_active['status'] == 'PENDING' ? ' - <span class="expired_event">Event is Pending</span>' : ''; ?> <?php echo $is_active['status'] == 'DRAFT' ? ' - <span class="expired_event">Event is a Draft</span>' : ''; ?> </h3>
                    
9 <div class="event_espresso_form_wrapper event-data-display ui-widget-content ui-corner-bottom">
                    
16		<?php // echo $venue_address != ''?'<p id="event_venue_address-'.$event_id.'" class="event_venue_address">'.stripslashes_deep($venue_address).'</p>':''?>
                    
17		<?php // echo $venue_address2 != ''?'<p id="event_venue_address2-'.$event_id.'" class="event_venue_address2">'.stripslashes_deep($venue_address2).'</p>':''?>
                    
18		<?php // echo $venue_city != ''?'<p id="event_venue_city-'.$event_id.'" class="event_venue_city">'.stripslashes_deep($venue_city).'</p>':''?>
                    
19		<?php // echo $venue_state != ''?'<p id="event_venue_state-'.$event_id.'" class="event_venue_state">'.stripslashes_deep($venue_state).'</p>':''?>
                    
20		<?php // echo $venue_zip != ''?'<p id="event_venue_zip-'.$event_id.'" class="event_venue_zip">'.stripslashes_deep($venue_zip).'</p>':''?>
                    
21		<?php // echo $venue_country != ''?'<p id="event_venue_country-'.$event_id.'" class="event_venue_country">'.stripslashes_deep($venue_country).'</p>':''?>
                    
80				?>
                    
81				<form method="post" action="<?php echo home_url() ?>/?page_id=<?php echo $event_page_id ?>" id="registration_form">
                    
82					<?php
                    
247						<p class="event_form_submit" id="event_form_submit-<?php echo $event_id; ?>">
                    
248							<input class="btn_event_form_submit ui-button ui-button-big ui-priority-primary ui-state-default ui-state-hover ui-state-focus ui-corner-all" id="event_form_field-<?php echo $event_id; ?>" type="submit" name="Submit" value="<?php _e('Submit', 'event_espresso'); ?>">
                    
249						</p>
                    
                
cart.php https://github.com/billortell/jigoshop.git | PHP | 200 lines
                    
107							<tr>
                    
108								<td class="product-remove"><a href="<?php echo jigoshop_cart::get_remove_url($cart_item_key); ?>" class="remove" title="<?php echo __('Remove this item.', 'jigoshop'); ?>">&times;</a></td>
                    
109								<td class="product-thumbnail"><a href="<?php get_permalink($values['product_id']); ?>">
                    
139					<div class="coupon">
                    
140						<label for="coupon_code"><?php _e('Coupon', 'jigoshop'); ?>:</label> <input name="coupon_code" class="input-text" id="coupon_code" value="" /> <input type="submit" class="button" name="apply_coupon" value="<?php _e('Apply Coupon', 'jigoshop'); ?>" />
                    
141					</div>
                    
142					<?php jigoshop::nonce_field('cart') ?>
                    
143					<input type="submit" class="button" name="update_cart" value="<?php _e('Update Shopping Cart', 'jigoshop'); ?>" /> <a href="<?php echo jigoshop_cart::get_checkout_url(); ?>" class="checkout-button button-alt"><?php _e('Proceed to Checkout &rarr;', 'jigoshop'); ?></a>
                    
144				</td>
                    
168						<th><?php _e('Shipping', 'jigoshop'); ?> <small><?php echo jigoshop_countries::shipping_to_prefix().' '.jigoshop_countries::$countries[ jigoshop_customer::get_shipping_country() ]; ?></small></th>
                    
169						<td><?php echo jigoshop_cart::get_cart_shipping_total(); ?> <small><?php echo jigoshop_cart::get_cart_shipping_title(); ?></small></td>
                    
170					</tr><?php endif; ?>
                    
171					<?php if (jigoshop_cart::get_cart_tax()) : ?><tr>
                    
172						<th><?php _e('Tax', 'jigoshop'); ?> <?php if (jigoshop_customer::is_customer_outside_base()) : ?><small><?php echo sprintf(__('estimated for %s', 'jigoshop'), jigoshop_countries::estimated_for_prefix() . jigoshop_countries::$countries[ jigoshop_countries::get_base_country() ] ); ?></small><?php endif; ?></th>
                    
173						<td><?php
                    
                
alternatives.inc.php https://github.com/harriswong/ATutor.git | PHP | 242 lines
                    
1<?php
                    
2/****************************************************************/
                    
22	$msg->printErrors('SAVE_BEFORE_PROCEED');
                    
23	require_once(AT_INCLUDE_PATH.'footer.inc.php');
                    
24	exit;
                    
46 *        $alternative type   the resource type of the alternative to display. Must be one of the values in resource_types.type_id
                    
47 *        $content_id         used to pass into file_manager/index.php
                    
48 *        $ps                 used to pass into file_manager/index.php
                    
67				echo '      <a href="'.$secondary_resource['secondary_resource'].'" title="'._AT('new_window').'" target="_new">'.get_display_filename($secondary_resource['secondary_resource']).'</a><br />'."\n";
                    
68				echo '      <a href="#" onclick="ATutor.poptastic(\''.AT_BASE_HREF.'mods/_core/file_manager/index.php?framed=1'. SEP.'popup=1'. SEP.'cp='. $content_row['content_path'].SEP.'cid='.$content_id.SEP.'pid='.$pid.SEP.'a_type='.$alternative_type.'\');return false;" title="'._AT('new_window').'">'."\n";
                    
69				echo '        <img src="'.AT_BASE_HREF.'images/home-tests_sm.png" border="0" title="'._AT('alter').'" alt="'._AT('alter').'" />'."\n";
                    
230{
                    
231	jQuery.post("<?php echo AT_BASE_HREF; ?>mods/_core/editor/remove_alternative.php", 
                    
232			{"pid":pid, "a_type":a_type}, 
                    
234
                    
235	var button_html = '      <input type="button" value="<?php echo _AT('add'); ?>" title="<?php echo _AT('new_window'); ?>" onclick="ATutor.poptastic(\\\'<?php echo AT_BASE_HREF; ?>mods/_core/file_manager/index.php?framed=1<?php echo SEP; ?>popup=1<?php echo SEP; ?>cp='+contentPath+'<?php echo SEP; ?>cid='+cid+'<?php echo SEP; ?>pid='+pid+'<?php echo SEP; ?>a_type='+a_type+'\\\');return false;" />';
                    
236	eval("document.getElementById(\""+pid+"_"+a_type+"\").innerHTML = '"+button_html+"'");
                    
                
collect_info_metatags.php https://github.com/yama/zencart13x-ja.git | PHP | 179 lines
                    
111      <tr>
                    
112        <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
                    
113      </tr>
                    
146            <td class="main" colspan="2">
                    
147              <?php echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . '<strong>' . TEXT_PRODUCTS_NAME . '</strong>' . '&nbsp;' . zen_get_products_name($_GET['pID'], $languages[$i]['id']) . '&nbsp;&nbsp;&nbsp;<strong>' . TEXT_PRODUCTS_MODEL . '</strong>&nbsp;' . $pInfo->products_model . '&nbsp;&nbsp;&nbsp;<strong>' . TEXT_PRODUCTS_PRICE_INFO . '</strong>&nbsp;' . $currencies->format($pInfo->products_price_sorter); ?>
                    
148            </td>
                    
152            <td class="main">
                    
153              <?php echo zen_draw_input_field('metatags_title[' . $languages[$i]['id'] . ']', (isset($metatags_title[$languages[$i]['id']]) ? stripslashes($metatags_title[$languages[$i]['id']]) : zen_get_metatags_title($pInfo->products_id, $languages[$i]['id'])), zen_set_field_length(TABLE_META_TAGS_PRODUCTS_DESCRIPTION, 'metatags_title', '150', false)); //,'id="'.'metatags_title' . $languages[$i]['id'] . '"');?>
                    
154            </td>
                    
158            <td class="main">
                    
159              <?php echo zen_draw_textarea_field('metatags_keywords[' . $languages[$i]['id'] . ']', 'soft', '100%', '10', (isset($metatags_keywords[$languages[$i]['id']])) ? stripslashes($metatags_keywords[$languages[$i]['id']]) : zen_get_metatags_keywords($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'metatags_keywords' . $languages[$i]['id'] . '"'); ?>
                    
160            </td>
                    
164            <td class="main">
                    
165              <?php echo zen_draw_textarea_field('metatags_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '10', (isset($metatags_description[$languages[$i]['id']])) ? stripslashes($metatags_description[$languages[$i]['id']]) : zen_get_metatags_description($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'metatags_description' . $languages[$i]['id'] . '"'); ?>
                    
166            </td>
                    
                
facebook-likebox.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 314 lines
                    
87
                    
88		?><iframe src="<?php echo esc_url( $like_url ); ?>" scrolling="no" frameborder="0" style="border: none; overflow: hidden;<?php echo 0 != $like_args['width'] ? ' width: ' . (int) $like_args['width'] . 'px; ' : ''; ?> height: <?php echo (int) $like_args['height']; ?>px; background: <?php echo esc_attr( $like_bg_colour ); ?>"></iframe><?php
                    
89
                    
147				<?php _e( 'Width', 'jetpack' ); ?>
                    
148				<input type="number" class="smalltext" min="1" max="999" maxlength="3" name="<?php echo $this->get_field_name( 'width' ); ?>" id="<?php echo $this->get_field_id( 'width' ); ?>" value="<?php echo esc_attr( $like_args['width'] ); ?>" style="text-align: center;" />px
                    
149			</label>
                    
179			<label for="<?php echo $this->get_field_id( 'stream' ); ?>">
                    
180				<input type="checkbox" name="<?php echo $this->get_field_name( 'stream' ); ?>" id="<?php echo $this->get_field_id( 'stream' ); ?>" <?php checked( $like_args['stream'] ); ?> />
                    
181				<?php _e( 'Show Stream', 'jetpack' ); ?>
                    
188			<label for="<?php echo $this->get_field_id( 'show_border' ); ?>">
                    
189				<input type="checkbox" name="<?php echo $this->get_field_name( 'show_border' ); ?>" id="<?php echo $this->get_field_id( 'show_border' ); ?>" <?php checked( $like_args['show_border'] ); ?> />
                    
190				<?php _e( 'Show Border', 'jetpack' ); ?>
                    
197			<label for="<?php echo $this->get_field_id( 'force_wall' ); ?>">
                    
198				<input type="checkbox" name="<?php echo $this->get_field_name( 'force_wall' ); ?>" id="<?php echo $this->get_field_id( 'force_wall' ); ?>" <?php checked( $like_args['force_wall'] ); ?> />
                    
199				<?php _e( 'Show Wall', 'jetpack' ); ?>
                    
                
sp-access.inc.php https://gitlab.com/Gashler/dp | PHP | 180 lines
                    
1<?php
                    
2/**
                    
79
                    
80								if (($_p = c_ws_plugin__s2member_utils_strings::trim_deep (stripslashes_deep ($_POST))) && isset ($_p["s2member_sp_access_link_ids"], $_p["s2member_sp_access_link_hours"]))
                    
81									$sp_access_link = c_ws_plugin__s2member_sp_access::sp_access_link_gen ((string)$_p["s2member_sp_access_link_ids"], (string)$_p["s2member_sp_access_link_hours"]);
                    
106
                    
107						else if ($sp_id && is_numeric ($sp_id) && ((!empty ($_GET["s2member_sp_access"]) && ($_g["s2member_sp_access"] = trim (stripslashes ((string)$_GET["s2member_sp_access"]))) && is_array ($sp_access_values = array ($_g["s2member_sp_access"]))) || is_array ($sp_access_values = c_ws_plugin__s2member_sp_access::sp_access_session ())) && !empty ($sp_access_values))
                    
108							{
                    
                
theme-editor.php https://github.com/MikeLockz/lockwitz.git | PHP | 271 lines
                    
175	<p class="howto"><?php printf( __( 'This child theme inherits templates from a parent theme, %s.' ), $themes[$theme]['Parent Theme'] ); ?></p>
                    
176	<?php endif; ?>
                    
177	<ul>
                    
194	?>
                    
195		<li><a href="theme-editor.php?file=<?php echo urlencode( $template_file ) ?>&amp;theme=<?php echo urlencode( $theme ) ?>&amp;dir=theme"><?php echo $filedesc ?></a></li>
                    
196<?php endwhile; ?>
                    
216		?>
                    
217		<li><a href="theme-editor.php?file=<?php echo urlencode( $style_file ) ?>&amp;theme=<?php echo urlencode($theme) ?>&amp;dir=style"><?php echo $filedesc ?></a></li>
                    
218<?php endwhile; ?>
                    
234		<?php echo $docs_select; ?>
                    
235		<input type="button" class="button" value=" <?php esc_attr_e( 'Lookup' ); ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( $wp_version ) ?>&amp;redirect=true'); }" />
                    
236		</div>
                    
240		<?php if ( is_child_theme() && ! $is_child_theme && $themes[$theme]['Template'] == get_option('template') ) : ?>
                    
241			<p><?php if ( is_writeable( $file ) ) { ?><strong><?php _e( 'Caution:' ); ?></strong><?php } ?>
                    
242			<?php _e( 'This is a file in your current parent theme.' ); ?></p>
                    
                
ext_string.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 447 lines
                    
1<?php
                    
2
                    
10
                    
11var_dump(stripslashes("\\'\\\"\\\\\n"));
                    
12
                    
165  $vowels[] = "U";
                    
166  var_dump(str_replace($vowels, "", "Hello World of PHP"));
                    
167}
                    
259
                    
260var_dump(str_rot13("PHP 4.3.0"));
                    
261
                    
                
PasswordRecovery.php https://bitbucket.org/blackriver/openx.git | PHP | 262 lines
                    
23+---------------------------------------------------------------------------+
                    
24$Id: PasswordRecovery.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
25*/
                    
34require_once MAX_PATH . '/lib/OA/Auth.php';
                    
35require_once MAX_PATH . '/lib/OA/Email.php';
                    
36require_once MAX_PATH . '/lib/OA/ServiceLocator.php';
                    
48    /**
                    
49     * PHP4-style constructor
                    
50     */
                    
71    {
                    
72        phpAds_PageHeader(phpAds_PasswordRecovery);
                    
73
                    
85
                    
86        phpAds_PageFooter();
                    
87    }
                    
                
inbox.tpl https://gitlab.com/phamngsinh/baitaplon_sinhvien | Smarty Template | 138 lines
                    
48                                <div class="status {if $m[i].unread eq "1"}unread{else}read{/if}"></div>
                    
49                                <div class="byline">{$lang99} {if $m[i].type eq "afr"}{$lang221}{else}{if $m[i].USERID GT "0"}<a href="{$baseurl}/{insert name=get_seo_profile value=a username=$m[i].username|stripslashes}">{$m[i].username|stripslashes}</a>{else}{$m[i].username|stripslashes}{/if}{/if}, {insert name=get_time_to_days_ago value=a time=$m[i].time}</div>
                    
50                                <div class="msgPreview"><span class="msgPreviewTrunc"><span style="color: rgb(0, 0, 0);" class="trunc">{if $m[i].type eq "afr"}{insert name=trimme value=var limit=25 w=$m[i].username|stripslashes w2=$lang219}{elseif $m[i].type eq "fr"}{$lang218} {$m[i].username|stripslashes}{else}{$m[i].subject|stripslashes|truncate:20:"...":true}{/if}</span></span></div>
                    
71                            <div id="profilePic" class="msgUser tinyOutline">
                    
72                                <div class="tinyuser"><a id="senderProfilePic" href="{$baseurl}/{insert name=get_seo_profile value=a username={$n[0].username|stripslashes}"><img id="senderProfilePicImg" src="{insert name=get_propic1 value=var assign=mypropic USERID=$n[0].MSGFROM}{$membersprofilepicurl}/thumbs/{$mypropic}" /></a></div>
                    
73                            </div>
                    
84                                    <div class="re" id="parentHeader"><span id="parentBody" class="headerPreviewSpan"></span><br>
                    
85                                        <span id="parentByline" class="byline">{$lang99} {$n[0].username|stripslashes}, {insert name=get_time_to_days_ago value=a time=$n[0].time}</span>
                    
86                                    </div>
                    
104                                    {if $n[0].type eq "afr"}
                    
105                                    <p id="msgbody_12122478"><a href="{$baseurl}/{insert name=get_seo_profile value=a username=$n[0].username|stripslashes}">{$n[0].username|stripslashes}</a> {$lang222}. </p>
                    
106                                    {elseif $n[0].type eq "fr"}
                    
106                                    {elseif $n[0].type eq "fr"}
                    
107                                    <p id="msgbody_12063620">{$lang218} <a href="{$baseurl}/{insert name=get_seo_profile value=a username=$n[0].username|stripslashes}">{$n[0].username|stripslashes}</a></p>
                    
108                                    <form id="aform" name="aform" action="{$baseurl}/inbox.php?s={$s}&page={$page}&o={$o}" method="post">
                    
                
index.php https://bitbucket.org/mac_pasha/neticketing.git | PHP | 292 lines
                    
45<!-------------------Banner START---------------------->
                    
46<?php include('include/banner.php');?>
                    
47<!-------------------Banner END----------------------> 
                    
150<!-------------------HEADER START---------------------->
                    
151<?php include('include/header.php');?>
                    
152<!-------------------HEADER END----------------------> 
                    
157<!--main menu-->
                    
158<?php include('include/navigation.php');?>
                    
159<!--main menu-->
                    
193                      do { ?>
                    
194                        <option value="<?php echo $row_routelist['source']?>"<?php if (!(strcmp($row_routelist['source'], $row_routelist['source'])))?>>
                    
195                          <?php echo $row_routelist['source']?>
                    
288<!-------------------FOOTER START---------------------->
                    
289<?php include('include/footer.php');?>
                    
290<!-------------------FOOTER END---------------------->
                    
                
widgets.php https://gitlab.com/sihabudinahmad/asppi | PHP | 133 lines
                    
62				<div class="news_archive_message"><p><?php echo $custom_content; ?></p></div>	
                    
63			<?php } ?>
                    
64			<ul class="news_archiv_list">
                    
66					<li id="arch_item_<?php echo $id_item; ?>" class="news_archiv_item">
                    
67						<a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>"><?php echo esc_attr( get_the_date( 'd.m.Y' ) ); ?></br><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a>
                    
68					</li>
                    
122			<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'fruitful' ); ?></label>
                    
123			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
                    
124
                    
125			<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'fruitful' ); ?></label>
                    
126			<input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p>
                    
127			
                    
129			<p><label for="<?php echo esc_attr( $this->get_field_id( 'textarea_newsarchiv' ) ); ?>"><?php _e( 'Text Message:', 'fruitful' ); ?></label>
                    
130			<textarea id="<?php 	echo esc_attr( $this->get_field_id( 'textarea_newsarchiv' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'textarea_newsarchiv' ) ); ?>" class="widefat" cols="16" rows="5"><?php echo stripslashes( $textarea_newsarchive ); ?></textarea></p>
                    
131		<?php
                    
                
class-wp-ms-sites-list-table.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 344 lines
                    
217							<label class="screen-reader-text" for="blog_<?php echo $blog['blog_id']; ?>"><?php printf( __( 'Select %s' ), $blogname ); ?></label>
                    
218							<input type="checkbox" id="blog_<?php echo $blog['blog_id'] ?>" name="allblogs[]" value="<?php echo esc_attr( $blog['blog_id'] ) ?>" />
                    
219						</th>
                    
224						<th valign="top" scope="row">
                    
225							<?php echo $blog['blog_id'] ?>
                    
226						</th>
                    
231						echo "<td class='column-$column_name $column_name'$style>"; ?>
                    
232							<a href="<?php echo esc_url( network_admin_url( 'site-info.php?id=' . $blog['blog_id'] ) ); ?>" class="edit"><?php echo $blogname . $blog_state; ?></a>
                    
233							<?php
                    
258								if ( get_blog_status( $blog['blog_id'], 'archived' ) == '1' )
                    
259									$actions['unarchive']	= '<span class="archive"><a href="' . esc_url( wp_nonce_url( network_admin_url( 'sites.php?action=confirm&amp;action2=unarchiveblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( 'You are about to unarchive the site %s.' ), $blogname ) ) ), 'confirm') ) . '">' . __( 'Unarchive' ) . '</a></span>';
                    
260								else
                    
263								if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' )
                    
264									$actions['unspam']	= '<span class="spam"><a href="' . esc_url( wp_nonce_url( network_admin_url( 'sites.php?action=confirm&amp;action2=unspamblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( 'You are about to unspam the site %s.' ), $blogname ) ) ), 'confirm') ) . '">' . _x( 'Not Spam', 'site' ) . '</a></span>';
                    
265								else
                    
                
getid3.check.php https://github.com/gaea/oms.git | PHP | 245 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////
                    
6//                                                        //
                    
7// check.php - part of getID3()                           //
                    
8// sample script for checking remote and local files      //
                    
12
                    
13include_once('getid3.php');
                    
14include_once(GETID3_INCLUDEPATH.'getid3.functions.php'); // Function library
                    
20	// support for running with register globals turned off
                    
21	// while maintaing pre-PHP4.1.0 compatibility
                    
22	// thanks to reel_taz@users.sourceforge.net
                    
31
                    
32echo '<HTML><HEAD><TITLE>getID3() - getid3.check.php (sample script)</TITLE></HEAD><BODY>';
                    
33
                    
62		// Directory names with single quotes or double quotes in them will likely come out addslashes()'d
                    
63		// so this will replace \' with ' (can't use stripslashes(), that would get rid of all slashes!)
                    
64		$listdirectory = str_replace(chr(92).chr(92), chr(92), $listdirectory); // \\ -> \
                    
                
wppa-lasten-widget.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 168 lines
                    
135		<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'wppa'); ?></label> 
                    
136			<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $widget_title; ?>" />
                    
137		</p>
                    
137		</p>
                    
138		<p><label for="<?php echo $this->get_field_id('album'); ?>"><?php _e('Album:', 'wppa'); ?></label> 
                    
139			<select class="widefat" id="<?php echo $this->get_field_id('album'); ?>" name="<?php echo $this->get_field_name('album'); ?>" >
                    
146		<?php $album_enum = $instance['albumenum'] ?>
                    
147		<p id="wppa-albums-enum" style="display:block;" ><label for="<?php echo $this->get_field_id('albumenum'); ?>"><?php _e('Albums:', 'wppa'); ?></label>
                    
148		<small style="color:blue;" ><br /><?php _e('Select --- multiple see below --- in the Album selection box. Then enter album numbers seperated by commas', 'wppa') ?></small>
                    
148		<small style="color:blue;" ><br /><?php _e('Select --- multiple see below --- in the Album selection box. Then enter album numbers seperated by commas', 'wppa') ?></small>
                    
149			<input class="widefat" id="<?php echo $this->get_field_id('albumenum'); ?>" name="<?php echo $this->get_field_name('albumenum'); ?>" type="text" value="<?php echo $album_enum ?>" />
                    
150		</p>
                    
154			<select id="<?php echo $this->get_field_id('timesince'); ?>" name="<?php echo $this->get_field_name('timesince'); ?>">
                    
155				<option value="no" <?php if ($timesince == 'no') echo 'selected="selected"' ?>><?php _e('no.', 'wppa'); ?></option>
                    
156				<option value="yes" <?php if ($timesince == 'yes') echo 'selected="selected"' ?>><?php _e('yes.', 'wppa'); ?></option>
                    
                
HttpRequest.class.php https://github.com/openstate/HNS.dev.git | PHP | 281 lines
                    
1<?php
                    
2require_once 'Request.abstract.php';
                    
2require_once 'Request.abstract.php';
                    
3require_once 'Destination.class.php';
                    
4
                    
37	protected function undoQuotes(&$value, $key) {
                    
38		$value = stripslashes($value);
                    
39	}
                    
57				$requestUri = $_SERVER['REQUEST_URI'];
                    
58			} elseif (isset($_SERVER['ORIG_PATH_INFO'])) { // IIS 5.0, PHP as CGI
                    
59				$requestUri = $_SERVER['ORIG_PATH_INFO'];
                    
92				$baseUrl = $_SERVER['SCRIPT_NAME'];
                    
93			} elseif (basename($_SERVER['PHP_SELF']) === $filename) {
                    
94				$baseUrl = $_SERVER['PHP_SELF'];
                    
98				// Backtrack up the script_filename to find the portion matching
                    
99				// php_self
                    
100				$path    = $_SERVER['PHP_SELF'];
                    
                
facebook-likebox.php https://gitlab.com/Gashler/sg | PHP | 268 lines
                    
76		<div id="fb-root"></div>
                    
77		<div class="fb-page" data-href="<?php echo esc_url( $page_url ); ?>" data-height="<?php echo intval( $like_args['height'] ); ?>" data-hide-cover="<?php echo esc_attr( $like_args['cover'] ); ?>" data-show-facepile="<?php echo esc_attr( $like_args['show_faces'] ); ?>" data-show-posts="<?php echo esc_attr( $like_args['stream'] ); ?>">
                    
78		<div class="fb-xfbml-parse-ignore"><blockquote cite="<?php echo esc_url( $page_url ); ?>"><a href="<?php echo esc_url( $page_url ); ?>"><?php echo esc_html( $title ); ?></a></blockquote></div>
                    
119				<?php _e( 'Title', 'jetpack' ); ?>
                    
120				<input type="text" name="<?php echo $this->get_field_name( 'title' ); ?>" id="<?php echo $this->get_field_id( 'title' ); ?>" value="<?php echo esc_attr( $instance['title'] ); ?>" class="widefat" />
                    
121			</label>
                    
141			<label for="<?php echo $this->get_field_id( 'show_faces' ); ?>">
                    
142				<input type="checkbox" name="<?php echo $this->get_field_name( 'show_faces' ); ?>" id="<?php echo $this->get_field_id( 'show_faces' ); ?>" <?php checked( $like_args['show_faces'] ); ?> />
                    
143				<?php _e( 'Show Faces', 'jetpack' ); ?>
                    
150			<label for="<?php echo $this->get_field_id( 'stream' ); ?>">
                    
151				<input type="checkbox" name="<?php echo $this->get_field_name( 'stream' ); ?>" id="<?php echo $this->get_field_id( 'stream' ); ?>" <?php checked( $like_args['stream'] ); ?> />
                    
152				<?php _e( 'Show Stream', 'jetpack' ); ?>
                    
159			<label for="<?php echo $this->get_field_id( 'cover' ); ?>">
                    
160				<input type="checkbox" name="<?php echo $this->get_field_name( 'cover' ); ?>" id="<?php echo $this->get_field_id( 'cover' ); ?>" <?php checked( $like_args['cover'] ); ?> />
                    
161				<?php _e( 'Show Cover Photo', 'jetpack' ); ?>
                    
                
introductionSection.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 255 lines
                    
1<?php
                    
2/* For licensing terms, see /license.txt */
                    
19 * $moduleId = XX // specifying the module Id
                    
20 * include(moduleIntro.inc.php);
                    
21 *
                    
24
                    
25require_once api_get_path(LIBRARY_PATH).'thematic.lib.php';
                    
26
                    
93			$form_values = $form->exportValues();
                    
94			$intro_content = Security::remove_XSS(stripslashes(api_html_entity_decode($form_values['intro_content'])), COURSEMANAGERLOWSECURITY);			
                    
95			if (!empty($intro_content)) {
                    
181		if (api_is_allowed_to_edit(null, true)) {
                    
182			//$thematic_advance = '<a href="'.api_get_path(WEB_CODE_PATH).'course_progress/index.php?action=thematic_details&'.api_get_cidreq().'">'.get_lang('CourseThematicAdvance').'&nbsp;'.$thematic->get_total_average_of_thematic_advances().'%</a>';
                    
183		}		
                    
                
preferences.php https://gitlab.com/endomorphosis/fusenews | PHP | 303 lines
                    
12$current_view = "preferences";
                    
13$back_page = BASE.$phpiCal_config->default_view.'.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;cpath='.$cpath;
                    
14if ($phpiCal_config->allow_preferences == 'no') header("Location: $back_page");
                    
65if (isset($_COOKIE[$cookie_name])) {
                    
66	$phpicalendar 		= unserialize(stripslashes($_COOKIE[$cookie_name]));
                    
67	$cookie_language 	= $phpicalendar['cookie_language'];
                    
73	$cookie_endtime		= $phpicalendar['cookie_endtime'];
                    
74	$cookie_timeformat	= $phpicalendar['cookie_timeformat'];
                    
75	$cookie_timezone	= $phpicalendar['cookie_timezone'];
                    
248$page->replace_files(array(
                    
249	'header'			=> BASE.'templates/'.$phpiCal_config->template.'/header.tpl',
                    
250	'footer'			=> BASE.'templates/'.$phpiCal_config->template.'/footer.tpl'
                    
253$page->replace_tags(array(
                    
254	'version'			=> $phpiCal_config->phpicalendar_version,
                    
255	'charset'			=> $phpiCal_config->charset,
                    
                
view.php https://github.com/drbowen/openemr.git | PHP | 233 lines
                    
12
                    
13$returnurl = $GLOBALS['concurrent_layout'] ? 'encounter_top.php' : 'patient_encounter.php';
                    
14
                    
176
                    
177<form method=post action="<?php echo $rootdir?>/forms/psychiatrisch_onderzoek/save.php?mode=update&id=<?php echo $_GET["id"];?>" name="my_form">
                    
178<span class="title"><?php xl('Psychiatric Examination','e'); ?></span><Br><br>
                    
204<br><span class=text><?php xl('Psychiatric Examination','e'); ?></span><br>
                    
205<textarea cols=80 rows=5 wrap=virtual name="psychiatrisch_onderzoek" id="psychiatrisch_onderzoek"><?php echo stripslashes($obj{"psychiatrisch_onderzoek"});?></textarea><br>
                    
206<br><span class=text><?php xl('Conclusions','e'); ?></span><br>
                    
206<br><span class=text><?php xl('Conclusions','e'); ?></span><br>
                    
207<textarea cols=80 rows=5 wrap=virtual name="beschrijvende_conclusie" id="beschrijvende_conclusie"><?php echo stripslashes($obj{"beschrijvende_conclusie"});?></textarea><br>
                    
208<br><span class=text><?php xl('Treatment Plan','e'); ?></span><br>
                    
208<br><span class=text><?php xl('Treatment Plan','e'); ?></span><br>
                    
209<textarea cols=80 rows=5 wrap=virtual name="behandelvoorstel" id="behandelvoorstel"><?php echo stripslashes($obj{"behandelvoorstel"});?></textarea><br>
                    
210
                    
                
wiki.php https://bitbucket.org/eithansmith/waka-wiki.git | PHP | 499 lines
                    
1<?php
                    
2
                    
10		
                    
11		require_once 'loader.php';
                    
12		$this->_loader = new Loader($this->_template);
                    
398	{
                    
399		$string = stripslashes($string);
                    
400		$string = htmlentities($string);
                    
                
Libupload.php https://github.com/ekoisa/pyrocms-shop.git | PHP | 256 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
62            if ($image){
                    
63                $filename = stripslashes($_FILES[$file_post]['name']);
                    
64                $extension = $this->getExtension($filename);
                    
                
guruq-list.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 407 lines
                    
1<?php
                    
2global $wpdb, $wp_locale;
                    
5
                    
6$edit_link = add_query_arg( array( 'page' => GURUQ_SLUG ), 'edit.php' );
                    
7
                    
9if ( $_redirect = intval( max( @$_GET['p'], @$_GET['attachment_id'], @$_GET['page_id'] ) ) ) {
                    
10	wp_redirect( admin_url('edit-comments.php?p=' . $_redirect ) );
                    
11	exit;
                    
20
                    
21	if ( strpos($sendback, 'post.php') !== false )
                    
22		$sendback = admin_url('post-new.php');
                    
134if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
                    
135<div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit post'); ?></a></p></div>
                    
136<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
303<select name='m'>
                    
304<option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option>
                    
305<?php
                    
                
cron.php https://github.com/muskmelon/Greemo.git | PHP | 407 lines
                    
1<?php
                    
2/**
                    
231		ob_start();
                    
232		wp_redirect( add_query_arg('doing_wp_cron', '', stripslashes($_SERVER['REQUEST_URI'])) );
                    
233		echo ' ';
                    
238
                    
239		WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' );
                    
240		return;
                    
244
                    
245	$cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron';
                    
246	wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
                    
257
                    
258	// Prevent infinite loops caused by lack of wp-cron.php
                    
259	if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false || ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) )
                    
                
users.php https://github.com/harriswong/ATutor.git | PHP | 246 lines
                    
1<?php
                    
2/****************************************************************/
                    
14define('AT_INCLUDE_PATH', '../../../include/');
                    
15require(AT_INCLUDE_PATH.'vitals.inc.php');
                    
16admin_authenticate(AT_ADMIN_PRIV_USERS);
                    
20} else if (isset($_GET['edit'], $_GET['id'])) {
                    
21	header('Location: edit_user.php?id='.$_GET['id'][0]);
                    
22	exit;
                    
23} else if (isset($_GET['password'], $_GET['id'])) {
                    
24	header('Location: password_user.php?id='.$_GET['id'][0]);
                    
25	exit;
                    
26} else if (isset($_GET['enrollment'], $_GET['id'])) {
                    
27	header('Location: user_enrollment.php?id='.$_GET['id'][0]);
                    
28	exit;
                    
32	if ($status == -1) {
                    
33		header('Location: admin_delete.php?id='.$ids);
                    
34		exit;
                    
                
crop-avatar.php https://gitlab.com/oytunistrator/cropper | PHP | 197 lines
                    
1<?php
                    
2    class CropAvatar {
                    
34            if (!empty($data)) {
                    
35                $this -> data = json_decode(stripslashes($data));
                    
36            }
                    
145                case UPLOAD_ERR_INI_SIZE:
                    
146                    $message = 'The uploaded file exceeds the upload_max_filesize directive in php.ini';
                    
147                    break;
                    
                
edit_index.class.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 162 lines
                    
1<?php // $Id: edit_index.class.php,v 1.8.2.2 2009/11/20 14:26:24 stronk7 Exp $
                    
2
                    
69        $dirpath = required_param('dir', PARAM_PATH);
                    
70        $dirpath = $CFG->dirroot . stripslashes_safe($dirpath);
                    
71
                    
101    /// Add the main form
                    
102        $o = '<form id="form" action="index.php" method="post">';
                    
103        $o.= '<div>';
                    
135        if ($table->getIndex($indexparam)) {
                    
136            $b .= '&nbsp;<a href="index.php?action=view_index_xml&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;select=original&amp;table=' . $tableparam . '&amp;index=' . $indexparam . '">[' . $this->str['vieworiginal'] . ']</a>';
                    
137        } else {
                    
141        if ($index->hasChanged()) {
                    
142            $b .= '&nbsp;<a href="index.php?action=view_index_xml&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;select=edited&amp;table=' . $tableparam . '&amp;index=' . $indexparam . '">[' . $this->str['viewedited'] . ']</a>';
                    
143        } else {
                    
146    /// The back to edit table button
                    
147        $b .= '&nbsp;<a href="index.php?action=edit_table&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
                    
148        $b .= '</p>';
                    
                
rsslinks-widget.php https://gitlab.com/hunt9310/ras | PHP | 222 lines
                    
1<?php
                    
2/**
                    
18			'rss_links',
                    
19			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
20			apply_filters( 'jetpack_widget_name', __( 'RSS Links', 'jetpack' ) ),
                    
29
                    
30		/** This filter is documented in core/src/wp-includes/default-widgets.php */
                    
31		$title = apply_filters( 'widget_title', $instance['title'] );
                    
34		if ( $title )
                    
35			echo $before_title . stripslashes( $title ) . $after_title;
                    
36
                    
81
                    
82		$title = stripslashes( $instance['title'] );
                    
83		$display = $instance['display'];
                    
                
recaptchalib.php https://bitbucket.org/Mainboarder/s2firewall.git | PHP | 277 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This is a PHP library that handles calling reCAPTCHA.
                    
4 *    - Documentation and latest version
                    
4 *    - Documentation and latest version
                    
5 *          http://recaptcha.net/plugins/php/
                    
6 *    - Get a reCAPTCHA API Key
                    
49        foreach ( $data as $key => $value )
                    
50                $req .= $key . '=' . urlencode( stripslashes($value) ) . '&';
                    
51
                    
74        $http_request .= "Content-Length: " . strlen($req) . "\r\n";
                    
75        $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
                    
76        $http_request .= "\r\n";
                    
215	if (! function_exists ("mcrypt_encrypt")) {
                    
216		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
                    
217	}
                    
                
index.php https://github.com/damanlovett/SEAHO.git | PHP | 119 lines
                    
1<?php require_once('../../../Connections/CMS.php'); ?>
                    
2<?php
                    
43?>
                    
44<?php require_once('../../includefiles/initDelegates.php'); ?>
                    
45<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                    
71<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="textheader">
                    
72<?php require_once('../../../includefiles/header.inc.php'); ?>
                    
73  <tr>
                    
98                <?php echo $row_rsConferenceFull['conference_theme']; ?><br />
                    
99                <?php echo basicDate($row_rsConferenceFull['start_date']); ?> - <?php echo basicDate($row_rsConferenceFull['end_date']); ?> <br />
                    
100              </p>
                    
101            <?php if($row_rsConferenceFull['accept_registrations']=='Yes'){?>
                    
102            <p>To submit a registration for this conference,  go to the <a href="registration.php?conferenceID=<?php echo $row_rsConferenceFull['conference_id']; ?>"> Registration page</a> .</p>
                    
103            <?php } else {?>
                    
110  </tr>
                    
111  <?php require_once('../../../includefiles/footer.inc.php'); ?>
                    
112</table>
                    
                
mailer.php https://gitlab.com/eluar/infocus | PHP | 289 lines
                    
1<?php
                    
2//start the session
                    
9//set the return URL
                    
10$return_url = "../index.php";
                    
11
                    
45
                    
46//sets the PHP setting 'sendmail_from' for use on a windows server.
                    
47$windows_server = false;
                    
75	if ($magic_quotes) {
                    
76		$value = stripslashes($value);
                    
77	}
                    
                
class-ms-rule-content-model.php https://gitlab.com/najomie/fit-hippie | PHP | 403 lines
                    
1<?php
                    
2/**
                    
276	public function show_moretag_protection( $more_tag_link, $more_tag ) {
                    
277		$msg = stripslashes( $this->protection_message );
                    
278
                    
304			$the_content = substr( $the_content, 0, $more_starts_at );
                    
305			$the_content .= stripslashes( $this->protection_message );
                    
306		}
                    
                
cqxprewardpanel.inc.php https://gitlab.com/Goutte/Nacridan | PHP | 251 lines
                    
1<?php
                    
2require_once (HOMEPATH . "/lib/BBCodeParser/BBCodeParser.inc.php");
                    
42            if ($_POST['createconfirm'] == 'yes') {
                    
43                require_once (HOMEPATH . "/class/Mission.inc.php");
                    
44                require_once (HOMEPATH . "/class/MissionReward.inc.php");
                    
78            $str .= "<td width='100px'>" . gmdate("d-m-Y") . "</td>";
                    
79            $str .= "<td width='250px' >*** <b>" . stripslashes($_POST["title"]) . "</b> ***</td>";
                    
80            $str .= "</tr>";            
                    
81            
                    
82            $content = stripslashes($_POST["content"]);
                    
83            $content = nl2br(bbcode($content));            
                    
139            if ($_POST['deleteconfirm'] == 'yes') {
                    
140                $newslist = unserialize(stripslashes($_POST['newslist']));
                    
141                foreach ($newslist as $id) {
                    
152            
                    
153            $newslist = unserialize(stripslashes($_POST['newslist']));
                    
154            
                    
                
index.php https://github.com/lucasgoicoechea/prolab.git | PHP | 265 lines
                    
84		$time = explode(" ", $time);
                    
85		$actions = "<a href=\"modules.php?name=News&amp;file=print&amp;sid=$sid\"><img src=\"images/print.gif\" border=0 alt=\""._PRINTER."\" title=\""._PRINTER."\" width=\"16\" height=\"11\"></a>&nbsp;<a href=\"modules.php?name=News&amp;file=friend&amp;op=FriendSend&amp;sid=$sid\"><img src=\"images/friend.gif\" border=0 alt=\""._FRIEND."\" title=\""._FRIEND."\" width=\"16\" height=\"11\"></a>";
                    
86		if ($score != 0) {
                    
137	."</form>"
                    
138	."[ <a href=\"modules.php?name=$module_name\">"._ARCHIVESINDEX."</a> | <a href=\"modules.php?name=$module_name&amp;sa=show_all\">"._SHOWALLSTORIES."</a> ]</center>";
                    
139	CloseTable();
                    
176		$time = explode(" ", $time);
                    
177		$actions = "<a href=\"modules.php?name=News&amp;file=print&amp;sid=$sid\"><img src=\"images/print.gif\" border=0 alt=\""._PRINTER."\" title=\""._PRINTER."\" width=\"15\" height=\"11\"></a>&nbsp;<a href=\"modules.php?name=News&amp;file=friend&amp;op=FriendSend&amp;sid=$sid\"><img src=\"images/friend.gif\" border=0 alt=\""._FRIEND."\" title=\""._FRIEND."\" width=\"15\" height=\"11\"></a>";
                    
178		if ($score != 0) {
                    
187			$cat_title = stripslashes($row_res['title']);
                    
188			$title = "<a href=\"modules.php?name=News&amp;file=categories&amp;op=newindex&amp;catid=$catid\"><i>$cat_title</i></a>: <a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid$r_options\">$title</a>";
                    
189		}
                    
217		$a++;
                    
218		echo "<center>[ <a href=\"modules.php?name=$module_name&amp;sa=show_all&amp;min=$pmin\">"._PREVIOUSPAGE."</a> | <a href=\"modules.php?name=$module_name&amp;sa=show_all&amp;min=$min\">"._NEXTPAGE."</a> ]</center><br>";
                    
219	}
                    
                
center_inner_public.tpl https://github.com/rerooting/PeopleAggregator.git | Smarty Template | 129 lines
                    
6<ul id="filters">
                    
7  <li <?php echo (empty($request_data['sort_by']) || ($request_data['sort_by'] == 'alphabetic')) ? $active:'' ;?> ><a href="<?php echo PA::$url .'/'.FILE_NETWORKS_HOME.'?sort_by=alphabetic'.$other_args?>"><?= __("Alphabetical") ?></a></li>
                    
8  <li <?php echo (!empty($request_data['sort_by']) && $request_data['sort_by'] == 'members') ? $active : '' ;?>><a href="<?php echo PA::$url .'/'.FILE_NETWORKS_HOME.'?sort_by=members'.$other_args?>"><?= __("Size") ?></a></li>
                    
8  <li <?php echo (!empty($request_data['sort_by']) && $request_data['sort_by'] == 'members') ? $active : '' ;?>><a href="<?php echo PA::$url .'/'.FILE_NETWORKS_HOME.'?sort_by=members'.$other_args?>"><?= __("Size") ?></a></li>
                    
9  <li <?php echo (!empty($request_data['sort_by']) && $request_data['sort_by'] == 'created') ? $active : '' ;?>><a href="<?php echo PA::$url .'/'.FILE_NETWORKS_HOME.'?sort_by=created'.$other_args?>"><?= __("Date Created") ?></a></li>
                    
10</ul>
                    
21    <div class="field" >
                    
22    <?= __("Search for") ?>:<input type="text" value ="<?php echo !empty($request_data['keyword']) ? stripslashes($request_data['keyword']) : '' ;?>" name="keyword"/><select class="select-txt" name="name_string">
                    
23        <?  foreach ($search_str as $search_option ) {              
                    
63              <td valign="top" width="415">
                    
64                <h2><a href="http://<? echo $network->address .'.' . PA::$domain_suffix.BASE_URL_REL . PA_ROUTE_HOME_PAGE?>"><?php echo strip_tags(stripslashes($network->network_name));?></a></h2>
                    
65
                    
68                <div class="post_info">
                    
69                 <?php echo uihelper_plural($network->member_count, ' Member');?> | Created <?=date("F d, Y ", $network->created);?>  | Moderated By <a href="<?= PA::$url . PA_ROUTE_USER_PUBLIC . '/' . $network->owner_id ?>"><?php echo $network_owner_name;?></a>
                    
70                </div>
                    
                
common.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 265 lines
                    
25$GLOBALS['HTMLPurifierTest']['PEAR'] = false; // do PEAR tests
                    
26$GLOBALS['HTMLPurifierTest']['PHPT'] = true; // do PHPT tests
                    
27$GLOBALS['HTMLPurifierTest']['PH5P'] = class_exists('DOMDocument');
                    
32$versions_to_test = array();
                    
33$php  = 'php';
                    
34$phpv = 'phpv';
                    
36// load configuration
                    
37if (file_exists('../conf/test-settings.php')) include '../conf/test-settings.php';
                    
38elseif (file_exists('../test-settings.php')) include '../test-settings.php';
                    
39else {
                    
40    throw new Exception('Please create a test-settings.php file by copying test-settings.sample.php and configuring accordingly');
                    
41}
                    
240{
                    
241    exec($php . ' ../maintenance/flush.php ' . $php . ' 2>&1', $out, $status);
                    
242    if ($status) {
                    
                
htmlword.php https://gitlab.com/albert925/lading-ach | PHP | 349 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package phpMyAdmin-Export-HTMLWord
                    
7 * @version $Id$
                    
8 */
                    
9if (! defined('PHPMYADMIN')) {
                    
10    exit;
                    
146        for ($i = 0; $i < $fields_cnt; $i++) {
                    
147            $schema_insert .= '<td class="print"><b>' . htmlspecialchars(stripslashes(PMA_DBI_field_name($result, $i))) . '</b></td>';
                    
148        } // end for
                    
                
Database.php https://github.com/durand54/caresite.git | PHP | 351 lines
                    
1<?php
                    
2
                    
346		
                    
347		return stripslashes($string);
                    
348	}
                    
                
usercp_email.php https://github.com/lucasgoicoechea/prolab.git | PHP | 249 lines
                    
2/***************************************************************************
                    
3 *                             usercp_email.php
                    
4 *                            -------------------
                    
8 *
                    
9 *   $Id: usercp_email.php,v 1.7.2.13 2003/06/06 18:02:15 acydburn Exp $
                    
10 *
                    
27*
                    
28* This is version 2.0.5 of the phpbb2 forum port for PHP-Nuke. Work is based
                    
29* on Tom Nitzschner's forum port version 2.0.6. Tom's 2.0.6 port was based
                    
34/***************************************************************************
                    
35 *   This file is part of the phpBB2 port to Nuke 6.0 (c) copyright 2002
                    
36 *   by Tom Nitzschner (tom@toms-home.com)
                    
84{
                    
85        header('Location: ' . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=email&" . POST_USERS_URL . "=$user_id", true));
                    
86        exit;
                    
                
texytext.php https://gitlab.com/albert925/lading-ach | PHP | 338 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package phpMyAdmin-Export-Texy
                    
7 */
                    
7 */
                    
8if (! defined('PHPMYADMIN')) {
                    
9    exit;
                    
141        for ($i = 0; $i < $fields_cnt; $i++) {
                    
142            $text_output .= '|' . htmlspecialchars(stripslashes(PMA_DBI_field_name($result, $i)));
                    
143        } // end for
                    
                
 

Source

Language