Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai |
Autorius: xrip | Peržiūrų: 787 |
xrip Narys Pulkininkas Pranešimai: 488 Įstojęs: 2007 Lap. 24 09:11:09 | |
Noreciau pakeisti naujienu spalva(balta) i pilka kuri dominuoja puslapyje.Uz pagalba +10 nepagailesiu;] <?php if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; $body_text = "#555555"; $body_bg = "#1d1d1d"; $theme_width = "947"; $theme_width_l = "243"; $theme_width_r = "243"; function render_header($header_content) { global $theme_width; echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'> <tr> <td> <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td> <table width='947' height='222' border='0' cellpadding='0' cellspacing='0'> <tr> <td background='".THEME."images/hama_01.png' width='947' height='198'><form name='searchform' method='post' action='".BASEDIR."search.php?stype=d'> <div style='margin-left:550px;margin-top:120px;'><input type='text' name='stext' class='box' style='width:168px;height:22px;'> <input type='image' src='".THEME."images/ieskoti.png' name='search' value='ieskoti'></div></form></td> </tr> <tr> <td background='".THEME."images/hama_02.png' width='947' height='24'><a href='".BASEDIR."news.php' class='sub'>Pradžia</a><a href='".BASEDIR."downloads.php' class='sub'>Muzikos bazė</a></td> </tr> </table> </td> </tr> </table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; } function render_footer() { global $theme_width,$settings; echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='947' class='footer'> <tr> <td class='foot1'>Copyright (c) 2008-2009 Mp3Muzika.wu.Lt All rights reserved. CMS: <a href='http://php-fusion.co.uk' class='white'>PHP-Fusion</a> Web dizainas: <a href='http://moby.lt' class='white'>Moby.lt</a> </td> <td align='right' class='foot2'><a href='#top' class='white'>Į viršų <img src='".THEME."images/up.png' alt='' border='0'></a> </td> </tr> </table> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='capmain'>$subject</td> </tr> <tr> <td class='main-body'>$news</td> </tr> <tr> <td align='center' class='news-footer'>\n"; echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']); echo "</td> </tr> </table>\n"; } function render_article($subject, $article, $info) { echo "<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 align='center' class='news-footer'>\n"; echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']); echo "</td> </tr> </table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='capmain' height='38'>$title</td> </tr> <tr> <td class='main-body'>\n"; } function closetable() { echo "</td> </tr> </table>\n"; } function openside($title) { echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='scapmain' height='28'>$title</td> </tr> <tr> <td class='side-body'>\n"; } function closeside() { echo "</td> </tr> </table>\n"; tablebreak(); } function opensidex($title,$state="on") { $boxname = str_replace(" ", "", $title); echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='scapmain'>$title</td> <td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td> </tr> <tr> <td colspan='2' class='side-body'> <div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n"; } function closesidex() { echo "</div> </td> </tr> </table>\n"; tablebreak(); } function tablebreak() { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n"; } ?> http://emix.lt/ |
|
Karolis Administratorius Ekspertas Pranešimai: 3087 Įstojęs: 2008 Rugp. 12 01:08:42 | |
Tai čia reikia style.css. Ginčas internete - kaip silpnapročių olimpiada, jei ir laimėsi - vistiek tu debilas. Redagavo Karolis 2010 Vas. 12 23:02:36 |
|
xrip Narys Pulkininkas Pranešimai: 488 Įstojęs: 2007 Lap. 24 09:11:09 | |
Stai ;] a { font-family : Arial; font-size : 11px; color : #a0a0a0; text-decoration : none; } a:hover { font-family : Arial; font-size : 11px; color : #a0a0a0; text-decoration : underline; } a.side { font-family : Arial; font-size : 11px; color : #a0a0a0; text-decoration : none; } a:hover.side { font-family : Arial; font-size : 11px; color : #a0a0a0; text-decoration : underline; } a.white { font-family : Arial; font-size : 11px; color : #a0a0a0; text-decoration : none; } a:hover.white { font-family : Arial; font-size : 11px; color : #a0a0a0; text-decoration : underline; } a.sub { font-family:Arial; font-size:10px; color : #ffffff; padding-left:25px; text-decoration : none; } a:hover.sub { text-decoration : underline; } body { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; margin : 0px; } form { margin : 0px; } hr { height : 1px; border : 1px solid #eee; } hr.side-hr { height : 1px; border : 1px solid #eee; } td { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; } pre { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; } .alt { color : #005599; } .foot2 { font-family : Arial; font-size : 10px; color : #ffffff; padding-top: 28px; padding-right: 15px; } .foot1 { font-family : Arial; font-size : 10px; color : #ffffff; padding-top: 27px; padding-left: 8px; } .footer { height:71px; background: #1d1d1d url(images/footer.jpg) repeat-x; border: 0px solid #e1e1e1; } .button { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #555; background-color : #f1f1f1; height : 20px; border : 1px solid #ccc; margin-top : 2px; } .box { font-family :Arial; font-size : 10px; color : #343434; padding-top:4px; background: url(images/box.png); border : 0px solid #ccc; } .side-border-left { color : #777; padding : 10px 5px 10px 10px; } .side-border-right { color : #777; padding : 10px 10px 10px 5px; } .textbox { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #555; background-color : #f8f8f8; border : 1px solid #ccc; } .main-body { font-size : 11px; color : #555; background-color : #fff; padding:8px; } .side-body { font-size : 10px; color : #777; background-color : #3e3e3e; padding-bottom: 10px; padding-left: 8px; padding-right: 8px; padding-top: 8px; } .main-bg { color : #555; padding : 10px 5px 10px 5px; } .news-footer { font-size : 10px; color : #555; background-color : #f1f1f1; padding : 3px 4px 4px 4px; } .capmain { font-family : Arial; font-size : 11px; font-weight : bold; color : #469fbd; background: #ffffff url(images/capmain.png); padding-left: 10px; padding-bottom: 4px; } .scapmain { font-family : Arial; font-size : 11px; font-weight : bold; color : #ffffff; background: #3e3e3e url(images/scapmain.png); padding-left: 10px; padding-bottom: 4px; } .tbl-border { color : #555; background-color : #e1e1e1; } .tbl { font-size : 11px; color : #555; background-color : #fff; padding : 4px; } .tbl1 { font-size : 11px; color : #555; background-color : #fff; padding : 4px; } .tbl2 { font-size : 11px; color : #555; background-color : #f1f1f1; padding : 4px; } .forum-caption { font-size : 11px; font-weight : bold; color : #888; background-color : #f1f1f1; padding : 2px 4px 4px 4px; } .quote { font-size : 11px; color : #555; background-color : #f8f8f8; padding : 4px; margin : 0px 20px 0px 20px; border : 1px solid #bbb; } .poll { height : 12px; border : 1px solid #bbb; } .comment-name { font-weight : bold; color : #005599; } .shoutboxname { font-weight : bold; color : #005599; background-color : #f6f6f6; } .shoutbox { color : #777; background-color : #f6f6f6; } .shoutboxdate { font-size : 10px; color : #888; background-color : #f6f6f6; } .small { font-size : 10px; font-weight : normal; } .small2 { font-size : 10px; font-weight : normal; color : #555; } .side-small { font-size : 10px; font-weight : normal; color : #555; background-color : #f6f6f6; } .side-label { color : #555; background-color : #f1f1f1; padding : 2px 2px 3px 2px; } http://emix.lt/ Redagavo xrip 2010 Vas. 12 23:02:51 |
Peršokti į forumą: |