|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 49
Members: 0
Total: 49
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
notizie Decode Please |
|
Posted: Thu Mar 10, 2011 6:17 pm |
|
|
Toffy |
Active user |
|
|
Joined: Jan 29, 2011 |
Posts: 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Sat Mar 12, 2011 9:18 am |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
Code: |
<?php $GLOBAL['ultimoid'] = 0;
$db = mysql_connect(DATABASE_HOST,DATABASE_USER,DATABASE_PASS);
mysql_query("SET NAMES 'utf8'");
if ($db == FALSE)
die ("errore di connessione");
mysql_select_db(DATABASE_NAME,$db)
or die ("errore selezione database");
include 'templatesw.php';
echo '<link href="modules/ibdw/spywall/'.$mytemplatepath.'spywallstyle.css" rel="stylesheet" type="text/css" />';
?>
<script type="text/javascript" src="modules/ibdw/spywall/js/jmini.js" /></script>
<script>
$jqspywall = jQuery.noConflict();
</script>
<script>
function altrenews(ninizio,nfine,npagina,nid,ultimoid) {
$jqspywall("#altro").css('background-image','url(<?php echo $imagepath;?>load.gif)');
$jqspywall.ajax({
type: 'POST',
url: 'modules/ibdw/spywall/altrenews.php',
data: "inizio=" + ninizio + "&fine=" + nfine + "&pagina=" + npagina + "&id=" + nid + "&ultimoid=" +ultimoid,
success: function(html){
$jqspywall('#altro').remove();
$jqspywall('#altrenews').append(html);
}
});
};
function notifica_generale(testonotifica) {
$jqspywall(".informazioni_notifica").fadeIn();
$jqspywall(".information_notifica").html(testonotifica);
}
function notificaconfermata() {
$jqspywall(".informazioni_notifica").fadeOut();
}
tempoinit= new Date().getTime();
function elimina() { }
</script>
<?php
$userid = (int)$_COOKIE['memberID'];
$controllopass= "SELECT * FROM spywall_code LIMIT 0,1";
$risultato = mysql_query($controllopass,$db) or die(mysql_error());
$estrazione = mysql_fetch_assoc($risultato);
$controllo = $estrazione['code'];
$onecript = "a2dfu8e3asdsad9d3h237230472dsA0dsaGAdga780gas";
$twocript = $_SERVER['HTTP_HOST'];
$trecript = "siofnsifo934932cvdfvbdvddifbruiwe0273480475437850t32785t";
$genera = $onecript.$twocript.$trecript;
if (md5($genera) !=$controllo)
{
if ($userid==1)
{
echo '<b>'._t('_ibdw_spywall_sicurity').'</b>';
}
}
else
{
include BX_DIRECTORY_PATH_MODULES.'ibdw/spywall/config.php';
$pagina = $_SERVER["REQUEST_URI"];
$mioid = getID($_REQUEST['ID']);
$varlink = strpos($pagina, 'member.php');
$varlinkhome = strpos($pagina, 'index.php');
//VARIABILE CONTATORE NOTIZIE
$contanews=0;
if($varlink==1 OR $varlinkhome==1 OR $pagina=='/')
{
$miapag="memb";
}
else
{
$miapag="profi";
}
//variabili limite per query
$cont=$limite+1;
$parami=0;
$paramf=$limite;
$paginas=str_replace('/','',$pagina);
echo '<a id="aggiornamentoajaxpagina" href="javascript:agg_ajax();">'._t("_ibdw_spywall_aggiornanotizie").'</a>';
include 'masterquery.php';
$result = mysql_query($query,$db) or die(mysql_error());
$contazioni = mysql_num_rows($result);
include 'messaggiorapido.php';
if ($varlink!=FALSE OR $varlinkhome!=FALSE OR $pagina=='/' OR $userid == $mioid) {include 'inserimento.php';}
$titolocommenti = _t('_ibdw_spywall_comment_title');
$titolocommenti_2 = _t('_ibdw_spywall_comment_title_first');
echo '<div id="correzione">';
echo '<div id="updateajax" style="display:none;"> </div>';
echo '<div id="eliminatore" class="informazioni_notifica" >
<div id="substratoeliminazione">
<div id="titoloeliminazione">
<h2>'._t("_ibdw_spywall_bott_notifica_1").'</h2>
</div>
<p class="information_notifica"></p>
<div id="sceltaeliminazione"> <a href="javascript:notificaconfermata();">'._t("_ibdw_spywall_bott_notifica_2").'</a></div>
</div>
</div>';
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>
<!--[if IE 7]>
<style>
h3 { font-size:11px;}
</style>
<![endif]-->
';
}
echo '<div id="loaderdifunzione"><img src="'.$imagepath.'loader.gif" /><span>'._t("_ibdw_spywall_notificaupdate").'</span></div>';
if($viewavatar=='ON') { include 'areamsg.php'; } else { include 'areamsgnoava.php'; }
?> |
ZeroBytes |
|
|
|
|
|
|
zerbytes thank youu |
|
Posted: Sat Mar 12, 2011 2:58 pm |
|
|
Toffy |
Active user |
|
|
Joined: Jan 29, 2011 |
Posts: 42 |
|
|
|
|
|
|
|
thank you zerobytes |
|
|
|
|
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
|
|
|
|
|
|
|