Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Zajbo klausimai

Parašė Zajbas· 2010 Spa. 29 17:10:24
#1

Kad nekurt kiek vieną kartą temos vis naujos, tai rašysiu čia.

1. Kaip sutraukti NAVIGACIJĄ, VARTOTOJAI TINKLE? Nes man tema yra per daug išplėsta.

Parašė Zajbas· 2010 Spa. 31 22:10:34
#2

Na susitvarkiau su šitu dalyku.

Dabar kitas klausimas. Kalba eina apie p-fusion v6.
Ko trūksta, arba gal turit tutorialą kaip pasidaryti, jog paspaudus Galerija, atsirastų dvi skiltys, NUOTRAUKOS VIDEO, paspaudi ant Nuotruakos, atidaro nuotraukos, paspaudi video, atidaro video. Kaip paspaudi galerija, adresa išmeta xxxx/photogallery.php, kaip padaryti jog rašytų tik gallery.php. Laukiu atsakymų. ;)

Parašė Zajbas· 2011 Bal. 15 17:04:12
#3

Sveiki, kur ir kokį kodą kelt į php, kad po kiekvieno refresh paspaudimo pasikeistų headeris? :?

Parašė Donatas· 2011 Bal. 15 17:04:59
#4

Taigi yra random kodas. Išsiimk iš 468x60 reklamos panelės kodo, kur keičiasi kas kart paspaudus refresh'ą.

Parašė Zajbas· 2011 Bal. 15 17:04:38
#5

Kodą susiradęs esu, bet man jo pritaikyt vis vien nepavyks, reikalinga praktika..

Parašė Zajbas· 2011 Bir. 29 15:06:13
#6

Kas galit padaryti taip, kad diskusijos, namai, siuntiniai, visie tie buttonai būtų ne virš headerio, o po headeriu.


<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
 
// theme settings
$body_text = "#555555";
$body_bg = "#333333";
$theme_width = "1000";
$theme_width_l = "175";
$theme_width_r = "175";
 
function render_header($header_content) {
 
global $theme_width;
 
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='1000' height='30'>
<tr><td height='4'></td></tr>
<tr>
<td style='	padding-left: 6px; '>
<a href='".BASEDIR."news.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Naujienos</span></a>
<a href='".BASEDIR."forum/index.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Diskusijos</span></a>
<a href='".BASEDIR."downloads.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Siuntiniai</span></a>
<a href='".BASEDIR."articles.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Straipsniai</span></a>
<a href='".BASEDIR."servers.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Serveriai</span></a>
<a href='".BASEDIR."search.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Paieška</span></a>
<a href='".BASEDIR."contact.php'><span style='font-family : Arial;color: #343434;text-shadow: 0 0 2px #ffffff;font-size : 11px;font-weight: bold;padding-right: 3px;'>Kontaktai</span></a>
</td>
 
</tr>
<tr><td height='4'></td></tr>
<tr class='head'>
<td></td><td style='padding-right: 150px;>";
 
echo "<a href='#'><img src='".THEME."images/reklama.png' border='0'></a>"; // Reklama 324x74
 
echo "</td></tr>
<tr><td height='1'></td></tr></table>";
 
echo "<table cellpadding='0' cellspacing='0' align='center' class='body'>\n<tr><td align='center'>\n";
 
}
 
function render_footer($license=false) {
 
global $theme_width,$settings;
 
echo "</td></tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='footer' align='center'>
 
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
 
}
 
function render_news($subject, $news, $info) {
 
echo "<table cellpadding='0' cellspacing='0' width='652'>
<tr>
<td><table cellspacing='0' cellpadding='0' class='capmain' width='652' height='36'><tr><td align='left'>$subject</td><td align='right'><sup>".showdate("shortdate", $info['news_date'])."</sup> <br><sup><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'><span style='color:white'>Plačiau...</span></a></sup></td></tr></table></td>
</tr>
<tr>
<td class='main-body' colspan='2'>$news</td>
</tr>";
echo "<tr>
<td align='center' background='".THEME."images/main_02.png' width='652' height='8'></td>
</tr>
</table>\n";
 
}
 
function render_article($subject, $article, $info) {
 
echo "<table cellpadding='0' cellspacing='0' width='652'>
<tr>
<td><table cellspacing='0' cellpadding='0' class='capmain' width='652' height='36'><tr><td align='left'>$subject</td><td align='right'><sup>".showdate("shortdate", $info['article_date'])."</sup> <br><sup><a href='".BASEDIR."article.php?readmore=".$info['article_id']."'><span style='color:white'>Plačiau...</span></a></sup></td></tr></table></td>
</tr>
<tr>
<td class='main-body' colspan='2'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>";
echo "<tr>
<td align='center' background='".THEME."images/main_02.png' width='652' height='8'></td>
</tr>
</table>\n";
 
}
 
function opentable($title) {
 
echo "<table cellpadding='0' cellspacing='0' width='652'>
<tr>
<td class='capmain' align='center' width='652' height='36'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
 
}
 
function closetable() {
 
echo "</td></tr>
<tr>
<td align='center' background='".THEME."images/main_02.png' width='652' height='8'></td>
</tr>
</table>\n";
 
}
 
function openside($title) {
 
echo "<table cellpadding='0' cellspacing='0' width='233'>
<tr>
<td class='scapmain' align='center' width='233' height='35'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
 
}
 
function closeside() {
 
echo "</td>
</tr>
<tr>
<td align='center' background='".THEME."images/panel_02.png' width='233' height='10'></td>
</tr>
</table>\n";
tablebreak();
 
}
 
function tablebreak() {
 
echo "<table cellpadding='0' cellspacing='0' align='center' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
 
}
?>

Redagavo Zajbas· 2011 Bir. 29 15:06:13