Registrieren | Passwort vergessen |
Benutzername    Passwort    Eingeloggt bleiben    
Thema ansehen
 Thema drucken
Header Info
Anonymer Benutzer
Hallo DeeoNe.

Ich habe das Header_info Code nun in mein Header eingetragen nun möchte ich es so haben das ein Hintergrund in Hell Blau ist. Welchen Code benötige ich ?



echo "<Center>Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div></strong>";


im Anhang habe ich mal ein Test gemacht von deinem Bild, nun genau so möchte ich es haben doch leider Brauche ich ein Code wie ich es machen kann & was noch Sinnvoll wer ist die Breite möchte nicht das es ganz Breit is.

danke dir:)
Anonymer Benutzer hat folgende Datei angehängt:
Du hast nicht die Berechtigung die Anhäge dieses Themas zu sehen.
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
DeeoNe
ein DIV mit class definition in CSS
www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
Anonymer Benutzer
Danke DeeoNe

Sowas hier ? in der styles.css.....aber wie bekomm ich es jetzt genau hin?

<div align="center"></div>


oder so

background-image: url(images/bild.png);

Bearbeitet von Anonymer Benutzer am 28-04-2013 16:30
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
DeeoNe

<div class="xyz"></div>

schon kann man in der style.css mit material dafür füllen.
www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
Anonymer Benutzer

<div class="xyz"></div>


wo für ist das xyz??? und was für ein Code Füge ich jetzt in den hier rein ?


echo "<Center>Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div></strong>";
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
JP_ONAIR
Lieber Mike,
mittlerweile solltest auch du wissen wie sowas geht.

das xyz steht natürlich für die CSS-Classe da musst du halt deine CSS Klasse eintragen - Das erklärt sich aber von selbst class="xyz"

und diesen Teil setzt du einfach in dieses div hinein.


<div class="xyz" align="center">Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div>

Sollte so passen - Have Fun!
Verwarnstatus: warningwarningwarningwarning
  x 1
 
https://www.radiorheinland.de
Anonymer Benutzer
wo setze ich den Code rein Lieber XPaulchen94X


<div class="xyz" align="center">Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div>

Soweit wie klar, nun theme.php oder styles.css ? was setze ich Überhaubt wo rein damit habe ich mich noch nicht zusammen gesetzt :)
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
JP_ONAIR
Diesen Teil setzt du in die theme.php an eine beliebige stelle:

<div class="xyz" align="center">Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div>


und dann musst du halt eine CSS-Klasse in die CSS machen
welche du in dem Beispiel
.xyz nennst
Verwarnstatus: warningwarningwarningwarning
 
https://www.radiorheinland.de
Anonymer Benutzer
so habe ich jetzt aber der nimmst den Code hier nicht

<div class="xyz" align="center">Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div>


in style.css habe ich jetzt .xyz

Zusammengefügt am 08. Mai 2013 06:23:01:
komme nicht zurecht was muss ich in der style.css eintragen ? und was genau kommt in der theme.php.

in der style.css habe ich jetzt den hier.

class="xyz"

und in der theme.php habe ich den hier rein getan. der nimmst den code nicht an, oder was mach ich falsch

<div class="xyz" align="center">Mitglieder: <strong>".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."</strong> | PHP Fusion: <strong>".$settings['version']."</strong> | Forum: <strong>".dbcount("(post_id)", DB_POSTS)."</strong> |  Bilder: <strong>".dbcount("(photo_id)", DB_PHOTOS)."</strong> | Insgesamt: <strong><!--counter-->".showcounter()."</strong></div>

Bearbeitet von Anonymer Benutzer am 08-05-2013 06:23
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
JP_ONAIR