Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Headeris

Parašė Jaunelis· 2008 Lie. 1 16:07:25
#1

Sveiki visi , norejau jūsų paprašyti pagalbos man nerodo headerio norėjau padaryti kad tie myktukai butu virš headerio bet dabar man rodo tik juos (pamatysit screene) gal kas mokat sutvarkyti:
theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#FFFFFF";
$body_bg = "#ffffff";
$theme_width = "1000";
$theme_width_l = "175";
$theme_width_r = "175";

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:1px solid #999999; margin-top:-10px;'>";
   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'>";
   echo "<tr><td height='25' background='".THEME."images/jou.jpg' align='center' valign='middle'>
              <table width='95%' border='0' cellspacing='0' cellpadding='0'><tr>
              <td width='95%' align='center'style='padding-right: 0px; padding-top: 0px;'>";
echo"
 <tr>
    <td><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td width='100' align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/namai.jpg' border=0' alt='Pradinis'></a></td>
        <td width='100' align='center'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.jpg' border=0' alt='Diskusijos'></td>
        <td width='100' align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/siuntiniai.jpg' border=0' alt='Siuntiniai'></td>
        <td width='100' align='center'><a href='".BASEDIR."viewpage.php?page_id=5'><img src='".THEME."images/reklama.jpg' border=0' alt='Reklama'></td>
      </tr>
    </table></td>
  </tr>
</table>\n";

   echo "<table width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td height='300' background='".THEME."images/headeris.jpg' align='left' valign='middle'>
   <table width='1000' border='0' cellspacing='0' cellpadding='0'><tr>

</table>\n";

   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' bgcolor='#45566f'' style='padding-left: 50px;'><tr><td height='20' class='white' align='center'><b>Dizainas pagal: <a href='http://115.xz.lt'>115.xz.lt</a></b></td></tr></table>";
}



function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain' align='center'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," &nbsp;").newsopts($info,"&nbsp;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain' align='center'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain' align='center'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='center'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='center'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>



Screenas:
http://www.failai.in/P/121491454...aderis.jpg

Redagavo ozzWANTED· 2008 Lie. 1 16:07:07

Parašė Jaunelis· 2008 Lie. 1 16:07:50
#2

jau pasidariau :[

Parašė iNeT· 2008 Lie. 1 20:07:05
#3

008-07-01 16:24 parashe po 14 min parashe pasidariau irgi protas :[

Parašė MAnjack· 2008 Lie. 1 20:07:36
#4

Manau reiks siūlyt pratest posto prijugimo laiką :|

Parašė Jaunelis· 2008 Lie. 1 22:07:06
#5

i6trinkit tą posta ,nes man negaliam ištrint neturiu tokiu privilegiju

Parašė robert· 2008 Lie. 1 22:07:21
#6

O kam ji trinti, geriau čia paflūūdinam :D :]