Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del temos
Parašė pakwaises· 2008 Bal. 27 12:04:29
#1
Tai vo norejau paklausti kodel man tiek aukstai naujausi siuntiniai..
Parašė bad_user· 2008 Bal. 27 12:04:01
#2
Ko gero valign top padaryta. Duok kodą :)
Parašė Creatium· 2008 Bal. 27 12:04:34
#3
Duok koda.
EDIT: tuo paciu metu parasem :]
Redagavo Creatium· 2008 Bal. 27 12:04:11
Parašė pakwaises· 2008 Bal. 27 12:04:58
#4
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#000";
$body_bg = "#000";
$theme_width = "780";
$theme_width_l = "161";
$theme_width_r = "161";
function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td> <img src=\"".THEME."images/grafav3_02.png\" width=\"552\" height=\"239\" border=\"0\" ></td>
<td background=\"".THEME."images/grafav3_03.png\" width=\"228\" height=\"239\" border=\"0\">
<div style=\"padding-left: 10px; padding-right: 2px; padding-bottom: 20px\"><br>
";
if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Sveikas <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='/images/noavatar.png' width='50' hight='50'></td>";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilį</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutes;</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Narių sąrašas</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracija</a><br><br><br><br>\n";
echo " <table align='center'><tr>";
echo "<td class='login'><font size='-2'><b>Pridėti:</b></font>
<a href='".ADMIN."news.php".$aidlink."' class='side'><font size='-2'>Naujiena</font></a>
<a href='".ADMIN."articles.php".$aidlink."' class='side'><font size='-2'>Straipsnį</font></a>
<a href='".ADMIN."weblinks.php".$aidlink."' class='side'><font size='-2'>Nuorodą</font></a>
<a href='".ADMIN."downloads.php".$aidlink."' class='side'><font size='-2'>Siuntinį</font></a>
</td>\n";
echo "</tr></table>";
}{echo "<br>
<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a></div>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('PM : %u ' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>
Nickas <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
Slaptažodis <input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br>
<br>
<input type='submit' name='login' value='' class='loguj'>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='side'>Registracija</a> / \n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='side'>Slaptažodis</a>
</div>\n";
}
closesidel();
echo "</div>
</td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td> <img src=\"".THEME."images/grafav3_05.png\" width=\"297\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td background=\"".THEME."images/grafav3_06.png\" width=\"234\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 22px; padding-left: 20px; padding-right: 29px\">";
if ($settings['maintenance'] != "1") {
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "<br>\n";
}
echo "</div>
</td>
<td background=\"".THEME."images/grafav3_07.png\" width=\"249\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 11px; padding-left: 18px; padding-right: 23px; padding-top: 27px\">";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</div>
</td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
</table>
</td>
</tr>
<tr></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table border=\"0\" align='center' cellpadding='0' cellspacing='0' ><tr>
<td><img src=\"".THEME."images/grafav3_20.png\" width=\"780\" height=\"50\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr></table>
<table border=\"0\" align='center' cellpadding='0' cellspacing='0' ><tr>
<td background=\"".THEME."images/grafav3_21.png\" width=\"780\" height=\"207\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<center><a href=''><img src='linkas' border=\"1\" alt=\"[Reklama]\"> </a></center>
</td>
</tr></table>
<table background=\"".THEME."images/grafav3_22.png\" width=\"780\" height=\"53\" border=\"0\" align='center' cellpadding='0' cellspacing='0' >
<tr>";
echo "<td align='center' class='footer' style=\" padding-top:10px; padding-left: 10px; padding-right: 5px border=\"0\" alt=\"\">";
if ($license == false) {
echo "<a href='http://php-fusion.co.uk'>Powered by</a> | <a href='http://grafa.biz'>Theme And Design</a>";
}
echo "</td>";
echo "<td class='footer' align='center' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">".stripslashes($settings['footer'])."</td>";
echo "<td class='footer' align='center' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
echo "</td>";
echo "<td class='footer' align='right' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
echo "<span >".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='4%' align='right'>";
echo "</tr></table>
</td></tr></table>";
}
function render_news($subject, $news, $info) {
global $settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"527\">
<tr>
<td background=\"".THEME."images/grafav3_14.png\" width=\"527\" height=\"52\" style=\" border=\"0\" alt=\"\" class='capmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/grafav3_16.png\" width=\"527\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
$news<br>
</td></tr><tr>
<td background=\"".THEME."images/grafav3_18.png\" width=\"527\" height=\"43\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarai: ".$info['news_comments'].$locale['043']."</a> | Peržiūrų:
".$info['news_reads'].$locale['044']." razy.
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></td></tr>
</table>
</td></tr>
</table>
";
}
function render_article($subject, $article, $info) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>
<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"527\">
<tr>
<td background=\"".THEME."images/grafav3_14.png\" width=\"527\" height=\"52\" border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/grafav3_16.png\" width=\"527\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";
}
function closetable() {
echo "
</td></tr><tr>
<td><img src=\"".THEME."images/grafav3_18.png\" width=\"527\" height=\"43\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"253\">
<tr>
<td background=\"".THEME."images/grafav3_15.png\" width=\"253\" height=\"52\" border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/grafav3_17.png\" width=\"253\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">
\n";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/grafav3_17.png\" width=\"253\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='5'></td></tr>
</table>\n";
}
?>
Redagavo pakwaises· 2008 Bal. 27 12:04:45
Parašė Creatium· 2008 Bal. 27 12:04:51
#5
Isjunk smailus
Redagavo Creatium· 2008 Bal. 27 12:04:22
Parašė Enzo· 2008 Bal. 27 12:04:38
#6
Death parašė:
Isjunk smailus
spausk cituoti ir bus tau kodas
Parašė Creatium· 2008 Bal. 27 12:04:56
#7
Bandyk taip:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#000";
$body_bg = "#000";
$theme_width = "780";
$theme_width_l = "161";
$theme_width_r = "161";
function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td> <img src=\"".THEME."images/grafav3_02.png\" width=\"552\" height=\"239\" border=\"0\" ></td>
<td background=\"".THEME."images/grafav3_03.png\" width=\"228\" height=\"239\" border=\"0\">
<div style=\"padding-left: 10px; padding-right: 2px; padding-bottom: 20px\"><br>
";
if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Sveikas <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='/images/noavatar.png' width='50' hight='50'></td>";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilį</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutes;</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Narių sąrašas</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracija</a><br><br><br><br>\n";
echo " <table align='center'><tr>";
echo "<td class='login'><font size='-2'><b>Pridėti:</b></font>
<a href='".ADMIN."news.php".$aidlink."' class='side'><font size='-2'>Naujiena</font></a>
<a href='".ADMIN."articles.php".$aidlink."' class='side'><font size='-2'>Straipsnį</font></a>
<a href='".ADMIN."weblinks.php".$aidlink."' class='side'><font size='-2'>Nuorodą</font></a>
<a href='".ADMIN."downloads.php".$aidlink."' class='side'><font size='-2'>Siuntinį</font></a>
</td>\n";
echo "</tr></table>";
}{echo "<br>
<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a></div>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('PM : %u ' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>
Nickas <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
Slaptažodis <input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br>
<br>
<input type='submit' name='login' value='' class='loguj'>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='side'>Registracija</a> / \n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='side'>Slaptažodis</a>
</div>\n";
}
closesidel();
echo "</div>
</td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td> <img src=\"".THEME."images/grafav3_05.png\" width=\"297\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td background=\"".THEME."images/grafav3_06.png\" width=\"234\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 22px; padding-left: 20px; padding-right: 29px padding-top: 27px\">";
if ($settings['maintenance'] != "1") {
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "<br>\n";
}
echo "</div>
</td>
<td background=\"".THEME."images/grafav3_07.png\" width=\"249\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 11px; padding-left: 18px; padding-right: 23px; padding-top: 27px\">";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</div>
</td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
</table>
</td>
</tr>
<tr></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table border=\"0\" align='center' cellpadding='0' cellspacing='0' ><tr>
<td><img src=\"".THEME."images/grafav3_20.png\" width=\"780\" height=\"50\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr></table>
<table border=\"0\" align='center' cellpadding='0' cellspacing='0' ><tr>
<td background=\"".THEME."images/grafav3_21.png\" width=\"780\" height=\"207\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<center><a href=''><img src='linkas' border=\"1\" alt=\"[Reklama]\"> </a></center>
</td>
</tr></table>
<table background=\"".THEME."images/grafav3_22.png\" width=\"780\" height=\"53\" border=\"0\" align='center' cellpadding='0' cellspacing='0' >
<tr>";
echo "<td align='center' class='footer' style=\" padding-top:10px; padding-left: 10px; padding-right: 5px border=\"0\" alt=\"\">";
if ($license == false) {
echo "<a href='http://php-fusion.co.uk'>Powered by</a> | <a href='http://grafa.biz'>Theme And Design</a>";
}
echo "</td>";
echo "<td class='footer' align='center' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">".stripslashes($settings['footer'])."</td>";
echo "<td class='footer' align='center' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
echo "</td>";
echo "<td class='footer' align='right' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
echo "<span >".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='4%' align='right'>";
echo "</tr></table>
</td></tr></table>";
}
function render_news($subject, $news, $info) {
global $settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"527\">
<tr>
<td background=\"".THEME."images/grafav3_14.png\" width=\"527\" height=\"52\" style=\" border=\"0\" alt=\"\" class='capmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/grafav3_16.png\" width=\"527\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
$news<br>
</td></tr><tr>
<td background=\"".THEME."images/grafav3_18.png\" width=\"527\" height=\"43\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarai: ".$info['news_comments'].$locale['043']."</a> | Peržiūrų:
".$info['news_reads'].$locale['044']." razy.
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></td></tr>
</table>
</td></tr>
</table>
";
}
function render_article($subject, $article, $info) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>
<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"527\">
<tr>
<td background=\"".THEME."images/grafav3_14.png\" width=\"527\" height=\"52\" border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/grafav3_16.png\" width=\"527\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";
}
function closetable() {
echo "
</td></tr><tr>
<td><img src=\"".THEME."images/grafav3_18.png\" width=\"527\" height=\"43\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"253\">
<tr>
<td background=\"".THEME."images/grafav3_15.png\" width=\"253\" height=\"52\" border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/grafav3_17.png\" width=\"253\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">
\n";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/grafav3_17.png\" width=\"253\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='5'></td></tr>
</table>\n";
}
?>
P.S. aciu Enzo, nepagalvojau, kad taip rodys :)
Redagavo Creatium· 2008 Bal. 27 12:04:33
Parašė pakwaises· 2008 Bal. 27 12:04:20
#8
dar taspats :)
Parašė Creatium· 2008 Bal. 27 12:04:16
#9
Dabar tikrai turetu veikti :D
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#000";
$body_bg = "#000";
$theme_width = "780";
$theme_width_l = "161";
$theme_width_r = "161";
function render_header($header_content) {
global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td> <img src=\"".THEME."images/grafav3_02.png\" width=\"552\" height=\"239\" border=\"0\" ></td>
<td background=\"".THEME."images/grafav3_03.png\" width=\"228\" height=\"239\" border=\"0\">
<div style=\"padding-left: 10px; padding-right: 2px; padding-bottom: 20px\"><br>
";
if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Sveikas <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td align='center' height='1%'>";
echo "<img src='/images/noavatar.png' width='50' hight='50'></td>";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilį</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutes;</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Narių sąrašas</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracija</a><br><br><br><br>\n";
echo " <table align='center'><tr>";
echo "<td class='login'><font size='-2'><b>Pridėti:</b></font>
<a href='".ADMIN."news.php".$aidlink."' class='side'><font size='-2'>Naujiena</font></a>
<a href='".ADMIN."articles.php".$aidlink."' class='side'><font size='-2'>Straipsnį</font></a>
<a href='".ADMIN."weblinks.php".$aidlink."' class='side'><font size='-2'>Nuorodą</font></a>
<a href='".ADMIN."downloads.php".$aidlink."' class='side'><font size='-2'>Siuntinį</font></a>
</td>\n";
echo "</tr></table>";
}{echo "<br>
<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a></div>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('PM : %u ' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>
Nickas <input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
Slaptažodis <input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br>
<br>
<input type='submit' name='login' value='' class='loguj'>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='side'>Registracija</a> / \n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='side'>Slaptažodis</a>
</div>\n";
}
closesidel();
echo "</div>
</td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>
<td> <img src=\"".THEME."images/grafav3_05.png\" width=\"297\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td background=\"".THEME."images/grafav3_06.png\" width=\"234\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 11px; padding-left: 20px; padding-right: 29px padding-top: 27px\">";
if ($settings['maintenance'] != "1") {
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "<br>\n";
}
echo "</div>
</td>
<td background=\"".THEME."images/grafav3_07.png\" width=\"249\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 11px; padding-left: 18px; padding-right: 23px; padding-top: 27px\">";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</div>
</td>
</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
</table>
</td>
</tr>
<tr></tr>
<tr>
<td>\n";
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"780\">
<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table border=\"0\" align='center' cellpadding='0' cellspacing='0' ><tr>
<td><img src=\"".THEME."images/grafav3_20.png\" width=\"780\" height=\"50\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr></table>
<table border=\"0\" align='center' cellpadding='0' cellspacing='0' ><tr>
<td background=\"".THEME."images/grafav3_21.png\" width=\"780\" height=\"207\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<center><a href=''><img src='linkas' border=\"1\" alt=\"[Reklama]\"> </a></center>
</td>
</tr></table>
<table background=\"".THEME."images/grafav3_22.png\" width=\"780\" height=\"53\" border=\"0\" align='center' cellpadding='0' cellspacing='0' >
<tr>";
echo "<td align='center' class='footer' style=\" padding-top:10px; padding-left: 10px; padding-right: 5px border=\"0\" alt=\"\">";
if ($license == false) {
echo "<a href='http://php-fusion.co.uk'>Powered by</a> | <a href='http://grafa.biz'>Theme And Design</a>";
}
echo "</td>";
echo "<td class='footer' align='center' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">".stripslashes($settings['footer'])."</td>";
echo "<td class='footer' align='center' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
echo "</td>";
echo "<td class='footer' align='right' style=\" padding-top:10px; padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
echo "<span >".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='4%' align='right'>";
echo "</tr></table>
</td></tr></table>";
}
function render_news($subject, $news, $info) {
global $settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"527\">
<tr>
<td background=\"".THEME."images/grafav3_14.png\" width=\"527\" height=\"52\" style=\" border=\"0\" alt=\"\" class='capmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/grafav3_16.png\" width=\"527\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">
$news<br>
</td></tr><tr>
<td background=\"".THEME."images/grafav3_18.png\" width=\"527\" height=\"43\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarai: ".$info['news_comments'].$locale['043']."</a> | Peržiūrų:
".$info['news_reads'].$locale['044']." razy.
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></td></tr>
</table>
</td></tr>
</table>
";
}
function render_article($subject, $article, $info) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>
<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>
</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"527\">
<tr>
<td background=\"".THEME."images/grafav3_14.png\" width=\"527\" height=\"52\" border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/grafav3_16.png\" width=\"527\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";
}
function closetable() {
echo "
</td></tr><tr>
<td><img src=\"".THEME."images/grafav3_18.png\" width=\"527\" height=\"43\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"253\">
<tr>
<td background=\"".THEME."images/grafav3_15.png\" width=\"253\" height=\"52\" border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/grafav3_17.png\" width=\"253\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">
\n";
}
function closeside() {
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/grafav3_17.png\" width=\"253\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='5'></td></tr>
</table>\n";
}
?>
Parašė pakwaises· 2008 Bal. 27 12:04:30
#10
Biski nusileido bet nedaug :)
Redagavo pakwaises· 2008 Bal. 27 12:04:54
Parašė Creatium· 2008 Bal. 27 13:04:52
#11
Nu tai pasikoreguot reik sia vieta:
<td> <img src=\"".THEME."images/grafav3_05.png\" width=\"297\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
<td background=\"".THEME."images/grafav3_06.png\" width=\"234\" height=\"253\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\">
<div style=\"padding-bottom: 11px; padding-left: 20px; padding-right: 29px padding-top: 27px\">";
Parašė pakwaises· 2008 Bal. 27 13:04:55
#12
o cia man wenam taip rodyt negali :?
Parašė Creatium· 2008 Bal. 27 13:04:34
#13
Nu abejoju. Duok saito nuoroda, paziuresiu ar ir man taip rodo.
Parašė pakwaises· 2008 Bal. 27 13:04:09
#14
ai va viskas veikia , patikrino jau , dekui ;)
Parašė _MaZvE_· 2008 Geg. 30 14:05:10
#15
O kodel theme.php migtukai neiterpti? ;)
Parašė _MaZvE_· 2008 Geg. 30 15:05:08
#16
Sorry, kad prikeliu tema.Migtukus susitvarkiau-veikia.Bet gal žinot kai aš rašau savo saite į šaukykla man nerodo teksto.O su kitomis themomis rodo. . .Gal žinot kur ka pakeisti styles.css? štai kodas:
a {
color:#000;
text-decoration:none;
}
a:hover {
color:#585858;
text-decoration:none;
}
a.side {
color:#000;
text-decoration:none;
}
a:hover.side {
color:#000;
text-decoration:none;
}
a.menucz {
color:#000;
text-decoration:none;
width:100%;
height:100%;
}
a:hover.menucz {
color:#F2F2F2;
text-decoration:none;
padding-left: 1px;
width:100%;
height:100%;
font-weight: bolder;
}
a.white {
color:#000;
text-decoration:none;
}
a:hover.white {
color:#C5B397;
text-decoration:none;
}
body {
background-color: #fff;
background-image:url(images/grafav3_01.png);
background-repeat:repeat-x;
color: #000; font-family:
Verdana; font-size: 10px;
margin-left:25px;
margin-right:25px;
margin-top:-0px;
margin-bottom:-0px;
}
img {
behavior: url(iepngfix.htc);
}
form {
margin:0px 0px 0px 0px;
}
hr {
border-top:1px #626262 solid;
border-bottom:1px #7A7A7A solid;
}
hr.side-hr {
border:1px #333333 solid;
border-bottom:1px #333333 solid;
}
td {
color: #000;
font-family: Tahoma;
font-size: 11px;
behavior: url(iepngfix.htc);
}
pre {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
border: 2px solid #262626;
background-color: #CECECE;
color:#0E0E0E;
padding: 10px;
font-weight: bolder;
}
textarea {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
border: 2px solid #262626;
background-color: #CECECE;
color:#0E0E0E;
padding: 10px;
font-weight: bolder;
width: 100%;
}
.topnav {
font-size:11px;
font-family:verdana;
background:#000000;
color:#9fa7b2;
}
.alt {
color:#ccc;
}
.header {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#C3BFB5;
background-color:#000;
padding:5px;
}
.header2 {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#C3BFB5;
padding:0px 4px 4px 4px;
}
.sub-l {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
height:25px;
color:#000;
background-image:url(images/sub.gif);
padding:0px;
}
.sub-r {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#000;
height:25px;
background-image:url(images/sub.gif);
padding:0px;
}
.sub-m {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;font-weight:normal;
font-weight:bold;
color:#000;
height:25px;
padding:0px 0px 0px 0px;
background-image:url(images/sub.gif);
background-repeat:repeat-x;
}
.top-t {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#C3BFB5;
background-image:url(images/head.gif);
padding:0px;
}
.footer {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;
color:#000;
border:#aaa 0px solid;
}
.footer2 {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#fff;
padding:10px;
}
.button {
font-family:Tahoma,Arial,Verdana,Sans-Serif;
font-size:10px;
color:#0E0E0E;
background-color: #eeeeee;
border:#000 1px solid;
margin-top:2px;
height:20px;
}
.textbox {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
color:#000;
background-color: #eeeeee;
border:1px #000 solid;
width: 100%;
}
.main-bg {
color : #777;
background-image: url(images/grafav3_16.png);
background-repeat:repeat-y;
background-color:#FFFFFF;
padding:0px 0px 0px 0px;
}
.side-border-left {
color : #777;
background-image: url(images/grafav3_17.png);
background-repeat:repeat-y;
background-color:#FFFFFF;
padding:0px 0px 0px 0px;
}
.side-border-right {
color : #777;
background-image: url(images/grafav3_17.png);
background-repeat:repeat-y;
background-color:#FFFFFF;
padding:0px 0px 0px 0px;
}
.main-body {
font-size:11px;
color:#000;
background-color:#4E4E4E;
padding:0px 0px 0px 0px;
}
.side-body {
font-size:9px;
color:#000;
background-color:#4E4E4E;
padding:0px 0px 0px 0px;
}
.border {
background-color:#ECB23C;
border:1px #004a80 solid;
}
.infobar {
font-size:9px;
color:#C3BFB5;
background-color:#000;
padding:3px 4px 3px 4px;
}
.sidi-top-left {
width:14px;
height:24px;
background-image:url(images/sidi-top-left.gif);
}
.sidi-top-right {
width:14px;
height:24px;
background-image:url(images/sidi-top-right.gif);
}
.sidi-top-main {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;font-weight:normal;
font-weight:bold;
color:#EEA21C;
height:24px;
padding:0px 0px 0px 0px;
background-image:url(images/sidi-top-main.gif);
background-repeat:repeat-x;
}
.sidi-left {
width:14px;
background-image:url(images/side_left.gif);
background-repeat:repeat-y;
}
.sidi-right {
width:14px;
background-image:url(images/side_right.gif);
background-repeat:repeat-y;
}
.border-dol {
width:14px;
height:24px;
background-image:url(images/side_left_dk.gif);
}
.border-dor {
width:14px;
height:24px;
background-image:url(images/side_right_dk.gif);
}
.border-dos {
height:24px;
background-image:url(images/side_s_d.gif);
background-repeat:repeat-x;
}
.vudel-d {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:5px;font-weight:normal;
font-weight:bold;
color:#000;
height:24px;
padding:0px 0px 0px 0px;
background-image:url(images/vudel_d.gif);
background-repeat:repeat-x;
}
.side-caption {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
color:#000;
background-color:#ff9900;
padding:0px 4px 3px 4px;
}
.leftside {
width:45px;
background-image:url(images/blank.gif);
background-repeat:repeat-y;
}
.rightside {
width:45px;
background-image:url(images/blank.gif);
background-repeat:repeat-y;
}
.tbl-border { }
.tbl {
font-size:11px;
padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:11px;
color:#000;
background-image:url(images/c.png);
padding:4px;
behavior: url(iepngfix.htc);
}
.tbl2 {
font-size:11px;
color:#000;
background-image:url(images/j.png);
padding:4px;
behavior: url(iepngfix.htc);
}
.forum-caption {
font-size:10px;
font-weight:bold;
color:#000000;
background-image:url(images/forum_cats.png) ;
padding:2px 4px 4px 4px;
behavior: url(iepngfix.htc);
}
.quote {
color:#C3BFB5;
background-color:#1B5293;
padding:2px;
margin:0px 20px 0px 20px;
border:1px #000 solid;
}
.poll {
height:12px;
border:1px #838383 solid;
}
.comment-name {
font-weight:bold;
color:#42FF00;
}
.shoutboxname {
font-weight:bold;
color:#42FF00;
}
.shoutbox {
color:#fff;
}
.shoutboxdate {
font-size:9px;
color:#D4D4D4;
text-align:right;
}
.small {
font-size:11px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
color:#000;
}
.side-small {
font-size:9px;
font-weight:normal;
color:#333;
}
.side-label {
background-color:#313132;
padding:2px;
}
.gallery {
padding: 16px 0px 8px 0px;
}
.gallery img {
border: 1px solid #333333; filter: gray;
}
.gallery:hover img {
border: 1px solid #000; filter: none;
}
img.activegallery {
border: 1px solid green; filter: none;
}
.panellogowania_texbox {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
width : 136px ;
height : 25px ;
color:#000;
background-image:url(images/logowania_textbox.gif);
border:0px #ccc solid;
}
.loguj {
font-family:Tahoma,Arial,Verdana,Sans-Serif;
font-size:10px;
color:#0E0E0E;
background-image:url(images/loguj.gif);
border:#666 0px solid;
width : 63px ;
height:26px;
}
.opensidewhite {
font-family:Tahoma,Arial,Verdana,Sans-Serif;
font-size:11px;
color:#000;
border:#666 0px solid;
margin-top:2px;
}
.scapmain {
font-family : Trebuchet MS, Sans-Serif;
font-size : 18px;
font-weight : bold;
color : #415d6f;
padding : 5px 5px 0px 20px;
}
.capmain {
font-family : Trebuchet MS, Sans-Serif;
font-size : 18px;
font-weight : bold;
color : #415d6f;
padding : 5px 5px 0px 35px;
}