Witam Po zaktualizowaniu skórki z php-fusion 6 do 7
Strona zrobiła się taka http://ligarf.c0.pl/news.php
Co zrobić by Strona była tak poukładana jak przed aktualizacją ?
Pozdrawiam
<?php // theme settings define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' class='bullet' alt='?' border='0' />"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { echo "<table align='center' cellspacing='0' cellpadding='0' id='main'> <tr> <td> <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='full-header'> <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td>".showbanners()."</td> </tr> </table> </td> </tr> </table> <table cellpadding='0' cellspacing='0' width='100%' class='tablebreak'> <tr> <td class='white-header'>".showsublinks(" ", "white")."</td> <td align='right' class='white-header'>".showsubdate()."</td> </tr> </table> <table cellpadding='0' cellspacing='0' width='100%'> <tr>"; echo "</tr> </table> <table cellpadding='0' cellspacing='0' width='100%'> <tr> </tr> <tr> <td align='center' class='footer'>\n"; if ($license == false) { } </td> </tr> </table> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak''> <tr> <td class='capmain'>".$subject."</td> </tr> </table> <table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='main-body'>".$news."</td> </tr> <tr> <td align='right' class='news-footer'>".newsposter($info, THEME_BULLET).newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td> </tr> </table>\n"; } function render_article($subject, $article, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'> <tr> <td> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='capmain'>".$subject."</td> </tr> <tr> </tr> <tr> <td align='center' class='news-footer'>".articleposter($info, THEME_BULLET).articleopts($info, THEME_BULLET).itemoptions("A",$info['article_id'])."</td> </tr> </table> </td> </tr> </table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom:2px;'> <tr> <td class='capmain'>$title</td> </tr> </table> <table width='100%' cellpadding='0' cellspacing='0' class='tablebreak'> <tr> <td background='".THEME."images/zaw/srodek.gif' class=''>"; } function closetable() { echo "</td> </tr> <tr> <td height='10'> <img src='".THEME."images/zaw/dol.gif'> </td> </tr> </table>\n"; } function openside($title, $collapse = false, $state = "on") { $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'> <tr> ".($collapse ? "<td class='scapmain' align='center'>".panelbutton($state, $boxname)."</td>" : "")." <td colspan='2' class='side-body'><img src='".THEME."images/blank.gif' alt='' height='2' width='1'></td> </tr> <tr> <td colspan='2' class='scapmain'>".$title."</td> </tr> <tr> <td colspan='2' class='side-body'>"; } function closeside() { echo " </td> </tr> </table>\n"; } function tablebreak() { echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td height='8'></td> </tr> </table>\n"; } ?>
body { background-attachment: fixed; background-image: url("images/background.jpg"); background-position: center top; background-repeat: no-repeat; color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 12px; margin: 9px 15px 0 0; text-shadow: 0 0 0 black; } .main-bg { padding-left: 0; padding-right: 0; padding-top: 0; font-weight: bold; } .main-body { color: #000; font-size: 12px; font-variant: small-caps; padding: 0; font-weight: bold; } .side-body { background-color: #B5B1B2; color: #000; font-size: 12px; font-variant: small-caps; padding: 0; } .border { background-color: #000; border: 1px solid #004A80; } .infobar { color: #000; font-size: 10px; padding: 1px; } .side-caption { font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; padding: 0 4px 3px; } a { color: #000; font-variant: small-caps; text-decoration: none; } a { color: #8D0000; text-decoration: none; } a:hover { color: #F00; text-decoration: none; } a.side { color: #000; padding: 2px; text-decoration: none; } a.side:hover { color: #f6f6f6; background-color: #ccc; } .gallery { padding: 16px 0 8px; } .gallery img { border: 1px solid #333; } .gallery:hover img { border: 1px solid #000; } img.activegallery { border: 1px solid green; } .login1 { background-image: url("images/top/login/go.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .register1 { background-image: url("images/top/login/rej.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .panellogowania_texbox { background-image: url("images/top/login/okno1.gif"); border: 0 none; color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 12px; font-variant: normal; font-weight: bold; height: 23px; padding: 0; text-align: center; text-decoration: none; width: 136px; } .scapmain { background-image: url("images/menu/up.gif"); background-position: left center; background-repeat: repeat-x; font-size: 12px; font-weight: bold; height: 40px; padding: 0 25px; color: #FFF; font-variant: normal; text-decoration: none; text-align: center; } .capmain { background: url("images/zaw/gora.png") no-repeat transparent; font-size: 14px; width: 600px; height: 40px; margin: 0; padding: 0 25px; color: #FFF; font: bold 1.1em/30px arial,verdana,tahoma,sans-serif; text-decoration: none; text-shadow: 0 0 3px black; text-align: center; } .panell { background-image: url("images/zaw/gora.png"); background-position: left center; background-repeat: repeat-x; font-size: 10px; height: 28px; padding: 0; font-weight: bold; } form { margin: 0; } hr { border-bottom: 1px solid #AAA; border-top: 1px solid #DDD; } hr.side-hr { -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: #DDD #DDD #AAA; border-style: solid; border-width: 1px; } td { font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 12px; font-variant: small-caps; } .td-cell1 { background: none repeat scroll 0 0 #B5B1B2; color: #000; font-family: verdena; font-size: 13px; font-weight: bold; padding: 6px 6px 3px; } .tbl-border { border: 1px none; } .tbl { font-size: 12px; padding: 3px 4px; } .tbl1 { /* background-color: #E6E6E6; */ color: #000; font-size: 12px; padding: 4px; } .tbl2 { /* background-color: #E6E6E6; */ color: #000; font-size: 12px; padding: 4px; } .forum-caption { background-color: #333; color: #FFF; font-size: 10px; font-weight: bold; padding: 2px 4px 4px; } .quote { background-color: #444; border: 1px solid #FFF; color: #FFF; margin: 0 20px; padding: 2px; } .poll { border: 1px solid #000; height: 12px; } .comment-name { color: #42FF00; font-weight: bold; } .shoutboxname { color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-weight: bold; } .shoutbox { color: #000; font-family: Arial,Helvetica,sans-serif,"Times New Roman",Times,serif; } .shoutboxdate { color: #000; font-size: 9px; text-align: right; } .small { font-size: 10px; font-weight: normal; } .small2 { color: #FFF; font-size: 10px; font-weight: normal; } .side-small { color: #333; font-size: 9px; font-weight: normal; } .side-label { background-color: #313132; color: white; padding: 2px; } pre { font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; } .alt { color: #000; } .button { background-color: #111; border: 1px solid #000; color: #B5B1B2; font-family: Tahoma,Arial,Verdana,Sans-Serif; font-size: 10px; font-variant: small-caps; font-weight: bold; margin-top: 2px; } .button:hover { background-color: #999; border: 1px solid #111; color: #000; margin-top: 2px; } .textbox { background-color: #B5B1B2; border: 1px solid #222; color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-variant: small-caps; font-weight: bold; } .textbox:hover { background-color: #BBB; border: 1px solid #777; } .gallery { padding: 16px 0 8px; } .gallery img { border: 1px solid #333; } .gallery:hover img { border: 1px solid #000; } img.activegallery { border: 1px solid green; } .login1 { background-image: url("images/top/login/go.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .register1 { background-image: url("images/top/login/rej.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .naglowek2 { color: #FFF; font-size: 12px; font-variant: normal; text-decoration: none; } .sublinks { font-size: 12px; font-variant: small-caps; font-weight: bold; } .info { padding: 4px; } .licznik { color: black; font-size: 12px; font-style: normal; font-variant: small-caps; text-align: center; text-decoration: none; } .tresc { color: #000; padding: 5px 40px 5px 35px; font-weight: bold; } #tlo { background: none repeat scroll 0 0 #3F3F3F; height: 60px; width: 1090px; } /* added Kshyhoo */ #main { width: 1000px; } .side-border-left { padding: 0px 10px 0px 0px; width: 235px; } .side-border-right { padding: 0px 0px 0px 10px; width: 235px; } .white-header { background: url("img/menu-p.png") repeat-x scroll 0 0 transparent; font-size: 14px; height: 30px; margin: 0; padding: 0 25px; color: #FFF; font: bold 1.1em/30px arial,verdana,tahoma,sans-serif; text-decoration: none; text-shadow: 0 0 3px black; } .white-header ul { background: url("img/menu-p.png") repeat-x scroll 0 0 transparent; font-size: 14px; height: 30px; margin: 0; padding: 0; } .white-header ul li { display: inline; } .white-header ul li .first-link .bullet { display: none; } .bullet { background: url("imgage/bullet.gif") repeat-x scroll 0 0 transparent; } li.white a, a.white { background: url("img/menu-p.png") repeat-x scroll 0 0 transparent; color: #FFF; float: left; font: bold 1.1em/30px arial,verdana,tahoma,sans-serif; margin: 0; padding: 0 25px; text-decoration: none; text-shadow: 0 0 3px black; } li.white a:hover, a:hover.white { background: url("img/menu-c2.png") repeat-x scroll 0 0 transparent; color: #FFF; text-decoration: none; text-shadow: 0 0 3px white; } #navigation ul { margin: 0; padding: 0; list-style-type: none; } #navigation h2 { font-size: 12px; color: #555; background-color: #fff; margin: 0; padding: 2px; } #navigation a { display: block; color: #000; padding: 2px; text-decoration : none; } #navigation a:hover { color: #f6f6f6; background-color: #ccc; } * html #navigation ul li { height: 1%; } .pagenav span { color: #777; background-color: #f0f0f0; border: 1px solid #e1e1e1; padding: 2px 4px; margin: 2px; } .pagenav a { color: #000; background-color: #fff; border: 1px solid #e1e1e1; padding: 2px 4px; margin: 2px; text-decoration: none; } .pagenav a:hover { color: #ccc; background-color: #444; text-decoration: none; } .center, *[align="center"] { margin: 0 auto; } .admin-message { border: 1px solid #666; border-left: 3px solid #999; padding: 8px; margin-bottom: 8px; } .bbcode { border: 1px solid #ccc; } .tablebreak { margin-bottom: 8px; } img { border: 0; } .news-category { border: 0; margin: 3px 5px 0 0; float: left; }
<?php // theme settings define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' class='bullet' alt='»' border='0' />"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { echo "<table align='center' cellspacing='0' cellpadding='0' id='main'> <tr> <td> <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='full-header'> <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td>".showbanners()."</td> </tr> </table> </td> </tr> </table>"; /* /////////////////////////////////////////////////////// */ if (iMEMBER) { if ($user_data['user_avatar'] != '') { echo "<a href='profile.php?lookup=".$user_data['user_id']."'><img src='".IMAGES."avatars/".$user_data['user_avatar']."' alt='".$user_data['user_name']."' align='left' style='border:0px;margin-top:3px;margin-right:5px'></a>"; } else { echo "<img align='left' src='".IMAGES."/avatars/noavatar100.png' width='100' hight='100' style='margin-right:2px'>"; } $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$user_data['user_id']."' AND message_read='0' AND message_folder='0'"); /* Edytuj profil */ echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' style='color: #fff;text-decoration: none;'>Edytuj Profil</a><br />\n"; /* Prywatne wiadomości */ echo THEME_BULLET." <a href='".BASEDIR."messages.php' style='color: #fff;text-decoration: none;'>Wiadomości</a><br />\n"; /* Lista użytkowników */ echo THEME_BULLET." <a href='".BASEDIR."members.php' style='color: #fff;text-decoration: none;'>Lista userów</a><br />\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { /* Panel administratora */ echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' style='color: #fff;text-decoration: none;'>Panel Administratora</a><br />\n"; } else { echo"<br /><br /><center><a href='".BASEDIR."setuser.php?logout=yes' class='side'><font color=white>[ Wyloguj ]</a></center>"; } } else { <form name='loginform' method='post' action='".FUSION_SELF."'> <input type='text' name='user_name' class='panellogowania_texbox' value='Login' onBlur=\"if(this.value=='') this.value='Login';\" onFocus=\"if(this.value=='Login') this.value='';\" > <input type='password' name='user_pass' class='panellogowania_texbox' value='hasĹ�o' onBlur=\"if(this.value=='') this.value='hasĹ�o';\" onFocus=\"if(this.value=='hasĹ�o') this.value='';\" ><br> <input type='checkbox' title='Pamiętaj' value='y' name='remember_me'> <input type='submit' name='login' value=' ' class='login1'> <a href='".BASEDIR."register.php' class='side'><input type='button' name='register' value=' ' class='register1'></a> </form><br />\n"; if ($settings['enable_registration']) { } echo "<a href='".BASEDIR."lostpassword.php' class='side'><font color=white>*Zgubione hasło</a></div>\n"; } /* /////////////////////////////////////////////////////// */ echo" <table cellpadding='0' cellspacing='0' width='100%' class=''> <tr> <td class='white-header'>".showsublinks(" ", "white")."</td> <td align='right' class='white-header'>".showsubdate()."</td> </tr> </table> <table bgcolor='#3F3F3F' width='1090' height='60' cellspacing='0' cellpadding='0' border='0' align='center'> <tbody> <tr align='center'> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/Belgia.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/Monako.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/singapur.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/wlochy.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/kanada.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/hiszpania.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/japonia.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/Indie.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/australia.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/wlk brytania.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/europa.png'></td> </tr> </tbody> </table> <table cellpadding='0' cellspacing='0' width='100%'> <tr>"; echo "</tr> </table><br /> <table cellpadding='0' cellspacing='0' width='100%'> <tr> if ($license == false) { } echo "</td> </tr> </table><br /> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'> <tr> <td class='capmain'>".$subject."</td> </tr> </table> <table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='main-body'>".$news."</td> </tr> <tr> <td align='right' class='news-footer'>".newsposter($info, THEME_BULLET).newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td> </tr> </table>\n"; } function render_article($subject, $article, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'> <tr> <td> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='capmain'>".$subject."</td> </tr> <tr> </tr> <tr> <td align='center' class='news-footer'>".articleposter($info, THEME_BULLET).articleopts($info, THEME_BULLET).itemoptions("A",$info['article_id'])."</td> </tr> </table> </td> </tr> </table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%' class=''> <tr> <td class='capmain'>$title</td> </tr> </table> <table width='100%' cellpadding='0' cellspacing='0' class='tablebreak'> <tr> <td background='".THEME."images/zaw/srodek.gif' class='main-bg'>"; } function closetable() { echo " </td> </tr> <tr> <td height='10'> <img src='".THEME."images/zaw/dol.gif'> </td> </tr> </table>\n"; } function openside($title, $collapse = false, $state = "on") { $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'> <tr> ".($collapse ? "<td class='scapmain' align='center'>".panelbutton($state, $boxname)."</td>" : "")." </tr> <tr> <td class='scapmain'>".$title."</td> </tr> <tr> <td class='side-body'><br />"; } function closeside() { echo "<br /> </td> </tr> </table>\n"; } function tablebreak() { echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td height='8'></td> </tr> </table>\n"; } ?>
body { background-attachment: fixed; background-image: url("images/background.jpg"); background-position: center top; background-repeat: no-repeat; color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 12px; margin: 9px 15px 0 0; text-shadow: 0 0 0 black; } .main-bg { font-weight: bold; padding: 5px 10px 0 10px; margin: 0px; } .main-body { color: #fff; font-size: 12px; font-variant: small-caps; padding: 10px; margin: 0px; } .side-body { background-color: #B5B1B2; color: #000; font-size: 12px; font-variant: small-caps; padding: 0 2px; margin: 0px; } .border { background-color: #000; border: 1px solid #004A80; } .infobar { color: #000; font-size: 10px; padding: 1px; } .side-caption { font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; padding: 0 4px 3px; } a { color: #000; font-variant: small-caps; text-decoration: none; } a { color: #8D0000; text-decoration: none; } a:hover { color: #F00; text-decoration: none; } a.side { color: #000; padding: 2px; text-decoration: none; } a.side:hover { color: #f6f6f6; background-color: #ccc; } .gallery { padding: 16px 0 8px; } .gallery img { border: 1px solid #333; } .gallery:hover img { border: 1px solid #000; } img.activegallery { border: 1px solid green; } .login1 { background-image: url("images/top/login/go.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .register1 { background-image: url("images/top/login/rej.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .panel { position: absolute; top: 88px; left: 785px; width: 258px; height: 98px; padding: 10px; color: #fff; padding: 2px; text-decoration: none; } .panellogowania_texbox { background-image: url("images/top/login/okno1.gif"); border: 0 none; color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 12px; font-variant: normal; font-weight: bold; height: 23px; padding: 0; text-align: center; text-decoration: none; width: 136px; } .scapmain { background: url("images/menu/up.gif") repeat-x transparent; font-size: 12px; font-weight: bold; height: 40px; padding: 0 25px; color: #FFF; font-variant: normal; text-decoration: none; text-align: center; } .capmain { background: url("images/zaw/gora.png") repeat-x left center transparent; font-size: 14px; height: 40px; margin-bottom: 10px; padding: 0; color: #FFF; font: bold 1.1em/30px arial,verdana,tahoma,sans-serif; text-decoration: none; text-shadow: 0 0 3px black; text-align: center; } .panell { background-image: url("images/zaw/gora.png"); background-position: left center; background-repeat: repeat-x; font-size: 10px; height: 28px; padding: 0; font-weight: bold; } form { margin: 0; } hr { border-bottom: 1px solid #AAA; border-top: 1px solid #DDD; } hr.side-hr { -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: #DDD #DDD #AAA; border-style: solid; border-width: 1px; } td { font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 12px; font-variant: small-caps; } .td-cell1 { background: none repeat scroll 0 0 #B5B1B2; color: #000; font-family: verdena; font-size: 13px; font-weight: bold; padding: 6px 6px 3px; } .tbl-border { border: 1px none; } .tbl { font-size: 12px; padding: 3px 4px; } .tbl1 { /* background-color: #E6E6E6; */ color: #000; font-size: 12px; padding: 4px; } .tbl2 { /* background-color: #E6E6E6; */ color: #000; font-size: 12px; padding: 4px; } .forum-caption { background-color: #333; color: #FFF; font-size: 10px; font-weight: bold; padding: 2px 4px 4px; } .quote { background-color: #444; border: 1px solid #FFF; color: #FFF; margin: 0 20px; padding: 2px; } .poll { border: 1px solid #000; height: 12px; } .comment-name { color: #42FF00; font-weight: bold; } .shoutboxname { color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-weight: bold; } .shoutbox { color: #000; font-family: Arial,Helvetica,sans-serif,"Times New Roman",Times,serif; } .shoutboxdate { color: #000; font-size: 9px; text-align: right; } .small { font-size: 10px; font-weight: normal; } .small2 { color: #FFF; font-size: 10px; font-weight: normal; } .side-small { color: #333; font-size: 9px; font-weight: normal; } .side-label { background-color: #313132; color: white; padding: 2px; } pre { font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; } .alt { color: #000; } .button { background-color: #111; border: 1px solid #000; color: #B5B1B2; font-family: Tahoma,Arial,Verdana,Sans-Serif; font-size: 10px; font-variant: small-caps; font-weight: bold; margin-top: 2px; } .button:hover { background-color: #999; border: 1px solid #111; color: #000; margin-top: 2px; } .textbox { background-color: #B5B1B2; border: 1px solid #222; color: #000; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-variant: small-caps; font-weight: bold; } .textbox:hover { background-color: #BBB; border: 1px solid #777; } .gallery { padding: 16px 0 8px; } .gallery img { border: 1px solid #333; } .gallery:hover img { border: 1px solid #000; } img.activegallery { border: 1px solid green; } .login1 { background-image: url("images/top/login/go.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .register1 { background-image: url("images/top/login/rej.png"); border: 0 none; color: #FFF; font-family: Verdana,Tahoma,Arial,Sans-Serif; font-size: 10px; font-weight: bold; height: 21px; margin-top: 2px; width: 75px; } .naglowek2 { color: #FFF; font-size: 12px; font-variant: normal; text-decoration: none; } .sublinks { font-size: 12px; font-variant: small-caps; font-weight: bold; } .info { padding: 4px; } .licznik { color: black; font-size: 12px; font-style: normal; font-variant: small-caps; text-align: center; text-decoration: none; } .tresc { color: #000; padding: 5px 40px 5px 35px; font-weight: bold; } #tlo { background: none repeat scroll 0 0 #3F3F3F; height: 60px; width: 1090px; } /* added Kshyhoo */ #main { width: 1000px; } .side-border-left { padding: 0px 10px 0px 0px; width: 235px; } .side-border-right { padding: 0px 0px 0px 10px; width: 235px; } .white-header { background: url("img/menu-p.png") repeat-x scroll 0 0 transparent; font-size: 14px; height: 30px; margin: 0; padding: 0 25px; color: #FFF; font: bold 1.1em/30px arial,verdana,tahoma,sans-serif; text-decoration: none; text-shadow: 0 0 3px black; } .white-header ul { background: url("img/menu-p.png") repeat-x scroll 0 0 transparent; font-size: 14px; height: 30px; margin: 0; padding: 0; } .white-header ul li { display: inline; } .white-header ul li .first-link .bullet { display: none; } .bullet { background: url("imgage/bullet.gif") repeat-x scroll 0 0 transparent; } li.white a, a.white { background: url("img/menu-p.png") repeat-x scroll 0 0 transparent; color: #FFF; float: left; font: bold 1.1em/30px arial,verdana,tahoma,sans-serif; margin: 0; padding: 0 25px; text-decoration: none; text-shadow: 0 0 3px black; } li.white a:hover, a:hover.white { background: url("img/menu-c2.png") repeat-x scroll 0 0 transparent; color: #FFF; text-decoration: none; text-shadow: 0 0 3px white; } #navigation ul { margin: 0; padding: 0; list-style-type: none; } #navigation h2 { font-size: 12px; color: #555; background-color: #fff; margin: 0; padding: 2px; } #navigation a { display: block; color: #000; padding: 2px; text-decoration : none; } #navigation a:hover { color: #f6f6f6; background-color: #ccc; } * html #navigation ul li { height: 1%; } .pagenav span { color: #777; background-color: #f0f0f0; border: 1px solid #e1e1e1; padding: 2px 4px; margin: 2px; } .pagenav a { color: #000; background-color: #fff; border: 1px solid #e1e1e1; padding: 2px 4px; margin: 2px; text-decoration: none; } .pagenav a:hover { color: #ccc; background-color: #444; text-decoration: none; } .center, *[align="center"] { margin: 0 auto; } .admin-message { border: 1px solid #666; border-left: 3px solid #999; padding: 8px; margin-bottom: 8px; } .bbcode { border: 1px solid #ccc; } .tablebreak { margin: 0 0 10px 0; } img { border: 0; } .news-category { border: 0; margin: 3px 5px 0 0; float: left; } .footer { background: url("images/stopka/stopka.jpg") no-repeat transparent; color: #000; text-decoration: none; text-align: center; width: 1090px; height: 70px; padding: 2px; margin: 10px 0 0 0; } /* border: 1px solid #0f0; */
.side-body { background-color: #B5B1B2;
.side-border-left { padding: 0px 10px 0px 0px; width: 235px; } .side-border-right { padding: 0px 0px 0px 10px; width: 235px; }
#main { width: 1000px; position: relative; } .panel { position: absolute; top: 88px; left: 785px; width: 258px; height: 98px; padding: 10px; color: #fff; padding: 2px; text-decoration: none; }
function render_page($license=false) { echo "<table align='center' cellspacing='0' cellpadding='0' id='main'> <tr> <td> "; /* /////////////////////////////////////////////////////// */ if (iMEMBER) { if ($user_data['user_avatar'] != '') { echo "<a href='profile.php?lookup=".$user_data['user_id']."'><img src='".IMAGES."avatars/".$user_data['user_avatar']."' alt='".$user_data['user_name']."' align='left' style='border:0px;margin-top:3px;margin-right:5px'></a>"; } else { echo "<img align='left' src='".IMAGES."/avatars/noavatar100.png' width='100' hight='100' style='margin-right:2px'>"; } $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$user_data['user_id']."' AND message_read='0' AND message_folder='0'"); /* Edytuj profil */ echo THEME_BULLET." <a href='".BASEDIR."edit_profile.php' style='color: #fff;text-decoration: none;'>Edytuj Profil</a><br />\n"; /* Prywatne wiadomości */ echo THEME_BULLET." <a href='".BASEDIR."messages.php' style='color: #fff;text-decoration: none;'>Wiadomości</a><br />\n"; /* Lista użytkowników */ echo THEME_BULLET." <a href='".BASEDIR."members.php' style='color: #fff;text-decoration: none;'>Lista userów</a><br />\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { /* Panel administratora */ echo THEME_BULLET." <a href='".ADMIN."index.php".$aidlink."' style='color: #fff;text-decoration: none;'>Panel Administratora</a><br />\n"; } else { echo"<br /><br /><center><a href='".BASEDIR."setuser.php?logout=yes' class='side'><font color=white>[ Wyloguj ]</a></center>"; } } else { <form name='loginform' method='post' action='".FUSION_SELF."'> <input type='text' name='user_name' class='panellogowania_texbox' value='Login' onBlur=\"if(this.value=='') this.value='Login';\" onFocus=\"if(this.value=='Login') this.value='';\" > <input type='password' name='user_pass' class='panellogowania_texbox' value='hasĹ�o' onBlur=\"if(this.value=='') this.value='hasĹ�o';\" onFocus=\"if(this.value=='hasĹ�o') this.value='';\" ><br> <input type='checkbox' title='Pamiętaj' value='y' name='remember_me'> <input type='submit' name='login' value=' ' class='login1'> <a href='".BASEDIR."register.php' class='side'><input type='button' name='register' value=' ' class='register1'></a> </form><br />\n"; if ($settings['enable_registration']) { } echo "<a href='".BASEDIR."lostpassword.php' class='side'><font color=white>*Zgubione hasło</a></div>\n"; } /* /////////////////////////////////////////////////////// */ echo" <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='full-header'> <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td>".showbanners()."</td> </tr> </table> </td> </tr> </table>"; echo" <table cellpadding='0' cellspacing='0' width='100%'> <tr> <td class='white-header'>".showsublinks(" ", "white")."</td> <td align='right' class='white-header'>".showsubdate()."</td> </tr> </table> <table bgcolor='#3F3F3F' width='1090' height='60' cellspacing='0' cellpadding='0' border='0' align='center'> <tbody> <tr align='center'> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/Belgia.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/Monako.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/singapur.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/wlochy.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/kanada.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/hiszpania.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/japonia.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/Indie.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/australia.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/wlk brytania.png'></td> <td><img width='40' height='40' border='0' src='".THEME."images/Flagi/europa.png'></td> </tr> </tbody> </table> <table cellpadding='0' cellspacing='0' width='100%'> <tr>"; echo "</tr> </table><br /> <table cellpadding='0' cellspacing='0' width='100%'> <tr> if ($license == false) { } echo "</td> </tr> </table><br /> </td> </tr> </table>\n"; }
.clear { clear: both; }
#main { width: 1000px; }
<?php // theme settings define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' class='bullet' alt='»' border='0' />"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { echo "<div class='clear'></div> <table align='center' cellspacing='0' cellpadding='0' id='main'> <tr> <td>