minmod
This commit is contained in:
parent
7327272160
commit
c03280e5b7
|
@ -47,10 +47,12 @@
|
|||
foreach($diplomes as $id=>$name){
|
||||
|
||||
|
||||
if( !file_exists(__ROOT__."/tmp/$id.ics") )
|
||||
echo "<span>$name</span><br>";
|
||||
else
|
||||
echo "<a href='/ics/$id.ics' disabled>$name</a><br>";
|
||||
echo "<span>$name</span>";
|
||||
|
||||
$link = $_SERVER['HTTP_HOST']."/ics/$id.ics";
|
||||
// if( file_exists(__ROOT__."/tmp/$id.ics") )
|
||||
|
||||
echo " -> <a>$link</a><br>";
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue