edis2
VIP narys
Antras po Dievo
Pranešimai: 3644
Įstojęs: 2008 Rugs. 25 17:09:15
Kaip man sumazinti naujienos pavadinmo šrifto dydį?
Štai theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#ffffff";
$theme_width = "950";
$theme_width_l = "210";
$theme_width_r = "210";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;
echo"</td></tr></table>";
echo "<table align=center width=900 height=0 background=themes/Nemokamas_2009/images/nav.jpg border=0 cellspacing=0 cellpadding=0>";
echo "</div>
</td>
<td>
<div style=\"padding-bottom: 26px; padding-top: 25px; padding-left: 200px; padding-right: 0px;\">";
echo"<FONT FACE='tahoma' SIZE='1'>
<a href=".BASEDIR."news.php><b><span style='color:black'>Pagrindinis</b></span></a>
<a href=".BASEDIR."forum/index.php><b><span style='color:black'>Forumas</b></span></a>
<a href=".BASEDIR."photogallery.php><b><span style='color:black'>Foto Galerija</b></span></a>
<a href=".BASEDIR."viewpage.php?page_id=3><b><span style='color:black'>Parama</b></span></a>
<a href=".BASEDIR."muzika.php><b><span style='color:black'>Muzika</b></span></a>
<a href=".BASEDIR."reklama.php><b><span style='color:black'>Reklama</b></span></a>
<a href=".BASEDIR."siuntiniai.php?page_id=88><b><span style='color:black'>Siuntiniai</b></span></span></a>
</FONT>";
echo"</td></tr></table>";
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
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%'>";
echo "<tr><td class='header' width='100%'>";
echo "<table align=center width=903 height=295 background=themes/Nemokamas_2009/images/header.jpg border=0 cellspacing=0 cellpadding=0>";
echo "</div>
</td>
<td>
<div style=\"padding-bottom: 100px; padding-top: 0px; padding-left: 670px; padding-right: 0px; filter: opacity=70;\">";
echo"</td></tr></table>";
echo"</td></tr></table>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table width='100%'height='100' border='0' cellpadding='0' cellspacing='0'><tr><td class='footer' align='center'>
<span style='color:black'>".stripslashes($settings['footer'])."<br><br><b><span style='color:grey'>
Design: <a target='_blank' href=''></a> | <br></span></b>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/post-top.gif' height='100' border='0'><center><font class='table-cellpic'>$subject</font></center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' ><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 "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'><span style='color:yellow'>".Siøstis."</a></span><br><BR> \n" : "")."";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['news_allow_comments'])
echo "</td></tr></table></td></tr></table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='60' border='0'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1'><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 "<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "</td></tr></table></td></tr></table>\n";
}
function render_video($subject, $video, $info) {
global $locale;
echo "<table style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='25' border='1'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['video_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['video_allow_comments']) echo $info['video_comments'].$locale['043']." · ";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' height='20' cellpadding='0' cellspacing='0' border='0'>";
echo "<tr><td background='".THEME."images/opentable.gif' height='28' border='0'><center><font class='head-title' FACE='Arial'><B> $title</B></font></td></center>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' ><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table width='100%' height='30' cellpadding='0' cellspacing='0'><tr>";
echo "<td height='30' width='100%' background='".THEME."images/cellpic.gif'>";
echo "<center><font class='panel-cellpic2' FACE='Arial'><B>$title</B></font></right>";
echo "</td></tr>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table><table border='0' cellpadding='0' cellspacing='0' width='100%' height='10'>
<tr>
<td background='".THEME."images/closeside.png' height='39' border='0'></td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' style='border: 1px solid #262626' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='10' width='100%' background='".THEME."images/cellpic4.JPG'>";
echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><center><font class='block-title'>$title</font></center>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>
Mantas_
Narys
Antras po Dievo
Pranešimai: 4009
Įstojęs: 2008 Geg. 30 21:05:48
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#ffffff";
$theme_width = "950";
$theme_width_l = "210";
$theme_width_r = "210";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;
echo"</td></tr></table>";
echo "<table align=center width=900 height=0 background=themes/Nemokamas_2009/images/nav.jpg border=0 cellspacing=0 cellpadding=0>";
echo "</div>
</td>
<td>
<div style=\"padding-bottom: 26px; padding-top: 15px; padding-left: 200px; padding-right: 0px;\">";
echo"<FONT FACE='tahoma' SIZE='1'>
<a href=".BASEDIR."news.php><b><span style='color:black'>Pagrindinis</b></span></a>
<a href=".BASEDIR."forum/index.php><b><span style='color:black'>Forumas</b></span></a>
<a href=".BASEDIR."photogallery.php><b><span style='color:black'>Foto Galerija</b></span></a>
<a href=".BASEDIR."viewpage.php?page_id=3><b><span style='color:black'>Parama</b></span></a>
<a href=".BASEDIR."muzika.php><b><span style='color:black'>Muzika</b></span></a>
<a href=".BASEDIR."reklama.php><b><span style='color:black'>Reklama</b></span></a>
<a href=".BASEDIR."siuntiniai.php?page_id=88><b><span style='color:black'>Siuntiniai</b></span></span></a>
</FONT>";
echo"</td></tr></table>";
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
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%'>";
echo "<tr><td class='header' width='100%'>";
echo "<table align=center width=903 height=295 background=themes/Nemokamas_2009/images/header.jpg border=0 cellspacing=0 cellpadding=0>";
echo "</div>
</td>
<td>
<div style=\"padding-bottom: 100px; padding-top: 0px; padding-left: 670px; padding-right: 0px; filter: opacity=70;\">";
echo"</td></tr></table>";
echo"</td></tr></table>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table width='100%'height='100' border='0' cellpadding='0' cellspacing='0'><tr><td class='footer' align='center'>
<span style='color:black'>".stripslashes($settings['footer'])."<br><br><b><span style='color:grey'>
Design: <a target='_blank' href=''></a> | <br></span></b>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/post-top.gif' height='100' border='0'><center><font class='table-cellpic'>$subject</font></center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' ><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 "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'><span style='color:yellow'>".Siøstis."</a></span><br><BR> \n" : "")."";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['news_allow_comments'])
echo "</td></tr></table></td></tr></table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='60' border='0'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1'><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 "<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "</td></tr></table></td></tr></table>\n";
}
function render_video($subject, $video, $info) {
global $locale;
echo "<table style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='25' border='1'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['video_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['video_allow_comments']) echo $info['video_comments'].$locale['043']." · ";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' height='20' cellpadding='0' cellspacing='0' border='0'>";
echo "<tr><td background='".THEME."images/opentable.gif' height='28' border='0'><center><font class='head-title' FACE='Arial'><B> $title</B></font></td></center>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' ><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table width='100%' height='30' cellpadding='0' cellspacing='0'><tr>";
echo "<td height='30' width='100%' background='".THEME."images/cellpic.gif'>";
echo "<center><font class='panel-cellpic2' FACE='Arial'><B>$title</B></font></right>";
echo "</td></tr>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table><table border='0' cellpadding='0' cellspacing='0' width='100%' height='10'>
<tr>
<td background='".THEME."images/closeside.png' height='39' border='0'></td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' style='border: 1px solid #262626' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='10' width='100%' background='".THEME."images/cellpic4.JPG'>";
echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><center><font class='block-title'>$title</font></center>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>
edis2
VIP narys
Antras po Dievo
Pranešimai: 3644
Įstojęs: 2008 Rugs. 25 17:09:15
Gal gali išjunkti smylei ir pasakyti kurioj vietoj ka pakeitei??
edis2
VIP narys
Antras po Dievo
Pranešimai: 3644
Įstojęs: 2008 Rugs. 25 17:09:15
Tai niekas nezino??
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."images/post-top.gif' height='100' border='0'><center><font class='table-cellpic' style='font-size:10px; '>$subject</font></center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' ><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 "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'><span style='color:yellow'>".Siøstis."</a></span><br><BR> \n" : "")."";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['news_allow_comments'])
echo "</td></tr></table></td></tr></table><br>\n";
}
edis2
VIP narys
Antras po Dievo
Pranešimai: 3644
Įstojęs: 2008 Rugs. 25 17:09:15
AčiūRedagavo
edis2 2009 Sau. 6 17:01:01
ex-it
Narys
Ekspertas
Pranešimai: 2696
Įstojęs: 2007 Gru. 24 11:12:58
Ačių ? Gal ačiū?
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
Jūsų saitai
Dalinuosi, dovanoju!
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!