hallo,
gibts einen style vorschau hack? oder kann ihn jemand schreiben?
grüsse
michael
Ort: / Boardübersicht / Code Hack Requests / Style Vorschau hack?
Seite 1 von 1
hallo,
gibts einen style vorschau hack? oder kann ihn jemand schreiben?
grüsse
michael
Nö, noch nicht, wirds aber in DynX 2.0 geben.
header.inc.php so ändern:
dann kannst Forum mit bla.php?style=ID aufrufen
/* ################################################################################ get style ################################################################################ */ if(!isSet($style)) { if( $g_user['styleid'] ) { $board['styleid'] = $g_user['styleid']; } if( $board['styleid'] == 0 ) { $r_style = thwb_query("SELECT styletemplate, colorbg, color1, CellA, CellB, color4, colorbgfont, col_he_fo_font, color_err, col_link, col_link_v, col_link_hover, stdfont, boardimage, newtopicimage, border_col, styleisdefault FROM ".$pref."style WHERE styleisdefault=1"); } else { $r_style = thwb_query("SELECT styletemplate, colorbg, color1, CellA, CellB, color4, colorbgfont, col_he_fo_font, color_err, col_link, col_link_v, col_link_hover, stdfont, boardimage, newtopicimage, border_col, styleisdefault FROM ".$pref."style WHERE styleid=$board[styleid]"); } } else { $r_style = thwb_query("SELECT styletemplate, colorbg, color1, CellA, CellB, color4, colorbgfont, col_he_fo_font, color_err, col_link, col_link_v, col_link_hover, stdfont, boardimage, newtopicimage, border_col, styleisdefault FROM ".$pref."style WHERE styleid=$style"); } $style = mysql_fetch_array($r_style); $style['smallfont'] = '<font face="' . $style['stdfont'] . '" size="1">'; $style['smallfontend'] = '</font>'; $style['stdfont'] = '<font face="' . $style['stdfont'] . '
oder du schaust dich mal im Hack-Forum um, da ist ein besserer mit Datenbankunterstützung... :rolleyes:
Was es alles so gibt...
Seite 1 von 1