Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta charset=UTF-8">
- <title><?php echo $title;?></title>
- <style type="text/css">
- .center{
- width:500px;
- margin-left:auto;
- margin-right:auto;
- }
- .content{
- color: #666;
- font-size: 12px;
- }
- .option{
- font-size: 10px;
- float: right;
- color: red;
- }
- </style>
- </head>
- <body>
- <h2><?php echo $title;?></h2>
- <div class="center">
- <?if($blog_set):?>
- <? foreach ($blog_set as $b):?>
- <b><?php echo $b->blog_title;?></b>
- <p class="content"><?php echo $b->blog_content;?></p>
- <div class="option">
- <a href="<?php echo $base_url;?>blog/edit/<?php echo $b->blog_id;?>">Edit</a>
- </div>
- <hr noshade size="1"/>
- <?endforeach;?>
- <?else:?>
- There is no any blog right now.
- <?endif;?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement