Kan inte läsa ignorerade användares inlägg?

Detta är ett arkiv för phpBB2 Support, Diskussion, MODar, Stilar och översättningar. Den tillhandahålls endast för referensändamål.

Moderatorer: Moderatorgrupp, Supportgrupp

Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Kan inte läsa ignorerade användares inlägg?

Inlägg av Gilthas »

Detta är det som står i början på hacket... Jag har fått ordning på allt förutom att det inte går att läsa de inlägg som jag har ignorerat användaren för.
Något som ska vara fördelen med detta hack samt att det ska gå om man är mod eller admin.

Kod: Markera allt

############################################################## 
## Mod Title: Ignore Users Mod 
## Mod Version: 1.1.1 RELEASE
## Author: GunnerX < gunnerx@gunnerx.net > Romar Armas - www.gunnerx.net 
## Description: This Mod enables users to set up an ignore list.
##	The posts of the users in this list will be ignored and unseen.
##	Demo url at: http://www.gunnerx.net/phpBB21/
## 
## Installation Level: (advanced) 
## Installation Time: 30 Minutes 
## Files To Edit: language/lang_english/lang_main.php, 
##                     	includes/constants.php, 
##			includes/topic_review.php,
##			viewtopic.php
##			templates/subSilver/subSilver.cfg
##			templates/subSilver/viewtopic_body.tpl
## Included Files: ignore.php, ignore_body.tpl, icon_mini_ignore.gif, icon_ignore.gif
############################################################## 
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6565
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Öhm, är det inte det som är meningen?
Holger Gremminger
Ingen support via PM!
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

Meningen är att en admin/mod ska kunna läsa inläggen även om man har ignorerat användaren - blir bara lite krångligare då man måste klicka på inlägget också...

Bild

EDIT:
La till bilden som förhoppningsvis visar lite av mitt problem
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6565
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Så när du klickar på länken "Klicka här för att titta på den här posten" så händer inget?
Holger Gremminger
Ingen support via PM!
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

Exakt - den laddar bara om sidan med samma meddelande...
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

Någon som råkat ut för detta?
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

Ingen som har en idé?

Är MYCKET tacksam för minsta lilla förslag/idé som är rimlig...
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6565
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Hm, lägg upp din viewtopic och viewtopic_body samt hela modd-beskrivningen
Holger Gremminger
Ingen support via PM!
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

Har gjort så gott jag kan och förstår att jag ska göra. Hoppas att ni inte tycker att jag är jättekonstig eller jobbig.

Modbeskrivning:

Kod: Markera allt

############################################################## 
## Mod Title: Ignore Users Mod 
## Mod Version: 1.1.1 RELEASE
## Author: GunnerX < gunnerx@gunnerx.net > Romar Armas - www.gunnerx.net 
## Description: This Mod enables users to set up an ignore list.
##	The posts of the users in this list will be ignored and unseen.
##	Demo url at: http://www.gunnerx.net/phpBB21/
## 
## Installation Level: (advanced) 
## Installation Time: 30 Minutes 
## Files To Edit: language/lang_english/lang_main.php, 
##                     	includes/constants.php, 
##			includes/topic_review.php,
##			viewtopic.php
##			templates/subSilver/subSilver.cfg
##			templates/subSilver/viewtopic_body.tpl
## Included Files: ignore.php, ignore_body.tpl, icon_mini_ignore.gif, icon_ignore.gif
############################################################## 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ 
############################################################## 
############################################################## 
## Author Note:  
##	v1.1.1 Minor bug fix in viewtopic.php
##	v1.1.0 New updated version with more functions
##  	v1.0.0 Release: I have added functionality in the viewtopic to add a poster
##	to the ignore list.  Also fixed a bug which allowed users to be listed
##	multiple times.
##      BETA: I did not add instructions as to where you would like to put the link
##	to the ignore.php function.  You can add the link anywhere you would like.
##	Examples are: Top menu links, inside the profile.php or inside each post.
##	It really is up to you.  I placed it on the top menu.
## 
############################################################## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ COPY IMAGES ]------------------------------------------ 
# 
copy icon_mini_ignore.gif to templates/subSilver/images/icon_mini_ignore.gif
copy icon_ignore.gif to templates/subSilver/images/icon_ignore.gif
copy icon_ignore.gif to templates/subSilver/images/lang_english/icon_ignore.gif

# 
#-----[ COPY FILES ]------------------------------------------ 
# 
copy ignore.php to ignore.php 
copy ignore_body.tpl to templates/subSilver/ignore_body.tpl

# 
#-----[ CREATE TABLE ]------------------------------------------ 
# 
CREATE TABLE phpbb_ignore (
  user_id mediumint(8) NOT NULL default '0',
  user_ignore mediumint(8) NOT NULL default '0'
) TYPE=MyISAM;

# 
#-----[ OPEN ]------------------------------------------ 
#
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
# 
//
// That's all Folks!
// -------------------------------------------------

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
//
// Ignore User Function
//
$lang['Ignore_list'] = "Ignore Function";
$lang['Ignore_users'] = "These Users are in your Ignore List";
$lang['Ignore_add'] = "Add User to Ignore List";
$lang['Ignore_delete'] = "Remove User from Ignore List";
$lang['Ignore_added'] = "User added to Ignore List";
$lang['Ignore_deleted'] = "User removed from Ignore List";
$lang['Ignore_submit'] = "Ignore User";
$lang['Ignore_exists'] = "User is Already on Ignore List";
$lang['Click_return_ignore'] = "Click %sHERE%s to return to the Ignore Page";
$lang['Ignore_user_warn'] = "You cannot Ignore Yourself!!!";
$lang['Post_user_ignored'] = "You have added this person to your <b>Ignore List</b>.";
$lang['Click_view_ignore'] = "Click %sHERE%s to view this post.";

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/constants.php

# 
#-----[ FIND ]------------------------------------------ 
#
define('PAGE_GROUPCP', -11);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('PAGE_IGNORE', -12);

# 
#-----[ FIND ]------------------------------------------ 
#
define('GROUPS_TABLE', $table_prefix.'groups');

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IGNORE_TABLE', $table_prefix.'ignore');

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/topic_review.php

# 
#-----[ FIND ]------------------------------------------ 
#
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                AND p.poster_id = u.user_id
                AND p.post_id = pt.post_id
        ORDER BY p.post_time DESC
        LIMIT " . $board_config['posts_per_page'];

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id, u.user_level, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                AND p.poster_id = u.user_id
                AND p.post_id = pt.post_id
        ORDER BY p.post_time DESC
        LIMIT " . $board_config['posts_per_page'];

# 
#-----[ FIND ]------------------------------------------ 
#
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
//

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$user_id = $userdata['user_id'];

# 
#-----[ FIND ]------------------------------------------ 
#
$poster_id = $row['user_id'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		    if ( $user_id != ANONYMOUS )
                    {
                        $sql = "SELECT user_ignore
                                FROM " . IGNORE_TABLE . "
                                WHERE user_id = $user_id
                                    AND user_ignore = $poster_id";
                        if( !$res = $db->sql_query($sql))
                        {
                                message_die(GENERAL_ERROR, 'Could not get data from ignore table', __LINE__, __FILE__, $sql);
                        }
                    }

                    if(($db->sql_numrows($res) == 0) || ($user_id == ANONYMOUS) || ($row['user_level'] == ADMIN) || ($row['user_level'] == MOD))
                    {



# 
#-----[ FIND ]------------------------------------------ 
#
                }
                while ( $row = $db->sql_fetchrow($result) );

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
		    }


# 
#-----[ OPEN ]------------------------------------------ 
#
viewtopic.php

# 
#-----[ FIND ]------------------------------------------ 
#
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
if ( !isset($bypass) )
{
        $post_bypass = 0;
}
else
{
        $post_bypass = $bypass;
}

# 
#-----[ FIND ]------------------------------------------ 
#
$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                $limit_posts_time
                AND pt.post_id = p.post_id
                AND u.user_id = p.poster_id
        ORDER BY p.post_time $post_time_order
        LIMIT $start, ".$board_config['posts_per_page'];


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
$sql = "SELECT u.username, u.user_id, u.user_level, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                $limit_posts_time
                AND pt.post_id = p.post_id
                AND u.user_id = p.poster_id
        ORDER BY p.post_time $post_time_order
        LIMIT $start, ".$board_config['posts_per_page'];

# 
#-----[ FIND ]------------------------------------------ 
#
for($i = 0; $i < $total_posts; $i++)

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
$user_id = $userdata['user_id'];
$counter = 0;

# 
#-----[ FIND ]------------------------------------------ 
#
        $poster_id = $postrow[$i]['user_id'];


# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
  if ( $user_id != ANONYMOUS )
  {
        $sql = "SELECT user_ignore
          FROM " . IGNORE_TABLE . "
          WHERE user_id = $user_id
                        AND user_ignore = $poster_id";
        if( !$result = $db->sql_query($sql))
        {
           message_die(GENERAL_ERROR, 'Could not get data from ignore table', __LINE__, __FILE__, $sql);
        }
        $post_ignored = $db->sql_numrows($result);
  }
  else
  {
        $post_ignored = 0;
  }

        $counter++;

# 
#-----[ FIND ]------------------------------------------ 
#
        $poster = ( $poster_id == ANONYMOUS ) ? $lang['Guest'] : $postrow[$i]['username'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
    if (( $post_ignored > 0 ) && ( $poster_id != ANONYMOUS ) && ( $post_bypass != $postrow[$i]['post_id'] ) && ($postrow[$i]['user_level'] != ADMIN) && ($postrow[$i]['user_level'] != MOD))
    {

        $post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']);

        //
        // Define the little post icon
        //
        if ( $userdata['session_logged_in'] && $postrow[$i]['post_time'] > $userdata['user_lastvisit'] && $postrow[$i]['post_time'] > $topic_last_read )
        {
                $mini_post_img = $images['icon_minipost_new'];
                $mini_post_alt = $lang['New_post'];
        }
        else
        {
                $mini_post_img = $images['icon_minipost'];
                $mini_post_alt = $lang['Post'];
        }

        $message = $lang['Post_user_ignored'] . ' ' . sprintf($lang['Click_view_ignore'], '<a href="' . append_sid("viewtopic.$phpEx?p=" . $postrow[$i]['post_id'] . "&bypass=" . $postrow[$i]['post_id'] . "#" . $postrow[$i]['post_id']) . '">', '</a>');

	$ignore = '';

        $poster_rank = '';
        $rank_image = '';
        $poster_joined = '';
        $poster_posts = '';
        $poster_from = '';
        $poster_avatar = '';
        $poster_member = '';
        $post_subject = '';

        $user_sig = '';
        $l_edited_by = '';

        $mini_post_img = '';
        $search_img = '';
        $search = '';

        $edit_img = '';
        $edit = '';
        $quote_img = '';
        $quote = '';
        $ip_img = '';
        $ip = '';

        $delpost_img = '';
        $delpost = '';

        $profile_img = '';
        $profile = '';
        $pm_img = '';
        $pm = '';
        $email_img = '';
        $email = '';
        $www_img = '';
        $www = '';
        $icq_status_img = '';
        $icq_img = '';
        $icq = '';
        $aim_img = '';
        $aim = '';
        $msn_img = '';
        $msn = '';
        $yim_img = '';
        $yim = '';

    }
    else
    {

# 
#-----[ FIND ]------------------------------------------ 
#
                $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
                $profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
                $temp_url = append_sid("ignore.$phpEx?mode=add&username=$poster&topic=$topic_id");
                $ignore = '<a href="' . $temp_url . '"><img src="' . $images['icon_ignore'] . '" alt="' . $lang['Ignore_add'] . '" title="' . $lang['Ignore_add'] . '" border="0" /></a>';


# 
#-----[ FIND ]------------------------------------------ 
#
        }
        else
        {
                $profile_img = '';
                $profile = '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
                $ignore = '';


# 
#-----[ FIND ]------------------------------------------ 
#
        else
        {
                $l_edited_by = '';
        }


# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
    }

# 
#-----[ FIND ]------------------------------------------ 
#
        $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
        $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
        $row_color = ( !($counter % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
        $row_class = ( !($counter % 2) ) ? $theme['td_class1'] : $theme['td_class2'];

# 
#-----[ FIND ]------------------------------------------ 
#
                'MINI_POST_IMG' => $mini_post_img,
                'PROFILE_IMG' => $profile_img,
                'PROFILE' => $profile,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
                'IGNORE' => $ignore,

# 
#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/viewtopic_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#
                                <td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
                                <td valign="top" align="right" nowrap="nowrap">{postrow.IGNORE} {postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>

# 
#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/subSilver.cfg

# 
#-----[ FIND ]------------------------------------------ 
#
$images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif";
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$images['icon_ignore'] = "$current_template_images/{LANG}/icon_ignore.gif";

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
För mycket text för ett inlägg!
Lägg upp viewtopic i nästa ...
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6565
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Lägg inte upp mer än en fil per inlägg ... annars blir det för mycket text ...
Holger Gremminger
Ingen support via PM!
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

viewtopic.php:
Eftersom den här filen blir fel hela tiden så går det att läsa den här filen på adressen:
http://www.pcaesar.se/xx/viewtopic.php.txt
Senast redigerad av Gilthas den 2006-07-11 21:00, redigerad totalt 4 gånger.
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

viewtopic_body.tpl:

Kod: Markera allt

<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="maintitle" valign="top">&nbsp;<a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></td>
<td class="gensmall" align="right" valign="bottom"><a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a><br />
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><br />
<strong>{S_WATCH_TOPIC}</strong></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr> 
<td nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" /></a><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" hspace="8" title="{L_POST_REPLY_TOPIC}" /></a></td>
<td width="100%" class="nav"><a href="{U_INDEX}">{L_INDEX}</a> &raquo; <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
<td nowrap="nowrap" class="nav">{PAGINATION}</td>
</tr>
</table>
{POLL_DISPLAY}
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th width="150" height="28">{L_AUTHOR}</th>
<th width="100%">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}" id="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></span><br />
<span class="postdetails">{postrow.POSTER_RANK}<br />
{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />
{postrow.POSTER_JOINED}<br />
{postrow.POSTER_POSTS}<br />
{postrow.POSTER_FROM}</span><br />
<img src="images/spacer.gif" alt="" width="150" height="1" />
</td>
<td class="{postrow.ROW_CLASS}" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="postdetails"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" /></a>{L_POSTED}: 
{postrow.POST_DATE}</td>
<td align="right" valign="top" nowrap="nowrap">{postrow.IGNORE} {postrow.QUOTE_IMG}{postrow.EDIT_IMG}<a href="#top"><img src="templates/fiblack/images/icon_up.gif" alt="{L_BACK_TO_TOP}" width="16" height="18" title="{L_BACK_TO_TOP}" class="imgtopic" /></a>{postrow.DELETE_IMG} {postrow.KEEP_UNREAD_IMG}{postrow.IP_IMG}</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="postbody">
<hr />
{postrow.MESSAGE}</td>
</tr>
<tr>
<td height="40" valign="bottom" class="genmed">{postrow.SIGNATURE} {postrow.SIG_IMAGE}<span class="postdetails">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom" nowrap="nowrap" class="{postrow.ROW_CLASS}">{postrow.HIDE_IMG} {postrow.POSTER_ONLINE_STATUS_IMG}{postrow.PROFILE_IMG}{postrow.PM_IMG}{postrow.EMAIL_IMG}{postrow.WWW_IMG}{postrow.AIM_IMG}{postrow.YIM_IMG}{postrow.MSN_IMG}{postrow.ICQ_IMG}</td>
</tr>
<tr>
<td class="spacerow" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
<tr>
<td colspan="2" align="center" class="cat"> 
<form method="post" action="{S_POST_DAYS_ACTION}">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="gensmall">{L_DISPLAY_POSTS}:&nbsp;&nbsp;</td>
<td>{S_SELECT_POST_DAYS}&nbsp;</td>
<td>{S_SELECT_POST_ORDER}&nbsp;</td>
<td><input type="submit" value="{L_GO}" class="catbutton" name="submit" /></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" /></a><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" hspace="8" title="{L_POST_REPLY_TOPIC}" /></a></td>
<td width="100%" class="nav"><a href="{U_INDEX}">{L_INDEX}</a> &raquo; <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
<td nowrap="nowrap" class="nav">{PAGINATION}</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
	<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span></td>
	<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}</td>
  </tr>
  <tr>
	<td width="100%" nowrap="nowrap" colspan="2">
		<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
		  <tr>
			<th align="center" colspan="2" height="28">{L_QUICK_REPLY}</th>
		  </tr>
<!-- BEGIN switch_quick_reply -->
		  <tr>
			<td class="row1" align="center">
				<script language="JavaScript" type="text/javascript"><!--
function checkForm() {
	formErrors = false;
	if (document.post.message.value.length < 2) {
	formErrors = '{L_EMPTY_MSG}';
	}
	if (formErrors) {
		alert(formErrors);
		return false;
	} else {
		return true;
	}
}
				//--></script>
				<form action="{S_POSTING}" method="post" name="post" onsubmit="return checkForm(this)"><span class="genmed">
<!-- BEGIN switch_user_logged_out -->
					<b>{L_USERNAME}:</b> <input class="post" type="text" name="username" size="25" maxlength="25" value="" /><br />
<!-- END switch_user_logged_out -->
					<textarea class="post" name="message" rows="10" cols="50" wrap="virtual"></textarea><br />
					<input type="hidden" name="attach_sig" value="{S_ATTACH_SIG}" />
					<input type="hidden" name="mode" value="reply" />
					<input type="hidden" name="sid" value="{S_SID}" />
					<input type="hidden" name="t" value="{S_TOPIC_ID}" />
					<input type="hidden" name="notify" value="{S_NOTIFY}" /><br />
					<input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}" />
					&nbsp;
					<input type="submit" name="post" class="mainoption" value="{L_SUBMIT}" />
				</span></form>
			</td>
		  </tr>
		</table>
	</td>
  </tr>
<!-- END switch_quick_reply -->
  <tr>
	<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_TOPIC_ADMIN}</td>
	<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_AUTH_LIST}</span></td>
  </tr>
</table>
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6565
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Stopp! De är för stora! Skicka dem till info@gremminger.se
Holger Gremminger
Ingen support via PM!
Gilthas
Aktiv medlem
Aktiv medlem
Inlägg: 63
Blev medlem: 2006-03-15 08:29
Svar: 0

Inlägg av Gilthas »

Holger skrev:Stopp! De är för stora! Skicka dem till info@gremminger.se
Gjorde en annan lösning... ;)
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6565
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Vilken? Struntar du i modden? ;-)
Holger Gremminger
Ingen support via PM!
Skriv svar

Vilka är online

Användare som besöker denna kategori: 8 och 0 gäster