<html> <head> <title>News</title> <link type="text/css" rel="stylesheet" media="screen" href="<?=base_url()?>/css/style.css"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <?=js_include("prototype")?> <?=js_include("effects")?> <?=js_include("dragdrop")?> <?=js_include("controls")?> <?=js_include("news")?> <?=css_include("style")?> </head> <body> <?include(APPPATH."/views/header.php");?> <div id='body'> <div id='left'> <div class='leftBox'> <div class='leftBox_header'> <h2> Хэрэглэгчид</h2> </div> <div class='leftBox_body'> <?php $users = get_all_users(); foreach ($users->result() as $user): ?> <p><?=$user->login?></p> <?endforeach;?> </div> <div class='leftBox_footer'> </div> </div>
<html> <head> <title>Forum Threads</title> <link type="text/css" rel="stylesheet" media="screen" href="<?php echo base_url(); ?> /css/style.css"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <?php echo js_include("prototype"); echo js_include("effects"); echo js_include("dragdrop"); echo js_include("controls"); echo css_include("style"); ?> </head> <body> <?include(APPPATH."/views/header.php");?> <div id='body'> <div class='bigBox'> <div class='bigBox_header'> <h2>Forum Threads!</h2> </div> <div class='bigBox_body'> <br/> <?foreach($forums->result() as $forum) :?> <div class='one_forum'> <div class='one_forum_header'> </div> <div class='one_forum_body'> <p class='forum_title'><a href="<?php