|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 44
Members: 0
Total: 44
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
decode please this file and please let me know |
|
Posted: Fri Feb 21, 2014 1:43 pm |
|
|
Ghulam |
Regular user |
|
|
Joined: Feb 21, 2014 |
Posts: 6 |
|
|
|
|
|
|
|
|
|
|
|
|
Re: decode please this file and please let me know |
|
Posted: Fri Feb 21, 2014 2:46 pm |
|
|
vv456 |
Advanced user |
|
|
Joined: Aug 24, 2012 |
Posts: 190 |
|
|
|
|
|
|
|
Code: | <?php
$customer = require_once( 'app/app/customer.php' );
$sData = $customer->query( 'SELECT type, value FROM settings ' );
$setData = $customer->fetch_and_make_assoc( $sData, 'type', 'value' );
$customer->check_debug( $setData );
if (( isset( $_GET['del'] ) && $_GET['del'] == 'reg' )) {
if (isset( $_SESSION['reg'] )) {
unset( $_SESSION[reg] );
}
}
$_tt = $customer->getTransPHP( );
if (( ( isset( $_POST['type'] ) || isset( $_GET['type'] ) ) || isset( $_GET['r'] ) )) {
require_once( 'app/app/membersaction.php' );
}
if (!isset( $_GET['id'] )) {
$_GET['id'] = 1;
}
$cSubQue = $customer->query( 'SELECT id FROM menu WHERE type=\'sub\' AND state=\'active\' AND rel=' . $_GET['id'] . ' ORDER by pos LIMIT 1' );
if (mysql_num_rows( $cSubQue )) {
$cCheck = $customer->fetch_2_array( $cSubQue );
$pGroup = $cCheck[0]['id'];
}
else {
$pGroup = $_GET['id'];
}
$fQue = $customer->query( 'SELECT id,name FROM static WHERE state=\'1\' AND name!=\'\'' );
$footerData = $customer->fetch_2_array( $fQue );
$fQue = $customer->query( 'SELECT type,html FROM static WHERE type=\'myLinkText\' OR type=\'myNLText\'' );
$cartAddText = $customer->fetch_and_make_assoc( $fQue, 'type', 'html' );
$subMQue = $customer->query( 'SELECT * FROM menu WHERE type=\'sub\' AND state=\'active\' AND rel=' . $_GET['id'] . ' ORDER by pos' );
$sMenuItems = $customer->fetch_2_array( $subMQue );
$isSubOf = $customer->query( 'SELECT rel FROM menu WHERE state=\'active\' AND id=' . $_GET['id'] );
$isSubFet = $customer->fetch( $isSubOf, 'row' );
$isSub = ($isSubFet[0] ? $isSubFet[0] : false);
$getEStateQ = $customer->query( 'SELECT id FROM extras WHERE type=\'main\' and state=\'active\'' );
$activeEList = $customer->fetch_id_array( $getEStateQ );
$fQue = $customer->query( 'SELECT html FROM static WHERE type=\'myLinkText\'' );
$cartAddText = $customer->fetch( $fQue, 'row' );
$agb = $cartAddText[0];
if (!$isSub) {
$hasSubOf = $customer->query( 'SELECT * FROM menu WHERE type=\'sub\' AND state=\'active\' AND rel=' . $_GET['id'] . ' ORDER BY pos' );
if (!mysql_num_rows( $hasSubOf )) {
$hasSub = false;
}
else {
$hasSub = true;
$sMenuItems = $customer->fetch_2_array( $hasSubOf, 'assoc' );
}
}
else {
$hasSubOf = $customer->query( 'SELECT * FROM menu WHERE type=\'sub\' AND state=\'active\' AND rel=' . $isSub . ' ORDER BY pos' );
if (!mysql_num_rows( $hasSubOf )) {
$hasSub = false;
}
else {
$hasSub = true;
$sMenuItems = $customer->fetch_2_array( $hasSubOf, 'assoc' );
}
}
$checkDeals = $customer->set_deals_data( );
$customer->query( 'SELECT * FROM products WHERE rel=' . $pGroup . ' AND active=\'1\' AND device LIKE \'%shop%\' ORDER BY pos' );
$getQue = $currPage = 'index';
$customer->fetch_2_array( $getQue );
$products = new customer( );
$dealQue = $customer->query( 'SELECT * FROM products WHERE rel!=1 AND type=\'pro\' AND hp=\'1\' AND active=\'1\' ORDER BY pos' );
$deals = $customer->fetch_2_array( $dealQue );
if (( !isset( $_SESSION['inTime'] ) || ( isset( $_SESSION['inTime'] ) && $setData['set_tolerance'] * 3 < time( ) - $_SESSION['inTime'][1] ) )) {
$_SESSION['inTime'] = ($customer->checkDelivertimes( ) ? array( true, time( ) ) : array( false, time( ) ));
}
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="';
echo $customer->shopRoot;
echo '" />
';
if (!is_file( 'cache/meta_' . $_GET['id'] . '.cache.php' )) {
$customer->cacheMetaTags( $_GET['id'], $pGroup );
}
require_once( 'cache/meta_' . $_GET['id'] . '.cache.php' );
if (!empty( $setData['favicon'] )) {
echo '<link rel="shortcut icon" type="image/x-icon" href="images/pers/';
echo $setData['favicon'];
echo '" /> ';
}
echo '<link rel="apple-touch-icon-precomposed" href="images/icons/ios_icon_52.png" />
<link rel="apple-touch-icon" href="images/icons/ios_icon_52.png" />
<link rel="apple-touch-icon" sizes="72x72" href="images/icons/ios_icon_72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="images/icons/ios_icon_114.png" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
';
if (!is_file( 'cache/styles2.css' )) {
$customer->cacheCSS( );
}
echo '<link href="cache/styles2.css" rel="stylesheet" type="text/css" />
<!--[if IE]><link rel="stylesheet" href="css/ieFixes.css" type="text/css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="css/ie7Fixes.css" type="text/css" /><![endif]-->
<!--[if IE 9]><link rel="stylesheet" href="css/ie9Fixes.css" type="text/css" /><![endif]-->
<script type="text/javascript" src="js/common.js"></script>
<!--<script src="//connect.facebook.net/en_US/all.js"></script>-->
<script type="text/javascript">
';
echo $customer->writeJSString( );
echo '$(document).ready(function(){
';
if (( empty( $$message ) && !empty( $$message ) )) {
echo 'showMessage(\'';
echo $message;
echo '\');';
}
echo ' $(\'.mLinksBox a[rel="';
echo $_GET['id'];
echo '"]\').addClass(\'active\');
';
if (( ( !$isSub && isset( $sMenuItems[0]['id'] ) ) && $sMenuItems[0]['id'] )) {
echo ' $(\'.mLinksBox a[rel="';
echo $sMenuItems[0]['id'];
echo '"]\').addClass(\'active\');
';
}
echo ' ';
if ($isSub) {
echo ' $(\'.mLinksBox a[rel="';
echo $isSub;
echo '"]\').addClass(\'active\'); ';
}
echo ' ';
echo '})
</script>
<script type="text/javascript" src="js/functions.js"></script>
</head>
<body>
<!--
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1&appId=218816034830374";
fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));</script>
-->
<div id="wrapper">
<div id="main">
';
require_once( 'app/template/headerMenu.php' );
echo '<div id="content" class="roundedL" >
<div class="mMenuC2">
<div id="orderBox" class="roundedL frame">
';
require_once( 'app/template/logInBox.php' );
echo ' <div id="sendOrderBox" class="formBlock roundedS frame2">
';
require_once( 'app/template/cart.php' );
echo ' ';
require_once( 'app/template/orderBox.php' );
echo '
</div><!-- e o #orderBox -->
</div>
';
require_once( 'app/template/productBox.php' );
echo ' ';
if (count( $deals )) {
require_once( 'app/template/deals.php' );
}
echo '
<!--<div class="fb-like-box" data-href="http://www.facebook.com/PizzaShopsystems" style="background-color: #333;" data-width="650" data-show-faces="true" data-colorscheme="dark" data-stream="false" data-border-color="#555" data-header="false"></div>-->
</div><!-- e o mMenuC-->
</div><!-- e o content-->
';
if (( empty( $$message ) && !empty( $$message ) )) {
echo '<div id="hiddenMessages">
<div id="message">';
echo $message;
echo '</div>
</div>
';
}
echo '
';
require_once( 'app/template/footer.php' );
echo '
<div class="hidden">
<div id="checkOut">
<div class="ajaxLoader">
<div class="coTitle"></div>
<img id="aLoader" src="images/ajaxLoader.gif" />
<div id="coContent"></div>
<div id="social"></div>
<div id="fbclose"><img src="images/fancybox/fancy_close2.png" /></div>
</div>
</div>
</div>
<div class="hidden">
<div id="extras2"></div>
</div>
<div class="hidden"><div id="responseBox"></div></div>
';
if (( $setData['set_mov'] == '1' && !isset( $_SESSION['reg'] ) )) {
require_once( 'app/template/map.php' );
}
echo '
';
echo '
</div><!-- -e o main -->
</div><!-- end wrapper -->
';
if (is_file( 'app/template/analytics.php' )) {
include( 'app/template/analytics.php' );
}
echo '</body>
</html>';
?> |
|
|
|
|
|
|
|
Error come |
|
Posted: Fri Feb 21, 2014 3:59 pm |
|
|
Ghulam |
Regular user |
|
|
Joined: Feb 21, 2014 |
Posts: 6 |
|
|
|
|
|
|
|
Fatal error: Call to a member function query() on a non-object in C:\WampDeveloper\Websites\www.example.com\webroot\index.php on line 5 Call Stack: 0.0580 397384 1. {main}() C:\WampDeveloper\Websites\www.example.com\webroot\index.php:0 |
|
|
|
|
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
|
|
|
|
|
|
|