| 1 | <div style="float:left;padding:6px;width:100%;margin:10px;height:auto"><!-- wrappertools --> |
|---|
| 2 | |
|---|
| 3 | <h2>Teacher tools</h2> |
|---|
| 4 | |
|---|
| 5 | <div class="main-item" title="Blog" onclick="document.location.href = '/admin/entries/list'"> |
|---|
| 6 | <span class="main-item-icon"> |
|---|
| 7 | <?php echo $html->link($html->image('blog.png', array("title"=>"EduBlog", "alt"=>"EduBlog")), '/admin/entries/listing', null, null, false); ?> |
|---|
| 8 | </span> |
|---|
| 9 | <a href="/admin/entries/listing" title="Blog" class="main-item-caption">eduBlog</a> |
|---|
| 10 | </div> |
|---|
| 11 | |
|---|
| 12 | <div class="main-item" title="Quotes" onclick="document.location.href = '/admin/quotes/list'"> |
|---|
| 13 | <span class="main-item-icon"> |
|---|
| 14 | <?php echo $html->link($html->image('quotes.png', array("title"=>"Quotes", "alt"=>"Quotes")), '/admin/quotes/listing', null, null, false); ?> |
|---|
| 15 | </span> |
|---|
| 16 | <a href="/admin/quotes/listing" title="Quotes" class="main-item-caption">Quotes</a> |
|---|
| 17 | </div> |
|---|
| 18 | |
|---|
| 19 | <div class="main-item" title="My Images" onclick="document.location.href = '/admin/images/list'"> |
|---|
| 20 | <span class="main-item-icon"> |
|---|
| 21 | <?php echo $html->link($html->image('myimages.png', array("title"=>"My Images", "alt"=>"My Images")), '/admin/images/listing', null, null, false); ?> |
|---|
| 22 | </span> |
|---|
| 23 | <a href="/admin/images/listing" title="My Images" class="main-item-caption">My Images</a> |
|---|
| 24 | </div> |
|---|
| 25 | |
|---|
| 26 | <div class="main-item" title="Settings" onclick="document.location.href = '/admin/messages/listing/'"> |
|---|
| 27 | <span class="main-item-icon"> |
|---|
| 28 | <?php echo $html->link($html->image('phorum.png', array("title"=>"Messages", "alt"=>"Messages")), '/admin/messages/listing', null, null, false); ?> |
|---|
| 29 | </span> |
|---|
| 30 | <a href="/admin/messages/listing/" title="My Settings" class="main-item-caption">Messages</a> |
|---|
| 31 | </div> |
|---|
| 32 | |
|---|
| 33 | <div class="main-item" title="Media Manager" onclick="document.location.href = '/admin/shares/list'"> |
|---|
| 34 | <span class="main-item-icon"> |
|---|
| 35 | <?php echo $html->link($html->image('mmultimedia.png', array("title"=>"Files", "alt"=>"Files")), '/admin/shares/listing', null, null, false); ?> |
|---|
| 36 | </span> |
|---|
| 37 | <a href="/admin/shares/listing" title="Shares" class="main-item-caption">Shares</a> |
|---|
| 38 | </div> |
|---|
| 39 | |
|---|
| 40 | <div class="main-item" title="Manage your eCourses in a pretty and fast way" onclick="document.location.href = '/admin/ecourses/list'"> |
|---|
| 41 | <span class="main-item-icon"> |
|---|
| 42 | <?php echo $html->link($html->image('ecourses.png', array("title"=>"eCourses", "alt"=>"eCourses")), '/admin/ecourses/listing', null, null, false); ?> |
|---|
| 43 | </span> |
|---|
| 44 | <a href="/admin/ecourses/listing" title="Manage your eCourses in a pretty and fast way" class="main-item-caption">eCourses</a> |
|---|
| 45 | </div> |
|---|
| 46 | |
|---|
| 47 | <div class="main-item" title="Lessons" onclick="document.location.href = '/admin/lessons/listing'"> |
|---|
| 48 | <span class="main-item-icon"> |
|---|
| 49 | <?php echo $html->link($html->image('static_pages.png', array("title"=>"Lessons", "alt"=>"Lessons")), '/admin/lessons/listing', null, null, false); ?> |
|---|
| 50 | </span> |
|---|
| 51 | <a href="/admin/lessons/listing" title="Lessons" class="main-item-caption">Lessons</a> |
|---|
| 52 | </div> |
|---|
| 53 | |
|---|
| 54 | <div class="main-item" title="Glossary" onclick="document.location.href = '/admin/cat/glossaries/list'"> |
|---|
| 55 | <span class="main-item-icon"> |
|---|
| 56 | <?php echo $html->link($html->image('Glossary.png', array("title"=>"Glossary", "alt"=>"Glossary")), '/admin/catglossaries/listing', null, null, false); ?> |
|---|
| 57 | </span> |
|---|
| 58 | <a href="/admin/catglossaries/listing" title="Glossary" class="main-item-caption">Glossary</a> |
|---|
| 59 | </div> |
|---|
| 60 | |
|---|
| 61 | <div class="main-item" title="Podcast" onclick="document.location.href = '/admin/podcasts/list'"> |
|---|
| 62 | <span class="main-item-icon"> |
|---|
| 63 | <?php echo $html->link($html->image('ipod.png', array("title"=>"Podcast", "alt"=>"Podcast")), '/admin/podcasts/listing', null, null, false); ?> |
|---|
| 64 | </span> |
|---|
| 65 | <a href="/admin/podcasts/listing" title="Podcast" class="main-item-caption">Podcast</a> |
|---|
| 66 | </div> |
|---|
| 67 | |
|---|
| 68 | <div class="main-item" title="Create/Edit your FAQs" onclick="document.location.href = '/admin/catfaqs/list'"> |
|---|
| 69 | <span class="main-item-icon"> |
|---|
| 70 | <?php echo $html->link($html->image('faq.png', array("title"=>"FAQs", "alt"=>"FAQs")), '/admin/catfaqs/listing', null, null, false); ?> |
|---|
| 71 | </span> |
|---|
| 72 | <a href="/admin/catfaqs/listing" title="Create/Edit your FAQs" class="main-item-caption">FAQs</a> |
|---|
| 73 | </div> |
|---|
| 74 | |
|---|
| 75 | <div class="main-item" title="Your links" onclick="document.location.href = '/admin/acquaintances/list'"> |
|---|
| 76 | <span class="main-item-icon"> |
|---|
| 77 | <?php echo $html->link($html->image('ylinks.png', array("title"=>"Friend Links", "alt"=>"Friend Links")), '/admin/acquaintances/listing', null, null, false); ?> |
|---|
| 78 | </span> |
|---|
| 79 | <a href="/admin/acquaintances/listing" title="Your links" class="main-item-caption">Friend links</a> |
|---|
| 80 | </div> |
|---|
| 81 | |
|---|
| 82 | <div style="clear:both;"></div> |
|---|
| 83 | |
|---|
| 84 | <h2>Courses</h2> |
|---|
| 85 | <?php |
|---|
| 86 | foreach ($data as $val) |
|---|
| 87 | { |
|---|
| 88 | echo '<div style="padding:4px;margin:5px;border:1px dotted gray;">'; |
|---|
| 89 | |
|---|
| 90 | echo $html->link($val['Ecourse']['title'], '/admin/ecourses/vclassrooms/'.$val['Ecourse']['id']); |
|---|
| 91 | |
|---|
| 92 | echo '<div style="padding:6px 3px 8px 24px;margin:10px 0 5px 0;border:1px dotted gray;">'; |
|---|
| 93 | echo '<h1>Classrooms</h1>'; |
|---|
| 94 | foreach ($val['Vclassroom'] as $v) |
|---|
| 95 | { |
|---|
| 96 | echo '<b>' . $html->link($v['name'], '/admin/vclassrooms/start/'.$v['id']) . '</b><br />'; |
|---|
| 97 | } |
|---|
| 98 | echo '</div>'; |
|---|
| 99 | echo '</div>'; |
|---|
| 100 | } |
|---|
| 101 | ?> |
|---|
| 102 | <div style="clear:both;"></div> |
|---|
| 103 | |
|---|
| 104 | |
|---|
| 105 | |
|---|
| 106 | <div style="margin:10px"> |
|---|
| 107 | <br /> |
|---|
| 108 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 109 | <h2>Admin sections</h2> |
|---|
| 110 | <?php endif; ?> |
|---|
| 111 | |
|---|
| 112 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 113 | <div class="main-item" title="News" onclick="document.location.href = '/admin/news/listing'"> |
|---|
| 114 | <span class="main-item-icon"> |
|---|
| 115 | <?php echo $html->link($html->image('news-icon.png', array("title"=>"News", "alt"=>"News")), '/admin/news/listing', null, null, false); ?> |
|---|
| 116 | </span> |
|---|
| 117 | <a href="/admin/news/listing" title="News" class="main-item-caption">News</a> |
|---|
| 118 | </div> |
|---|
| 119 | <?php endif; ?> |
|---|
| 120 | |
|---|
| 121 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 122 | <div class="main-item" title="Subjects" onclick="document.location.href = '/admin/subjects/listing'"> |
|---|
| 123 | <span class="main-item-icon"> |
|---|
| 124 | <?php echo $html->link($html->image('areas.png', array("title"=>"Subjects", "alt"=>"Subjects")), '/admin/subjects/listing', null, null, false); ?> |
|---|
| 125 | </span> |
|---|
| 126 | <a href="/admin/subjects/listing" title="Subjects" class="main-item-caption">Subjects</a> |
|---|
| 127 | </div> |
|---|
| 128 | <?php endif; ?> |
|---|
| 129 | |
|---|
| 130 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 131 | <div class="main-item" title="News Themes" onclick="document.location.href = '/admin/themes/listing'"> |
|---|
| 132 | <span class="main-item-icon"> |
|---|
| 133 | <?php echo $html->link($html->image('cover-icon.png', array("title"=>"News Themes", "alt"=>"News Themes")), '/admin/themes/listing',null,null,false);?> |
|---|
| 134 | </span> |
|---|
| 135 | <?php echo $html->link("News Themes", "/themes/listing", array("class"=>"main-item-caption")); ?> |
|---|
| 136 | </div> |
|---|
| 137 | <?php endif; ?> |
|---|
| 138 | |
|---|
| 139 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 140 | <div class="main-item" title="polls" onclick="document.location.href = '/admin/polls/listing'"> |
|---|
| 141 | <span class="main-item-icon"> |
|---|
| 142 | <?php echo $html->link($html->image('Poll.png', array("title"=>"Polls", "alt"=>"Polls")), '/admin/polls/listing', null, null, false); ?> |
|---|
| 143 | </span> |
|---|
| 144 | <a href="/admin/polls/listing" title="Polls" class="main-item-caption">Polls</a> |
|---|
| 145 | </div> |
|---|
| 146 | <?php endif; ?> |
|---|
| 147 | |
|---|
| 148 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 149 | <div class="main-item" title="Users" onclick="document.location.href = '/admin/users/listing'"> |
|---|
| 150 | <span class="main-item-icon"> |
|---|
| 151 | <?php echo $html->link($html->image('karamelo_users.png', array("title"=>"Users", "alt"=>"Users")), '/admin/users/listing', null, null, false); ?> |
|---|
| 152 | </span> |
|---|
| 153 | <a href="/admin/users/listing" title="ClassRooms" class="main-item-caption">Users</a> |
|---|
| 154 | </div> |
|---|
| 155 | <?php endif; ?> |
|---|
| 156 | |
|---|
| 157 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 158 | <div class="main-item" title="Backup" onclick="document.location.href = '/admin/users/backup'"> |
|---|
| 159 | <span class="main-item-icon"> |
|---|
| 160 | <?php echo $html->link($html->image('backup.png', array("title"=>"Backups", "alt"=>"Backups")), '/admin/users/backup', null, null, false); ?> |
|---|
| 161 | </span> |
|---|
| 162 | <a href="/admin/users/backups" title="Backup" class="main-item-caption">Backup</a> |
|---|
| 163 | </div> |
|---|
| 164 | <?php endif; ?> |
|---|
| 165 | |
|---|
| 166 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 167 | <div class="main-item" title="Newsletters" onclick="document.location.href = '/admin/newsletters/listing'"> |
|---|
| 168 | <span class="main-item-icon"> |
|---|
| 169 | <?php echo $html->link($html->image('static/newsletter-icon.png', array("title"=>"Newsletters", "alt"=>"Newsletters")), '/admin/newsletters/listing', null, null, false); ?> |
|---|
| 170 | </span> |
|---|
| 171 | <a href="/admin/newsletters/listing" title="Newsletters" class="main-item-caption">Newsletters</a> |
|---|
| 172 | </div> |
|---|
| 173 | <?php endif; ?> |
|---|
| 174 | |
|---|
| 175 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 176 | <div class="main-item" title="Help" onclick="document.location.href = '/admin/helps/listing'"> |
|---|
| 177 | <span class="main-item-icon"> |
|---|
| 178 | <?php echo $html->link($html->image('admin/help-icon.png', array("title"=>"Helps", "alt"=>"Helps")), '/admin/helps/listing', null, null, false); ?> |
|---|
| 179 | </span> |
|---|
| 180 | <a href="/admin/helps/doit" title="Help" class="main-item-caption">Helps</a> |
|---|
| 181 | </div> |
|---|
| 182 | <?php endif; ?> |
|---|
| 183 | |
|---|
| 184 | <?php if ( $othAuth->user('group_id') == 1 ): ?> |
|---|
| 185 | <div class="main-item" title="Admin" onclick="document.location.href = '/admin/colleges/listing'"> |
|---|
| 186 | <span class="main-item-icon"> |
|---|
| 187 | <?php echo $html->link($html->image('admin.png', array("title"=>"Admin", "alt"=>"Admin")), '/admin/colleges/listing', null, null, false); ?> |
|---|
| 188 | </span> |
|---|
| 189 | <a href="/admin/colleges/listing" title="News" class="main-item-caption">Admin</a> |
|---|
| 190 | </div> |
|---|
| 191 | <?php endif; ?> |
|---|
| 192 | </div> |
|---|
| 193 | </div><!-- wraptools ends--> |
|---|