Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padekite!Del patobulinimo
Parašė robert· 2008 Kov. 1 19:03:30
#1
Man reikia kad nebutu tu apibaruktu lenteliu...
O va cia theme.php failas...
<html><head>
<script type='text/javascript' src='ddtabmenufiles/ddtabmenu.js'>
</script>
</head></html>
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| GlossyPink for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusionate Themes / |
| Benjamin Eriksen © 2007 |
| web: none yet |
| email: benjamin.eriksen@gmail.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
require_once "menu.php";
/* Theme Settings */
$body_text = "#000000";
$body_bg = "#828282";
$theme_width = "100%";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr>";
echo "<td width='10%' height='135px'> </td><td width='80%' height='135px'>";
echo "<img src='".THEME."images/logo.png' align='right'></td>";
echo "<td width='10%' height='135px'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr height='35px'>";
// Start menu code
echo "<td width='10%' valign='bottom'><div class='menuline'> </div></td><td width='80%'>";
echo "<div id='menu' class='menu'><ul>".showsublinksnew('');
echo "</ul></div><div class='menuline'> </div>";
echo "</td><td width='10%' valign='bottom'><div class='menuline'> </div></td></tr><tr></table>";
// End menu code
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='2' bgcolor='#ffffff' cellspacing='0' border='0'><tr height='5px'><tr>";
echo "<td width='10%' bgcolor='#ffffff'></td>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale,$db_prefix,$userdata,$aidlink;
echo "<td width='10%' bgcolor='#ffffff'></td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='bottom'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr height='225px'><td width='28%'>";
echo "<table width='100%'><tr><td class='bottom-header' width='100%'>";
if (iMEMBER) {
echo "".$locale['024']." ".$userdata['user_name']."</td></tr><tr valign='top'><td class='bottom2'><br>";
$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'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
} else {
echo "".$locale['060']."</td></tr><tr valign='top'><td class='bottom2'><br>";
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "".$locale['065']."<br><br>\n";
}
echo $locale['066']."
</div>\n";
}
echo "</td></tr></table></td><td width='3%'></td>";
echo "<td height='225px' width='28%' align='center'>";
echo "<table width='100%'><tr><td class='bottom-header' width='100%'>";
echo "".$locale['010']."</td></tr><tr valign='top'><td class='bottom2'><br><center>";
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery(
"SELECT ton.*, tu.user_id,user_name FROM ".$db_prefix."online ton
LEFT JOIN ".$db_prefix."users tu ON ton.online_user=tu.user_id"
);
$guests = 0; $members = array();
while ($data = dbarray($result)) {
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
}
}
echo "<font size='4px'>".$locale['011'].$guests."</font><br>\n";
if (count($members) > 0) {
$i = 1;
echo "".$locale['012'];
while (list($key, $member) = each($members)) {
echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";
if ($i != count($members)) echo ", ";
$i++;
}
echo "<br>\n";
} else {
echo $locale['013']."<br>\n";
}
echo "<br><font size='4px'>".$locale['014'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</font><br>\n";
if ($settings['admin_activation'] == "1") echo "".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "".$locale['016']."<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a>\n";
}
echo "</center></td></tr></table></td><td width='3%'></td>";
echo "<td height='225px' width='28%' align='center'>";
echo "<table width='100%'><tr><td class='bottom-header' width='100%'>";
echo "".$locale['020']."</td></tr><tr valign='top'><td class='bottom2'><br>";
echo "<font size='4px'>".$locale['021']."</font><br>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
$result = dbquery("
SELECT * FROM ".$db_prefix."threads
INNER JOIN ".$db_prefix."forums ON ".$db_prefix."threads.forum_id=".$db_prefix."forums.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY thread_lastpost DESC LIMIT 4
");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['thread_subject'], 23);
echo "<tr>\n<td class='side-small2'>· <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."' title='".$data['thread_subject']."' class='side'>$itemsubject</a></td></tr>\n";
}
echo "</table>\n";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "<br><font size='4px'>".$locale['022']."</font><br>\n";
$result = dbquery("
SELECT tf.forum_id, tt.thread_id, tt.thread_subject, COUNT(tp.post_id) as count_posts
FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN ".$db_prefix."posts tp USING(thread_id)
WHERE ".groupaccess('forum_access')." GROUP BY thread_id ORDER BY count_posts DESC, thread_lastpost DESC LIMIT 4
");
if (dbrows($result) != 0) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['thread_subject'], 20);
echo "<tr>\n<td class='side-small2'>· <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."' title='".$data['thread_subject']."' class='side'>$itemsubject</a></td>
<td align='right' class='side-small2'>[".($data['count_posts']-1)."]</td>\n</tr>\n";
}
echo "</table>\n";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</td></tr></table>";
echo "</td><td width='10%'></td></tr></table></td>";
echo "</tr></table></td></tr></table>";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' align='left' class='footer'>";
echo "<a href='mailto:benjamin.eriksen@gmail.com'><img src='".THEME."images/footer-logo.png'></a>";
echo "<img src='".THEME."images/footer-split.png'>";
echo "<a href='http://php-fusion.co.uk' target='_blank'><img src='".THEME."images/footer-phpfusion.png'></a>";
echo "</td>";
echo "<td height='25' width='20%' align='left' class='footer'>".stripslashes($settings['footer'])."";
echo "<td height='25' width='35%' align='right' class='footer'>";
echo "<font class='visits'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='10%'></td></tr></table></td>";
echo "</tr></table>";
echo "</table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table bgcolor='#ffffff' cellspacing='0' width='100%' cellpadding='3'></tr><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ".newsposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>".articleposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border' cellpadding='0'>
<tr height='3px'><td></td></tr>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td width='100%' class='border-tmain'>$title</td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td class='border-tmain'>$title</td>";
echo "<td align='right' class='border-tmain'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Parašė kakis· 2008 Kov. 1 19:03:49
#2
tai nuimk paveiksliukus t.y. tuos bruksnius paziurek kaip jie pavadinti images foldery ir tada istrink juos is theme
Parašė robert· 2008 Kov. 1 19:03:30
#3
Ne taip supratai, as apibraukiau ko man nereikia :]:]:]
Parašė Giedrunskis· 2008 Kov. 1 19:03:32
#4
Pamegink taip:
<html><head>
<script type='text/javascript' src='ddtabmenufiles/ddtabmenu.js'>
</script>
</head></html>
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| GlossyPink for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusionate Themes / |
| Benjamin Eriksen © 2007 |
| web: none yet |
| email: benjamin.eriksen@gmail.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
require_once "menu.php";
/* Theme Settings */
$body_text = "#000000";
$body_bg = "#828282";
$theme_width = "100%";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr>";
echo "<td width='10%' height='135px'> </td><td width='80%' height='135px'>";
echo "<img src='".THEME."images/logo.png' align='right'></td>";
echo "<td width='10%' height='135px'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr height='35px'>";
// Start menu code
echo "<td width='10%' valign='bottom'><div class='menuline'> </div></td><td width='80%'>";
echo "<div id='menu' class='menu'><ul>".showsublinksnew('');
echo "</ul></div><div class='menuline'> </div>";
echo "</td><td width='10%' valign='bottom'><div class='menuline'> </div></td></tr><tr></table>";
// End menu code
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='2' bgcolor='#ffffff' cellspacing='0' border='0'><tr height='5px'><tr>";
echo "<td width='10%' bgcolor='#ffffff'></td>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale,$db_prefix,$userdata,$aidlink;
echo "<td width='10%' bgcolor='#ffffff'></td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='bottom'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr height='225px'><td width='28%'>";
echo "<table width='100%'><tr><td class='bottom-header' width='100%'>";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' align='left' class='footer'>";
echo "<a href='mailto:benjamin.eriksen@gmail.com'><img src='".THEME."images/footer-logo.png'></a>";
echo "<img src='".THEME."images/footer-split.png'>";
echo "<a href='http://php-fusion.co.uk' target='_blank'><img src='".THEME."images/footer-phpfusion.png'></a>";
echo "</td>";
echo "<td height='25' width='20%' align='left' class='footer'>".stripslashes($settings['footer'])."";
echo "<td height='25' width='35%' align='right' class='footer'>";
echo "<font class='visits'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='10%'></td></tr></table></td>";
echo "</tr></table>";
echo "</table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table bgcolor='#ffffff' cellspacing='0' width='100%' cellpadding='3'></tr><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ".newsposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>".articleposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border' cellpadding='0'>
<tr height='3px'><td></td></tr>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td width='100%' class='border-tmain'>$title</td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td class='border-tmain'>$title</td>";
echo "<td align='right' class='border-tmain'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Parašė robert· 2008 Kov. 1 20:03:38
#5
Liudas, veikia,bet gal galima kaip nors padaryti ,kad tos apacios visiskai nebutu.. Tik tokia juoda juosta.. Be jokiu Copyright'u ir unikaliu apsilankymu, tik juoda linija,ir nebutu tokio tarpo, ir kad butu per visa tinklalapio apacia....
Manau supratai mane :D
Redagavo robert· 2008 Kov. 1 20:03:48
Parašė Giedrunskis· 2008 Kov. 1 20:03:47
#6
Ziurim ka turim:
<html><head>
<script type='text/javascript' src='ddtabmenufiles/ddtabmenu.js'>
</script>
</head></html>
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| GlossyPink for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusionate Themes / |
| Benjamin Eriksen © 2007 |
| web: none yet |
| email: benjamin.eriksen@gmail.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
require_once "menu.php";
/* Theme Settings */
$body_text = "#000000";
$body_bg = "#828282";
$theme_width = "100%";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr>";
echo "<td width='10%' height='135px'> </td><td width='80%' height='135px'>";
echo "<img src='".THEME."images/logo.png' align='right'></td>";
echo "<td width='10%' height='135px'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr height='35px'>";
// Start menu code
echo "<td width='10%' valign='bottom'><div class='menuline'> </div></td><td width='80%'>";
echo "<div id='menu' class='menu'><ul>".showsublinksnew('');
echo "</ul></div><div class='menuline'> </div>";
echo "</td><td width='10%' valign='bottom'><div class='menuline'> </div></td></tr><tr></table>";
// End menu code
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='2' bgcolor='#ffffff' cellspacing='0' border='0'><tr height='5px'><tr>";
echo "<td width='10%' bgcolor='#ffffff'></td>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale,$db_prefix,$userdata,$aidlink;
echo "<td width='10%' bgcolor='#ffffff'></td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='bottom'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr height='225px'><td width='28%'>";
echo "<table width='100%'><tr><td class='bottom-header' width='100%'>";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' align='left' class='footer'>";
echo "<img src='".THEME."images/footer-split.png'>";
echo "</td>";
echo "<td height='25' width='20%' align='left' class='footer'>";
echo "<td height='25' width='35%' align='right' class='footer'>";
echo "</td><td width='10%'></td></tr></table></td>";
echo "</tr></table>";
echo "</table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table bgcolor='#ffffff' cellspacing='0' width='100%' cellpadding='3'></tr><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ".newsposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>".articleposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border' cellpadding='0'>
<tr height='3px'><td></td></tr>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td width='100%' class='border-tmain'>$title</td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td class='border-tmain'>$title</td>";
echo "<td align='right' class='border-tmain'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Redagavo Giedrunskis· 2008 Kov. 1 20:03:05
Parašė robert· 2008 Kov. 1 20:03:04
#7
Ne Copyright'u nerodo bet ta juoda linija kaip kazkokia atsiskyrele nesusijungia su tinklalapiu, stovi toj pacioj vietoj kaip ir stovejo..
Gal kas zino kaip padaryti, kad ji butu prilipusi prie tinklalapio o ne kazkur atitolusi.... :|
Parašė Giedrunskis· 2008 Kov. 1 21:03:59
#8
nesuprantu ka cia vapalioji... ?|
Redagavo Giedrunskis· 2008 Kov. 1 21:03:09
Parašė robert· 2008 Kov. 1 21:03:08
#9
Nu va ziurek...
Is pat pradziu buvo taip..
Veliau buvo taip..
O dabar va taip..
bet as noriu kad ta juoda linija butu cia...
Gal dabar suprasi ?? ?|
Redagavo robert· 2008 Kov. 1 21:03:45
Parašė Giedrunskis· 2008 Kov. 1 21:03:03
#10
function render_footer($license=false) {
global $theme_width,$settings,$locale,$db_prefix,$userdata,$aidlink;
echo "<td width='10%' bgcolor='#ffffff'></td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='bottom'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr height='225px'><td width='28%'>";
echo "<table width='100%'><tr><td class='bottom-header' width='100%'>";
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' align='left' class='footer'>";
echo "</td>";
echo "<td height='25' width='20%' align='left' class='footer'>";
echo "<td height='25' width='35%' align='right' class='footer'>";
echo "</td><td width='10%'></td></tr></table></td>";
echo "</tr></table>";
echo "</table>";
}
Megink pats pasidaryti... Nera laiko ir siaip tyngiu knistis po ta theme.php
Parašė robert· 2008 Kov. 1 22:03:46
#11
Nu padek padaryti prasau, as dar zalias tame
php-fusion.. :(:(:(:(
Parašė robert· 2008 Kov. 1 22:03:45
#12
Viskas, jua nereikia pagalobas, pats susitvarkiau c|
Va kaip turejo atrodyti kodas...
<html><head>
<script type='text/javascript' src='ddtabmenufiles/ddtabmenu.js'>
</script>
</head></html>
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| GlossyPink for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusionate Themes / |
| Benjamin Eriksen © 2007 |
| web: none yet |
| email: benjamin.eriksen@gmail.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
require_once "menu.php";
/* Theme Settings */
$body_text = "#000000";
$body_bg = "#828282";
$theme_width = "100%";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr>";
echo "<td width='10%' height='135px'> </td><td width='80%' height='135px'>";
echo "<img src='".THEME."images/logo.png' align='right'></td>";
echo "<td width='10%' height='135px'></td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' class='full-header'><tr height='35px'>";
// Start menu code
echo "<td width='10%' valign='bottom'><div class='menuline'> </div></td><td width='80%'>";
echo "<div id='menu' class='menu'><ul>".showsublinksnew('');
echo "</ul></div><div class='menuline'> </div>";
echo "</td><td width='10%' valign='bottom'><div class='menuline'> </div></td></tr><tr></table>";
// End menu code
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='2' bgcolor='#ffffff' cellspacing='0' border='0'><tr height='5px'><tr>";
echo "<td width='10%' bgcolor='#ffffff'></td>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale,$db_prefix,$userdata,$aidlink;
echo "<td width='10%' bgcolor='#ffffff'></td>";
echo "</tr>\n</table>\n";
;
echo "<table cellpadding='2' cellspacing='0' width='$theme_width' class='footer'><tr>";
echo "<td width='10%'></td><td wdith='80%'>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' align='left' class='footer'>";
echo "<a href='mailto:benjamin.eriksen@gmail.com'><img src='".THEME."images/footer-logo.png'></a>";
echo "<img src='".THEME."images/footer-split.png'>";
echo "<a href='http://php-fusion.co.uk' target='_blank'><img src='".THEME."images/footer-phpfusion.png'></a>";
echo "</td>";
echo "<td height='25' width='20%' align='left' class='footer'>".stripslashes($settings['footer'])."";
echo "<td height='25' width='35%' align='right' class='footer'>";
echo "<font class='visits'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='10%'></td></tr></table></td>";
echo "</tr></table>";
echo "</table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table bgcolor='#ffffff' cellspacing='0' width='100%' cellpadding='3'></tr><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ".newsposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
echo "<td class='panel'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>".articleposter($info)."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border' cellpadding='0'>
<tr height='3px'><td></td></tr>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td width='100%' class='border-tmain'>$title</td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-tleft'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "<td class='border-tmain'>$title</td>";
echo "<td align='right' class='border-tmain'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='right' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='border-tright'><img src='".THEME."images/blank.gif' width='25' height='25' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='25' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
echo "</tr><tr height='11px'></tr></table>\n";
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Redagavo robert· 2008 Kov. 1 22:03:16