Parašė E01· 2009 Lap. 6 16:11:14
#1
Sveiki, susiradau čia emotive_gen diziana ir man reikia pakeist mygtukų koda į paprasta atvira mygtuka.Gal turi ką pasiūlyti? Nes pats nelabai ką randu kas tiktu.
Redagavo E01· 2009 Lap. 6 18:11:57
Parašė iGolf· 2009 Lap. 6 16:11:10
#2
Įdėk, kodą tarp code tagų, ir tada žiūrėsim :)
Parašė E01· 2009 Lap. 6 16:11:48
#3
Šeip man riekai pačio mygtuku kodo paprasčiausio kurio aš nerandu :/ Įsidėt tai pats dar sugebu :) Na va kodas:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#006600";
$theme_width = "750";
$theme_width_l = "210";
$theme_width_r = "210";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' style='padding:15px;'><img src='".THEME."images/IMG_banner.png'></td>
<td align='right' valign='bottom' style='padding-left:5px;padding-right:5px;'>";
echo "<a href='".BASEDIR."index.php'><img src='".THEME."images/IMG_namai_out.png' onmouseover=\"this.src='".THEME."images/IMG_namai.png'\" onmouseout=\"this.src='".THEME."images/IMG_namai_out.png'\" border='0' style='margin-left:5px;'></a>";
echo "<a href='".BASEDIR."portfolio.php'><img src='".THEME."images/IMG_portfelis_out.png' onmouseover=\"this.src='".THEME."images/IMG_portfelis.png'\" onmouseout=\"this.src='".THEME."images/IMG_portfelis_out.png'\" border='0' style='margin-left:5px;'></a>";
echo "<a href='".FORUM."index.php'><img src='".THEME."images/IMG_diskusijos_out.png' onmouseover=\"this.src='".THEME."images/IMG_diskusijos.png'\" onmouseout=\"this.src='".THEME."images/IMG_diskusijos_out.png'\" border='0' style='margin-left:5px;'></a>";
echo "<a href='".BASEDIR."favour.php'><img src='".THEME."images/IMG_paslaugos_out.png' onmouseover=\"this.src='".THEME."images/IMG_paslaugos.png'\" onmouseout=\"this.src='".THEME."images/IMG_paslaugos_out.png'\" border='0' style='margin-left:5px;'></a>";
echo "<a href='".BASEDIR."contact.php'><img src='".THEME."images/IMG_kontaktai_out.png' onmouseover=\"this.src='".THEME."images/IMG_kontaktai.png'\" onmouseout=\"this.src='".THEME."images/IMG_kontaktai_out.png'\" border='0' style='margin-left:5px;'></a>";
echo "</td>
</tr>
</table>\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%'>
<tr>
<td align='left' valign='top' style='padding-left:15px;'><a href='mailto:info@emotive.in'><img src='".THEME."images/IMG_mail.png' border='0'></a></td>
<td align='right' class='footer'>emotive.lt © 2007-2008 | sistema: <a href='http://php-fusion.co.uk' target='_blank'style='color:#BDD754'>php-fusion</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='main-body-border'></td>
<td class='main-body'><span class='capmain'>$subject</span><br><br><br>$news ";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") { echo "<a href='news.php?readmore=".$info['news_id']."'><img src='".THEME."images/more.gif' border='0'></a>"; }
echo "</td>
<td class='main-body-border'></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body-border'></td>
<td class='main-body'><span class='capmain'>$subject</span><br><br><br>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
<td class='main-body-border'></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='main-body-border'></td>
<td class='main-body'><span class='capmain'>$title</span><br><br><br>\n";
}
function closetable() {
echo "</td>
<td class='main-body-border'></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><span class='scapmain'>$title</span></td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Redagavo E01· 2009 Lap. 7 11:11:52