Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes |
Autorius: oziris218 | Peržiūrų: 1578 |
oziris218 Narys Margas Pranešimai: 104 Įstojęs: 2008 Gru. 5 14:12:17 | |
Sveiki man reikia perdaryti theme tiksliau pridėti Populiariausius ir naujausius siuntinius headeryje. Headeris: http://cszone.nkk.lt/themes/GSLV7/images/logo.jpg Theme.php: <?php if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "980"); 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='980' class='outer-border center'>\n<tr>\n"; echo "<td>\n"; echo "<table cellpadding='0' cellspacing='0' width='980'>\n<tr>\n"; include_once("header.php"); echo "<table cellpadding='0' cellspacing='0' width='980'>\n<tr>\n"; echo "</tr>\n</table>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='500' class='border'>\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," ·").newsopts($info,"·").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%' class='border'>\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," ·").articleopts($info,"·").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> </tr> <tr><td><img src='".THEME."images/naujienu_apacia.gif'></td></tr> </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 class='scapmain'>".$title."</td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n"; } echo "</tr>\n<tr>\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> </tr> <tr><td><img src='".THEME."images/paneliu_apacia.gif'></td></tr> </table>\n"; } ?> header.php: <?php echo "<table cellpadding='0' cellspacing='0' width='980'>\n<tr>\n"; echo "<img src='".THEME."images/logo.jpg'>"; echo "<td class='sub-header'>".showsublinks(" <span class='bullet'>·</span> ","white")."</td>\n"; echo "<table cellpadding='0' cellspacing='0' width='980'>\n<tr>\n"; echo "</tr>\n</table>\n"; echo "</td>\n</tr>\n</table>\n"; //Content echo "<table cellpadding='0' align='center' cellspacing='0' width='980' 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' align='center' cellspacing='0' width='980'>\n<tr>\n"; echo "<td align='right' class='footer'>CMS: Php-Fusion |Dizainas: 42studio.net</td>\n"; echo "</td>\n</tr>\n</table>\n"; echo "</td>\n</tr>\n</table>\n"; ?> Styles.css: a { color : #000; text-decoration : none; } a:hover { color : #000; text-decoration : underline; } a.side { color : #000; text-decoration : none; } a:hover.side { color : #000; text-decoration : underline; } a.white, li.white a { color: #000; text-decoration: none; } a:hover.white, li.white a:hover { color : #000; text-decoration: underline; } body { color : #000; background : #FFF; font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; } 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 : #000; } .outer-border { border : 0px solid #000; } .sub-header { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; background-color : #287fa0; border : 0px solid #ccc; border-bottom : 0px solid #000; padding : 5px; } .sub-header ul{ margin: 0; padding: 0; } .sub-header ul li{ display: inline; } .sub-header ul li.first-link .bullet{ display: none; } .full-header { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; padding : 10px; } .footer { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; background-color : #2b7996; border : 0px solid #ccc; padding : 5px; } .button { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #FFF; background-color : #000; height : 20px; border : 1px solid #FFF; margin-top : 2px; } .bbcode { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; border : 1px solid #ccc; margin-top : 2px; } .textbox { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; color : #000; border : 0px solid #ccc; } .main-body { font-size : 11px; color : #000; background-repeat: repeat-x; background-color : #fafafa; background-image: url('images/news_bg.gif'); border : 1px solid #e5e5e5; padding : 10px; } .center { margin : 0 auto; } .side-body { font-size : 10px; color : #000; background-repeat: repeat-x; background-color : #FFF; background-image: url('images/paneles_bg.gif'); border : 1px solid #efefef; padding : 10px; } .main-bg { color : #000; background-color : #FFF; padding : 5px; } .border { border : 0px solid #e1e1e1; margin-bottom : 5px; } .admin-message { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; text-align : center; color : #000; border : 1px solid #e1e1e1; padding : 3px 4px 5px 4px; margin-bottom : 5px; } .side-left .side-border-right {display: none;} .side-right .side-border-left {display: none;} .side-border-left { color : #000; background-color : #fff; padding : 10px 0px 10px 10px; width: 217px; } .side-border-right { color : #000; background-color : #fff; padding : 10px 10px 10px 0px; width: 217px; } .news-category { border:10; margin:10px 10px 0 0; float:left; } .news-footer { font-size : 10px; color : #000; padding : 5px; } .capmain { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; font-weight : bold; color : #000; background-image: url('images/news.gif'); padding : 8px; } .scapmain { font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10px; font-weight : bold; color : #000; background-image: url('images/panele.gif'); border-bottom : 0px solid #e1e1e1; padding : 8px; } .tbl-border { border : 1px solid #FFF; } .tbl { font-size : 11px; color : #000; padding : 4px; } .tbl1 { font-size : 11px; color : #000; padding : 4px; } .tbl2 { font-size : 11px; color : #000; padding : 4px; } .forum-caption { font-size : 11px; font-weight : bold; color : #000; padding : 2px 4px 4px 4px; } .quote { font-size : 11px; color : #000; padding : 4px; margin : 0px 20px 0px 20px; border : 1px solid #bbb; } .poll { height : 12px; border : 1px solid #bbb; } .comment-name { font-weight : bold; color : #000; } .shoutboxname { font-weight : bold; color : #000; } .shoutbox { color : #000; } .shoutboxdate { font-size : 10px; color : #000; } .small { font-size : 10px; font-weight : normal; } .small2 { font-size : 10px; font-weight : normal; color : #000; } .side-small { font-size : 10px; font-weight : normal; color : #000; } .side-label { color : #000; padding : 2px 2px 3px 2px; } /* Vertical Navigation */ #navigation h2 { font-size: 10px; color : #000; margin: 0; padding: 4px; } #navigation ul { margin: 0; padding: 0; list-style-type: none; } * html #navigation ul li{ height: 1%; } #navigation a { display: block; color : #000; padding: 2px; text-decoration : none; } #navigation a:hover { color : #000; } /* Page Navigation */ .pagenav { padding: 0.4em; } .pagenav span { color: #000; border: 0px solid #e1e1e1; padding: 0.2em 0.4em 0.2em 0.4em; margin: 0.2em; } .pagenav a { color : #000; border: 0px solid #e1e1e1; padding: 0.2em 0.4em 0.2em 0.4em; margin: 0.2em; text-decoration: none; } .pagenav a:hover { color: #000; margin: 0.2em; text-decoration: none; } |
|
Ciobrelis Narys Pulkininkas Pranešimai: 337 Įstojęs: 2008 Rugs. 27 13:09:24 | |
[c]oziris218 parašė: Sveiki man reikia perdaryti theme tiksliau pridėti Populiariausius ir naujausius siuntinius headeryje. Headeris: http://cszone.nkk.lt/themes/GSLV7/images/logo.jpg Tu durnas ? Pirma bent pazymek kur padaryt |
|
oziris218 Narys Margas Pranešimai: 104 Įstojęs: 2008 Gru. 5 14:12:17 | |
http://cszone.nkk.lt/themes/GSLV7/grafika/virsus/logo2.jpg Raudonai pažymėta. Pirmame lange Populiariausi siuntiniai o antrame Naujausi siuntiniai Redagavo oziris218 2009 Gru. 28 11:12:36 |
|
Ciobrelis Narys Pulkininkas Pranešimai: 337 Įstojęs: 2008 Rugs. 27 13:09:24 | |
vo dbr pazymejei naudok code tagus |
|
oziris218 Narys Margas Pranešimai: 104 Įstojęs: 2008 Gru. 5 14:12:17 | |
O tai tu padėsi ar čia tik pastabą davei? |
|
FuturesF1re Narys Kapitonas Pranešimai: 847 Įstojęs: 2007 Spa. 11 15:10:03 | |
geriausia yra karpyt headeri ir su table insertinti Sejau ant sistemos |
|
oziris218 Narys Margas Pranešimai: 104 Įstojęs: 2008 Gru. 5 14:12:17 | |
nu galima ir sukarpyti bet nemoku ;( |
|
andriussx Narys Pulkininkas Pranešimai: 360 Įstojęs: 2009 Rugp. 6 20:08:12 | |
Atsisiusk koki nors tema, su naujienu popul..... ir naujiausiu...., ir ziurek kaip ten padaryta, ir tu taip pasidaryk |
Peršokti į forumą: |