Navigacija

Vartotojų tinkle

Prisijungusių svečių: 494
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
Quwqkibor30 savaitės
asirija33 savaitės
tomeem35 savaitės
weberiz39 savaitės
mRokass41 savaitės
kartoonas42 savaitės
grunskiz45 savaitės
Bruksnys46 savaitės
illusion46 savaitės
ordo47 savaitės
Jurgaila47 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.224.44.207
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
PHP: Kaip nukelti ?
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Kiti PHP, HTML, MySQL klausimai

Autorius: Remulis Peržiūrų: 692      Spausdinti temą
2009 Lap. 8 01:11:24          1 žinutė iš 1
Spausdinti pranešimą





Stai kodas


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

$body_text = "#FFFFFF";
$body_bg = "#d8d8d8";
$theme_width = "1000";
$theme_width_l = "185";
$theme_width_r = "185";

function render_header($header_content) {

global $theme_width,$settings,$aidlink,$locale,$userdata,$db_prefix;

echo "<table align=center class='mainsite-border' align='left' width='900' cellspacing='0' cellpadding='0' style='border-right: solid #FFFFFF 0px; border-left: solid #FFFFFF 0px;

border-top: solid #FFFFFF 0px;'>

<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>

<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>

<table width='1000' cellspacing='0' cellpadding='0'>\n<tr><td>";

echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."head/header.png' height='174' style='background-repeat: no-

repeat;'>
      <tr>
        <td valign='top' style='padding-left:21px; padding-top:120px;' width='1200'>
      
      </td>
      <td width='174' style='padding-right:53px; padding-top:20px;'  valign='top'>";
      if (iMEMBER) {
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
   echo "<table width='235' border='0' cellspacing='2' cellpadding='2'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.gif' width='100' height='100' border='0'></center>\n";
   }
   echo "</td>
    <td valign='top'><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profil&#225;</a><br>
   <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'>Mano profilis</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>&#222;inut&#235;s [naujø: <b><span style='color:#990000'>".sprintf

($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br><br>
</span>  <span class='whitel'><b><span style='color:FFFFFF'>IP:</span></b></span> <span style='color:lime'>".$_SERVER['REMOTE_ADDR']."</span></a> ";

$ip = $_SERVER['REMOTE_ADDR'];
error_reporting(0);
$IP = array( "$ip:80" ); while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
 
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<br><span style='color:FFFFFF'>Jis yra: </span></b><span style='color:lime'>I&#240;orinis</span>");
fclose($fp);
}
else {
echo ("<br><b><span style='color:FFFFFF'>Jis yra: </span></b><span style='color:red'>Vidinis</span>");
}
}
      echo "<span class='ip'>".$userip."</span><br /></td></tr></table>\n";
   } else {
   echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
  <tr>
    <td align='right' class='ip'><span style='color:white'>Vardas: </span></td>
    <td>&nbsp;<input type='text' name='user_name' class='textbox' style='width:130px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right' class='ip'><span style='color:white'>".$locale['062'].": </span></td>
    <td><br>&nbsp;<input type='password' name='user_pass' class='textbox' style='width:130px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'><input type='checkbox' name='remember_me' value='y'></td>
    <td>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'></td>
  </tr>
  </form>\n";
   if ($settings['enable_registration']) {
      echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slapta&#254;odis</a>\n";
   }
   echo"</table>\n";
}
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

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

}


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='border-right: solid #b5b5b5 1px; border-left: solid

#b5b5b5 1px;'>";
   echo "<td width='20%' height='30' class='white' align='left'>";
      if ($license == false) {
      echo "<b>Varikliukas: <a href='http://php-fusion.co.uk' target='_blank'><span style='color:red'>PHP-Fusion</span></a></b>";
   }
   echo "</td>";
   echo "<td width='60%' class='white' align='center'>";
   echo "<b><cnter>".stripslashes($settings['footer'])."</cnter></b></td>";
   echo "<td width='26%' class='white' align='right'>";
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

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

global $locale;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='19' height='39' 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='19' height='39' 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='13' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div><br>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'>".newsposter($info)."</td>";
   echo "<td align='right' class='infobar2'>";
   echo openform("N",$info['news_id']).newsopts($info,"&middot;").closeform("N",$info['news_id']);
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</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&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></td></tr></table>\n";
}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='19' height='39' alt=''

style='display:block'></td><td width='100%' class='panel-main'>$title</td><td class='panel-right'><img src='".THEME."images/blank.gif' width='19' height='39' alt=''

style='display:block'></td></tr></taašable width='100%' cellpadding='0' cellspacing='0'><tr><td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1'

alt='' style='display:block'></td><td class='side-body'>\n";

}

function closetable() {

echo "</td><td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr><tr><td class='border-bleft'><img

src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td><td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt=''

style='display:block'></td><td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td></tr></table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='panel-left'><img src='".THEME."images/blank.gif' width='19' height='39' alt=''

style='display:block'></td><td width='100%' class='panel-main'>$title</td><td class='panel-right'><img src='".THEME."images/blank.gif' width='19' height='39' alt=''

style='display:block'></td></tr></taašable width='100%' cellpadding='0' cellspacing='0'><tr><td class='border-left'><img src='".THEME."images/blank.gif' width='13' height='1'

alt='' style='display:block'></td><td class='side-body'>\n";

}

function closeside() {

echo "</td><td class='border-right'><img src='".THEME."images/blank.gif' width='13' height='1' alt='' style='display:block'></td></tr><tr><td class='border-bleft'><img

src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td><td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt=''

style='display:block'></td><td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td></tr></table>\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='14' height='39' 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' align='right' alt='' onclick=\"javascript:flipBox

('$boxname')\"></td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='14' height='39' 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='13' 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='13' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='20' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='13' height='20' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function tablebreak() {

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





Redagavo Karolis 2009 Lap. 8 02:11:18
Peršokti į forumą: