Example #1
0
<?php 
    echo $this->pagination->create_links();
    ?>

<table class="default clear">
	<tr>
		<th><?php 
    echo order_link('/admin/blog/viewall', 'posttitle', 'Post');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/blog/viewall', 'datecreated', 'Date');
    ?>
</th>
		<th class="narrow"><?php 
    echo order_link('/admin/blog/viewall', 'published', 'Published');
    ?>
</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
	</tr>
<?php 
    foreach ($blog_posts as $post) {
        ?>
	<tr class="<?php 
        echo !$post['published'] ? 'draft' : '';
        ?>
">
		<td><?php 
        echo in_array('blog_edit', $this->permission->permissions) ? anchor('/admin/blog/edit_post/' . $post['postID'], $post['postTitle']) : $post['postTitle'];
        ?>
Example #2
0
}
?>
</div>

<?php 
if ($permission_groups) {
    ?>

<?php 
    echo $this->pagination->create_links();
    ?>

<table class="default clear">
	<tr>
		<th><?php 
    echo order_link('/admin/users/viewall', 'groupName', 'Group name');
    ?>
</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>		
	</tr>
<?php 
    foreach ($permission_groups as $group) {
        ?>
	<tr>
		<td><?php 
        echo in_array('users_groups', $this->permission->permissions) ? anchor('/admin/users/edit_group/' . $group['groupID'], $group['groupName']) : $group['groupName'];
        ?>
</td>
		<td class="tiny">
			<?php 
Example #3
0
    ?>
</th>
		<th><?php 
    echo order_link('halogy/sites/viewall', 'dateCreated', 'Date Created');
    ?>
</th>
		<th><?php 
    echo order_link('halogy/sites/viewall', 'siteDomain', 'Domain');
    ?>
</th>
		<th><?php 
    echo order_link('halogy/sites/viewall', 'altDomain', 'Staging Domain');
    ?>
</th>		
		<th class="narrow"><?php 
    echo order_link('halogy/sites/viewall', 'active', 'Status');
    ?>
</th>		
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
	</tr>
<?php 
    $i = 0;
    foreach ($sites as $site) {
        $class = $i % 2 ? ' class="alt"' : '';
        $i++;
        ?>
	<tr<?php 
        echo $class;
        ?>
>
    ?>
</th>
		<th><?php 
    echo order_link('/admin/users/viewall', 'datecreated', 'Date Created');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/users/viewall', 'lastname', 'Name');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/users/viewall', 'email', 'Email');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/users/viewall', 'groupid', 'Group');
    ?>
</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>		
	</tr>
<?php 
    foreach ($users as $user) {
        $class = '';
        if ($user['groupID'] == $this->site->config['groupID'] || $user['groupID'] < 0) {
            $class = 'class="blue"';
        } elseif (@in_array($user['groupID'], $adminGroups)) {
            $class = 'class="orange"';
        }
        $username = $user['username'] ? $user['username'] : '******';
        $userlink = in_array('users_edit', $this->permission->permissions) ? anchor('/admin/users/edit/' . $user['userID'], $username) : $username;
Example #5
0
<?php 
    echo $this->pagination->create_links();
    ?>

<table class="default clear">
	<tr>
		<th><?php 
    echo order_link('/admin/forums/forums', 'forumName', 'Forum');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/forums/forums', 'datecreated', 'Description');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/forums/forums', 'active', 'Active');
    ?>
</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
	</tr>
<?php 
    foreach ($forums as $forum) {
        ?>
	<tr>
		<td><?php 
        echo in_array('forums_edit', $this->permission->permissions) ? anchor('/admin/forums/edit_forum/' . $forum['forumID'], $forum['forumName']) : $forum['forumName'];
        ?>
</td>
		<td><?php 
Example #6
0
			<th class="narrow"><?php 
    echo order_link('admin/shop/products' . ($catID ? '/' . $catID : ''), 'price', 'Price (' . currency_symbol() . ')', $catID ? 5 : 4);
    ?>
</th>
			<?php 
    if ($this->site->config['shopStockControl']) {
        ?>
				<th><?php 
        echo order_link('/admin/shop/products' . ($catID ? '/' . $catID : ''), 'stock', 'Stock', $catID ? 5 : 4);
        ?>
</th>
			<?php 
    }
    ?>
			<th class="narrow"><?php 
    echo order_link('/admin/shop/products' . ($catID ? '/' . $catID : ''), 'published', 'Published', $catID ? 5 : 4);
    ?>
</th>
			<th class="tiny">&nbsp;</th>
			<th class="tiny">&nbsp;</th>		
		</tr>
	</thead>
	<tbody id="shop_products">
	<?php 
    foreach ($products as $product) {
        ?>
		<tr class="<?php 
        echo !$product['published'] ? 'draft' : '';
        ?>
" id="shop_products-<?php 
        echo $product['productID'];
Example #7
0
<table class="default clear">
	<tr>
		<th><?php 
    echo order_link('/admin/events/viewall', 'eventtitle', 'Event');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/events/viewall', 'location', 'Location');
    ?>
</th>		
		<th><?php 
    echo order_link('/admin/events/viewall', 'eventDate', 'Event Start');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/events/viewall', 'eventEnd', 'Event End');
    ?>
</th>
		<th>Active</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
	</tr>
<?php 
    foreach ($events as $event) {
        ?>
	<tr>
		<td><?php 
        echo in_array('events_edit', $this->permission->permissions) ? anchor('/admin/events/edit_event/' . $event['eventID'], $event['eventTitle']) : $event['eventTitle'];
        ?>
</td>
		<td><?php 
Example #8
0
    ?>
</th>
		<th><?php 
    echo order_link('admin/webforms/tickets', 'formName', 'Web Form');
    ?>
</th>		
		<th><?php 
    echo order_link('admin/webforms/tickets', 'status', 'Status');
    ?>
</th>		
		<th><?php 
    echo order_link('admin/webforms/tickets', 'fullName', 'Name');
    ?>
</th>
		<th><?php 
    echo order_link('admin/webforms/tickets', 'email', 'Email');
    ?>
</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
	</tr>
<?php 
    $i = 0;
    foreach ($tickets as $ticket) {
        $class = $i % 2 ? ' class="alt"' : '';
        $style = !$ticket['viewed'] ? ' style="font-weight: bold;"' : '';
        $i++;
        ?>
	<tr<?php 
        echo $class;
        echo $style;
Example #9
0
<?php 
    echo $this->pagination->create_links();
    ?>

<table class="default">
	<tr>
		<th><?php 
    echo order_link('/admin/wiki/viewall', 'pageName', 'Page');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/wiki/viewall', 'uri', 'URI');
    ?>
</th>
		<th><?php 
    echo order_link('/admin/wiki/viewall', 'datecreated', 'Date');
    ?>
</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>
		<th class="tiny">&nbsp;</th>		
	</tr>
<?php 
    foreach ($wiki as $page) {
        ?>
	<tr>
		<td><?php 
        echo in_array('wiki_edit', $this->permission->permissions) ? anchor('/admin/wiki/edit_page/' . $page['pageID'], $page['pageName']) : $page['pageName'];
        ?>
</td>	
		<td><?php