Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panelės atvaizdavimas

Parašė Donatis07· 2008 Rugp. 24 13:08:54
#6

ShadoVw parašė:
function render_header($header_content) {

global $theme_width,$settings,$title;




Na štai mano theme.php render_header funkcija.

function render_header($header_content) {

global $theme_width,$settings,$title;

echo "
<table cellpadding='0' cellspacing='0' width='580' class='outer-border' border='0' align='center'>\n
<tr>
<td border='0' class='virsus'>
<img src='".THEME."css/images/virsus.jpg' usemap='#sub' width='579' height='77' border='0'></td>
<map id='sub' name='sub'>
<area shape='rect' coords=33,53,91,65' href='".BASEDIR."puslapis.php?id=1'>
<area shape='rect' coords='123,53,195,65' href='".BASEDIR."#'>
<area shape='rect' coords='226,53,271,65' href='".BASEDIR."projektai.php?id=1'>
<area shape='rect' coords='307,53,375,65' href='".BASEDIR."kontaktai.php'>
</map>
</td>
</tr>
<tr>
<td border='0' class='vidurys'>

</td>
</tr>
<tr>
<td border='0' class='apacia'>
$title
</td>
</tr>
</table>

<table align='center' cellspacing='0' cellpadding='0' width='580'  class='aplink' border='0'>
<tr>
<td>
<table align='center' cellspacing='0' cellpadding='0' width='546' class='outer-border' border='0'>
<tr>
<td>\n

<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>\n<tr>\n";
}




ten kur yra raudonu šriftu parašyta, taip aš bandau rašyti, tačiau tai, ko reikia negaunu.