smf:smf-1.1.12 1.0 0) $schema_type = 'TYPE='; else $schema_type = 'ENGINE='; // Probably MyISAM.... and it might have a comment. ]]> 0) $schema_type = 'TYPE='; else $schema_type = 'ENGINE='; db_query(" CREATE TABLE {$db_prefix}log_search_words ( ]]> empty($context['smiley_sets'][$_POST['default_smiley_set']]) ? 'default' : $context['smiley_sets'][$_POST['default_smiley_set']], 'smiley_sets_enable' => isset($_POST['smiley_sets_enable']) ? '1' : '0', ]]> empty($context['smiley_sets'][$_POST['default_smiley_set']]) ? 'default' : $context['smiley_sets'][$_POST['default_smiley_set']], 'smiley_sets_enable' => isset($_POST['smiley_sets_enable']) ? '1' : '0', ]]> ]]> ]]> htmlspecialchars($row['name']), 'url' => htmlspecialchars($row['url']), ]]> $row['name'], 'url' => $row['url'], ]]> = $version) return true; ]]> $high) { // Let's check that this is at or below the upper... obviously. if (isset($version[$key]) && trim($version[$key]) > trim($high)) return false; // OK, let's check it's above the lower key... if it exists! if (isset($lower[$key])) { // The version either needs to have something here (i.e. can't be 1.0 on a 1.0.11) AND needs to be greater or equal to. // Note that if it's a range lower[key] might be blank, in that case version can not be set! if (!empty($lower[$key]) && (!isset($version[$key]) || trim($version[$key]) < trim($lower[$key]))) return false; } } return true; ]]> ' . ($settings['use_image_buttons'] ? '' . $txt['poll_remove'] . '' : $txt['poll_remove']) . ''; ]]> ' . ($settings['use_image_buttons'] ? '' . $txt['poll_remove'] . '' : $txt['poll_remove']) . ''; ]]> ' . ($settings['use_image_buttons'] ? '' . $txt['poll_remove'] . '' : $txt['poll_remove']) . ''; ]]> ' . ($settings['use_image_buttons'] ? '' . $txt['poll_remove'] . '' : $txt['poll_remove']) . ''; ]]> targetVersion.length ? currentVersion.length : targetVersion.length); i < n; i++) { // Make sure both are set. if (typeof(currentVersion[i]) == "undefined") currentVersion[i] = "0"; else if (typeof(targetVersion[i]) == "undefined") targetVersion[i] = "0"; // If they are same, move to the next set. if (currentVersion[i] == targetVersion[i]) continue; // Otherwise a simple comparison... else return (parseInt(currentVersion[i]) < parseInt(targetVersion[i])); } return false; } function smfDetermineVersions() ]]> array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start']), ]]> array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']), ]]>