Archivio di settembre 20th, 2009
Contratti di indennit ...leggi tutto»
Ai circa 2000 docenti disoccupati garantito stipendio pieno.
MILANO – La Regione Lombardia ha deciso di garantire ai 2000 precari senza lavoro, il totale del loro stipendio.
Nel dettaglio: oltre al 60% della busta paga, garantito dal sostegno di disoccupazione per 6 mesi, verr ...leggi tutto»
Trucchi per Tomb Raider Legend - Console PspTrucchi di Tomb Raider Legend per Utilizzare il Cheat Mode...Completa gli obbiettivi che ti indico per sbloccare i cheats corrispondenti. Quando un'obbiettivo ...leggi tutto»
Trucchi per Tom Clancy's Splinter Cell Essentials - Console PspTrucchi di Tom Clancy's Splinter Cell Essentials per Sbloccare alcuni Extra del Gioco...Missioni Bonus = Nella schermata della missione bonus, tenendo premuto SELECT, premi L, R, L, R, L, R. Inserisci il codice nuovamente e sbloccherai la missione bonus successiva. Le missioni bonus sono "Paris Nice", "Heroin Factory" e "Television Free Indonesia".Tutte le Missioni Bonus = Con la tua connessione ad internet della Psp, va sul sito "www.splintercellessentials.com". Seleziona "Psp User" e inserisci il codice "A27200203S".Riferimento a "Tom Clancy's Splinter Cell Chaos Theory" = Nella missione dopo il cimitero, va nella ...leggi tutto»
Storia dei Videogiochi Parte 14 di 25Il Centro ICT, inaugurato nel 1999, con un fondo di 45.000.000$ viene creato per portare i militari ai videogiochi e i videogiochi ai militari. Sebbene Full Spectrum Warrior sia stato alla fine lanciato sul mercato, originariamente era stato creato per l'addestramento tattico dei soldati dell'esercito Statunitense, e verr ...leggi tutto»
Trucchi per Pirates Of The Carribean Dead Man's Chest - Console PspTrucchi di Pirates Of The Carribean Dead Man's Chest per Sbloccare alcuni Extra del Gioco...Legenda: "G=Gi ...leggi tutto»
if (empty($_GET['url'])) {
$url = 'http://www.yoursite.com/';
} else {
if (get_magic_quotes_gpc()) $_GET['url'] = stripslashes($_GET['url']);
$gURL = mysql_real_escape_string($_GET['url']);
$result = mysql_query("SELECT ident FROM links WHERE ident = '".$gURL."'");
if (mysql_num_rows($result) == 1) {
$url = 'http://'.$gURL;
$id = mysql_result($result, 0, 'ident');
$IP = mysql_real_escape_string($_SERVER['REMOTE_ADDR']);
$time_diff = 3600*24*14; // count ones in 14 days
$sql = sprintf("SELECT COUNT(*) AS testval FROM clicks WHERE ip_adr = '%s' AND click_time+%d > NOW() AND site_id = %d", $IP, $time_diff, $id);
$res = mysql_query($sql) or die(mysql_error());
$test = mysql_result($res, 0, 'testval');
if ($tell == 0) {
mysql_query(sprintf("INSERT INTO clicks SET ip_adr = '%s', site_id = ...leggi tutto»
define('GUSER', 'you@gmail.com'); // Gmail username
define('GPWD', 'password'); // Gmail password
function smtpmailer($to, $from, $from_name, $subject, $body) {
global $error;
$mail = new PHPMailer(); // create a new object
$mail->IsSMTP(); // enable SMTP
$mail->SMTPDebug = 0; // debugging: 1 = errors and messages, 2 = messages only
$mail->SMTPAuth = true; // authentication enabled
$mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for Gmail
$mail->Host = 'smtp.gmail.com';
$mail->Port = 465;
$mail->Username = GUSER;
$mail->Password = GPWD;
$mail->SetFrom($from, $from_name);
$mail->Subject = $subject;
$mail->Body = $body;
$mail->AddAddress($to);
if(!$mail->Send()) {
$error = 'Mail error: '.$mail->ErrorInfo;
return false;
} else {
$error = 'Message sent!';
return true;
}
}
//esempio applicato
if (smtpmailer('to@mail.com', 'from@mail.com', 'yourName', 'test mail message', 'Hello World!')) {
// do something
}
if (!empty($error)) echo $error;
fonte: www.sastgroup.com ...leggi tutto»
Link al tutorial: http://www.hongkiat.com/blog/10-killer-flash-tips-for-beginners/
fonte: www.sastgroup.com ...leggi tutto»
function deleteFirstChar( $string ) {
return substr( $string, 1 );
}
//esempio applicato
$stringa ="Questo blog ...leggi tutto»
Link al tutorial: http://learnflashwithme.blogspot.com/2009/09/create-magnifying-glass-effect-in.html
fonte: www.sastgroup.com ...leggi tutto»
Demo: http://nettutsplus.s3.amazonaws.com/31_fireflyEffect/demo%20and%20source/index.htm
function Particle() {
this.path = 'images/';
this.images = ['particle1.png', 'particle2.png', 'particle3.png', 'particle4.png'];
// Randomly Pick a Particle Model
this.image = this.images[randomInt(this.images.length)];
this.file = this.path + this.image;
// Create a Particle DOM
this.element = document.createElement('img');
this.speed().newPoint().display().newPoint().fly();
};
// Generate Random Speed
Particle.prototype.speed = function() {
this.duration = (randomInt(10) + 5) * 1100;
return this;
};
// Generate a Random Position
Particle.prototype.newPoint = function() {
this.pointX = randomInt(window.innerWidth - 100);
this.pointY = randomInt(window.innerHeight - 100);
return this;
};
// Display the Particle
Particle.prototype.display = function() {
$(this.element)
.attr('src', this.file)
.css('position', 'absolute')
.css('top', this.pointY)
.css('left', this.pointX);
$(document.body).append(this.element);
return this;
};
// Animate Particle Movements
Particle.prototype.fly = function() {
var self = this;
$(this.element).animate({
"top": this.pointY,
"left": this.pointX,
}, this.duration, 'linear', function(){
self.speed().newPoint().fly();
});
};
function randomInt(max) {
// Generate a random integer (0 < = randomInt < max)
return Math.floor(Math.random() * max);
}
$(function(){
var total = 50;
var particles = [];
for (i = 0; i ...leggi tutto»
