Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: 2 Klausimai

Parašė Mr NBA· 2008 Vas. 2 09:02:12
#1

Noriu paklausti iškarto 2 klausimų
1. Kaip praplatinti theme
2. Kaip viršuj ten kur yra LKL LOGO ir komų logo išimti tą datą?

Va theme screen: [url]http://www.ipix.lt/out.php/i349245_5rankis.jpg

[/url]

Parašė bad_user· 2008 Vas. 2 09:02:40
#2

duok theme.php

Ne vietoje tema perkelta.

Redagavo bad_user· 2008 Vas. 2 09:02:49

Parašė Mr NBA· 2008 Vas. 2 09:02:23
#3

VA http://www.sendspace.com/file/yz...

Redagavo Mr NBA· 2008 Vas. 2 09:02:52

Parašė bad_user· 2008 Vas. 2 09:02:11
#4

Svaigsti nieko neprisegiai... :s

Parašė Mr NBA· 2008 Vas. 2 09:02:09
#5

Va redagavau praeitą postą.

Parašė bad_user· 2008 Vas. 2 09:02:22
#6

Pazimeta tamsiau vieta keiti pagal save o datos neber... ;)

<?
// theme settings
$body_text = "#333333";
$body_bg = "#333333";
$theme_width = "790";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width,$settings;

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$theme_width\" align=\"center\">
<tr>
<td class=\"aleftborder\"></td>
<td>


<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"813\">
<tr>
<td class=\"atopborder\"></td>
</tr>
<tr>
<td class=\"alogo\"></td>
</tr>
<tr>
<td class=\"atopmenu\" align=\"center\">";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
if ($i != dbrows($result)) { echo " <img src='".THEME."images/bulletms.gif'> \n"; } else { echo "\n"; } $i++;
}
}

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

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>
</table>\n";
echo "
</td>
</tr>
<tr>
<td class=\"amenubot\" align=\"center\">
";

$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "&nbsp;&nbsp;\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <b>::</b>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."
<br>
<span style=\"color: #DCDCDC\">".stripslashes($settings['footer'])."</span>
<span class=\"afooter\">engine: <a href='http://parishas.puslapiai.lt' class=\"white\">NBA Tournament</a> v". sprintf("%.2f", $settings['version'])." || angeltheme by: Parishas - <a href=\"http://parishas.puslapiai.lt\" class=\"white\">okna</a>, <a href=\"http://parishas.puslapiai.lt\" class=\"white\">imprezy</a></span>

</td>
</tr>
<tr>
<td class=\"aborderbot\"></td>
</tr>
</table>


</td>
<td class=\"aborderright\"></td>
</tr>
</table>


\n";

}

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

global $settings;


echo " <table border=\"0\">
<tr>
<td class=\"ataašop\"><img src=\"".THEME."images/them_17.jpg\" width=\"23\" height=\"10\" border=\"0\" align=\"absmiddle\" alt=\"[Rozmiar: 418 bajtów]\">$subject</td>
</tr>
<tr>
<td class=\"ataašlo\">
$news
</td>
</tr><tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ||
".$locale['041'].showdate("longdate", $info['news_date'])." ||
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']."
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

echo "
<table border=\"0\">
<tr>
<td class=\"ataašop\"><img src=\"".THEME."images/them_17.jpg\" width=\"23\" height=\"10\" border=\"0\" align=\"absmiddle\" alt=\"[Rozmiar: 418 bajtów]\">$subject</td>
</tr>
<tr>
<td class=\"ataašlo\">
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr><tr>
<td>
<img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ||
".$locale['041'].showdate("longdate", $info['article_date'])." ||
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>

</td>
</tr>
</table>";

}

function opentable($title) {

echo "<table border=\"0\" width=\"100%\">
<tr>
<td class=\"ataašop\"><img src=\"".THEME."images/them_17.jpg\" width=\"23\" height=\"10\" border=\"0\" align=\"absmiddle\" alt=\"[Rozmiar: 418 bajtów]\">$title</td>
</tr>
<tr><td><hr style=\"width: 100%\"></td></tr>
<tr>
<td class=\"ataašlo\">\n";

}

function closetable() {

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

}

function openside($title) {

echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td class=\"asidetop\">$title</td>
</tr>
<tr>
<td class=\"asidetlo\">\n";

}

function closeside() {

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

}

function opensidex($title,$open="on") {

$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>

Redagavo bad_user· 2008 Vas. 2 09:02:32

Parašė Mr NBA· 2008 Vas. 2 09:02:28
#7

Pakeičiu tą skaičių į 900 ir db va taip būna : [url]http://www.ipix.lt/out.php/i349256_Reikia.JPG
[/url]

Parašė bad_user· 2008 Vas. 2 09:02:38
#8

Kur po 160 irgi platink.... nes ten sonines paneles td vaziuoja... :)

Parašė bruzgis· 2008 Vas. 2 11:02:03
#9

va pazymejau ka keist reik, sekantis dalykas sita tema yra kurta lenkut :) tai nedek savo copyrighto

<?
// theme settings
$body_text = "#333333";
$body_bg = "#333333";
$theme_width = "790";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width,$settings;

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$theme_width\" align=\"center\">
<tr>
<td class=\"aleftborder\"></td>
<td>


<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"813\">
<tr>
<td class=\"atopborder\"></td>
</tr>
<tr>
<td class=\"alogo\"></td>
</tr>
<tr>
<td class=\"atopmenu\" align=\"center\">";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
if ($i != dbrows($result)) { echo " <img src='".THEME."images/bulletms.gif'> \n"; } else { echo "\n"; } $i++;
}
}

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

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>
</table>\n";
echo "
</td>
</tr>
<tr>
<td class=\"amenubot\" align=\"center\">
";

$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "&nbsp;&nbsp;\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <b>::</b>\n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."
<br>
<span style=\"color: #DCDCDC\">".stripslashes($settings['footer'])."</span>
<span class=\"afooter\">engine: <a href='http://parishas.puslapiai.lt' class=\"white\">NBA Tournament</a> v". sprintf("%.2f", $settings['version'])." || angeltheme by: Parishas - <a href=\"http://parishas.puslapiai.lt\" class=\"white\">okna</a>, <a href=\"http://parishas.puslapiai.lt\" class=\"white\">imprezy</a></span>

</td>
</tr>
<tr>
<td class=\"aborderbot\"></td>
</tr>
</table>


</td>
<td class=\"aborderright\"></td>
</tr>
</table>


\n";

}

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

global $settings;


echo " <table border=\"0\">
<tr>
<td class=\"ataašop\"><img src=\"".THEME."images/them_17.jpg\" width=\"23\" height=\"10\" border=\"0\" align=\"absmiddle\" alt=\"[Rozmiar: 418 bajtów]\">$subject</td>
</tr>
<tr>
<td class=\"ataašlo\">
$news
</td>
</tr><tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ||
".$locale['041'].showdate("longdate", $info['news_date'])." ||
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']."
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

echo "
<table border=\"0\">
<tr>
<td class=\"ataašop\"><img src=\"".THEME."images/them_17.jpg\" width=\"23\" height=\"10\" border=\"0\" align=\"absmiddle\" alt=\"[Rozmiar: 418 bajtów]\">$subject</td>
</tr>
<tr>
<td class=\"ataašlo\">
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr><tr>
<td>
<img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ||
".$locale['041'].showdate("longdate", $info['article_date'])." ||
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>

</td>
</tr>
</table>";

}

function opentable($title) {

echo "<table border=\"0\" width=\"100%\">
<tr>
<td class=\"ataašop\"><img src=\"".THEME."images/them_17.jpg\" width=\"23\" height=\"10\" border=\"0\" align=\"absmiddle\" alt=\"[Rozmiar: 418 bajtów]\">$title</td>
</tr>
<tr><td><hr style=\"width: 100%\"></td></tr>
<tr>
<td class=\"ataašlo\">\n";

}

function closetable() {

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

}

function openside($title) {

echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td class=\"asidetop\">$title</td>
</tr>
<tr>
<td class=\"asidetlo\">\n";

}

function closeside() {

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

}

function opensidex($title,$open="on") {

$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>[/c]