Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: reklama po subheader meniu

Parašė Roksys· 2008 Rugs. 21 16:09:50
#1

tai gi noreciau paklausti kaip ideti reklama po subheader meniu
Va mano theme.php
function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td background=".THEME."images/header.jpg>
<img src=".THEME."images/header.jpg border=0><br>
</td>
</tr>
</table>\n";


echo"<table align=center cellpadding='0' cellspacing='0' width='$theme_width' class='sub-header'>
<tr>

<td align='center'>".showsublinks("","white")."</td>
</tr>
</table>\n";



echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub'></td>

</table>\n";








echo "<table align=center cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

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




reklamos kodas tarkim bus <a href='nuoroda'><img src='img'></a>

Parašė Giedrunskis· 2008 Rugs. 21 16:09:09
#2

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td background=".THEME."images/header.jpg>
<img src=".THEME."images/header.jpg border=0><br>
</td>
</tr>
</table>\n";


echo"<table align=center cellpadding='0' cellspacing='0' width='$theme_width' class='sub-header'>
<tr>

<td align='center'>".showsublinks("","white")."</td>
</tr>
</table>\n";

echo "reklama";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub'></td>

</table>\n";








echo "<table align=center cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

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




Taip turetu buti pagal mane :)

Parašė Roksys· 2008 Rugs. 21 16:09:06
#3

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td background=".THEME."images/header.jpg>
<img src=".THEME."images/header.jpg border=0><br>
</td>
</tr>
</table>\n";


echo"<table align=center cellpadding='0' cellspacing='0' width='$theme_width' class='sub-header'>
<tr>

<td align='center'>".showsublinks("","white")."</td>
</tr>
</table>\n";

echo"
<td align='center'><script type="text/javascript" src="http://show.adclick.lt/show?id=71ta0l2g5jhg0sqobbxr8pd3oi1l9k3w"></script></td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub'></td>

</table>\n";








echo "<table align=center cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

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




suvedziau taip ir error


Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/receptas/skanaus.xz.lt/themes/S_Class_Reds/theme.php on line 34



Parašė Giedrunskis· 2008 Rugs. 21 16:09:01
#4

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td background=".THEME."images/header.jpg>
<img src=".THEME."images/header.jpg border=0><br>
</td>
</tr>
</table>\n";


echo"<table align=center cellpadding='0' cellspacing='0' width='$theme_width' class='sub-header'>
<tr>

<td align='center'>".showsublinks("","white")."</td>
</tr>
</table>\n";

echo"
<td align='center'><script type='text/javascript' src='http://show.adclick.lt/show?id=71ta0l2g5jhg0sqobbxr8pd3oi1l9k3w'></script></td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub'></td>

</table>\n";








echo "<table align=center cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

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





O taip?

Redagavo Giedrunskis· 2008 Rugs. 21 16:09:25

Parašė Roksys· 2008 Rugs. 21 16:09:20
#5


Parse error: syntax error, unexpected T_STRING in /home/receptas/skanaus.xz.lt/themes/S_Class_Reds/theme.php on line 29

Parašė Giedrunskis· 2008 Rugs. 21 16:09:10
#6

Neleidzia tu scriptu kelti :D

function render_header($header_content) {

global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td background=".THEME."images/header.jpg>
<img src=".THEME."images/header.jpg border=0><br>
</td>
</tr>
</table>\n";


echo"<table align=center cellpadding='0' cellspacing='0' width='$theme_width' class='sub-header'>
<tr>

<td align='center'>".showsublinks("","white")."</td>
</tr>
</table>\n";

echo"
<td align='center'><script type="text/javascript" src='http://show.adclick.lt/show?id=71ta0l2g5jhg0sqobbxr8pd3oi1l9k3w'></script></td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub'></td>

</table>\n";








echo "<table align=center cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

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

Taip gal, jeigu nea, tai nezinau :D galva skauda :D

Parašė Roksys· 2008 Rugs. 21 16:09:37
#7

deja
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/receptas/skanaus.xz.lt/themes/S_Class_Reds/theme.php on line 34
:(:(

Parašė Giedrunskis· 2008 Rugs. 21 16:09:09
#8

Gal ateis mandresniu uz mane :D

Parašė DaigaN· 2008 Rugs. 21 17:09:17
#9

34 eilutej truksta , ar ;

Parašė Žmogus· 2008 Rugs. 21 17:09:15
#10

function render_header($header_content) {

$reklama = "<script type='text/javascript' src='http://show.adclick.lt/show?id=71ta0l2g5jhg0sqobbxr8pd3oi1l9k3w'></script>";

global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td background=".THEME."images/header.jpg>
<img src=".THEME."images/header.jpg border=0><br>
</td>
</tr>
</table>\n";


echo"<table align=center cellpadding='0' cellspacing='0' width='$theme_width' class='sub-header'>
<tr>

<td align='center'>".showsublinks("","white")."</td>
</tr>
</table>\n";

echo"
<td align='center'>$reklama</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub'></td>

</table>\n";








echo "<table align=center cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

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