This commit is contained in:
xdrm-brackets 2017-09-12 19:19:03 +02:00
parent 7327272160
commit c03280e5b7
1 changed files with 6 additions and 4 deletions

View File

@ -47,10 +47,12 @@
foreach($diplomes as $id=>$name){ foreach($diplomes as $id=>$name){
if( !file_exists(__ROOT__."/tmp/$id.ics") ) echo "<span>$name</span>";
echo "<span>$name</span><br>";
else $link = $_SERVER['HTTP_HOST']."/ics/$id.ics";
echo "<a href='/ics/$id.ics' disabled>$name</a><br>"; // if( file_exists(__ROOT__."/tmp/$id.ics") )
echo " -> <a>$link</a><br>";
} }