Parašė Gazzo· 2011 Lie. 3 17:07:40
#1
Sveiki. Gal kas galite pakoduoti tokį dalyką kaip
http://playnet.lt yra (Ventrilo, Steam ir t.t.), kad paspaudus tą facebook logo, įeitų į mano norimą puslapį ir kad paėjus ant to facebook logo, jis pagyvėtų (jei neina, tada nereikia). Aš noriu, kad čia būtų:
http://www.part.lt/img/d07146577...974990.png .
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "919");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $db_prefix,$userdata,$aidlink,$locale;
//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td>\n";
echo"
<table width='919' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td rowspan='4' background='".THEME."images/login.png' width='402' height='71'>";
//
if (iMEMBER) {
//narys
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo"<table cellpadding='0' cellspacing='0' width='300'><tr>
<td style='padding-left:80px; padding-bottom:5px;' align='left'>";
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='60' height'60'>" : "<img src='".THEME."images/noav.png' width='60' height'60'>")."";
echo"</td><td>
<a href='".BASEDIR."edit_profile.php' >Redaguoti Profilį</a><br>
<a href='".BASEDIR."messages.php' class='virsus'>Žinutės [naujų: <span style='color:#ff0000'>".sprintf($msg_count)."</span>]</a><br>
<a href='".BASEDIR."setuser.php?logout=yes' class='ss'>Atsijungti</a>
</td>
</tr></table>";
/*
echo"<table cellpadding='0' cellspacing='0' width='100%'><tr><td>";
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo"Labas, <a href='".BASEDIR."narys/".$userdata['user_name']."' class='side'>".$userdata['user_name']."</a>";
echo" ";
echo"<a href='".BASEDIR."redaguoti-aprasyma' class='virsus'>Redaguoti aprašymą</a>";
echo" / ";
echo"<a href='".BASEDIR."zinutes' class='virsus'>Žinutės [naujų: <span style='color:#ff0000'>".sprintf($msg_count)."</span>]</a>";
echo" / ";
echo"<a href='".BASEDIR."setuser.php?logout=yes' class='virsus'>Atsijungti</a>";
echo"</td><td align='right'>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
$num_new = dbcount("(download_title)", DB_DOWNLOADS, "download_submit='1'");
echo"<a href='".ADMIN."index.php".$aidlink."' class='virsus'><b>".$locale['global_123']."</a></b>";
echo" / ";
echo"<a href='#' class='virsus'>Pateiktu nauju dainu: $num_new</a>";
}
echo"</td></tr></table>";
*/
} else {
echo "<div>
<form name='loginform' method='post' action='".FUSION_SELF."'>
<table cellpadding='0' cellspacing='0' width='100%' style='padding-top:2px;'><tr>
<td style='padding-left:80px; '><img src='".THEME."images/zona.png' ></td>
<td style='padding-right:10px;' align='right'><a href='".BASEDIR."register.php' style='color:#fff; font-size:12px;'><b>REGISTRUOTIS</b></a></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='250' style='padding-left:50px; padding-top:5px;'><tr>
<td width='120'><input type='text' name='user_name' class='textb' value='Slapyvardis' onBlur=\"if(this.value=='') this.value='Slapyvardis';\" onFocus=\"if(this.value=='Slapyvardis') this.value='';\" ></td>
<td width='110'><input type='password' name='user_pass' class='textb' value='Slaptažodis' onBlur=\"if(this.value=='') this.value='Slaptažodis';\" onFocus=\"if(this.value=='Slaptažodis') this.value='';\" ></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td style='padding-left:135px; padding-top:2px;'> <input type='submit' name='login' value='Jungtis' class='b'> </td>
</tr></table>
</form>
</div>\n";
}
//
echo"</td>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/heder_02.png' width='88' height='40' alt=''></td>
<td colspan='3' background='".THEME."images/txt.png' width='352' height='34' style='color:#191919; font-size:10px; text-shadow: 1px 1px white;' align='center'>
</td>
<td rowspan='3'>
<img src='".THEME."images/heder_04.png' width='76' height='70' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='34' alt=''></td>
</tr>
<tr>
<td colspan='3'>
<img src='".THEME."images/heder_05.png' width='352' height='6' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='6' alt=''></td>
</tr>
<tr>
<td rowspan='4'>
<img src='".THEME."images/heder_06.png' width='18' height='206' alt=''></td>
<td colspan='3' background='".THEME."images/navig.png' width='397' height='30' class='nav'>
<ul>
<li><a href='http://us.lt/index.php'>Pagrindinis</a></li>
<li><a href='http://us.lt/forum/index.php'>Forumas</a></li>
<li><a href='http://us.lt/ksdjfksdf'>sdfdsf</a></li>
<li><a href='http://us.lt/sms/admin'>dfgdfg</a></li>
<li><a href='http://us.lt/sms/vip'>dfgdfg</a></li>
<li><a href='http://us.lt/amx_bksdnfs'>dfgdfg</a></li>
</ul>
</td>
<td>
<img src='".THEME."images/heder_08.png' width='25' height='30' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='30' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='3'>
<img src='".THEME."images/heder_09.png' width='105' height='176' alt=''></td>
<td colspan='3' rowspan='2' background='".THEME."images/paieska.png' width='393' height='33' style='padding-left:85px; padding-bottom:3px;'>";
//
if (!isset($_GET['stext'])) { $_GET['stext'] = ""; }
if (!isset($_GET['stype'])) { $_GET['stype'] = ""; }
echo"<table cellpadding='0' cellspacing='0' width='100%'><tr><td width='145'>";
echo "<div><form id='searchform' name='searchform' method='get' action='".BASEDIR."search.php'>\n";
echo "<input type='text' name='stext' value='Paieškos žodis...' class='textboxas' onBlur=\"if(this.value=='') this.value='Paieškos žodis...';\" onFocus=\"if(this.value=='Paieškos žodis...') this.value='';\" />\n";
echo"</td><td>";
echo "<input type='hidden' name='stype' value='all'".($_GET['stype'] == "all" ? " checked='checked'" : "")." onclick=\"display(this.value)\" />";
echo "<input type='submit' name='search' value='' class='butonas' /> </form>\n</div>";
echo"</td></tr></table>";
//
echo"</td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
</tr>
<tr>
<td rowspan='2'>
<img src='".THEME."images/heder_11.png' width='402' height='175' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='32' alt=''></td>
</tr>
<tr>
<td colspan='3'>
<img src='".THEME."images/heder_12.png' width='393' height='143' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='143' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/spacer.gif' width='402' height='0' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='18' height='0' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='70' height='0' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='35' height='0' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='292' height='0' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='25' height='0' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='76' height='0' alt=''></td>
<td></td>
</tr>
</table>";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='mainas' align='center'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td align='center' class='footer'><a href='http://us.lt'>us.lt</a> © 2011 <br>Visos teisės saugomos!</br>";
?>
<br><a target="_blank" href="http://www.hey.lt/details.php?id=sdfsdf"><img width=88 height=31 border=0 src="//www.hey.lt/count.php?id=sdfsdf" alt="Hey.lt - Nemokamas lankytojų skaitliukas"></a></br>
<?
echo "</td>\n</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
//eval(base64_decode('ZWNobyJKRUkgUEFWT0dUQSI7'));
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='new'>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='txt' style='padding-left:15px;'>".$subject."</td>
<td class='txt' style='padding-right:15px;' align='right'>Parašė: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'><b>".$info['user_name']."</b></a></td>
</tr></table>
</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body-news'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
//
echo"<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='txt' style='padding-bottom:15px; padding-left:20px;'>Data: <b>".showdate("%Y-%m-%d",$info['news_date'])."</b> | Skaitė: <b>".$info['news_reads']."</b> | Komentarų: <b>".$info['news_comments']."</b></td>
<td style='padding-bottom:15px; padding-left:20px;'>"; echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'><img src='".THEME."images/readmore.png' border='0' /></a>" : "").""; echo"</td>
</tr></table>";
//
echo "</td>\n</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='new'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body-news'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n</tr><tr><td><img src='".THEME."images/apacia.png'></td></tr></table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr><tr><td><img src='".THEME."images/cs_03.png'></td></tr></table>\n";
}
//eval(base64_decode('ZWNobyJKRUkgUEFWT0dUQSI7'));
//eval(base64_decode('c2t5cGUgYXJ2eWRhczg0NTA='));
?>
</body><script type="text/javascript" charset="utf-8">
var wtpQualitySign_projectId = 13142;
var wtpQualitySign_language = "lt";
</script>
Ačiū.
Parašė Gazzo· 2011 Lie. 4 16:07:39
#2
Bus pagalbos? Žinau, kad yra žmonių, mokančių tai padaryti.