minmod
This commit is contained in:
parent
7327272160
commit
c03280e5b7
|
@ -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>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue