Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,957
Naujausias narys: keistuole

Naujausi straipsniai

Paskutiniai nariai

Bruksnys 1 savaitė
Darexs 3 savaitės
Nepas 4 savaitės
keistuole 6 savaitės
Gizmis 8 savaitės
Reikalas 8 savaitės
Rytis17 savaitės
MaFetas21 savaitės
ozzWANTED23 savaitės
saulyzas25 savaitės
TOMIJUS26 savaitės
Jaunelis41 savaitės
lanis41 savaitės
And2s42 savaitės
Memento Mori47 savaitės
Quwqkibor50 savaitės
asirija53 savaitės
tomeem55 savaitės
weberiz59 savaitės
mRokass61 savaitės

Informacija:


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

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

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

Š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ų: 721      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ą: