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

Parašė Jaunelis· 2009 Rugp. 29 19:08:28
#7

i code tagus dėk ir išjunk smiles šiame post'ė
//sublinks css (sub meniu kaip suprantu)
echo "<table width='".THEME_WIDTH."' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td>";
echo "<div id='altlinkler'>";
echo "<ul><li>".thesublinks("</li>\n<li>");
echo "</li></ul><div class='clear-both'>&nbsp;</div></div>";
echo "</td></tr></table>\n";

(čia pačios temos dydis ten kur naujienos ir paneles)
//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' 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";

(footerio dydi daryk toki pat kaip viršuje esančeme kode)
//Footer
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td align='center' class='bottom-footer'><br />".stripslashes($settings['footer']);
if (!$license) { echo "Sukure by <a href='Darkangell'>darkangell</a>
<br />\n".showcopyright(); }




Gali daryti procentais pvz 100% jaigu tau neišsitampo pagal norima dydi tiesiog rašyk paprastai pvz 100 (paryškintose vietose)

Redagavo Jaunelis· 2009 Rugp. 29 20:08:52