About 438,305 results: "php empty"
Page 20 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On


  1. 	// Show the capacity bar, if available.
  2. 	if (!empty($context['limit_bar']))
  3. 				<span class="floatleft capacity_bar">
  4. 					<span class="', $context['limit_bar']['percent'] > 85 ? 'full' : ($context['limit_bar']['percent'] > 40 ? 'filled' : 'empty'), '" style="width: ', $context['limit_bar']['percent'] / 10, 'em;"></span>
  5. 		// Show avatars, images, etc.?
  6. 		if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
  7. 						<li class="im_icons">
  8. 							<ul>', !isset($context['disabled_fields']['icq']) && !empty($message['member']['icq']['link']) ? '
  9. 								<li>' . $message['member']['icq']['link'] . '</li>' : '', !isset($context['disabled_fields']['msn']) && !empty($message['member']['msn']['link']) ? '
  10. 								<li>' . $message['member']['msn']['link'] . '</li>' : '', !isset($context['disabled_fields']['aim']) && !empty($message['member']['aim']['link']) ? '
  11. 								<li>' . $message['member']['aim']['link'] . '</li>' : '', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? '
  12. 								<li>' . $message['member']['yim']['link'] . '</li>' : '', '
  13. 		// Show the IP to this user for this post - because you can moderate?
  14. 		if (!empty($context['can_moderate_forum']) && !empty($message['member']['ip']))
  15. 			echo '
  16. 										<li class="poster_ip"><a href="', $scripturl, '?action=', !empty($message['member']['is_guest']) ? 'trackip' : 'profile;area=tracking;sa=ip;u=' . $message['member']['id'], ';searchip=', $message['member']['ip'], '">', $message['member']['ip'], '</a> <a href="', $scripturl, '?action=helpadmin;help=see_admin_ip" onclick="return reqOverlayDiv(this.href);" class="help">(?)</a></li>';

  1. 			', sprintf($txt['package_will_fail_warning'], $txt['package_' . ($context['uninstalling'] ? 'uninstall' : 'install')]),
  2. 			!empty($context['failure_details']) ? '<br /><br /><strong>' . $context['failure_details'] . '</strong>' : '', '
  3. 								<td width="50%" class="smalltext">', $operation['action'], '</td>
  4. 								<td width="20%" class="smalltext">', $operation['description'], !empty($operation['ignore_failure']) ? ' (' . $txt['operation_ignore'] . ')' : '', '</td>
  5. 		// What if we have custom themes we can install into? List them too!
  6. 		if (!empty($context['theme_actions']))
  7. 									<td width="50%" class="smalltext">', $operation['action'], '</td>
  8. 									<td width="20%" class="smalltext">', $operation['description'], !empty($operation['ignore_failure']) ? ' (' . $txt['operation_ignore'] . ')' : '', '</td>
  9. 	// Are we effectively ready to install?
  10. 	if (!$context['ftp_needed'] && (!empty($context['actions']) || !empty($context['database_changes'])))
  11. 			<div class="righttext padding">
  12. 				<input type="submit" value="', $context['uninstalling'] ? $txt['package_uninstall_now'] : $txt['package_install_now'], '" onclick="return ', !empty($context['has_failure']) ? '(submitThisOnce(this) &amp;&amp; confirm(\'' . ($context['uninstalling'] ? $txt['package_will_fail_popup_uninstall'] : $txt['package_will_fail_popup']) . '\'))' : 'submitThisOnce(this)', ';" class="button_submit" />
  13. 	// And a bit more for database changes.
  14. 	if (!empty($context['database_changes']))
  15. 
                        
  16. 	if (!empty($context['redirect_url']))

  1. 	// These are the main tabs that is used all around the template.
  2. 	if (!empty($settings['use_tabs']) && isset($cur_list['list_menu'], $cur_list['list_menu']['show_on']) && ($cur_list['list_menu']['show_on'] == 'both' || $cur_list['list_menu']['show_on'] == 'top'))
  3. 		echo '
  4. 	<form class="generic_list_wrapper" action="', $cur_list['form']['href'], '" method="post"', empty($cur_list['form']['name']) ? '' : ' name="' . $cur_list['form']['name'] . '" id="' . $cur_list['form']['name'] . '"', ' accept-charset="', $context['character_set'], '">
  5. 	// Show the title of the table (if any).
  6. 	if (!empty($cur_list['title']))
  7. 	// This is for the old style menu with the arrows "> Test | Test 1"
  8. 	if (empty($settings['use_tabs']) && isset($cur_list['list_menu'], $cur_list['list_menu']['show_on']) && ($cur_list['list_menu']['show_on'] == 'both' || $cur_list['list_menu']['show_on'] == 'top'))
  9. 
                        
  10. 	if ((!empty($cur_list['items_per_page']) && !empty($cur_list['page_index'])) || isset($cur_list['additional_rows']['above_column_headers']))
  11. 		// Show the page index (if this list doesn't intend to show all items).
  12. 		if (!empty($cur_list['items_per_page']) && !empty($cur_list['page_index']))
  13. 	echo '
  14. 			<table class="table_grid" cellspacing="0" width="', !empty($cur_list['width']) ? $cur_list['width'] : '100%', '">';
  15. 				echo '
  16. 					<td', empty($row_data['class']) ? '' : ' class="' . $row_data['class'] . '"', empty($row_data['style']) ? '' : ' style="' . $row_data['style'] . '"', '>', $row_data['value'], '</td>';





  1. 		// ]]></script>
  2. 		<form action="', $scripturl, '?action=', $context['destination'], ';', empty($context['current_board']) ? '' : 'board=' . $context['current_board'], '" method="post" accept-charset="', $context['character_set'], '" name="postmodify" id="postmodify" class="flow_hidden" onsubmit="', ($context['becomes_approved'] ? '' : 'alert(\'' . $txt['js_post_will_require_approval'] . '\');'), 'submitonce(this);smc_saveEntities(\'postmodify\', [\'subject\', \'', $context['post_box_name'], '\', \'guestname\', \'evtitle\', \'question\'], \'options\');" enctype="multipart/form-data">';
  3. 					<h3 class="catbg">
  4. 						<span id="preview_subject">', empty($context['preview_subject']) ? '' : $context['preview_subject'], '</span>
  5. 						<div class="post" id="preview_body">
  6. 							', empty($context['preview_message']) ? '<br />' : $context['preview_message'], '
  7. 
                        
  8. 	if ($context['make_event'] && (!$context['event']['new'] || !empty($context['current_board'])))
  9. 
                        
  10. 		if (empty($modSettings['guest_post_no_email']))
  11. 								<dd>
  12. 									<input type="checkbox" id="poll_change_vote" name="poll_change_vote"', !empty($context['poll']['change_vote']) ? ' checked="checked"' : '', ' class="input_check" />
  13. 								<dd>
  14. 									<input type="checkbox" id="poll_guest_vote" name="poll_guest_vote"', !empty($context['poll_options']['guest_vote']) ? ' checked="checked"' : '', ' class="input_check" />
  15. 									<input type="radio" name="poll_hide" id="poll_results_voted" value="1"', $context['poll_options']['hide'] == 1 ? ' checked="checked"' : '', ' class="input_radio" /> <label for="poll_results_voted">', $txt['poll_results_voted'], '</label><br />
  16. 									<input type="radio" name="poll_hide" id="poll_results_expire" value="2"', $context['poll_options']['hide'] == 2 ? ' checked="checked"' : '', empty($context['poll_options']['expire']) ? 'disabled="disabled"' : '', ' class="input_radio" /> <label for="poll_results_expire">', $txt['poll_results_after'], '</label>











Back to Top