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