Roksys
Narys
Buldozeris
Pranešimai: 318
Įstojęs: 2007 Rugp. 10 17:08:55
Perdarinėjau viena theme , ir susidūriau su tokia bėda , kad forumo fonas
tapo va tokas http://www.ipix.lt/out.php/i2819...titled.jpg
forumo fone atsirado headeris .www.skanaus.eu
www.tut.lt
www.liaudiesmedicina.eu
bruzgis
Narys
Ekspertas
Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
prisek styles.css faila
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
Stai jo style.css.
Roksys
Narys
Buldozeris
Pranešimai: 318
Įstojęs: 2007 Rugp. 10 17:08:55
tai kame ten bėda gali buti?www.skanaus.eu
www.tut.lt
www.liaudiesmedicina.eu
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
</table> tago kažkur theme.php faile nėra
Roksys
Narys
Buldozeris
Pranešimai: 318
Įstojęs: 2007 Rugp. 10 17:08:55
tikrinau pagal orginalu (neperdaryta theme.php) viskas buvo gerai , bet gal ka praleidau tai papostinsiu theme.php <?
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "930";
$theme_width_l = "194";
$theme_width_r = "194";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo "<tr><td height='281' background='".THEME."media/header1.png' align='right' valign='middle'>
<table width='864' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td> </td>
<td width='220' align='center'>";
// Jei narys, prisijungimas atrodo taip
if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userinfo.gif'>
<tr>
<td>\n";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50' style='border:1px solid #999999'></center>\n";
} else {
echo "<center><img src='".THEME."images/noavatar.jpg' width='50' height='50' style='border:1px solid #999999'>
</center>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> Taškai: ".$userdata['user_points']."";
echo "</td>
<td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Aprašymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Ʋinutės [naujų: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";"
<td><img src='".THEME."images/blank.gif'></td>
</tr>
</table>
\n";
// Jei ne narys
} else {
openside("Prisijungimas");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right'>Vardas: </td>
<td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'>".$locale['062'].": </td>
<td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slaptažodis</a>\n";
}
echo"</div>\n";
}
closeside();
echo "</tr></table></td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
<tr>
<td width='5'></td>
<center>
<td width='256' class='dark'><marquee>".parseubb(parsesmileys(""))."</marquee></td>
<td width='69' valign='center'><a href='".BASEDIR."index.php'><img src='".THEME."media/home.png' border=0' alt='Pradinis'></a></td>
<td width='69' valign='center'><a href='".BASEDIR."index.php'><img src='".THEME."media/news.png' border=0' alt='Naujienos'></td>
<td width='69' valign='center'><a href='".FORUM."index.php'><img src='".THEME."media/forum.png' border=0' alt='Diskusijos'></td>
<td width='69' valign='center'><a href='".BASEDIR."photogallery.php'><img src='".THEME."media/gallery.png' border=0' alt='Galerija'></td>
<td width='69' valign='center'><a href='".BASEDIR."contact.php'><img src='".THEME."media/contacts.png' border=0' alt='kontakta'></td>
<td width='69' valign='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."media/siuntiniai.png' border=0' alt='siuntiniai'></td>
<td width='380' class='dark'><marquee>".parseubb(parsesmileys(""))."</marquee></td>
</center>
<td width='5'></td>
</tr>
</table>\n";
echo "<table width='100%' cellpadding='0' background='".THEME."images/panel.jpg' bgcolor='#00000' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table height='22' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr>";
echo "<td width='100%' class='footer' align='center'>";
echo "<font size='1'>Dizainas ea-zaidimai.info :)</font>";
echo "</tr></td></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'><center>$subject</center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";;
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> Ā·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Ā· ";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." Ā· ";
echo "".$info['article_reads'].$locale['044']." ";
echo "</td></tr></table></td></tr></table>\n";
}
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='22' class='scapmain' align='left'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#ffffff'>";
}
function closetable() {
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='22' class='capmain' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#ffffff'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='22' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#ffffff'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table></td></tr></table>";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
www.skanaus.eu
www.tut.lt
www.liaudiesmedicina.eu
bruzgis
Narys
Ekspertas
Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
.capmain {
font-family : Tahoma;
font-size : 11px;
font-weight : bold;
text-transform: uppercase;
color : #50638D;
background: transparent;
border-bottom: 1px solid #bbb;
padding : 4px 4px 4px 4px;
}
.capmain {
background-image: url('media/panele1.png');
font-family : Tahoma;
font-size : 11px;
font-weight : bold;]
text-transform: uppercase;
color : #f9f9f9;
padding : 4px;
}
visu pirma dubliuojasiu pas tave css faile capmain, plaik tik viena.
antra ar forumo failus redagavai? pabandyk permest ir koks to paveiksliuko kuris kartojasi pavadinimas ir formatas?
Roksys
Narys
Buldozeris
Pranešimai: 318
Įstojęs: 2007 Rugp. 10 17:08:55
Dubliuojasi header1.png www.skanaus.eu
www.tut.lt
www.liaudiesmedicina.eu
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
Sis kodas keistas :
// Start banner code / Banerio kodas
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo "<tr><td height='281' background='".THEME."media/header1.png' align='right' valign='middle'></td></tr></table>
Kazko pabaigos nematau.
Manau beda buvo cia.
bruzgis
Narys
Ekspertas
Pranešimai: 3368
Įstojęs: 2006 Geg. 9 18:05:02
// Start banner code / Banerio kodas
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo " <tr><td height='281' background='".THEME."media/header1.png' align='right' valign='middle'>
<table width='864' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td> </td>
<td width='220' align='center'>";
Biski sumalta... vienu zodziu jei lb reik atsiusi man ryt per skype theme perdarysiu as tau ja
ramon
Narys
Ekspertas
Pranešimai: 2977
Įstojęs: 2006 Gru. 18 11:12:50
chipass parašė: ...
Nesupratau ka cia nusisnekejai?
Yra ten te echo " ir ";
Plius ten ta headerio koda pateisiau savo poste..
Roksys
Narys
Buldozeris
Pranešimai: 318
Įstojęs: 2007 Rugp. 10 17:08:55
Ramon buvai is dalies teisus , jei theme.php faile nebutu prisijungimo headeryje tu butum teisus , bet kadingi jis yra tai reikejo po prisijungimu iterpti </td></tr></table> taga ir viskas susitvarkwww.skanaus.eu
www.tut.lt
www.liaudiesmedicina.eu Redagavo
Roksys 2007 Lap. 7 21:11:50
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!