Your IP : 216.73.216.48
<?php
$t=time();
$t+=15;
date_default_timezone_set("Europe/Sofia");
$tmb=date("H:i", $t);
$dfhsfs90fsh0f9sd0hfs90fsd90fsd = mysqli_connect('localhost', 'bell', 's.B3ll!', 'bell');
$db=$dfhsfs90fsh0f9sd0hfs90fsd90fsd;
@mysqli_set_charset($db, 'utf8');
$bell=mysqli_query($db, "SELECT * FROM `ringbell` WHERE `h` LIKE '%".$tmb."%' AND `a`='1' LIMIT 1");
$ringnow=0;
while ($ringbell=mysqli_fetch_row($bell))
{
$ringnow=1;
$belltone="".$ringbell[5]."";
$volume=$ringbell[6];
}
$bellc=mysqli_query($db, "SELECT * FROM `ringbell` WHERE `c` LIKE '%".$tmb."%' AND `a`='1' LIMIT 1");
while ($ringbellc=mysqli_fetch_row($bellc))
{
$ringnow=1;
$belltone="".$ringbellc[5]."";
$volume=$ringbellc[6];
}
if ($ringnow==1)
{
$exec_stop=system("/scripts/stop.sh");
$exec_now=system("/usr/bin/mplayer /hdd/hdd11/www/vlevski/enter/b/up/".$belltone.".mp3 -volume ".$volume."");
}
?>