Browse Source

Merge 8621371da7 into bd5474c435

pull/10/merge
Mohamad Fahmi 12 years ago
parent
commit
c521b82eac
5 changed files with 10 additions and 8 deletions
  1. +2
    -1
      admin/includes/create_post.php
  2. +2
    -1
      admin/includes/edit_post.php
  3. +2
    -2
      admin/includes/login.php
  4. +2
    -2
      admin/includes/logout.php
  5. +2
    -2
      admin/includes/post_list.php

+ 2
- 1
admin/includes/create_post.php View File

@ -1,4 +1,5 @@
<?php
ob_start();
// Change this to your timezone
date_default_timezone_set('Asia/Jakarta');
require '../../system/includes/dispatch.php';
@ -77,4 +78,4 @@ include '../includes/session.php';
</div>
</div>
</body>
</html>
</html>

+ 2
- 1
admin/includes/edit_post.php View File

@ -1,4 +1,5 @@
<?php
ob_start();
// Change this to your timezone
date_default_timezone_set('Asia/Jakarta');
require '../../system/includes/dispatch.php';
@ -69,4 +70,4 @@
</div>
</div>
</body>
</html>
</html>

+ 2
- 2
admin/includes/login.php View File

@ -1,5 +1,5 @@
<?php
ob_start();
if(isset($_POST['submit'])) {
$user = $_POST['user'];
@ -29,4 +29,4 @@
Pass:<br>
<input type="password" name="password"/><br><br>
<input type="submit" name="submit" value="Login"/>
</form>
</form>

+ 2
- 2
admin/includes/logout.php View File

@ -1,9 +1,9 @@
<?php
ob_start();
include 'session.php';
session_destroy();
header('location: ../index.php');
?>
?>

+ 2
- 2
admin/includes/post_list.php View File

@ -1,5 +1,5 @@
<?php
ob_start();
// Get blog post with more info about the path. Sorted by filename.
function admin_get_post(){
@ -131,4 +131,4 @@ if(!empty($posts)) {
}
?>
</table>
</table>

Loading…
Cancel
Save