<div class="ces-sessions-user-buttons"> <?php //show link to update user's preferences only if a user is logged in if(is_user_logged_in() && !is_admin_logged_in()){ if(!strpos($_SERVER['PHP_SELF'],'sessions')){?> <a href="/sessions/" class="btn ces-red-btn"><i class="fa fa-calendar-o fa-fw" aria-hidden="true"></i> All Sessions</a> <?php } if(!strpos($_SERVER['PHP_SELF'],'course-list')){?> <a href='/user/course-list' class="btn ces-blue-btn"><i class="fa fa-list-ul fa-fw" aria-hidden="true"></i> Your Courses</a> <?php } if(!strpos($_SERVER['PHP_SELF'],'phplist')){?> <a href='/phplist/?p=preferences&uid=<?=$_SESSION["uniqid"]?>' class="btn ces-green-btn"><i class="fa fa-cog fa-fw" aria-hidden="true"></i> Account Settings</a> <?php } ?> <a href='/logout/' class="btn ces-orange-btn "><i class="fa fa-sign-out fa-fw" aria-hidden="true"></i> Log Out</a> <?php }//if elseif(is_admin_logged_in()){ ?> <a href='/admin/courses/' class="btn btn-lg ces-blue-btn"><i class="fa fa-list-ul fa-fw" aria-hidden="true"></i> Admin</a> <a href='/phplist/admin/' class="btn btn-lg ces-green-btn"><i class="fa fa-external-link-square fa-fw" aria-hidden="true"></i> PHPlist</a> <a href='/logout/' class="btn btn-lg ces-orange-btn"><i class="fa fa-sign-out fa-fw" aria-hidden="true"></i> Log Out</a> <?php }//elseif else{ ?> <?php if(!strpos($_SERVER['PHP_SELF'],'sessions')){?> <a href="/sessions/" class="btn ces-orange-btn"><i class="fa fa-calendar-o fa-fw" aria-hidden="true"></i> All Sessions</a> <?php }?> <a class="btn btn-lg btn-block ces-green-btn" href="/registration/"><i class="fa fa-arrow-circle-right fa-fw" aria-hidden="true"></i> Create Account</a> <a class="btn btn-lg btn-block ces-blue-btn" href="/login/"><i class="fa fa-sign-in fa-fw" aria-hidden="true"></i> Log In</a> <?php }//else?> </div>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.well-known | Folder | 0755 |
|
|
admin | Folder | 0755 |
|
|
cgi-bin | Folder | 0755 |
|
|
course_registration | Folder | 0755 |
|
|
css | Folder | 0755 |
|
|
documents | Folder | 0755 |
|
|
error | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
login | Folder | 0755 |
|
|
logout | Folder | 0755 |
|
|
media | Folder | 0755 |
|
|
newsletter | Folder | 0755 |
|
|
php | Folder | 0755 |
|
|
phplist | Folder | 0755 |
|
|
registration | Folder | 0755 |
|
|
require | Folder | 0755 |
|
|
research | Folder | 0755 |
|
|
sessions | Folder | 0755 |
|
|
unsupported | Folder | 0755 |
|
|
user | Folder | 0755 |
|
|
.htaccess | File | 1.61 KB | 0644 |
|
.user.ini | File | 592 B | 0644 |
|
CES_Small_2.png | File | 12.73 KB | 0644 |
|
error_log | File | 19.7 KB | 0644 |
|
favicon.ico | File | 1.12 KB | 0644 |
|
home.png | File | 264 B | 0755 |
|
index.php | File | 4.34 KB | 0755 |
|
menu.php | File | 1.88 KB | 0755 |
|
php.ini | File | 672 B | 0644 |
|
services-menu.php | File | 1.86 KB | 0644 |
|
test.html | File | 28.99 KB | 0644 |
|
tts.html | File | 323 B | 0644 |
|