Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Sumazinti naujienos pavadinima

Parašė edis2· 2008 Gru. 22 15:12:35
#1

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>&nbsp;&nbsp;
<a href=".BASEDIR."forum/index.php><b><span style='color:black'>Forumas</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."photogallery.php><b><span style='color:black'>Foto Galerija</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."viewpage.php?page_id=3><b><span style='color:black'>Parama</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."muzika.php><b><span style='color:black'>Muzika</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."reklama.php><b><span style='color:black'>Reklama</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."siuntiniai.php?page_id=88><b><span style='color:black'>Siuntiniai</b></span></span></a>&nbsp;&nbsp;

</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'>&nbsp;";
   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>&nbsp;$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";
}
?>



Parašė Mantas_· 2008 Gru. 22 15:12:03
#2

<?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>&nbsp;&nbsp;
<a href=".BASEDIR."forum/index.php><b><span style='color:black'>Forumas</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."photogallery.php><b><span style='color:black'>Foto Galerija</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."viewpage.php?page_id=3><b><span style='color:black'>Parama</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."muzika.php><b><span style='color:black'>Muzika</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."reklama.php><b><span style='color:black'>Reklama</b></span></a>&nbsp;&nbsp;
<a href=".BASEDIR."siuntiniai.php?page_id=88><b><span style='color:black'>Siuntiniai</b></span></span></a>&nbsp;&nbsp;

</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'>&nbsp;";
   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>&nbsp;$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";
}
?>



Redagavo Mantas_· 2008 Gru. 22 15:12:42

Parašė edis2· 2008 Gru. 22 15:12:11
#3

Gal gali išjunkti smylei ir pasakyti kurioj vietoj ka pakeitei??

Parašė edis2· 2008 Gru. 22 16:12:10
#4

Tai niekas nezino?? :(

Parašė Žmogus· 2008 Gru. 22 16:12:09
#5

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'>&nbsp;";
   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";
}




Parašė edis2· 2008 Gru. 22 17:12:06
#6

Ačiū ;)

Redagavo edis2· 2009 Sau. 6 17:01:01

Parašė ex-it· 2008 Gru. 22 17:12:04
#7

Ačių ? :] Gal ačiū? ;)