Варненски
забележителности |
|
|
Warning: include(): open_basedir restriction in effect. File(/home/ida/news.varnacity.info/user/user.php) is not within the allowed path(s): (/var/www/vhosts/studioida.com/:/tmp/) in /var/www/vhosts/studioida.com/ida.bg/sport.php on line 48
Warning: include(/home/ida/news.varnacity.info/user/user.php): failed to open stream: Operation not permitted in /var/www/vhosts/studioida.com/ida.bg/sport.php on line 48
Warning: include(): Failed opening '/home/ida/news.varnacity.info/user/user.php' for inclusion (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/studioida.com/ida.bg/sport.php on line 48
|
|
Warning: include(): open_basedir restriction in effect. File(/home/ida/news.varnacity.info/user/news_list_menu.php) is not within the allowed path(s): (/var/www/vhosts/studioida.com/:/tmp/) in /var/www/vhosts/studioida.com/ida.bg/sport.php on line 75
Warning: include(/home/ida/news.varnacity.info/user/news_list_menu.php): failed to open stream: Operation not permitted in /var/www/vhosts/studioida.com/ida.bg/sport.php on line 75
Warning: include(): Failed opening '/home/ida/news.varnacity.info/user/news_list_menu.php' for inclusion (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/studioida.com/ida.bg/sport.php on line 75
|
|
|
|
srand ((double) microtime() * 1000);
$randomnumber = rand(0,7); // change the second number if need be (see number 4 above)
$include0 = "ads1.htm";
$include1 = "ads2.htm";
$include2 = "ads3.htm";
$include3 = "ads4.htm";
$include4 = "ads5.htm";
$include5 = "ads6.htm";
$include6 = "ads7.htm";
$include7 = "ads8.htm";
if ($randomnumber== "0") {
include ("$include0");
} else if ($randomnumber== "1") {
include("$include1");
} else if ($randomnumber== "2") {
include("$include2");
} else if ($randomnumber== "3") {
include("$include3");
} else if ($randomnumber== "4") {
include("$include4");
} else if ($randomnumber== "5") {
include("$include5");
} else if ($randomnumber== "6") {
include("$include6");
} else if ($randomnumber== "7") {
include("$include7");
} else {
echo ("ERROR: A random num is being generated out of range, or not at all ");
}
?>
|
|