|
Ertu
að leita að hljómsveitum til að spila á tónleikum? "; echo " ";
include("botw.inc");
include_once("database.inc.php");
$sql="select count(*) from tonleikahald";
$result=mysql_query($sql,$db);
$myrow=mysql_fetch_array($result);
$num_rows=$myrow[0];
$data = fread(fopen($show_botw_template, "r"), filesize($show_botw_template));
$sql="select * from tonleikahald where n_showhide = '0' order by bandname asc";
$result=@mysql_query($sql,$db);
while ($myrow=mysql_fetch_array($result))
{
$n_id=$myrow["n_id"];
$n_date=date($date_format,$myrow["my_date"]);
$skrifadaf=$myrow["skrifadaf"];
$maintext=$myrow["maintext"];
$maintext_hold=explode("\n",$maintext);
$bandlogo=$myrow["n_pic"];
$bandphoto=$myrow["bandphoto"];
$bandname=$myrow["bandname"];
$email=$myrow["email"];
$heima=$myrow["heima"];
$musictype=$myrow["musictype"];
$simanumer=$myrow["simanumer"];
$bandmembers=$myrow["bandmembers"];
$n_showhide=$myrow["n_showhide"];
$songurl1=$myrow["songurl1"];
$songname1=$myrow["songname1"];
$pic_link=$myrow["pic_link"];
for ($i=0;$i | Tölvupóstfang: $email",$hold); } else { $hold=str_replace("{email}","",$hold); } //-------- Heimasíða if ($pic_link) { $hold=str_replace("{link}"," Heimasíða: $pic_link",$hold); } else { $hold=str_replace("{link}","",$hold); } //-------- Heima if ($heima) { $hold=str_replace("{heima}"," Staður: $heima",$hold); } else { $hold=str_replace("{heima}","",$hold); } echo $hold; } echo " |