1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies. Weitere Informationen

Design-Probleme, wer weiß Rat?

Dieses Thema im Forum "Internetradio allgemein" wurde erstellt von Stefan12, 07. März 2009.

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. Stefan12

    Stefan12 Benutzer

    Hi ihr Lieben ich habe ein Problem und weiß nicht weiter damit.

    Es geht darum das ich auf einer HP einen schönen Wasserefekt gesehen habe und den auch gerne bei mir benutzen würde aber irgendwie komme ich mit der beschriebenen Anleitung nicht klar ( Blutiger Anfänger) wer kann mir da weiter helfen???

    Das erste Problem ist das meine index.php leer ist und mein Header in der Theme.php definiert ist.

    das zweite problem ist ich habe keine ahnung wo ich das da einbauen soll damit es funtzt. schnief.......

    hier mal meine thme.php und der link zur anleitung

    <?php
    /*--------------------------------------------+
    | PHP-Fusion v6 - Content Management System |
    |---------------------------------------------|
    | author: Nick Jones (Digitanium) © 2002-2005 |
    | web: http://www.php-fusion.co.uk |
    | email: nick@php-fusion.co.uk |
    |---------------------------------------------|
    | Released under the terms and conditions of |
    | the GNU General Public License (Version 2) |
    +--------------------------------------------*/
    /*--------------------------------------------+
    | DJskin v1 TR Theme for PHP-Fusion v6 |
    |---------------------------------------------|
    | Design by: MerT |
    | web:http://www.flatcastyardim.de |
    | email/msn: web_design@hotmail.de |
    |---------------------------------------------|
    | Released under the terms and conditions of |
    | the GNU General Public License (Version 2) |
    +--------------------------------------------*/
    // theme settings
    $body_text = "#000000";
    $body_bg = "#660000";
    $theme_width = "70%";
    $theme_width_l = "160";
    $theme_width_r = "160";

    function render_header($header_content) {

    global $theme_width,$settings;

    echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
    <tr>
    <td><img src='".THEME."images/solust.gif' alt='solust border'></td>
    <td style='background-image: url(".THEME."images/ust.gif); width: 100%;'></td>
    <td><img src='".THEME."images/sagust.gif' alt='sagust border'></td>
    </tr>
    <tr>
    <td style='background-image:url(".THEME."images/sol.gif); width:10px;'><img src='".THEME."images/sol.gif' alt='sol border border'></td>
    <td>
    <table width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td class='full-header'>
    <table width='100%' cellspacing='0' cellpadding='0'>
    <tr>
    <td><center><img src='".THEME."images/banner.gif' alt=''' title='".$settings[sitename]."'></center></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>\n";

    echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
    <td class='white-header'>\n";
    $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
    if (dbrows($result) != 0) {
    $i = 0;
    while($data = dbarray($result)) {
    if (checkgroup($data['link_visibility'])) {
    if ($data['link_url']!="---") {
    if ($i != 0) { echo " ·\n"; } else { echo "\n"; }
    $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
    if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
    echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
    } else {
    echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
    }
    }
    $i++;
    }
    }
    }
    echo ($i == 0 ? "&nbsp;" : "")."</td><td align='right' class='white-header'>".ucwords(showdate($settings['subheaderdate'], time()))."</td>
    </tr>
    </table>\n";

    echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";

    }

    function render_footer($license=false) {

    global $theme_width,$settings,$locale;

    echo "</tr>\n</table>\n";

    echo "
    <td style='background-image:url(".THEME."images/sag.gif); width:10px;'><img src='".THEME."images/sag.gif' alt='sag border'></td>
    </tr>
    <tr>
    <td><img src='".THEME."images/solalt.gif' alt='sol alt'></td>
    <td style='background-image: url(".THEME."images/alt.gif); width: 100%;'></td>
    <td><img src='".THEME."images/sagalt.gif' alt='sagalt'></td>
    </tr>
    </table>
    <br>
    <table cellpadding='0' cellspacing='0' width='100%'>
    <tr>
    <td class='footer'>".stripslashes($settings['footer'])."</td>
    </tr>
    </table>
    <table cellpadding='0' cellspacing='0' width='100%'>
    <tr>
    <td align='center' class='footer2'><br>
    ".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
    if ($license == false) {
    echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' style='vertical-align:top;' alt='powered by php-fusion'></a>".$settings['']."\n
    &nbsp; | &nbsp; \n
    Theme : <a target='_blank' href='http://www.flatcast-paylasim.net.tc'><img src='".THEME."images/mert.gif' style='vertical-align:top;' alt='design By: MerT'></a> <br><br>\n";

    }
    echo "</td>
    </tr>
    </table>
    \n";

    }

    function render_news($subject, $news, $info) {

    global $locale;

    echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td>
    <table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td class='capmain'>$subject</td>
    </tr>
    <tr>
    <td class='main-body'>
    $news
    </td>
    </tr>
    <tr>
    <td align='right' class='news-footer'><img src='".THEME."images/bullet.gif' alt='>'>
    ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
    ".$locale['041'].showdate("longdate", $info['news_date'])." ·
    ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "");
    if ($info['news_allow_comments'] == "1") echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·\n";
    echo $info['news_reads'].$locale['044']."
    <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>\n";

    }

    function render_article($subject, $article, $info) {

    global $locale;

    echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td>
    <table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td class='capmain'>$subject</td>
    </tr>
    <tr>
    <td class='main-body'>
    ".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
    </td>
    </tr>
    <tr>
    <td class='news-footer'><img src='".THEME."images/bullet.gif'>
    ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
    ".$locale['041'].showdate("longdate", $info['article_date'])." ·
    <a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
    ".$info['article_reads'].$locale['044']."
    <a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>\n";

    }

    function opentable($title) {

    echo "<table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td>
    <table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td class='capmain'>$title</td>
    </tr>
    <tr>
    <td class='main-body'>\n";

    }

    function closetable() {

    echo "</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>\n";

    }

    function openside($title) {

    echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
    <td>
    <table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td class='scapmain'>$title</td>
    </tr>
    <tr>
    <td class='side-body'>\n";

    }

    function closeside() {

    echo "</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>\n";
    tablebreak();

    }

    function opensidex($title,$open="on") {

    if($open=="on"){$box_img="off";}else{$box_img="on";}
    echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
    <tr>
    <td>
    <table width='100%' cellpadding='0' cellspacing='0'>
    <tr>
    <td class='scapmain'>$title</td>
    <td class='scapmain' align='right'>
    <img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif' alt='b_$title'>
    </td>
    </tr>
    <tr>
    <td colspan='2' class='side-body'>
    <div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";

    }

    function closesidex() {

    echo "</div>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>\n";
    tablebreak();

    }

    function tablebreak() {

    echo "<table width='100%' cellspacing='0' cellpadding='0'>
    <tr><td height='8'></td></tr>
    </table>\n";

    }
    ?>


    der Link zur Anleitung : http://www.international-danceradio.com/downloads/effekt.txt

    Für schnelle Hilfe wäre ich dankbar

    LG
    Stefan
     
  2. chrikro

    chrikro Benutzer


Status des Themas:
Es sind keine weiteren Antworten möglich.

Diese Seite empfehlen