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

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>