Parašė Soo-2· 2008 Vas. 17 19:02:01
#1
Niekaip negaliu sito codo iterpti i headerio koda
<html>
<head>
<title>head</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
</head>
<body bgcolor=#FFFFFF>
<table id="Table_01" width=731 height=277 border=0 cellpadding=0 cellspacing=0>
<tr>
<td colspan=3>
<img src="images/head_01.png" width=731 height=12></td>
</tr>
<tr>
<td rowspan=2>
<img src="images/head_02.png" width=232 height=68></td>
<td>
<img src="images/head_03.png" width=468 height=60></td>
<td rowspan=2>
<img src="images/head_04.png" width=31 height=68></td>
</tr>
<tr>
<td>
<img src="images/head_05.png" width=468 height=8></td>
</tr>
<tr>
<td colspan=3>
<img src="images/head_06.png" width=731 height=197></td>
</tr>
</table>
</body>
</html>
Headerio kodas:
function render_header($header_content) {
global $theme_width, $settings, $userdata, $aidlink, $locale;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' border='0' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%' align='center' >
\n";
Parašė Žmogus· 2008 Vas. 17 20:02:52
#2
Susikurk theme faile kokį header.php ir įdėk šita kodą:
<?php
echo "
<table id="Table_01" width=731 height=277 border=0 cellpadding=0 cellspacing=0>
<tr>
<td colspan=3>
<img src="images/head_01.png" width=731 height=12></td>
</tr>
<tr>
<td rowspan=2>
<img src="images/head_02.png" width=232 height=68></td>
<td>
<img src="images/head_03.png" width=468 height=60></td>
<td rowspan=2>
<img src="images/head_04.png" width=31 height=68></td>
</tr>
<tr>
<td>
<img src="images/head_05.png" width=468 height=8></td>
</tr>
<tr>
<td colspan=3>
<img src="images/head_06.png" width=731 height=197></td>
</tr>
</table>
";
?>
O theme.php
function render_header($header_content) {
global $theme_width, $settings, $userdata, $aidlink, $locale;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' border='0' class='outer-border'>";
echo "<tr>";
echo "<td>";
echo "<table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr align=center><td>";
include_once "header.php";
echo "</td></tr>";
echo "<td>";
echo "<table cellpadding='0' cellspacing='0' width='100%' align='center' >";
\n
Redagavo Rytis· 2008 Vas. 17 20:02:51