Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas10:12:50
MaFetas 2 dienos
TOMIJUS 1 savaitė
ozzWANTED 1 savaitė
Reikalas10 savaitės
Jaunelis16 savaitės
lanis16 savaitės
And2s17 savaitės
Memento Mori22 savaitės
Quwqkibor24 savaitės
asirija28 savaitės
tomeem30 savaitės
weberiz34 savaitės
mRokass36 savaitės
kartoonas37 savaitės
grunskiz40 savaitės
Bruksnys40 savaitės
illusion40 savaitės
ordo41 savaitės
Jurgaila42 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.17.183.27
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.

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

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

Š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
isimkit laikrodi
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: EviL Peržiūrų: 725      Spausdinti temą
2008 Rugs. 25 15:09:11          1 žinutė iš 2
Spausdinti pranešimą
Gal galit kas isimti laikrodi is temos? Cia mano theme.php

<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "937";
$theme_width_l = "180";
$theme_width_r = "180";

function render_header($header_content) {

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

if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
       include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."user_info_panel/locale/Lithuanian.php";
}

echo "<table align=\"center\" width=\"937\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>





 <td><table align=\"center\" width=\"937\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
 <td style=\"background-image: url('".THEME."images/emikser_v3_02.jpg'); border: 0; height: 35; padding-left: 10; padding-right: 10; width: 917\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"917\">
<tr>
       <td align=\"left\"><font color=\"#a0ca10\">";
       if(iGUEST){
echo"<font color=\"#a0ca10\"><img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."register.php'>Registracija
";
}else{
echo"<font color=\"#a0ca10\"><img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profil&#303;</a> <img src='".THEME."images/bullet.gif' alt=''
<a href='".BASEDIR."messages.php' class='side'>&#381;inut&#279;s</a>";
}
 
echo "       
       
       
       </td>
       <td align=\"right\"><script type='text/javascript' src='http://www.darmowe-statystyki.com/usluga.dodatek.20'></script></td>
</tr>
</table></td>
</tr>
</table>
</td>






</tr>
<tr>





 <td><table width=\"937\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
 <td><a href=\"news.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_04.jpg\" width=\"45\" height=\"25\" border=\"0\" /></a></td>
 <td><a href=\"search.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_05.jpg\" width=\"40\" height=\"25\" border=\"0\" /></a></td>
 <td><a href=\"contact.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_06.jpg\" width=\"49\" height=\"25\" border=\"0\" /></a></td>
 <td><img src=\"".THEME."images/emikser_v3_07.jpg\" width=\"803\" height=\"25\" border=\"0\" /></td>
</tr>
</table></td>






</tr>
<tr>






 <td><table width=\"937\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
 <td><img src=\"".THEME."images/emikser_v3_08.jpg\" width=\"617\" height=\"163\" border=\"0\" /></td>
 <td style=\"background-image: url('".THEME."images/emikser_v3_09.jpg'); border: 0; height: 158; padding-top: 0; padding-left: 70; padding-right: 10; padding-bottom: 5; width: 240\"><center>";
if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";

echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";


} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";

echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";


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


}

$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");

echo " <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profil&#303;</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>&#381;inut&#279;s</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nari&#371; sara&#353;as</a>

<br><br>\n";

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Kita:</b><br><br></td></tr>

</table>";
echo "<b><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."user/' >Nario CP</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {

echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Administravimas</a></b><br>\n";

}{echo "\n



";

echo"<div style=\"text-align: center\"><a href='".BASEDIR."setuser.php?logout=yes' class='side'>[ Atsijungti ]</a></div>\n";

if ($msg_count) echo "<center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();

} else {

opensidel();

echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."

<form name='loginform' method='post' action='".FUSION_SELF."'>

<input type='text' name='user_name' class='text' value='Login....' onBlur=\"if(this.value=='') this.value='Login....';\" onFocus=\"if(this.value=='Login....') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>

<input type='password' name='user_pass' class='text' value='has&#1110;o' onBlur=\"if(this.value=='') this.value='Has&#1110;o....';\" onFocus=\"if(this.value=='has&#1110;o') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br>

<input type='checkbox' name='remember_me' value='y' title='Zapami&#1082;taj mnie' style='vertical-align:middle;'>

<input type='submit' name='login' value='Loguj' class='loguj'>

</form>

<br>\n";

if ($settings['enable_registration']) {

echo "<a href='".BASEDIR."register.php' class='side'>Registracija</a><br>\n";

}

echo "<a href='".BASEDIR."lostpassword.php' class='side'>Slapta&#382;od&#382;io priminimas</a>

</div>\n";

}
closesidel();


echo "</center>
 </td>
</tr>
</table></td>







</tr>
<tr>







    <td><table width=\"937\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
    <td><a href=\"".BASEDIR."news.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_10.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_10.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_10.jpg'\" border=\"0\"></a></td>
    <td><a href=\"".BASEDIR."forum/index.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_11.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_11.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_11.jpg'\" border=\"0\"></a></td>
    <td><a href=\"".BASEDIR."download.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_12.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_12.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_12.jpg'\" border=\"0\"></a></td>
    <td><a href=\"".BASEDIR."servers\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_13.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_13.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_13.jpg'\" border=\"0\"></a></td>
    <td><a href=\"".BASEDIR."team2.php\" target=\"_top\"><img src=\"".THEME."images/emikser_v3_14.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_14.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_14.jpg'\" border=\"0\"></a></td>
    <td><img src=\"".THEME."images/emikser_v3_15.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_15.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_15.jpg'\" border=\"0\"></a></td>
    <td><img src=\"".THEME."images/emikser_v3_16.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_16.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_16.jpg'\" border=\"0\"></a></td>
    <td><img src=\"".THEME."images/emikser_v3_17.jpg\" onmouseover=\"src='".THEME."images/emikser_v3m_17.jpg'\" onmouseout=\"src='".THEME."images/emikser_v3_17.jpg'\" border=\"0\"></a></td>
</tr>
</table></td>








</tr>
<tr>








    <td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"937\">
<tr>
     <td background=\"".THEME."images/emikser_v3_18.jpg\" width=\"378\" height=\"209\" style=\"border: 0; padding-top: 20; padding-left: 25; padding-right: 25; padding-bottom: 10;\">";
if (!defined("IN_FUSION")) { header("Location: ../../index.html"); exit; }
if (isset($_GET[id]) && !isNum($_GET[id])) fallback(FUSION_SELF);
if (isset($_GET[shout]) && !preg_match("#(add|edit|delete)#iu", $_GET[shout])) fallback(FUSION_SELF);
define("SBX_EDIT_USER", $settings[sbx_edit_user]);
$shout = $_GET[shout]; $id = $_GET[id];
if (iMEMBER || $settings['guestposts'] == "1") {
$result = dbquery("SELECT * FROM ".$db_prefix."shoutbox WHERE shout_id='".$id."'");
if (dbrows($result)) $sdata = dbarray($result);
if (isset($_POST['post_shout']) && isset($shout)) {
$flood = false;
if (iMEMBER) {
$shout_name = $userdata['user_id'];
} elseif ($settings['guestposts'] == "1") {
$shout_name = trim(stripinput($_POST['shout_name']));
$shout_name = preg_replace("(^[0-9]*)", "", $shout_name);
if (isNum($shout_name)) $shout_name="";
}
$shout_message = str_replace("\n", " ", $_POST['shout_message']);
$shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
$shout_message = str_replace("[", " [", $shout_message);
$shout_message = preg_replace("/([^\s]{21})/", "$1\n", $shout_message);
$shout_message = trim(stripinput(censorwords($shout_message)));
$shout_message = str_replace("\n", "<br>", $shout_message);
if ($shout_name != "" && $shout_message != "") {
$result = dbquery("SELECT MAX(shout_datestamp) AS last_shout FROM ".$db_prefix."shoutbox WHERE shout_ip='".USER_IP."'");
if (!iSUPERADMIN && dbrows($result) > 0) {
$data = dbarray($result);
if ((time() - $data['last_shout']) < $settings['flood_interval']) {
$flood = true;
$result = dbquery("INSERT INTO ".$db_prefix."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')");
if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) {
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='".$userdata['user_id']."'");
}
}
}
if (!$flood) {
$lin = FUSION_QUERY;
if ($shout =='add') {
$result = dbquery("INSERT INTO ".$db_prefix."shoutbox (shout_name, shout_message, shout_datestamp, shout_ip) VALUES ('$shout_name', '$shout_message', '".time()."', '".USER_IP."')");
if (EPS && iMEMBER) {
$przydzial = dbarray(dbquery("SELECT point_ammount from ".DB_PREFIX."eps_points WHERE point_id='2'"));
$result = dbquery("UPDATE ".DB_PREFIX."users SET points_normal=points_normal+".($przydzial['point_ammount'])." WHERE user_id='".$userdata['user_id']."'");
}
}
if ($shout =='edit' AND checkrights("S")
OR SBX_EDIT_USER AND iMEMBER AND $sdata['shout_name'] == $userdata['user_id']) {
$result = dbquery("UPDATE ".$db_prefix."shoutbox SET shout_message='$shout_message' WHERE shout_id='".$id."'");
}
$lin = str_replace("&shout=$shout&id=$id", '', $lin);
$lin = str_replace("shout=$shout&id=$id", '', $lin);

if($lin != '') redirect(FUSION_SELF."?".$lin);
else redirect(FUSION_SELF.$lin);
}
}
}
if (
isset($shout) AND isset($id) AND isNum($id) AND checkrights("S")
OR isset($shout) AND isset($id) AND isNum($id) AND !checkrights("S") AND iMEMBER AND $sdata['shout_name'] == $userdata['user_id'] AND SBX_EDIT_USER
) {
if ($shout == 'edit') {
$shout_message = str_replace("<br>", "", $sdata[shout_message]);
$shout_message = str_replace(" [", "[", $shout_message);
} else if ($shout == 'delete') {
$result = dbquery("DELETE from ".$db_prefix."shoutbox WHERE shout_id='".$id."'");
$lin = FUSION_QUERY;
$lin = str_replace("&shout=$shout&id=$id", '', $lin);
$lin = str_replace("shout=$shout&id=$id", '', $lin);

if($lin != '') redirect(FUSION_SELF."?".$lin);
else redirect(FUSION_SELF.$lin);
}
} else {
$id = 0;
$shout = 'add';
$shout_message = '';
$shout_name = '';
}
if(iMEMBER){
$caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']);
$caution = dbarray($caution_r);
$c_count = dbrows($caution_r);
$caution_conf = dbarray(dbquery("SELECT * from ".$db_prefix."cautions_config"));
}
if ($c_count > $caution_conf['shoutbox']) {
echo $caution_conf['shoutbox_info']."<br><br>";
} else {
if ($shout == 'add') {
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY."&shout=$shout&id=$id") : "?shout=add&id=$id")."'>";
} else {
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY) : "?shout=$shout&id=$id")."'>";
}
echo"
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2'>\n";
if (iGUEST) {
echo $locale['121']."<br>
<input type='text' name='shout_name' value='$shout_name' class='sb' maxlength='30' style='width:140px;'><br>
".$locale['122']."<br>\n";
}
echo" <input type='text' name='shout_message' rows='4' class='sbtexbox'>$shout_message";

echo" </td>

<td >
<input type='submit' name='post_shout' value='' class='sbbutton'>";
echo" </td>

<td>";if (iMEMBER) {


echo "<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'><img border='0' src='".THEME."images/sbarchiwum.png'></a> ";

} else {
echo "<div align='left'></div>\n";
}
echo "</td>

</tr>
</table></form></div>\n";
echo"<script>show_hide(ShowHide7)</script>";
}
echo"\n";
} else {
echo"<center>".$locale['125']."</center>\n";
}
$result = dbquery("
SELECT * FROM ".DB_PREFIX."shoutbox
LEFT JOIN ".DB_PREFIX."users ON ".DB_PREFIX."shoutbox.shout_name=".DB_PREFIX."users.user_id
ORDER BY shout_datestamp DESC LIMIT 0,".$settings['numofshouts']
);
echo" <script type='text/javascript' src='".INFUSIONS."shoutbox_panel/js/lighttable.js' language='Javascript'></script>";
echo" <script type=\"text/javascript\">
iens6=document.all||document.getElementById
ns4=document.layers
//specify speed of scroll (greater=faster)
var speed=5
if (iens6){
document.write('<div id=\"container\" style=\"position:relative;width:95%;height:120px;border:0px solid #444444;overflow:hidden\">')
document.write('<div id=\"content\" style=\"position:absolute;width:100%;left:0;top:0\">')
}
</script>";
echo "<ilayer name=\"nscontainer\" width=100% height=250 clip=\"0,0,277,400\">";
echo "<layer name=\"nscontent\" width=100% height=250 visibility=hidden>";

if (dbrows($result) > 0) {
$gouest_opt = dbarray(dbquery("SELECT * FROM ".$db_prefix."colors WHERE user_level=0"));
while ($data = dbarray($result)) {
echo"<span class='shoutboxname'>";


$user = "<span style='color:#".$data['user_color']."'>".$data['user_prefix'].$data['user_name']."</span>";

if ($data['user_name'] ) {

echo"<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>$user</a> <span class='shoutboxdate'><font style='font-style:italic;font-family:arial;font-size:7;color:#777777;'>".$locale['135']." ".showdate("shortdate", $data['shout_datestamp'])."</font></span><br>\n";
} else {
echo"<span style='color:#".$gouest_opt['user_color']."'>".$gouest_opt['user_prefix'].$data['shout_name']."</span>\n";
}
echo"</span>";


echo"<img src='".THEME."images/sbkropki.png' height=\"2\" alt=''><br>";
$mes = str_replace(" [", "[", $data[shout_message]);
$mes = nl2br(parseubb(parsesmileys($mes)));
echo "<span class='shoutbox'>".$mes ."</span>";
echo "<br><br><img src='".THEME."images/sbkreski.png' height=\"5\" alt=''><br><br>\n";
}
} else {
echo "<div align='left'>".$locale['127']."</div>\n";
}
echo "</layer></ilayer><script language=\"JavaScript1.2\">
if (iens6)
document.write('</div></div>')
</script>";

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<td><p align=\"right\">";
echo"<a href=\"#\" onMouseover=\"moveup()\" onMouseout=\"clearTimeout(moveupvar)\"><img src=\"".THEME."images/up.png\" border=\"0\"></a> ";
echo "<a href=\"#\" onMouseover=\"movedown()\" onMouseout=\"clearTimeout(movedownvar)\"><img src=\"".THEME."images/down.png\" border=\"0\"></a>";
echo "</td></table>";


echo "<script language=\"JavaScript1.2\">
if (iens6) {
var crossobj=document.getElementById? document.getElementById(\"content\") : document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4) {
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}

function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed+\"px\"
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout(\"movedown()\",20)
}

function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+\"px\"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout(\"moveup()\",20)

}

function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility=\"show\"
}
window.onload=getcontent_height
</script>";


echo "
     </td>
     <td background=\"".THEME."images/emikser_v3_19.jpg\" width=\"204\" height=\"209\" style=\"border: 0; padding-top: 20; padding-left: 25; padding-right: 25; padding-bottom: 10;\">

";
   include BASEDIR."infusions/info_panel/locale/Lithuanian.php";
include BASEDIR."includes/theme.php";

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

$result=dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,10"); //<<LIMIT WYSWIETLANYCH U&#1031;YTKOWNIK&#1059;W//
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<img src='images/online.gif'>"; //<<uzytkownik online //
}elseif($lastseen<360){
$lastseen="<img src='images/offline.gif'>"; //<<uzytkownik odchchodzi, po 360 sek od czasu wylogowania//
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}

if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";

echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>"; //wyswietlanie na stronie //
}
}


// TEN KOD WYSWIETLA ILU JEST GOSCI ONLINE POD UZYTKOWNIKAMI //
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> <b><span style=\"color: #C0C0C0\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
$result = dbquery(
"SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ep_online ton
LEFT JOIN ep_users tu ON ton.online_user=tu.user_id
WHERE online_user!='0'"
);

} else {
echo $locale['013']."<br>\n";
}
echo "</td></tr></table>";

echo "</td>
      <td colspan='4' style=\"background-image: url('".THEME."images/emikser_v3_20.jpg'); font-weight: bolder; height: 255px; width: 309px\">";
$result = dbquery("
   SELECT tf.forum_id, tt.thread_id, tt.thread_subject, COUNT(tp.post_id) as count_posts
   FROM ".$db_prefix."forums tf
   INNER JOIN ".$db_prefix."threads tt USING(forum_id)
   INNER JOIN ".$db_prefix."posts tp USING(thread_id)
   WHERE ".groupaccess('forum_access')." GROUP BY thread_id ORDER BY count_posts DESC, thread_lastpost DESC LIMIT 10
");
if (dbrows($result) != 0) {

echo "<table width='95%' cellpadding='0' cellspacing='2'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&amp;thread_id=".$data['thread_id']."' title='".$data['thread_subject']."' class='side'>".$data['thread_subject']."</a>
</td>
<td align='center'>[".($data['count_posts']-1)."]</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
echo "</td>

\n";

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

}

function render_footer($license=false) {

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

echo "</tr>\n</table>\n";
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"937\">
<tr>
     <td background=\"".THEME."images/emikser_v3_30.jpg\" width=\"217\" height=\"214\" style=\"border: 0; padding-top: 20; padding-left: 10; padding-right: 10; padding-bottom: 10;\">";
       
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''>".$locale['011']."".dbrows($result)."<br>";
$result = dbquery(
"SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ep_online ton
LEFT JOIN ep_users tu ON ton.online_user=tu.user_id
WHERE online_user!='0'"
);
} else {
echo $locale['013']."<br>\n";
}
{
$members = dbrows($result);

echo "<img src='".THEME."images/bullet.gif' alt=''>Registruoti nariai: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br>\n";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''>Nieaktywowany U&#1111;ytkownik: ".dbcount("(user_id)", "users", "user_status='2'")."<br>\n";
$data = dbarray(dbquery("SELECT user_id,user_name,user_color,user_prefix FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
echo "<img src='".THEME."images/bullet.gif' alt=''>Naujausias narys: <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side' style='color:#".$data['user_color']."'>".$data['user_prefix'].$data['user_name']."</a><br>\n";

}


//antal Superadmins
echo"<img src='".THEME."images/bullet.gif' alt=''>Super Administratori&#371;: ";
$total = dbrows(dbquery("SELECT user_id, user_level FROM ".$db_prefix."users WHERE user_level='103'"));
echo $locale['OUE_003'].$total. "<br />\n";

//antal Admins
echo"<img src='".THEME."images/bullet.gif' alt=''>Administratori&#371;: ";
$total = dbrows(dbquery("SELECT user_id, user_level FROM ".$db_prefix."users WHERE user_level='102'"));
echo $locale['OUE_004'].$total. "<hr>";

echo "<!-- Prasideda siuntiniu kodas -->";


$downloadcount = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");

echo "

<img src='".THEME."images/bullet.gif' alt=''>Siuntiniu: ".dbresult($downloadcount, 0)."


<!-- Baigiasi siuntiniu kodas --><br>


<!-- Prasideda atsisiuntimu kodas -->

<img src='".THEME."images/bullet.gif' alt=''>M&#363;s&#371; fal&#371; parsisi&#363;sta: ";
$result = dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads");
$i_alt = dbresult($result,0);
echo "".$i_alt."";
echo "

<!-- Baigiasi atsisiuntimu kodas --><br>


<!-- Prasideda unikaliu kodas -->

<img src='".THEME."images/bullet.gif' alt=''>Unikal&#363;s apsilankymai: ".$settings['counter']."

<!-- Baigiasi unikaliu kodas --></br>


<!-- Prasideda tinklapio uzkrovimo laiko kodas -->

<img src='".THEME."images/bullet.gif' alt=''>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."

<!-- Baigiasi tinklapio uzkrovimo laiko kodas --></br>


      </td>
     <td background=\"".THEME."images/emikser_v3_31.jpg\" width=\"197\" height=\"214\" style=\"border: 0; padding-top: 20; padding-left: 10; padding-right: 10; padding-bottom: 10;\">";  echo "<script>
   nereidFadeObjects = new Object();
   nereidFadeTimers = new Object();
   function nereidFade(object, destOp, rate, delta){
      if (!document.all)
   return
      if (object != '[object]'){  //do this so I can take a string too
   setTimeout('nereidFade('+object+','+destOp+','+rate+','+delta+')',0);
   return;
}
   clearTimeout(nereidFadeTimers[object.sourceIndex]);
   diff = destOp-object.filters.alpha.opacity;
   direction = 1;
      if (object.filters.alpha.opacity > destOp){
   direction = -1;
}
   delta=Math.min(direction*diff,delta);
   object.filters.alpha.opacity+=direction*delta;
      if (object.filters.alpha.opacity != destOp){
   nereidFadeObjects[object.sourceIndex]=object;
   nereidFadeTimers[object.sourceIndex]=setTimeout('nereidFade(nereidFadeObjects['+object.sourceIndex+'],'+destOp+','+rate+','+delta+')',rate);
   }
}
   </script>";
   echo "<center><marquee behavior='scroll' align='center' valign='bottom' direction='up' width='120' height='120' scrollamount='1' scrolldelay='1' onmouseover='this.stop()' onmouseout='this.start()'>";
$result = dbquery("SELECT * FROM ".$db_prefix."buttons ORDER BY button_order");
while ($data=dbarray($result)) {
   echo "
      <table cellpadding='4' cellspacing='0' width='120'>
      <tr><td><p align='center'><a class='side' href='".INFUSIONS."button_panel/button.php?button_id=".$data['button_id']."' target='_blank'>";
        if ($data['button_type'] == '1') {
                echo "<img src='".$data['button_pic']."' border='0' style='filter:alpha(opacity=30)' onMouseOver='nereidFade(this,100,10,30)' onMouseOut='nereidFade(this,30,10,5)' title='".$data['button_name']."' alt='".$data['button_name']."'>";
        }
        /* do wyswietlania animacji flash
        if ($data['button_type'] == '2') {
                echo "<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
                      codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\">
                      <PARAM NAME=menu VALUE=false>
                      <PARAM NAME=quality VALUE=high>
                      <EMBED width=120 height=60 src=\"".$data['button_pic']."\" menu=\"false\" quality=\"high\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">
                      </EMBED>
                      </OBJECT>";
        }*/
        if ($data['button_type'] == '3') {
                echo "".$data['button_name']."";
        }
        echo "</a></td></tr></table>";
}
echo "</marquee></center>";

echo "
        </td>
     <td background=\"".THEME."images/emikser_v3_32.jpg\" width=\"483\" height=\"214\" style=\"border: 0; padding-top: 20; padding-left: 0; padding-right: 0; padding-bottom: 10;\"><br><center>"; include(INFUSIONS."brotator/brotator.php"); echo "</center></td>
</tr>
</table>




    </td>
</tr>
<tr>
    <td>


<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"937\">
<tr>
     <td background=\"".THEME."images/emikser_v3_34.jpg\" width=\"917\" height=\"49\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\">Design & code : <a href='http://www.emikser.pl' title='tutoriale'>eMikser.pl</a> | Powered <a href='http:/www.extreme-fusion.pl'>eXtreme-Fusion</a> | Redaguota <a href='http:/www.unitm.xz.lt'>R!Go^</a>
</td>
</tr>
</table>
\n";

}

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

global $locale;

       
echo " <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"700\">
<tr>
     <td background=\"".THEME."images/emikser_v3_24.jpg\" width=\"660\" height=\"49\" style=\"border: 0; padding-top: 10; padding-left: 20; padding-right: 20; padding-bottom: 10;\"><b>$subject</b><br>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_25.jpg\" width=\"680\" height=\"3\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\">$news</td>
</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_27.jpg\" width=\"680\" height=\"41\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\"><center><table width=\"100%\"><tr><td>
       ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td><td>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &#183;\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &#183;
".$info['news_reads'].$locale['044']."
</td></tr>
       </table></center></td>
</tr>
</table>\n";

}

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

global $locale;
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"700\">
<tr>
     <td background=\"".THEME."images/emikser_v3_24.jpg\" width=\"660\" height=\"49\" style=\"border: 0; padding-top: 10; padding-left: 20; padding-right: 20; padding-bottom: 10;\"><b>$subject</b></td>
</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_25.jpg\" width=\"680\" height=\"3\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\">$article</td>
</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_27.jpg\" width=\"680\" height=\"41\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\"><center><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table></center></td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"700\">
<tr>
     <td background=\"".THEME."images/emikser_v3_24.jpg\" width=\"660\" height=\"49\" style=\"border: 0; padding-top: 10; padding-left: 20; padding-right: 20; padding-bottom: 10;\"><b>$title</b></td>
</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_25.jpg\" width=\"680\" height=\"3\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\">\n";

}

function closetable() {

echo "</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_27_2.jpg\" width=\"680\" height=\"14\" style=\"border: 0; padding-left: 10; padding-right: 10; \"></td>
</tr>
</table>\n";

}

function openside($title) {

echo "  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"237\">
<tr>
     <td><img src=\"".THEME."images/$title.jpg\" border=\"0\" height=\"49\" width=\"237\" /></td>
</tr>
<tr>
     <td background=\"".THEME."images/emikser_v3_26.jpg\" width=\"217\" height=\"3\" style=\"border: 0; padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;\">\n";

}

function closeside() {

echo "</td>
</tr>
<tr>
     <td><img src=\"".THEME."images/emikser_v3_28.jpg\" border=\"0\" height=\"17\" width=\"237\" /></td>
</tr>
</table>\n";
tablebreak();

}

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

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

}

function closesidex() {

echo "</div>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}

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

function tablebreak() {

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

}
?>




2008 Rugs. 25 15:09:09          2 žinutė iš 2
Spausdinti pranešimą
<script type='text/javascript' src='http://www.darmowe-statystyki.com/usluga.dodatek.20'></script>




Ištrink.
Peršokti į forumą: