Ist es möglich die Weiterleitungsanzeige im selben fenster im content bereich anzuzeigen?
verwendete ilchClan Version: 1.1
betroffene Homepage: externer Link
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
1 2 3 4 | $design = new design('Weiterleitung', 'Weiterleitung'); $design->header(); wd... $design->footer(1); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <?php # Copyright by: Manuel Staechele # Support: www.ilch.de defined ( 'main' ) or die ( 'no direct access' ); $title = $allgAr [ 'title' ]. ' :: Logout' ; $hmenu = $extented_forum_menu . 'Logout' . $extented_forum_menu_sufix ; $design = new design ( $title , $hmenu , 0 ); # ausloggen user_logout(); $design ->header(); wd( '?' . $allgAr [ 'smodul' ], $lang [ 'logoutsuccessful' ]); $design ->footer(); ?> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <?php # Copyright by: Manuel # Support: www.ilch.de defined ( 'main' ) or die ( 'no direct access' ); $title = $allgAr [ 'title' ]. ' :: Logout' ; $hmenu = $extented_forum_menu . 'Logout' . $extented_forum_menu_sufix ; $design = new design ( $title , $hmenu ); # ausloggen user_logout(); $design ->header(); wd( '?' . $allgAr [ 'smodul' ], $lang [ 'logoutsuccessful' ]); $design ->footer(); ?> |
1 2 3 | $design->header(); wd('?'.$allgAr['smodul'], $lang['logoutsuccessful']); $design->footer(); |
1 2 3 | $design->header(); wd('index.php?forum-showposts-',$lang['createtopicsuccessful']); $design->footer(); |
1 | $design = new design('Weiterleitung', 'Weiterleitung'); |
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 | <?php # Copyright by: Manuel Staechele # Support: www.ilch.de defined ( 'main' ) or die ( 'no direct access' ); if ( $forum_rights [ 'start' ] == FALSE ) { $forum_failure [] = $lang [ 'nopermission' ]; check_forum_failure( $forum_failure ); } $title = $allgAr [ 'title' ]. ' :: Forum :: ' .aktForumCats( $aktForumRow [ 'kat' ], 'title' ). ' :: ' . $aktForumRow [ 'name' ]. ' :: neues Thema' ; $hmenu = $extented_forum_menu . '<a class="smalfont" href="index.php?forum">Forum</a><b> » </b>' .aktForumCats( $aktForumRow [ 'kat' ]). '<b> » </b><a class="smalfont" href="index.php?forum-showtopics-' . $fid . '">' . $aktForumRow [ 'name' ]. '</a>' . $extented_forum_menu_sufix ; $dppk_time = time(); $time = time(); if (!isset( $_SESSION [ 'klicktime' ])) { $_SESSION [ 'klicktime' ] = 0; } $topic = '' ; $txt = '' ; $xnn = '' ; if (isset( $_POST [ 'topic' ])) { $topic = trim(escape( $_POST [ 'topic' ], 'string' )); } if (isset( $_POST [ 'txt' ])) { $txt = trim(escape( $_POST [ 'txt' ], 'textarea' )); } if (isset( $_POST [ 'Gname' ])) { $xnn = trim(escape_nickname( $_POST [ 'Gname' ])); } if (( $_SESSION [ 'klicktime' ] + 15) > $dppk_time OR empty ( $topic ) OR empty ( $txt ) OR ! empty ( $_POST [ 'priview' ]) OR ( empty ( $_POST [ 'Gname' ]) AND !loggedin()) OR !chk_antispam ( 'newtopic' )) { $design = new design ( $title , $hmenu , 1); $design ->header(); $tpl = new tpl ( 'forum/newtopic' ); $name = '' ; if ( !loggedin() ) { $name = '<tr><td class="Cmite"0><b>' . $lang [ 'name' ]. '</b></td>' ; $name .= '<td class="Cnorm"><input type="text" value="' .unescape( $xnn ). '" maxlength="15" name="Gname"></td></tr>' ; } if (isset( $_POST [ 'priview' ])) { $tpl ->set_out( 'txt' , bbcode(unescape( $txt )), 0); } $ar = array ( 'name' => $name , 'txt' => escape_for_fields(unescape( $txt )), 'topic' => escape_for_fields(unescape( $topic )), 'fid' => $fid , 'SMILIES' => getsmilies(), 'antispam' => get_antispam( 'newtopic' ,1) ); $tpl ->set_ar_out( $ar ,1); } else { # save toipc $_SESSION [ 'klicktime' ] = $dppk_time ; $design = new design ( $title , $hmenu , 0); $design ->header(); if ( loggedin()) { $uid = $_SESSION [ 'authid' ]; $erst = escape( $_SESSION [ 'authname' ], 'string' ); db_query( "UPDATE `prefix_user` set posts = posts+1 WHERE id = " . $uid ); } else { $erst = $xnn ; $uid = 0; } db_query( "INSERT INTO `prefix_topics` (fid, name, erst, stat) VALUES ( " . $fid . ", '" . $topic . "', '" . $erst . "', 1 )" ); $tid = db_last_id(); # topic alert if (! empty ( $_POST [ 'topic_alert' ]) AND $_POST [ 'topic_alert' ] == 'yes' AND loggedin()) { if (0 == db_result(db_query( "SELECT COUNT(*) FROM prefix_topic_alerts WHERE uid = " . $_SESSION [ 'authid' ]. " AND tid = " . $tid ),0)) { db_query( "INSERT INTO prefix_topic_alerts (tid,uid) VALUES (" . $tid . ", " . $_SESSION [ 'authid' ]. ")" ); } } db_query ( "INSERT INTO `prefix_posts` (tid,fid,erst,erstid,time,txt) VALUES ( " . $tid . ", " . $fid . ", '" . $erst . "', " . $uid . ", " . $time . ", '" . $txt . "')" ); $pid = db_last_id(); db_query( "UPDATE `prefix_topics` SET last_post_id = " . $pid . " WHERE id = " . $tid ); db_query( "UPDATE `prefix_forums` SET posts = posts + 1, last_post_id = " . $pid . ", topics = topics + 1 WHERE id = " . $fid ); # toipc als gelesen markieren $_SESSION [ 'forumSEE' ][ $fid ][ $tid ] = time(); wd( 'index.php?forum-showposts-' . $tid , $lang [ 'createtopicsuccessful' ]); } $design ->footer(1); ?> |
1 | $design = new design ( $title , $hmenu, 0); |
1 | $design = new design ( $title , $hmenu); |
Geschlossen | ||
![]() |
Zurück zu Allgemein |