Hocam yarin yardimci olayim size sitenizi PM atin

hangi paketi hocam?

merhaba arkadaşlar yukarıdaki modu bir türlü siteme kuramadım yardımcı olabilecek arkadaş varmı? Eklenmesi Gereken Kod Buymuş Ancak bir türlü yerleştiremedim hata veriyor durmadan. Benim displaytheme: / Simple Machines Forum @package SMF @author Simple Machines @copyright 2011 Simple Machines @license http://www.simplemachines.org/about/smf/license. php BSD @version 2.0 / function template_main { global $context, $settings, $options, $txt, $scripturl, $modSettings; // Let them know, if their report was a success! if // Show the anchor for the top and for the first message. If the first message is new, say so. echo ' ', $context ? '' : ''; // Is this topic also a poll? if { echo ' ', $txt , ' ', $context , ' '; // Are they not allowed to vote but allowed to view the options? if { echo ' '; // Show each option with its corresponding percentage bar. foreach echo ' '; if echo ' ', $txt , ': ', $context , ''; } // They are allowed to vote! Go to it! else // Is the clock ticking? if (! empty echo ' ', , ': ', $context , ''; echo ' '; // Build the poll moderation button array. $poll_buttons = array( 'vote' => array , 'results' => array , 'change_vote' => array , 'lock' => array('test' => 'allow_lock_poll', 'text' => , 'image' => 'poll_lock. gif', 'lang' => true, 'url' => $scripturl. '?action=lockvoting;topic=' . $context . '.' . $context . ';' . $context . '=' . $context ), 'edit' => array , 'remove_poll' => array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll. gif', 'lang' => true, 'custom' => 'onclick="return confirm ;"', 'url' => $scripturl. '?action=removepoll;topic=' . $context . '.' . $context . ';' . $context . '=' . $context ), ); template_button_strip ; echo ' '; } // Does this topic have some events linked to it? if (! empty // Build the normal button array. $normal_buttons = array( 'reply' => array , 'add_poll' => array , 'notify' => array('test' => 'can_mark_notify', 'text' => $context ? 'unnotify' : 'notify', 'image' => . 'notify. gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . . '\');"', 'url' => $scripturl. '?action=notify;sa=' . . ';topic=' . $context . '.' . $context . ';' . $context . '=' . $context ), 'mark_unread' => array , 'send' => array('test' => 'can_send_topic', 'text' => 'send_topic', 'image' => 'sendtopic. gif', 'lang' => true, 'url' => $scripturl. '?action=emailuser;sa=sendtopic;topic=' . $context . '.0'), 'print' => array('text' => 'print', 'image' => 'print. gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl. '?action=printpage;topic=' . $context . '.0'), ); // Allow adding new buttons easily. call_integration_hook('integrate_display_buttons', array ; // Show the page index... "Pages: ". echo ' ', $context , '', template_button_strip , ' ', $txt , ': ', $context , ! empty ? $context . ' ' . $txt . '' : '', ' '; // Show the topic information - icon, subject, etc. echo ' ', $txt , ' ', $txt , ': ', $context , ' '; if (! empty echo ' '; $ignoredMsgs = array ; $removableMessageIDs = array ; $alternate = false; // Get all the messages... while ($message = $context { $ignoring = false; $alternate = !$alternate; if $removableMessageIDs = $message ; // Are we ignoring this message? if (! empty // Show the message anchor and a "new" anchor if this message is new. if echo ' ', $message ? '' : ''; echo ' '; // Show information about the poster of this message. echo ' '; // Show online and offline buttons? if (! empty && !$message ) echo ' ', $context ? '' : '', '', $context ? '' : ''; // Show a link to the member's profile. echo ' ', $message , ' '; // Show the member's custom title, if they have one. if (! empty echo ' ', $message , ''; // Show the member's primary group if they have one. if (! empty echo ' ', $message , ''; // Don't show these things for guests. if { // Show the post group if and only if they have no other group or the option is on, and they are in a post group. if ((empty || $message == '') && $message != '') echo ' ', $message , ''; echo ' ', $message , ''; // Show avatars, images, etc.? if (! empty && empty && ! empty echo ' ', $message , ' '; // Show how many posts they have made. if (! isset echo ' ', $txt , ': ', $message , ''; // Is karma display enabled? Total or +/-? if ($modSettings == '1') echo ' ', $modSettings , ' ', $message - $message , ''; elseif ($modSettings == '2') echo ' ', $modSettings , ' +', $message , '/-', $message , ''; // Is this user allowed to modify this member's karma? if echo ' ', $modSettings , ' ', $modSettings , ' '; // Show the member's gender icon? if (! empty && $message != '' && ! isset echo ' ', $txt , ': ', $message , ''; // Show their personal text? if (! empty && $message != '') echo ' ', $message , ''; // Any custom fields to show as icons? if (! empty { $shown = false; foreach { if ($custom != 1 || empty continue; if (empty echo ' ', $custom , ''; } if echo ' '; } // This shows the popular messaging icons. if echo ' ', ! empty ? '' . $message . '' : '', ' ', ! empty ? '' . $message . '' : '', ' ', ! empty ? '' . $message . '' : '', ' ', ! empty ? '' . $message . '' : '', ' '; // Show the profile, website, email address, and personal message buttons. if // Any custom fields for standard placement? if (! empty // Are we showing the warning status? if echo ' ', $context ? '' : '', '', $context ? '' : '', '', $txt['warn_' . $message ], ''; } // Otherwise, show the guest's email. elseif (! empty && in_array($message , array echo ' ', , ''; // Done with the information about the poster... on to the post itself. echo ' ', $message , ' « ', ! empty ? $txt . ' #' . $message : '', ' ', $txt , ': ', $message , ' » '; // If this is the first post, (#0) just say when it was posted - otherwise give the reply #. if echo ' '; // Maybe we can approve it, maybe we should? if echo ' ', $txt , ''; // Can they reply? Have they turned on quick reply? if ($context && ! empty echo ' ', $txt , ''; // So... quick reply is off, but they can reply? elseif echo ' ', $txt , ''; // Can the user modify the contents of this post? if echo ' ', $txt , ''; // How about... even... remove it entirely?! if echo ' ', $txt , ''; // What about splitting it off the rest of the topic? if ($context && ! empty echo ' ', $txt , ''; // Can we restore topics? if echo ' ', $txt , ''; // Show a checkbox for quick moderation? if (! empty && $options == 1 && $message ) echo ' '; if echo ' '; echo ' '; // Ignoring this user? Hide the post. if echo ' ', $txt , ' ', $txt , ' '; // Show the post itself, finally! echo ' '; if (!$message && $message != 0 && $message == $context ) echo ' ', $txt , ' '; echo ' ', $message , ' '; // Can the user modify the contents of this post? Show the modify inline image. if echo ' '; // Assuming there are attachments... if (! empty { echo ' '; $last_approved_state = 1; foreach { // Show a special box for unapproved attachments... if if echo ' ' . $attachment . ' '; if echo ' [', $txt , '] | [', $txt , '] '; echo ' (', $attachment , . ' ' . $attachment . ' ' . $txt . '.)'; } // If we had unapproved attachments clean up. if ($last_approved_state == 0) echo ' '; echo ' '; } echo ' '; echo ' '; // Show "i¿1⁄2 Last Edit: Time by Person i¿1⁄2" if this post was edited. if ($settings && ! empty echo ' « ', $txt , ': ', $message , ' ', $txt , ' ', $message , ' »'; echo ' ', seo4smf_social_bookmarks ; // Maybe they want to report this post to the moderator ? if echo ' ', $txt , ' '; // Can we issue a warning because of this post? Remember, we can't give guests warnings. if echo ' '; echo ' '; // Show the IP to this user for this post - because you can moderate? if ($context && ! empty echo ' ', $message , ' '; // Or, should we show it because this is you? elseif echo ' ', $message , ''; // Okay, are you at least logged in? Then we can show something about why IPs are logged... elseif echo ' ', $txt , ''; // Otherwise, you see NOTHING! else echo ' ', $txt ; echo ' '; // Are there any custom profile fields for above the signature? if (! empty { $shown = false; foreach { if ($custom != 2 || empty continue; if (empty echo ' ', $custom , ''; } if echo ' '; } // Show the member's signature? if (! empty && empty && $context ) echo ' ', $message , ''; echo ' '; } echo ' '; // Show the page index... "Pages: ". echo ' ', template_button_strip , ' ', $txt , ': ', $context , ! empty ? $context . ' ' . $txt . '' : '', ' ', $context , ' '; // Seo4Smf echo seo4smf_social_bookmarks ; // Show the lower breadcrumbs. theme_linktree ; $mod_buttons = array( 'move' => array('test' => 'can_move', 'text' => 'move_topic', 'image' => 'admin_move. gif', 'lang' => true, 'url' => $scripturl. '?action=movetopic;topic=' . $context . '.0'), 'delete' => array('test' => 'can_delete', 'text' => 'remove_topic', 'image' => 'admin_rem. gif', 'lang' => true, 'custom' => 'onclick="return confirm ;"', 'url' => $scripturl. '?action=removetopic2;topic=' . $context . '.0;' . $context . '=' . $context ), 'lock' => array('test' => 'can_lock', 'text' => empty ? 'set_lock' : 'set_unlock', 'image' => 'admin_lock. gif', 'lang' => true, 'url' => $scripturl. '?action=lock;topic=' . $context . '.' . $context . ';' . $context . '=' . $context ), 'sticky' => array('test' => 'can_sticky', 'text' => empty ? 'set_sticky' : 'set_nonsticky', 'image' => 'admin_sticky. gif', 'lang' => true, 'url' => $scripturl. '?action=sticky;topic=' . $context . '.' . $context . ';' . $context . '=' . $context ), 'merge' => array('test' => 'can_merge', 'text' => 'merge', 'image' => 'merge. gif', 'lang' => true, 'url' => $scripturl. '?action=mergetopics;board=' . $context . '.0;from=' . $context ), 'calendar' => array('test' => 'calendar_post', 'text' => 'calendar_link', 'image' => 'linktocal. gif', 'lang' => true, 'url' => $scripturl. '?action=post;calendar;msg=' . $context . ';topic=' . $context . '.0'), ); // Restore topic. eh? No monkey business. if $mod_buttons = array ; // Allow adding new mod buttons easily. call_integration_hook('integrate_mod_buttons', array ; echo ' ', template_button_strip($mod_buttons, 'bottom', array , ''; // Show the jumpto box, or actually... let Javascript do it. echo ' '; if ($context && ! empty else echo ' '; if echo ' <script></script>'; echo ' <script></script> <script> if (! empty echo ' var oQuickReply = new QuickReply( );'; if (! empty && $options == 1 && $context ) echo ' var oInTopicModeration = new InTopicModeration( );'; echo ' if { var oQuickModify = new QuickModify( ); aJumpTo = new JumpTo ; aIconLists = new IconList( ); }'; if (! empty { echo ' var aIgnoreToggles = new Array ;'; foreach { echo ' aIgnoreToggles = new smc_Toggle( );'; } } echo ' // ]]></script>'; } ?>

paket neden kurmuyorsun hocam