Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Header, zinute
Parašė cipis· 2009 Bir. 21 17:06:30
#1
Ka ištaisyti šia klaida? Kaip rasai bet koki pranesima vat kas atsitinka...
Parašė Impossibru· 2009 Bir. 21 17:06:29
#2
Temos dydis didesnis nei header... diding header arba temos ploti mažink.
Parašė cipis· 2009 Bir. 21 17:06:40
#3
O kaip sumažinti ga žinot? čia styles.css
Parašė Impossibru· 2009 Bir. 21 17:06:59
#4
čia theme.php ...
$theme_width = "XXX";
Parašė Impossibru· 2009 Bir. 21 17:06:59
#5
čia theme.php ...
$theme_width = "XXX";
Parašė cipis· 2009 Bir. 21 17:06:43
#6
Pažesiu...
Parašė iSty· 2009 Bir. 21 17:06:19
#7
Dar vienas bugas tavo saite, aš net neužsiregines, o man ejna atsijungti :]:]
Parašė cipis· 2009 Bir. 21 17:06:22
#8
Sutvarkysiu, man reike dabar šita beda ispres ,
$theme_width = "800"; netinka.. nors šmta darau tas pats šūdas.
Parašė Nepas· 2009 Bir. 21 18:06:51
#9
$theme_width = "100%";
Parašė cipis· 2009 Bir. 21 18:06:15
#10
Viska padarau bet tas pats...
<?
$body_text = "#000000";
$body_bg = "#215032";
$theme_width = "100%";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='bodyline' align=center width='800' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td align='center' valign='top'>";
echo "<table bgcolor=#ffffff width='800' border='0' cellspacing='0' cellpadding='0'><tr align=right>";
echo "<td width='800' height='231'>";
include "header.php";
echo "</td>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td><table width='100%' height='23' border='0' cellpadding='4' cellspacing='0' background='".THEME."vaizdai/per_1_z.gif'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='content'> \n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <font color=#ffffff>•</font>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='virsuje'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='virsuje'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td width='250' nowrap><div align='right'><font class='date'><b>".ucwords(showdate($settings['subheaderdate'], time()))."";
echo "   </b></font></div>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#ffffff' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<div align='right'>";
echo "<table cellpadding='0' cellspacing='0' width='650'>";
echo "<tr><td height=15 bgcolor=#ffffff></td><td height=15 bgcolor=#ffffff></td></tr>";
echo "<tr align=center>";
echo "<td width=140 height=80 background='".THEME."vaizdai/apacia-gecko.gif'></td>";
echo "<td><table width=510 height=80 cellspacing=0 cellpadding=0 border=0 bgcolor><tr><td height=45></td></tr>";
echo "<tr>";
echo "<td height=35 valign=middle background='".THEME."vaizdai/apacia_fonas.gif'>";
echo "<b>".$settings['counter']."</b> ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br>\n");
echo "</font></td>";
echo "</tr></table>";
echo "</td></tr></table></center>\n";
echo "</div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."vaizdai/opentable-left.gif' width=9 height=24><td background='".THEME."vaizdai/opentable-middle.gif' height='24'><img border='0' src='".THEME."images/arrows.gif'> <font class='block-title2'>$subject</font></td><td background='".THEME."vaizdai/opentable-right.gif' width=9 height=24>";
echo "</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'>$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 "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
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 "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td background='".THEME."vaizdai/opentable-left.gif' width=9 height=24><td background='".THEME."vaizdai/opentable-middle.gif' height='24'><img border='0' src='".THEME."images/arrows.gif'> <font class='block-title2'>$subject</font></td><td background='".THEME."vaizdai/opentable-right.gif' width=9 height=24>";
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['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 "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<td background='".THEME."vaizdai/opentable-left.gif' width=9 height=24><td background='".THEME."vaizdai/opentable-middle.gif' height='24'><img border='0' src='".THEME."images/arrows.gif'> <font class='block-title2'>$title</font></td><td background='".THEME."vaizdai/opentable-right.gif' width=9 height=24>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='24' width='160' background='".THEME."vaizdai/btitle.gif'>";
echo " <font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' width='100%'><table align=center width=100% cellspacing=1 cellpadding=1 border=0 background='".THEME."images/3x3p_z.gif'><tr><td class=iguana-side>";
}
function closeside() {
echo "</td></tr></table>";
echo "</td></tr>";
echo "<tr><td height='11' width='160' background='".THEME."vaizdai/btitle_b.gif'></td></tr>";
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table border='0' style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/tabpic.gif'>";
echo "<img align='left'onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' class='side-b'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$title'".($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='8'></td></tr></table>\n";
}
?>
Parašė Impossibru· 2009 Bir. 21 18:06:42
#11
width='800' tūpa tema,visur su ranka parašytas plotis...
Parašė cipis· 2009 Bir. 21 18:06:00
#12
katroi eilutei?
Parašė cipis· 2009 Bir. 21 19:06:47
#13
Tai niekas nepasakys?
Parašė Impossibru· 2009 Bir. 21 19:06:55
#14
su search ieškai ir taisai gi,doh...
Parašė cipis· 2009 Bir. 21 19:06:35
#15
neveike nu... viska perzejau.