| SMS Melding |
| Je hebt =$num;?> nieuwe SMS(jes) |
';
}
elseif($string == "2")
{
$image = '
';
}
elseif($string == "3")
{
$image = '
';
}
elseif($string == "4")
{
$image = '
';
}
elseif($string == "5")
{
$image = '
';
}
elseif($string == "6")
{
$image = '
';
}
elseif($string == "7")
{
$image = '
';
}
return $image;
}
function landImageName($string)
{
global $ext;
$image = "";
if($string == "1")
{
$image = '
';
}
elseif($string == "2")
{
$image = '
';
}
elseif($string == "3")
{
$image = '
';
}
elseif($string == "4")
{
$image = '
';
}
elseif($string == "5")
{
$image = '
';
}
elseif($string == "6")
{
$image = '
';
}
elseif($string == "7")
{
$image = '
';
}
return $image;
}
if(isset($_SESSION['login'])){
$dbres = mysql_query("SELECT UNIX_TIMESTAMP(`time`) AS `time`,`name` FROM `[cron]`");
while($x = mysql_fetch_object($dbres))
$update[$x->name] = $x->time;
if(floor($update['hour']/3600) != floor(time()/3600)) {
$dbres = mysql_query("SELECT GET_LOCK('hour_update',0)");
if(mysql_result($dbres,0) == 1) {
$cron_pass = "secretcronpassword";
mysql_query("UPDATE `[cron]` SET `time`=NOW() WHERE `name`='hour'");
include("_cron_hour.php");
mysql_query("SELECT RELEASE_LOCK('hour_update')");
}
}
if(floor($update['day']/86400) != floor(time()/86400)) {
$dbres = mysql_query("SELECT GET_LOCK('day_update',0)");
if(mysql_result($dbres,0) == 1) {
$cron_pass = "secretcronpassword";
mysql_query("UPDATE `[cron]` SET `time`=NOW() WHERE `name`='day'");
include("_cron_day.php");
mysql_query("SELECT RELEASE_LOCK('day_update')");
}
}
if(floor($update['week']/604800) != floor(time()/604800)) {
$dbres = mysql_query("SELECT GET_LOCK('week_update',0)");
if(mysql_result($dbres,0) == 1) {
$cron_pass = "secretcronpassword";
mysql_query("UPDATE `[cron]` SET `time`=NOW() WHERE `name`='week'");
include("_cron_week.php");
mysql_query("SELECT RELEASE_LOCK('week_update')");
}
}
if((date('G',time()) >= 16 && date('z',time()) != date('z',$update['horserace'])) || (date('G',time()) >= 21 && date('G',$update['horserace']) < 21)) {
$dbres = mysql_query("SELECT GET_LOCK('horserace_update',0)");
if(mysql_result($dbres,0) == 1) {
$cron_pass = "secretcronpassword";
mysql_query("UPDATE `[cron]` SET `time`=NOW() WHERE `name`='horserace'");
include("_cron_horserace.php");
mysql_query("SELECT RELEASE_LOCK('horserace_update')");
}
}
}
?>
if($data['level'] == -1)
{
echo '
| Mafiaplace - Verbannen! | |
![]() | |
| Reden | Er is geen manier om dit om te draaien! Als je erg onterecht vind mail dan naar mafiaplace@live.nl |
| Bericht | Bespaar jezelf de moeite en ga niets proberen ! |
| Mafiaplace - Crimineel vermoord! | |
![]() | |
| Dader | Ombekent |
| Bericht | Geen Bericht |