Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
SV_JJSKID
New Member
New Member


Joined: Sep 06, 2004
Posts: 11

PostPosted: Sun Jan 02, 2005 9:41 pm Reply with quote

I just downloaded a theme that I liked and was considering using until I opened the theme.php that came with it. It's encrypted... why? Is this safe to use or is it better to toss it? Here's the theme.php code...

Code:
<? eval(gzinflate(base64_decode('

7Vj/b9s2Fv99wP4HVjNaGejkJF2HW2U76NoE18Mu
GS45FMPlYFASbXGRRI2k4hht/ve9R1LfbCV1gx1w
G+ogNsX3+OHj+8b3dDyfHpdp+fVX7d8oWsUiE/KQ
zIj3zan5eGGXcnQv5cW9lO92KZrd6vt2ami7e+Ef
L+KsSpjv6ZTlTE0Ui0WRKL5K9UTTKGMqgFN547B7
sGVVxJqLgphFKaMJk/6YfEAagc8qExHNyKhSTD4n
o4gWBZMKRoprVtCc4TATK1rAIBbimuNMKdmS38Ig
iXhYQ1lqAlKBkAZw3NDMI8LByRzMfw7/25D5kvgd
Fji915FxG8B7XYhik4tKeQ3CXT1gcSqIN41EsiGi
QCYmbpicXXlrXiRiHShNdaVmz8i35LKSOmM5LVUQ
i5wQ/8346ODgO6A8CyXTlQS1yYpdecQZFFC+OTAf
mDs/++n89VuYAm1kgibvcrpiyh+HQENTIrO1IUxk
vLi2q3+AD0zc7MzQeub09PvvzQ7RqpSiZFJzpoAA
KmcJTtP4eiVFVSQwOeAM3AgyiVbBr+UK92ZLnVO5
4gXwI64WZe/ZPqx5otPeTMoQz07Nvb61nKegsQ63
bNU4quPpuGXPVCOQg8dqkXGl0axTxTIWa6L0JmPG
YCDQK3J4cFDehsQK84q8xIdISHDkbx0H0kFodA9Y
VrD1wiDDlCjepLRYsdkzVUU51/742fyqaI/SEyFA
GURpwuWGZhWCwcHfpEIoRi6Rczqx9B0Qdwb1W7b4
rWJy43vuMGYDnjy3A/QLspTgbF7goijwrLSKmDOR
aNOyejb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t3fPPUfwCw8XxEl47a/LGtNp3V7
6dLHwWGw4ksomuv28Ye/vYSnbusIBtamsCCT+ZYY
fYkjca+8nynU0cNCvXz5oFRd47ShHZp08OCVZ28l
f0RNW8aLpZA5Lcw1xs2rFM3Bl8wNV6Gv173bc5Or
8EKGUQFHwDcwuZAMXwnUTO5tjG2t8Lj1A64buGVp
3SyZfUuq0zYzXqK0F6bzgnJqYYTv9BN4xWK2W7Bb
6PNU88qpWVfr2zZ3k45Q3njnQl4YQudK2AfmEz1W
i+nONry2VzMYxZInQ2+XLAnbWbja7P/cCxZn55cn
6AMRxDyfW67phPea2EH5Grx7ZPHQRTzT07ZusiOV
KdIKbU9p/cMif2p/7Joa2METb+NDPux1vfu1zTQv
Q2idsaPF7cxzZdja7fEdQPNg0me/thmSf+f0jS9v
Lx7UF76XAOu9/9e7y5OLwEPbXTUavPLQggN6bHtu
ofDVhwX5+fzi8uTtj78ATKdkcSyBDR9a6VRIE/bj
IR5YGizOzwBi9JkFk9JCbhapyNmfvmh6IG1SqXkM
Ww4lzgTy+1bybFNlkzwflR+TnBfmTXfyJUMOer11
2doC6MSPiIMvqfdL6t079e6XD0tw4b9yPoSMxCJx
63fKRaPdjiN9UlO2+/9rael4Pj3+HQ==
'))); ?>
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Mon Jan 03, 2005 7:03 am Reply with quote

Interesting concept. Just an elementary encryption technique. Note that I had to split the script tags as <scr ipt> in order to post this. Here's the translated code
Code:
<?php 



$bgcolor1 = "#FFFFFF";
$bgcolor2 = "#FFFFFF";
$bgcolor3 = "#FFFFFF";
$bgcolor4 = "#FFFFFF";
$textcolor1 = "#FFFFFF";
$textcolor2 = "#FFFFFF";

include("themes/secondsight/tables.php");


function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body onmouseover=\"window.status=' - Turtlemaps.com  (C)2004 - ';return true\" bgcolor=\"#000000\" ONLOAD=\"preloadImages();\" text=\"#FFFFFF\" link=\"#009999\" vlink=\"#009999\" alink=\"#FF6600\" bgproperties=\"fixed\" background=\"themes/secondsight/images/bg.jpg\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
    if ($banners == 1) {
        include("banners.php");
    }
    $topics_list = "<select style=\"width: 100px; height: 5px; border-width: 0px;\" name=\"new_topic\" onChange='submit()'>\n";
    $topics_list .= "<option value=\"\">Choose Topic</option>\n";
    $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);
    while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
    if ($topicid==$topic) { $sel = "selected "; }
        $topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
        $sel = "";
    }
    if ($username == "Anonymous") {
        $theuser = "&nbsp;&nbsp;<a href=\"account-new_user.html\" class=\"nav\">Create an account";
    } else {
        $theuser = "&nbsp;&nbsp;Welcome $username! to  secondsight";
    }
    $public_msg = public_message();
    $tmpl_file = "themes/secondsight/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    global $name;
    if($name!=Forums)
    {
    blocks(left);
    }
    $tmpl_file = "themes/secondsight/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;

echo("<scr ipt language=JavaScript>");
echo("var message=\"\";");
echo("function clickIE() {if (document.all) {(message);return false;}}");
echo("function clickNS(e) {if ");
echo("(document.layers||(document.getElementById&&!document.all)) {");
echo("if (e.which==2||e.which==3) {(message);return false;}}}");
echo("if (document.layers) ");
echo("{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}");
echo("else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}");
echo("document.oncontextmenu=new Function(\"return false\")");
echo("</scr ipt>");
}


function themefooter() {
    global $index, $foot1, $foot2, $foot3, $copyright, $totaltime;
    if ($index == 1) {
        $tmpl_file = "themes/secondsight/center_right.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"".$thefile."\";";
        eval($thefile);
        print $r_file;
        blocks(right);
    }
    $footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright<br>$totaltime";
    $tmpl_file = "themes/secondsight/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
echo "</td></tr></table>\n"
."</td>\n"
."<td class=\"tblright\">&nbsp;</td>\n"
."</tr>\n"
."<td class=\"tblleft\">&nbsp;</td>\n"
."<td><div align=\"center\"><font class=\"small\">\n";
footmsg();
echo "</font></div></td>\n"
."<td class=\"tblright\">&nbsp;</td>\n"
."</tr>\n"
."<td class=\"tblleft\">&nbsp;</td>\n"
."<td><div align=\"center\"><font class=\"small\">Free phpnuke theme PlasmatecH by <a href=\"http://www.turtlemaps.com/\"></a> <a href=\"http://www.turtlemaps.com\">www.turtlemaps.com</a> </font></div></td>\n"
."<td class=\"tblright\">&nbsp;</td>\n"
."</tr>\n"
."<tr>\n"
."<td class=\"tblleft\">&nbsp;</td>\n"
."<td>&nbsp;</td>\n"
."<td class=\"tblright\">&nbsp;</td>\n"
//."</tr>\n"
//."<tr>\n"
//."<td><img src=\"themes/plasmatech/images/footer_01.gif\" width=\"985\" height=\"0\" alt=\"\" /></td>\n"
//."<td class=\"tblbot\">&nbsp;</td>\n"
//."<td><img src=\"themes/plasmatech/images/footer_02.gif\" width=\"985\" height=\"55\" alt=\"\" /></td>\n"
//."</tr>\n"
."</table>\n";
   
}


function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
        $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
        $t_image = "$tipath$topicimage";
    }
    if ($notes != "") {
        $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
        $notes = "";
    }
    if ("$aid" == "$informant") {
        $content = "$thetext$notes\n";
    } else {
        if($informant != "") {
            $content = "<a class=\"nav\" href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
        } else {
            $content = "$anonymous ";
        }
        $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time";
    $tmpl_file = "themes/secondsight/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
        $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
        $t_image = "$tipath$topicimage";
    }
    $posted = ""._POSTEDON." $datetime "._BY." ";
    $posted .= get_author($aid);
    if ($notes != "") {
        $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
        $notes = "";
    }
    if ("$aid" == "$informant") {
        $content = "$thetext$notes\n";
    } else {
        if($informant != "") {
            $content = "<a class=\"nav\" href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
        } else {
            $content = "$anonymous ";
        }
        $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/secondsight/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


function themesidebox($title, $content) {
    $tmpl_file = "themes/secondsight/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


?>
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Jan 03, 2005 7:05 am Reply with quote

yeah some people do that...
but for a theme realy useless.
bad thing is we cannot check then contents of it.
Its upto you if keep using the theme or not...
 
View user's profile Send private message
SV_JJSKID
PostPosted: Mon Jan 03, 2005 3:16 pm Reply with quote

So it's legit and nothing looks malicious? In general how secure are themes and other modules and can they pose a security risk? If so are there any posts or other resources that can help me to secure them? I have a basic understanding of php and from the readme in Chatserv's patches I gather there is a problem.
 
Raven
PostPosted: Mon Jan 03, 2005 3:29 pm Reply with quote

I've never heard of a theme exploit, but modules, oh yes.
 
hitwalker
PostPosted: Mon Jan 03, 2005 3:49 pm Reply with quote

i once saw a little module (not nuke) that was a kind of a little shop.
after checking out the code i discovered that it had a encrypted part what was easely to decode again..
was funny to see that from every person who bought anything the info was maild to the author.

so personaly i dont trust that code.
 
Raven
PostPosted: Mon Jan 03, 2005 5:40 pm Reply with quote

Well, that code does not contain anything like that, so there's no need to worry about that.
 
hitwalker
PostPosted: Mon Jan 03, 2005 5:47 pm Reply with quote

he he,i never said that...
i just see the need that it is encrypted...
 
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Mon Jan 03, 2005 11:08 pm Reply with quote

The encryption is probably just the author trying to hide some of his work... reminds me of the 'right-click save' post a few days back... hehe

_________________
PHP - Breaking your legacy scripts one build at a time. 
View user's profile Send private message
djmaze
Subject Matter Expert


Joined: May 15, 2004
Posts: 719
Location: http://tinyurl.com/5z8dmv

PostPosted: Mon Jan 10, 2005 5:25 am Reply with quote

there's no such thing as protection.

I've pointed it out lots of times.

If you encrypt something, it always has to be decrypted or the program can't use it
This means 2-way encryption.
1-way encryption as md5() is secure, but don't expect a application can do something with that since there's no decrypt system
 
View user's profile Send private message Visit poster's website
Royal2000H
New Member
New Member


Joined: Jan 10, 2005
Posts: 5

PostPosted: Tue Jan 11, 2005 3:13 pm Reply with quote

raven, since u decrypted this theme
Can you please tell me/us how to decrypt these: eval(gzinflate(base64_decode(
in Only registered users can see links on this board! Get registered or login! or in here
 
View user's profile Send private message
Raven
PostPosted: Wed Jan 12, 2005 5:21 pm Reply with quote

Try this:

<?
highlight_string(gzinflate(base64_decode(blahblah)));
?>
 
Loki
Worker
Worker


Joined: Oct 05, 2003
Posts: 107
Location: Illinois

PostPosted: Wed Jan 19, 2005 10:54 pm Reply with quote

Use of an encrypted theme is very unwise, yes there are numerous exploits that can be called from coding within a theme. I would advise heavily not to use these themes. I noticed one I was converting for someone for use with a platinum nuke site, had coding drawing information from separate site and was coded to only be used on the site url of the buyer. If you attempt to use the theme any other place it sends a message to the creator with your system information and url it was tested on. Now this was just a tracking system, but any code can be implemented if the creator has a malicious side to him. Remember most of the theme creators are kids. Always ask the creator if he uses encryption, if so don't buy it.
 
View user's profile Send private message Visit poster's website
Darsch
New Member
New Member


Joined: Feb 20, 2005
Posts: 2

PostPosted: Sun Feb 20, 2005 9:06 am Reply with quote

Raven i don't succeed to decode...
Can u help me ????
Code is :
Quote:

<?php
// Do not Remove//
eval(base64_decode('JGNvZGVsb2NrX2NvZGU9IklASkhSb1pXMWxlakVnUFNBblpFZG9iR0pYVm5w
TU1XaEZURlZrUjB3eVduWmpibFowWTNrNWQySXpUakJoVnpWdVdETlNkbU5IYkdwTWJsSjNZa0U5U
FNjN0RRb2dJQ0FrZEdobGJXVjZJRDBnWW1GelpUWTBYMlJsWTI5a1pTZ2tkR2hsYldWNk1TazdEUW9n
SUNCeVpYRjFhWEpsSUNSMGFHVnRaWG83IjsgJGNvZGVsb2NrX2NvZGU9c3RyX3JlcGxhY2UoIkAiLC
JDQWciLCAkY29kZWxvY2tfY29kZSk7ICRjb2RlbG9ja19jb2RlPXN0cl9yZXBsYWNlKCIhIiwgIlc1IiwgJG
NvZGVsb2NrX2NvZGUpOyAkY29kZWxvY2tfY29kZT1zdHJfcmVwbGFjZSgiKiIsICJDQWdJIiwgJGNvZG
Vsb2NrX2NvZGUpOyAkY29kZWxvY2tfY29kZT1iYXNlNjRfZGVjb2RlKCRjb2RlbG9ja19jb2RlKTsgZXZhb
CgkY29kZWxvY2tfY29kZSk7IAo='));
?>


Or Contact me on my mail by msn or just mail
Thank You.
 
View user's profile Send private message
kp_dude
New Member
New Member


Joined: Apr 19, 2005
Posts: 1

PostPosted: Tue Apr 19, 2005 6:34 am Reply with quote

I have below php script I would like to decode in clean php code. like this i have many scripts which are encrypted. can any one help me out
Code:
<?

eval(gzinflate(base64_decode('DdG1EqxYAgDQX9ls5hUB3kBtT
YBL440nW8DF3eXrd9KTnuJM+7+rtxnLPt2Lv7N0Kz7E/0CRT6D4+y8B
qLi47CpbCc6CXRh859xYp6gIiIz4KcnVOkUcO97M0ORlbIVt27cHm8i
IrwaAm/HRIWcqyeiKvgehMfAtruz4Rr4l9puKx/S2KVVHMo7M9rbSvL
AOos/FeKgcClV/2Kl7d+wGEdyQs82DHUaKmmJEou7JfjxTof0jrUg4T
fGmkBsl31PdoIglc5f9x4R4mqqxnWmZbyFsXnJ1+hiMmwz0KUs/cJ0M
WH7YxeZtCD41KL8/qRaSaAM/SfFXLveJsk1dImYp+w2PEXFjZRcHVdV
PSmcaBAqw6zuXg5d90vWqrLco6rO69YS2QCkPnM9qwIQpE+xmjiPwIE
f1Kcjkul4RaUwWr8y8W0EuU2duujtTJay8uW4oEyCB8EMoXQ+v9RQsG
Y2P/UKp249hdwI5tabsvIGX4tKAXhjuhde+uXIApYdDZsRsl81h+ZMP
pyojxpHhCROS4TVUpomZlup9xmjbrwPTQmGvfSG9S7HjF2YOEZHiqQa
z7QIn/lZbpCsWaK+Rqqf8hk1TWpFjRQdsBBXRaniYz8Ft1aT0UnxOFz
UpHIHPRMERHshngXKuPMCU4FWLOg28e+28mDr+TPCt57l7RfbO0nKGv
QXzZnTvfwjisDFL5BJsw4Vl8Omjeyr98W6E+eIi2vee0fFe86Kfb31B
/aiJg2kvleOB4LUkcou7bNybuqnJQELoL/XJBBVi+Uui+XWIAix2pVG
AHoIPtz4rof7ZkrzDFpsL5C5Z+TeYBYtKD9KZiO8TKdFKvomyH8gvGC
x1h4NxvYvTQDkSA5LiPXrmn7WUTDaL7UbLTSyvNqSiiLetm5GK6atdb
jz1Tbvql5vUaNwOFmN2NcTkSawMQd4tTHdNjk68A5GfcJntK6Pm4yF/
BIPpRKyFhxqnNkdpeyozJyxLlZNb7yj2voIOrsVjdIPfecHJbj24PwF
Q03qy2ji7PcYj/c3XcWE7+CUjbqRxSaY9Y57FM3mTVbnE9BG75Vnt1d
TCp6raRdNk1a587jLH5aREyqgL12P8RfEZQBZWpbRbyo4COMlsvLrOj
QciGye4yaU1NWzwTW5XNBirHMzfX10ahuSaxd4yIHr03Q6QEydJGc1f
wB03VA2ls+9A9yVgn/TElABBtlpuoyH4B5C2hO5QWalJSi3UsuFf/tr
09IP3VXmdvr48wq7XHGjkI2TDN1bbqEu+GfbIcjlJhJgyw32K0VG/We
dMOTi/dmZYWX17V5uXohR6gBXnFW7uXOl+L/aBFRj27AnJjTHB6Wisr
SQSOBeNNnbBxgrVtMtuQ+Ji/z1W0TUNWAwFkNp+/HM219OTvmvmsth7
ypA4PdBXuPV/6ZJIetMyCMj6tTVGTHrhRumwdMqT+sEnd8bE/F6qUFx
/pUHckRsmt8Bzer09tG5kOjLzQTpsCGhRRO4agdOulT79gvXfCyoQUj
zwYXGCusKuVMV+DHvMn3vpUQWG4BOncBimleuff/768+fPf//zfw=='
)));
?>


kp_dude
 
View user's profile Send private message
Darsch
PostPosted: Tue Apr 19, 2005 9:30 am Reply with quote

Use another theme ... i had no answer from my last post ^^ there's no use.
 
gvenegas
New Member
New Member


Joined: Apr 22, 2005
Posts: 1
Location: KNA, CL

PostPosted: Fri Apr 22, 2005 3:12 pm Reply with quote

En español:

Alguien sabe de alguna herramienta oniline que pueda descifrar el código en formato
Code:
<? 

eval(gzinflate(base64_decode('blahblahblah')));


English:

Someon know about some online tool to decode in format
Code:
<? 

eval(gzinflate(base64_decode('blahblahblah')));


by the way...
'kp_dude' I'm Trying to decode the SAME code
Wink
 
View user's profile Send private message MSN Messenger ICQ Number
Raven
PostPosted: Fri Apr 22, 2005 4:32 pm Reply with quote

Would you zip the theme and email it to me? I will try to look at it but I am making no promises Smile
 
Raven
PostPosted: Fri Apr 22, 2005 7:41 pm Reply with quote

This is not an encrypted theme. It is a commercial application where the authors have encrypted their code. Yes, I can "break" the code, as I will show you. However, I cannot, ethically (and possibly legally), provide you what you are asking for. Here is a few lines of the index.php file, decoded. I have had to modify 'script' to scrript' for posting purposes. Here is a link to their license Only registered users can see links on this board! Get registered or login!
Code:
<<meta http-equiv="Page-Enter" content="BlendTrans(Duration=0.3)"><meta http-equiv="Page-Exit" content="BlendTrans(Duration=0.3)">

<html>
<head><title>Comdev One Admin 3.0</title>
</head>


Last edited by Raven on Tue May 24, 2005 9:25 pm; edited 1 time in total 
cdgan
New Member
New Member


Joined: May 24, 2005
Posts: 1

PostPosted: Tue May 24, 2005 9:17 pm Reply with quote

I'm Bryan Gan, CEO of Comdev, the author of the code posted above. I am aware of the misuse of our products code and abuse of our copyright. We will be appreciate if you remove this post from the forum.
 
View user's profile Send private message
Raven
PostPosted: Tue May 24, 2005 9:25 pm Reply with quote

I felt it appropriate to leave the thread but just snip my post. I assume you will not have a problem with that.
 
TopTop
New Member
New Member


Joined: Dec 25, 2005
Posts: 4

PostPosted: Sun Dec 25, 2005 1:14 am Reply with quote

Raven ! Can you help me please to decode this :
Thanks so much !

Code:
<? eval(gzinflate(base64_decode('

rVd7U+JIEP8bq/gOc5EjoCchPEQlCSXq7lqnYrFc
3W2pZYVkIFPmwSaDK3Xrd7+eRwgY3NK91RJmenr6
8eue7rZnGb3iVnGr5ERBgEOa3M9wfD+zpxiZqFHv
FrcKZIIqv5UYqYr+hX2hJI91dvoMf6VoMkk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9PVMygSlceDi3nl32Zd+4m4axffcTZHrxfPx
wrzEwRjHSTma8cxxMYVAlQNOhXRcaoImzhFlIeZx
PQ+gVWpPOKCPtSmZqPJZqfq+msZJ1TvqSj4IM1R7
nAhTVI43txs+YmZ8+pSel0Miz0oxiWRzDaSlxdyE
yCasXTWtP1mTaUHBmyKHrZrdzX0nFLSIcbWaja6N
aAykdr27LF+TCIZJkTNqjF2VZcxaXzI0xmLBzQjU
0diGz/wtPramrLXMS9nVnrN5UOOzAagBpzSXPC4b
n3iDxS0jPzzU14aHtgS/1WrL2UTt87nnCMm0R/rs
CSWRT1z2rCR+VjqKAoW3cT4F8unWQvra0Jlmza1M
GwFHWXyZSg0mSxyuTZY1pcwkwdlygq8pt4p1M+KA
jWIRAFnUnTuWC6LBriA0ieJKiZg6DAbEyIZvtt3d
lQZyowmbWlf/oygsx5GbErlLO3c2VKzOmr/AxxIR
zoGunCPck+WQzeE1wNilN3uN6i9Fencd6Qc5ZXHD
Umyh8xUQswel/3pl9gCCiE++qzkqMyXL42Xa8pQ1
+kP+x+QX+FstbrH0lTO0+GHt1uj9Bw==
'))); ?>
 
View user's profile Send private message ICQ Number
Raven
PostPosted: Sun Dec 25, 2005 1:32 am Reply with quote

Probably shouldn't, but here goes
Code:
<?


$comments_per_page = 20;
    if (!$page) {
        $page = 1;
    }
    $offset = ($page-1)*$comments_per_page;

    $count = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM $user_table WHERE Location ='$ketban'"));

    $totalpage = ceil($count[0]/$comments_per_page) + 1;
    //

    echo "<center>\n";
    if ((!$ketban) || ($ketban == "all")) {
        echo "";
        $ketban = "all";
    } else {
        echo "";
        $ketban = urldecode($ketban);
    }
    if ($ketban == "all") {
        $result=mysql_query("SELECT * FROM $user_table WHERE id ORDER BY id LIMIT $offset,$comments_per_page");
    } else {
        $result=mysql_query("SELECT * FROM $user_table WHERE Location ='$ketban' ORDER BY Location LIMIT $offset,$comments_per_page");
    }   


    ?>
            <P style="MARGIN-TOP: 5px">
            <TABLE class=table cellSpacing=1 cellPadding=0 width=98%>
              <TBODY>
              <TR bgColor=#4a96ef>
                <TD class=menu align=middle
               colSpan=6
                  height=20><B>
                  <?
                  echo "<b>Danh sách thành viên đến từ $ketban </b>\n";
                  ?>
                  </B></TD></TR>
              <TR class="tblhead1">
                <TD align=middle width="28" height=20 bgColor=#f5f5f5>&nbsp;</TD>
                <TD align=middle width="114" bgColor=#f5f5f5 height=20>Nick yahoo</TD>
                <TD align=middle width="106" bgColor=#f5f5f5>Họ tên</TD>
                <TD vAlign=center align=middle width="76"
                bgColor=#f5f5f5>Nơi ở</TD>
                <TD vAlign=center align=middle width="70"
                bgColor=#f5f5f5>Giới tính</TD>
                <TD vAlign=center align=middle width="30"
                bgColor=#f5f5f5>Xem</TD>
              </TR>
                <?php
               
    $exist = 0;
    while($hero = mysql_fetch_array($result)){
    $id=$hero[id];
    $ym=$hero[ym];
    $fullname=$hero[fullname];
    $Location=$hero[Location];
    $gioitinh=$hero[gioitinh];
   
        $exist = 1;
        ?>
        <tr valign=top>
        <TD height=20 align=middle><img border='0' src='http://mail.opi.yahoo.com/online?u=<? echo $ym ?>&m=g&t=0'>
        </td>
        <td height=20><a href="ymsgr:sendIM?<? echo $ym ?>"><FONT color=#4a96ef><b><? echo $ym ?></b></FONT></a>
        </td>
        <td vAlign=center align=middle><? echo $fullname ?></td>
        <td vAlign=center align=middle><? echo $Location ?></td>
        <td vAlign=center align=middle><? echo $gioitinh ?></td>
        <td vAlign=center align=middle><a href="?ruby=Members&option=detail&memberid=<? echo $id ?>"><img src='Image/xemtv.gif' width='16' height='17' border='0'align='absmiddle'></a></td></tr>
    <?php
    }
    if (!$exist) {
   
        echo "<tr><td colspan=3>Không có thành viên nào cưa trú ở<font color='red'><b> $ketban </b></font> trong trang <font color='red'>$page</font> .</td></tr>\n";
    }
    echo "</table><br></div>\n";
        ?>
       
<table cellSpacing=0 cellPadding=5 width=445 style='BORDER: #4a96ef 1px solid'>
<tr><td><center>
<?
        if ($page > 1) {
        echo "<a href=\"?ruby=ketban&ketban=".urlencode($ketban)."&page=".($page-1)."\">[Trang Trước]</a>&nbsp;\n";
    }
    for($i=1; $i<$totalpage; $i++) {
        if ($i == $page) {
            echo "<b>[$i]&nbsp;</b>\n";
        } else {
            echo "<a href=\"?ruby=ketban&ketban=".urlencode($ketban)."&page=".$i."\">[$i]</a>&nbsp;\n";
        }
    }
    if ($page <= $totalpage-2){
        echo "<a href=\"?ruby=ketban&ketban=".urlencode($ketban)."&page=".($page+1)."\">[Trang kế]</a>\n";
    }
     if ( $page = $totalpage) {

    }
    echo "</center></td></tr></table></div><BR><BR>\n";   
   

?>
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Dec 25, 2005 1:54 pm Reply with quote

Just wondering.. are themes under phpNuke considered under GPL?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Raven
PostPosted: Sun Dec 25, 2005 3:42 pm Reply with quote

Yep. I have it in writing. If ANY code requires phpnuke to run, it is gpl. I just try, as much as possible, to respect other people's work.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©