|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 85
Members: 0
Total: 85
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Decode this zend please |
|
Posted: Fri Sep 24, 2010 11:06 pm |
|
|
java777 |
Regular user |
|
|
Joined: Sep 25, 2010 |
Posts: 5 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Sat Sep 25, 2010 5:26 pm |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
The file you are trying to access is temporarily unavailable.
Upload it on rapidshare. |
|
|
|
|
Posted: Sat Sep 25, 2010 8:46 pm |
|
|
java777 |
Regular user |
|
|
Joined: Sep 25, 2010 |
Posts: 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Sun Sep 26, 2010 8:54 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
Code: | <?php
function indexpage( )
{
global $smarty;
global $config;
global $dbconn;
global $user;
global $lang;
global $multi_lang;
global $REFERENCES;
if ( isset( $_SERVER['PHP_SELF'] ) )
{
$_obfuscate_VvnB7aAScz0 = strtolower( afterlastslash( $_SERVER['PHP_SELF'] ) );
}
else
{
$_obfuscate_VvnB7aAScz0 = "index.php";
}
indexhomepage( "index" );
createmenu( "index_page_menu" );
createmenu( "index_user_menu" );
createmenu( "lang_menu" );
createmenu( "bottom_menu" );
sendindexcontent( );
if ( isset( $_REQUEST['back'] ) && intval( $_REQUEST['back'] ) == 1 && isset( $_SESSION['quick_search_pars'] ) )
{
$_obfuscate_6RYLWQяя = $_SESSION['quick_search_pars'];
$_obfuscate_29BMkw_GDDGCfuIzDqO7 = array( "realty_type", "description" );
foreach ( $REFERENCES as $_obfuscate_Jrp1 )
{
if ( in_array( $_obfuscate_Jrp1['key'], $_obfuscate_29BMkw_GDDGCfuIzDqO7 ) )
{
$_obfuscate_Vwty = $multi_lang->tablekey( $_obfuscate_Jrp1['spr_table'] );
if ( empty( $_obfuscate_6RYLWQяя[$_obfuscate_Jrp1['key']] ) )
{
$_obfuscate_6RYLWQяя[$_obfuscate_Vwty] = getbackdata( $_obfuscate_6RYLWQяя[$_obfuscate_Jrp1['key']] );
}
}
}
$_obfuscate_29BMkw_GDDGCfuIzDqO7 = array( "realty_type", "description" );
foreach ( $REFERENCES as $_obfuscate_Jrp1 )
{
if ( in_array( $_obfuscate_Jrp1['key'], $_obfuscate_29BMkw_GDDGCfuIzDqO7 ) )
{
$smarty->assign( $_obfuscate_Jrp1['key'], getrefsearcharray( $_obfuscate_Jrp1['spr_table'], $_obfuscate_Jrp1['val_table'], $_obfuscate_6RYLWQяя ) );
}
}
$_obfuscate_09LLJuact6TWG8я = $_obfuscate_6RYLWQяя;
getlocationcontent( $_obfuscate_6RYLWQяя['country'], $_obfuscate_6RYLWQяя['region'], 1 );
$smarty->assign( "search_pref", $_obfuscate_09LLJuact6TWG8я );
}
else
{
getlocationcontent( "", "", 1 );
$_obfuscate_29BMkw_GDDGCfuIzDqO7 = array( "realty_type", "description" );
foreach ( $REFERENCES as $_obfuscate_Jrp1 )
{
if ( in_array( $_obfuscate_Jrp1['key'], $_obfuscate_29BMkw_GDDGCfuIzDqO7 ) )
{
$smarty->assign( $_obfuscate_Jrp1['key'], getrefsearcharray( $_obfuscate_Jrp1['spr_table'], $_obfuscate_Jrp1['val_table'], "" ) );
}
}
$_obfuscate_6RYLWQяя['qsform_more_opt'] = 1;
}
$_obfuscate_BuoE = isset( $_obfuscate_09LLJuact6TWG8я['move_day'] ) && $_obfuscate_09LLJuact6TWG8я['move_day'] ? $_obfuscate_09LLJuact6TWG8я['move_day'] : date( "d" ) + 1;
$_obfuscate_GVmXNr0я = isset( $_obfuscate_09LLJuact6TWG8я['move_month'] ) && $_obfuscate_09LLJuact6TWG8я['move_month'] ? $_obfuscate_09LLJuact6TWG8я['move_month'] : date( "m" );
$smarty->assign( "day", getdayselect( $_obfuscate_BuoE ) );
$smarty->assign( "month", getmonthselect( $_obfuscate_GVmXNr0я ) );
$smarty->assign( "use_search_by_id", getsitesettings( "use_search_by_id" ) );
$smarty->assign( "use_new_location_search", getsitesettings( "use_new_location_search" ) );
unset( $_SESSION['quick_search_pars'] );
unset( $_SESSION['quick_search_arr'] );
$_obfuscate_25SL5KqC0JxPB16klnNK = getorderads( "index", 0 );
$smarty->assign( "last_ads", 1 );
if ( $_obfuscate_25SL5KqC0JxPB16klnNK['show_type'] != "off" )
{
getlastads( "last_ads_num_at_page", 1, "?", $_obfuscate_25SL5KqC0JxPB16klnNK['sorter'], $_obfuscate_25SL5KqC0JxPB16klnNK['sorter_order'], "", $_obfuscate_25SL5KqC0JxPB16klnNK['show_type'], $_obfuscate_25SL5KqC0JxPB16klnNK['ads_number'], $_obfuscate_VvnB7aAScz0 );
}
$_obfuscate_1DvGWVEU6i_ZgGFlc8kIf9Iuy15DFAяя = getsitesettings( array( "use_radius_search", "radius_search_unit", "radius_search_length" ) );
$_obfuscate_1DvGWVEU6i_ZgGFlc8kIf9Iuy15DFAяя['radius_search_lengths'] = explode( ",", $_obfuscate_1DvGWVEU6i_ZgGFlc8kIf9Iuy15DFAяя['radius_search_length'] );
asort( &$_obfuscate_1DvGWVEU6i_ZgGFlc8kIf9Iuy15DFAяя['radius_search_lengths'] );
$smarty->assign( "radius_search_settings", $_obfuscate_1DvGWVEU6i_ZgGFlc8kIf9Iuy15DFAяя );
$smarty->assign( "data", $_obfuscate_6RYLWQяя );
$smarty->assign( "area_parametres", $_obfuscate_25SL5KqC0JxPB16klnNK );
$smarty->assign( "from_file", "index" );
$smarty->assign( "file_name", $_obfuscate_VvnB7aAScz0 );
if ( isset( $_GET['index_preview'] ) && $_GET['index_preview'] == "1" )
{
$smarty->assign( "colors", $_GET['colors'] );
}
if ( getsitesettings( "use_foreign_listings" ) )
{
$smarty->assign( "use_foreign_listings", 1 );
}
if ( strpos( $config['index_theme_path'], "/default_theme" ) != 0 )
{
$smarty->assign( "is_default_theme", 1 );
}
else
{
$smarty->assign( "is_default_theme", 0 );
}
$smarty->display( trimslash( $config['index_theme_path'] )."/index_home_page.tpl" );
exit( );
}
function logoutuser( )
{
global $smarty;
global $config;
global $dbconn;
global $user;
$_obfuscate_M2poO71n = "Delete from ".ACTIVE_SESSIONS_TABLE." where id_user='".$user[0]."' and session='".session_id( )."' ";
$_obfuscate_SF4я = $dbconn->execute( $_obfuscate_M2poO71n );
unset( $_SESSION['return_list'] );
sess_delete( session_id( ) );
if ( isset( $_GET['is_admin'] ) && $_GET['is_admin'] == "1" )
{
header( "Location: ".$config['server'].$config['site_root']."/admin" );
}
else
{
if ( isset( $_GET['site_mode_demo'] ) )
{
$_obfuscate_M2poO71n = "UPDATE ".SETTINGS_TABLE." SET value='".intval( $_GET['site_mode_demo'] )."' WHERE name='site_mode'";
$_obfuscate_SF4я = $dbconn->execute( $_obfuscate_M2poO71n );
}
echo "<script>location.href='".$config['server'].$config['site_root']."/'</script>";
}
}
function sendindexcontent( )
{
global $smarty;
global $config;
global $dbconn;
global $user;
global $lang_code;
$_obfuscate_EpN1a6ctiykя = 0;
$_obfuscate_YUmJXIi2PTElnUpfLAяя = getsitesettings( "index_theme_path" );
$_obfuscate_EpN1a6ctiykя = gettemplatenumber( );
$_obfuscate_M2poO71n = "SELECT value FROM ".TEXT_FIELDS_TABLE.( " WHERE name = 'index_text_".$_obfuscate_EpN1a6ctiykя."' AND id_lang='{$lang_code}' " );
$_obfuscate_SF4я = $dbconn->execute( $_obfuscate_M2poO71n );
if ( $_obfuscate_SF4я && 0 < $_obfuscate_SF4я->rowcount( ) )
{
$_obfuscate_gkt = $_obfuscate_SF4я->getrowassoc( false );
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['text'] = $_obfuscate_gkt['value'];
}
$_obfuscate_9vPNa5OA35W3s41c = getlongsettings( "index_content_".$_obfuscate_EpN1a6ctiykя );
$_obfuscate__WwKzYz1wAяя = ( array );
$_obfuscate_9vPNa5OA35W3s41c = array( );
foreach ( $_obfuscate__WwKzYz1wAяя as $_obfuscate_Vwty => $_obfuscate_VgKtFegя )
{
$_obfuscate_9vPNa5OA35W3s41c[$_obfuscate_Vwty] = ( array );
}
$_obfuscate__WwKzYz1wAяя = $_obfuscate_9vPNa5OA35W3s41c;
if ( isset( $_obfuscate__WwKzYz1wAяя[$lang_code]['t'] ) )
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['top'] = $_obfuscate__WwKzYz1wAяя[$lang_code]['t'];
}
else
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['top'] = 0;
}
if ( isset( $_obfuscate__WwKzYz1wAяя[$lang_code]['l'] ) )
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['left'] = $_obfuscate__WwKzYz1wAяя[$lang_code]['l'];
}
else
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['top'] = 0;
}
if ( isset( $_obfuscate__WwKzYz1wAяя[$lang_code]['i'] ) )
{
$_obfuscate_M2poO71n = "SELECT file_name, type, comments FROM ".UPLOADS_TABLE.( " WHERE id='".$_obfuscate__WwKzYz1wAяя[$lang_code]['i']."' " );
}
$_obfuscate_SF4я = $dbconn->execute( $_obfuscate_M2poO71n );
if ( isset( $_obfuscate__WwKzYz1wAяя[$lang_code]['i'] ) )
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['id'] = $_obfuscate__WwKzYz1wAяя[$lang_code]['i'];
}
$_obfuscate_MNh1cC6M = array( );
$_obfuscate_eqN8fuIoty5m7gяя = getsitesettings( "index_image_".$_obfuscate_EpN1a6ctiykя );
$_obfuscate_uuIq4x2Msxi_LBljJHkя = explode( "x", $_obfuscate_eqN8fuIoty5m7gяя );
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['width'] = $_obfuscate_uuIq4x2Msxi_LBljJHkя[0];
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['height'] = $_obfuscate_uuIq4x2Msxi_LBljJHkя[1];
if ( $_obfuscate_SF4я && 0 < $_obfuscate_SF4я->rowcount( ) )
{
$_obfuscate_gkt = $_obfuscate_SF4я->getrowassoc( false );
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['file_name'] = $_obfuscate_gkt['file_name'];
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['comments'] = $_obfuscate_gkt['comments'];
if ( strstr( $_obfuscate_gkt['type'], "swf" ) )
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['type'] = "swf";
}
else
{
if ( strstr( $_obfuscate_gkt['type'], "image" ) )
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['type'] = "image";
}
else
{
if ( strstr( $_obfuscate_gkt['type'], "flv" ) )
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['type'] = "flv";
}
}
}
}
else
{
$_obfuscate_7u1xl1Rp2lHiCU1IVwяя['file_name'] = "";
}
$_obfuscate_31N3jWpbOcMvbnNwlYя = getsitesettings( "thems_uploades" );
$smarty->assign( "thems_uploades", $_obfuscate_31N3jWpbOcMvbnNwlYя );
$smarty->assign( "index_content", $_obfuscate_7u1xl1Rp2lHiCU1IVwяя );
return true;
}
include( "./include/config.php" );
include( "./common.php" );
include( "./include/functions_index.php" );
include( "./include/functions_auth.php" );
include( "./include/functions_xml.php" );
include( "./include/class.lang.php" );
include( "./include/class.calendar_event.php" );
include( "./include/functions_common.php" );
crontab( );
if ( isset( $_REQUEST['from_install'] ) && $_REQUEST['from_install'] == 1 )
{
include( "./include/class.news.php" );
newsupdater( );
header( "Location: ".$config['server'].$config['site_root']."/index.php" );
}
checkinstallfolder( );
$user = auth_index_user( );
$sel = isset( $_POST['sel'] ) ? $_POST['sel'] : isset( $_GET['sel'] ) ? $_GET['sel'] : "";
if ( $sel != "logoff" )
{
if ( isset( $_COOKIE['re_login'], $_COOKIE['re_pass'] ) )
{
$strSQL = "SELECT id FROM ".USERS_TABLE." WHERE login='".addslashes( $_COOKIE['re_login'] )."' AND password='".addslashes( $_COOKIE['re_pass'] )."' ";
$rs = $dbconn->execute( $strSQL );
if ( 0 < $rs->fields[0] )
{
sess_write( session_id( ), $rs->fields[0] );
$user = auth_index_user( );
}
}
}
else
{
setcookie( "re_login", "", time( ) - 7200, $config['site_root']."/" );
setcookie( "re_pass", "", time( ) - 7200, $config['site_root']."/" );
}
@$theme = @@$_POST['theme'] ? $_POST['theme'] : $_GET['theme'];
$strSQL = "SELECT value FROM ".SETTINGS_TABLE." WHERE name = 'index_theme_path'";
$rs = $dbconn->execute( $strSQL );
switch ( $rs->fields[0] )
{
case "/templates/default_theme" :
$pilot_theme = "re0";
break;
case "/templates/re1_default_theme" :
$pilot_theme = "re1";
break;
case "/templates/re2_default_theme" :
$pilot_theme = "re2";
break;
case "/templates/re3_default_theme" :
$pilot_theme = "re3";
break;
case "/templates/re4_default_theme" :
$pilot_theme = "re4";
break;
default :
$pilot_theme = "re0";
}
$smarty->assign( "pilot_theme", $pilot_theme );
if ( $theme )
{
switch ( $theme )
{
case "re0" :
$templates = "default_theme";
break;
case "re1" :
$templates = "re1_default_theme";
break;
case "re2" :
$templates = "re2_default_theme";
break;
case "re3" :
$templates = "re3_default_theme";
break;
case "re4" :
$templates = "re4_default_theme";
break;
default :
$templates = "default_theme";
}
$strSQL = "UPDATE ".SETTINGS_TABLE.( " SET value='/templates/".$templates."' WHERE name = 'index_theme_path'" );
$rs = $dbconn->execute( $strSQL );
$smarty->assign( "pilot_theme", $theme );
$redirect = str_replace( $config['server'].$config['site_root']."/", "", strip_tags( $_GET['redirect'] ) );
if ( $redirect )
{
$redirect = "index.php";
}
header( "Location: ".$config['server'].$config['site_root']."/".$redirect );
}
$multi_lang = new multilang( $config, $dbconn );
if ( ( $user[4] == 1 || isusermoderator( $user[0] ) ) && $sel != "logoff" && ( !isset( $_REQUEST['view_from_admin'] ) || !( $_REQUEST['view_from_admin'] == 1 ) ) )
{
echo "<script>location.href='".$config['server'].$config['site_root']."/admin/index.php'</script>";
}
else
{
if ( intval( $user[0] ) && $user[3] != 1 && $sel == "" && ( !isset( $_REQUEST['view_from_admin'] ) || !( $_REQUEST['view_from_admin'] == 1 ) ) )
{
if ( getsitesettings( "use_link_modifications" ) )
{
echo "<script>location.href='".$config['server'].$config['site_root']."/homepage/'</script>";
}
else
{
echo "<script>location.href='".$config['server'].$config['site_root']."/homepage.php'</script>";
}
}
if ( $user[4] == 1 && isset( $_REQUEST['view_from_admin'] ) && $_REQUEST['view_from_admin'] == 1 && $_REQUEST['for_unreg_user'] == 1 )
{
$user = auth_guest_read( );
}
}
switch ( $sel )
{
case "logoff" :
logoutuser( );
return 1;
case "quick_form" :
fromquick( );
return 1;
}
indexpage( );
?> |
|
|
|
|
|
|
|
|
|
Posted: Mon Sep 27, 2010 3:23 am |
|
|
java777 |
Regular user |
|
|
Joined: Sep 25, 2010 |
Posts: 5 |
|
|
|
|
|
|
|
thak you!
is it possible to get this "names"? like = $_obfuscate_VvnB7aAScz0
sorry for my bad english |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
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
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|