Hey ich wollt mal Fragen warum man im Forum bei forumübersicht nicht solche bilder drauf tuhen kann ?
betroffene Homepage: cciclan.ohost.de
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | <table width="100%" cellpadding="4" cellspacing="1" class="border" border="0"> <tr class="Chead"> <th width="58%" colspan="2" align="center"><b>{_lang_board}</b></th> <th width="6%">{_lang_post}</th> <th width="6%">{_lang_topic}</th> <th width="25%" align="center">{_lang_lastpost}</th> </tr>{EXPLODE}<tr class="Cdark"> <td colspan="5"><strong><a href="index.php?forum-showcat-{cid}">{cname}</a></strong></td> </tr>{EXPLODE}<tr class="Cmite"> <td colspan="5"><strong> » <a href="index.php?forum-showcat-{cid}">{cname}</a></strong></td> </tr>{EXPLODE}<tr class="Cnorm"> <td width="5%" align="center" valign="middle"><img alt="" src="include/images/forum/{ORD}.gif" width="15" height="15" border="0"></td> <td> <a href="index.php?forum-showtopics-{id}">{name}</a> <br /> <span class="smalfont">{besch} {mods} </span> </td> <td align="center"><span class="smalfont">{posts}</span></td> <td align="center"><span class="smalfont">{topics}</span></td> <td> <span class="smalfont"> <a class="smalfont" title="{topicl}" href="index.php?forum-showposts-{tid}-p{page}#{pid}">{topic}</a> <br /> {_lang_from}: {erst} </span> </td> </tr>{EXPLODE} </table> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr> <td width="50%" valign="top"> <a href="index.php?forum-markallasread">{_lang_markallasread}</a> </td><td width="50%" style="text-align: right" valign="top"> <a href="index.php?forum-augt">{_lang_newtopicssincelastvisit}</a> <br /><a href="index.php?forum-aubt">{_lang_topicwithnoreply}</a> <br /><a href="index.php?forum-aeit">{_lang_ownposts}</a> </td></tr></table> <br /> <br /> <table width="100%" border="0" cellpadding="5" cellspacing="1" class="border"> <tr class="Cnorm"> <td class="erstezeile">{_lang_it} {istsind} {gesonline} {_lang_guestsonline,ofthem} {useronline} {_if_{useronline}=='1'}{_lang_registredand}{/_endif}{_if_{useronline}!='1'}{_lang_registrededand}{/_endif} {gastonline} {_lang_guests}<br /> {userliste} </td> </tr> <tr class="Cnorm"> <td><b>{users}</b> {_lang_membershaveritten} <b>{posts}</b> {_lang_postsin} <b>{topics}</b> {_lang_topics}</td> </tr> </table> <br /> <br /><img src="include/images/forum/nord.gif" alt="neue Beiträge" border="0"> {_lang_newposts} <img src="include/images/forum/ord.gif" alt="keine neuen Beiträge" border="0"> {_lang_nonewposts} <img src="include/images/forum/cord.gif" alt="Thema geschlossen" border="0"> {_lang_topicclosed} {privmsgpopup} |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | <?php # Copyright by: Manuel # Support: www.ilch.de defined ( 'main' ) or die ( 'no direct access' ); $title = $allgAr [ 'title' ]. ' :: Forum' ; $hmenu = $extented_forum_menu . 'Forum' . $extented_forum_menu_sufix ; $design = new design ( $title , $hmenu , 1); $design ->header(); if ( $menu ->get(1) == 'markallasread' ) { user_markallasread (); } function forum_find_kat ( $kat ) { $katpfad = 'include/images/forum/kat/' ; $katjpg = $katpfad . $kat . '.jpg' ; $katgif = $katpfad . $kat . '.gif' ; $katpng = $katpfad . $kat . '.png' ; if ( file_exists ( $katjpg ) ) { $pfadzumBild = $katjpg ; } elseif ( file_exists ( $katgif ) ) { $pfadzumBild = $katgif ; } elseif ( file_exists ( $katpng ) ) { $pfadzumBild = $katpng ; } if ( ! empty ( $pfadzumBild ) ) { $kategorie = '<img style="" src="' . $pfadzumBild . '" alt="' . $kat . '" border="0">' ; } else { $kategorie = '<b>' . $kat . '</b>' ; } return ( $kategorie ); } $tpl = new tpl ( 'forum/showforum' ); $tpl ->out (0); $category_array = array (); $forum_array = array (); $q = "SELECT a.id, a.cid, a.name, a.besch, a.topics, a.posts, b.name as topic, c.id as pid, c.tid, b.rep, c.erst, c.time, a.cid, k.name as cname FROM prefix_forums a LEFT JOIN prefix_forumcats k ON k.id = a.cid LEFT JOIN prefix_posts c ON a.last_post_id = c.id LEFT JOIN prefix_topics b ON c.tid = b.id LEFT JOIN prefix_groupusers vg ON vg.uid = ".$_SESSION['authid']." AND vg.gid = a.view LEFT JOIN prefix_groupusers rg ON rg.uid = ".$_SESSION['authid']." AND rg.gid = a.reply LEFT JOIN prefix_groupusers sg ON sg.uid = ".$_SESSION['authid']." AND sg.gid = a.start WHERE (( ".$_SESSION['authright']." <= a.view AND a.view < 1) OR ( ".$_SESSION['authright']." <= a.reply AND a.reply < 1) OR ( ".$_SESSION['authright']." <= a.start AND a.start < 1) OR vg.fid IS NOT NULL OR rg.fid IS NOT NULL OR sg.fid IS NOT NULL OR -9 = ".$_SESSION['authright']." ) AND k.cid = 0 ORDER BY k.pos, a.pos"; $erg1 = db_query( $q ); $xcid = 0; while ( $r = db_fetch_assoc( $erg1 ) ) { $r [ 'topicl' ] = $r [ 'topic' ]; $r [ 'topic' ] = html_enc_substr( $r [ 'topic' ],0,23); $r [ 'ORD' ] = forum_get_ordner( $r [ 'time' ], $r [ 'id' ]); $r [ 'mods' ] = getmods( $r [ 'id' ]); $r [ 'datum' ] = date ( 'd.m.y - H:i' , $r [ 'time' ]); $r [ 'page' ] = ceil ( ( $r [ 'rep' ]+1) / $allgAr [ 'Fpanz' ] ); $r [ 'cname' ] = forum_find_kat( $r [ 'cname' ]); $tpl ->set_ar ( $r ); if ( $r [ 'cid' ] <> $xcid ) { $tpl ->out(1); //Unterkategorien $sql = db_query( "SELECT DISTINCT a.name as cname, a.id as cid FROM `prefix_forumcats` a LEFT JOIN `prefix_forums` b ON a.id = b.cid WHERE a.cid = {$r['cid']} AND a.id = b.cid ORDER BY a.pos, a.name" ); while ( $ucat = db_fetch_assoc( $sql )) { $tpl ->set_ar_out( $ucat ,2); } //Unterkategorien - Ende $xcid = $r [ 'cid' ]; } $tpl ->set_ar_out( $r ,3); } # statistic # $ges_online_user = ges_online(); $stats_array = array ( 'privmsgpopup' => check_for_pm_popup (), 'topics' => db_result(db_query( "SELECT COUNT(ID) FROM `prefix_topics`" ),0), 'posts' => db_result(db_query( "SELECT COUNT(ID) FROM `prefix_posts`" ),0), 'users' => db_result(db_query( "SELECT COUNT(ID) FROM `prefix_user`" ),0), 'istsind' => ( $ges_online_user > 1 ? 'sind' : 'ist' ), 'gesonline' => $ges_online_user , 'gastonline' => ges_gast_online(), 'useronline' => ges_user_online(), 'userliste' => user_online_liste() ); $tpl ->set_ar_out( $stats_array ,4); $design ->footer(); ?> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | <?php # Copyright by: Manuel # Support: www.ilch.de defined ( 'main' ) or die ( 'no direct access' ); $title = $allgAr [ 'title' ]. ' :: Forum :: ' .aktForumCats( $aktForumRow [ 'kat' ], 'title' ); $hmenu = $extented_forum_menu . '<a class="smalfont" href="index.php?forum">Forum</a><b> » </b>' .aktForumCats( $aktForumRow [ 'kat' ]). $extented_forum_menu_sufix ; $design = new design ( $title , $hmenu , 1); $design ->header(); function forum_find_kat ( $kat ) { $katpfad = 'include/images/forum/kat/' ; $katjpg = $katpfad . $kat . '.jpg' ; $katgif = $katpfad . $kat . '.gif' ; $katpng = $katpfad . $kat . '.png' ; if ( file_exists ( $katjpg ) ) { $pfadzumBild = $katjpg ; } elseif ( file_exists ( $katgif ) ) { $pfadzumBild = $katgif ; } elseif ( file_exists ( $katpng ) ) { $pfadzumBild = $katpng ; } if ( ! empty ( $pfadzumBild ) ) { $kategorie = '<img style="" src="' . $pfadzumBild . '" alt="' . $kat . '" border="0">' ; } else { $kategorie = '<b>' . $kat . '</b>' ; } return ( $kategorie ); } $tpl = new tpl ( 'forum/show_cat' ); $tpl ->out (0); $cid = escape( $menu ->get(2), 'integer' ); $q = "SELECT a.id, a.cid, a.name, a.besch, a.topics, a.posts, b.name as topic, c.id as pid, c.tid, b.rep, c.erst, c.time, a.cid, k.name as cname FROM prefix_forums a LEFT JOIN prefix_forumcats k ON k.id = a.cid LEFT JOIN prefix_posts c ON a.last_post_id = c.id LEFT JOIN prefix_topics b ON c.tid = b.id LEFT JOIN prefix_groupusers vg ON vg.uid = ".$_SESSION['authid']." AND vg.gid = a.view LEFT JOIN prefix_groupusers rg ON rg.uid = ".$_SESSION['authid']." AND rg.gid = a.reply LEFT JOIN prefix_groupusers sg ON sg.uid = ".$_SESSION['authid']." AND sg.gid = a.start WHERE (( ".$_SESSION['authright']." <= a.view AND a.view < 1) OR ( ".$_SESSION['authright']." <= a.reply AND a.reply < 1) OR ( ".$_SESSION['authright']." <= a.start AND a.start < 1) OR vg.fid IS NOT NULL OR rg.fid IS NOT NULL OR sg.fid IS NOT NULL OR -9 >= ".$_SESSION['authright']." ) AND k.id = ".$cid." ORDER BY k.pos, a.pos"; $erg1 = db_query( $q ); $xcid = 0; while ( $r = db_fetch_assoc( $erg1 ) ) { $r [ 'topicl' ] = $r [ 'topic' ]; $r [ 'topic' ] = html_enc_substr( $r [ 'topic' ],0,23); $r [ 'ORD' ] = forum_get_ordner( $r [ 'time' ], $r [ 'id' ]); $r [ 'mods' ] = getmods( $r [ 'id' ]); $r [ 'datum' ] = date ( 'd.m.y - H:i' , $r [ 'time' ]); $r [ 'page' ] = ceil ( ( $r [ 'rep' ]+1) / $allgAr [ 'Fpanz' ] ); $r [ 'cname' ] = forum_find_kat( $r [ 'cname' ]); $tpl ->set_ar ( $r ); if ( $r [ 'cid' ] <> $xcid ) { $tpl ->out(1); //Unterkategorien $sql = db_query( "SELECT DISTINCT a.name as cname, a.id as cid FROM `prefix_forumcats` a LEFT JOIN `prefix_forums` b ON a.id = b.cid WHERE a.cid = {$r['cid']} AND a.id = b.cid ORDER BY a.pos, a.name" ); while ( $ucat = db_fetch_assoc( $sql )) { $tpl ->set_ar_out( $ucat ,2); } //Unterkategorien - Ende $xcid = $r [ 'cid' ]; } $tpl ->out(3); } $tpl ->out(4); $design ->footer(); ?> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | <table width="100%" cellpadding="4" cellspacing="1" class="border" border="0"> <tr class="Chead"> <th width="58%" colspan="2" align="center"><b>{_lang_board}</b></th> <th width="6%">{_lang_post}</th> <th width="6%">{_lang_topic}</th> <th width="25%" align="center">{_lang_lastpost}</th> </tr>{EXPLODE}<tr class="Cdark"> <td colspan="5"><a href="index.php?forum-showcat-{cid}">{cname}</a></td> </tr>{EXPLODE}<tr class="Cmite"> <td colspan="5"><strong> » <a href="index.php?forum-showcat-{cid}">{cname}</a></strong></td> </tr>{EXPLODE}<tr class="Cnorm"> <td width="5%" align="center" valign="middle"><img alt="" src="include/images/forum/{ORD}.gif" width="15" height="15" border="0"></td> <td> <a href="index.php?forum-showtopics-{id}">{name}</a> <br /> <span class="smalfont">{besch} {mods} </span> </td> <td align="center"><span class="smalfont">{posts}</span></td> <td align="center"><span class="smalfont">{topics}</span></td> <td> <span class="smalfont"> <a class="smalfont" title="{topicl}" href="index.php?forum-showposts-{tid}-p{page}#{pid}">{topic}</a> <br /> {_lang_from}: {erst} </span> </td> </tr>{EXPLODE} </table> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr> <td width="50%" valign="top"> <a href="index.php?forum-markallasread">{_lang_markallasread}</a> </td><td width="50%" style="text-align: right" valign="top"> <a href="index.php?forum-augt">{_lang_newtopicssincelastvisit}</a> <br /><a href="index.php?forum-aubt">{_lang_topicwithnoreply}</a> <br /><a href="index.php?forum-aeit">{_lang_ownposts}</a> </td></tr></table> <br /> <br /> <table width="100%" border="0" cellpadding="5" cellspacing="1" class="border"> <tr class="Cnorm"> <td class="erstezeile">{_lang_it} {istsind} {gesonline} {_lang_guestsonline,ofthem} {useronline} {_if_{useronline}=='1'}{_lang_registredand}{/_endif}{_if_{useronline}!='1'}{_lang_registrededand}{/_endif} {gastonline} {_lang_guests}<br /> {userliste} </td> </tr> <tr class="Cnorm"> <td><b>{users}</b> {_lang_membershaveritten} <b>{posts}</b> {_lang_postsin} <b>{topics}</b> {_lang_topics}</td> </tr> </table> <br /> <br /><img src="include/images/forum/nord.gif" alt="neue Beiträge" border="0"> {_lang_newposts} <img src="include/images/forum/ord.gif" alt="keine neuen Beiträge" border="0"> {_lang_nonewposts} <img src="include/images/forum/cord.gif" alt="Thema geschlossen" border="0"> {_lang_topicclosed} {privmsgpopup} |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <table width="100%" cellpadding="4" cellspacing="1" class="border" border="0"> <tr class="Chead"> <th width="58%" colspan="2" align="center"><b>{_lang_board}</b></th> <th width="6%">{_lang_post}</th> <th width="6%">{_lang_topic}</th> <th width="25%" align="center">{_lang_lastpost}</th> </tr>{EXPLODE}<tr class="Cdark"> <td colspan="5"><a href="index.php?forum-showcat-{cid}">{cname}</a></td> </tr>{EXPLODE}<tr class="Cmite"> <td colspan="5"><strong> » <a href="index.php?forum-showcat-{cid}">{cname}</a></strong></td> </tr>{EXPLODE}<tr class="Cnorm"> <td width="5%" align="center" valign="middle"><img alt="" src="include/images/forum/{ORD}.gif" width="15" height="15" border="0"></td> <td> <a href="index.php?forum-showtopics-{id}">{name}</a> <br /> <span class="smalfont">{besch} {mods} </span> </td> <td align="center"><span class="smalfont">{posts}</span></td> <td align="center"><span class="smalfont">{topics}</span></td> <td> <span class="smalfont"> <a class="smalfont" title="{topicl}" href="index.php?forum-showposts-{tid}-p{page}#{pid}">{topic}</a> <br /> {_lang_from}: {erst} </span> </td> </tr>{EXPLODE} </table> |
Geschlossen | ||
![]() |
Zurück zu Kritik und Verbesserungen |