Notenupload mit Bemerkung und Status Streaminglizenz
This commit is contained in:
@ -28,15 +28,9 @@ require_once "../language/german.inc.php";
|
||||
#if(!rore($user_admin,'a_admanleg','RE')){require("lib/rechte.php");exit;}
|
||||
#// Rechteüberprüfung ende
|
||||
|
||||
if(isset($_GET['action'])){
|
||||
$action = $_GET['action'];
|
||||
}else{
|
||||
$action = '';
|
||||
}
|
||||
|
||||
if($action == ''){
|
||||
|
||||
$query = "SELECT a.jndid, titel, anz_lizenzen, streamlizenz, c.bezeichnung verlag
|
||||
$query = "SELECT a.jndid, titel, anz_lizenzen, streamlizenz, bemerkung, c.bezeichnung verlag
|
||||
FROM jumi_noten_daten a, jumi_noten_verlag c
|
||||
WHERE a.vid=c.vid
|
||||
ORDER BY titel ASC;";
|
||||
@ -46,8 +40,10 @@ if($action == ''){
|
||||
while ($row = $result->fetch_array()){
|
||||
if($row['streamlizenz'] == '1'){
|
||||
$streamlizenz_vorh = "Ja";
|
||||
}else{
|
||||
$streamlizenz_vorh = "Nein";
|
||||
}elseif($row['streamlizenz'] == '2'){
|
||||
$streamlizenz_vorh = "ungeklärt";
|
||||
}elseif($row['streamlizenz'] == '0'){
|
||||
$streamlizenz_vorh = "nein";
|
||||
}
|
||||
|
||||
$result_link = $db->query("SELECT filename
|
||||
@ -87,8 +83,6 @@ if($action == ''){
|
||||
}
|
||||
$smarty->assign('table_data', $value);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
|
Reference in New Issue
Block a user