Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,959
Naujausias narys: Simbijanas

Naujausi straipsniai

Paskutiniai nariai

Audrius_17 2 savaitės
Reikalas 7 savaitės
Simbijanas14 savaitės
Karinacraft15 savaitės
Žmogus18 savaitės
Bruksnys22 savaitės
Darexs25 savaitės
Nepas25 savaitės
keistuole28 savaitės
Gizmis29 savaitės
Rytis39 savaitės
MaFetas43 savaitės
ozzWANTED44 savaitės
saulyzas46 savaitės
TOMIJUS47 savaitės
Jaunelis62 savaitės
lanis63 savaitės
And2s64 savaitės
Memento Mori68 savaitės
Quwqkibor71 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.35
Naujienų: 529
Straipsnių: 235
Temų: 52,589
Postų: 522,547
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.

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up š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
Prisijungimas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: VeNoM Peržiūrų: 1776      Spausdinti temą
2008 Vas. 1 22:02:06          1 žinutė iš 6
Spausdinti pranešimą
Sveiki, norejau jusu paprasyti toki koda kuris padarytu prisijungima po headeriu sajte. t.y. prisijungimas butu ant ("footer"), tikiuosi supratot.
Jai ne tai as jums parodysiu pavyzdi ko as noriu:
1. Cia kai svecias dar neprisijunges.:




2. Cia jau kai narys suvede nick/pass i tuos laukelius ir prisijunge:






Dar duodu savo theme.php faila jai jis reikalingas siam darbui:

<?php

/************************/
/* Settings/Nustatymai */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "940";
$theme_width_l = "180";
$theme_width_r = "180";

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;

echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 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 id='Table_01' width='990' height='170' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td colspan='5'>
         <img src='".THEME."images/kibernet_01.gif' width='990' height='128' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/kibernet_02.gif' width='481' height='42' alt=''></td>
      <td>
         <a href='".BASEDIR."namai'>
            <img src='".THEME."images/Untitled-1_03.gif' width='100' height='42' border='0' alt=''></a></td>
      <td>
         <a href='".BASEDIR."siuntiniai'>
            <img src='".THEME."images/Untitled-1_04.gif' width='131' height='42' border='0' alt=''></a></td>
      <td>
         <a href='".BASEDIR."straipsniai'>
            <img src='".THEME."images/Untitled-1_05.gif' width='155' height='42' border='0' alt=''></a></td>
      <td>
         <a href='".BASEDIR."demos'>
            <img src='".THEME."images/Untitled-1_06.gif' width='123' height='42' border='0' alt=''></a></td>
   </tr>
</table>";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' background='".THEME."images/side.gif'>\n<tr>";
echo "<td>\n";
echo " <a href='".BASEDIR."members.php'><span class='white'>Registruotu vartotoju - ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
<tr>
<td><table border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
</tr>
</table></td>
</tr>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' style='padding-left: 60px;'><tr><td height='30'b></td></tr></table>";
}

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

global $locale;

echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' 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'>";
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 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 "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&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></td></tr></table>\n";
}

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

global $locale;

echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' 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 "".$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 height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&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></td></tr></table>\n";
}

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

echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

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

function openside($title) {

echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}

function closeside() {

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

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

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

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






2008 Vas. 1 22:02:13          2 žinutė iš 6
Spausdinti pranešimą
Jeigu nebusi durnas, persidarysi šypsosi Prisegu...

ex best admin!
mXt prisegtu failu:
login_virs_header.rar
2008 Vas. 5 13:02:41          3 žinutė iš 6
Spausdinti pranešimą
Deja nlb galiu ja as perdaryti žliumbia Bandziau bet neiseijna. Viskas gerai tik kad prisijungimas ne po headeriu o virs headerio žliumbia Prasau padekit nežino
2008 Vas. 5 14:02:16          4 žinutė iš 6
Spausdinti pranešimą
dek ne pries sita o po sito // End banner code / Banerio kodo pabaiga
2008 Vas. 5 14:02:59          5 žinutė iš 6
Spausdinti pranešimą
Ir prisijungimas ne footeryje, o subheaderyje. Pavalgysiu ir galėsiu tau padaryt.

FCBarcelona
mes que un club
2008 Vas. 5 14:02:18          6 žinutė iš 6
Spausdinti pranešimą
Jo subheaderyje truputi suklydau be žado Tai tikiuosi padarysi šypsosi
Peršokti į forumą: