forked from science-ation/science-ation
Fix the link to the materials
This commit is contained in:
parent
33a9ee5401
commit
1aa759047a
@ -212,8 +212,7 @@ case 'additional_materials':
|
|||||||
$fair = mysql_fetch_assoc($q);
|
$fair = mysql_fetch_assoc($q);
|
||||||
$pdf = fair_additional_materials($fair, $a, $config['FAIRYEAR']);
|
$pdf = fair_additional_materials($fair, $a, $config['FAIRYEAR']);
|
||||||
foreach($pdf['header'] as $h) header($h);
|
foreach($pdf['header'] as $h) header($h);
|
||||||
// echo base64_decode($pdf['data64']);
|
echo $pdf['data'];
|
||||||
base64_decode($pdf['data64']);
|
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -612,7 +611,7 @@ function print_award(&$r, $fairs_id, $editor=false, $editor_data=array())
|
|||||||
$d = 'disabled="disabled"';
|
$d = 'disabled="disabled"';
|
||||||
$a = '';
|
$a = '';
|
||||||
if($has_winners == true) {
|
if($has_winners == true) {
|
||||||
echo "<a href=\"{$_SERVER['PHP_SELF']}?action=additional_materials&award_awards_id={$r['id']}&fairs_id={$fairs_id}\" target=\"_blank\">";
|
echo "<a href=\"{$_SERVER['PHP_SELF']}?action=additional_materials&award_awards_id={$r['id']}&fairs_id={$fairs_id}\" >";
|
||||||
$d = '';
|
$d = '';
|
||||||
$a = '</a>';
|
$a = '</a>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user