Autor Zpráva
Sebo
Profil *
Dobrý den,

Byl by někdo ochoten a sprovoznil by mi tuto tému ?

http://linuxcity.eu/sebo/news.php

Co přesně potřebuji :

- Aby to menu šlo do toho menu které je navrhnuto

- Aby login panel byl nahoře (u BG jak je to černé)

- Abych viděl logo

- Opravení slideru

theme.php

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license = false) {
global $settings, $main_style, $locale, $userdata, $aidlink;
echo "<div id='stranka'>";
echo "<div id='header'>
<h1 id='logo'></h1>
</div>";

echo " <div id='menu'>
<li><a href='/news.php'>News</a></li>
<li><a href='/forum/index.php'>Fórum</a></li>
<li><a href='/vip_menu.php'>V.I.P.</a></li>
<li><a href='/team.php'>Team</a></li>
<li><a href='http://banlist.greatzone.cz/ban_list.php'>Banlist</a></li>
<li><a href='/#.php'>Soutěže</a></li>
<li><a href='/downloads.php'>Download</a></li>
<li><a href='/servery.php'>Servery</a></li>
<li><a href='/linkus.php'>Banners</a></li>
</ul>
</div>";

echo "<div id='content'>
<div id='neco'>";
echo '<div id="slider">
<ul>
<li><a href="linuxciy.eu/sebo/"><img src="'.BASEDIR.'js/slider1.png" alt="" /></a></li>
<li><a href="linuxciy.eu/sebo/"><img src="'.BASEDIR.'js/slider1.png" alt="" /></a></li>
</ul>
</div>';
echo "</div>

<div id='posledninovinky'>
<div class='scapmain'></div>
<div class='body'>";
$result = dbquery(
"SELECT * FROM ".DB_NEWS." tn
LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
LEFT JOIN ".DB_NEWS_CATS." tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'
ORDER BY news_sticky DESC, news_datestamp DESC LIMIT 0,12"
);
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$itemsubject = trimlink($data['news_subject'], 35);
echo "<a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='".$data['news_subject']."' class='radek'>$itemsubject</a>\n";
}
}

echo "</div>
</div>

<div id='loginbg'>
<div class='login'>";
if (iMEMBER) {
$count_msgs = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'");
echo "<div class='avatar'>";
if ($userdata['user_avatar'] != ""){
echo "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' border='0' width='90' height='90' />";
}else{
echo "<img src='".IMAGES."avatars/noavatar100.png' border='0' width='90' height='90' />";
}
echo "</div>";
echo "<div class='menu'>";
echo "<ul>";
echo "<li><a href='".BASEDIR."edit_profile.php'>Profil</a></li>";
echo "<li><a href='".BASEDIR."members.php'>Členové</a></li>";
echo "<li><a href='".BASEDIR."messages.php'>Zprávy ".($count_msgs > 0 ? "<span style='color: #a5cbfe;'>(".$count_msgs.")</span>" : "(".$count_msgs.")")."</a></li>";
echo "<li>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."'>Administrace</a></li>\n";
}
echo "<li><a href='".BASEDIR."index.php?logout=yes'>".$locale['global_124']."</a></li>
</ul></div>\n";
} else {
if (!preg_match('/login.php/i',FUSION_SELF)) {
$action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
$action_url = cleanurl(urldecode($_GET['redirect']));
}
echo "<form name='loginform' method='post' action='index.php'>\n";
echo "<div class='inpulty'>
<input type='text' id='textbox' class='user' name='user_name'/>
<input type='password' id='textbox' class='pass' name='user_pass' />
</div>
<div class='tlacitka'>
<a href='".BASEDIR."register.php' class='register'></a>
<a href='".BASEDIR."lostpassword.php' class='heslo'></a>
<input class='loginok' type='submit' name='login' value='' />
</div>
<div class='nejsiclenem'><span>Nemáš ešte svoj účet?</span><br /> Vytvor si ho ešte dnes a zapoj sa do našej ligy,
výhody pri registracii si môžeš pozrieť <a href=''>TU</a> !</div>
</form>";
}
}
echo "</div>
</div>

<div id='toplist'>
<div class='obsah'>";
?>
<div align='center' style='margin-top:10px;'></div>
<?

echo "</div></div>

<div class='clear'></div>";
echo "<div id='panel-right'>".LEFT."</div>";
echo "<div id='panel-left'>".RIGHT."</div> ";
echo "<div id='stred'>".U_CENTER.CONTENT.L_CENTER."</div>";
echo "</div>";

echo " <div id='fotter'>
<div class='leva'>
Powered by <a href='http://www.php-fusion.co.uk'>PHP-Fusion</a> copyright © 2002 - 2011 by Nick Jones.<br />
Released as free software without warranties under <a href='http://www.gnu.org/licenses/agpl-3.0.html'>GNU Affero GPL</a> v3.
</div>";
echo "</div>";
}

//novinky
function render_news($subject, $news, $info) {
echo "<div class='novinka'>
<div class='capmain'><h3>".$subject."</h3><span>Napisal: <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a></span> <div class='km'>".$info['news_comments']."</div></div>
<div class='main-body'>
".$info['cat_image'].$news."
</div>
<div class='news-fotter'>
<a href='".BASEDIR."news.php?readmore=".$info['news_id']."' class='vice'><!-- --></a>
<a href='' class='komentovat'><!-- --></a>
</div>
</div>";
}
//články
function render_article($subject, $article, $info) {

echo "".$subject."</td>\n";
echo "".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo articleposter($info," &middot;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
}

//Panely na stredu
function opentable($title) {
echo "<div class='novinka'>";
echo " <div class='capmain'><h3>".$title."</div>";
echo "<div class='main-body'>";
}

// Konec panely na stredu
function closetable() {
echo "</div></div>";
}

function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<div class='panel'>
<div class='scapmain'><h2>".$title."</h2></div>";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<div class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {

global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</div>
</div>";
}


?>

styles.css

[pre]a {

color:#666666;

text-decoration:none;

}

a:link {

color:#ec2d08;

} /* unvisited link */

a:visited {color:#ec2d08;} /* visited link */

a:hover {color:#a66046;} /* mouse over link */

a:active {color:#ec2d08;} /* selected link */
a.side {

color:#666666;

text-decoration:none;

}
a:hover.side {

color:#666666;

text-decoration:underline;

}


a.white {

color:#fff;

text-decoration:none;

}
a:hover.white {

color:#fff;

text-decoration:underline;

}
body {

font-family : Verdana, Arial, Helvetica, sans-serif;
scrollbar-base-color: black;
font-size:11px;

color:#5c5e5f;

margin: 0px;

background: url('images/bg.png');

background-color: #050100;

background-repeat: repeat-x;

background-position: center top;

}
.header {

background: url('images/header.png') no-repeat;

height: 362px;

width: 1000px;
}


.border {

background-color:#ddd;

border:0px #D1D8DD solid;

}
.outer-border {

border : 0px solid #f2f2f2;

}
img {

border: 0px;

}
form {

margin:0px 0px 0px 0px;

}
hr {

border:0px #fff solid;

}
hr.side-hr {

border:0px #fff solid;

}
td {

font-family:Verdana,Tahoma,Arial,Sans-Serif;
color:#535353;
font-size:10px;

}
pre {

font-family:Verdana,Tahoma,Arial,Sans-Serif;

font-size:10px;

}
.alt {

color:#b5b5b5;

}
.footer {

background-image : url('images/footer.png');
background-repeat: no-repeat;
font-family: Tahoma;
font-size:10px;
color:#fff;
width: 1000px;
height: 89px;

}
.footer2 {

background-image : url('images/footer2.png');
background-repeat: no-repeat;
font-family: Tahoma;
font-size:10px;
color:#fff;
width: 1000px;
height: 170px;
text-align: center;

}
.button {

font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;

font-size: 10px;

color: #fff;

border:0px #fff solid;

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

height: 30px;

width: 100px;

margin-top: 2px;
opacity: 0.8;

filter: alpha (opacity=40);

-webkit-transition: all 0.5s ease-in-out;

-moz-transition: all 0.5s ease-in-out;

-o-transition: all 0.5s ease-in-out;
}
.button:hover {

font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;

font-size: 10px;

color: #000;

border:0px #fff solid;

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

height: 30px;

width: 100px;

margin-top: 2px;
opacity: 3.0;

filter: alpha (opacity=40);
}


.shout {

font-family:Tahoma,Arial,Sans-Serif;

font-size:10px;

color:#dadada;

background-color: #fff;

border: 0px solid #ccc;

width: 184px;

height: 76px;

background-repeat: no-repeat;

padding-left: 20px;

}
.main-bg {
background-color: #fff;
}
.side-border-left {

padding: 0px 0px 0px 1px;

background: transparent;

}
.side-border-right {

padding: 0px 0px 0px 1px;

background: transparent;

}

.content {
max-width: 1000px;
padding-right:5px;
background-color:#ffffff;
padding-left:5px;

}

.main-body {

border: 0px solid #ccc;

font-family:Tahoma;

font-size:11px;

color:#535353;

height:auto;
background-image: url('images/capbg.png');

max-width: 627px;

padding-left: 15px;

padding-right:15px;

padding-top: 5px;

padding-bottom: 5px;

}

.side-body {
background-image: url('images/scapbody.png');
background-repeat: repeat-y;
width: 362px;
background-position: top center;
font-family:Arial;
font-size:11px;
font-weight: bold;
color:#666666;
text-align: center;
}

.side-cl


styless : oprava
a {

color:#666666;

text-decoration:none;

}

a:link {

color:#ec2d08;

} /* unvisited link */

a:visited {color:#ec2d08;} /* visited link */

a:hover {color:#a66046;} /* mouse over link */

a:active {color:#ec2d08;} /* selected link */
a.side {

color:#666666;

text-decoration:none;

}
a:hover.side {

color:#666666;

text-decoration:underline;

}


a.white {

color:#fff;

text-decoration:none;

}
a:hover.white {

color:#fff;

text-decoration:underline;

}
body {

font-family : Verdana, Arial, Helvetica, sans-serif;
scrollbar-base-color: black;
font-size:11px;

color:#5c5e5f;

margin: 0px;

background: url('images/bg.png');

background-color: #050100;

background-repeat: repeat-x;

background-position: center top;

}
.header {

background: url('images/header.png') no-repeat;

height: 362px;

width: 1000px;
}


.border {

background-color:#ddd;

border:0px #D1D8DD solid;

}
.outer-border {

border : 0px solid #f2f2f2;

}
img {

border: 0px;

}
form {

margin:0px 0px 0px 0px;

}
hr {

border:0px #fff solid;

}
hr.side-hr {

border:0px #fff solid;

}
td {

font-family:Verdana,Tahoma,Arial,Sans-Serif;
color:#535353;
font-size:10px;

}
pre {

font-family:Verdana,Tahoma,Arial,Sans-Serif;

font-size:10px;

}
.alt {

color:#b5b5b5;

}
.footer {

background-image : url('images/footer.png');
background-repeat: no-repeat;
font-family: Tahoma;
font-size:10px;
color:#fff;
width: 1000px;
height: 89px;

}
.footer2 {

background-image : url('images/footer2.png');
background-repeat: no-repeat;
font-family: Tahoma;
font-size:10px;
color:#fff;
width: 1000px;
height: 170px;
text-align: center;

}
.button {

font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;

font-size: 10px;

color: #fff;

border:0px #fff solid;

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

height: 30px;

width: 100px;

margin-top: 2px;
opacity: 0.8;

filter: alpha (opacity=40);

-webkit-transition: all 0.5s ease-in-out;

-moz-transition: all 0.5s ease-in-out;

-o-transition: all 0.5s ease-in-out;
}
.button:hover {

font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;

font-size: 10px;

color: #000;

border:0px #fff solid;

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

height: 30px;

width: 100px;

margin-top: 2px;
opacity: 3.0;

filter: alpha (opacity=40);
}


.shout {

font-family:Tahoma,Arial,Sans-Serif;

font-size:10px;

color:#dadada;

background-color: #fff;

border: 0px solid #ccc;

width: 184px;

height: 76px;

background-repeat: no-repeat;

padding-left: 20px;

}
.main-bg {
background-color: #fff;
}
.side-border-left {

padding: 0px 0px 0px 1px;

background: transparent;

}
.side-border-right {

padding: 0px 0px 0px 1px;

background: transparent;

}

.content {
max-width: 1000px;
padding-right:5px;
background-color:#ffffff;
padding-left:5px;

}

.main-body {

border: 0px solid #ccc;

font-family:Tahoma;

font-size:11px;

color:#535353;

height:auto;
background-image: url('images/capbg.png');

max-width: 627px;

padding-left: 15px;

padding-right:15px;

padding-top: 5px;

padding-bottom: 5px;

}

.side-body {
background-image: url('images/scapbody.png');
background-repeat: repeat-y;
width: 362px;
background-position: top center;
font-family:Arial;
font-size:11px;
font-weight: bold;
color:#666666;
text-align: center;
}

.side-cl
[/pre]
Str4wberry
Profil
Uveďte funkční odkaz na živou ukázku.
Sebo
Profil *
sebastianhoang.8u.cz

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: