Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip siam theme.php iterpti prisijungima logotipe?

Parašė grafass· 2008 Lap. 2 15:11:18
#1

Kaip siam theme.php iterpti prisijungima logotipe? Noreciau kad jis butu desiniam sone virsuje

logotipo pavadinimas imageslogo.jpg

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#444444";
$body_bg = "#ffffff";
$theme_width = "957";
$theme_width_l = "210";
$theme_width_r = "210";

function render_header($header_content) {

global $theme_width;

echo "<table colspan='3' align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table width='957' height='293' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td colspan='2' rowspan='7'>
         <img src='".THEME."imageslogo.jpg' width='957' height='293' alt=''></td>
   </tr>
   </tr>
</table>\n";

tablebreak();

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

}

function render_footer($license=false) {

global $theme_width,$settings;

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

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/01.png'></td>
<td class='capmain' height='3' align='left' valign='middle' width='100%'>$subject</td>
<td><img src='".THEME."images/03.png' ></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/04.png'></td>
<td class='main-body'>
$news
</td>
<td background='".THEME."images/05.png'></td>
</tr>
<tr>
<td background='".THEME."images/04.png'></td>
<td align='right' class='news-footer'>\n";
echo "<img src='".THEME."images/bullet.jpg'> <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Plačiau!</a>";
echo "</td>
<td background='".THEME."images/05.png'></td>
</tr>
<tr><td><img src='".THEME."images/06.png'></td><td background='".THEME."images/07.png' width='100%'></td><td><img src='".THEME."images/08.png'></td></tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/01.png'></td>
<td class='capmain' height='3' align='left' valign='middle' width='100%'>$subject</td>
<td><img src='".THEME."images/03.png' ></td>
</tr>
<tr>
<td background='".THEME."images/04.png'></td>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
<td background='".THEME."images/05.png'></td>
</tr>
<tr>
<td background='".THEME."images/04.png'></td>
<td width='100%' align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
<td background='".THEME."images/05.png'></td>
</tr>
<tr><td><img src='".THEME."images/06.png'></td><td background='".THEME."images/07.png' width='100%'></td><td><img src='".THEME."images/08.png'></td></tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/01.png'></td>
<td class='capmain' height='3' align='left' valign='middle' width='100%'>$title</td>
<td><img src='".THEME."images/03.png' ></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td background='".THEME."images/04.png'></td>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
<td background='".THEME."images/05.png'></td>
</tr>
<tr>
<td><img src='".THEME."images/06.png'></td>
<td background='".THEME."images/07.png' width='100%'></td>
<td><img src='".THEME."images/08.png'></td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/1.png'></td>
<td class='scapmain' height='37' align='left' valign='middle' width='100%'>$title</td>
<td><img src='".THEME."images/3.png' ></td>
</tr>
<tr>
<td background='".THEME."images/04.png'></td>
<td class='side-body'>
\n";

}

function closeside() {

echo "
</td>

<td background='".THEME."images/05.png'></td>
</tr>
<tr>
<td><img src='".THEME."images/06.png'></td>
<td background='".THEME."images/7.png' width='100%'></td>
<td><img src='".THEME."images/08.png'></td>
</tr>
</table>\n";

}


function tablebreak() {

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

}
?>