phpbb "includen" funzt nich.

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
colicab
Mitglied
Beiträge: 2
Registriert: 24.01.2005 20:12

phpbb "includen" funzt nich.

Beitrag von colicab »

Jaaaa um euchs gleich zu sagen ich habe die Suchfunktion genutz aber leider hilft mir das Alles einfach nicht weiter weil ichs nicht checke. Bin halt net so der Coder. So nun aber zu meinem Problem.
Wie ich ja bereits nachlesen konnte, kann man das phpbb ja nich auf der page includen sondern muss die Page um das Forum mit Hilfe der overal_header und footer.tpl rumbaun. Bei mir is wenn ich das mache aber immer einfach alles total verschoben und das forum ist auch nich da wos sein soll.

Ich hab hier mal als Anhang den code meiner index.php gepackt (die Seite die um das Forum drum soll). Ach ja hab ich alles net selber gecodet sondern mein Kumpel nur der hat mich jetzt "sitzen" lassen und jetzt muss ich das irgendwie mit meinen winzigen php und html Kenntnissen alleine schaffen.

Ich sitzte das jetzt schon fast 2 Wochen drann und mittlerweile klopp ich nur noch wütend auf meiner Tastatur rum und lasse meine schlechte Laune an meinen Mitmenschen aus.

Ich wäre irgend einem hier sehr verbunden wenn er mir son paar Hilfestellungen geben könnte wie ich das da jetzt mache.

Geb auchn Döner aus oder so...


Muchas Gracias im Vorraus

Ach ja das die Bilder und so nicht gehen das mach ich schon es geht mir nur darum das das Forum endlich da is wos hin soll , ins content der index.php also da wo die "include box" is.

Code: Alles auswählen

<?php
session_start();
?>				
<html>
<head>
<title>jajaja</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body topmargin="0" leftmargin="0" bgcolor="#C0C0C0" background="images/bg_muster2.jpg">

<div align="center">
  <center>
  <table border="0" width="932" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%"><img src="images/1.jpg" border="0" usemap="#Map"></td>
    </tr>
    <tr>
      <td width="100%"><img border="0" src="images/2.jpg" width="932" height="36"></td>
    </tr>
    <tr>
      <td width="100%">
        <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#D6D6D6">
          <tr>
            <td width="136" valign="top" background="images/nav_l_bg.jpg">
              <table border="0" width="136" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="136" valign="bottom" background="images/nav_1.jpg" height="22">
                    <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=news">News</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
                  </td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                    <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=archiv">Archiv</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                    <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="?page=members&action=squad&sid=2">Redaktion</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136"><img border="0" src="images/nav_3.jpg" width="136" height="12"></td>
                </tr>
                <tr>
                  <td width="136" height="25"></td>
                </tr>
                <tr>
                  <td width="136"><img border="0" src="images/nav_l_1.jpg" width="136" height="13"></td>
                </tr>
                <tr>
                  <td width="136" valign="bottom" background="images/nav_1.jpg" height="22">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=members">Members</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=matches">Matches</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=awards">Awards</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=sponsors">Sponsors</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136"><img border="0" src="images/nav_3.jpg" width="136" height="12"></td>
                </tr>
                <tr>
                  <td width="136" height="25"></td>
                </tr>
                <tr>
                  <td width="136"><img border="0" src="images/nav_l_2.jpg" width="136" height="13"></td>
                </tr>
                <tr>
                  <td width="136" valign="bottom" background="images/nav_1.jpg" height="22">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=forum" target="_blank">Forum</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=guestbook">Guestbook</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=downloads">Downloads</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=replays">Replays</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=gallerie">Gallerie</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136" background="images/nav_2.jpg" height="20" valign="bottom">                <div align="right">
                      <table border="0" width="100" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%"><b><font face="Verdana" color="#666666"><span style="font-size: 8pt"><a href="index.php?page=links">Links</a></span></font></b></td>
                        </tr>
                      </table>
                    </div>
</td>
                </tr>
                <tr>
                  <td width="136"><img border="0" src="images/nav_3.jpg" width="136" height="12"></td>
                </tr>
              </table>
            </td>
            <td width="621" valign="top">
              <p style="line-height: 1; text-indent: 0; word-spacing: 0; margin-left: 0; margin-right: 0; margin-top: -5; margin-bottom: -5">&nbsp;</p>
              <div align="center">
                <center>
                <table border="0" width="600" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="6" height="22"><img border="0" src="images/last_l.jpg" width="6" height="22"></td>
                    <td width="250" height="22" background="images/last_bg.jpg"><b><font size="1" face="Verdana" color="#990000">Matches
                      </font><font size="1" face="Verdana">[<a href="?page=matches">more</a>]</font></b></td>
                    <td width="16" height="22"><img border="0" src="images/last_m.jpg" width="16" height="22"></td>
                    <td width="324" height="22" background="images/last_bg.jpg"><b><font size="1" face="Verdana" color="#990000">News
                      </font><font size="1" face="Verdana">[<a href="index.php?page=news">more</a>]</font></b></td>
                    <td width="6" height="22"><img border="0" src="images/last_r.jpg" width="6" height="22"></td>
                  </tr>
                </center>
  </center>
                  <tr>
                    <td width="100%" colspan="5" height="22" background="images/last_bg2.jpg">
                      <div align="center">
                        <table border="0" width="590" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="245" valign="top">
                              <table border="0" width="100%" cellspacing="0" cellpadding="0">
  
<?php
include("matches/clanwarsmini.php");
?>
                              </table>
                            </td>
                            <td width="20"></td>
                            <td width="315">
                              <table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
<?php
include("news/include_this/letzte_news.php");
?>                              </table>
                            </td>
                            <td width="5"></td>
                          </tr>
                        </table>
                      </div>
                    </td>
                  </tr>
  <center>
                <center>
                  <tr>
                    <td width="100%" colspan="5" height="8">
                      <p style="word-spacing: 0; text-indent: 0; margin-left: 0; margin-right: 0; margin-top: -5; margin-bottom: -5"><img border="0" src="images/last_u.jpg" width="600" height="8"></p>
                    </td>
                  </tr>
                </table>
                </center>
              </div></center>
                <p style="word-spacing: 0; text-indent: 0; margin-left: 0; margin-right: 0; margin-top: -5; margin-bottom: -5"><br></p>
                <div align="center">
                  <center>
                  <table border="0" width="600" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="407">
                        <table border="0" width="100%" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="100%" height="23" background="images/wer_1.jpg"><b><font size="1" face="Verdana" color="#990000">&nbsp;
                              Werbung
                      </font></b></td>
                          </tr>
                          <tr>
                            <td width="100%" height="57" background="images/wer_2.jpg" valign="top" align="center">
<?php
include("banner.php");
?>
                            </td>
                          </tr>
                        </table>
                      </td>
                      <td width="193" align="right">
                        <table border="0" width="185" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="100%" height="23" background="images/on_1.jpg"><b><font size="1" face="Verdana" color="#990000">&nbsp;
                              Aktuell</font></b></td>
                          </tr>
                          <tr>
                            <td width="100%" height="57" background="images/on_2.jpg"><img src="images/aktuell/bb_rw.jpg" width="180" height="55"></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  </center>
                </div>
                <p style="word-spacing: 0; text-indent: 0; margin-left: 0; margin-right: 0; margin-top: -5; margin-bottom: -5"><br>
                </p>
                <div align="center">
                  <center>
                  <table border="0" width="600" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="100%">
<?php
       switch($page)
               {
               case "news": include("news/include_this/news.php"); break;
               case "archiv": include("news/include_this/archiv.php"); break;
               case "members": include("members/members.php"); break;
			   case "admins": include("admins/admins.php"); break;
               case "matches": include("matches/clanwars.php"); break;
               case "awards": include("news/include_this/news.php"); break;
               case "sponsors": include("sponsor.php"); break;
               case "guestbook": include("news/include_this/news.php"); break;
               case "downloads": include("news/include_this/news.php"); break;
               case "replays": include("replays.php"); break;
               case "gallerie": include("news/include_this/news.php"); break;
               case "links": include("news/include_this/news.php"); break
			   case "replays_wc3": include("reps/reps.php"); break;
               default: include("news/include_this/news.php"); break;
               }
       ?>
</td>
                    </tr>
                  </table>
                  </center>
                </div>

            </td>
            <td width="175" background="images/nav_r_bg.jpg" valign="top">
              <table border="0" width="100%" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="100%"><br>
                    <div align="center">
                      <center>
                      <table border="0" width="125" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%">

</td>
                        </tr>
                      </table>
                      </center>
                    </div><br>
                  </td>
                </tr>
                <tr>
                  <td width="100%" height="32" background="images/sponsor.jpg">&nbsp;</td>
                </tr>
                <tr>
                  <td width="100%"><p align="center"><br>
                      <a href="" target="_blank"><img src="" width="130" height="36" border="0" ></a><br>
                      <br>
                      <a href="" target="_blank"><img src="" width="130" height="36" border="0" ></a><br>
                      <br>
                  </td>
                </tr>
                <tr>
                  <td width="100%" height="32" background="images/clan.jpg">&nbsp;</td>
                </tr>
                <tr>
                  <td width="100%"><div align="center"><br>
                      <img src="images/bb_bnet.jpg" width="140" height="110"><br>                    
                    </div></td>
                </tr>
                <tr>
                  <td width="100%"><br>
                    <br>                    </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td width="100%"><img border="0" src="images/footer.jpg" width="932" height="49"></td>
    </tr>
  </table>
</div>
<map name="Map">
  <area shape="rect" coords="653,39,717,50" href="members/members_admin.php" target="_blank">
  <area shape="rect" coords="727,36,792,48" href="index.php?page=admins">
</map>
</body>

</html>
colicab
Mitglied
Beiträge: 2
Registriert: 24.01.2005 20:12

Beitrag von colicab »

habs jetzt doch selber gepackt. danke für eure hilfe :wink:
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“