Sveiki, iškilo problema kiek bandžiau neišeina įterpti štai šio kodo
<a href='http://www.cancel.lt' target='_blank'><img src='http://monitors.cancel.lt/server_info/84.240.5.177:27015:cs/350x20.png' border='0' alt='CANCEL.LT' width='350' height='20' /></a>
O jį reikia įterpti vietoj šito, kur pažymėta juodai.
<form name='search' action='search.php?stype=n' method='post'>
<tr>
<td height='72' valing='middle' style='padding-left:10px;'>
<input type='text' name='stext' value=' ' onfocus=\"if(this.value==''){this.value='';}\" onblur=\"if(this.value==''){this.value=' Tekstas..';}\" class='textbox-search'> <input type='submit' value='' name='option' class='button-search'>
</td>
</tr>
</form>
</table>
</td>
Štai pilnas theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#FFF";
$body_bg = "#434343";
$theme_width = "769";
$theme_width_l = "0";
$theme_width_r = "0";
function render_header($header_content) {
global $theme_width,$userdata,$data,$db_prefix,$lookup,$msg_count,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table align='center' cellspacing='0' cellpadding='0' width='100%'>
<tr height='171' valign='top'>
<td>
<table cellpadding='0' cellspacing='0' width='513'>";
include THEME."user_info_panel.php";
echo "<tr>
<td class='submit'>";
if (iMEMBER) {
} else {
echo "<a href='".BASEDIR."register.php' class='head'>Registracija</a> <a href='".BASEDIR."lostpassword.php' class='head'></a>";
}
echo "</td>
</tr>
<form name='search' action='search.php?stype=n' method='post'>
<tr>
<td height='72' valing='middle' style='padding-left:10px;'>
<input type='text' name='stext' value=' ' onfocus=\"if(this.value==''){this.value='';}\" onblur=\"if(this.value==''){this.value=' Tekstas..';}\" class='textbox-search'> <input type='submit' value='' name='option' class='button-search'>
</td>
</tr>
</form>
</table>
</td>
<td>
<table cellpadding='0' cellspacing='0' width='256'>
<tr>
<td><img src='".THEME."images/IMG_logo.png' border='0'></td>
</tr>
</table>
</td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td>
<map id='links' name='links'>
<area shape='rect' coords='102,24,144,39' href='".BASEDIR."index.php'>
<area shape='rect' coords='189,24,252,39' href='".FORUM."index.php'>
<area shape='rect' coords='297,24,356,39' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='401,24,452,39' href='".BASEDIR."photogallery.php'>
<area shape='rect' coords='497,24,547,39' href='".BASEDIR."search.php'>
<area shape='rect' coords='592,24,655,9' href='".BASEDIR."contact.php'>
</map>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer() {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer'>".showsublinks("<img src='".THEME."images/blank.gif' width='15' height='0'>","white")."</td>
</tr>
<tr>
<td align='center' class='footer-copy'> <a href='/' tagert='_blank' class='copyright'>L2-Logitek 2009-2010</a><br> <a href='http://php-fusion.co.uk/' tagert='_blank' class='copyright'></a></td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='left' class='news-footer'>
<a href='news.php?readmore=".$info['news_id']."' style='color:#555;'><b>Plačiau</b></a>
</td>
</tr>
</table>\n";
tablebreak();
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<tr>
<td align='left' class='news-footer'>
Parašė: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' style='color:#555;'>".$info['user_name']."</a> data: ".showdate("%d/%m/%y", $info['article_date'])."<img src='".THEME."images/blank.gif' width='60' height='0'>Komentarų: ".$info['article_comments']." <a href='print.php?type=A&item_id=".$info['article_id']."' style='color:#555;'><b>Spausdinti</b></a>
</td>
</tr>
</table>\n";
tablebreak();
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<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 cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside_gray($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain-gray'>$title</td>
</tr>
<tr>
<td class='side-body-gray'>\n";
}
function closeside_gray() {
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";
}
?>
|