Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kaip padaryti theme.php

Parašė remuxs· 2016 Sau. 10 17:01:56
#1

sveiki kaip padaryti kad isoktu kategorijos paspaudus muzika?


//navigacija
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center'>\n<tr>\n";
echo "<td class='navigacija'>
<table width='975'>
<td>
<a href='http://mp3music.wu.lt/' class='nav'>Pagrindinis</a>
<a href='http://mp3music.wu.lt/Muzika' class='nav'>Muzika</a>

cia prie to butu Angliska Lietuviska Rusiska

<a href='http://mp3music.wu.lt/top150' class='nav'>Top 150 dainų</a>
<a href='http://mp3music.wu.lt/new150' class='nav'>New 150 dainų</a>
<a href='http://mp3music.wu.lt/pateikti_daina' class='nav'><font size='3' color='#ff3d44'><font color='#ff3d44'>Pateikti_dainą</a></font>
<a href='http://mp3music.wu.lt/Atsakomybe' class='nav'>Atsakomybė</a>
<a href='http://mp3music.wu.lt/Pagalba' class='nav'>Pagalba</a>

Parašė Pakartoti slaptažodį· 2016 Sau. 10 18:01:32
#2

reikės kažkokį javascript drop-down meniu pritaikyti, imk kuo paprastesnį, kad ir tokį

http://www.javascriptsource.com/...-menu.html

Parašė remuxs· 2016 Sau. 10 18:01:59
#3

o kaip ji cia susitvarkyt :?
bandau lipyt jai nesigaus prasysiu pagalbos

Redagavo remuxs· 2016 Sau. 10 18:01:48

Parašė remuxs· 2016 Sau. 10 18:01:59
#4

kur sita koda det reikia i HEAD kaip suprast

<script type="text/javascript" src="simpleDropDownMenu.js"></script>

Parašė Pakartoti slaptažodį· 2016 Sau. 10 18:01:13
#5

jo, tarp <head> ir </head>

Parašė remuxs· 2016 Sau. 10 18:01:23
#6

sita koda reik sukurt kiek suprantu simpleDropDownMenu.js faila ir imest i thema

/* This script and many more are available free online at
The JavaScript Source!! http://www.javascriptsource.com
Created by: Konstantin Jagello | http://javascript-array.com/ */
var TimeOut = 300;
var currentLayer = null;
var currentitem = null;
var currentLayerNum = 0;
var noClose = 0;
var closeTimer = null;

function mopen(n) {
var l = document.getElementById("menu"+n);
var mm = document.getElementById("mmenu"+n);

if(l) {
mcancelclosetime();
l.style.visibility='visible';
if(currentLayer && (currentLayerNum != n))
currentLayer.style.visibility='hidden';
currentLayer = l;
currentitem = mm;
currentLayerNum = n;
} else if(currentLayer) {
currentLayer.style.visibility='hidden';
currentLayerNum = 0;
currentitem = null;
currentLayer = null;
}
}

function mclosetime() {
closeTimer = window.setTimeout(mclose, TimeOut);
}

function mcancelclosetime() {
if(closeTimer) {
window.clearTimeout(closeTimer);
closeTimer = null;
}
}

function mclose() {
if(currentLayer && noClose!=1) {
currentLayer.style.visibility='hidden';
currentLayerNum = 0;
currentLayer = null;
currentitem = null;
} else {
noClose = 0;
}
currentLayer = null;
currentitem = null;
}

document.onclick = mclose;


sita koda i styles.ccs

#dd {
margin-left: 25%;
padding: 0 0 20px 0;
}

#dd li {
margin: 0;
padding: 0;
list-style: none;
float: left;
font: bold 11px arial;
}

#dd li a.menu {
display: block;
text-align: center;
background: #5970B2;
padding: 4px 10px;
margin: 0 1px 0 0;
color: #FFF;
width: 60px;
text-decoration: none;
}

#dd li a.menu:hover {
background: #49A3FF;
}

.submenu {
background: #EAEBD8;
border: 1px solid #5970B2;
visibility: hidden;
position: absolute;
z-index: 3;
}

.submenu a {
display: block;
font: 11px arial;
text-align: left;
text-decoration: none;
padding: 5px;
color: #2875DE;
}

.submenu a:hover {
background: #49A3FF;
color: #FFF;
}


Sita koda nezinau kur det, reikia idet i į HEAD skyriu
tipo i themes/templates header.php?

<script type="text/javascript" src="simpleDropDownMenu.js"></script>


O sita jau i themes.php

<ul id="dd">
<li><a href="#" class="menu" id="mmenu1"
onmouseover="mopen(1);"
onmouseout="mclosetime();">Home</a>
<div class="submenu" id="menu1"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">HTML Tutorials</a>
<a href="#">DHTML Tutorials</a>
<a href="#">JavaScript Tutorials</a>
<a href="#">CSS Tutorials</a>
</div>
</li>
<li><a href="#" class="menu" id="mmenu2"
onmouseover="mopen(2);"
onmouseout="mclosetime();">Download</a>
<div class="submenu" id="menu2"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">ASP Scripts</a>
<a href="#">PHP Scripts</a>
<a href="#">Ajax Scripts</a>
<a href="#">Perl Scripts</a>
</div>
</li>
<li><a href="#" class="menu">Order</a></li>
<li><a href="#" class="menu">Help</a></li>
<li><a href="#" class="menu" id="mmenu3"
onmouseover="mopen(3);"
onmouseout="mclosetime();">Contact</a>
<div class="submenu" id="menu3"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">Office</a>
<a href="#">Sales</a>
<a href="#">Customer Service</a>
<a href="#">Shipping</a>
</div>
</li>
</ul>

Parašė remuxs· 2016 Sau. 10 23:01:58
#7

Pakartoti slaptažodį parašė:
jo, tarp <head> ir </head>




Taip header.php failiuki?

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";


if ($settings['maintenance'] == "1" && ((iMEMBER && $settings['maintenance_level'] == "1"
&& $userdata['user_id'] != "1") || ($settings['maintenance_level'] > $userdata['user_level'])
)) {
redirect(BASEDIR."maintenance.php");
}
if (iMEMBER) {
$result = dbquery(
"UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."', user_ip_type='".USER_IP_TYPE."'
WHERE user_id='".$userdata['user_id']."'"
);
}

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jquery/jquery.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "</head>\n<body>\n";

<head><script type="text/javascript" src="simpleDropDownMenu.js"></script> </head>

require_once THEMES."templates/panels.php";
ob_start();
?>

Parašė ewl· 2016 Sau. 10 23:01:00
#8


<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";
 
 
if ($settings['maintenance'] == "1" && ((iMEMBER && $settings['maintenance_level'] == "1" 
	&& $userdata['user_id'] != "1") || ($settings['maintenance_level'] > $userdata['user_level'])
)) { 
	redirect(BASEDIR."maintenance.php");
 }
if (iMEMBER) { 
	$result = dbquery(
		"UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."', user_ip_type='".USER_IP_TYPE."'
		WHERE user_id='".$userdata['user_id']."'"
	); 
}
 
echo "<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jquery/jquery.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "script type='text/javascript' src='".INCLUDES."simpleDropDownMenu.js'></script>\n";
echo "</head>\n<body>\n";
 
require_once THEMES."templates/panels.php";
ob_start();
?>


simpleDropDownMenu.js kelk į /includes/

Redagavo ewl· 2016 Sau. 10 23:01:16

Parašė remuxs· 2016 Sau. 11 00:01:50
#9

sita koda kur patalpint ?
#dd {
margin-left: 25%;
padding: 0 0 20px 0;
}

#dd li {
margin: 0;
padding: 0;
list-style: none;
float: left;
font: bold 11px arial;
}

#dd li a.menu {
display: block;
text-align: center;
background: #5970B2;
padding: 4px 10px;
margin: 0 1px 0 0;
color: #FFF;
width: 60px;
text-decoration: none;
}

#dd li a.menu:hover {
background: #49A3FF;
}

.submenu {
background: #EAEBD8;
border: 1px solid #5970B2;
visibility: hidden;
position: absolute;
z-index: 3;
}

.submenu a {
display: block;
font: 11px arial;
text-align: left;
text-decoration: none;
padding: 5px;
color: #2875DE;
}

.submenu a:hover {
background: #49A3FF;
color: #FFF;
}


i styles.ccs?
sitoi vietoj kaskur?


.pagenav a:hover {
color: #fff;
background-color: #f6a504;
margin: 2px;
text-decoration: none;

#dd {
margin-left: 25%;
padding: 0 0 20px 0;
}

#dd li {
margin: 0;
padding: 0;
list-style: none;
float: left;
font: bold 11px arial;
}

#dd li a.menu {
display: block;
text-align: center;
background: #5970B2;
padding: 4px 10px;
margin: 0 1px 0 0;
color: #FFF;
width: 60px;
text-decoration: none;
}

#dd li a.menu:hover {
background: #49A3FF;
}

.submenu {
background: #EAEBD8;
border: 1px solid #5970B2;
visibility: hidden;
position: absolute;
z-index: 3;
}

.submenu a {
display: block;
font: 11px arial;
text-align: left;
text-decoration: none;
padding: 5px;
color: #2875DE;
}

.submenu a:hover {
background: #49A3FF;
color: #FFF;

}

Redagavo remuxs· 2016 Sau. 11 00:01:58

Parašė Pakartoti slaptažodį· 2016 Sau. 11 01:01:56
#10

nesvarbu, kad ir pačiam viršuj, ar apačioj, kaip tau patogiau

Parašė remuxs· 2016 Sau. 11 01:01:57
#11

o sitam themes.php kode kaip padaryt ka isoktu papildomi skyreliai

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

function render_page($license = false) {

global $settings, $main_style, $locale, $mysql_queries_time;



//Header reklama
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center'>\n<tr>\n";
echo "<td class='header'><img src='".THEME."images/logo.png'></td>\n";
echo "<td><a href='http://kapsuko-chebra.wu.lt'><img src='".THEME."images/reklama.png'' style='border:#565656 2px solid;border-radius:2px;'></a></td>";
echo "</tr>\n</table>\n";



//navigacija
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center'>\n<tr>\n";
echo "<td class='navigacija'>
<table width='975'>
<td>
<a href='http://mp3music.wu.lt/' class='nav'>Pagrindinis</a>
<a href='http://mp3music.wu.lt/en' class='nav'><font size='3' color='#ffff66'><b>Angliškos</b></a></font>
<a href='http://mp3music.wu.lt/lt' class='nav'><font size='3' color='#ffff66'><b>Lietuviškos</b></a></font>
<a href='http://mp3music.wu.lt/ru' class='nav'><font size='3' color='#ffff66'><b>Rusiškos</b></a></font>
<a href='http://mp3music.wu.lt/senos-dainos' class='nav'><font size='3' color='#ffff66'><b>Senos</b></a></font>
<a href='http://mp3music.wu.lt/pateikti_daina' class='nav'><font size='3' color='#ff3d44'><font color='#ff3d44'>Pateikti_dainą</a></font>
<a href='http://mp3music.wu.lt/Atsakomybe' class='nav'>Atsakomybė</a>
<a href='http://mp3music.wu.lt/Pagalba' class='nav'>Pagalba</a>


<td align='right'>
<div style='margin-top: 2px;'>
<form id='searchform' action='http://mp3music.wu.lt/search.php?' method='geta'>
<input type='text' name='stext' class='paieska' value='Įrašykite norimos dainos pavadinimą..' onfocus=\"if(this.value=='Įrašykite norimos dainos pavadinimą..'){this.value='';}\" onblur=\"if(this.value==''){this.value='Įrašykite norimos dainos pavadinimą..';}\">
<input type='submit' value='' style='position:absolute;margin-top:0px;margin-left:4px;' name='option' class='ieskoti'></form>
</div>
</td>


</table>
</td>\n";
echo "</tr>\n</table>\n";



//Content
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";


reikia idet toki koda kad tinkamai veiktu


<ul id="dd">
<li><a href="#" class="menu" id="mmenu1"
onmouseover="mopen(1);"
onmouseout="mclosetime();">Home</a>
<div class="submenu" id="menu1"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">HTML Tutorials</a>
<a href="#">DHTML Tutorials</a>
<a href="#">JavaScript Tutorials</a>
<a href="#">CSS Tutorials</a>
</div>
</li>
<li><a href="#" class="menu" id="mmenu2"
onmouseover="mopen(2);"
onmouseout="mclosetime();">Download</a>
<div class="submenu" id="menu2"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">ASP Scripts</a>
<a href="#">PHP Scripts</a>
<a href="#">Ajax Scripts</a>
<a href="#">Perl Scripts</a>
</div>
</li>
<li><a href="#" class="menu">Order</a></li>
<li><a href="#" class="menu">Help</a></li>
<li><a href="#" class="menu" id="mmenu3"
onmouseover="mopen(3);"
onmouseout="mclosetime();">Contact</a>
<div class="submenu" id="menu3"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">Office</a>
<a href="#">Sales</a>
<a href="#">Customer Service</a>
<a href="#">Shipping</a>
</div>
</li>
</ul>

Parašė Pakartoti slaptažodį· 2016 Sau. 11 01:01:08
#12

dėk naują kodą vietoj šito: bet nesu tikras ar neišsikraipys po visko

<a href='http://mp3music.wu.lt/' class='nav'>Pagrindinis</a>
<a href='http://mp3music.wu.lt/en' class='nav'><font size='3' color='#ffff66'><b>Angliškos</b></a></font>
<a href='http://mp3music.wu.lt/lt' class='nav'><font size='3' color='#ffff66'><b>Lietuviškos</b></a></font>
<a href='http://mp3music.wu.lt/ru' class='nav'><font size='3' color='#ffff66'><b>Rusiškos</b></a></font>
<a href='http://mp3music.wu.lt/senos-dainos' class='nav'><font size='3' color='#ffff66'><b>Senos</b></a></font>
<a href='http://mp3music.wu.lt/pateikti_daina' class='nav'><font size='3' color='#ff3d44'><font color='#ff3d44'>Pateikti_dainą</a></font>
<a href='http://mp3music.wu.lt/Atsakomybe' class='nav'>Atsakomybė</a>
<a href='http://mp3music.wu.lt/Pagalba' class='nav'>Pagalba</a>

Parašė remuxs· 2016 Sau. 11 01:01:02
#13

Kad nuorodos butu reikia irasyt nuorodas taip?

<ul id="dd">
<li><a href="http://mp3music.wu.lt/muzika" class="muzika" id="mmenu1"
onmouseover="mopen(1);"
onmouseout="mclosetime();">Home</a>
<div class="submenu" id="menu1"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">HTML Tutorials</a>
<a href="#">DHTML Tutorials</a>
<a href="#">JavaScript Tutorials</a>
<a href="#">CSS Tutorials</a>
</div>
</li>
<li><a href="http://mp3music.wu.lt/en" class="angliskos" id="mmenu2"
onmouseover="mopen(2);"
onmouseout="mclosetime();">Download</a>
<div class="submenu" id="menu2"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">ASP Scripts</a>
<a href="#">PHP Scripts</a>
<a href="#">Ajax Scripts</a>
<a href="#">Perl Scripts</a>
</div>
</li>
<li><a href="http://mp3music.wu.lt/L=lt" class="lietuviskos">Order</a></li>
<li><a href="#" class="menu">Help</a></li>
<li><a href="#" class="menu" id="mmenu3"
onmouseover="mopen(3);"
onmouseout="mclosetime();">Contact</a>
<div class="submenu" id="menu3"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">Office</a>
<a href="#">Sales</a>
<a href="#">Customer Service</a>
<a href="#">Shipping</a>
</div>
</li>
</ul>

Parašė Pakartoti slaptažodį· 2016 Sau. 11 01:01:55
#14

ne, struktūra štai tokia:

<ul id="dd">
<li><a href="#" class="menu" id="mmenu1"
onmouseover="mopen(1);"
onmouseout="mclosetime();">1</a>
<div class="submenu" id="menu1"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">1.1</a>
<a href="#">1.2</a>
<a href="#">1.3</a>
<a href="#">1.4</a>
</div>
</li>
<li><a href="#" class="menu" id="mmenu2"
onmouseover="mopen(2);"
onmouseout="mclosetime();">2</a>
<div class="submenu" id="menu2"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">2.1</a>
<a href="#">2.2</a>
<a href="#">2.3</a>
<a href="#">2.4</a>
</div>
</li>
<li><a href="#" class="menu">Order</a></li>
<li><a href="#" class="menu">Help</a></li>
<li><a href="#" class="menu" id="mmenu3"
onmouseover="mopen(3);"
onmouseout="mclosetime();">3</a>
<div class="submenu" id="menu3"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">3.1</a>
<a href="#">3.2</a>
<a href="#">3.3</a>
<a href="#">3.4</a>
</div>
</li>
</ul>

Redagavo Pakartoti slaptažodį· 2016 Sau. 11 01:01:14

Parašė remuxs· 2016 Sau. 11 01:01:47
#15

tai cia 3 skyreliai su isiskleidimais kai uzeini?
ai patalpinu kodam tinklapio neatvercia kaskas negerai

Redagavo remuxs· 2016 Sau. 11 01:01:33

Parašė remuxs· 2016 Sau. 11 02:01:15
#16

ewl parašė:

<?php
/*-------------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at <a href='http://www.gnu.org/licenses/agpl.html.' target='_blank'><span style='color:005C5B'>www.gnu.org/licenses/agpl.html.</span></a> Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
 
require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";
 
 
if ($settings['maintenance'] == "1" && ((iMEMBER && $settings['maintenance_level'] == "1" 
	&& $userdata['user_id'] != "1") || ($settings['maintenance_level'] > $userdata['user_level'])
)) { 
	redirect(BASEDIR."maintenance.php");
 }
if (iMEMBER) { 
	$result = dbquery(
		"UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."', user_ip_type='".USER_IP_TYPE."'
		WHERE user_id='".$userdata['user_id']."'"
	); 
}
 
echo "<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jquery/jquery.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "script type='text/javascript' src='".INCLUDES."simpleDropDownMenu.js'></script>\n";
echo "</head>\n<body>\n";
 
require_once THEMES."templates/panels.php";
ob_start();
?>


simpleDropDownMenu.js kelk į /includes/





Meta man virsui tinklapio script type='text/javascript' src='includes/simpleDropDownMenu.js'>

Redagavo remuxs· 2016 Sau. 11 03:01:50

Parašė Pakartoti slaptažodį· 2016 Sau. 11 03:01:21
#17

pastabumo truputį


Parašė remuxs· 2016 Sau. 11 12:01:56
#18

Cia dalis theme.php kodo

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

function render_page($license = false) {

global $settings, $main_style, $locale, $mysql_queries_time;



//Header reklama
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center'>\n<tr>\n";
echo "<td class='header'><img src='".THEME."images/logo.png'></td>\n";
echo "<td><a href='http://kapsuko-chebra.wu.lt'><img src='".THEME."images/reklama.png'' style='border:#565656 2px solid;border-radius:2px;'></a></td>";
echo "</tr>\n</table>\n";



//navigacija
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center'>\n<tr>\n";
echo "<td class='navigacija'>
<table width='975'>
<td>
<a href='http://mp3music.wu.lt/' class='nav'>Pagrindinis</a>
<a href='http://mp3music.wu.lt/en' class='nav'><font size='3' color='#ffff66'><b>Angliškos</b></a></font>
<a href='http://mp3music.wu.lt/lt' class='nav'><font size='3' color='#ffff66'><b>Lietuviškos</b></a></font>
<a href='http://mp3music.wu.lt/ru' class='nav'><font size='3' color='#ffff66'><b>Rusiškos</b></a></font>
<a href='http://mp3music.wu.lt/senos-dainos' class='nav'><font size='3' color='#ffff66'><b>Senos</b></a></font>
<a href='http://mp3music.wu.lt/pateikti_daina' class='nav'><font size='3' color='#ff3d44'><font color='#ff3d44'>Pateikti_dainą</a></font>
<a href='http://mp3music.wu.lt/Atsakomybe' class='nav'>Atsakomybė</a>
<a href='http://mp3music.wu.lt/Pagalba' class='nav'>Pagalba</a>



<td align='right'>
<div style='margin-top: 2px;'>
<form id='searchform' action='http://mp3music.wu.lt/search.php?' method='geta'>
<input type='text' name='stext' class='paieska' value='Įrašykite norimos dainos pavadinimą..' onfocus=\"if(this.value=='Įrašykite norimos dainos pavadinimą..'){this.value='';}\" onblur=\"if(this.value==''){this.value='Įrašykite norimos dainos pavadinimą..';}\">
<input type='submit' value='' style='position:absolute;margin-top:0px;margin-left:4px;' name='option' class='ieskoti'></form>
</div>
</td>


</table>
</td>\n";
echo "</tr>\n</table>\n";



//Content
echo "<table cellpadding='0' cellspacing='0' width='1060' align='center' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";


//footer




Kai ideti sita koda taisyklingai kad man jis veiktu tarp <body></body>?

<ul id="dd">
<li><a href="#" class="menu" id="mmenu1"
onmouseover="mopen(1);"
onmouseout="mclosetime();">1</a>
<div class="submenu" id="menu1"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">1.1</a>
<a href="#">1.2</a>
<a href="#">1.3</a>
<a href="#">1.4</a>
</div>
</li>
<li><a href="#" class="menu" id="mmenu2"
onmouseover="mopen(2);"
onmouseout="mclosetime();">2</a>
<div class="submenu" id="menu2"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">2.1</a>
<a href="#">2.2</a>
<a href="#">2.3</a>
<a href="#">2.4</a>
</div>
</li>
<li><a href="#" class="menu">Order</a></li>
<li><a href="#" class="menu">Help</a></li>
<li><a href="#" class="menu" id="mmenu3"
onmouseover="mopen(3);"
onmouseout="mclosetime();">3</a>
<div class="submenu" id="menu3"
onmouseover="mcancelclosetime()"
onmouseout="mclosetime();">
<a href="#">3.1</a>
<a href="#">3.2</a>
<a href="#">3.3</a>
<a href="#">3.4</a>
</div>
</li>
</ul>

Redagavo remuxs· 2016 Sau. 11 12:01:08

Parašė Pakartoti slaptažodį· 2016 Sau. 11 12:01:00
#19

12 poste sakiau kur dėti. kame problemos?

Parašė remuxs· 2016 Sau. 11 12:01:25
#20

dedu bet man tada isvis neatidaro tinklapio