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

Parašė Ozzas· 2008 Geg. 26 08:05:10
#1

ka reikai padaryt kad butu toks va panasus su nuorodom ant headerio?
foto:


<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#8E8E8E";
$body_bg = "#000000";
$theme_width = "745";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."header.gif'></td>
</tr>
</table>
</td>
</tr>
</table>\n";

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

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}



function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td align='left' class='copy'>".stripslashes($settings['footer'])."</td>
</tr>
</table>

<td class='b_right'></td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='417'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='info'>".showdate("shortdate", $info['news_date'])."<br>Para&#1088;&#1083;: <a href='profile.php?lookup=".$info['user_id']."' style='color:#01aac1;'>".$info['user_name']."</a>, <a href='news.php?readmore=".$info['news_id']."' style='color:#01aac1;'>Skaityti toliau</a></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='417' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='info'>".showdate("shortdate", $info['article_date'])."<br>Para&#1088;&#1083;: <a href='profile.php?lookup=".$info['user_id']."' style='color:#5DA764;'>".$info['user_name']."</a></td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='417'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='201'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>



Parašė blist· 2008 Geg. 26 11:05:37
#2

Susikuri headeri su ps, sukarpai ji ir idedi i theme.php ir visur keiti is " i ' ...

Parašė Ozzas· 2008 Geg. 26 11:05:32
#3

nemoku,tdl ir prasau :x

Parašė MAnjack· 2008 Geg. 26 12:05:06
#4

Tai mokėk pinigus irsukurs.

Parašė RuP3r· 2008 Geg. 26 12:05:29
#5

o tai tau blogai po headeriu?