|
Advanced Forum Threads List Panel
|
| Deleted_User |
Geschrieben am 13-04-2012 17:14
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Hallo DeeoNe & Grew,
mir ist eben aufgefallen dass ich komischerweise keine Gesperrten Themen mehr mit dem folderlock.gif sehe. Also sprich auch ein Gesperrtes Thema wird mit dem folder.gif versehen.
Komisch ... :/ |
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 13-04-2012 17:18
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Ja, wiso auch immer, wird das oft vergessen mit einzubauen in den Mods.
Leider nutze ich den Mod nicht und rate dich an das Forum zu wenden wo du es geladen hast.
Da jedes Panel anderst vom Code ist.
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 13-04-2012 17:20
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Das Problem ist die Seite ist auf Englisch und mein Englisch ist naja nicht sooo gut
aber Dank für die Antwort. |
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 13-04-2012 17:56
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Mein Codes:
Code$imageold = get_image("folder",$locale['561'],"",$locale['561']);
$imagenew = get_image("foldernew",$locale['560'],"",$locale['560']);
$imagelocked = get_image("folderlock",$locale['564'],"",$locale['564']);
Code if ($data['thread_locked'] == 1){
$folder_image = $imagelocked;
} elseif ($data['new_post']){
$thread_match = $data['thread_id']."|".$data['thread_lastpost']."|".$data['forum_id'];
if (iMEMBER && strpos($userdata['user_threads'],$thread_match)!==FALSE){//preg_match("(^\.{$thread_match}$|\.{$thread_match}\.|\.{$thread_match}$)", $userdata['user_threads'])) {
$folder_image = $imageold;
} else {
$folder_image = $imagenew;
}
} else {
$folder_image = $imageold;
}
Ob du damit was anfangen kannst weiß ich nicht.
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 13-04-2012 19:18
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Ich denke nicht, hab nichts ähnliches in der Datei gefunden was man ersetzen könnte. Hab nun das Standart wieder drin (:
Bei dem o.G. Panel ist sowieso noch ein Fehler. Zusehen ist der Fehler wenn man keine Beiträge im Forum erfasst hat und das Panel trotzdem aktiviert hat.
tröztdem danke
Zusammengefügt am 16. April 2012 04:55:25:
Ja, ich rolle das Thema einfach nochmal aus mit der Frage ob du mir ggf dein Forum_Thread_List_Panel zukommen lassen könntest.
So ein Panel wollte ich halt schon immer haben, nur da es eben nicht korrekt ist, frag ich einfachmal nach Deins. (:
LG
Bearbeitet von Deleted_User am 16-04-2012 04:55
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 16-04-2012 11:32
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Ich hatte es darmals von jemand anderes bekommen, daher kann ich das nicht entscheiden, aber rausgeben würde ich es auch nicht.
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 16-04-2012 15:02
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Herzlichen Dank für die Antwort DeeoNe,
vielleicht kannst Du dir das Panel mal anschauen. Ich häng Dir das mal an.
Bzw. an die Allg. Coder, vielleicht kann sich das einer von euch mal Anschauen und ggf. die Funktion einbauen mit den Gesperrten Themen.
LG
Zusammengefügt am 21. April 2012 16:48:43:
Huhu (:
Ich wollt nochmal auf dieses Thread aufmerksam machen *gg* (:
Also ich hab nun auch schon na einem anderen Gegooglet aber nichts wirklich gefunden. LG
Zusammengefügt am 07. Mai 2012 05:21:17:
Mh hierzu hat wohl niemand eine Lösung
Deleted_User hat folgende Datei angehängt:
Du hast nicht die Berechtigung die Anhäge dieses Themas zu sehen.
Bearbeitet von Deleted_User am 07-05-2012 05:21
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 17:44
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Ich denke nicht, hab nichts ähnliches in der Datei gefunden was man ersetzen könnte. Hab nun das Standart wieder drin (:
Jetzt könnte ich sagen, da hast du NICHT richtig geschaut, den Code wo ich gepostet habe war FERTIG zum einfügen, du hättest nur gucken müssen wo im code original Teile davon sind und die waren leicht zu finden.
Code<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2007 Nick Jones
| http://www.php-fu...
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
/*---------------------------------------------------+
| Advanced Forum Threads List Panel - (AFTLP)
+----------------------------------------------------+
| Modder: Shedrock / Xandra - Fuzed Themes
| Special Credit: Xandra - Thank you for all your help
| Support: http://phpfusion-...
|----------------------------------------------------+
| Converted to PHP-Fusion v7 by Smokeman
| PHPFusion-Tips.dk
| Website: http://www.phpfus...
| Optimisation & Additional Love: moozaad
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
if (file_exists(INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php";
} else { include INFUSIONS."forum_threads_list_panel/locale/English.php"; }
require(LOCALE.LOCALESET."forum/main.php");
if (!isset($lastvisited) || !isnum($lastvisited)) $lastvisited = time();
$min = 5; // minimum visible posts in first level.
$max = 10; // maximum number of posts in second level (hidden).
echo "<script type='text/javascript' language='JavaScript' src='".INFUSIONS."forum_threads_list_panel/ft_boxover.js'></script>";
$imageold = get_image("folder",$locale['561'],"",$locale['561']);
$imagenew = get_image("foldernew",$locale['560'],"",$locale['560']);
//$imagelocked = get_image("folderlock",$locale['564'],"",$locale['564']);
//$imagehot = get_image("folderhot");//THEME."forum/folderhot.gif"; //DOESN'T EXIST ANYMORE
/*******************************************************************
* Start use with the BlueIce Theme for cellpic image
********************************************************************/
if (isset($userdata['user_theme']) && $userdata['user_theme'] != "Default" && file_exists(THEMES.$userdata['user_theme']."/theme.php")) {
$theme = $userdata['user_theme'];
} else { $theme = $settings['theme']; }
$class = $theme == "BlueIce" ? "td" : "tbl2";
/*******************************************************************
* End use with the BlueIce Theme for cellpic image
********************************************************************/
$result = dbquery(
"SELECT
tf.forum_name,tf.forum_id,
tt.thread_id,tt.thread_locked,tt.thread_subject,tt.thread_author,tt.thread_views,
tt.thread_lastpost,tt.thread_lastuser, tt.thread_postcount, tt.thread_lastpostid as last_id,
if(tt.thread_lastpost>$lastvisited,1,0) as new_post,
tu.user_id, tu.user_name as user_name,
tau.user_name as author,
tp.post_message, tp.post_smileys
FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf USING(forum_id)
INNER JOIN ".DB_POSTS." tp USING(thread_id)
INNER JOIN ".DB_USERS." tu ON tt.thread_lastuser=tu.user_id
INNER JOIN ".DB_USERS." tau ON tt.thread_author=tau.user_id
WHERE ".groupaccess('forum_access')."
AND tt.thread_lastpostid = tp.post_id
ORDER BY tt.thread_lastpost DESC LIMIT ".($min + $max)
);
if (dbrows($result) != 0) {
$i = 0;
opentable($locale['ftl100']);
echo "<table style='width:100%; empty-cells:hide; border-spacing:1px;' class='tbl-border2 forum_table'>
<tr>
<td align='center' class='$class' height='24'> </td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl120']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl124']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl123']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl107']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl108']."</b></span></td>
</tr>\n";
while ($data = dbarray($result)) {
if ($i == $min) {
echo "</table><br />
<div align='left'>
<img src='".INFUSIONS."forum_threads_list_panel/images/icon_displaymore.gif' alt='' /> <a href=\"javascript:void(0)\" onclick=\"toggle_smt();\"><span id='show_more_threads_text'><b>".$locale['ftl113']."</b></span></a>
</div>
<div id='show_more_threads' style='display: none;'><br />
<table style='width:100%; empty-cells:hide; border-spacing:1px;' class='tbl-border2 forum_table'>
<tr>
<td align='center' class='tbl1' height='24'> </td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl120']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl124']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl123']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl107']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl108']."</b></span></td>
</tr>\n";
}
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl2"; }
$post_message = trimlink($data['post_message'],250);
if($data['post_smileys'])$post_message=parsesmileys($post_message);
$post_message = phpentities(nl2br(parseubb($post_message)));
//.93|1234180289|8 - thread_id | time | forum_id
if ($data['new_post']){
$thread_match = $data['thread_id']."|".$data['thread_lastpost']."|".$data['forum_id'];
if (iMEMBER && strpos($userdata['user_threads'],$thread_match)!==FALSE){//preg_match("(^\.{$thread_match}$|\.{$thread_match}\.|\.{$thread_match}$)", $userdata['user_threads'])) {
$folder_image = $imageold;
}else $folder_image = $imagenew;
}else $folder_image = $imageold;
echo "<tr>
<td align='center' class='$row_color'>$folder_image</td>
<td width='35%' class='$row_color'>
<span class='small'><strong>".$data['forum_name']."</strong></span><br />
<span class='small forum_thread_title'><a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['last_id']."#post_".$data['last_id']."' title=\"header=[ ".str_replace("]", "]]", str_replace("[", "[[", trimlink($data['thread_subject'], 30)))."] body=[".str_replace("]", "]]", str_replace("[", "[[", $post_message))."] delay=[0] fade=[on]\">".trimlink($data['thread_subject'], 30)."</a></span>
</td>
<td align='center' class='$row_color'><a href='".BASEDIR."profile.php?lookup=".$data['thread_author']."'>".$data['author']."</a></td>
<td align='center' width='40' class='$row_color'><span class='small'>".$data['thread_views']."</span></td>
<td align='center' width='45' class='$row_color'><span class='small'>".($data['thread_postcount']-1)."</span></td>
<td align='center' width='25%' class='$row_color'>
<span class='small'>".showdate("forumdate", $data['thread_lastpost'])."</span><br />
<span class='small'><a href='".BASEDIR."profile.php?lookup=".$data['thread_lastuser']."'>".$data['user_name']."</a></span><a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['last_id']."#post_".$data['last_id']."' title='".$locale['ftl125']."'><img src='".INFUSIONS."forum_threads_list_panel/images/icon_minipost_new.gif' alt='' border='0' /></a>
</td>
</tr>\n";
$i ++;
}
if ($i > $min) { echo "</table><br /><script type='text/javascript'>
<!--
function toggle_smt() {
var smt = document.getElementById('show_more_threads');
var smttxt = document.getElementById('show_more_threads_text');
if (smt.style.display == 'none') {
smt.style.display = 'block';
smttxt.innerHTML = '".$locale['ftl114']."';
} else {
smt.style.display = 'none';
smttxt.innerHTML = '".$locale['ftl113']."';
}
}
//-->
</script></div>\n"; }
else { echo "</table><br />\n"; }
}
if (iMEMBER) {
echo "<hr /><p style='text-align:center; vertical-align:middle; margin-top: 6px;'>
<img src='".BASEDIR."infusions/forum_threads_list_panel/images/icon_threads.gif' alt='' border='0' /> <span class='small'><a href='".INFUSIONS."forum_threads_list_panel/my_threads.php'>".$locale['ftl110']."</a></span>
<img src='".BASEDIR."infusions/forum_threads_list_panel/images/icon_threads.gif' alt='' border='0' /> <span class='small'><a href='".INFUSIONS."forum_threads_list_panel/my_posts.php'>".$locale['ftl111']."</a></span>
<img src='".BASEDIR."infusions/forum_threads_list_panel/images/icon_threads.gif' alt='' border='0' /> <span class='small'><a href='".INFUSIONS."forum_threads_list_panel/newposts.php'>".$locale['ftl112']."</a></span></p>";
}
closetable();
?>
Das in rot musst du nur mit meinen Codes ersetzten.
Die sollten auch 1zu1 passen.
|
Verwarnstatus:
    |
x 1
|
| |
|
|
| Deleted_User |
Geschrieben am 07-05-2012 18:26
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Danke dir Denis. Ich habe na sowas ähnlichem gesucht mittels der Suche des Editors, der hat mir aber angezeigt, dass er nichts finden konnte.
Wenn du mir eventuell noch Sagen könntest wie ich noch eine Grafik für "Zeige weniger Themen" rein bekomme ?
LG
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 18:37
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Code<!--
function toggle_smt() {
var smt = document.getElementById('show_more_threads');
var smttxt = document.getElementById('show_more_threads_text');
if (smt.style.display == 'none') {
smt.style.display = 'block';
smttxt.innerHTML = '".$locale['ftl114']."';
} else {
smt.style.display = 'none';
smttxt.innerHTML = '".$locale['ftl113']."';
}
}
//-->
Codesmttxt.innerHTML = 'IMG".$locale['ftl113']."IMG';
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 07-05-2012 18:41
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Hm, komme mit dem Code nicht wirklich klar.
Das ist meiner:
Code<div align='left'>
<img src='".INFUSIONS."forum_threads_list_panel/images/icon_displaymore.gif' alt='' /> <a href=\"javascript:void(0)\" onclick=\"toggle_smt();\"><span id='show_more_threads_text'><b>".$locale['ftl113']."</b></span></a>
</div>
<div id='show_more_threads' style='display: none;'><br />
<table style='width:100%; empty-cells:hide; border-spacing:1px;' class='tbl-border2 forum_table'>
wo muss ich deinen nun einbauen ?
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 18:49
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
was willst du mit dem Code???
Soll nur ein Bild rein.
So ist es richtig:
Codesmtico.innerHTML = '<img src=\'".INFUSIONS."forum_threads_list_panel/images/icon_displayless.gif\' alt=\'\' style=\'verical-align:middle;\' /> ';
smttxt.innerHTML = '<b>".$locale['ftl114']."</b>';
} else {
smt.style.display = 'none';
smtico.innerHTML = '<img src=\'".INFUSIONS."forum_threads_list_panel/images/icon_displaymore.gif\' alt=\'\' style=\'verical-align:middle;\' /> ';
smttxt.innerHTML = '<b>".$locale['ftl113']."</b>';
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 07-05-2012 18:54
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Sorry, ich blick grad gar nicht mehr durch.
Den Code von dir muss ich nun mit welchen Ersetzen ?
Sorry grad für die Umstände..
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 19:13
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Guck wo das ist bei dir:
smttxt.innerHTML = '<b>".$locale['ftl114']."</b>';
guck mein code an.
Dann solltest das verstehen
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 07-05-2012 19:19
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Code<!--
function toggle_smt() {
var smt = document.getElementById('show_more_threads');
var smttxt = document.getElementById('show_more_threads_text');
if (smt.style.display == 'none') {
smtico.innerHTML = '<img src=\'".INFUSIONS."forum_threads_list_panel/images/icon_displayless.gif\' alt=\'\' style=\'verical-align:middle;\' /> ';
smttxt.innerHTML = '<b>".$locale['ftl114']."</b>';
} else {
smt.style.display = 'none';
smtico.innerHTML = '<img src=\'".INFUSIONS."forum_threads_list_panel/images/icon_displaymore.gif\' alt=\'\' style=\'verical-align:middle;\' /> ';
smttxt.innerHTML = '<b>".$locale['ftl113']."</b>';
}
}
//-->
Dann sollte es fertig so aussehen, richtig ?
Funktioniert aber nicht, denn wenn ich auf "Zeige mehr Themen" klicke passiert nichts.
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 20:13
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Ging das überhaupt?
Weil das ist ja nur ein Bild
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 07-05-2012 20:18
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Hm ne komischerweise geht das nicht aber vielleicht kann nochmal einer drüber schauen.:
Code<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2007 Nick Jones
| http://www.php-fu...
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
/*---------------------------------------------------+
| Advanced Forum Threads List Panel - (AFTLP)
+----------------------------------------------------+
| Modder: Shedrock / Xandra - Fuzed Themes
| Special Credit: Xandra - Thank you for all your help
| Support: http://phpfusion-...
|----------------------------------------------------+
| Converted to PHP-Fusion v7 by Smokeman
| PHPFusion-Tips.dk
| Website: http://www.phpfus...
| Optimisation & Additional Love: moozaad
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
if (file_exists(INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php";
} else { include INFUSIONS."forum_threads_list_panel/locale/English.php"; }
require(LOCALE.LOCALESET."forum/main.php");
if (!isset($lastvisited) || !isnum($lastvisited)) $lastvisited = time();
$min = 5; // minimum visible posts in first level.
$max = 10; // maximum number of posts in second level (hidden).
echo "<script type='text/javascript' language='JavaScript' src='".INFUSIONS."forum_threads_list_panel/ft_boxover.js'></script>";
$imageold = get_image("folder",$locale['561'],"",$locale['561']);
$imagenew = get_image("foldernew",$locale['560'],"",$locale['560']);
$imagelocked = get_image("folderlock",$locale['564'],"",$locale['564']);
//$imagelocked = get_image("folderlock",$locale['564'],"",$locale['564']);
//$imagehot = get_image("folderhot");//THEME."forum/folderhot.gif"; //DOESN'T EXIST ANYMORE
/*******************************************************************
* Start use with the BlueIce Theme for cellpic image
********************************************************************/
if (isset($userdata['user_theme']) && $userdata['user_theme'] != "Default" && file_exists(THEMES.$userdata['user_theme']."/theme.php")) {
$theme = $userdata['user_theme'];
} else { $theme = $settings['theme']; }
$class = $theme == "BlueIce" ? "td" : "tbl2";
/*******************************************************************
* End use with the BlueIce Theme for cellpic image
********************************************************************/
$result = dbquery(
"SELECT
tf.forum_name,tf.forum_id,
tt.thread_id,tt.thread_locked,tt.thread_subject,tt.thread_author,tt.thread_views,
tt.thread_lastpost,tt.thread_lastuser, tt.thread_postcount, tt.thread_lastpostid as last_id,
if(tt.thread_lastpost>$lastvisited,1,0) as new_post,
tu.user_id, tu.user_name as user_name,
tau.user_name as author,
tp.post_message, tp.post_smileys
FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf USING(forum_id)
INNER JOIN ".DB_POSTS." tp USING(thread_id)
INNER JOIN ".DB_USERS." tu ON tt.thread_lastuser=tu.user_id
INNER JOIN ".DB_USERS." tau ON tt.thread_author=tau.user_id
WHERE ".groupaccess('forum_access')."
AND tt.thread_lastpostid = tp.post_id
ORDER BY tt.thread_lastpost DESC LIMIT ".($min + $max)
);
if (dbrows($result) != 0) {
$i = 0;
opentable($locale['ftl100']);
echo "<table style='width:100%; empty-cells:hide; border-spacing:1px;' class='tbl-border2 forum_table'>
<tr>
<td align='center' class='$class' height='24'> </td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl120']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl124']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl123']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl107']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl108']."</b></span></td>
</tr>\n";
while ($data = dbarray($result)) {
if ($i == $min) {
echo "</table><br />
<div align='left'>
<img src='".INFUSIONS."forum_threads_list_panel/images/icon_displaymore.gif' alt='' /> <a href=\"javascript:void(0)\" onclick=\"toggle_smt();\"><span id='show_more_threads_text'><b>".$locale['ftl113']."</b></span></a>
</div>
<div id='show_more_threads' style='display: none;'><br />
<table style='width:100%; empty-cells:hide; border-spacing:1px;' class='tbl-border2 forum_table'>
<tr>
<td align='center' class='tbl1' height='24'> </td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl120']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl124']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl123']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl107']."</b></span></td>
<td align='center' class='tbl1'><span class='small'><b>".$locale['ftl108']."</b></span></td>
</tr>\n";
}
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl2"; }
$post_message = trimlink($data['post_message'],250);
if($data['post_smileys'])$post_message=parsesmileys($post_message);
$post_message = phpentities(nl2br(parseubb($post_message)));
//.93|1234180289|8 - thread_id | time | forum_id
if ($data['thread_locked'] == 1){
$folder_image = $imagelocked;
} elseif ($data['new_post']){
$thread_match = $data['thread_id']."|".$data['thread_lastpost']."|".$data['forum_id'];
if (iMEMBER && strpos($userdata['user_threads'],$thread_match)!==FALSE){//preg_match("(^\.{$thread_match}$|\.{$thread_match}\.|\.{$thread_match}$)", $userdata['user_threads'])) {
$folder_image = $imageold;
} else {
$folder_image = $imagenew;
}
} else {
$folder_image = $imageold;
}
echo "<tr>
<td align='center' class='$row_color'>$folder_image</td>
<td width='35%' class='$row_color'>
<span class='small'><strong>".$data['forum_name']."</strong></span><br />
<span class='small forum_thread_title'><a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['last_id']."#post_".$data['last_id']."' title=\"header=[ ".str_replace("]", "]]", str_replace("[", "[[", trimlink($data['thread_subject'], 30)))."] body=[".str_replace("]", "]]", str_replace("[", "[[", $post_message))."] delay=[0] fade=[on]\">".trimlink($data['thread_subject'], 30)."</a></span>
</td>
<td align='center' class='$row_color'><a href='".BASEDIR."profile.php?lookup=".$data['thread_author']."'>".$data['author']."</a></td>
<td align='center' width='40' class='$row_color'><span class='small'>".$data['thread_views']."</span></td>
<td align='center' width='45' class='$row_color'><span class='small'>".($data['thread_postcount']-1)."</span></td>
<td align='center' width='25%' class='$row_color'>
<span class='small'>".showdate("forumdate", $data['thread_lastpost'])."</span><br />
<span class='small'><a href='".BASEDIR."profile.php?lookup=".$data['thread_lastuser']."'>".$data['user_name']."</a></span><a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['last_id']."#post_".$data['last_id']."' title='".$locale['ftl125']."'><img src='".INFUSIONS."forum_threads_list_panel/images/icon_minipost_new.gif' alt='' border='0' /></a>
</td>
</tr>\n";
$i ++;
}
if ($i > $min) { echo "</table><br /><script type='text/javascript'>
<!--
function toggle_smt() {
var smt = document.getElementById('show_more_threads');
var smttxt = document.getElementById('show_more_threads_text');
if (smt.style.display == 'none') {
smtico.innerHTML = '<img src=\'".INFUSIONS."forum_threads_list_panel/images/icon_displayless.gif\' alt=\'\' style=\'verical-align:middle;\' /> ';
smttxt.innerHTML = '<b>".$locale['ftl114']."</b>';
} else {
smt.style.display = 'none';
smtico.innerHTML = '<img src=\'".INFUSIONS."forum_threads_list_panel/images/icon_displayless.gif\' alt=\'\' style=\'verical-align:middle;\' /> ';
smttxt.innerHTML = '<b>".$locale['ftl113']."</b>';
}
}
//-->
</script></div>\n"; }
else { echo "</table><br />\n"; }
}
if (iMEMBER) {
echo "<hr /><p style='text-align:center; vertical-align:middle; margin-top: 6px;'>
<img src='".BASEDIR."infusions/forum_threads_list_panel/images/icon_threads.gif' alt='' border='0' /> <span class='small'><a href='".INFUSIONS."forum_threads_list_panel/my_threads.php'>".$locale['ftl110']."</a></span>
<img src='".BASEDIR."infusions/forum_threads_list_panel/images/icon_threads.gif' alt='' border='0' /> <span class='small'><a href='".INFUSIONS."forum_threads_list_panel/my_posts.php'>".$locale['ftl111']."</a></span>
<img src='".BASEDIR."infusions/forum_threads_list_panel/images/icon_threads.gif' alt='' border='0' /> <span class='small'><a href='".INFUSIONS."forum_threads_list_panel/newposts.php'>".$locale['ftl112']."</a></span></p>";
}
closetable();
?>
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 20:22
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Ging das Vorher überhaupt mal???
Oder erst mit der änderung von mir?
|
Verwarnstatus:
    |
|
| |
|
|
| Deleted_User |
Geschrieben am 07-05-2012 20:24
|

Foren Gott

(589)
Beiträge: 1225
Registriert am: 01.01.1970
Geschlecht:
Stimmung:
-
|
Ja es ging voher ich konnte Switschen zwischen "Mehr Themen" und Weniger Themen aber bei Weniger Themen hatte er das icon von "Zeige Mehr thmen" gehabt und da sollte eben ein anderes hin.
This user has been deleted!
|
Verwarnstatus:
    |
|
| |
|
|
| DeeoNe |
Geschrieben am 07-05-2012 20:34
|

Super Admin

(236)
PHP-Fusion: v7.02.07
Beiträge: 3718
Registriert am: 30.01.2010
Geschlecht:
Alter: 40
Stimmung:
|
Ich weiß nicht wie es aussieht dein Panel, und was wie funktioniert.
Dachte du hattest kein Icon gehabt, jetzt sagst du da ist doch eins?
|
Verwarnstatus:
    |
|
| |
|