Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Be pavadinimo

Parašė pokemonu_karalius· 2009 Kov. 21 12:03:04
#1

Sveiki, aš noriu į svetainės temą (theme.php) patalpinti šitą kodą:

<a href="http://translate.google.lt/translate?u=http%3A%2F%2Fwww.keturkaimis.tk%2F&sl=lt&tl=en&hl=lt&ie=UTF-8" target="_blank">
    <img border="0" align="" src="http://www.phpfusion-fr.com/images/flags/uk.png" alt="" /></a> <a href="http://www.keturkaimis.tk/" target="_blank">
    <img border="0" align="" src="http://www.phpfusion-fr.com/images/flags/lt.png" alt="" /></a> <a href="http://translate.google.lt/translate?u=http%3A%2F%2Fwww.keturkaimis.tk%2F&sl=lt&tl=ru&hl=lt&ie=UTF-8" target="_blank">
    <img border="0" align="" src="http://www.phpfusion-fr.com/images/flags/ru.png" alt="" /></a><br />




Štai kur jį norėčiau patalpinti:

echo "<tr><td align='left' valign='top'>";
   echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'>";
   echo "<tr><td align='left' valign='top'>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td align='left' width='60%' background='".THEME."images/logo_bg.gif' height='100'><img src='".THEME."images/newlogo.jpg'></td>";
        echo "Čia norėčiau";
        echo "</td></tr></table>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td><table width='100%' height='28' border='0' cellpadding='0' cellspacing='0'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2'




Kai rašai trumpą skriptą viskas gerai , o kai ilgą negerai. Gal padėsite +10? :?

Parašė Rytis· 2009 Kov. 21 12:03:58
#2

echo "<tr><td align='left' valign='top'>";
   echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'>";
   echo "<tr><td align='left' valign='top'>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td align='left' width='60%' background='".THEME."images/logo_bg.gif' height='100'><img src='".THEME."images/newlogo.jpg'></td>";
?>
<a href="http://translate.google.lt/translate?u=http%3A%2F%2Fwww.keturkaimis.tk%2F&sl=lt&tl=en&hl=lt&ie=UTF-8" target="_blank">
    <img border="0" align="" src="http://www.phpfusion-fr.com/images/flags/uk.png" alt="" /></a> <a href="http://www.keturkaimis.tk/" target="_blank">
    <img border="0" align="" src="http://www.phpfusion-fr.com/images/flags/lt.png" alt="" /></a> <a href="http://translate.google.lt/translate?u=http%3A%2F%2Fwww.keturkaimis.tk%2F&sl=lt&tl=ru&hl=lt&ie=UTF-8" target="_blank">
    <img border="0" align="" src="http://www.phpfusion-fr.com/images/flags/ru.png" alt="" /></a><br />

<?php
        echo "</td></tr></table>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td><table width='100%' height='28' border='0' cellpadding='0' cellspacing='0'>";
   $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2'





Parašė pokemonu_karalius· 2009 Kov. 21 12:03:59
#3

Ačiū veikia. +10.