Navigacija

Vartotojų tinkle

Prisijungusių svečių: 371
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

MaFetas 1 savaitė
ozzWANTED 3 savaitės
saulyzas 5 savaitės
TOMIJUS 6 savaitės
Reikalas15 savaitės
Jaunelis21 savaitės
lanis21 savaitės
And2s22 savaitės
Memento Mori27 savaitės
Quwqkibor29 savaitės
asirija33 savaitės
tomeem35 savaitės
weberiz39 savaitės
mRokass41 savaitės
kartoonas42 savaitės
grunskiz45 savaitės
Bruksnys45 savaitės
illusion45 savaitės
ordo46 savaitės
Jurgaila47 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.117.192.205
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Sorf klausimai
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: Lukšius Peržiūrų: 5034      Spausdinti temą
2008 Spa. 14 18:10:42          1 žinutė iš 16
Spausdinti pranešimą
Taigi pamaniau ir man vertėtų sukūrti temą, nes turėsiu tikrai daug klausimų.

Pradedu nuo pirmojo:
Dabartinis vaizdas:




Taigi atjūngiau paneles ir padariau, kad rodytų tik naujienas. Ir man reikia, kad šalia naujienų rodytų navigacija man nereikia, kad panelę rodytų, bet nuorodas theme.php faile.
Pavyzdys:





Nežinau kaip tai padaryti tai gal sulauksiu pagalbos.
Theme.php
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      Garda&#254;&#253;m Bu Tema Fusion i&#231;indir.       |
|---------------------------------------------|
| Tasar&#253;mc&#253;: CeRNoBiL-SanaLKraL               |
| web: http://www.sanalkral.org/              |
| msn & email: editor@sanalkral.org           |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/

// tema ayarlar&#253;
$body_text = "#113355";
$body_bg = "#FFFFFF";
$theme_width = "55%";
$theme_width_l = "130";
$theme_width_r = "180";

function render_header($header_content) {

global $theme_width,$settings;

//Header Kodlar&#253; Burda ba&#254;l&#253;yor...
echo "
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><center><img src='".THEME."images/banner.png'></center></td>
</tr>
</table>
</td>
</tr>
</table>\n";
//Header Kodlar&#253; Burda Bitiyor..

//Resimli Menü Kodlar&#253; Ba&#254;l&#253;yor.. Fazla oynaman&#253;z&#253; tavsiye etmem &#231;ünki &#231;ok kar&#253;&#254;&#253;kt&#253;r.
//ziyaret&#231;ilere üye ol;üyelere profil düzenle &#231;&#253;k&#253;yor. if kodlar&#253; var..
echo "<table align='center' width='99%'>
<td>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
//Burda resimli menü kodlar&#253; Bitiyor..alttaki } bu headeri kapatmak i&#231;in.
}

function render_footer($license=false) {

global $theme_width,$locale,$settings;

   echo "</tr></table>

<TABLE cellSpacing=0 cellPadding=0 width='100%'>
        <TR>
      <TD vAlign=top width=14><IMG height=12 src='".THEME."images/1.gif' width=14 border=0></TD>
          <TD vAlign=top width=100% background=".THEME."images/2.gif></TD>
          <TD vAlign=top width=14><IMG height=12 src='".THEME."images/3.gif' width=14 border=0></TD></TR>
        <TR>
          <TD width=14 background=".THEME."images/4.gif></TD>
          <TD>
            <DIV align=center>
            <TABLE cellSpacing=0 cellPadding=0 width='100%' border=0>
              <TR>
                <TD align=left>Dizain&#0261; suk&#0363;r&#0279;: <u>CeRNoBiL</u></a></TD>
                <TD align=center>Varikliukas: <u>Php-Fusion</u></a></TD>
                <TD align=right><b>".$settings['counter']." </b>".$locale['141']."\n</TD></TR><TR>
               
                </TR></TABLE>
                </DIV></TD>
          <TD width=10 background=".THEME."images/6.gif><IMG height=20 src='".THEME."images/spacer.gif' width=14 border=0></TD></TR>
        <TR>
          <TD vAlign=top width=14><IMG height=12 src='".THEME."images/8.gif' width=14 border=0></TD>
          <TD vAlign=top width=100% background=".THEME."images/10.gif></TD>
          <TD vAlign=top width=14><IMG height=12 src='".THEME."images/9.gif' width=14 border=0></TD></TR>
          </TABLE>
";


   echo "";
}

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

global $locale;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-bleft'><img src='".THEME."images/blank.gif' width='5' height='43' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-bmain'>$subject</td>";
   echo "<td class='panel-bright'><img src='".THEME."images/blank.gif' width='5' height='43' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border2-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])."</td>";
   echo "<td align='right' class='infobar2'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> <b>·</b>\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> <b>·</b> ";
   echo "".$info['news_reads'].$locale['044']." <b>-</b> ";
   echo "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></div></td>";
   echo "<td class='border2-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border2-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border2-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border2-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table><br>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;

   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$subject</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td align='right' class='infobar2'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." <b>·</b> ";
   echo "".$info['article_reads'].$locale['044']." <b>-</b> ";
   echo "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "</tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table><br>\n";
}

function opentable($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-aleft'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-amain'>$title</td>";
   echo "<td class='panel-aright'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>\n";
}

function closetable() {

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

function openside($title) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$title</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>\n";
}

function closeside() {

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

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

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

function closesidex() {

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

function tablebreak() {

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



2008 Spa. 14 18:10:48          2 žinutė iš 16
Spausdinti pranešimą
Tipo nori, kad pvz įeini į naujieną rodo tokia navigaciją? O įėjus pvz į straipsnius rodytu visai kita?

2008 Spa. 14 18:10:06          3 žinutė iš 16
Spausdinti pranešimą
Ne. Man reikia, kad tokią navigaciją rodytų visą laiką ir užėjus į straipsnius, naujienas ar kitur.
2008 Spa. 14 18:10:56          4 žinutė iš 16
Spausdinti pranešimą
Tai ko tau netinką per paneles.?

Wg.xz.lt - World Gaming Kuriama :D
Įsidėjau avatarą.! :D
2008 Spa. 14 18:10:28          5 žinutė iš 16
Spausdinti pranešimą
Taigi sakau, kad man reikia per theme.php, o ne per paneles... Man panelių nereikia.
2008 Spa. 14 18:10:11          6 žinutė iš 16
Spausdinti pranešimą
per paneles pats pasidaryti gali bet ne tu nori kad kiti tau padarytu ot kietas esi
2008 Spa. 14 18:10:02          7 žinutė iš 16
Spausdinti pranešimą
Tu rimtai kvailas? Kam eiti tiesiai per aplinkui jei gausi tą pati? galvoja
2008 Spa. 14 19:10:19          8 žinutė iš 16
Spausdinti pranešimą
Nes per aplinkui yra raugintu agurkeliu turgis

Balandžio 3d atsikėlęs iš numirusiųjų.
2008 Spa. 14 20:10:17          9 žinutė iš 16
Spausdinti pranešimą
Taigi sakau man nereikia panelių man reikia, kad tiesiog šone rodytų nuorodas kaip nesuprantat jūs... blogai
2008 Lap. 30 19:11:56          10 žinutė iš 16
Spausdinti pranešimą
2. Gal galite padėti išimti iš kitos themos kodą ir taisyklingai įdėti į manąją? Man reikia, kad iš tos themos galėtumėte išimti prisijungimo juostelę ir įdėti tarp:
echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td style='width:14px'><img src='".THEME."images/l_nav.gif' alt=''></td>
<td style='width:14px'><img src='".THEME."images/r_nav.gif' alt=''></td>
</tr>
</table>\n";




Thema su prisijungimo juostele:

<?php

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

$body_text = "#ffffff";

$theme_width = "995";

$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
        echo "<script src='".THEME."/grade.js' language='Javascript'></script>";
   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='margin-top: -5px; margin-bottom: -5px; border-top: solid #000000 1px;'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas

   echo "
<table align=center width=100% height=250 background=".THEME."images/header.jpg border=0 cellspacing=0 cellpadding=0>
<tr><td height=50 class='nuorodos' align=left style='padding-left:40px; padding-top:25px;'><br>";
echo "


<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."index.php>Namai</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."forum/index.php>Forumas</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."photogallery.php>Galerija</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."contact.php>Kontaktai</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."articles.php>Straipsniai</a><br>";

echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'><tr><td class='Linija'></td></tr></table>";

   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
        $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
        echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
        echo "<td class='sub-header'><table width='100%' border='0' cellpadding='0' cellspacing='0' style='background-color: #000000;'><tr>";
   if (iMEMBER) {
echo"<td height='35' background='".THEME."images/linija.jpg' class='sub-header'><center>
<a href='http://aspire.too.lt/edit_profile.php' target=''>Profilis</a> |
<a href='".BASEDIR."messages.php' class='side'>&#222;inut&#235;s [naujø: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo " | <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a>";

   }
                echo" | <a href='".BASEDIR."setuser.php?logout=yes' target='_blank'>Atsijungti</a></td>";
} else {
echo" <td height='35' background='".THEME."images/linija.jpg' class='sub-header' style='padding-top:1px;'><center>
    <form name='loginform' method='post' action='".FUSION_SELF."'>
    Vartotojas <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'>
    Slapta&#254;odis <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'>


<input type='submit' name='login' value='Prisijungti' class='button'>";
if ($settings['enable_registration']) {
      echo " <a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Priminti</a><center><br>\n";
   }
   echo"</div>\n";
}

   
   echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr>";




   
}

function render_footer($license=false) {

global $theme_width,$settings;

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



   <tr>





<td class='footer' align='center'>







   <span style='color:black'>".stripslashes($settings['footer'])."<br><br><b><a href=http://nfsgaming.awarded.in/news.php><span style='color:white'>Aspire 2007</a></span></b>


</td>



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

}

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table style='border: 1px solid #262626' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/newspic.JPG' height='25' border='1'><font class='block-title' align=>$subject</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;";
   echo "<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
        echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
        if ($info['news_allow_comments'])

   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a>";
        echo "</td></tr></table></td></tr></table><br>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td background='".THEME."images/newspic.JPG' height='25' border='1'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
        echo "<td class='news-footer'>";
   echo "<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";

   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_video($subject, $video, $info) {
   
global $locale;
   
   echo "<table style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
   echo "<td background='".THEME."images/newspic.JPG' height='35' border='1'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['video_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
        echo "<td class='news-footer'>";
   echo "".$info['user_name']."</a> ";
   
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['video_allow_comments']) echo $info['video_comments'].$locale['043']." · ";
   
   
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table width='100%' height='20' cellpadding='1' cellspacing='1' style='border: 2px solid #262626' >";
   echo "<tr><td background='".THEME."images/cellpic4.JPG' height='35' border='1'><center><font class='head-title' FACE='Arial'><B>&nbsp;$title</B></font></td></center>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
   echo "</td></tr></table>\n";
}

function openside($title) {

   echo "<table style='border: 2px solid #262626' cellspacing='0' width='100%' cellpadding='0'><tr>";
   echo "<td height='35' width='100%' background='".THEME."images/cellpic4.JPG' border='2'>";
   echo "<center><font class='block-title' FACE='Arial'><B>$title</B></font></center>";
   echo "</td></tr>";
   echo "<tr><td class='side-body' width='100%'>";
}

function closeside() {
   echo "</td></tr></table><table border='0' cellpadding='0' cellspacing='0' width='100%' height='10'>
  <tr>
    <td width='100%'></td>
  </tr>
</table>";
   tablebreak();
}

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";

   echo "<table border='0' style='border: 2px solid #262626' cellspacing='0' width='100%' cellpadding='0'><tr>";
   echo "<td height='35' width='100%' background='".THEME."images/cellpic4.JPG'>";
   echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><center><font class='block-title'>$title</font></center>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
   echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}


function closesidex() {

   echo "</div></td></tr></table>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>




Dabartinė mano thema:
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      WOW Theme for PHP-Fusion v6            |
|---------------------------------------------|
| author: xibit themes - Jones63 © 2005       |
| web: http://www.xibit.de                    |
| email: info@xibit.de                        |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/

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

// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "980";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='wow'>
<tr>
<td>
<table align='center' cellpadding='0' cellspacing='0' width='910px'>
<tr>
<td class='full-header'>
<table align='center' cellpadding='0' cellspacing='0' width='910px'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td style='width:14px'><img src='".THEME."images/l_nav.gif' alt=''></td>
<td class='white-header'>".showsublinks("&middot;","white")."</td>
<td align='right' class='white-header'>".showsubdate()."</td>
<td style='width:14px'><img src='".THEME."images/r_nav.gif' alt=''></td>
</tr>
</table>\n";

echo "<table align='center' cellpadding='0' cellspacing='0' width='910px'>\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%'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."\n";
if ($license)  { echo showcopyright("side")."&nbsp;<br><br>
\n"; } echo showcounter()."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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



echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td style='width:14px'><img src='".THEME."images/l_cap.gif' alt=''></td>
<td class='capmain'><b>$subject</b></td>
<td style='width:14px'><img src='".THEME."images/r_cap.gif' alt=''></td>
</tr>
</table>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";

}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td style='width:14px'><img src='".THEME."images/l_cap.gif' alt=''></td>
<td class='capmain'><b>$subject</b></td>
<td style='width:14px'><img src='".THEME."images/r_cap.gif' alt=''></td>
</tr>
</table>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td style='width:14px'><img src='".THEME."images/l_cap.gif' alt=''></td>
<td class='capmain'><b>$title</b></td>
<td style='width:14px'><img src='".THEME."images/r_cap.gif' alt=''></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>\n";

}

function closetable() {

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

}

function openside($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<tr>
<td style='width:14px'><img src='".THEME."images/l_scap.gif' alt=''></td>
<td class='scapmain'><b>$title</b></td>
<td style='width:14px'><img src='".THEME."images/r_scap.gif' alt=''></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>

<td class='side-body'>\n";

}


function closeside() {

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

}

function opensidex($title,$state="off") {

$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<tr>
<td style='width:14px'><img src='".THEME."images/l_scap.gif' alt=''></td>
<td class='scapmain'><b>$title</b></td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
<td style='width:14px'><img src='".THEME."images/r_scap.gif' alt=''></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>

<td class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}


function closesidex() {

echo "</div>
</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";

}
?>




2008 Gru. 14 21:12:27          11 žinutė iš 16
Spausdinti pranešimą
Na čia manau bus gana nesunkus klausimas.

Turiu mygtuko kodą:
<input type='submit' name='post_shout' value='Ra&#240;yti' class='sbbutton'>";





Kaip padaryti, kad paspaudus mygtuką numestų į nuorodą pvz: rasyti.php
2008 Gru. 15 13:12:39          12 žinutė iš 16
Spausdinti pranešimą
^
UP

Reikia pagalbos šypsosi
2008 Gru. 15 14:12:34          13 žinutė iš 16
Spausdinti pranešimą
formos action vietą keisk.
2008 Gru. 15 14:12:09          14 žinutė iš 16
Spausdinti pranešimą
Bandžiau keist ten toje eilutėje nuorodą kokią įdėti, bet vistiek nieko.
Gali gal plačiau aprašyti ką ten keisti/darašyti? galvoja
2009 Sau. 2 21:01:32          15 žinutė iš 16
Spausdinti pranešimą
Reikia kodo, kad po 5 sekundžių numestų į mano norimą adresą.
2009 Sau. 2 21:01:13          16 žinutė iš 16
Spausdinti pranešimą
redirectas?

<html>
<head>
<script type="text/javascript">
<!--
function delayer(){
    window.location = "../javascriptredirect.php"
}
//-->
</script>
</head>
<body onLoad="setTimeout('delayer()', 5000)">
<h2 >Prepare to be redirected!</h2>
<p>This page is a time delay redirect, please update your bookmarks to our new
location!</p>

</body>
</html>




naudokis paieska...

B) Mokausi PHP B)
Peršokti į forumą: