Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny 1 diena
Reikalas 4 savaitės
Jaunelis10 savaitės
lanis10 savaitės
And2s11 savaitės
Memento Mori16 savaitės
ozzWANTED16 savaitės
Quwqkibor18 savaitės
asirija22 savaitės
tomeem24 savaitės
weberiz27 savaitės
mRokass30 savaitės
kartoonas31 savaitės
iaescortsmap31 savaitės
grunskiz34 savaitės
Bruksnys34 savaitės
illusion34 savaitės
ordo35 savaitės
Jurgaila36 savaitės
originalcs1636 savaitės

Informacija:


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

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

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Š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
script
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: VeNoM Peržiūrų: 978      Spausdinti temą
2008 Kov. 3 16:03:55          1 žinutė iš 5
Spausdinti pranešimą
Sveiki, tikiuosi si karta jus man padesite...

Taiva man reike sita koda ideti i theme.php faila kad isejtu prisijungimas ant side:

<script language='JavaScript'>
if (top.location != self.location) {top.location = self.location} </script>
<noscript> </head> <body></noscript><body>
<body bgcolor='$body_bg' text='$body_text'>\n";
$links = array("edit_profile.php","messages.php","members.php","setuser.php?logout=yes","register.php","lostpassword.php");
$titles = array("Redaguoti apra&#1088;ym&#1072;","Asmeniniai prane&#1088;imai","Vartotojai","Atsijungti","Registracija","Pamir&#1088;ai slapta&#1102;od&#1073;?");
$image = "<img src='".THEME."images/bullet.gif' alt=''>";
if (iMEMBER) {
  echo "\n<center>";
 for ($i = 0; $i < 4; $i++) echo $image." <a href='".BASEDIR.$links[$i]."' class='side'> {$titles[$i]} </a>".($i != 3 ? $i == 3  : " ");
 echo "</center>\n";
 $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 if ($msg_count) echo "<b><a href='".BASEDIR."messages.php?folder=inbox' class='side'><center><b>J&#1099;s gavote nauj&#1072; &#1102;inut&#1078;</b></center></a></b></center><br>\n";
 if (iADMIN) echo $image." <a href='".ADMIN."index.php".$aidlink."' class='side'> Administracija</a>\n";
 render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
} else {
 echo " <center><form name='loginform' method='post' action='".FUSION_SELF."'>Vartotojas: <input type='text' name='user_name' class='textbox' style='width:90px'>
Slapta&#1102;odis: <input type='password' name='user_pass' class='textbox' style='width:90px'>
<input type='submit' name='login' value='Jungtis' class='button'></form></center>
<center><a href='".BASEDIR.$links[4]."'>{$titles[4]}</a> | <a href='".BASEDIR.$links[5]."'>{$titles[5]}</a></center>";
 render_header("");






Va stai mano theme.php failas i kuri reik ji teisingai idet kad viskas veiktu...:

<?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."nariai'><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='narys,".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("shortdate", $info['news_date'])."  </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo " ".($info['news_ext'] == "y" ? "<a href='naujiena,".$info['news_id']."'>".$locale['042']."</a> \n" : "")."";
if ($info['news_allow_comments'])
echo " <a href='naujiena,".$info['news_id']."'>".$locale['043']."</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='narys,".$info['user_id']."'>".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
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";
}
?>







Raudonai pabreziau Registruotu nariu skaiciu kuris yra ant side tai turbut sita mano scripta kazkur cia reike ikelt...
2008 Kov. 3 16:03:23          2 žinutė iš 5
Spausdinti pranešimą
Bandyk taip
<?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>";
if (iMEMBER) {
  echo "\n<center>";
 for ($i = 0; $i < 4; $i++) echo $image." <a href='".BASEDIR.$links[$i]."' class='side'> {$titles[$i]} </a>".($i != 3 ? $i == 3  : " ");
 echo "</center>\n";
 $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 if ($msg_count) echo "<b><a href='".BASEDIR."messages.php?folder=inbox' class='side'><center><b>J&#1099;s gavote nauj&#1072; &#1102;inut&#1078;</b></center></a></b></center><br>\n";
 if (iADMIN) echo $image." <a href='".ADMIN."index.php".$aidlink."' class='side'> Administracija</a>\n";
 render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
} else {
 echo " <center><form name='loginform' method='post' action='".FUSION_SELF."'>Vartotojas: <input type='text' name='user_name' class='textbox' style='width:90px'>
Slapta&#1102;odis: <input type='password' name='user_pass' class='textbox' style='width:90px'>
<input type='submit' name='login' value='Jungtis' class='button'></form></center>
<center><a href='".BASEDIR.$links[4]."'>{$titles[4]}</a> | <a href='".BASEDIR.$links[5]."'>{$titles[5]}</a></center>";
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='narys,".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("shortdate", $info['news_date'])."  </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo " ".($info['news_ext'] == "y" ? "<a href='naujiena,".$info['news_id']."'>".$locale['042']."</a> \n" : "")."";
if ($info['news_allow_comments'])
echo " <a href='naujiena,".$info['news_id']."'>".$locale['043']."</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='narys,".$info['user_id']."'>".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
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";
}
?>









Rules: 21 & 22 Read first!
2008 Kov. 3 16:03:12          3 žinutė iš 5
Spausdinti pranešimą
Man meta sita klaida:
Parse error: syntax error, unexpected $end in /home/venomas/kibernet.xz.lt/themes/kibernet/theme.php on line 173

Jaigu neklystu tai del: ?> ir <? galvoja
2008 Kov. 3 16:03:30          4 žinutė iš 5
Spausdinti pranešimą
Tai kiek supratau tu nori padaryti tik prisijungima? drovus

Rules: 21 & 22 Read first!
2008 Kov. 3 16:03:47          5 žinutė iš 5
Spausdinti pranešimą
Nu prisijungima. O kai prisijungi bus: Nariai, Redaguoti profili, zinutes, atsijungti. +(Adminams) Admin panele. Sitame kode kuri as daviau viskas yra tik reikia kazkaip ji teisingai parasyti be žado
Peršokti į forumą: