close× Call Us +49 (1805) 01 29 59

HarlekinPower
Thread Author: EdelOssi
Thread ID: 3835
Thread Info
Es gibt 9 Beiträge zu diesem Thema, und es wurde 5524 mal angesehen.  Es gibt auch Dateianhänge.
Wer ist hier? 1 Gäste
 Thema drucken
Hedder
EdelOssi
Hallo Ich habe mal eine frage ich möchte gern auf meiner HP was ein bringen in Hedder.
Weis blos nicht wie ich das machen soll den code dar für habe ich ja dar aber wo mus ich das rein machen in der theme.php
oder in der styles.

Hier mal der Code

<img width="50" height="50" align="left" alt="" src="http://single-pro.co.de/images/radio/AutoDJ_Face.png" /> <strong>Radio:</strong> <a dir="ltr" target="_blank" href="http://www.dance-radio-dj-moritz.com"><span style="color: rgb(255, 0, 0);">Dance and More Radio</span></a><br />
&nbsp; <span style="font-size: smaller;"><span style="color: rgb(255, 0, 0);">Klick</span></span>&nbsp; <img width="15" height="15" alt="" src="http://single-pro.co.de/images/radio/icon_flobboFM_arrowRight_32x32.png" />&nbsp;&nbsp; <a onclick="window.open(this.href,'','resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=450,height=300,status'); return false" href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;typ=flash"><img width="15" height="15" alt="" src="http://single-pro.co.de/images/radio/icon_flashplayer_32x32.png" /></a>&nbsp;&nbsp;<a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=pls"><img width="15" height="15" alt="" src="http://single-pro.co.de/images/radio/icon_winamp_32x32.png" /></a>&nbsp; <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=asx"><img width="15" height="15" alt="" src="http://single-pro.co.de/images/radio/icon_windowsmedia_32x32.png" /></a>&nbsp; <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=ram"><img width="15" height="15" alt="" src="http://single-pro.co.de/images/radio/icon_realplayer_32x32.png" /></a><br />


das sol so den aus shen.
EdelOssi hat folgendes Bild angehängt:

unbenannt_10.jpg

 
SC-Ad-Bot
 
Blubba
Theme.php ist richtig. Aber das wissen wir doch nicht wo. Welches Theme? Theme.php anhängen. Ausprobieren ...

LG
Lebe jeden Tag völlig aus. Es könnte dein letzter sein. Nur die besten sterben Jung
 
EdelOssi
naja das was ich gemacht habe ist ein HTML Code
und dasTheme.php ist ja php



<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_WIDTH", "959px");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

   global $settings, $main_style;

   //Header
   echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='center'>\n<tr>\n";
   echo "<td>\n";
    echo "<table width='100%' cellpadding='0' cellspacing='0' class='full-header border'>\n<tr>\n";
    echo "<td width='100%'>\n".showbanners()."</td>\n";
    echo "</tr>\n";
    echo "</table>\n";

    echo "<table width='100%' cellspacing='0' cellpadding='0' class='border'>\n<tr>\n";
    echo "<td class='white-header'>\n".showsublinks("","white")."</td>\n";
    echo "<td align='right' class='white-header'>\n".showsubdate()."</td>\n";
    echo "</tr>\n</table>\n";
   
   //Content
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";

   //Footer
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."<br />\n";
   if (!$license) { echo showcopyright()."<br />\n";
    echo "Halloween Theme v2 by <a href='http://www.starglowone.com'>Stars Heaven</a><br />\n"; }
    echo showcounter()."<br />\n";
   echo "</td>\n</tr>\n</table>\n";
   echo "</td>\n</tr>\n</table>\n";

}

// theme settings
$body_text = "#ccc";
$body_bg = "#000";
$theme_width = "959px";
$theme_width_l = "190";
$theme_width_r = "190";
function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>".$news."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n</tr>\n</table>\n";

}

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

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

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

}

function closetable() {

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

}

function openside($title, $collapse = false, $state = "on") {
   
   global $panel_collapse; $panel_collapse = $collapse;

   echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
    echo "<td>\n<img src='".THEME."images/bTLcorner.gif' alt='|' width='10'></td>\n";
   echo "<td class='scapmain'>".$title."</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
   }
    echo "<td>\n<img src='".THEME."images/bTRcorner.gif' alt='|' width='10'></td>\n";
   echo "</tr>\n<tr>\n";
    echo "<td style='background-image: url(".THEME."images/bLeft.gif)'>\n<img src='".THEME."images/bLeft.gif' alt='|'></td>\n";
   echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside($collapse = false) {

   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "<td style='background-image: url(".THEME."images/bRight.gif)'>\n<img src='".THEME."images/bRight.gif' alt='|'></td>\n";
    echo "</tr>\n<tr>\n";
    echo "<td>\n<img src='".THEME."images/bBLcorner.gif' alt='|' width='10'></td>\n";
    echo "<td".($collapse == true ? " colspan='2'" : "")." style='background-image: url(".THEME."images/bBottom.gif)' width='100%'><img src='".THEME."images/bBottom.gif' alt='|' /></td>\n";
    echo "<td>\n<img src='".THEME."images/bBRcorner.gif' alt='|' width='10'></td>\n";
    echo "</tr>\n</table>\n";

}

?>

Jetzt ist ja die frage wo ich das rein machen mus weil habe das schon brobiert aber den ist die seite dicht.
Bearbeitet von DjMicha1985 am 31.10.2011 00000010 11:42
 
EdelOssi
So jetzt habe ich das wast hin bekommen.

ich habe ide der


//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='center'>\n<tr>\n";
echo "<td>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='full-header border'>\n<tr>\n";
echo "<td width='100%'>\n".showbanners()."</td>\n";
    echo "<td class='full-header' align='right' valign='middle'>\n";
    include THEME."test.php";

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

echo "<table width='100%' cellspacing='0' cellpadding='0' class='border'>\n<tr>\n";
echo "<td class='white-header'>\n".showsublinks("","white")."</td>\n";
echo "<td align='right' class='white-header'>\n".showsubdate()."</td>\n";
echo "</tr>\n</table>\n";



Das rote rein gemacht.
und so wit ist es ja super aber jetzt komt den immer auf der HP die meldung

Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /data/multiserv/users/626687/projects/1659662/www/themes/Halloween/test.php on line 11


Ich weis nicht was das ist.



<?php
include LOCALE.LOCALESET."global.php";
require_once THEME."theme.php";

if (!defined("IN_FUSION")) { die("Access Denied"); }


if (iGUEST) {

echo "
<img width="50" height="50" align="left" alt="" src="/images/radio/AutoDJ_Face.png" /> <strong>Radio:</strong> <a dir="ltr" target="_blank" href="http://www.dance-radio-dj-moritz.com"><span style="color: rgb(255, 0, 0);">Dance and More Radio</span></a><br />

}
?>


Editgrund: Aus quote man nen code gemacht der übersicht halber
Bearbeitet von DjMicha1985 am 31.10.2011 00000010 11:42
 
DjMicha1985
versuchs mal so:


<?php
include LOCALE.LOCALESET."global.php";
require_once THEME."theme.php";

if (!defined("IN_FUSION")) { die("Access Denied"); }


if (iGUEST) {

echo '
<img width="50" height="50" align="left" alt="" src="/images/radio/AutoDJ_Face.png" /> <strong>Radio:</strong> <a dir="ltr" target="_blank" href="http://www.dance-radio-dj-moritz.com"><span style="color: rgb(255, 0, 0);">Dance and More Radio</span></a><br />';

}
?>

wenn du im echo mit " arbeitest, dann das echo mit ' anfangen. Auserdem das schliesen des echos net vergessen ;)
Hab dir rot gemacht, was ich gemacht habe
Bearbeitet von DjMicha1985 am 31.10.2011 00000010 12:03
lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
EdelOssi
Hallo DJMicha1985

Danke schon mal .
Es ging sehr gut nur das ein text fehlt.

ich habe das gemacht wie du gesagt hast

[geshi=php]
<?php
include LOCALE.LOCALESET."global.php";
require_once THEME."theme.php";

if (!defined("IN_FUSION")) { die("Access Denied"); }


if (iGUEST) {

echo '
<img width="50" height="50" align="left" alt="" src="/images/radio/AutoDJ_Face.png" /> <strong>Radio:</strong> <a dir="ltr" target="_blank" href="http://www.dance-radio-dj-moritz.com"><span style="color: rgb(255, 0, 0);">Dance and More Radio</span></a><br />
&nbsp; <span style="font-size: smaller;"><span style="color: rgb(255, 0, 0);">Klick</span></span>&nbsp; <img width="15" height="15" alt="" src="/images/radio/icon_flobboFM_arrowRight_32x32.png" />&nbsp;&nbsp; <a onclick="window.open(this.href,'','resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=450,height=300,status'); return false" href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;typ=flash"><img width="15" height="15" alt="" src="/images/radio/icon_flashplayer_32x32.png" /></a>&nbsp;&nbsp;<a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=pls"><img width="15" height="15" alt="" src="/images/radio/icon_winamp_32x32.png" /></a>&nbsp; <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=asx"><img width="15" height="15" alt="" src="/images/radio/icon_windowsmedia_32x32.png" /></a>&nbsp; <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=ram"><img width="15" height="15" alt="" src="/images/radio/icon_realplayer_32x32.png" /></a><br />';



}
?>
[/geshi]

Und die sache ist so das wenn man aus geloggt ist das es nur dann kommt. das soll aber dauerhaft zu sehen sein.

Kannst mir dabei helfen, das wäre super nett von dir.

Danke schonmal im Voraus
 
DjMicha1985

<?php
include LOCALE.LOCALESET."global.php";
require_once THEME."theme.php";

if (!defined("IN_FUSION")) { die("Access Denied"); }


echo '
<img width="50" height="50" align="left" alt="" src="/images/radio/AutoDJ_Face.png" /> <strong>Radio:</strong> <a dir="ltr" target="_blank" href="http://www.dance-radio-dj-moritz.com"><span style="color: rgb(255, 0, 0);">Dance and More Radio</span></a><br />';


?>

lpmf.lilypie.com/TikiPic.php/oxgEKHz.jpglpmf.lilypie.com/oxgEp2.png
 
EdelOssi
Hey super

winde ich ja alles gut nuer das andre wen ich das rein mache komt die meldung immer wider.
und leider ist das den unterinander duch dehn hedder

[geshi=php]
&nbsp; <span style="font-size: smaller;"><span style="color: rgb(255, 0, 0);">Klick</span></span>&nbsp; <img width="15" height="15" alt="" src="/images/radio/icon_flobboFM_arrowRight_32x32.png" />&nbsp;&nbsp; <a onclick="window.open(this.href,'','resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=450,height=300,status'); return false" href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;typ=flash"><img width="15" height="15" alt="" src="/images/radio/icon_flashplayer_32x32.png" /></a>&nbsp;&nbsp;<a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=pls"><img width="15" height="15" alt="" src="/images/radio/icon_winamp_32x32.png" /></a>&nbsp; <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=asx"><img width="15" height="15" alt="" src="/images/radio/icon_windowsmedia_32x32.png" /></a>&nbsp; <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=ram"><img width="15" height="15" alt="" src="/images/radio/icon_realplayer_32x32.png" /></a><br />';</span>
[/geshi]
 
EdelOssi
Habe mich selber mal ran gesatzt und habe es hin bekommen so wie ich das wolte.

das sit jetzt so aus bei mir

[geshi=php]<?php
include LOCALE.LOCALESET."global.php";
require_once THEME."theme.php";

if (!defined("IN_FUSION")) { die("Access Denied"); }


echo '
<img width="50" height="50" align="left" alt="" src="/images/radio/AutoDJ_Face.png" /> <strong>Radio:</strong> <a dir="ltr" target="_blank" href="http://www.dance-radio-dj-moritz.com"><span style="color: rgb(255, 0, 0);">Dance and More Radio</span></a><br />';
echo '
<span style="font-size: smaller;"><span style="color: rgb(255, 0, 0);">Klick</span></span> <img width="15" height="15" alt="" src="/images/radio/icon_flobboFM_arrowRight_32x32.png" /> <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;typ=flash"><img width="15" height="15" alt="" src="images/radio/icon_flashplayer_32x32.png" /></a> <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=pls"><img width="15" height="15" alt="" src="/images/radio/icon_winamp_32x32.png" /></a> <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=asx"><img width="15" height="15" alt="" src="/images/radio/icon_windowsmedia_32x32.png" /></a> <a href="http://www.dance-radio-dj-moritz.com/infusions/gr_radiostatus_panel/gr_radiostatus_player.php?id=1&amp;p=ram"><img width="15" height="15" alt="" src="/images/radio/icon_realplayer_32x32.png" /></a>';
?>[/geshi]

so sit das jetzt aus
single-pro.co.de/images/radio/hp%20radio.jpg

ich weis ja auch wie so. wegen mein Hedder das der zu gros ist.
aber wie kan ich den ender habe schon alles brobiert aber weis nicht wo bei theme.php oder styles.css...

aber wen ich richtick ligen tuhe ist es bei der styles.css drin wen ja sagt mier mal bitte wo genau..
 
Springe ins Forum:
PHPFusion DE NSS