Status
Not open for further replies.
PHP:
<?
/*
Decoded by SplitIce ioncube decoder
========================================
Version: 0.8.1
Site: http://thewarezscene.org/decoder/
Free for non commercial code recovery.
========================================
             =<[2009]>=
*/

define
('affiliatelinkscode',$affiliatelinkscode,'inactive','true',$templatefile);
include('dbconnect.php');
include('includes/functions.php');
include('includes/clientareafunctions.php');
include('includes/ticketfunctions.php');
$pagetitle = $_LANG['affiliatestitle'];
$breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a> > <a href="affiliates.php">'.$_LANG['affiliatestitle'].'</a>';
$pageicon = 'images/affiliate_big.gif';
initialiseclientarea();
if($_SESSION
['uid']) {
if($_GET
['activate'] == 'true') {
insert_query();
logactivity();
header
();
die();
}
$result = select_query('CLIENTAREA',true',$pagetitle,$pageicon,$breadcrumbnav,'tblaffiliates',array('date
'=>'now()','clientid'=>$_SESSION
['uid'],'visitors'=>'0','balance'=>$CONFIG['AffiliateBonusDeposit']),'Activated Affiliate Account (User ID: '.$_SESSION
['uid'].')','Location: affiliates.php','tblaffiliates','',array('clientid'=>$_SESSION
['uid']));
$data = mysql_fetch_array
($result);
$id = $data['id'];
$affiliateid = $id;
if($id == '') {
$templatefile = 'affiliatessignup';
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
();
();
();
/* END LOOP */
}
$templatefile = 'affiliates';
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
$currency = getcurrency('affiliatesystemenabled',$CONFIG,'bonusdeposit',$CONFIG['CurrencySymbol'].$CONFIG['AffiliateBonusDeposit'],'payoutpercentage',$CONFIG['AffiliateEarningPercent'].'%',$_SESSION
);
$date
 = $data['date
'];
$date
 = frommysqldate($date
);
$visitors = $data['visitors'];
$balance = $data['balance'];
$withdrawn = $data['withdrawn'];
$result = select_query('tblaffiliatesaccounts','COUNT(id)',array('affiliateid'=>$id));
$data = mysql_fetch_array
($result);
$signups = $data[0];
$result = select_query('tblaffiliatespending','SUM(tblaffiliatespending.amount)',array('affiliateid'=>$id),'clearingdate','DESC','','tblaffiliatesaccounts ON tblaffiliatesaccounts.id=tblaffiliatespending.affaccid INNER JOIN tblhosting ON tblhosting.id=tblaffiliatesaccounts.relid INNER JOIN tblproducts ON tblproducts.id=tblhosting.packageid INNER JOIN tblclients ON tblclients.id=tblhosting.userid');
$data = mysql_fetch_array
($result);
$pendingcommissions = $data[0];
$conversionrate = round
($signups / $visitors,2);
();
();
();
();
();
();
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
();
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
();
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
();
if($CONFIG['AffiliatePayout'] < $balance) {
();
if($action == 'withdrawrequest') {
$result = select_query('affiliateid',$id,'referrallink',$CONFIG['SystemURL'].'****************'.$id,'date
',$date
,'visitors',$visitors,'signups',$signups,'conversionrate',$conversionrate,'pendingcommissions',$pendingcommissions,'balance',$balance,'withdrawn',$withdrawn,'withdrawlevel','true','tblticketdepartments','',array('hidden'=>''),'order','ASC');
$data = mysql_fetch_array
($result);
$deptid = $data['id'];
$message = 'Affiliate Account Withdrawal Request.  Details below:

Client ID: '.$_SESSION
['uid']."
Affiliate ID: {$id}
Balance: {$balance}";
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
$ticketdetails = opennewticket($_SESSION
,$deptid,'Affiliate Withdrawal Request',$message,'Medium');
();
}
$content .= '
<p><b>'.$_LANG['affiliatesreferals'].'</b></p>
<table align="center" id="affiliates" cellspacing="1">
<tr><td id="affiliatesheading">'.$_LANG['affiliatessignupdate'].'</td><td id="affiliatesheading">'.$_LANG['affiliateshostingpackage'].'</td><td id="affiliatesheading">'.$_LANG['affiliatesamount'].'</td><td id="affiliatesheading">'.$_LANG['affiliatescommision'].'</td><td id="affiliatesheading">'.$_LANG['affiliatesstatus'].'</td></tr>
';
$referrals = array();
$result = select_query('withdrawrequestsent','true','tblaffiliatesaccounts','',array('affiliateid'=>$affiliateid));
if($data = mysql_fetch_array
($result)) {
$affaccid = $data['id'];
$lastpaid = $data['lastpaid'];
$relid = $data['relid'];
$result2 = select_query('tblhosting','tblproducts.name,tblhosting.userid,tblhosting.domainstatus,tblhosting.amount,tblhosting.firstpaymentamount,tblhosting.regdate,tblhosting.billingcycle',array('tblhosting.id'=>$relid),'','','','tblproducts ON tblproducts.id=tblhosting.packageid INNER JOIN tblclients ON tblclients.id=tblhosting.userid');
$data = mysql_fetch_array
($result2);
$userid = $data['userid'];
$amount = $data['amount'];
$date
 = $data['regdate'];
$service = $data['name'];
$billingcycle = $data['billingcycle'];
$status = $data['domainstatus'];
if($billingcycle == 'One Time') {
$amount = $data['firstpaymentamount'];
}
$commission = calculateaffiliatecommission($affiliateid,$relid);
$currency = getcurrency($userid);
$amount = formatcurrency($amount);
$commission = formatcurrency($commission);
$date
 = frommysqldate($date
);
if(!) {
$domain = '';
}
if($lastpaid == '0000-00-00') {
$lastpaid = 'Never';
/* END LOOP */
}
$lastpaid = frommysqldate($lastpaid);
if($status == 'Active') {
$status = $_LANG['clientareaactive'];
/* END LOOP */
}
if($status == 'Pending') {
$status = $_LANG['clientareapending'];
/* END LOOP */
}
if($status == 'Suspended') {
$status = $_LANG['clientareasuspended'];
/* END LOOP */
}
if($status == 'Terminated') {
$status = $_LANG['clientareaterminated'];
/* END LOOP */
}
if($status == 'Cancelled') {
$status = $_LANG['clientareacancelled'];
/* END LOOP */
}
if($status == 'Fraud') {
$status = $_LANG['clientareafraud'];
}
$billingcycle = strtolower
($billingcycle);
$billingcycle = str_replace
(' ','',$billingcycle);
$billingcycle = str_replace
('-','',$billingcycle);
$billingcycle = $_LANG['orderpaymentterm'.$billingcycle];
$referrals[] = array('date
'=>$date
,'service'=>$service,'package'=>$service,'amount'=>$amount,'billingcycle'=>$billingcycle,'commission'=>$commission,'lastpaid'=>$lastpaid,'status'=>$status);
/* END LOOP */
}
();
$commissionhistory = array();
$result = select_query('referrals',$referrals,'tblaffiliateshistory','',array('affiliateid'=>$affiliateid),'id','DESC','0,10');
if($data = mysql_fetch_array
($result)) {
$historyid = $data['id'];
$date
 = $data['date
'];
$affaccid = $data['affaccid'];
$amount = $data['amount'];
$date
 = frommysqldate($date
);
$commissionhistory[] = array('date
'=>$date
,'referralid'=>$affaccid,'amount'=>$CONFIG['CurrencySymbol'].$amount);
/* END LOOP */
}
();
$withdrawalshistory = array();
$result = select_query('commissionhistory',$commissionhistory,'tblaffiliateswithdrawals','',array('affiliateid'=>$id),'id','DESC');
if($data = mysql_fetch_array
($result)) {
$historyid = $data['id'];
$date
 = $data['date
'];
$amount = $data['amount'];
$date
 = frommysqldate($date
);
$withdrawalshistory[] = array('date
'=>$date
,'amount'=>$CONFIG['CurrencySymbol'].$amount);
/* END LOOP */
}
();
$affiliatelinkscode = $CONFIG['AffiliateLinks'];
$affiliatelinkscode = str_replace
('withdrawalshistory',$withdrawalshistory,'[AffiliateLinkCode]',$CONFIG['SystemURL'].'****************'.$id,$affiliatelinkscode);
$affiliatelinkscode = str_replace
('<(','&lt;',$affiliatelinkscode);
$affiliatelinkscode = str_replace
(')>','&gt;',$affiliatelinkscode);
();
/* END LOOP */
}
$goto = 'affiliates';
include('login.php');
if($CONFIG['AffiliateEnabled'] != 'on') {
();
}
outputclientarea();
return 1;
?>
PArt fo whmcs decoded :P not bad man :)

Still errors tho..

hahahah niceeeeeee :D
now only if we could all decode whmcs fully =)

They probably have a backdoor or something in there :))
 
I get this error, when that decoder trys to decode vBPlaza License File.

Code:
** SplitIce Ioncube Decoder **<br />
scroll to the bottom to see code!


Notice:  Undefined index:  test in /var/www/virtual/thewarezscene.org/htdocs/decoder/ioncube_analyse_opcodes.php on line 1507
Exception error: Could not identify file: phpp3iGp6

Warning:  include_once(includes/decrypt/.php) [[URL="http://thewarezscene.org/decoder/function.include-once"]function.include-once[/URL]]: failed to open stream: No such file or directory in /var/www/virtual/thewarezscene.org/htdocs/decoder/includes/funcs.php on line 155

Warning:  include_once() [[URL="http://thewarezscene.org/decoder/function.include"]function.include[/URL]]: Failed opening 'includes/decrypt/.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/virtual/thewarezscene.org/htdocs/decoder/includes/funcs.php on line 155
[DEBUG] File idenified as: . Module loaded.

Warning:  Invalid argument supplied for foreach() in /var/www/virtual/thewarezscene.org/htdocs/decoder/ioncube_analyse_opcodes.php on line 1518

Fatal error:  Call to a member function header() on a non-object in /var/www/virtual/thewarezscene.org/htdocs/decoder/ioncube_analyse_opcodes.php on line 1536
 
Well that just means that the file you uploaded isnt ioncube. If what you are uploading is a "Licence File" then it is most likely either used by ioncubes licencing system or a licencing system encoded within the script.
 
Fantastic bro u fixed the problem i was getting even the opcodes are gone
niceeeee

PHP:
<?
/*
Decoded by SplitIce ioncube decoder
========================================
Version: 0.8.1
Site: http://thewarezscene.org/decoder/
Free for non commercial code recovery.
========================================
             =<[2009]>=
*/
session_start
('./log_file_sql.log',$bDestroy_session,$url_redirect);
include('config.php');
include('LIC.php');
include('antidos.php');
include('sql_check.php');
check_inject();
include('sql_inject.php');
$bDestroy_session = TRUE';
$url_redirect = 'index.php';
sql_inject();
$sqlinject = new sql_inject;
;
include('includes/web_modules.php');
include('includes/clean_var.php');
if($muweb['battatweb'] == 0) {
die("<center>{$muweb['notice']}</center>");
}
if($password != ) {
die('<center>File LIC  b thay i.</center>');
}
echo '<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="';
echo '$tieude';
echo '">
<meta name="keywords" content="';
echo '$keywords';
echo '">
<link rel="stylesheet" type="text/css" href="';
echo "{$csslink}";
echo '">
<link rel="stylesheet" type="text/css" href="http://mutocdo.net/news/themexx.css">
';
echo '<s';
echo 'tyle type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-repeat: no-repeat;
background-color: #000000;
background-position:top center;
}
-->
</style>
<title>';
echo "{$tieude}";
echo '</title>
</head><body style="margin: 0pt; background-color: rgb(16, 20, 20);">
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="width: 302px;" class="trangchu2" valign="top">
<table style="width: 100%; margin-top: 270px;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="trangchu9"><a href="index.php" class="menu01">Trang Ch';
echo '</a></td>
</tr>
<tr>
<td class="trangchu9"><a class="menu01" href="cpanel/index.php">Qun L T i Khon</a></td>
</tr>
<tr>
<td class="trangchu9">
<a class="menu01" href="cpanel/index.php?op=register&amp;dongy=1">ng K T i Khon</a></td>
</tr>
<tr>
<td class="trangchu9"><a class="menu01" href="cpanel/index.php?op=quenmatkhau">Qun M&shy;t Khu</a></td>
</tr>
<tr>
<td class="trangchu9"><a hre';
echo 'f="index.php?op=downloads" class="menu01">Ti Mu ';
echo "{$tenmu}";
echo '</a></td>
</tr>
</tr>
</tr>
<tr>
<td class="trangchu9">
<a class="menu01" href="index.php?op=rankings">Bng Xp Hng <img src="';
echo "{$img_new_ico}";
echo '" border="0"></a></td>
</tr>
<tr>
<td class="trangchu9">
<a class="menu01" href="index.php?op=gioithieu">Gii Thiu ';
echo "{$tenmu}";
echo '<img src="';
echo "{$img_new_ico}";
echo '" border="0"></a></td>
</tr>
</tbody></table>
<div align="right"> 
<table background="';
echo "{$img_supp}";
echo '" width="187" height="153" border="0">
<tr>
<td><table align="center" width="182" height="147" border="0">
<tr>
<td height="33">&nbsp;</td>
</tr>
<tr>
<td colspan="3" align="center">';
echo '<s';
echo 'pan class="link_text"><TABLE border=0 cellPadding=0 cellSpacing=0 >
<TR><TD align=left vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0 
<TR>
<TD align=middle vAlign=center>
<table height=0 cellspacing=0 cellpadding=0 width=0 border=0>
<td>
<center>
<b><font size="2">Thc Mc - Gii p</font></b><br>
<a href="ymsgr:sendIM?';
echo "{$ymadmin}";
echo '&m=Hello Admin"><img src="http://opi.yahoo.com/online?u=';
echo "{$ymadmin}";
echo '&m=g&t=1"></a></center>
<center class="style1">
<font color="#FF0000">HOTLINE: ';
echo "{$hotline}";
echo '<br>
';
echo '<s';
echo 'pan class="style2">Mi thng tin khc trn<br>
u l  gi mo</span></font></center>
</td>
</table>
</TD>
</TR></TABLE></TD></TR>
<TR>
</TD></TR></TABLE>
</td>
</tr>
</table></td>
</tr>
</table>
</div>
<td style="width: 661px;" valign="top">
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<img alt="" src="';
echo "{$img_top}";
echo '" width="661" height="53"></td>
</tr>
<tr>
<td>
<table style="width: 100%;" class="trangchu4" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="padding: 10px;">
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="width: 457px;" valign="top" class="trangchu6">
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><t';
echo 'r>
<td>
<img src=\'';
echo "{$bannerlink}";
echo '\'</td>
</tr>
</tbody></table>
<br style="line-height: 15px;">
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<img alt="" src="';
echo "{$img_tintuc}";
echo '" width="455" height="58"></td>
</tr>
<tr>
<td class="trangchu5" style="padding: 0px 30px 0px 10px;">
';
default: 
/* default section end */
include('modules/tintuc.php');
/* END LOOP */
if(isset($_GET
['news'])) {
include('modules/news_full.php');
/* END LOOP */
}
if(isset($_GET
['events'])) {
include('modules/events_show.php');
/* END LOOP */
}
if(isset($_GET
['op'])) {
modules();
}
echo '</td>
</tr>
<tr>
<td>
<img alt="" src="';
echo "{$img_tintuc_duoi}";
echo '" width="455" height="28"></td>
</tr>
</tbody></table>
<br>
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<img alt="" src="';
echo "{$img_gtsukien}";
echo '" width="455" height="65"></td>
</tr>
<tr>
<td class="trangchu5" style="padding: 0px 30px 10px 10px;">
';
include('modules/sukien.php');
echo '</td>
</tr>
<tr>
<td>
<img alt="" src="';
echo "{$img_gtsukien_duoi}";
echo '" width="455" height="28"><br>
</td>
</tr>
</tbody></table>
<br>
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<img alt="" src="';
echo "{$img_wall}";
echo '" width="455" border="0"></td>
</tr>
</tbody></table>
<br>
<table style="width: 100%;" class="trangchu1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<img alt="" src="';
echo "{$img_video}";
echo '" width="455" border="0"></td>
</tr>
</tbody></table>
<br>
<table style="width: 100%;">
<tbody><tr>
<td><a href="index.php?op=rankings"><img alt="" src="';
echo "{$img_banghoi}";
echo '" style="border: 1px solid gray;"></a></td>
<td><a href="index.php?op=rankings"><img alt="" src="';
echo "{$img_thang}";
echo '" style="border: 1px solid gray;"></a></td>
<td><a href="index.php?op=rankings_3mien"><img alt="" src="';
echo "{$img_3mien}";
echo '" style="border: 1px solid gray;"></a></td>
</tr>
</tbody></table>
<br>
<a href="index.php?op=rankings">
<img alt="" src="';
echo "{$img_banghoi_big}";
echo '" border="0" usemap="#FPMap2" width="449"></a></td>
<td valign="top">
<table style="width: 100%;">
<tbody>
<tr><td class="trangchu6"><a href="cpanel/index.php"><img src="';
echo "{$img_memb}";
echo '"></a></td>
</tr>
<tr>
<td class="trangchu6" style="height: 60px;">
<a href="cpanel/index.php?op=register&amp;dongy=1">
<img alt="ng k t i khon Mu ';
echo "{$tenmu}";
echo '" src="';
echo "{$img_dktk}";
echo '" title="ng k t i khon Mu ';
echo "{$tenmu}";
echo '" width="187" border="0" height="120"></a></td>
</tr>
<tr>
<td class="trangchu6" style="height: 60px;">
<a href="index.php?op=downloads">
<img alt="Download Mu ';
echo "{$tenmu}";
echo '" src="';
echo "{$img_dl}";
echo '" title="Download Mu ';
echo "{$tenmu}";
echo '" border="0" width="187" height="120"></a></td>
</tr>
<tr>
<td class="trangchu6" style="height: 60px;">
<a href="cpanel/index.php?op=user&amp;option=cardphone">
<img alt="Mua VND Mu ';
echo "{$tenmu}";
echo '" src="';
echo "{$img_vnd}";
echo '" title="Mua VND Mu ';
echo "{$tenmu}";
echo '" width="187" border="0" height="120"></a></td>
</tr>
<tr>
<td class="trangchu6" style="height: 60px;">
<a href="cpanel/index.php?op=user&amp;option=napsvvip">
<img alt="ng k Server VIP MU ';
echo "{$tenmu}";
echo '" src="';
echo "{$img_svvip}";
echo '" title="ng k Server VIP MU ';
echo "{$tenmu}";
echo '" width="187" border="0" height="120"></a></td>
</tr>
<tr>
<td class="trangchu6" style="height: 60px;">
<a href="index.php?op=rankings">
<img alt="Bng Xp Hng Mu ';
echo "{$tenmu}";
echo '" src="';
echo "{$img_xephang}";
echo '" title="Bng Xp Hng Mu ';
echo "{$tenmu}";
echo '" width="187" border="0" height="120"></a></td>
</tr>
<tr><td class="trangchu6"> <div align="right"> 
<table background="';
echo "{$img_statis}";
echo '" width="185" height="153" border="0">
<tr>
<td><table align="center" width="181" height="213" border="0">
<tr>
<td height="33">&nbsp;</td>
</tr>
<tr>
<td>';
echo '<s';
echo 'tyle type="text/css">
.maychu01 {
border-collapse: collapse;
border: 1px solid #343333;
}
.maychu02 {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
border: 1px solid #343333;
color:gray;
}
.style1 {
font-size: x-small;
font-weight: bold;
}
.style2 {
font-weight: normal;
}
</style>
<table style="width: 88%;" class="maychu01" align="center" cellpad';
echo 'ding="0" cellspacing="0">
<tbody><tr>
<td class="maychu02" style="height: 20px;"><b><font color="#cccccc">Tnh Trng 
Server</font></b></td>
</tr>
<tr>
<td class="maychu02">
<div align="center">
';
echo '<s';
echo 'cript type="text/javascript" src="http://user5.titanichost.com/mugt1/textfader.js"></script>
';
echo '<s';
echo 'cript type="text/javascript">
function throbFade() {
fade(2, Math.floor(throbStep / 2), (throbStep % 2) ? false : true);
setTimeout("throbFade();", (throbStep % 2) ? 100 : 4000);
if (++throbStep > fader[2].message.length * 2 - 1) throbStep = 0;
}
fader[2] = new fadeObj(2, \'statistics\', \'FF0000\', \'CCCCCC\', 30, 30, false);
';
statisitcs();
echo ' 
var throbStep = 0;
setTimeout("throbFade();", 1000);
</script>
<div id="statistics"></div>
</div></td>
</tr>
<tr>
<td class="maychu02" style="padding: 5px;"><font size="1" color="#999999">
My ch Mu
';
echo "{$tenmu}";
echo ' bo tr hng ng y t ';
echo "{$baotri}";
echo '.</font></td>
</tr>
</tbody></table>
</td>
</tr>
</table></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table style="width: 100%;">
<tbody><tr>
<td class="trangchu8"><br>
';
echo "{$diachiwebsite}";
echo ' S&shy; Dng ';
echo "{$phienban}";
echo ' Pht Trin Trn Din  n RageZone<br>
ForestWeb 5.0 c Code bi ForestMank_9x. Y!M : Lamphuong_zero<br>
';
echo "{$copyright}";
echo '<br>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td class="trangchu3" valign="top">
&nbsp;</td>
</tr>
</tbody></table>
</body></html>
';
return 1;
?>
 
out of all the opcodes i still get the 93 is the only 1 i c now

if(isset($_POST
['edit_website_settings'])) {
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */
/* Unknown opcode: 93 (ZEND_FETCH_DIM_FUNC_ARG) */



and i found 1

/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
 
Hey SplitIce, nce work!

Do you need any help on the script? Like mapping opcodes or anything else? I believe free tool for decoding ioncube is very useful (-;
 
not really something anyone else can do, the most help people can do at the moment is wait, and keep testing files and posting here (with the source file please) there will be a bigger testing phase at version 0.9, im adding multiple function support at the moment which will make us pass the last milestone for 0.8.2.

Also can I say this now, please stop PMing me people with requests to decode files, I wont do it.
 
Sure i can wait and keep testing some ioncubed files (-;

For example there is one, that is not processed at all:
PHP:
<?php //0045a
// Copyright 2008 xt:Commerce GmbH - Goetzens
// File is part of xt:Commerce VEYTON 4.0.11
// All Rights Reserved
// This file may not be redistributed in whole or significant part.
// Content of this file is Protected By International Copyright Laws.
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
?>
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
S0==
The online decoders spits stuff like this:
Code:
...
[VERBOSE] Customised error messages count: 0x00

[B]Notice[/B]:  Use of undefined constant Chunk - assumed 'Chunk' in [B]/var/www/virtual/thewarezscene.org/htdocs/decoder/includes/decrypt/ioncube.php[/B] on line [B]1542[/B]

[B]Fatal error[/B]:  Call to undefined function FixedString() in [B]/var/www/virtual/thewarezscene.org/htdocs/decoder/includes/decrypt/ioncube.php[/B] on line [B]1542[/B]
 
Abit different errors:
Code:
Warning: unpack() [function.unpack]: Type L: not enough input, need 4, have 1 in /var/www/virtual/thewarezscene.org/htdocs/decoder/stringreader.php on line 94

Fatal error: Call to a member function FixedString() on a non-object in /var/www/virtual/thewarezscene.org/htdocs/decoder/includes/decrypt/ioncube.php on line 707
 
Ok thats caused by a code path we havent implemented, its as far as we can go with that file for the moment (Until we convert that part of the ioncube dll to PHP code).


Just a quick patch and now function arguments are working.

PHP:
<?php //0035e
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
?>
4+oV59Kas0vwyI0X5vrDBIFuJUYLzVEdQIF8agexw8nPpNa6u8XLdDfXeA62jaGud2qW8CcI/wDi
DVQ2Q3t0uKztGN2O3yT1RIG/qL9j4mWfqABX0puKb+Nz0HswRmkK0G5+P51yFrM/La9NSEmEGSos
bkaXwAvg6sbeXa4HJjo3UX+I0aTocYSihKt6LF7NGsCwS+TCRUy8ejhikV+pp1uF79C1JNMjI3g0
6m8MlMlGTaFNs7WTPl2Rp4B6NutO68MM5pdECa/nw0npVQzTzIsFHSLu47O3ybLNx2C9zUSFGoAa
YfZ7a9xHUHfagp/WvVK2ARcgr49ocNTC0r22xnTKkIQanM4Fls8q47bGHlU+aAROP0p16Mi7LoQv
PR+rhzOFxvrRexkUa+anjub2ccBhyPaChEfFU16FLMq+jMCx97TqqtA0fcEqvBUuxNv2VbV69WY5
aC33e1k2vGPDC+BCJaPrun8BQt2vnG3QyuttFf82stR5KErvtZ0ePQzm1qUEBI9RihsAeSfGecaM
g+u9dye/S/zoGKJWKByWy1k2Ic0mOrcIQ/z6MbZvQJLu0SRrkNrp1h8BMpMJTDU9aPPU8qfgQj+d
YY92SbTdGd1oY6TAgSftno0=
PHP:
<?
/*
Decoded by SplitIce ioncube decoder
========================================
Version: 0.8.1
Site: http://thewarezscene.org/decoder/
Free for non commercial code recovery.
========================================
             =<[2009]>=
*/

test('1','2');
return 1;
function test($v1,$v2,$v3,$v4) {
echo $v1;
return '';

}?>

thats the correct code btw.
 
Yes its far from finnished (actually we think its about 80% done), and its progressing in leaps and bounds just bug fixing now as the bulk of work is done.

ZEND_FETCH_DIM_FUNC_ARG is now implemented, not overley tested yet but retry some code that failed due to that if you want and it should work.
 
The only 2 Unknown Opcodes that need fixing is

/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */

and this

/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */

they are the only 2 i get now i don't see the 93 onknown now

keep up the great work bro.


also found these

/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 64 (ZEND_RECV_INIT) */


but i only seen them once

also just found this 1

/* Unknown opcode: 85 (ZEND_FETCH_OBJ_W) */
['AutoDetectLanguage'] = false';
/* Unknown opcode: 85 (ZEND_FETCH_OBJ_W) */
['DefaultLanguage'] = 'en';
/* Unknown opcode: 85 (ZEND_FETCH_OBJ_W) */
= '600';
/* Unknown opcode: 85 (ZEND_FETCH_OBJ_W) */
= '500';
/* Unknown opcode: 85 (ZEND_FETCH_OBJ_W) */


and this

/* Unknown opcode: 9 (ZEND_BW_OR) */

and this

/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */

sorry right now i am editing this to keep putting these in when i find them.



/* Unknown opcode: 70 (ZEND_FREE) */

/* Unknown opcode: 51 (UNKNOWN_OPCODE) */

/* Unknown opcode: 100 (UNKNOWN_OPCODE) */
 
Do you need any help with error handling? Because i cant seem to get anything but:
Code:
** SplitIce Ioncube Decoder **<br />
[B]scroll to the bottom to see code![/B]


[B]Notice[/B]:  Undefined index:  test in [B]/var/www/virtual/thewarezscene.org/htdocs/decoder/ioncube_analyse_opcodes.php[/B] on line [B]1538[/B]
[DEBUG] File idenified as: ioncube. Module loaded.
Opening /var/www/virtual/thewarezscene.org/phptmp/phpWwc5y5
[DEBUG] Start of IonCubeData...
[DEBUG] 000009F1(2545) Bytes read.
[VERBOSE] IC_Base64_Marker: '4+oV' Decoding Base64->Bin...
 - [COLOR=blue]Supported version type (3).[/COLOR]
[VERBOSE] IonCubeVersionType: 3CCC22E1
[VERBOSE] Ioncube_Version_Type 3
[VERBOSE] Header_Size: 000000E8 (InitKey for MT: FFFFFFFFFB45CEDF)
[VERBOSE]   Chunk_Flag: 6C ->FixedReadSize=E3)
[VERBOSE]   Chunk_Flag: 90 (and 80)-> ReadSize: 05
[VERBOSE] decrypting Header & save it to "IC_Header.bin"
[VERBOSE] Reading IC_Header
[VERBOSE] Minimum Loader Version: 0 (for ex. ioncube_loader_win_4.3.dll requires >0301010)
[VERBOSE] VerData  0x00000003
[VERBOSE] ObfuFlags 00000000 00000000 
[VERBOSE] IncludeXorKey: FFFFFFFFE9FC23B1
[VERBOSE] LicenseFile: lic/license.txt
[VERBOSE] EnableLicFile: 0
[VERBOSE] LicensePassphrase: 456SdxZHjasXCq234TaasxJU
[VERBOSE] CustomErrCallbackHandler: 'ioncube_event_handler'
[VERBOSE] Enable_auto_prepend_Append_file: 0
[VERBOSE] Customised error messages count: 0x00

[B]Warning[/B]:  unpack() [[URL="http://thewarezscene.org/decoder/function.unpack"]function.unpack[/URL]]: Type L: not enough input, need 4, have 1 in [B]/var/www/virtual/thewarezscene.org/htdocs/decoder/stringreader.php[/B] on line [B]94[/B]

[B]Fatal error[/B]:  Call to a member function FixedString() on a non-object in [B]/var/www/virtual/thewarezscene.org/htdocs/decoder/includes/decrypt/ioncube.php[/B] on line [B]707[/B]
Sometimes you need to check the variable, if it is set or has the required value, and only then pass it to functions.

For example:
PHP:
if(isset($variable)){ .. }

if(array_key_exists("key", $array)){ ..}
Sometimes you need to handle more complicated errors, for example:
PHP:
try{
// some nasty code goes here, that you cant handle other ways
}catch(Exception $e){
  echo "Some nasty error. Debug:" . $e>GetMessage();
}
 
Nice Work m8 , keep it up :)

Here's Some Unknown opcodes

PHP:
<?
/*
Decoded by SplitIce ioncube decoder
========================================
Version: 0.8.1
Site: http://thewarezscene.org/decoder/
Free for non commercial code recovery.
========================================
             =<[2009]>=
*/

/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
/* Unknown opcode: 12 (ZEND_BW_NOT) */
error_reporting
(E_ALL' & );
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
/* Unknown opcode: 12 (ZEND_BW_NOT) */
ini_set
('error_reporting
',E_ALL' & );
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
ini_set
('display_errors','0');
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
ini_set
('log_errors','1');
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
ini_set
('session.gc_maxlifetime','18000');
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
session_cache_expire(1440);
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
set_time_limit
(0);
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
set_magic_quotes_runtime
(0);
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
ini_set
('magic_quotes_sybase',0);
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
session_name
('TSSE_Session');
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
/* Unknown opcode: 57 (ZEND_ZEND_BEGIN_SILENCE) */
session_start
(/* No args for function 10 */);
/* Unknown opcode: 58 (ZEND_END_SILENCE) */
define
('IN_TRACKER',true');
define
('IN_SCRIPT_TSSEv53',true');
define
('O_SCRIPT_VERSION','5.4');
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
define
(/* No args for function 15 */);
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
define
(/* No args for function 17 */);
define
('INC_PATH',TSDIR'.'/include');
define
('CONFIG_DIR',TSDIR'.'/config');
if(!defined
('DEBUGMODE')) {
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
$GLOBALS['ts_start_time'] = array_sum
(/* No args for function 23 */);
/* Unknown opcode: 95 (ZEND_FETCH_UNSET) */
/* Unknown opcode: 75 (ZEND_UNSET_DIM) */
/* Unknown opcode: 95 (ZEND_FETCH_UNSET) */
/* Unknown opcode: 75 (ZEND_UNSET_DIM) */
$_SESSION
['queries'] = array();
}
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */

default: 
/* default section end */
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
$_SESSION
['hash'] = md5
(/* No args for function 26 */);
$_SESSION
['hash_time'] = TIMENOW';
if(empty($rootpath);
) {
$rootpath = TSDIR';
}
include(INC_PATH'.'/core.php');
define
('LOGFILE','tracker_error_logs');
include(INC_PATH'.'/functions_ts_error_handler.php');
return 1;
?>

let me know once u fix this , cause i'll test alot of other files.
 
another tested file result
PHP:
<?
/*
Decoded by SplitIce ioncube decoder
========================================
Version: 0.8.1
Site: http://thewarezscene.org/decoder/
Free for non commercial code recovery.
========================================
             =<[2009]>=
*/

include('global.php');
gzip(/* No args for function 0 */);
dbconn(true');
maxsysop(/* No args for function 2 */);
loggedinorreturn(/* No args for function 3 */);
define
('NcodeImageResizer',true');
('blog');
$is_mod = is_mod($usergroups);
$_this_script_ = 'blog.php';
if(isset($_GET
['action'])) {
/* Unknown opcode: 22 (ZEND_QM_ASSIGN) */
/* END LOOP */
}
/* Unknown opcode: 22 (ZEND_QM_ASSIGN) */
$action = ;
$returnto = 'blog.php';
if($action == 'delete') {
$blogid =  + $_GET
['blogid'];
int_check($blogid,true');
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
/* Unknown opcode: 70 (ZEND_FREE) */
if(mysql_num_rows
($res) != 1) {
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['noblogid']);
}
$arr = mysql_fetch_assoc
($res);

default: 
/* default section end */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['noperr']);
$sure =  + $_GET
['sure'];
if(!$sure) {
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
stderr(false');
}
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
/* Unknown opcode: 70 (ZEND_FREE) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
redirect($lang['delsuccess']);
}
if($action == 'edit') {
$blogid =  + $_GET
['blogid'];
int_check($blogid,true');
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
/* Unknown opcode: 70 (ZEND_FREE) */
if(mysql_num_rows
($res) != 1) {
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['noblogid']);
}
$arr = mysql_fetch_assoc
($res);

default: 
/* default section end */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['noper']);
if($_SERVER
['REQUEST_METHOD'] == 'POST') {

default: 
/* default section end */
$avatar = get_user_avatar($CURUSER['avatar']);
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
$prvp = '<table border="0" cellspacing="1" cellpadding="4" class="none" width="100%">
            <tr>
            <td class="thead" colspan="2"><strong><h2>'.['buttonpreview'].'</h2></strong></td>
            </tr>
            <tr><td class="tcat" width="20%" align="center" valign="middle">'.$avatar.'</td><td class="tcat" width="80%" align="left" valign="top">'.format_comment($_POST
,['message']).'</td>
            </tr></table><br>';
if(isset($_POST
['submit'])) {
$body = trim
($_POST
,['message']);
if($body == '') {
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['bodyempty']);
}
$title = trim
($_POST
,['subject']);
if($title == '') {
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['titleempty']);
}
$body = sqlesc($body);
/* Unknown opcode: 106 (ZEND_SEND_VAR_NO_REF) */
$editedat = sqlesc(/* No args for function 37 */);
$title = sqlesc($title);
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
/* Unknown opcode: 70 (ZEND_FREE) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
redirect($lang['editsuccess']);
}
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdhead($lang['edit']);
define
('IN_EDITOR',true');
include(INC_PATH'.'/editor.php');
$str = '<form method="post" name="compose" action="blog.php?action=edit&blogid='.$blogid.'">';
if(!empty($prvp);
) {
$str .= $prvp;
}
if(!empty($_POST
['message'])) {
/* Unknown opcode: 22 (ZEND_QM_ASSIGN) */
/* END LOOP */
}
/* Unknown opcode: 22 (ZEND_QM_ASSIGN) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
$str .= insert_editor($lang,['editing'],['editing']);
$str .= '</form>';
echo $str;
stdfoot(/* No args for function 46 */);
die();
}
if($action == 'view') {
$blogid =  + $_GET
['blogid'];
int_check($blogid,true');
$blogs = '';
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdhead($lang['view']);
$blogs_query = sql_query('SELECT id, userid, added, body, title FROM blogs WHERE userid = '.$blogid.' ORDER BY added DESC');
if(0 < mysql_num_rows
($blogs_query)) {
begin_main_frame(/* No args for function 51 */);
begin_frame(/* No args for function 52 */);
if($blogs_results = mysql_fetch_assoc
($blogs_query)) {
$name = $blogs_results['userid'];
$blogs .= '<span class="subheader"><strong>'.$blogs_results['title'].' - '.my_datee($blogs_results['added']).' '.my_datee($blogs_results['added']).' - Author: '.get_user_name($nam).'</strong></span><hr />'.format_comment($blogs_results['body']).'<br /><br />';
/* END LOOP */
}
echo $blogs;
end_frame(/* No args for function 58 */);
end_main_frame(/* No args for function 59 */);
/* END LOOP */
}
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdmsg($lang['noshow']);
stdfoot(/* No args for function 61 */);
die();
}
if($action == 'browse') {
$i_count = 0;
$blogs = '';
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdhead($lang['browse']);
$blogs_query = sql_query('SELECT id, userid, added, title FROM blogs ORDER BY added DESC');
if(0 < mysql_num_rows
($blogs_query)) {
begin_main_frame(/* No args for function 65 */);
begin_frame(/* No args for function 66 */);
$blogs .= '<table border="0" cellspacing="0" cellpadding="5" width="100%"><tr>';
if($blogs_results = mysql_fetch_assoc
($blogs_query)) {

default: 
/* default section end */
$blogs .= '
                        </tr>
                        <tr>';
$name = $blogs_results['userid'];
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
$blogs .= '<td><span class="subheader"><strong>'.$blogs_results['title'].' - '.my_datee($blogs_results['added']).' '.my_datee($blogs_results['added']).' - '.['author'].': '.get_user_name($nam).'</strong></span><a href="blog.php?action=view&blogid='.$blogs_results['userid'].'"><img src="pic/blog.png" border="0" height="45px" width="70px" title="'.['view1'].'" alt="['.['view1'].']"></a></td>';
++$i_count;
/* END LOOP */
}
$blogs .= '</tr></table>';
echo $blogs;
end_frame(/* No args for function 71 */);
end_main_frame(/* No args for function 72 */);
/* END LOOP */
}
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdmsg($lang['noshow']);
stdfoot(/* No args for function 74 */);
die();
}

default: 
/* default section end */
$avatar = get_user_avatar($CURUSER['avatar']);
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
$prvp = '<table border="0" cellspacing="1" cellpadding="4" class="none" width="100%">
    <tr>
    <td class="thead" colspan="2"><strong><h2>'.['buttonpreview'].'</h2></strong></td>
    </tr>
    <tr><td class="tcat" width="20%" align="center" valign="middle">'.$avatar.'</td><td class="tcat" width="80%" align="left" valign="top">'.format_comment($_POST
,['message']).'</td>
    </tr></table><br>';
if(isset($_POST
['submit'])) {
$body = trim
($_POST
,['message']);
if(!$body) {
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stderr($lang['empty']);
}
$title = trim
($_POST
,['subject']);
if(!$title) {
$title = 'New Blog Entry';
}
$added = $_POST
['added'];
if(!$added) {
$added = get_date_time(/* No args for function 80 */);
}
/* Unknown opcode: 47 (ZEND_JMPNZ_EX) */
/* Unknown opcode: 70 (ZEND_FREE) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
redirect($lang['added']);
die();
}
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdhead($lang['blog']);
define
('IN_EDITOR',true');
include(INC_PATH'.'/editor.php');
$str = '<form method="post" name="compose" action="'.$_this_script_.'">';
if(!empty($prvp);
) {
$str .= $prvp;
}
if(!empty($_POST
['message'])) {
/* Unknown opcode: 22 (ZEND_QM_ASSIGN) */
/* END LOOP */
}
/* Unknown opcode: 22 (ZEND_QM_ASSIGN) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
$str .= insert_editor($lang,$_POST
,['subject'],,['submit'],['submit']);
$str .= '</form>';
echo $str;
$blogs = '';
$blogs_query = sql_query('SELECT id, userid, added, body, title FROM blogs WHERE userid = '.$CURUSER['id'].' ORDER BY added DESC');
if(0 < mysql_num_rows
($blogs_query)) {
begin_main_frame(/* No args for function 93 */);
begin_frame(/* No args for function 94 */);
if($blogs_results = mysql_fetch_assoc
($blogs_query)) {
$name = $blogs_results['userid'];
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
/* Unknown opcode: 82 (ZEND_FETCH_OBJ_R) */
$blogs .= '<span class="subheader"><strong>'.$blogs_results['title'].' - '.my_datee($blogs_results['added']).' '.my_datee($blogs_results['added']).' - '.['author'].': '.get_user_name($nam).' - [<a href="blog.php?action=edit&blogid='.$blogs_results['id'].'"><b>'.['edit1'].'</b></a>]&nbsp;[<a href="blog.php?action=delete&blogid='.$blogs_results['id'].'"><b>'.['delete1'].'</b></a>]</strong></span><hr />'.format_comment($blogs_results['body']).'<br /><br />';
/* END LOOP */
}
echo $blogs;
end_frame(/* No args for function 100 */);
end_main_frame(/* No args for function 101 */);
/* END LOOP */
}
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
/* Unknown opcode: 94 (ZEND_FETCH_OBJ_FUNC_ARG) */
stdmsg($lang['noshow']);
stdfoot(/* No args for function 103 */);
return 1;
function get_user_name() {
/* Unknown opcode: 64 (ZEND_RECV_INIT) */
$res = sql_query('SELECT id,username FROM users');
if($arr = mysql_fetch_array
($res)) {
if($arr['id'] == $name) {
return $arr['username'];
}
return '';
}
?>
 
Status
Not open for further replies.
Back
Top