Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: theme headeryje radio info panel

Parašė Off· 2008 Spa. 5 22:10:16
#1

Tai štai man reikia kad šitame theme.php faile idetumete radio info panel:

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

// theme settings
$body_text = "#555555";
$body_bg = "#010101";
$theme_width = "766";
$theme_width_l = "181";
$theme_width_r = "181";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>

<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table align='left' cellspacing='0' cellpadding='0' width='340'>
<tr>
<td align='left' class='h_DJ'></td>
</tr>
</table>
<table align='right' cellspacing='0' cellpadding='0' width='426'>
<tr>
<td><img src='".THEME."images/h_logo.png' usemap='#logo' width='426' height='223' border='0'></td>
<map id='logo' name='logo'>
<area shape='rect' coords='35,187,75,199' href='".BASEDIR."index.php'>
<area shape='rect' coords='103,185,142,197' href='".BASEDIR."laidos.php'>
<area shape='rect' coords='170,179,213,194' href='".BASEDIR."top20.php'>
<area shape='rect' coords='241,171,302,183' href='".BASEDIR."komanda.php'>
<area shape='rect' coords='329,156,384,168' href='".BASEDIR."contact.php'>
</map>
</tr>
<tr>


<td class='h_eteris'></td>
</tr>
</table>
</td>
</tr>\n";

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";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td width='73' align='left' style='padding-left: 6px;padding-top: 13px;'><img src='".THEME."images/made_by.gif'>  <a href='http://www.emotive.in/' target='_blank'><img src='".THEME."images/e_logo.gif' border='0'></a></td>
<td width='446'></td>
<td width='247' align='right' class='f_text'>TVS: <a href='http://www.php-fusion.co.uk' target='_blank' style='color:#76100E;'>PHP-Fusion</a> - 2008 © hot FM</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table align='center' cellpadding='0' cellspacing='0' width='475'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='info'>".showdate("shortdate", $info['news_date'])."<br>Para&#1088;&#1083;: <a href='profile.php?lookup=".$info['user_id']."' style='color:#76100E;'>".$info['user_name']."</a></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table align='center' cellpadding='0' cellspacing='0' width='475' >
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='info'>".showdate("shortdate", $info['article_date'])."<br>Para&#1088;&#1083;: <a href='profile.php?lookup=".$info['user_id']."' style='color:#76100E;'>".$info['user_name']."</a></td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>\n";

}

function opentable($title) {

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

}

function closetable() {

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

}

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

}

function closeside() {

echo "</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";

}
?>




gyvas pavizdys: http://tavo.projektas.eu/news.php
paveikelelis kurioje vietoje noriu kad butu panele:






Duomenis susivesčiau pats