PageRenderTime 309ms queryTime 76ms sortTime 9ms getByIdsTime 55ms findMatchingLines 50ms

100+ results results for 'php stripslashes repo:olekhy/SimpleSite' (309 ms)

Not the results you expected?
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				}
                    
                
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 />
                    
                
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) {
                    
                
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;
                    
                
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>
                    
                
acf.php https://gitlab.com/surya.ayrus22/kcethsw1 | 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');
                    
                
settings.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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
                    
                
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="????????"  />
                    
                
PageCache.php https://gitlab.com/andecode/theme-spark | 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
                    
                
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
                    
                
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
                    
                
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>
                    
                
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>
                    
                
install.php https://gitlab.com/haque.mdmanzurul/neophix | 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 )
                    
                
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;
                    
                
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'];
                    
                
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;
                    
                
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>
                    
                
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;
                    
                
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 
                    
                
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',
                    
                
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)) {
                    
                
install.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | 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 )
                    
                
view.php https://github.com/nadavkav/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");
                    
                
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      // }
                    
                
Forms.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 483 lines
                    
1<?php
                    
2
                    
387
                    
388			$value = stripslashes_deep( $value );
                    
389
                    
                
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							{
                    
                
functions.php https://github.com/chuckmitchell/Squall.ca.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
                    
                
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
                    
                
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">
                    
                
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
                    
                
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' ); ?>
                    
                
tags.php https://bitbucket.org/dkrzos/phc.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; ?>" />
                    
                
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://bitbucket.org/astawiarski/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
                    
                
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
                    
                
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;
                    
                
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	}
                    
                
class-wp-ms-sites-list-table.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | 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
                    
                
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	}
                    
                
json.php https://bitbucket.org/zachisit/zachis.it-m.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;
                    
                
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		}
                    
                
questiontype.php https://github.com/nadavkav/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     */
                    
                
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            
                    
                
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
                    
                
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
                    
                
user-edit.php https://github.com/jao/jpcamargo.git | PHP | 346 lines
                    
124
                    
125<form id="your-profile" action="<?php if ( IS_PROFILE_PAGE ) { echo admin_url('profile.php'); } else { echo admin_url('user-edit.php'); } ?>" method="post">
                    
126<?php wp_nonce_field('update-user_' . $user_id) ?>
                    
152foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
                    
153<div class="color-option"><input name="admin_color" id="admin_color_<?php echo $color; ?>" type="radio" value="<?php echo esc_attr($color) ?>" class="tog" <?php checked($color, $current_color); ?> />
                    
154	<table class="color-palette">
                    
169<th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
                    
170<td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts">More information</a>'); ?></td>
                    
171</tr>
                    
247		?>
                    
248			<option id="<?php echo $id; ?>" value="<?php echo esc_attr($item); ?>"<?php selected( $profileuser->display_name, $item ); ?>><?php echo $item; ?></option>
                    
249		<?php
                    
274	<th><label for="<?php echo $name; ?>"><?php echo apply_filters('user_'.$name.'_label', $desc); ?></label></th>
                    
275	<td><input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr($profileuser->$name) ?>" class="regular-text" /></td>
                    
276</tr>
                    
                
html_output.php https://github.com/ZenMagick/zc-base.git | PHP | 346 lines
                    
1<?php
                    
2/**
                    
6 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
                    
7 * @version $Id: html_output.php 17361 2010-08-25 14:58:56Z wilt $
                    
8 */
                    
28    }
                    
29    if (!strstr($page, '.php')) $page .= '.php';
                    
30    if ($parameters == '') {
                    
71    if ($parameters == '') {
                    
72      $link .= 'index.php?main_page='. $page;
                    
73    } else {
                    
73    } else {
                    
74      $link .= 'index.php?main_page='. $page . "&" . zen_output_string($parameters);
                    
75    }
                    
212    if ( $value == '~*~*#' && (isset($GLOBALS[$name]) && is_string($GLOBALS[$name])) && ($reinsert_value == true) ) {
                    
213      $field .= ' value="' . zen_output_string(stripslashes($GLOBALS[$name])) . '"';
                    
214    } elseif ($value != '~*~*#' && zen_not_null($value)) {
                    
                
json.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 274 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* @copyright 	Copyright 2010
                    
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		
                    
159                        //TODO : need to rework save/load 
                    
160                        $name = stripslashes( htmlspecialchars_decode($name, ENT_QUOTES));
                    
161                        $obj->label = $image->pid . ' - ' . $name;
                    
181                        $name = ( empty($gallery->title) ) ? $gallery->name : $gallery->title;
                    
182                        $name = stripslashes( htmlspecialchars_decode($name, ENT_QUOTES));
                    
183                        $obj->label = $gallery->gid . ' - ' . $name;
                    
                
options-interface.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 349 lines
                    
1<?php
                    
2
                    
69					if (!is_array($val)) {
                    
70						$val = stripslashes($val);
                    
71					}
                    
99			
                    
100			$val = stripslashes( $val );
                    
101			
                    
                
users.php https://github.com/holsinger/openfloor.git | PHP | 402 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once('admin.php');
                    
11
                    
12/** WordPress Registration API */
                    
13require_once( ABSPATH . WPINC . '/registration.php');
                    
14
                    
18$title = __('Users');
                    
19$parent_file = 'users.php';
                    
20
                    
310<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
                    
311<label class="hidden" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select>
                    
312<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
                    
333	<?php if ( $wp_user_search->is_search() ) : ?>
                    
334		<p><a href="users.php"><?php _e('&larr; Back to All Users'); ?></a></p>
                    
335	<?php endif; ?>
                    
                
theme-install.php https://bitbucket.org/MashedUpMedia/mashedupmedia.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.png?v=20110615'); ?>" alt="<?php esc_attr_e('5 stars') ?>" /></div>
                    
176	<div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('4 stars') ?>" /></div>
                    
                
runtime.php https://bitbucket.org/pauver/dirty-bastards.git | PHP | 241 lines
                    
1<?php
                    
2    include(PERCH_CORE.'/apps/content/PerchContent_Regions.class.php');
                    
2    include(PERCH_CORE.'/apps/content/PerchContent_Regions.class.php');
                    
3    include(PERCH_CORE.'/apps/content/PerchContent_Region.class.php');
                    
4    include(PERCH_CORE.'/apps/content/PerchContent_Items.class.php');
                    
4    include(PERCH_CORE.'/apps/content/PerchContent_Items.class.php');
                    
5    include(PERCH_CORE.'/apps/content/PerchContent_Item.class.php');
                    
6    include(PERCH_CORE.'/apps/content/PerchContent_Pages.class.php');
                    
6    include(PERCH_CORE.'/apps/content/PerchContent_Pages.class.php');
                    
7    include(PERCH_CORE.'/apps/content/PerchContent_Page.class.php');
                    
8    include(PERCH_CORE.'/apps/content/PerchContent.class.php');
                    
14        if ($key === false) {
                    
15            echo 'You must pass in a <em>name</em> for the content. e.g. <code style="color: navy;background: white;">&lt;' . '?php perch_content(\'Phone number\'); ?' . '&gt;</code>'; 
                    
16        }
                    
85    {   
                    
86        $key = trim(stripslashes($key));
                    
87        
                    
                
collect_info_metatags.php https://github.com/ZenMagick/zc-base.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>
                    
                
woocommerce.php https://gitlab.com/Suhailgit/Project | PHP | 119 lines
                    
12        	<div class="bpanel-box">
                    
13<?php  if( class_exists('woocommerce') ) : ?>
                    
14
                    
18                
                    
19                	<div class="column one-third"><label><?php _e('Products Per Page','iamd_text_domain');?></label></div>
                    
20                    <div class="column two-third last">
                    
20                    <div class="column two-third last">
                    
21                    	<input name="mytheme[woo][shop-product-per-page]" type="text" class="small" value="<?php echo trim(stripslashes(dt_theme_option('woo','shop-product-per-page')));?>" />
                    
22                        <p class="note"><?php _e('Number of porducts to show in catalog / shop page','iamd_text_domain');?></p>
                    
61                        </ul>
                    
62                        <input name="mytheme[woo][product-layout]" type="hidden" value="<?php echo $v;?>"/>
                    
63                    </div><!-- Product Detail Page Layout End-->
                    
111<?php 	else: ?>
                    
112				<div class="box-title"><h3><?php _e('Warning','iamd_text_domain');?></h3></div>
                    
113                <div class="box-content"><p class="note"><?php _e("You have to install and activate the wooCommerce plugin to use this module ..",'iamd_text_domain');?></p></div>
                    
                
CMB2_Sanitize.php https://gitlab.com/almoore1/buy-button-wordpress | PHP | 469 lines
                    
1<?php
                    
2/**
                    
36		$this->field = $field;
                    
37		$this->value = stripslashes_deep( $value ); // get rid of those evil magic quotes
                    
38	}
                    
334
                    
335		return htmlspecialchars_decode( stripslashes( $this->value ) );
                    
336	}
                    
                
view.php https://gitlab.com/ppapadatis/Videolearn | PHP | 114 lines
                    
17
                    
18<div id="gkIs-<?php echo $this->config['module_id'];?>" class="gkIsWrapper-gk_black_and_white<?php if($this->config['config']->gk_black_and_white->gk_black_and_white_slide_links == 1) echo ' slide-links'; ?>">
                    
19
                    
21	
                    
22	<div class="gkIsSlides" style="width: <?php echo $width; ?>px;height: <?php echo $height; ?>px;">
                    
23		<?php for($i = 0; $i < count($this->config['image_show_data']); $i++) : ?>
                    
40	<?php if($this->config['config']->gk_black_and_white->gk_black_and_white_show_text_block == 1) : ?>
                    
41	<div class="gkIsText" style="bottom:<?php echo $this->config['config']->gk_black_and_white->gk_black_and_white_text_block_position_y; ?>px;right:<?php echo $this->config['config']->gk_black_and_white->gk_black_and_white_text_block_position_x; ?>px;width:<?php echo $this->config['config']->gk_black_and_white->gk_black_and_white_text_block_width; ?>px;">Text</div>
                    
42	<?php endif; ?>
                    
98				 <?php if($this->config['config']->gk_black_and_white->gk_black_and_white_title_link == 1) : ?>
                    
99					<h4><a href="<?php echo $link; ?>"><?php echo $title; ?></a></h4>
                    
100				 <?php else : ?>
                    
100				 <?php else : ?>
                    
101				 	<h4><a href="<?php echo $link; ?>" class="gkToRemove"><?php echo $title; ?></a></h4>
                    
102				 <?php endif; ?>
                    
                
FMModelForm_submissions.php https://gitlab.com/hunt9310/ras | PHP | 296 lines
                    
1<?php
                    
2
                    
43		
                    
44		$filter_order = ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'group_id');
                    
45		$filter_order_Dir = ((isset($_POST['asc_or_desc']) && ($_POST['asc_or_desc'] == 'asc' || $_POST['asc_or_desc'] == 'desc')) ? esc_html($_POST['asc_or_desc']) : 'asc');
                    
51		$where = array();
                    
52		$lists['startdate'] = ((isset($_POST['startdate'])) ? esc_html(stripslashes($_POST['startdate'])) : '');
                    
53		$lists['enddate'] = ((isset($_POST['enddate'])) ? esc_html(stripslashes($_POST['enddate'])) : '');
                    
53		$lists['enddate'] = ((isset($_POST['enddate'])) ? esc_html(stripslashes($_POST['enddate'])) : '');
                    
54		$lists['hide_label_list'] = ((isset($_POST['hide_label_list'])) ? esc_html(stripslashes($_POST['hide_label_list'])) : '');
                    
55    
                    
55    
                    
56		$lists['ip_search'] = ((isset($_POST['ip_search'])) ? esc_html(stripslashes($_POST['ip_search'])) : '');
                    
57		$lists['username_search'] = ((isset($_POST['username_search'])) ? esc_html(stripslashes($_POST['username_search'])) : '');
                    
57		$lists['username_search'] = ((isset($_POST['username_search'])) ? esc_html(stripslashes($_POST['username_search'])) : '');
                    
58		$lists['useremail_search'] = ((isset($_POST['useremail_search'])) ? esc_html(stripslashes($_POST['useremail_search'])) : '');
                    
59    $limit = ((isset($_POST['page_number'])) ? ((int) $_POST['page_number'] - 1) * 20 : 0);
                    
                
formelrte.php https://github.com/krisxoofoo/XooFoo.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
9 * @since       	2.4.5
                    
10 * @author		Taiwen Jiang <phppp@users.sourceforge.net>
                    
11 * @author          	kris <http://www.xoofoo.org>
                    
31    var $editor;
                    
32    // PHP 5 Constructor
                    
33    function __construct($configs)
                    
45
                    
46    // PHP 4 Constructor
                    
47    function XoopsFormElrte($configs)
                    
121            $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption );
                    
122            $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) );
                    
123            $ret = "\n";
                    
161        //$ret.= "		jQuery('<div id=\"myelfinder\" />').elfinder({\n";
                    
162        //$ret.= "		url : '".XOOPS_URL."/class/xoopseditor/elrte/elfinder/connectors/php/connector.php',\n";
                    
163        //$ret.= "       	lang : '".$this->getLanguage()."',\n"; // set your language
                    
                
Translate.php https://gitlab.com/jslee1/PrestaShop | PHP | 347 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-2015 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
                    
58
                    
59        return ($addslashes ? addslashes($str) : stripslashes($str));
                    
60    }
                    
85            }
                    
86            if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php')) {
                    
87                include_once(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');
                    
92            $class_name_controller = $class.'controller';
                    
93            // if the class is extended by a module, use modules/[module_name]/xx.php lang file
                    
94            if (class_exists($class_name_controller) && Module::getModuleNameFromClass($class_name_controller)) {
                    
                
wps-notifications.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 201 lines
                    
110		<tr valign="top">
                    
111			<th scope="row" colspan="2"><h3><?php _e('Statistical reporting', 'wp_statistics'); ?></h3></th>
                    
112		</tr>
                    
133				<select name="wps_time_report" id="time-report">
                    
134					<option value="0" <?php selected($WP_Statistics->get_option('time_report'), '0'); ?>><?php _e('Please select', 'wp_statistics'); ?></option>
                    
135<?php
                    
163				<select name="wps_send_report" id="send-report">
                    
164					<option value="0" <?php selected($WP_Statistics->get_option('send_report'), '0'); ?>><?php _e('Please select', 'wp_statistics'); ?></option>
                    
165					<option value="mail" <?php selected($WP_Statistics->get_option('send_report'), 'mail'); ?>><?php _e('Email', 'wp_statistics'); ?></option>
                    
165					<option value="mail" <?php selected($WP_Statistics->get_option('send_report'), 'mail'); ?>><?php _e('Email', 'wp_statistics'); ?></option>
                    
166				<?php if( is_plugin_active('wp-sms/wp-sms.php') || is_plugin_active('wp-sms-pro/wp-sms.php') ) { ?>
                    
167					<option value="sms" <?php selected($WP_Statistics->get_option('send_report'), 'sms'); ?>><?php _e('SMS', 'wp_statistics'); ?></option>
                    
171				
                    
172				<?php if( !is_plugin_active('wp-sms/wp-sms.php') ) { ?>
                    
173					<p class="description note"><?php echo sprintf(__('Note: To send SMS text messages please install the %s plugin.', 'wp_statistics'), '<a href="http://wordpress.org/extend/plugins/wp-sms/" target="_blank">' . __('WordPress SMS', 'wp_statistics') . '</a>'); ?></p>
                    
                
Functions.php https://gitlab.com/7slayer/h-node | PHP | 479 lines
                    
1<?php
                    
2
                    
2
                    
3// EasyGiant is a PHP framework for creating and managing dynamic content
                    
4//
                    
108
                    
109function stripslashesDeep($value) {
                    
110	if(get_magic_quotes_gpc()) {#if stripslashes
                    
110	if(get_magic_quotes_gpc()) {#if stripslashes
                    
111		return array_map_recursive('stripslashes', $value);
                    
112	}
                    
115
                    
116//from http://www.php.net/array_map#112857
                    
117function array_map_recursive($callback, $array) {
                    
462//Convert Hex Color to RGB
                    
463//http://bavotasan.com/2011/convert-hex-color-to-rgb-using-php/
                    
464function hex2rgb($hex) {
                    
                
paypal-notify-in.inc.php https://gitlab.com/Gashler/dp | PHP | 213 lines
                    
1<?php
                    
2/**
                    
59
                    
60								include_once ABSPATH . "wp-admin/includes/admin.php"; // Get administrative functions. Needed for `wp_delete_user()`.
                    
61
                    
71
                    
72										$paypal["subscr_gateway"] = (!empty ($_REQUEST["s2member_paypal_proxy"])) ? esc_html (trim (stripslashes ($_REQUEST["s2member_paypal_proxy"]))) : "paypal";
                    
73
                    
73
                    
74										$coupon = (!empty($_REQUEST["s2member_paypal_proxy_coupon"]) && is_array($_REQUEST["s2member_paypal_proxy_coupon"])) ? stripslashes_deep($_REQUEST["s2member_paypal_proxy_coupon"]) : array();
                    
75										$coupon = (isset($coupon["full_coupon_code"], $coupon["coupon_code"], $coupon["affiliate_id"]) && is_string($coupon["full_coupon_code"]) && is_string($coupon["coupon_code"]) && is_string($coupon["affiliate_id"])) ? $coupon : array("full_coupon_code" => "", "coupon_code" => "", "affiliate_id" => "");
                    
                
php.js https://gitlab.com/srueegger/Social-Meal | JavaScript | 157 lines
                    
1editAreaLoader.load_syntax["php"] = {
                    
2	'DISPLAY_NAME' : 'Php'
                    
16			'null', '__LINE__', '__FILE__',
                    
17			'false', '&lt;?php', '?&gt;', '&lt;?',
                    
18			'&lt;script language', '&lt;/script&gt;',
                    
20			'function', 'class', 'new', '&amp;new', 'this',
                    
21			'__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION',
                    
22			'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR',
                    
22			'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR',
                    
23			'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR',
                    
24			'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT',
                    
24			'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START', 'PHP_OUTPUT_HANDLER_CONT',
                    
25			'PHP_OUTPUT_HANDLER_END', 'E_ERROR', 'E_WARNING', 'E_PARSE', 'E_NOTICE',
                    
26			'E_CORE_ERROR', 'E_CORE_WARNING', 'E_COMPILE_ERROR', 'E_COMPILE_WARNING', 'E_USER_ERROR',
                    
33			'extension_loaded', 'get_extension_funcs', 'debug_backtrace',
                    
34			'constant', 'bin2hex', 'sleep', 'usleep', 'time', 'mktime', 'gmmktime', 'strftime', 'gmstrftime', 'strtotime', 'date', 'gmdate', 'getdate', 'localtime', 'checkdate', 'flush', 'wordwrap', 'htmlspecialchars', 'htmlentities', 'html_entity_decode', 'md5', 'md5_file', 'crc32', 'getimagesize', 'image_type_to_mime_type', 'phpinfo', 'phpversion', 'phpcredits', 'strnatcmp', 'strnatcasecmp', 'substr_count', 'strspn', 'strcspn', 'strtok', 'strtoupper', 'strtolower', 'strpos', 'strrpos', 'strrev', 'hebrev', 'hebrevc', 'nl2br', 'basename', 'dirname', 'pathinfo', 'stripslashes', 'stripcslashes', 'strstr', 'stristr', 'strrchr', 'str_shuffle', 'str_word_count', 'strcoll', 'substr', 'substr_replace', 'quotemeta', 'ucfirst', 'ucwords', 'strtr', 'addslashes', 'addcslashes', 'rtrim', 'str_replace', 'str_repeat', 'count_chars', 'chunk_split', 'trim', 'ltrim', 'strip_tags', 'similar_text', 'explode', 'implode', 'setlocale', 'localeconv',
                    
35			'parse_str', 'str_pad', 'chop', 'strchr', 'sprintf', 'printf', 'vprintf', 'vsprintf', 'sscanf', 'fscanf', 'parse_url', 'urlencode', 'urldecode', 'rawurlencode', 'rawurldecode', 'readlink', 'linkinfo', 'link', 'unlink', 'exec', 'system', 'escapeshellcmd', 'escapeshellarg', 'passthru', 'shell_exec', 'proc_open', 'proc_close', 'rand', 'srand', 'getrandmax', 'mt_rand', 'mt_srand', 'mt_getrandmax', 'base64_decode', 'base64_encode', 'abs', 'ceil', 'floor', 'round', 'is_finite', 'is_nan', 'is_infinite', 'bindec', 'hexdec', 'octdec', 'decbin', 'decoct', 'dechex', 'base_convert', 'number_format', 'fmod', 'ip2long', 'long2ip', 'getenv', 'putenv', 'getopt', 'microtime', 'gettimeofday', 'getrusage', 'uniqid', 'quoted_printable_decode', 'set_time_limit', 'get_cfg_var', 'magic_quotes_runtime', 'set_magic_quotes_runtime', 'get_magic_quotes_gpc', 'get_magic_quotes_runtime',
                    
                
update.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 253 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once('./admin.php');
                    
11
                    
11
                    
12include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
                    
13
                    
25		if ( isset( $_GET['plugins'] ) )
                    
26			$plugins = explode( ',', stripslashes($_GET['plugins']) );
                    
27		elseif ( isset( $_POST['checked'] ) )
                    
33
                    
34		$url = 'update.php?action=update-selected&amp;plugins=' . urlencode(implode(',', $plugins));
                    
35		$nonce = 'bulk-update-plugins';
                    
36
                    
37		require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
                    
38		wp_enqueue_script('jquery');
                    
                
content-management-edit.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 233 lines
                    
1<?php if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); } ?>
                    
2<div class="wrap">
                    
16{
                    
17	?><div class="error fade"><p><strong><?php _e('Oops, selected details doesnt exist.', 'popupwfb'); ?></strong></p></div><?php
                    
18}
                    
136    <p><strong>
                    
137	<?php echo $Popupwfb_success; ?> <a href="<?php echo POPUPWFB_ADMIN_URL; ?>">
                    
138	<?php _e('Click here', 'popupwfb'); ?></a> <?php _e('to view the details', 'popupwfb'); ?>
                    
159		<label for="tag-a"><?php _e('Popup title', 'popupwfb'); ?></label>
                    
160		<input name="Popupwfb_title" type="text" id="Popupwfb_title" value="<?php echo esc_html(stripslashes($form['Popupwfb_title'])); ?>" size="50" maxlength="250" />
                    
161		<p><?php _e('Enter your popup title.', 'popupwfb'); ?></p>
                    
200			?>
                    
201			<option value='<?php echo strtoupper($arrDistinct["Popupwfb_group"]); ?>' <?php echo $thisselected; ?>>
                    
202			<?php echo strtoupper($arrDistinct["Popupwfb_group"]); ?>
                    
230	<?php _e('Check official website for more information', 'popupwfb'); ?>
                    
231	<a target="_blank" href="<?php echo Popupwfb_FAV; ?>"><?php _e('click here', 'popupwfb'); ?></a>
                    
232</p>
                    
                
collect_info_metatags.php https://github.com/bitweaver/commerce.git | PHP | 169 lines
                    
115              <td class="main" align="center">
                    
116                <?php echo TEXT_PRODUCTS_METATAGS_PRODUCTS_NAME_STATUS . '<br />' . zen_draw_radio_field('metatags_products_name_status', '1', $is_metatags_products_name_status) . '&nbsp;' . TEXT_YES . '&nbsp;' . zen_draw_radio_field('metatags_products_name_status', '0', $not_metatags_products_name_status) . '&nbsp;' . TEXT_NO; ?>
                    
117              </td>
                    
141          <tr>
                    
142            <td class="main"valign="top"><?php echo TEXT_META_TAGS_TITLE; ?>&nbsp;</td>
                    
143            <td class="main">
                    
143            <td class="main">
                    
144              <?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', '', true)); //,'id="'.'metatags_title' . $languages[$i]['id'] . '"');?>
                    
145            </td>
                    
149            <td class="main">
                    
150              <?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'] . '"'); ?>
                    
151            </td>
                    
155            <td class="main">
                    
156              <?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'] . '"'); ?>
                    
157            </td>
                    
                
our_team_widget.php https://gitlab.com/omarsallah00/ingensrl | PHP | 179 lines
                    
123        <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Name', 'integral'); ?></label>
                    
124        <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $instance['title']; ?>" />
                    
125    </p>
                    
140        <label for="<?php echo $this->get_field_id('textarea'); ?>"><?php _e('Short Bio', 'integral'); ?></label>
                    
141        <textarea class="widefat" rows="5" id="<?php echo $this->get_field_id('textarea'); ?>" name="<?php echo $this->get_field_name('textarea'); ?>"><?php echo $instance['textarea']; ?></textarea>
                    
142        <small><?php _e('No limit on the amount of text and HTML is allowed.', 'integral'); ?></small>
                    
161        <label for="<?php echo $this->get_field_id('behance'); ?>"><?php _e('Behance URL', 'integral'); ?></label>
                    
162        <input class="widefat" id="<?php echo $this->get_field_id('behance'); ?>" name="<?php echo $this->get_field_name('behance'); ?>" type="text" value="<?php echo $instance['behance']; ?>" />
                    
163    </p>
                    
165        <label for="<?php echo $this->get_field_id('linkedin'); ?>"><?php _e('Linkedin URL', 'integral'); ?></label>
                    
166        <input class="widefat" id="<?php echo $this->get_field_id('linkedin'); ?>" name="<?php echo $this->get_field_name('linkedin'); ?>" type="text" value="<?php echo $instance['linkedin']; ?>" />
                    
167    </p>
                    
169        <label for="<?php echo $this->get_field_id('instagram'); ?>"><?php _e('Instagram URL', 'integral'); ?></label>
                    
170        <input class="widefat" id="<?php echo $this->get_field_id('instagram'); ?>" name="<?php echo $this->get_field_name('instagram'); ?>" type="text" value="<?php echo $instance['instagram']; ?>" />
                    
171    </p>
                    
                
album_notification.php https://gitlab.com/team_fsn/fsn-php | PHP | 338 lines
                    
1<?php
                    
2// +-----------------------------------------------------------------------+
                    
2// +-----------------------------------------------------------------------+
                    
3// | Piwigo - a PHP based photo gallery                                    |
                    
4// +-----------------------------------------------------------------------+
                    
5// | Copyright(C) 2008-2016 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.'include/functions_mail.inc.php');
                    
30include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
                    
102        ),
                    
103      'CPL_CONTENT' => empty($_POST['mail_content']) ? '' : stripslashes($_POST['mail_content']),
                    
104      )
                    
                
pagebreak.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 385 lines
                    
1<?php
                    
2/**
                    
219						{
                    
220							$title = stripslashes($match['alt']);
                    
221						}
                    
223						{
                    
224							$title = stripslashes($match['title']);
                    
225						}
                    
300				{
                    
301					$title = stripslashes($attrs2['alt']);
                    
302				}
                    
304				{
                    
305					$title = stripslashes($attrs2['title']);
                    
306				}
                    
                
define_pages_editor.php https://github.com/ZenMagick/zc-base.git | PHP | 270 lines
                    
125<!-- header //-->
                    
126<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
                    
127<!-- header_eof //-->
                    
228              <tr>
                    
229                <td class="smallText"><a href="<?php echo zen_href_link($_GET['filename'], 'lngdir=' . $_SESSION['language'] . '&filename=' . $filename); ?>"><b><?php echo $filename; ?></b></a></td>
                    
230<?php
                    
233    if ($dir) {
                    
234      $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.'));
                    
235      while ($file = $dir->read()) {
                    
264<!-- footer //-->
                    
265<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
                    
266<!-- footer_eof //-->
                    
269</html>
                    
270<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
                    
271
                    
                
class-predefined-forms.php https://gitlab.com/chernushov881/charity-fund | PHP | 267 lines
                    
1<?php
                    
2
                    
53
                    
54		$_POST['args'] = stripslashes_deep($_POST['args']);
                    
55
                    
                
_functions.php https://gitlab.com/haque.mdmanzurul/laurageorge.co.uk | PHP | 553 lines
                    
1<?php
                    
2	session_cache_expire(360);
                    
107		foreach($Row as $key=>$value)
                    
108			$Row[$key] = htmlentities(stripslashes($value));
                    
109		
                    
128		
                    
129		$_DOCX = ($Type==1) ? $_SERVER['REQUEST_URI'] : $_SERVER['PHP_SELF'];
                    
130		
                    
                
cache.php https://bitbucket.org/enangyusup/vbulletin-cakephp.git | PHP | 261 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP versions 4 and 5
                    
6 *
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP(tm) Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.cake.libs.view.helpers
                    
17 * @since         CakePHP(tm) v 1.0.0.2277
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
211		}
                    
212		$cache = $cache . '.php';
                    
213		$file = '<!--cachetime:' . $cacheTime . '--><?php';
                    
                
sp-access.inc.php https://gitlab.com/pankajmohale/chef2go | PHP | 180 lines
                    
1<?php
                    
2// @codingStandardsIgnoreFile
                    
80
                    
81								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"]))
                    
82									$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"]);
                    
107
                    
108						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))
                    
109							{
                    
                
cat_specificprice_update.php https://gitlab.com/ptisky/API_prestashop | PHP | 222 lines
                    
1<?php

                    
2/**

                    
41		if(_PS_MAGIC_QUOTES_GPC_)

                    
42			$_POST["rows"] = stripslashes($_POST["rows"]);

                    
43		$rows = json_decode($_POST["rows"]);

                    
                
submit_step_3.tpl https://github.com/holsinger/openfloor.git | Smarty Template | 144 lines
                    
42
                    
43{php}
                    
44	Global $db, $main_smarty, $dblang, $the_template, $linkres, $current_user;
                    
101	$link_content = $linkres->content;
                    
102	$link_title = stripslashes(strip_tags(trim($_POST['title'])));
                    
103	//$link_content = stripslashes(strip_tags(trim($_POST['bodytext'])));
                    
126
                    
127{/php}
                    
128
                    
                
 

Source

Language