|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 67
Members: 0
Total: 67
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Decode Please :( |
|
Posted: Wed Nov 07, 2012 10:53 pm |
|
|
Suny |
Beginner |
|
|
Joined: Nov 08, 2012 |
Posts: 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Wed Nov 07, 2012 11:45 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
activation.php
Code: | <?php
require_once( '../../../inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
include BX_DIRECTORY_PATH_MODULES.'ibdw/evowall/config.php';
if(!isAdmin()) {exit;}
mysql_query("SET NAMES 'utf8'");
$retriveidevowall="SELECT ID FROM sys_options_cats WHERE name='EVO Wall'";
$risultatoid = mysql_query($retriveidevowall);
$idmodulo=mysql_fetch_assoc($risultatoid);
$querydiconfigurazione="SELECT * FROM sys_options WHERE name='LicenseKey' and kateg=".$idmodulo['ID'];
$risultato = mysql_query($querydiconfigurazione);
$riga=mysql_fetch_assoc($risultato);
$confronto = $riga['VALUE'];
$onecript = "adjkj3skahj5gksajkasdhjasladashfjkasdaskffsdd3666";
$twocript = $_SERVER['HTTP_HOST'];
$trecript = "klaksj8asjdhj32838832432nnccanasdasd3k3vxx3kl3jssa";
$genera = $onecript.$twocript.$trecript;
$veremail = "SELECT * FROM evowall_code_reminder";
$getemail = mysql_query($veremail);
$ema = mysql_fetch_assoc($getemail);
//SE E' PRESENTE GIA UNA EMAIL NEL DB RECUPERO L'INDIRIZZO DALLA TABELLA- QUESTO E UTILE QUANDO IL CLIENTE DIMENTICA L'EMAIL USATA PER PAGARE E GLIELA SUGGERISCE
if ($ema['addressr']!=NULL)
{
$predefinito=$ema['addressr'];
}
else
{
$predefinito=_t("_ibdw_evowall_eml_t_add");
}
echo '<html><head><title>EVO WALL - Activation\'s procedure</title><link href="'.BX_DOL_URL_MODULES.'ibdw/evowall/templates/uni/css/adminevowall.css" rel="stylesheet" type="text/css" /><script language="javascript" type="text/javascript" src="'.BX_DOL_URL_PLUGINS.'jquery/jquery.js"></script></head>';
?>
<body>
<div id="pagina">
<div id="introright">
<span class="title"><?php echo _t("_ibdw_evowall_activaintro");?></span><br>
<span class="dett_activ"><?php echo _t("_ibdw_evowall_spycodereq");?></span>
</div>
<?php
if(md5($genera)===$confronto) {echo '<div id="notifica">'._t("_ibdw_evowall_yosattiva").'</div><div id="tutto"><div id="return2" class="subclass2"><a href="'.BX_DOL_URL_ROOT.'modules/?r=evowall/administration/"><?php echo _t("_ibdw_evowall_unsure");?></a></div></div></div></body></html>';exit;}?>
<div id="form_invio">
<div id="step1"><?php echo _t("_ibdw_evowall_1step");?></div>
<div id="descriptionatt"><div class="dett_activ"><?php echo _t("_ibdw_evowall_introattivazione");?></div></div>
<form class="email_form" action="requirex.php" method="post">
<input type="text" name="paypal" value='<?php echo $predefinito;?>' size="37" id="reset" onclick="resetta();" class="classeform1"><br/>
<input type="submit" value='<?php echo _t("_ibdw_evowall_send_rqs");?>' class="subclass">
<script>
function resetta(){
$("#reset").val("");
$(".classeform1").css("color","black");
}
</script>
<br/>
</form>
</div>
</div>
<div id="footer">Powered by: <a class="ibdw" href="http://www.ilbellodelweb.it">IlBelloDelWEB.it</a></div>
</body>
</html> |
notizie.php
Code: | <?php $GLOBAL['ultimoid'] = 0;
mysql_query("SET NAMES 'utf8'");
include BX_DIRECTORY_PATH_MODULES.'ibdw/evowall/config.php';
include BX_DIRECTORY_PATH_MODULES.'ibdw/evowall/templatesw.php';
require_once('functions.php');
$funclass=new swfunc();
echo '<link href="'.BX_DOL_URL_MODULES.'ibdw/evowall/'.$mytemplatepath.'evowallstyle'.$color.'.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="'.BX_DOL_URL_MODULES.'ibdw/evowall/js/hoverIntent.js"></script>
<!--[if IE 7]><link href="'.BX_DOL_URL_MODULES.'ibdw/evowall/'.$mytemplatepath.'evowallstyle_ie7.css" rel="stylesheet" type="text/css" /><![endif]-->';
$pagina = $_SERVER["REQUEST_URI"];
if(isset($_GET['id_mode'])) {$id_mode=1;$id_relativo=(int)$_GET['id_mode'];}
?>
<script>
<?php if($autoscroll=='on'){ ?>
$(window).scroll(function()
{
var altezza_pagina=$(document).height()-$(window).height()
if($(window).scrollTop()>altezza_pagina-5){lancia_timer();}
});
function oscura(){$(".fade_oscura").fadeIn(1);}
function schiarisci(){$(".fade_oscura").fadeOut(1);}
function lancia_timer(){setTimeout("verifica_timer()",<?php echo $delaymillisecond;?>);}
function verifica_timer()
{
var altezza_pagina=$(document).height()-$(window).height()
if($(window).scrollTop()>altezza_pagina-5)
{
var ajx_contanews=$("#ajx_contanews").val();
var ajx_limite=$("#ajx_limite").val();
var ajx_pagina=$("#ajx_pagina").val();
var ajx_mioid=$("#ajx_mioid").val();
var ajx_ultimoid=$("#ajx_ultimoid").val();
if(ajx_contanews!=undefined){altrenews(ajx_contanews,ajx_limite,ajx_pagina,ajx_mioid,ajx_ultimoid);}
}
}
<?php }?>
function altrenews(ninizio,nfine,npagina,nid,ultimoid)
{
var scroll=$("#ajax_scrolldown").val();
if(scroll==0)
{
$("#ajax_scrolldown").val(1);
$("#altro").css('background-image','url(<?php echo $imagepath;?>load.gif)');
$.ajax({type:'POST',url:'modules/ibdw/evowall/altrenews.php',data:"inizio="+ninizio+"&fine="+nfine+"&pagina="+npagina+"&id="+nid+"&ultimoid="+ultimoid,success: function(html)
{
$('#altro').remove();
$('#altrenews').append(html);
$("#ajax_scrolldown").val(0);
}
});
}
};
function downtown_foto(id,ultimoid,lang,recordfound,sender,datepost,pagina)
{
ajax_load_active();
$.ajax({type: 'POST',url:'modules/ibdw/evowall/downews_specific.php',data:"id="+id+"&ultimoid="+ultimoid+"&lang="+lang+"&recordfound="+recordfound+"&sender="+sender+"&datepost="+datepost+"&pagina="+pagina,success: function(data)
{
$("#link_hid"+id).css('display','none');
$('#azione'+id).html(data);
ajax_load_close();
}
});
};
function chart_mostpopular(setin)
{
ajax_load_active();
$.ajax({type:'POST',url:'modules/ibdw/evowall/mostpopular.php',data:'pagina=<?php echo $pagina;?>&setin='+setin,success:function(data)
{
$('#correzione').html(data);
ajax_load_close();
if(setin==1) {$("#chart_reloadajax_update").html('');$("#chart_reloadajax").html('<a href="javascript:chart_mostpopular(0);SetCookie(\'typeoforder\',\'0\',\'365\');" id="bottone_sub_elimina"><?php echo _t("_ibdw_evowall_mostrecent");?></a>');}
else {$("#chart_reloadajax_update").html('<a href="javascript:agg_ajax();" class="bottone_sub_elimina314" id="bottone_sub_elimina"><?php echo _t("_ibdw_evowall_newsupdate");?></a>'); $("#chart_reloadajax").html('<a href="javascript:chart_mostpopular(1);SetCookie(\'typeoforder\',\'1\',\'365\');" id="bottone_sub_elimina"><?php echo _t("_ibdw_evowall_mostpopular");?></a>');}
}
});
};
function notifica_generale(testonotifica)
{
$(".informazioni_notifica").fadeIn();
$(".information_notifica").html(testonotifica);
}
function notificaconfermata() {$(".informazioni_notifica").fadeOut();}
tempoinit=new Date().getTime();
function elimina() {}
function open_bt_list(id_azione)
{
var mm_menu=$("#mm_setmenu"+id_azione).val();
if(mm_menu==0) {$("#lista_bt"+id_azione).fadeIn(1);}
else {$("#lista_bt"+id_azione).fadeOut(1);}
$("#fade_bt_list"+id_azione).addClass("fix_in_border");
if(id_azione=='007xep') {$("#menutop_ajax").addClass("fix_in_border");}
if(mm_menu==0) {$("#mm_setmenu"+id_azione).val('1');}
else {$("#mm_setmenu"+id_azione).val('0');}
if(mm_menu==1) {$("#fade_bt_list"+id_azione).removeClass("fix_in_border"); if(id_azione == '007xep') {$("#menutop_ajax").removeClass("fix_in_border");}}
}
function open_fb(titolo,immagine,descrizione,url) {window.open('http://www.facebook.com/sharer.php?s=100&p[title]='+titolo+'&p[images][0]='+immagine+'&p[summary]='+descrizione+'&p[url]='+url,'sharer','toolbar=0,status=0,width=626,height=436');}
function open_google(titolo,url,immagine,descrizione) {window.open('https://plus.google.com/share?url='+url,'sharer','toolbar=0, status=0,width=626,height=436');}
function open_twitter(titolo,url,immagine,descrizione){window.open('https://twitter.com/intent/tweet?text='+descrizione+' ('+url+')','sharer','toolbar=0,status=0,width=626,height=436');}
function open_linkedin(titolo,url,immagine,descrizione) {window.open('http://www.linkedin.com/shareArticle?mini=true&url='+url+'&title='+titolo+'&summary='+descrizione+'&source='+url,'sharer','toolbar=0,status=0,width=570,height=520');}
function open_medium(id,wu)
{
$(".fadeMini"+id).fadeOut(1);
$(".fadeMedium"+id).fadeIn(20);
var imgurl=$("#value_foto_zoom"+id).val();
$("#ray_foto_zoom"+id).html('<img src="'+imgurl+'" onclick="close_medium('+id+');" width="'+wu+'" title="<?php echo addslashes(_t('_ibdw_evowall_minimize'));?>">');
}
function close_medium(id)
{
$(".fadeMedium"+id).fadeOut(1);
$(".fadeMini"+id).fadeIn(20);
}
function ajax_load_active(){$("#ajax_loader").fadeIn();}
function ajax_load_close(){$("#ajax_loader").fadeOut();}
function fadeAudioElement(id){$(".object_player"+id).fadeIn(30);$(".audio_play"+id).fadeOut(1);}
function SetCookie(cookieName,cookieValue,nDays)
{
var today=new Date();
var expire=new Date();
if (nDays==null || nDays==0) nDays=1;
expire.setTime(today.getTime()+3600000*24*nDays);
document.cookie=cookieName+"="+escape(cookieValue)+";expires="+expire.toGMTString();
}
</script>
<?php
$accountid=(int)$_COOKIE['memberID'];
$profileid=getID($_REQUEST['ID']);
if(!isset($ultimoid)) {$ultimoid = $GLOBAL['ultimoid'];}
$controllo=$licensekey;
$onecript="adjkj3skahj5gksajkasdhjasladashfjkasdaskffsdd3666";
$twocript=$_SERVER['HTTP_HOST'];
$trecript="klaksj8asjdhj32838832432nnccanasdasd3k3vxx3kl3jssa";
$genera=$onecript.$twocript.$trecript;
$queryverificastato="SELECT Status FROM Profiles WHERE ID=".$accountid;
$esistostato=mysql_query($queryverificastato);
$estraestato=mysql_fetch_assoc($esistostato);
$statusprof=$estraestato['Status'];
//Get the membership level
$infoMember=getMemberMembershipInfo($accountid);
$profilemembership=$infoMember['ID'];
//Get the membership name
$profilemembershipname=$infoMember['Name'];
if (md5($genera)!=$controllo and isAdmin()) echo '<b>'._t('_ibdw_evowall_sicurity').'</b>';
elseif($bkunconfirmed=='on' and $statusprof=='Unconfirmed') echo _t('_Spy_Module_Not_Allowed');
else
{
$contanews=0;
$paginamia=0;
//GET PAGE
if (strpos($pagina,'index.php') or $pagina=='/') {$miapag="home";$paginamia=1;}
elseif (strpos($pagina,'member.php')) {$miapag="account";$paginamia=1;}
else
{
$miapag="profile";
if($accountid==$profileid) $paginamia=1;
}
//ALERT PAGE RESERVED WHEN PROFILE DISABLED SOME TYPE OF MEMBERS
if ($miapag=="profile" and $accountid<>$profileid and !$funclass->checkprivacyevo($profileid,$accountid,'allowview'))
{
$aInfomember=getProfileInfo($profileid);
if($usernameformat=='Nickname') $profilename=$aInfomember['NickName'];
elseif($usernameformat=='FirstName') $profilename=$aInfomember['FirstName'];
else $profilename=$aInfomember['FirstName']." ".$aInfomember['LastName'];
echo '<div id="alertprivacyprofileview"><div id="alertprivacydescription">'._t('_ibdw_evowall_alertprivacyprofileview').'</div><div id="alertprivacydescriptionexplain">'.str_replace("{ProfileName}",$profilename,_t('_ibdw_evowall_alertprivacyprofileviewexplain')).'</div></div>';
}
else
{
//variabili limite per query
$cont=$limite+1;
$parami=0;
$paramf=$limite;
$paginas=str_replace('/','',$pagina);
if($miapag=='account' or $miapag=='home')
{
$mioid=$accountid;
echo '<div id="menutop_ajax" onclick="open_bt_list(\'007xep\');" class="ibdw_evo_bt_list"><input type="hidden" id="mm_setmenu007xep" class="mm_setmenu" value="0"><a id="bt_open" class="bt_open"><img src="modules/ibdw/evowall/templates/uni/css/immagini/preferences.png"></a></div><div id="lista_bt007xep" class="ibdw_bt_superlist">';
if(isset($typeoforder)) $typeoforder=$typeoforder;
else
{
if($_COOKIE["typeoforder"]=='1') $typeoforder='Popular';
else $typeoforder='';
}
if(isset($typeoforder))
{
if($typeoforder=='Popular') echo '<a href="javascript:chart_mostpopular(0);SetCookie(\'typeoforder\',\'0\',\'365\');" id="bottone_sub_elimina">'._t("_ibdw_evowall_mostrecent").'</a>';
else echo '<span id="chart_reloadajax_update"><a href="javascript:agg_ajax();" class="bottone_sub_elimina314" id="bottone_sub_elimina">'._t('_ibdw_evowall_newsupdate').'</a></span><span id="chart_reloadajax"><a href="javascript:chart_mostpopular(1);SetCookie(\'typeoforder\',\'1\',\'365\');" id="bottone_sub_elimina">'._t('_ibdw_evowall_mostpopular').'</a></span>';
}
else echo '<span id="chart_reloadajax_update"><a href="javascript:agg_ajax();" class="bottone_sub_elimina314" id="bottone_sub_elimina">'._t('_ibdw_evowall_newsupdate').'</a></span><span id="chart_reloadajax"><a href="javascript:chart_mostpopular(1);SetCookie(\'typeoforder\',\'1\',\'365\');" id="bottone_sub_elimina">'._t('_ibdw_evowall_mostpopular').'</a></span>';
echo '</div>';
}
else $mioid=$profileid;
include 'masterquery.php';
$result=mysql_query($query);
$contazioni=mysql_num_rows($result);
if (($paginamia==1 or ($paginamia==0 and $funclass->checkprivacyevo($profileid,$accountid,'allowcontentbox'))) and ($funclass->ActionVerify($profilemembership,"EVO WALL - Content Box"))) include 'inserimento.php';
$titolocommenti=_t('_ibdw_evowall_comment_title');
$titolocommenti_2=_t('_ibdw_evowall_comment_title_first');
echo '<input type="hidden" id="ajax_scrolldown" value="0"><div class="fade_oscura"></div><div id="ajax_loader"><img src="'.$imagepath.'big-loader.gif"></div><div id="correzione"><div id="updateajax" style="display:none;"> </div><div id="eliminatore" class="informazioni_notifica"><div id="substratoeliminazione"><div id="titoloeliminazione"><h2>'._t("_ibdw_evowall_bott_notifica_1").'</h2></div><p class="information_notifica"></p><div id="sceltaeliminazione" onclick="javascript:notificaconfermata();">'._t("_ibdw_evowall_bott_notifica_2").'</div></div></div>';
if($welcome=='on' AND $accountid==$profileid) include 'welcome.php';
$off_parent=0;
include 'basecore.php';
include 'controllo.php';
if ($contazioni>$limite)
{
$inizio=$contazioni;
echo '<div id="altrenews"></div>';
$paginaajax=str_replace("?","",$pagina);
$paginaajax=str_replace("/","",$paginaajax);
echo '<div id="altro">';
include 'bottonealtrenews.php';
echo '</div>';
}
echo '</div>';
}
echo '<div id="loaderdifunzione"><img src="'.$imagepath.'loader.gif" /><span>'._t("_ibdw_evowall_notificaupdate").'</span></div>';
}
?> |
|
|
_________________ Go BIG or go HOME ! |
|
|
|
|
www.waraxe.us Forum Index -> Php
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
|
|
|
|
|
|