You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
401 B
12 lines
401 B
<? |
|
|
|
$xmla = simplexml_load_file('../db/todoist.xml'); |
|
|
|
if($xmla->token== '' || $xmla->token == null) |
|
|
|
header('Location: ./'); |
|
|
|
if($xmla->id != '' || $xmla->id != null): |
|
|
|
$token = $xmla->token; |
|
$id = $xmla->id;?>
<script type="text/javascript" src="../js/getUncompletedTasks.php?token=<?=$token?>&id=<?=$id?>"></script>
<? else:
header('Location: getProjectsList.php');
endif;
|