MMCT TEAM
Server IP : 192.185.129.71  /  Your IP : 3.15.143.206
Web Server : Apache
System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : svymadmin ( 4072)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/views/admin/announcements/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/views/admin/announcements/view.php
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<?php init_head(); ?>
<div id="wrapper">
    <div class="content">
        <div class="row">
            <div class="col-md-7">
                <h4 class="tw-mt-0 tw-font-semibold tw-text-lg tw-text-neutral-700"><?php echo $announcement->name; ?>
                    <?php if (is_admin()) { ?>
                    <a href="<?php echo admin_url('announcements/announcement/' . $announcement->announcementid); ?>"
                        class="pull-right tw-font-normal">
                        <small><?php echo _l('edit'); ?></small>
                    </a>
                    <?php } ?>
                </h4>
                <div class="panel_s">
                    <div class="panel-body tc-content">
                        <p class="tw-text-neutral-500 tw-mb-0">
                            <?php echo _l('announcement_date', _dt($announcement->dateadded)); ?></p>
                        <?php if ($announcement->showname == 1) { ?>
                        <p class="tw-text-neutral-500">
                            <?php echo _l('announcement_from') . ' ' . $announcement->userid; ?></p>
                        <?php } ?>
                        <?php echo $announcement->message; ?>
                    </div>
                </div>
            </div>
            <?php if (count($recent_announcements) > 0) { ?>
            <div class="col-md-5">
                <h4 class="tw-mt-0 tw-font-semibold tw-text-lg tw-text-neutral-700">
                    <?php echo _l('announcements_recent'); ?></h4>
                <div class="panel_s">
                    <div class="panel-body">
                        <?php foreach ($recent_announcements as $announcement) { ?>
                        <a class="bold"
                            href="<?php echo admin_url('announcements/view/' . $announcement['announcementid']); ?>">
                            <?php echo $announcement['name']; ?></a>
                        <p class="text-muted no-margin">
                            <?php echo _l('announcement_date', _dt($announcement['dateadded'])); ?></p>
                        <?php if ($announcement['showname'] == 1) { ?>
                        <p class="text-muted no-margin">
                            <?php echo _l('announcement_from') . ' ' . $announcement['userid']; ?></p>
                        <?php } ?>
                        <div class="mtop15">
                            <?php echo strip_tags(mb_substr($announcement['message'], 0, 250)) . '...'; ?>
                            <hr class="hr-panel-separator" />
                            <?php } ?>
                        </div>
                    </div>
                </div>
                <?php } ?>
            </div>
        </div>
    </div>
    <?php init_tail(); ?>
    </body>

    </html>

MMCT - 2023