require "function.php";
function head() {
global $lang, $DESCRIPTION;
?>
}
function center() {
global $opis, $language,$conn, $Quser, $ur_ur;
?>
Frequently Asked Question
/////echo "========$Quser==$ur_ur==";
if (($Quser>0)&($ur_ur==0)) {$wh=" and role_kli='1' ";}
if ($Quser=="") {$wh=" and role_all='1' ";}
if ($ur_ur==1) {$wh=" and role_pro='1' ";}
$kolonka="name_".$language;
///////echo "select id, $kolonka from faq_razdel where id>0 $wh ";
$r = mysqli_query($conn, "select id, $kolonka from faq_razdel where id>0 $wh order by sorti ");
for($i=0; $i
$f[1]
";
$r1= mysqli_query($conn, "select id, $kolonka, o$kolonka from faq where id_razdel ='$f[id]' $wh order by sorti ");
for($j=0; $j$f1[1]
";
echo "$f1[2]
";
}
}
?>
}
include "templates/main.php";
?>